/* ==========================================================================
   Athena Assessoria Especializada — Landing page
   Header + Hero (V1)
   Paleta: docs/athena-brand.md
   ========================================================================== */

/* ---------- Fonte (self-hosted, subset latin, eixo de peso 400–700) ---------- */
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Primitivos — paleta aprovada */
  --navy-950: #020B1C;
  --navy-900: #05132D;
  --navy-800: #0B1F45;
  --navy-700: #1A2F5C;
  --gold-300: #F3DC72;
  --gold-500: #E5C85A;
  --gold-600: #D4AF2E;
  --gold-ink: #7A5C17;
  --off-white: #F6F3EC;
  --white: #FFFFFF;
  --ink: #1A2233;
  --text-on-dark: #F3F1EA;
  --muted-on-dark: #A9B3C6;
  --slate: #4A5468;

  /* Canais RGB para transparências */
  --navy-950-rgb: 2 11 28;
  --navy-800-rgb: 11 31 69;
  --navy-700-rgb: 26 47 92;
  --gold-500-rgb: 229 200 90;
  --ink-rgb: 26 34 51;
  --muted-rgb: 169 179 198;
  --paper-rgb: 246 243 236;
  /* Luz azul: derivada do lado iluminado do logo (glow em azul, nunca em dourado) */
  --light-blue-rgb: 59 91 160;

  /* Semânticos */
  --bg-dark: var(--navy-950);
  --surface-dark: var(--navy-800);
  --border-dark: var(--navy-700);
  --text: var(--text-on-dark);
  --text-muted: var(--muted-on-dark);
  --accent: var(--gold-500);
  --focus: var(--gold-500);

  /* Tipografia */
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  /* Movimento (CSS) */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: .2s;
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; }

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur-fast) var(--ease-out);
}

.skip-link:focus-visible { transform: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.btn .icon { width: 18px; height: 18px; }

.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .35),
    0 14px 28px -16px rgb(0 0 0 / .8);
}

.btn--gold:hover { background: var(--gold-300); }
.btn--gold:active { background: var(--gold-600); }

.btn__arrow { transition: transform var(--dur-fast) var(--ease-out); }
.btn--gold:hover .btn__arrow { transform: translateX(3px); }

.btn--ghost {
  border-color: rgb(var(--muted-rgb) / .3);
  background: rgb(var(--navy-800-rgb) / .45);
  color: var(--text);
}

.btn--ghost .icon { color: var(--gold-500); }

.btn--ghost:hover {
  border-color: rgb(var(--gold-500-rgb) / .6);
  background: rgb(var(--navy-800-rgb) / .8);
}

.btn--outline {
  border-color: rgb(var(--gold-500-rgb) / .55);
  background: transparent;
  color: var(--gold-500);
}

.btn--outline:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.btn--sm {
  min-height: 44px;
  padding: 0 .875rem;
  font-size: .875rem;
  border-radius: 10px;
}

@media (min-width: 480px) {
  .btn--sm { padding: 0 1.125rem; font-size: .9375rem; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    background-color .3s var(--ease-out),
    border-color .3s var(--ease-out);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgb(var(--navy-950-rgb) / .9);
  border-bottom-color: rgb(var(--navy-700-rgb) / .7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header.is-open { background: var(--navy-950); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-right: auto;
  text-decoration: none;
  border-radius: 12px;
}

.brand__emblem {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgb(var(--gold-500-rgb) / .28);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  line-height: 1;
}

.brand__name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text);
}

.brand__tagline {
  display: none;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (min-width: 480px) {
  .brand__tagline { display: block; }
}

@media (min-width: 1024px) {
  .brand__emblem { width: 44px; height: 44px; }
  .brand__name { font-size: 1.125rem; }
}

.nav { display: none; }

@media (min-width: 1024px) {
  .nav { display: block; }
}

.nav__list {
  display: flex;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list a {
  position: relative;
  display: inline-block;
  padding: .625rem 0;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .3rem;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}

.nav__list a:hover { color: var(--text); }
.nav__list a:hover::after,
.nav__list a:focus-visible::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

@media (max-width: 379.98px) {
  /* Telas muito estreitas: o contato continua no menu e logo abaixo, na Hero. */
  .site-header__cta { display: none; }
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(var(--muted-rgb) / .25);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  touch-action: manipulation;
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease-out), opacity .2s;
}

.menu-toggle__bars { position: relative; }

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before { transform: translateY(-6px); }
.menu-toggle__bars::after { transform: translateY(6px); }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: rotate(45deg); background: var(--text); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: rotate(-45deg); background: var(--text); }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-block: .5rem 1.5rem;
  background: var(--navy-950);
  box-shadow: 0 30px 40px -20px rgb(0 0 0 / .7);
  border-bottom: 1px solid rgb(var(--navy-700-rgb) / .7);
}

.mobile-menu[hidden] { display: none; }

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu__list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.mobile-menu__list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid rgb(var(--navy-700-rgb) / .6);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.mobile-menu__cta { width: 100%; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(28px, 4.5vw, 64px));
  padding-bottom: clamp(56px, 7vw, 96px);
  background-color: var(--navy-950);
}

/* Fundo: navy com luz azul suave e difusa, concentrada na lateral direita (atrás da
   composição documental), e grão muito leve. Estático: sem formas nem animação. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* mobile/tablet: a composição fica abaixo do texto, à direita e na metade inferior */
    radial-gradient(90% 55% at 85% 72%, rgb(var(--light-blue-rgb) / .2), transparent 70%),
    radial-gradient(70% 40% at 100% 0%, rgb(var(--navy-700-rgb) / .55), transparent 75%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 50%, var(--navy-900) 100%);
}

@media (min-width: 1120px) {
  .hero__bg {
    background:
      radial-gradient(55% 75% at 78% 50%, rgb(var(--light-blue-rgb) / .26), transparent 72%),
      radial-gradient(40% 50% at 100% 0%, rgb(var(--navy-700-rgb) / .6), transparent 75%),
      radial-gradient(50% 60% at 0% 100%, rgb(var(--navy-950-rgb) / .85), transparent 70%),
      linear-gradient(115deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
  }
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__grid {
  display: grid;
  gap: clamp(48px, 7vw, 72px);
  align-items: center;
}

@media (min-width: 1120px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: clamp(48px, 5vw, 80px);
  }
}

.hero__content { max-width: 680px; }

/* Sobretítulo */
.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .005em;
  color: var(--text-muted);
  text-wrap: balance;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 32px;
  height: 1px;
  margin-top: .72em;
  background: var(--gold-500);
}

/* Headline */
.hero__title {
  margin: 0;
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 560;
  line-height: 1.03;
  letter-spacing: -.035em;
  color: var(--text);
  text-wrap: balance;
}

.hero__title-lead {
  display: block;
  padding-bottom: .04em;
  color: var(--gold-500);
}

/* Uma frase por bloco: quebras previsíveis em qualquer largura */
.hero__title-line {
  display: block;
  text-wrap: balance;
}

/* O tamanho acompanha a largura da coluna de texto, para que "Mais tempo para vender."
   (≈ 10,6 em) caiba em uma linha: três frases, três linhas, em qualquer largura. */
.hero__content { container-type: inline-size; }
.hero__title { font-size: clamp(1.875rem, 8.9cqi, 4rem); }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title-lead {
    background: linear-gradient(100deg, var(--gold-300) 0%, var(--gold-500) 42%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* Descrição */
.hero__lead {
  max-width: 36rem;
  margin-top: clamp(1.25rem, 2.4vw, 1.75rem);
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  line-height: 1.62;
  color: var(--text-muted);
}

/* CTAs */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

@media (max-width: 479.98px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Faixa compacta de diferenciais
   Superfície opaca (o fundo da Hero não atravessa) + borda com degradê dourado sutil
   (técnica padding-box / border-box). */
.seals {
  --seals-pad-x: 1.125rem;
  --seals-pad-y: .625rem;
  --seals-divider: rgb(var(--navy-700-rgb));

  display: grid;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  padding: .25rem var(--seals-pad-x);
  list-style: none;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%) padding-box,
    linear-gradient(115deg,
      rgb(var(--gold-500-rgb) / .6) 0%,
      rgb(var(--gold-500-rgb) / .16) 34%,
      rgb(var(--gold-500-rgb) / .16) 66%,
      rgb(var(--gold-500-rgb) / .5) 100%) border-box;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .05),
    0 24px 40px -28px rgb(0 0 0 / .85);
}

.seals__item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 0;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}

/* Mobile: linhas horizontais contínuas de uma borda interna à outra */
.seals__item + .seals__item { border-top: 1px solid var(--seals-divider); }

.seals__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(var(--gold-500-rgb) / .5);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgb(var(--light-blue-rgb) / .28), var(--navy-950) 75%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08);
  color: var(--gold-500);
}

.seals__icon .icon { width: 16px; height: 16px; }

@media (min-width: 640px) {
  .seals {
    /* Colunas do tamanho do conteúdo; a sobra é dividida igualmente entre elas */
    grid-template-columns: repeat(3, auto);
    padding: var(--seals-pad-y) var(--seals-pad-x);
  }

  .seals__item {
    justify-content: center;
    gap: .625rem;
    padding: .625rem 1rem;
    font-size: .875rem;
  }

  /* Conteúdo centrado em cada coluna: espaço simétrico dos dois lados de cada divisória */
  .seals__item:first-child { padding-left: 0; }
  .seals__item:last-child { padding-right: 0; }

  /* Desktop: divisórias verticais com toda a altura interna útil */
  .seals__item + .seals__item {
    border-top: 0;
    border-left: 1px solid var(--seals-divider);
  }

  /* Cada rótulo em até 2 linhas (larguras medidas com Instrument Sans 14px) */
  .seals__item span:last-child { width: max-content; }
  .seals__item:nth-child(1) span:last-child { max-width: 5.4em; }
  .seals__item:nth-child(2) span:last-child { max-width: 10.3em; }
  .seals__item:nth-child(3) span:last-child { max-width: 9.5em; }
}

/* ==========================================================================
   COMPOSIÇÃO — Fluxo da Assessoria
   Mobile (< 640px): Documentos e Certidões compactos no topo, conectores dourados
   convergindo para o contrato (elemento central) e assinatura presa à sua base.
   ≥ 640px: palco com proporção fixa e camadas sobrepostas.
   ========================================================================== */
.hero__visual { min-width: 0; }

.flow {
  --fs-title: clamp(13.5px, 2.75cqi, 15.5px);
  --fs-text: clamp(12.5px, 2.35cqi, 13.5px);
  --fs-label: clamp(12px, 2.3cqi, 13px);
  --pad: clamp(14px, 3.4cqi, 20px);

  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  container-type: inline-size;
}

/* Antes da animação (só com JS e movimento permitido): evita “piscar” o estado final */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.motion-off) [data-flow] { visibility: hidden; }
}

.flow__caption {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 14px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.flow__caption::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgb(var(--gold-500-rgb) / .12);
}

/* Conexões: dependem das medidas reais dos cartões (calculadas em JS) */
.flow__thread { display: none; }

.js .flow__thread {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.flow__path {
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 1.25;
  stroke-opacity: .6;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.flow__node {
  fill: var(--navy-950);
  stroke: var(--gold-500);
  stroke-width: 1.25;
}

.flow__arrow {
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Cartões escuros ---------- */
.flow-card {
  position: relative;
  overflow: hidden;
  padding: var(--pad);
  border: 1px solid var(--navy-700);
  border-radius: 16px;
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .06),
    0 30px 50px -26px rgb(0 0 0 / .8);
  color: var(--text);
}

/* Iluminação azul suave na base */
.flow-card::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -70%;
  height: 100%;
  background: radial-gradient(closest-side, rgb(var(--light-blue-rgb) / .32), transparent);
  pointer-events: none;
}

/* Linha dourada fina de destaque */
.flow-card::after {
  content: "";
  position: absolute;
  top: -1px;
  left: var(--pad);
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), rgb(var(--gold-500-rgb) / 0));
}

.flow-card > * { position: relative; }

.flow-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgb(var(--gold-500-rgb) / .32);
  border-radius: 10px;
  background: rgb(var(--navy-950-rgb) / .55);
  color: var(--gold-500);
}

.flow-card__icon .icon { width: 18px; height: 18px; }

.flow-card__title {
  margin-top: .8em;
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.flow-card__text {
  margin-top: .3em;
  font-size: var(--fs-text);
  line-height: 1.4;
  color: var(--text-muted);
}

/* Mini documentos (Documentos das partes) */
.mini-files {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.mini-file {
  position: relative;
  width: 22px;
  height: 28px;
  border-radius: 3px;
  background: linear-gradient(225deg, transparent 0 6px, var(--off-white) 6px);
}

.mini-file::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-bottom-left-radius: 2px;
  background: linear-gradient(225deg, transparent 0 4px, rgb(var(--paper-rgb) / .55) 4px);
}

.mini-file::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 5px;
  top: 11px;
  height: 12px;
  background: repeating-linear-gradient(to bottom, rgb(var(--ink-rgb) / .3) 0 1.5px, transparent 1.5px 4.5px);
}

/* Atividades (Certidões): rótulos curtos com marcadores gráficos */
.checks {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.checks__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checks__tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  border: 1px solid rgb(var(--gold-500-rgb) / .55);
  border-radius: 50%;
  color: var(--gold-500);
}

.checks__tick svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checks__label {
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

/* Encaminhamento para assinatura */
.flow-card--sign {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
}

.flow-card--sign .flow-card__icon { grid-row: span 2; }

.flow-card--sign .flow-card__title { margin: 0; }

.sign-field {
  display: block;
  grid-column: 2;
  height: 1.5px;
  margin-top: 12px;
  background: repeating-linear-gradient(90deg, rgb(var(--gold-500-rgb) / .65) 0 6px, transparent 6px 11px);
}

/* ---------- Contrato (elemento dominante) ---------- */
.flow-doc {
  position: relative;
  z-index: 2;
}

.flow-doc__sheet {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(var(--paper-rgb) / .16);
  border-radius: 12px;
  background: rgb(var(--paper-rgb) / .09);
}

.flow-doc__sheet--1 { transform: translate(-8px, 6px) rotate(-2.5deg); }
.flow-doc__sheet--2 { transform: translate(8px, 10px) rotate(2deg); }

.flow-doc__paper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: calc(var(--pad) * 1.2);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 40%);
  color: var(--ink);
  box-shadow:
    0 50px 90px -40px rgb(0 0 0 / .9),
    0 24px 40px -24px rgb(0 0 0 / .6);
}

.flow-doc__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}

.flow-doc__head .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-ink);
}

.flow-doc__rule {
  display: block;
  height: 1px;
  margin: 12px 0 16px;
  background: linear-gradient(90deg, var(--gold-600), rgb(212 175 46 / 0));
  transform-origin: left center;
}

.flow-doc__title {
  max-width: 10.5em;
  font-size: calc(var(--fs-title) * 1.25);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.flow-doc__sub {
  margin-top: .4em;
  font-size: var(--fs-text);
  color: var(--slate);
}

.flow-doc__body {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

/* Partes do contrato: número + rótulo curto + linhas gráficas */
.clause {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 6px;
}

.clause__num {
  grid-row: 1 / span 3;
  font-size: 10.5px;
  font-weight: 600;
  line-height: calc(var(--fs-label) * 1.25);
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
}

.clause__label {
  grid-column: 2;
  margin-bottom: 1px;
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.005em;
  color: var(--ink);
}

.clause__line {
  position: relative;
  display: block;
  grid-column: 2;
  width: var(--w, 100%);
  height: 5px;
  border-radius: 3px;
  background: rgb(var(--ink-rgb) / .14);
  transform-origin: left center;
}

/* Restante do documento (só no palco ≥ 640px) */
.flow-doc__more {
  display: none;
  gap: 7px;
  margin-top: 4px;
  padding-left: 30px;
}

.flow-doc__more .clause__line { grid-column: auto; }

/* Ajuste contratual: marcação dourada + caneta */
.clause__mark {
  position: absolute;
  inset: -4px -6px;
  z-index: -1;
  border-radius: 4px;
  background: rgb(var(--gold-500-rgb) / .38);
  transform-origin: left center;
}

.clause__pen {
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  width: 14px;
  height: 14px;
  margin-top: -7px;
  fill: none;
  stroke: var(--gold-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Mobile (< 640px) ----------
   Mesma hierarquia do desktop, com proporções de celular:
   contrato mais estreito à esquerda (dominante), Documentos e Certidões menores
   em cascata à direita, cobrindo só a margem do papel, e assinatura presa à base.
   O texto do contrato recua à direita para nunca ficar sob os cartões. */
@media (max-width: 639.98px) {
  .flow {
    --pad: 12px;
    --fs-title: 13.5px;
    --fs-text: 12px;
    --fs-label: 12px;
    --doc-w: 72%;
    --card-w: 40%;
  }

  .flow__caption { margin-bottom: 12px; }

  .flow__list {
    position: relative;
    display: block;
  }

  /* Contrato: elemento dominante */
  .flow-doc {
    z-index: 1;
    width: var(--doc-w);
    margin-top: 24px;
  }

  .flow-doc__paper {
    /* altura mínima: Certidões termina antes da assinatura, com espaço para a conexão */
    min-height: 360px;
    /* recuo = faixa coberta pelos cartões (12% do palco ≈ 16,7% do papel) + respiro */
    padding: 14px calc(16.7% + 10px) 44px 14px;
  }

  .flow-doc__rule { margin: 10px 0 12px; }
  .flow-doc__body { gap: 11px; margin-top: 14px; }
  .flow-doc__more { display: grid; }

  .clause { column-gap: 8px; }
  .clause { grid-template-columns: 16px minmax(0, 1fr); }
  .flow-doc__more { padding-left: 24px; }

  .clause__pen { left: calc(100% + 6px); }

  /* Cartões secundários compactos, em cascata à direita */
  .flow-card--docs,
  .flow-card--certs {
    position: absolute;
    right: 0;
    z-index: 3;
    width: var(--card-w);
    padding: 12px;
    border-radius: 14px;
  }

  .flow-card--docs { top: 0; }
  .flow-card--certs { top: 128px; }

  /* Ícone ao lado do título: cartões mais baixos, mesma identificação */
  .flow-card--docs,
  .flow-card--certs {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 8px;
    align-items: center;
  }

  .flow-card--docs .flow-card__text,
  .flow-card--certs .flow-card__text,
  .flow-card--certs .checks { grid-column: 1 / -1; }

  .flow-card__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .flow-card__icon .icon { width: 15px; height: 15px; }
  .flow-card__title { margin-top: 0; }
  .flow-card--docs .flow-card__text,
  .flow-card--certs .flow-card__text { margin-top: 6px; }

  /* Detalhe decorativo simplificado no celular */
  .mini-files { display: none; }

  .checks { gap: 5px; margin-top: 10px; }
  .checks__row { gap: 6px; }
  .checks__tick { width: 14px; height: 14px; }
  .checks__tick svg { width: 8px; height: 8px; }

  /* Assinatura presa à base do contrato */
  .flow-card--sign {
    z-index: 4;
    width: 86%;
    margin: -30px 0 0 7%;
    padding: 12px 14px;
    column-gap: 12px;
  }

  .flow-card--sign .flow-card__icon { width: 32px; height: 32px; }
  .sign-field { margin-top: 10px; }
}

@media (max-width: 379.98px) {
  .flow { --fs-title: 13px; }
}

/* ---------- Palco com sobreposição (≥ 640px) ---------- */
@media (min-width: 640px) {
  .flow { aspect-ratio: 560 / 580; }

  .flow__caption {
    position: absolute;
    top: 0;
    left: 4%;
    margin: 0;
  }

  .flow__list {
    position: absolute;
    inset: 0;
    display: block;
  }

  /* Contrato à esquerda; cartões em cascata à direita cobrem só o fim das linhas */
  .flow-doc {
    position: absolute;
    top: 8.5%;
    left: 4%;
    width: 56%;
    height: 70%;
  }

  .flow-doc__more { display: grid; }

  .flow-card--docs {
    position: absolute;
    top: 3%;
    left: 50%;
    z-index: 3;
    width: 42%;
  }

  .flow-doc__sheet--1 { transform: translate(-16px, 10px) rotate(-4deg); }
  .flow-doc__sheet--2 { transform: translate(14px, 18px) rotate(3deg); }

  .flow-card--certs {
    position: absolute;
    top: 39%;
    right: 0;
    z-index: 3;
    width: 42%;
  }

  .flow-card--sign {
    position: absolute;
    top: 75%;
    left: 14%;
    z-index: 4;
    width: 60%;
  }
}

/* ==========================================================================
   SEÇÕES — sistema compartilhado
   Ritmo: claras (off-white / branco) e escuras (navy) alternadas.
   ========================================================================== */
.section {
  position: relative;
  isolation: isolate;
  /* Entradas com deslocamento lateral não podem alargar a página (clip mantém o sticky) */
  overflow-x: clip;
  padding-block: clamp(72px, 9vw, 128px);
}

.section--light { background: var(--off-white); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }

.section--dark {
  overflow: hidden;
  background: var(--navy-950);
  color: var(--text);
}

/* Fundo das seções escuras: mesma linguagem da Hero (luz azul + arcos finos) */
.section__bg {
  --halo-x: 50%;
  --halo-y: 0%;
  --ring: 420px;

  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 45% at var(--halo-x) var(--halo-y), rgb(var(--light-blue-rgb) / .22), transparent 72%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 70%);
}

.section__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--halo-x) var(--halo-y),
      transparent calc(var(--ring) - 1px), rgb(var(--paper-rgb) / .06) var(--ring), transparent calc(var(--ring) + 1px)),
    radial-gradient(circle at var(--halo-x) var(--halo-y),
      transparent calc(var(--ring) * 1.45 - 1px), rgb(var(--paper-rgb) / .04) calc(var(--ring) * 1.45), transparent calc(var(--ring) * 1.45 + 1px));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

/* Foco visível também sobre fundos claros */
.section--light :focus-visible,
.section--white :focus-visible { outline-color: var(--navy-800); }

/* ---------- Cabeçalho de seção ---------- */
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.125rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.section-eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  margin-top: .62em;
  background: currentColor;
}

.section--dark .section-eyebrow { color: var(--gold-500); }

.section-title {
  margin: 0;
  font-size: clamp(1.875rem, 1.25rem + 2.1vw, 2.875rem);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.section-title .accent { color: var(--gold-ink); }
.section--dark .section-title .accent { color: var(--gold-500); }

/* Máscara para revelação tipográfica (GSAP); sem JS o título aparece normalmente */
.title-mask {
  display: block;
  overflow: hidden;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}

.title-mask__inner { display: block; }

.section-lead {
  max-width: 42rem;
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem);
  line-height: 1.62;
  color: var(--slate);
}

.section-head--center .section-lead { margin-inline: auto; }
.section--dark .section-lead { color: var(--text-muted); }

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(32px, 4vw, 48px);
}

.section-actions--center { justify-content: center; }

/* ---------- Botões complementares ---------- */
.btn--navy {
  background: var(--navy-900);
  color: var(--text-on-dark);
  box-shadow: 0 14px 28px -18px rgb(var(--navy-950-rgb) / .9);
}

.btn--navy:hover { background: var(--navy-800); }
.btn--navy:active { background: var(--navy-950); }
.btn--navy .icon { color: var(--gold-500); }

.btn--block { width: 100%; }

.btn__arrow--down { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .btn__arrow--down { transform: translateY(3px); }

/* Lista com marcadores de check (fundos claros) */
.check-list {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: .15em;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgb(var(--ink-rgb) / .18);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5C17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat,
    var(--white);
}

/* ==========================================================================
   3. ANTES E DEPOIS
   ========================================================================== */
.section--compare { --pain: #A5432B; --pain-soft: #F6E7E1; }

/* Topo: título forte e centrado, com filete dourado */
.compare-head {
  max-width: 52rem;
  margin-bottom: clamp(44px, 5.5vw, 72px);
}

.compare-head::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto clamp(20px, 2.4vw, 28px);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-ink), var(--gold-600));
}

.compare-title {
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.compare-head .section-lead { max-width: 40rem; }

.compare {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.compare__card {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(24px, 3.2vw, 40px);
  border-radius: 22px;
}

/* ---------- Sem apoio: a dor, com acento terracota sóbrio ---------- */
.compare__card--before {
  border: 1px solid rgb(var(--ink-rgb) / .08);
  background: var(--white);
  box-shadow: 0 24px 50px -36px rgb(var(--ink-rgb) / .35);
  color: var(--ink);
}

/* Filete terracota no topo (detalhe, não o card inteiro) */
.compare__card--before::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(24px, 3.2vw, 40px);
  width: 72px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--pain);
}

/* ---------- Com a Athena: navy ---------- */
.compare__card--after {
  border: 1px solid var(--navy-700);
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 100%);
  box-shadow: 0 40px 70px -40px rgb(var(--navy-950-rgb) / .9);
  color: var(--text);
}

.compare__card--after::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -60%;
  height: 100%;
  background: radial-gradient(closest-side, rgb(var(--light-blue-rgb) / .3), transparent);
  pointer-events: none;
}

.compare__card--after::after {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(24px, 3.2vw, 40px);
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), rgb(var(--gold-500-rgb) / 0));
}

.compare__card > * { position: relative; }

.compare__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.compare__icon .icon { width: 20px; height: 20px; }

.compare__card--before .compare__icon {
  border: 1px solid rgb(var(--pain-rgb, 165 67 43) / .28);
  background: var(--pain-soft);
  color: var(--pain);
}

.compare__card--after .compare__icon {
  border: 1px solid rgb(var(--gold-500-rgb) / .35);
  background: rgb(var(--navy-950-rgb) / .6);
  color: var(--gold-500);
}

.compare__title {
  margin: 1.25rem 0 1.25rem;
  font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* Lista da dor: marcador "×" em terracota e palavras-chave em destaque discreto */
.compare__list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare__list li {
  position: relative;
  padding-left: 2.125rem;
  line-height: 1.55;
}

.compare__list--pain li { color: var(--slate); }

.compare__list--pain strong {
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(transparent 62%, rgb(165 67 43 / .16) 62%);
}

.compare__list--pain li::before {
  content: "";
  position: absolute;
  top: .2em;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1px solid rgb(165 67 43 / .4);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A5432B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 10px no-repeat,
    var(--pain-soft);
}

/* ---------- Três níveis de apoio ---------- */
.levels-label {
  margin: 0 0 .875rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.levels {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.level {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgb(var(--navy-700-rgb) / .9);
  border-radius: 14px;
  background: rgb(var(--navy-950-rgb) / .45);
}

.level__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgb(var(--gold-500-rgb) / .5);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgb(var(--light-blue-rgb) / .28), var(--navy-950) 75%);
  color: var(--gold-500);
  font-size: .9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.level__name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--gold-500);
}

.level__text {
  margin-top: .25rem;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--text);
}

.levels-note {
  margin-top: 1.25rem;
  padding-top: 1.125rem;
  border-top: 1px solid rgb(var(--muted-rgb) / .18);
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.compare__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(var(--gold-500-rgb) / .45);
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-500);
  box-shadow: 0 10px 24px -12px rgb(var(--navy-950-rgb) / .7);
  transform: rotate(90deg);
}

@media (min-width: 900px) {
  .compare {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.12fr);
    gap: 24px;
    align-items: stretch;
  }

  .compare__arrow {
    align-self: center;
    width: 56px;
    height: 56px;
    transform: none;
  }

  /* Preenche melhor a altura do card, que acompanha o card navy */
  .compare__card--before { display: flex; flex-direction: column; }
  .compare__list--pain { flex: 1; align-content: space-between; gap: 1.5rem; padding-bottom: .5rem; }
  .compare__list--pain li { font-size: 1.0625rem; line-height: 1.6; }
}

@media (max-width: 479.98px) {
  .level { padding: 14px; gap: 12px; }
}

/* ==========================================================================
   4. SOLUÇÕES ATHENA
   Referência: references/cards/cardplanos.png (hierarquia, divisor, lista com checks)
   ========================================================================== */
.section--plans .section__bg { --halo-y: 0%; --ring: 460px; }

.plans {
  display: grid;
  gap: 36px; /* espaço para o selo da Assessoria no empilhamento */
}

@media (min-width: 1024px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    padding-top: 18px;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 36px);
  border: 1px solid var(--navy-700);
  border-radius: 22px;
  background: linear-gradient(170deg, var(--navy-800) 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  box-shadow: 0 40px 70px -44px rgb(0 0 0 / .9);
}

/* Luz azul na base (no lugar do brilho laranja da referência) */
.plan::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -55%;
  height: 80%;
  border-radius: inherit;
  background: radial-gradient(closest-side, rgb(var(--light-blue-rgb) / .22), transparent);
  pointer-events: none;
}

.plan > * { position: relative; }

/* Destaque da Assessoria: superfície mais clara, borda com degradê dourado e selo */
.plan--featured {
  border: 1px solid transparent;
  background:
    linear-gradient(170deg, var(--navy-700) 0%, var(--navy-800) 42%, var(--navy-900) 100%) padding-box,
    linear-gradient(150deg,
      rgb(var(--gold-500-rgb) / .9) 0%,
      rgb(var(--gold-500-rgb) / .25) 40%,
      rgb(var(--gold-500-rgb) / .25) 70%,
      rgb(var(--gold-500-rgb) / .7) 100%) border-box;
  box-shadow: 0 50px 90px -40px rgb(0 0 0 / .95);
}

.plan__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / .8);
}

/* Traço dourado que percorre a borda do selo em loop.
   Anel fino afastado 4px do selo (visível sobre o navy); um arco de luz gira com um
   ângulo animado (@property). Só CSS, sem JS. Navegadores sem @property mostram o anel parado. */
@property --badge-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.plan__badge::before {
  --trace-alpha: 1;

  content: "";
  position: absolute;
  inset: -4px;
  padding: 1.5px; /* espessura do traço */
  border-radius: inherit;
  background:
    conic-gradient(from var(--badge-angle),
      transparent 0deg 215deg,
      rgb(var(--gold-500-rgb) / calc(.4 * var(--trace-alpha))) 295deg,
      rgb(243 220 114 / var(--trace-alpha)) 350deg,
      transparent 360deg),
    linear-gradient(rgb(var(--gold-500-rgb) / .16), rgb(var(--gold-500-rgb) / .16));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .plan__badge::before { animation: badge-trace 4.5s linear infinite; }

  /* Celular: traço mais suave e mais lento */
  @media (max-width: 639.98px) {
    .plan__badge::before {
      --trace-alpha: .75;
      animation-duration: 6s;
    }
  }
}

/* Movimento reduzido: selo estático, como antes */
@media (prefers-reduced-motion: reduce) {
  .plan__badge::before { display: none; }
}

@keyframes badge-trace {
  to { --badge-angle: 360deg; }
}

.plan--featured .plan__head { padding-top: .75rem; }

@media (min-width: 1024px) {
  .plan--featured { transform: translateY(-14px); }
}

.plan__name {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0;
  font-size: clamp(1.5rem, 1.3rem + .6vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.plan__name::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold-500);
}

.plan__tagline {
  margin-top: .875rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gold-300);
}

.plan__desc {
  margin-top: .625rem;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.plan__label {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(var(--muted-rgb) / .16);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plan__list {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.plan__list li {
  position: relative;
  padding-left: 2rem;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--text);
}

.plan__list li::before {
  content: "";
  position: absolute;
  top: .15em;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgb(var(--gold-500-rgb) / .55);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5C85A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.plan__limit {
  display: flex;
  gap: .625rem;
  margin-top: 1.5rem;
  padding: .875rem 1rem;
  border: 1px solid rgb(var(--navy-700-rgb) / .9);
  border-radius: 12px;
  background: rgb(var(--navy-950-rgb) / .5);
  font-size: .875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.plan__limit .icon {
  width: 16px;
  height: 16px;
  margin-top: .2em;
  color: var(--text-muted);
}

.plan__limit strong { color: var(--text); font-weight: 600; }

.plan__footer {
  display: grid;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.plan__mode {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
}

.plan__mode .icon {
  width: 16px;
  height: 16px;
  margin-top: .15em;
  color: var(--gold-500);
}

.plan .btn { white-space: normal; text-align: center; }

.plans__foot {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  margin-top: clamp(40px, 5vw, 56px);
  text-align: center;
}

.plans__foot p {
  max-width: 34rem;
  color: var(--text-muted);
}

.plans__foot .btn { white-space: normal; }

@media (max-width: 479.98px) {
  .plans__foot .btn {
    padding-inline: 1rem;
    font-size: .9375rem;
  }
}

/* ==========================================================================
   5. COMO FUNCIONA — fluxo da Assessoria
   ========================================================================== */
.section--process {
  background:
    radial-gradient(60% 40% at 100% 0%, rgb(var(--gold-500-rgb) / .08), transparent 70%),
    var(--off-white);
}

.process {
  display: grid;
  gap: clamp(32px, 4vw, 48px);
}

.process__intro .section-head { margin-bottom: 0; }
.process__cta--wide { display: none; }

@media (min-width: 1024px) {
  .process {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
    align-items: start;
  }

  .process__intro {
    position: sticky;
    top: calc(var(--header-h) + 48px);
  }

  .process__cta--wide { display: inline-flex; margin-top: 2.5rem; }
  .process__cta--compact { display: none; }
}

.steps { position: relative; }

.steps__track {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 2px;
  border-radius: 2px;
  background: rgb(var(--ink-rgb) / .1);
}

.steps__progress {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--gold-600), var(--gold-ink));
  transform-origin: top center;
}

.steps__list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--navy-700);
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-500);
  font-size: .875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out), border-color .45s var(--ease-out);
}

/* Com JS: as etapas acendem conforme a linha avança */
.steps.is-enhanced .step:not(.is-active) .step__num {
  border-color: rgb(var(--ink-rgb) / .16);
  background: var(--white);
  color: var(--slate);
}

.step__body {
  padding: 18px 22px;
  border: 1px solid rgb(var(--ink-rgb) / .07);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 40px -34px rgb(var(--ink-rgb) / .4);
}

.step__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.step__text {
  margin-top: .375rem;
  line-height: 1.55;
  color: var(--slate);
}

.process__note {
  display: flex;
  gap: .875rem;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px dashed rgb(var(--ink-rgb) / .22);
  border-radius: 16px;
  background: rgb(var(--paper-rgb) / .6);
}

.process__note .icon {
  width: 20px;
  height: 20px;
  margin-top: .15em;
  color: var(--navy-800);
}

.process__note-title {
  margin: 0 0 .375rem;
  font-size: 1rem;
  font-weight: 600;
}

.process__note p {
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--slate);
}

.process__cta--compact { margin-top: 28px; }

/* ==========================================================================
   6. DIFERENCIAIS
   Referência: references/cards/card.png (superfície escura, ícone em caixa, luz na base)
   ========================================================================== */
.section--features .section__bg { --halo-x: 85%; --halo-y: 0%; }

.features-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.features-head .section-head { margin-bottom: 0; }
.features-head__cta { justify-self: start; }

@media (min-width: 1024px) {
  .features-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
  }
}

.features {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

.feature {
  position: relative;
  overflow: hidden;
  padding: 26px;
  /* Borda dourada permanente: mesma cor e espessura que antes só aparecia no hover */
  border: 1px solid rgb(var(--gold-500-rgb) / .35);
  border-radius: 18px;
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out);
}

.feature::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -75%;
  height: 100%;
  background: radial-gradient(closest-side, rgb(var(--light-blue-rgb) / .3), transparent);
  pointer-events: none;
}

.feature::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 26px;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), rgb(var(--gold-500-rgb) / 0));
}

.feature > * { position: relative; }

@media (hover: hover) {
  .feature:hover { border-color: rgb(var(--gold-500-rgb) / .55); }
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(var(--gold-500-rgb) / .32);
  border-radius: 12px;
  background: rgb(var(--navy-950-rgb) / .55);
  color: var(--gold-500);
}

.feature__icon .icon { width: 20px; height: 20px; }

.feature__title {
  margin: 1.25rem 0 .5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.feature__text {
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Mobile: ícone ao lado do título, cartões mais baixos */
@media (max-width: 639.98px) {
  .feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    padding: 20px;
  }

  .feature__icon { width: 40px; height: 40px; }
  .feature__title { margin: 0; }
  .feature__text { grid-column: 1 / -1; margin-top: .625rem; }
}

/* ==========================================================================
   7. CORRETORES E IMOBILIÁRIAS
   Cards escuros inspirados em um card do UI Universe: gradiente navy, borda fina
   com luz sutil, glow discreto na base, divisória e lista com checks dourados.
   ========================================================================== */
.audiences-title {
  font-size: clamp(2rem, 1.2rem + 2.9vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -.035em;
}

.audiences {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .audiences {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch; /* mesma altura; CTAs alinhados na base */
  }
}

.audience {
  /* Azul de brilho: variação mais clara do lado iluminado do logo; dourado quente = gold-600 */
  --glow-blue: 78 118 204;
  --glow-gold: 212 175 46;
  --pad-x: clamp(28px, 2.75vw, 40px);

  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(22px, 2.6vw, 34px) var(--pad-x) clamp(26px, 3vw, 38px);
  border: 1px solid transparent;
  border-radius: 24px;
  /* Como na referência, a luz nasce dentro do card: lateral esquerda (metade inferior),
     canto inferior direito e base; o centro e o topo ficam escuros.
     Luz sempre azul (dourado translúcido sobre navy fica oliva, ver athena-brand.md);
     o dourado aparece como luz na borda, no canto inferior direito. */
  background:
    radial-gradient(36% 70% at 0% 76%, rgb(var(--glow-blue) / .42), transparent 72%) padding-box,
    radial-gradient(46% 44% at 100% 104%, rgb(var(--glow-blue) / .3), transparent 72%) padding-box,
    radial-gradient(70% 34% at 55% 108%, rgb(var(--glow-blue) / .22), transparent 75%) padding-box,
    radial-gradient(60% 40% at 18% 0%, rgb(var(--paper-rgb) / .045), transparent 70%) padding-box,
    linear-gradient(172deg, var(--navy-900) 0%, var(--navy-950) 58%, #04102A 100%) padding-box,
    linear-gradient(160deg,
      rgb(var(--paper-rgb) / .3) 0%,
      rgb(var(--paper-rgb) / .08) 32%,
      rgb(var(--glow-blue) / .34) 62%,
      rgb(var(--glow-gold) / .75) 100%) border-box;
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .07),
    inset 0 -30px 46px -34px rgb(var(--glow-blue) / .45),
    0 40px 70px -44px rgb(var(--navy-950-rgb) / .95);
  transition: box-shadow .35s var(--ease-out);
}

/* Glow discreto na base (azul com um toque dourado) */
.audience__glow {
  position: absolute;
  left: 50%;
  bottom: -26%;
  z-index: -1;
  width: 110%;
  height: 52%;
  translate: -50% 0;
  background:
    radial-gradient(closest-side, rgb(var(--glow-blue) / .3), transparent 80%);
  pointer-events: none;
  transition: filter .35s var(--ease-out);
}

/* Linha dourada fina no topo */
.audience::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--pad-x);
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), rgb(var(--gold-500-rgb) / 0));
}

@media (hover: hover) {
  /* Sem deslocamento: o GSAP controla o transform dos cards na entrada */
  .audience:hover {
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / .08),
      0 50px 80px -40px rgb(var(--navy-950-rgb) / 1),
      inset 0 -30px 46px -30px rgb(var(--glow-blue) / .55),
      0 0 0 1px rgb(var(--gold-500-rgb) / .18);
  }

  .audience:hover .audience__glow { filter: brightness(1.35); }
}

.audience__tag {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  align-self: flex-start;
  margin: 0 0 1.25rem;
  padding: .4rem .875rem .4rem .65rem;
  border: 1px solid rgb(var(--gold-500-rgb) / .35);
  border-radius: 999px;
  background: rgb(var(--navy-950-rgb) / .5);
  color: var(--gold-500);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.audience__tag .icon { width: 16px; height: 16px; }

.audience__title {
  margin: 0;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
  color: var(--text-on-dark);
}

.audience__text {
  margin-top: .875rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.audience__line {
  width: 100%;
  height: 1px;
  margin: 2.25rem 0 1.875rem;
  border: 0;
  background: linear-gradient(90deg, rgb(var(--gold-500-rgb) / .45), rgb(var(--muted-rgb) / .16) 40%, rgb(var(--muted-rgb) / .08));
}

.audience__list {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.875rem;
  padding: 0;
  list-style: none;
}

.audience__list li {
  position: relative;
  padding-left: 2.375rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -.006em;
  color: var(--text);
}

.audience__list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border: 1px solid rgb(var(--gold-500-rgb) / .6);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5C85A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat,
    radial-gradient(circle at 50% 30%, rgb(var(--glow-blue) / .3), var(--navy-950) 75%);
}

/* 2. CTA um pouco mais baixo, mesma largura e alinhamento na base */
.audience__cta {
  width: 100%;
  min-height: 46px;
  margin-top: auto; /* CTAs alinhados na base nos dois cards */
}

/* ==========================================================================
   8. A ATHENA
   ========================================================================== */
.section--about .section__bg { --halo-x: 80%; --halo-y: 40%; --ring: 280px; }

.about {
  display: grid;
  gap: 48px;
  align-items: center;
}

.about__text { margin-bottom: 0; }

@media (min-width: 1024px) {
  .about {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 80px;
  }
}

.about__lead { max-width: 40rem; }
.about__lead p + p { margin-top: 1.125rem; }

/* Foto: moldura com luz azul atrás, borda dourada discreta e um filete deslocado */
.about__media {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0;
  justify-self: center;
  isolation: isolate;
}

.about__media::before {
  content: "";
  position: absolute;
  inset: -10% -14% -6%;
  z-index: -2;
  background: radial-gradient(closest-side, rgb(var(--light-blue-rgb) / .34), transparent 75%);
  pointer-events: none;
}

/* Filete dourado deslocado, atrás da foto */
.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgb(var(--gold-500-rgb) / .4);
  border-radius: 28px;
  transform: translate(14px, 14px);
  pointer-events: none;
}

.about__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid transparent;
  border-radius: 28px;
  background:
    linear-gradient(var(--navy-900), var(--navy-900)) padding-box,
    linear-gradient(150deg, rgb(var(--gold-500-rgb) / .7), rgb(var(--gold-500-rgb) / .15) 40%, rgb(var(--light-blue-rgb) / .3) 70%, rgb(var(--gold-500-rgb) / .5)) border-box;
  box-shadow: 0 40px 70px -36px rgb(0 0 0 / .85);
}

/* Integra a foto clara ao navy: escurece levemente a base, sem alterar a pessoa */
.about__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgb(var(--navy-950-rgb) / .55) 100%);
  pointer-events: none;
}

.about__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.about__caption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 1;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--text-on-dark);
  text-shadow: 0 1px 12px rgb(var(--navy-950-rgb) / .8);
}

.about__caption::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: .5rem;
  border-radius: 2px;
  background: var(--gold-500);
}

/* Emblema 3D: medalhão de apoio sobre o canto superior esquerdo da foto */
.about__emblem3d {
  position: absolute;
  top: -26px;
  left: -42px;
  z-index: 2;
  width: 128px;
}

.emblem3d {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    radial-gradient(70% 60% at 50% 56%, rgb(var(--light-blue-rgb) / .38), transparent 75%) padding-box,
    linear-gradient(165deg, var(--navy-800) 0%, var(--navy-950) 100%) padding-box,
    linear-gradient(150deg, rgb(var(--gold-500-rgb) / .65), rgb(var(--gold-500-rgb) / .12) 45%, rgb(var(--gold-500-rgb) / .45)) border-box;
  box-shadow:
    0 24px 44px -22px rgb(0 0 0 / .9),
    0 0 0 5px rgb(var(--navy-950-rgb) / .55);
}

.emblem3d__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 13%;
  object-fit: contain;
  transition: opacity .6s var(--ease-out);
}

.emblem3d__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  animation: emblem3d-in .9s var(--ease-out) forwards;
}

.emblem3d.is-3d .emblem3d__fallback { opacity: 0; }

@keyframes emblem3d-in {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .emblem3d__canvas { animation: none; opacity: 1; }
}

@media (max-width: 639.98px) {
  /* alinhada ao texto; sobra espaço à direita para o filete deslocado */
  .about__media { max-width: min(340px, calc(100% - 14px)); justify-self: start; }
  .about__media::after { transform: translate(10px, 10px); }
}

@media (max-width: 639.98px) {
  .about__emblem3d {
    top: -16px;
    left: -8px;
    width: 92px;
  }

  .emblem3d { border-radius: 16px; }
}

.pillars {
  display: grid;
  margin: clamp(56px, 7vw, 88px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--navy-700);
}

.pillar {
  padding: 28px 0;
  border-bottom: 1px solid var(--navy-700);
}

@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--navy-700); }

  .pillar {
    padding: 32px 32px 8px;
    border-bottom: 0;
  }

  .pillar:first-child { padding-left: 0; }
  .pillar + .pillar { border-left: 1px solid var(--navy-700); }
}

.pillar__num {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
}

.pillar__title {
  margin: .875rem 0 .5rem;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.pillar__text {
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   10. FAQ — acordeão acessível
   Sem JS, todas as respostas ficam visíveis.
   ========================================================================== */
.faq {
  display: grid;
  gap: 32px;
}

.faq__intro .section-head { margin-bottom: 0; }
.faq__cta--wide { display: none; }

@media (min-width: 1024px) {
  .faq {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 80px;
    align-items: start;
  }

  .faq__intro {
    position: sticky;
    top: calc(var(--header-h) + 48px);
  }

  .faq__cta--wide { display: inline-flex; margin-top: 2rem; }
  .faq__cta--compact { display: none; }
}

.faq__cta--compact { justify-self: start; }

.faq__list { border-top: 1px solid rgb(var(--ink-rgb) / .12); }

.faq__item { border-bottom: 1px solid rgb(var(--ink-rgb) / .12); }

.faq__q { margin: 0; }

.faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: 64px;
  padding: 1.25rem 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.faq__btn:hover { color: var(--navy-800); }

.faq__icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid rgb(var(--ink-rgb) / .16);
  border-radius: 50%;
  transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--navy-900);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-out);
}

.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__btn[aria-expanded="true"] .faq__icon {
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.faq__btn[aria-expanded="true"] .faq__icon::before,
.faq__btn[aria-expanded="true"] .faq__icon::after { background: var(--gold-500); }

.faq__btn[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .35s var(--ease-out);
}

.faq__inner { overflow: hidden; }

.faq__inner p {
  max-width: 62ch;
  padding: 0 3.5rem 1.5rem 0;
  line-height: 1.65;
  color: var(--slate);
}

.js .faq__item:not(.is-open) .faq__panel { grid-template-rows: 0fr; }

.js .faq__item:not(.is-open) .faq__inner {
  visibility: hidden;
  transition: visibility 0s .35s;
}

@media (max-width: 639.98px) {
  .faq__inner p { padding-right: 0; }
}

/* ==========================================================================
   11. CTA FINAL
   ========================================================================== */
.section--cta { padding-top: 0; }

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 96px);
  border: 1px solid var(--navy-700);
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--navy-950);
  color: var(--text);
  text-align: center;
}

.cta-panel__bg {
  --halo-x: 50%;
  --halo-y: 100%;
  --ring: min(42vw, 360px);

  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 50% 100%, rgb(var(--light-blue-rgb) / .34), transparent 72%),
    linear-gradient(115deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
}

.cta-panel__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--halo-x) var(--halo-y),
      transparent calc(var(--ring) - 1px), rgb(var(--gold-500-rgb) / .2) var(--ring), transparent calc(var(--ring) + 1px)),
    radial-gradient(circle at var(--halo-x) var(--halo-y),
      transparent calc(var(--ring) * 1.4 - 1px), rgb(var(--paper-rgb) / .07) calc(var(--ring) * 1.4), transparent calc(var(--ring) * 1.4 + 1px)),
    radial-gradient(circle at var(--halo-x) var(--halo-y),
      transparent calc(var(--ring) * 1.85 - 1px), rgb(var(--paper-rgb) / .045) calc(var(--ring) * 1.85), transparent calc(var(--ring) * 1.85 + 1px));
}

.cta-panel__title {
  max-width: 18em;
  margin: 0 auto;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  font-weight: 560;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.cta-panel__title .accent { color: var(--gold-500); }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .cta-panel__title .accent {
    background: linear-gradient(100deg, var(--gold-300) 0%, var(--gold-500) 45%, var(--gold-600) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.cta-panel__text {
  max-width: 40rem;
  margin: 1.5rem auto 0;
  font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem);
  line-height: 1.62;
  color: var(--text-muted);
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 2.25rem;
}

/* Um CTA principal é suficiente no celular (copy §3.11) */
@media (max-width: 479.98px) {
  .cta-panel__actions .btn { flex: 1 1 100%; }
  .cta-panel__secondary { display: none; }
}

/* ==========================================================================
   12. RODAPÉ
   ========================================================================== */
.site-footer {
  padding-block: clamp(56px, 7vw, 80px) 32px;
  border-top: 1px solid rgb(var(--navy-700-rgb) / .6);
  background: var(--navy-950);
  color: var(--text-muted);
}

.site-footer__grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }
}

.site-footer .brand { margin-right: 0; }

.site-footer__text {
  max-width: 26rem;
  margin-top: 1.25rem;
  font-size: .9375rem;
  line-height: 1.65;
}

.site-footer__heading {
  margin-bottom: 1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}

.site-footer__nav ul {
  display: grid;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav a {
  display: inline-block;
  padding: .375rem 0;
  font-size: .9375rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.site-footer__nav a:hover { color: var(--gold-500); }

/* E-mail: link de texto discreto abaixo do botão de contato */
.site-footer__email {
  display: inline-block;
  margin-top: 1rem;
  padding: .375rem 0;
  font-size: .9375rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgb(var(--navy-700-rgb));
  text-underline-offset: .25em;
  overflow-wrap: anywhere;
  transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out);
}

.site-footer__email:hover {
  color: var(--gold-500);
  text-decoration-color: currentColor;
}

.site-footer__contact .btn { display: flex; width: fit-content; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgb(var(--navy-700-rgb) / .6);
  font-size: .8125rem;
}

.site-footer__legal {
  display: grid;
  gap: .25rem;
}

.site-footer__legal p { margin: 0; }
.site-footer__legal .nowrap { white-space: nowrap; }

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

.site-footer__links a {
  display: inline-block;
  padding: .375rem 0;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgb(var(--navy-700-rgb));
  text-underline-offset: .25em;
  transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out);
}

.site-footer__links a:hover {
  color: var(--gold-500);
  text-decoration-color: currentColor;
}

/* ==========================================================================
   Navegação: item da seção atual
   ========================================================================== */
.nav__list a[aria-current="true"] { color: var(--text); }
.nav__list a[aria-current="true"]::after { transform: scaleX(1); }

/* ==========================================================================
   Botão flutuante de WhatsApp (mobile, depois da Hero)
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 14px 30px -12px rgb(0 0 0 / .65), inset 0 1px 0 rgb(255 255 255 / .35);
  visibility: hidden;
  opacity: 0;
  transform: translateY(16px) scale(.9);
  transition:
    opacity .3s var(--ease-out),
    transform .3s var(--ease-out),
    visibility 0s .3s;
  touch-action: manipulation;
}

.wa-float .icon { width: 24px; height: 24px; }

.wa-float.is-visible {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition:
    opacity .3s var(--ease-out),
    transform .3s var(--ease-out),
    visibility 0s;
}

@media (min-width: 768px) {
  .wa-float { display: none; }
}

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
