/* Rolagem suave para âncoras do menu (ex.: #estrutura) */
  html { scroll-behavior: smooth; }
/* === JR Floating Header === */
  .jr-fh {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1440px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    font-family: "DM Sans", sans-serif;
    transition: top 280ms ease, background 280ms ease, box-shadow 280ms ease, width 280ms ease;
  }
  .jr-fh.scrolled {
    top: 14px;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: none;
  }
  .jr-fh__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 28px;
    min-height: 64px;
  }
  .jr-fh__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
  }
  .jr-fh__logo img {
    height: 36px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: opacity 200ms ease;
  }
  .jr-fh__logo:hover img { opacity: 0.85; }

  .jr-fh__nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
  }
  .jr-fh__nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.005em;
    text-decoration: none;
    padding: 8px 2px;
    white-space: nowrap;
    transition: color 200ms ease;
  }
  .jr-fh__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: linear-gradient(90deg, #374BFF, #6B82FF);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 250ms ease;
  }
  .jr-fh__nav a:hover { color: #ffffff; }
  .jr-fh__nav a:hover::after,
  .jr-fh__nav a.active::after { transform: scaleX(1); }
  .jr-fh__nav a.active { color: #ffffff; }

  .jr-fh__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 999px;
    border: none;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none;
    transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
  }
  .jr-fh__cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 10px 26px rgba(55, 75, 255, 0.5);
  }

  .jr-fh__burger {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 200ms ease, border-color 200ms ease;
  }
  .jr-fh__burger:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.22);
  }
  .jr-fh__burger .material-symbols-outlined { font-size: 22px; }

  /* === Mobile menu overlay === */
  .jr-fh-mobile {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(10, 12, 18, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0 24px 36px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 280ms ease, visibility 280ms ease;
    font-family: "DM Sans", sans-serif;
  }
  .jr-fh-mobile.open { opacity: 1; visibility: visible; }

  /* Zona 1 — topbar: logo à esquerda, X à direita */
  .jr-fh-mobile__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0 18px;
    flex-shrink: 0;
  }
  .jr-fh-mobile__logo { display: inline-flex; align-items: center; }
  .jr-fh-mobile__logo img {
    height: 32px;
    filter: brightness(0) invert(1);
  }
  .jr-fh-mobile__close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 200ms ease;
  }
  .jr-fh-mobile__close:hover { background: rgba(255, 255, 255, 0.06); }

  /* Zona 2 — links + CTA, alinhados à esquerda */
  .jr-fh-mobile__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 28px;
  }
  .jr-fh-mobile__nav a {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 200ms ease;
  }
  .jr-fh-mobile__nav a:hover { color: #6B82FF; }
  .jr-fh-mobile__nav .jr-fh__cta {
    display: inline-flex !important;
    margin-top: 12px;
    font-size: 14px;
    padding: 14px 28px;
    color: #ffffff !important;
  }

  /* Zona 3 — contato */
  .jr-fh-mobile__contact {
    margin-top: auto;
    padding-top: 36px;
  }
  .jr-fh-mobile__sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 0 22px 0;
  }
  .jr-fh-mobile__social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
  }
  .jr-fh-mobile__social a {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: background 200ms ease, color 200ms ease;
  }
  .jr-fh-mobile__social a:hover { background: #2E3D6B; color: #ffffff; }
  .jr-fh-mobile__social svg { width: 20px; height: 20px; }
  .jr-fh-mobile__contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .jr-fh-mobile__contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 200ms ease;
  }
  .jr-fh-mobile__contact-list a:hover { color: #ffffff; }
  .jr-fh-mobile__contact-list .material-symbols-outlined { font-size: 20px; color: #6B82FF; }

  body.jr-fh-locked { overflow: hidden; }

  /* === Responsive === */
  @media (max-width: 1100px) {
    .jr-fh__nav { gap: 22px; }
    .jr-fh__nav a { font-size: 13px; }
  }
  @media (max-width: 980px) {
    .jr-fh {
      width: calc(100% - 32px);
      top: 16px;
      border-radius: 14px;
    }
    .jr-fh__inner { padding: 10px 16px; min-height: 58px; }
    .jr-fh__nav,
    .jr-fh__cta { display: none; }
    .jr-fh__burger { display: inline-flex; }
    .jr-fh__logo img { height: 32px; }
  }

  /* CTA do menu — gradiente self-contained (na home vem do consistency-layer) */
  .jr-fh__cta{
    background: linear-gradient(135deg,#142C8E 0%,#1F49D8 52%,#2D5BFF 100%) !important;
    font-weight:600 !important; letter-spacing:1px !important;
    text-transform:uppercase !important; font-size:12px !important; box-shadow:none !important;
  }
