/* ==========================================================================
   PFA ADVOGADOS — Landing cinematográfica
   Identidade: grafite profundo, preto suavizado, branco quente, âmbar/dourado PFA
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0b0b0d;
  --bg-2: #101014;
  --graphite: #15151a;
  --line: rgba(245, 239, 230, 0.1);
  --line-soft: rgba(245, 239, 230, 0.06);
  --ivory: #f5efe6;
  --ivory-dim: #c9c2b6;
  --gold: #f1d48a;
  --amber: #e0b26a;
  --wine: #8b0016;
  --glass: rgba(16, 16, 20, 0.55);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-optical-sizing: auto; }

a { color: inherit; }

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

/* Barra de rolagem com a identidade da PFA em vez do padrão do sistema */
html { scrollbar-width: thin; scrollbar-color: var(--gold) var(--bg); }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--amber));
  border-radius: 999px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 4vw;
  background: linear-gradient(rgba(11, 11, 13, 0.82), rgba(11, 11, 13, 0));
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-solid {
  background: rgba(11, 11, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-header { width: 74px; height: auto; }
.brand-wordmark { width: 280px; min-width: 180px; height: auto; opacity: 0.95; }

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-item {
  position: relative;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ivory-dim);
  font-size: 14.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.nav-item::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-item:hover, .nav-item.nav-active { color: var(--ivory); }
.nav-item:hover::after, .nav-item.nav-active::after { transform: scaleX(1); }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #171208;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(241, 212, 138, 0.18); }

.btn-outline { background: transparent; color: var(--gold); }
.btn-outline:hover { background: rgba(241, 212, 138, 0.1); }

.btn-header { padding: 11px 20px; font-size: 14px; }

/* ==========================================================================
   HERO CINEMATOGRÁFICO (canvas + scrub)
   ========================================================================== */

.hero-cine { position: relative; }

.hero-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.hero-poster,
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Respiração lenta e contínua: sinaliza que a cena está "viva" e reage
     à rolagem, mesmo antes do primeiro gesto de scroll do usuário. */
  animation: hero-idle-breathe 10s ease-in-out infinite;
}

#heroCanvas { opacity: 0; transition: opacity 0.5s ease; }
#heroCanvas.is-ready { opacity: 1; }

@keyframes hero-idle-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

.reduced .hero-poster, .reduced #heroCanvas,
.no-js .hero-poster { animation: none; }

.hero-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(11, 11, 13, 0.55), rgba(11, 11, 13, 0.05) 30%, rgba(11, 11, 13, 0.05) 62%, rgba(11, 11, 13, 0.72)),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(11, 11, 13, 0.5));
  pointer-events: none;
}

.hero-dim {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 50%, rgba(5, 5, 7, 0.62), rgba(5, 5, 7, 0.32) 70%, rgba(5, 5, 7, 0.15));
  opacity: 0;
  pointer-events: none;
}

.hero-texts { position: absolute; inset: 0; pointer-events: none; }

.hs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(90vw, 760px);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.2;
  color: var(--ivory);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 6px 40px rgba(0, 0, 0, 0.75), 0 0 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
}

/* Mensagem imediata: visível desde o primeiro instante, antes de rolar */
.hero-intro {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 6vw 90px;
}
.hero-intro.is-hidden { pointer-events: none; }

/* Fecho no fim da jornada do vídeo (quadro escuro final) */
.hero-outro {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 6vw 60px;
  opacity: 0;
  pointer-events: none;
}
.hero-outro.is-live { pointer-events: auto; }
.hero-outro h2 {
  margin: 0 0 28px;
  max-width: 780px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.14;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 8px 46px rgba(0, 0, 0, 0.7);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.hero-intro h1 {
  margin: 0 0 22px;
  max-width: 1000px;
  font-size: clamp(40px, 7vw, 100px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 8px 46px rgba(0, 0, 0, 0.7);
}
.hero-intro h1 em { font-style: italic; font-weight: 500; color: var(--gold); }

.hero-lead {
  margin: 0 auto 30px;
  max-width: 720px;
  color: #ded7ca;
  font-size: clamp(15.5px, 1.6vw, 18.5px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 6px 30px rgba(0, 0, 0, 0.7);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin-top: 34px;
  color: var(--ivory-dim);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* Indicador de scroll: trilho + bolinha animada, como um controle de mídia —
   deixa claro que a cena responde à rolagem (é um vídeo, não uma foto). */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}
.scroll-hint-track {
  position: relative;
  width: 26px;
  height: 44px;
  border: 1.5px solid rgba(241, 212, 138, 0.75);
  border-radius: 999px;
  background: rgba(11, 11, 13, 0.35);
  box-shadow: 0 0 18px rgba(241, 212, 138, 0.22);
}
.scroll-hint-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
  animation: hint-scroll 1.7s ease-in-out infinite;
}
@keyframes hint-scroll {
  0% { top: 7px; opacity: 1; }
  55% { top: 26px; opacity: 1; }
  70% { opacity: 0; }
  71% { top: 7px; opacity: 0; }
  100% { top: 7px; opacity: 1; }
}

/* ==========================================================================
   TICKER
   ========================================================================== */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2);
  padding: 16px 0;
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker-run 34s linear infinite;
}
.ticker-track span {
  font-size: 12.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  white-space: nowrap;
}
@keyframes ticker-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SEÇÕES BASE
   ========================================================================== */

.section { padding: clamp(90px, 12vh, 150px) 6vw; max-width: 1440px; margin: 0 auto; }

.section-head { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 52px); line-height: 1.1; }
.section-head p { margin: 0; color: var(--ivory-dim); }
.head-tight { margin-top: 90px; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.copy h2 { margin: 0 0 18px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.copy p { color: var(--ivory-dim); margin: 0 0 16px; }

.cta-row { margin-top: 26px; }

.cta-alt {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-alt:hover { color: var(--ivory); }
.hero-actions + .cta-alt {
  display: block;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}
.cta-row .cta-alt { margin-left: 16px; }
@media (max-width: 480px) {
  .cta-row { display: flex; flex-direction: column; align-items: center; }
  .cta-row .cta-alt { margin-left: 0; }
}

/* Mídia cinematográfica */
.media {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: var(--graphite);
}
.media img { width: 100%; height: 100%; object-fit: cover; }

.parallax-img { will-change: transform; transform: scale(1.12); }

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11, 11, 13, 0.12), transparent 45%, rgba(11, 11, 13, 0.3));
  pointer-events: none;
}

.media-wide { aspect-ratio: 21 / 9; max-height: 62vh; width: 100%; }
.media-wide img { position: absolute; inset: 0; }
.media-full { aspect-ratio: 21 / 9; margin: 80px 0 0; }
.media-full img { position: absolute; inset: 0; }

/* Blocos de área (Lei Seca, Suspensão, Cassação) */
.area-block { scroll-margin-top: 90px; }
.area-block .area-head { max-width: 780px; margin: 56px auto 44px; text-align: center; }
.area-block h2 { margin: 0 0 14px; font-size: clamp(32px, 4.4vw, 58px); }
.area-block .lead { margin: 0; color: var(--ivory-dim); font-size: 18px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-box {
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(170deg, rgba(28, 28, 34, 0.85), rgba(18, 18, 22, 0.85));
}
.info-box h3 { margin: 0 0 12px; font-size: 19px; color: var(--gold); }
.info-box p { margin: 0; color: var(--ivory-dim); font-size: 15.5px; }

.area-block .cta-row { text-align: center; }

/* ==========================================================================
   CARDS DE ATUAÇÃO
   ========================================================================== */

#atuacao { scroll-margin-top: 90px; }

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.practice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(170deg, rgba(245, 239, 230, 0.04), rgba(245, 239, 230, 0.01));
  text-decoration: none;
  transform-style: preserve-3d;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.practice-card:hover {
  transform: translateY(-8px);
  border-color: rgba(241, 212, 138, 0.35);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.practice-number {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(241, 212, 138, 0.5);
}

.practice-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.practice-card h3 { margin: 4px 0 0; font-size: 22px; }
.practice-card p { margin: 0; color: var(--ivory-dim); font-size: 15px; flex: 1; }

.card-action {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.card-action::after { content: " →"; }

/* Sub-áreas dentro de atuação */
.sub-area { margin-top: 90px; scroll-margin-top: 110px; }

.sub-title { margin: 0 0 26px; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; font-family: var(--font-display); }

.mini-stack article { padding: 18px 0; border-top: 1px solid var(--line-soft); }
.mini-stack article:last-child { border-bottom: 1px solid var(--line-soft); }
.mini-stack strong { display: block; margin-bottom: 6px; color: var(--gold); font-size: 15px; letter-spacing: 0.04em; }
.mini-stack p { margin: 0; font-size: 15.5px; color: var(--ivory-dim); }

.glass-panel {
  padding: clamp(36px, 5vw, 64px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line-soft);
  background: linear-gradient(165deg, rgba(28, 28, 34, 0.9), rgba(16, 16, 20, 0.9));
}

.mini-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.mini-grid-3 strong { display: block; margin-bottom: 8px; color: var(--gold); font-size: 15px; }
.mini-grid-3 p { margin: 0; font-size: 15px; color: var(--ivory-dim); }

/* ==========================================================================
   METODOLOGIA
   ========================================================================== */

#metodologia { scroll-margin-top: 90px; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1200px;
}

.method-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(170deg, rgba(245, 239, 230, 0.045), rgba(245, 239, 230, 0.01));
  text-align: left;
}

.method-letter {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  border: 1px solid rgba(241, 212, 138, 0.4);
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
  background: rgba(241, 212, 138, 0.06);
}

.method-card h3 { margin: 0 0 10px; font-size: 22px; }
.method-card p { margin: 0; color: var(--ivory-dim); font-size: 15.5px; }

.authority-box {
  margin: 56px auto 0;
  max-width: 900px;
  padding: 34px 38px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(241, 212, 138, 0.05), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.authority-box p { margin: 0; color: var(--ivory-dim); font-size: 16.5px; }

/* ==========================================================================
   EQUIPE
   ========================================================================== */

#equipe { scroll-margin-top: 90px; }

.story-split { margin-bottom: 30px; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.mini-grid article {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(245, 239, 230, 0.025);
}
.mini-grid strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.mini-grid span { font-size: 13.5px; color: var(--ivory-dim); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.partner-card {
  padding: 26px 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(175deg, rgba(245, 239, 230, 0.04), rgba(245, 239, 230, 0.01));
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.partner-card:hover { transform: translateY(-6px); border-color: rgba(241, 212, 138, 0.3); }

.partner-featured { border-color: rgba(241, 212, 138, 0.28); }

.partner-photo {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--line-soft);
}
.partner-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.partner-card h3 { margin: 0 0 6px; font-size: 21px; }
.partner-card strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}
.partner-card p { margin: 0; font-size: 14.5px; color: var(--ivory-dim); }

/* ==========================================================================
   ATENDIMENTO — TIMELINE
   ========================================================================== */

#atendimento { scroll-margin-top: 90px; }

.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(241, 212, 138, 0.08));
}

.tl-item { position: relative; padding: 0 0 42px 52px; }
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--bg);
  box-shadow: 0 0 0 5px rgba(241, 212, 138, 0.07);
}
.tl-dot::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.tl-item h3 { margin: 0 0 8px; font-size: 21px; }
.tl-item p { margin: 0; color: var(--ivory-dim); font-size: 15.5px; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */

.cta-final {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: 120px 6vw;
  overflow: hidden;
  scroll-margin-top: 60px;
}

.cta-bg { position: absolute; inset: 0; margin: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(11, 11, 13, 0.86), rgba(11, 11, 13, 0.55) 45%, rgba(11, 11, 13, 0.88)),
    radial-gradient(90% 70% at 50% 55%, transparent 40%, rgba(11, 11, 13, 0.55));
}

.cta-card {
  position: relative;
  z-index: 1;
  max-width: 680px;
  text-align: center;
  padding: clamp(40px, 6vw, 64px);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background: rgba(13, 13, 16, 0.85);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}
.cta-card h2 { margin: 0 0 16px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; }
.cta-card p { margin: 0 0 28px; color: var(--ivory-dim); }

/* ==========================================================================
   FOOTER + FLUTUANTE
   ========================================================================== */

.footer {
  padding: 44px 6vw 120px;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.footer p { margin: 0 0 8px; font-size: 15px; }
.footer small { color: var(--ivory-dim); font-size: 12.5px; }

.floating-socials { position: fixed; right: 22px; bottom: 22px; z-index: 70; }

.floating-whatsapp {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #0c1408;
  background: #25d366;
  box-shadow: 0 16px 44px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.06); }
.floating-whatsapp svg { width: 40px; height: 40px; }

/* Anéis de pulso: chamam atenção sem depender de texto extra */
.floating-whatsapp::before,
.floating-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: #25d366;
  animation: wa-pulse 2.4s ease-out infinite;
}
.floating-whatsapp::after { animation-delay: 1.2s; }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(2.05); opacity: 0; }
}
.reduced .floating-whatsapp::before, .reduced .floating-whatsapp::after,
.no-js .floating-whatsapp::before, .no-js .floating-whatsapp::after { animation: none; opacity: 0; }

/* ==========================================================================
   MODAL DE TRIAGEM
   ========================================================================== */

.qualifier-modal { position: fixed; inset: 0; z-index: 90; }
.qualifier-modal[hidden] { display: none; }

.qualifier-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 7, 0.7);
  backdrop-filter: blur(6px);
}

.qualifier-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(94vw, 460px);
}

.qualifier-close {
  position: absolute;
  right: -6px;
  top: -46px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(16, 16, 20, 0.8);
  color: var(--ivory);
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

.chat-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(14, 14, 18, 0.92);
  backdrop-filter: blur(18px);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(241, 212, 138, 0.05);
}
.avatar-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.chat-header strong { display: block; font-size: 15px; font-family: var(--font-body); }
.chat-header span { font-size: 12.5px; color: var(--ivory-dim); }

.triage-progress {
  margin-left: auto;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(241, 212, 138, 0.3);
  background: rgba(241, 212, 138, 0.08);
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.triage-progress[hidden] { display: none; }

.chat-window {
  height: min(44vh, 350px);
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble {
  max-width: 85%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.45;
}
.bubble.bot {
  align-self: flex-start;
  background: rgba(245, 239, 230, 0.07);
  border: 1px solid var(--line-soft);
  border-bottom-left-radius: 4px;
}
.bubble.user {
  align-self: flex-end;
  background: rgba(241, 212, 138, 0.16);
  border: 1px solid rgba(241, 212, 138, 0.3);
  border-bottom-right-radius: 4px;
}

.typing { font-size: 12.5px; color: var(--ivory-dim); padding: 4px 2px; }

.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 16px;
}

.choice {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(241, 212, 138, 0.35);
  background: transparent;
  color: var(--gold);
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.choice:hover { background: rgba(241, 212, 138, 0.12); transform: translateY(-1px); }

.lead-inputs { display: grid; gap: 10px; padding: 0 18px 18px; }
.lead-inputs input {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(245, 239, 230, 0.05);
  color: var(--ivory);
  font-size: 15px;
  font-family: var(--font-body);
}
.lead-inputs input::placeholder { color: rgba(201, 194, 182, 0.6); }

.modal-note {
  padding: 12px 18px 16px;
  font-size: 11.5px;
  color: var(--ivory-dim);
  border-top: 1px solid var(--line-soft);
}

.skip-whats {
  display: inline-block;
  margin-top: 6px;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.skip-whats:hover { color: var(--ivory); }

.alt-contact { margin: 14px 0 0; font-size: 14px; color: var(--ivory-dim); }
.alt-contact a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.alt-contact a:hover { color: var(--ivory); }

.rt-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.call-alt { margin: 2px 0 0; text-align: center; font-size: 13px; color: var(--ivory-dim); }
.call-alt a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.footer-contact { margin: 0 0 10px; font-size: 14px; color: var(--ivory-dim); }
.footer-contact a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

body.modal-open { overflow: hidden; }

/* ==========================================================================
   REVEALS (estado inicial p/ JS)
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(40px); }
.js .method-card { opacity: 0; transform: translateY(70px) rotateX(14deg); }

/* Sem JS ou reduced-motion: tudo visível */
.no-js .reveal, .reduced .reveal,
.no-js .method-card, .reduced .method-card { opacity: 1 !important; transform: none !important; }

.reduced .parallax-img { transform: none !important; }
.reduced .ticker-track { animation: none; }
.reduced .scroll-hint { display: none; }
.reduced .hero-outro { display: none; }
.reduced .hs { display: none; }
.reduced #heroCanvas { display: none; }
.no-js .hero-outro { display: none; }
.no-js .hs { display: none; }
.no-js .scroll-hint { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .scroll-hint span, .scroll-hint-dot { animation: none; }
  .hero-poster, #heroCanvas { animation: none; }
  .floating-whatsapp::before, .floating-whatsapp::after { animation: none; opacity: 0; }
  .btn, .practice-card, .partner-card, .floating-whatsapp { transition: none; }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 1080px) {
  .brand-wordmark { display: none; }
  .info-grid, .mini-grid-3 { grid-template-columns: 1fr 1fr; }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  .site-header {
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand cta" "nav nav";
    padding: 10px 4vw 0;
    row-gap: 4px;
  }
  .brand { grid-area: brand; }
  .logo-header { width: 56px; }
  .btn-header { grid-area: cta; justify-self: end; padding: 9px 14px; font-size: 12.5px; }
  .nav-links { grid-area: nav; justify-content: flex-start; padding-bottom: 6px; }
  .nav-item { padding: 8px 10px; font-size: 13px; }

  .hero-intro { padding-top: 130px; }
  .hero-outro { padding-top: 130px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .trust-line { gap: 8px 16px; font-size: 11px; }

  .split, .story-split { grid-template-columns: 1fr; gap: 30px; }
  .split .media { order: -1; }

  .section { padding: 70px 5vw; }
  .info-grid, .practice-grid, .partners-grid, .method-grid, .mini-grid, .mini-grid-3 { grid-template-columns: 1fr; }

  .media-wide, .media-full { aspect-ratio: 16 / 10; max-height: none; }

  .sub-area { margin-top: 60px; }
  .head-tight { margin-top: 60px; }

  .cta-final { min-height: 80vh; padding: 90px 5vw; }

  .floating-socials { right: 16px; bottom: 16px; }
  .floating-whatsapp { width: 62px; height: 62px; }
  .floating-whatsapp svg { width: 34px; height: 34px; }

  .qualifier-close { top: -44px; right: 0; }
}

@media (hover: none) {
  .btn:hover, .practice-card:hover, .partner-card:hover, .floating-whatsapp:hover { transform: none; box-shadow: none; }
}
