/* ==========================================================================
   Smartfoco — Landing Page V2
   Conceito: light & clean · Glassmorphism + Neumorphism · "foco" (lente/obturador)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Paleta da marca (mantida da V1) */
  --navy: #071326;
  --navy-2: #0c1e3a;
  --blue: #103768;
  --blue-2: #164477;
  --blue-3: #2b5d9a;
  --blue-soft: #6f93c4;
  --sky: #d7e2f0;
  --red: #bd2d3b;
  --red-soft: rgba(189, 45, 59, .1);

  /* Texto */
  --ink: #111a28;
  --text: #2b3546;
  --muted: #5b6573;

  /* Superfícies (base neumórfica) */
  --surface: #eef1f5;
  --surface-hi: #f6f8fb;
  --surface-lo: #e3e8ef;
  --hairline: rgba(17, 26, 40, .08);

  /* Neumorphism */
  --neu-dark: rgba(163, 177, 198, .55);
  --neu-light: rgba(255, 255, 255, .95);
  --neu-out: 12px 12px 28px var(--neu-dark), -12px -12px 28px var(--neu-light);
  --neu-out-lg: 18px 18px 40px var(--neu-dark), -18px -18px 40px var(--neu-light);
  --neu-out-sm: 5px 5px 12px var(--neu-dark), -5px -5px 12px var(--neu-light);
  --neu-in: inset 6px 6px 14px var(--neu-dark), inset -6px -6px 14px var(--neu-light);
  --neu-in-sm: inset 3px 3px 7px var(--neu-dark), inset -3px -3px 7px var(--neu-light);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, .5);
  --glass-bg-strong: rgba(255, 255, 255, .72);
  --glass-border: rgba(255, 255, 255, .85);
  --glass-blur: blur(22px) saturate(170%);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 24px 60px -24px rgba(16, 55, 104, .28);

  /* Forma e ritmo */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 92px;

  /* Tipografia */
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Movimento */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin-top: 0; }
::selection { background: rgba(43, 93, 154, .2); }

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

.wrap {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Superfícies reutilizáveis ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, .9); }
}

.neu {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: var(--neu-out);
}

/* ---------- Luz ambiente (composição de fundo da página inteira) ----------
   Uma única camada fixa atrás de todo o conteúdo, com 3 campos de luz muito grandes e
   difusos que se deslocam devagar. Dá profundidade ao glassmorphism em qualquer seção
   sem criar "objetos" visíveis no fundo.
   --c = cor RGB da paleta · --a = intensidade · --rot = inclinação */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.light {
  position: absolute;
  width: max(1100px, 95vw);
  aspect-ratio: 1.7;
  rotate: var(--rot, 0deg);
  opacity: var(--a);
  background: radial-gradient(closest-side,
    rgba(var(--c), 1) 0%,
    rgba(var(--c), .82) 20%,
    rgba(var(--c), .55) 40%,
    rgba(var(--c), .28) 60%,
    rgba(var(--c), .1) 78%,
    rgba(var(--c), .02) 92%,
    rgba(var(--c), 0) 100%);
  animation: ambient-drift var(--t, 40s) ease-in-out infinite alternate;
  will-change: transform;
}

.light-1 { --c: 43, 93, 154; --a: .15; --rot: -14deg; top: -38%; right: -42%; }
.light-2 { --c: 111, 147, 196; --a: .22; --rot: 12deg; bottom: -46%; left: -40%; --t: 48s; animation-delay: -16s; }
.light-3 { --c: 111, 147, 196; --a: .1; --rot: -6deg; top: 18%; left: 8%; width: max(900px, 70vw); --t: 56s; animation-delay: -30s; }

.bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 55, 104, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 55, 104, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 62% 42%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 62% at 62% 42%, #000 20%, transparent 75%);
}

/* ---------- Barra de progresso de leitura ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-soft), var(--blue-2), var(--navy));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* ---------- Botões ---------- */
.btn {
  --h: 48px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s, background-color .3s;
}

.btn .icon-arrow {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .4s var(--ease);
}
.btn:hover .icon-arrow { transform: translateX(4px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-3) 0%, var(--blue) 48%, var(--navy) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 14px 30px -12px rgba(16, 55, 104, .7),
    0 4px 10px -4px rgba(7, 19, 38, .35);
}
/* Brilho que atravessa o botão no hover */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 20px 38px -12px rgba(16, 55, 104, .75), 0 6px 14px -6px rgba(7, 19, 38, .4); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .7; cursor: wait; transform: none; }

.btn-neu {
  color: var(--navy);
  background: var(--surface);
  box-shadow: var(--neu-out-sm);
}
.btn-neu:hover { color: var(--blue-2); transform: translateY(-2px); }
.btn-neu:active { transform: none; box-shadow: var(--neu-in-sm); }

.btn-lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pill-risk { background: var(--red-soft); color: var(--red); }

.pill-tag {
  background: rgba(16, 55, 104, .07);
  color: var(--blue-2);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: pulse 1.8s ease-out infinite;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: 16px;
  transition: padding .4s var(--ease);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
  padding: 0 10px 0 26px;
  border-radius: 999px;
  transition: height .4s var(--ease), background-color .4s, box-shadow .4s;
}

.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .nav {
  height: 60px;
  background: var(--glass-bg-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 40px -20px rgba(16, 55, 104, .35);
}

.brand img { height: 26px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a:not(.btn) {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  color: var(--text);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.nav-links a:not(.btn):hover { color: var(--navy); background: rgba(255, 255, 255, .65); }
.nav-links a.is-active {
  color: var(--blue-2);
  background: var(--surface);
  box-shadow: var(--neu-in-sm);
}
.nav-links .nav-links-cta { display: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Seletor de idioma neumórfico com "thumb" deslizante */
.lang-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--neu-in-sm);
}
.lang-switch button {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--muted);
  cursor: pointer;
  transition: color .3s;
}
.lang-switch button[aria-pressed="true"] { color: var(--navy); }
.lang-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 40px;
  height: 32px;
  border-radius: 999px;
  background: var(--surface-hi);
  box-shadow: 3px 3px 8px var(--neu-dark), -3px -3px 8px var(--neu-light);
  transition: transform .5s var(--ease);
}
.lang-switch[data-active="en"] .lang-thumb { transform: translateX(40px); }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--neu-out-sm);
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .45s var(--ease);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 104px;
}
@supports (overflow: clip) {
  .hero { overflow: visible; overflow-x: clip; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  gap: 56px;
  align-items: center;
}

.hero-quote {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 560px;
  margin: 0 0 30px;
  padding: 14px 20px 14px 14px;
  border-radius: 22px;
}
.hero-quote blockquote {
  margin: 0;
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
}

.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-3), var(--navy));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 8px 16px -8px rgba(7, 19, 38, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
  object-fit: cover;
}

h1 {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 4.4vw, 3.75rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.048em;
  color: var(--navy);
  text-wrap: balance;
}

/* Destaque com gradiente + sublinhado que "desenha" */
.highlight {
  position: relative;
  font-style: normal;
  background: linear-gradient(100deg, var(--blue-2) 0%, var(--blue-3) 45%, var(--blue-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .02em;
  height: .09em;
  border-radius: 1em;
  background: linear-gradient(90deg, var(--blue-soft), rgba(111, 147, 196, 0));
  transform: scaleX(0);
  transform-origin: left;
  animation: draw-line 1.2s var(--ease) 1s forwards;
}

.hero-lead {
  max-width: 580px;
  margin: 0 0 34px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
}

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

.hero-micro {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-micro .icon { width: 18px; height: 18px; color: var(--blue-3); }

/* --- Visual: lente + card de achado --- */
.hero-visual {
  position: relative;
  perspective: 1400px;
}

.lens {
  position: absolute;
  inset: -16% -14%;
  z-index: -1;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.lens svg {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  fill: none;
}
.lens-outer {
  stroke: rgba(16, 55, 104, .13);
  stroke-width: 1;
  animation: spin 90s linear infinite;
}
.lens-outer .ticks {
  stroke: rgba(16, 55, 104, .2);
  stroke-width: 10;
  stroke-dasharray: 1.5 12.6;
}
.lens-inner {
  width: 78% !important;
  stroke: rgba(255, 255, 255, .95);
  stroke-width: 2;
  animation: spin 60s linear infinite reverse;
}
.lens-inner .dash {
  stroke: rgba(43, 93, 154, .3);
  stroke-width: 1.5;
  stroke-dasharray: 6 10;
}

.finding-stage {
  position: relative;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}

/* Marcadores de foco nos cantos (conceito "smart foco") */
.focus-frame {
  position: absolute;
  inset: -16px;
  pointer-events: none;
  animation: focus-in 1.6s var(--ease) .5s both;
}
.focus-frame i {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--blue-3);
  border-radius: 4px;
  opacity: .75;
}
.focus-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.focus-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 12px; }
.focus-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 12px; }
.focus-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }

.finding {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .62);
}

/* Linha de "varredura" — simula a diligência lendo o cadastro */
.scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -80px;
  z-index: 2;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(43, 93, 154, 0), rgba(43, 93, 154, .1) 75%, rgba(43, 93, 154, .28));
  border-bottom: 1px solid rgba(43, 93, 154, .45);
  animation: scan 6s var(--ease-in-out) 2s infinite;
}

.finding-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--hairline);
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.finding-module { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

.finding-rows { margin: 0; padding: 4px 26px; }
.finding-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  border-bottom: 1px dashed rgba(17, 26, 40, .11);
}
.finding-row:last-child { border-bottom: 0; }
.finding-row dt {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--text);
}
.finding-row small { font-size: 12px; font-weight: 500; color: var(--muted); }
.finding-row dd {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.val-old {
  position: relative;
  font-family: var(--mono);
  font-size: 12.5px;
  color: #8b929c;
  text-decoration: none;
}
.val-old::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: 52%;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease) var(--strike-delay, .9s);
}
.is-visible .val-old::after { transform: scaleX(1); }
html:not(.js) .val-old { text-decoration: line-through; }

.val-new {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.finding-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 26px;
  background: linear-gradient(120deg, rgba(189, 45, 59, .09), rgba(255, 255, 255, .25));
  border-top: 1px solid rgba(189, 45, 59, .12);
}
.finding-foot p {
  max-width: 190px;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text);
}
.big-risk {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--red);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.float-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 750;
  color: var(--navy);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.badge-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--surface);
  box-shadow: 3px 3px 8px var(--neu-dark), -3px -3px 8px var(--neu-light);
  color: var(--blue-2);
}
.badge-icon .icon { width: 18px; height: 18px; }
/* Badges dentro do palco 3D, à frente do card (profundidade no tilt) */
.float-badge--a { top: -32px; right: -28px; transform: translateZ(60px); }
.float-badge--b { bottom: -36px; left: 36px; transform: translateZ(80px); animation-delay: -3s; }

.caption {
  margin: 64px 0 0;
  font-size: 11.5px;
  color: #7a838d;
  text-align: center;
}

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .15));
  box-shadow: 0 1px 0 var(--hairline);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticker-group li {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  font-size: 15px;
  font-weight: 750;
  color: #7c8696;
  white-space: nowrap;
}
.ticker-group li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-soft);
  opacity: .6;
}

/* ==========================================================================
   SEÇÕES — base
   ========================================================================== */
.section {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0;
}
.section > .wrap { position: relative; z-index: 1; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-2), var(--blue-soft));
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.045em;
  color: var(--navy);
  text-wrap: balance;
}

.section-sub {
  max-width: 640px;
  margin: 0;
  font-size: 17px;
  color: var(--muted);
}

/* ---------- Para quem é ---------- */
.profile { padding-bottom: clamp(24px, 4vw, 48px); }

.profile-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-xl);
}

.profile-mark {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 280px;
  opacity: .045;
  animation: spin 120s linear infinite;
}

.section-label {
  padding-top: 14px;
  border-top: 2px solid var(--blue-2);
}
.section-label h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.section-label p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }

.lead {
  position: relative;
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.03em;
  color: var(--navy);
}
.lead strong {
  font-weight: 750;
  background: linear-gradient(transparent 64%, rgba(111, 147, 196, .3) 64%);
}

/* ---------- Perguntas ---------- */
.questions-body {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.questions-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.quote-card {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
}
.quote-mark { width: 44px; fill: var(--blue-soft); opacity: .7; }
.quote-card p {
  margin: 20px 0 0;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 650;
  line-height: 1.38;
  letter-spacing: -.025em;
  color: var(--navy);
}

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

.question {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  border-radius: var(--radius);
  transition: transform .45s var(--ease), background-color .45s, box-shadow .45s;
}
.question::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--blue-3), var(--blue-soft));
  transform: scaleY(0);
  transition: transform .45s var(--ease);
}
.question:hover {
  transform: translateX(6px);
  background: var(--glass-bg-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 28px 60px -26px rgba(16, 55, 104, .38);
}
.question:hover::before { transform: scaleY(1); }

.q-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--neu-in-sm);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-3);
}
.question p {
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

/* ---------- O que muda ---------- */
.change-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 72px;
  align-items: center;
}
.change-grid .section-head { margin-bottom: 0; }

.benefits { display: grid; gap: 22px; }

.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 22px;
  align-items: center;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--neu-out-lg); }
.benefit .icon-well {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  box-shadow: var(--neu-in);
  color: var(--blue-2);
  transition: color .45s, background-color .45s, box-shadow .45s;
}
.benefit:hover .icon-well {
  color: #fff;
  background-color: var(--blue-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 24px -10px rgba(16, 55, 104, .7);
}
.benefit .icon { width: 26px; height: 26px; }
.benefit h3 {
  align-self: end;
  margin: 0;
  font-size: 20px;
  letter-spacing: -.025em;
  color: var(--navy);
}
.benefit p { align-self: start; margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Método ---------- */
.takeaways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 96px;
}

.takeaway {
  position: relative;
  overflow: hidden;
  padding: 32px 30px 34px;
  border-radius: var(--radius-lg);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.takeaway::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 340px;
  height: 240px;
  background: radial-gradient(closest-side, rgba(111, 147, 196, .2), rgba(111, 147, 196, .12) 40%, rgba(111, 147, 196, .04) 75%, rgba(111, 147, 196, 0));
  transition: transform .6s var(--ease);
}
.takeaway:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 34px 70px -30px rgba(16, 55, 104, .42); }
.takeaway:hover::after { transform: scale(1.5); }
.takeaway-index {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--neu-out-sm);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-3);
}
.takeaway h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.025em; color: var(--navy); }
.takeaway p { margin: 0; font-size: 15px; color: var(--muted); }

.steps-title {
  margin: 0 auto 48px;
  max-width: 560px;
  text-align: center;
  font-size: 16px;
  font-weight: 650;
  color: var(--muted);
}

/* Linha do tempo S·M·A·R·T */
.steps {
  --disc: 84px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: calc(var(--disc) / 2 - 2px);
  left: 10%;
  right: 10%;
  height: 4px;
  border-radius: 4px;
}
.steps::before { background: var(--surface); box-shadow: var(--neu-in-sm); }
.steps::after {
  background: linear-gradient(90deg, var(--blue-soft), var(--blue-2), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2s var(--ease) .3s;
}
.steps.is-visible::after { transform: scaleX(1); }

.step { position: relative; z-index: 1; text-align: center; }
.step-disc {
  display: grid;
  place-items: center;
  width: var(--disc);
  height: var(--disc);
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--neu-out);
}
.step-disc span {
  display: grid;
  place-items: center;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  box-shadow: var(--neu-in-sm);
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-2);
}
.steps.is-visible .step-disc span {
  animation: disc-on .7s var(--ease) both;
  animation-delay: calc(.4s + var(--i) * .36s);
}
.step h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.02em; color: var(--navy); }
.step p { max-width: 210px; margin: 0 auto; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Prova (painel escuro) ---------- */
.proof { padding-block: clamp(32px, 5vw, 64px); }

.proof-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px);
  border-radius: var(--radius-xl);
  background: radial-gradient(120% 140% at 0% 0%, #19447f 0%, var(--navy-2) 45%, var(--navy) 100%);
  color: #fff;
  box-shadow: 0 50px 90px -40px rgba(7, 19, 38, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.proof-panel > *:not(.proof-glow):not(.proof-aperture) { position: relative; z-index: 1; }
.proof-glow {
  position: absolute;
  top: -320px;
  right: -360px;
  width: 1000px;
  height: 640px;
  rotate: -18deg;
  background: radial-gradient(closest-side, rgba(111, 147, 196, .34), rgba(111, 147, 196, .22) 30%, rgba(111, 147, 196, .1) 60%, rgba(111, 147, 196, .03) 85%, rgba(111, 147, 196, 0));
  animation: drift 20s ease-in-out infinite alternate;
}
.proof-aperture {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 400px;
  opacity: .06;
  animation: spin 90s linear infinite;
}
.proof .section-title { max-width: 660px; color: #fff; }
.kicker-light { color: #a9c0e0; }
.kicker-light::before { background: linear-gradient(90deg, #a9c0e0, rgba(169, 192, 224, 0)); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.stat {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: transform .45s var(--ease), background-color .45s;
}
.stat:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
.stat strong {
  display: block;
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #b6c9e4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat p { margin: 14px 0 0; font-size: 15px; color: #c3cede; }

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 80px;
  align-items: center;
}

.portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  margin-inline: auto;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(111, 147, 196, .4), rgba(111, 147, 196, 0) 70%);
}
.portrait-ring {
  position: absolute;
  border-radius: 50%;
  animation: spin 50s linear infinite;
}
.ring-1 { inset: 0; border: 1px dashed rgba(16, 55, 104, .25); }
.ring-1::before {
  content: "";
  position: absolute;
  top: 14.6%;
  left: 14.6%;
  width: 10px;
  height: 10px;
  margin: -5px;
  border-radius: 50%;
  background: var(--blue-3);
  box-shadow: 0 0 0 5px rgba(43, 93, 154, .16);
}
.ring-2 { inset: 9%; border: 2px solid rgba(255, 255, 255, .95); animation-duration: 70s; animation-direction: reverse; }
.ring-3 { inset: -7%; border: 1px solid rgba(16, 55, 104, .08); animation: none; }

.portrait-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: 68%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--neu-out-lg);
}
.portrait-disc::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  box-shadow: var(--neu-in);
}
.portrait-photo {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  border-radius: 50%;
  object-fit: cover;
}

.portrait-badge {
  position: absolute;
  top: 6%;
  right: 2%;
  padding: 14px 20px;
  border-radius: 20px;
  text-align: center;
  animation: float 8s ease-in-out -2s infinite;
}
.portrait-badge small {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.portrait-badge strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--navy);
}

.portrait-tag {
  position: absolute;
  bottom: 7%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 10px;
  border-radius: 20px;
  animation: float 7s ease-in-out infinite;
}
.portrait-tag img { width: 40px; height: 40px; }
.portrait-tag strong { display: block; font-size: 15px; line-height: 1.2; color: var(--navy); }
.portrait-tag small { display: block; font-size: 12.5px; color: var(--muted); }

.about-copy p:not(.kicker):not(.signature) { font-size: 17px; color: var(--text); }
.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 0;
  font-size: 14px;
  font-weight: 750;
  color: var(--blue-2);
}
.signature::before {
  content: "";
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* ---------- Qualificação ---------- */
.qualify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.qualify-card {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-xl);
}

/* Elevado (positivo) x afundado (negativo): o neumorphism comunica o sentido,
   e a cor reforça — azul da marca = perfil ideal · vermelho de "risco" (já usado no card de achado) = fora do perfil */
.qualify-card.is-good {
  background:
    linear-gradient(160deg, rgba(111, 147, 196, .22) 0%, rgba(111, 147, 196, .06) 45%, rgba(238, 241, 245, 0) 70%),
    var(--surface);
  border-color: transparent;
  box-shadow: var(--neu-out), 0 34px 70px -34px rgba(16, 55, 104, .4);
}
/* Borda em gradiente que gira devagar — ponto de atenção da seção */
.qualify-card.is-good::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--border-angle),
    rgba(43, 93, 154, .14) 0deg,
    var(--blue-3) 60deg,
    var(--blue-soft) 110deg,
    rgba(43, 93, 154, .14) 170deg,
    rgba(43, 93, 154, .14) 360deg);
  -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 exclude, linear-gradient(#000 0 0);
  --border-angle: 0deg;
  animation: border-spin 7s linear infinite;
  pointer-events: none;
}

.qualify-card.is-bad {
  background:
    linear-gradient(160deg, rgba(189, 45, 59, .05) 0%, rgba(238, 241, 245, 0) 55%),
    var(--surface);
  border: 1px solid rgba(189, 45, 59, .13);
  box-shadow: var(--neu-in);
}

.qualify-card header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 22px;
}
.pill-fit {
  margin-left: auto;
  background: rgba(43, 93, 154, .1);
  border: 1px solid rgba(43, 93, 154, .18);
  color: var(--blue-2);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.pill-fit .pulse-dot,
.pill-fit .pulse-dot::after { background: var(--blue-3); border-color: var(--blue-3); }
.pill-fit .pulse-dot::after { background: none; }
.qualify-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
}
.is-good .qualify-icon {
  background: linear-gradient(135deg, var(--blue-3), var(--blue));
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(16, 55, 104, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.is-bad .qualify-icon { background: var(--surface); box-shadow: var(--neu-out-sm); color: rgba(189, 45, 59, .72); }
.qualify-card h3 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.is-good h3 { color: var(--navy); }
.is-bad h3 { color: #67707c; }

.check-list { display: grid; margin: 0; padding: 0; list-style: none; }
.check-list li {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--hairline);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text);
}
.check-list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23164477' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 3px 3px 7px var(--neu-dark), -3px -3px 7px var(--neu-light);
}
.is-good .check-list li { border-top-color: rgba(43, 93, 154, .12); }
.is-good .check-list li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(135deg, var(--blue-3), var(--blue));
  box-shadow: 0 6px 12px -6px rgba(16, 55, 104, .75);
}
.is-bad .check-list li { color: var(--muted); border-top-color: rgba(189, 45, 59, .09); }
.is-bad .check-list li::before {
  background-color: rgba(189, 45, 59, .07);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4535f' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E");
  box-shadow: inset 2px 2px 4px rgba(189, 45, 59, .12), inset -2px -2px 4px var(--neu-light);
}

/* ---------- Agendar ---------- */
.book-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 72px;
  align-items: start;
}
.book-copy { position: sticky; top: calc(var(--header-h) + 40px); }
.book-copy .section-title { font-size: clamp(2.1rem, 4vw, 3.4rem); }

.book-list {
  display: grid;
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.book-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--navy);
}
.tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--neu-out-sm);
  color: var(--blue-2);
}
.tick .icon { width: 18px; height: 18px; stroke-width: 2.4; }

.form-card {
  position: relative;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .58);
}
.form-card h3 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -.03em;
  color: var(--navy);
}
.form-intro { margin: 0 0 28px; font-size: 14px; color: var(--muted); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--text); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--neu-in-sm);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field select {
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23164477' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { background-color: var(--surface-hi); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(43, 93, 154, .5);
  background-color: var(--surface-hi);
  box-shadow: var(--neu-in-sm), 0 0 0 4px rgba(43, 93, 154, .14);
}
.field input:user-invalid { border-color: rgba(189, 45, 59, .55); }

.form-card .btn { margin-top: 26px; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  background: rgba(39, 120, 70, .1);
  color: #22603a;
}
.form-status.is-shown { display: block; animation: reveal-up .5s var(--ease) both; }
.form-status.is-sending { background: rgba(16, 55, 104, .08); color: var(--blue-2); }
.form-status.is-error { background: var(--red-soft); color: #972d3c; }

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* intl-tel-input — ajustes visuais */
.phone-field .iti { width: 100%; }
.phone-field .iti__tel-input { width: 100%; }
.phone-field .iti__country-container { z-index: 5; }
.phone-field .iti__selected-country { border-radius: 14px 0 0 14px; }
.phone-field .iti__selected-country:hover,
.phone-field .iti__selected-country-primary:hover { background: rgba(16, 55, 104, .05); }
.iti__dropdown-content {
  overflow: hidden;
  border: 1px solid var(--glass-border) !important;
  border-radius: 16px;
  box-shadow: 0 24px 50px -20px rgba(16, 55, 104, .4) !important;
}
.iti__country-list { z-index: 50; max-height: 280px; font-family: var(--sans); }

/* ---------- Footer ---------- */
.site-footer { padding: 0 0 44px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.site-footer .brand img { height: 22px; }
.site-footer p { margin: 0; font-size: 13px; color: var(--muted); }
.back-top {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--neu-out-sm);
  color: var(--navy);
  transition: box-shadow .3s, color .3s, transform .4s var(--ease);
}
.back-top:hover { color: var(--blue-2); transform: translateY(-3px); }
.back-top:active { box-shadow: var(--neu-in-sm); transform: none; }
.back-top .icon { width: 20px; height: 20px; }

/* ==========================================================================
   ANIMAÇÕES
   ========================================================================== */

/* Revelação ao rolar (ativada via JS; sem JS tudo aparece normalmente).
   Movimento curto e discreto; cada bloco define a própria direção via --from / --scale-from. */
.js .reveal { opacity: 0; }
.js .reveal.is-visible { animation: reveal .8s var(--ease) var(--d, 0s) both; }

/* Coreografia por seção */
.hero-visual { --from: 0 12px; --scale-from: .97; }
.profile-panel { --from: 0 12px; --scale-from: .985; }
.question { --from: -24px 0; }                         /* lista sendo "checada" da esquerda */
.benefit { --from: 24px 0; }
.takeaway { --from: 0 18px; --scale-from: .97; }
.qualify-card.is-good { --from: -24px 0; }
.qualify-card.is-bad { --from: 24px 0; }
.portrait { --from: 0 0; --scale-from: .94; }
.form-card { --from: 24px 0; }

@keyframes reveal {
  from { opacity: 0; translate: var(--from, 0 16px); scale: var(--scale-from, 1); }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes reveal-up {
  from { opacity: 0; translate: 0 34px; scale: .985; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, -30px, 0) scale(1.08); }
  100% { transform: translate3d(-30px, 30px, 0) scale(.95); }
}
/* Ângulo animável para a borda em gradiente (fallback: borda estática) */
@property --border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes border-spin { to { --border-angle: 360deg; } }
@keyframes ambient-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-6vw, 4vh, 0) scale(1.08); }
  100% { transform: translate3d(4vw, -5vh, 0) scale(.96); }
}
@keyframes spin { to { rotate: 360deg; } }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes pulse {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes draw-line { to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scan {
  0% { top: -80px; opacity: 0; }
  8% { opacity: 1; }
  55% { top: 100%; opacity: 1; }
  62%, 100% { top: 100%; opacity: 0; }
}
@keyframes focus-in {
  0% { transform: scale(1.14); opacity: 0; }
  55% { transform: scale(.97); opacity: 1; }
  75% { transform: scale(1.015); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes disc-on {
  to {
    color: #fff;
    background-color: var(--blue-2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 20px -8px rgba(16, 55, 104, .7);
  }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 88px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: 100%; max-width: 540px; margin-inline: auto; }
  .questions-body { grid-template-columns: 1fr; gap: 28px; }
  .questions-aside { position: static; }
  .change-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-copy { max-width: 720px; }
  .book-grid { grid-template-columns: 1fr; gap: 48px; }
  .book-copy { position: static; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 26px;
    background: rgba(246, 248, 251, .97);
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px -24px rgba(16, 55, 104, .4);
    opacity: 0;
    visibility: hidden;
    translate: 0 -10px;
    transition: opacity .3s, translate .45s var(--ease), visibility .3s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; translate: 0 0; }
  .nav-links a:not(.btn) { padding: 14px 18px; font-size: 16px; }
  .nav-links .nav-links-cta { display: flex; margin-top: 6px; min-height: 52px; }

  .takeaways { grid-template-columns: 1fr; gap: 16px; margin-bottom: 72px; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .qualify-grid { grid-template-columns: 1fr; gap: 20px; }
  .profile-panel { grid-template-columns: 1fr; gap: 24px; }
  .section-label { max-width: 260px; }

  /* Linha do tempo vertical */
  .steps { --disc: 72px; grid-template-columns: 1fr; gap: 26px; max-width: 560px; margin-inline: auto; }
  .steps::before,
  .steps::after {
    top: 10px;
    bottom: 10px;
    left: calc(var(--disc) / 2 - 2px);
    right: auto;
    width: 4px;
    height: auto;
  }
  .steps::after { background: linear-gradient(180deg, var(--blue-soft), var(--blue-2), var(--navy)); transform: scaleY(0); transform-origin: top; }
  .steps.is-visible::after { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: var(--disc) 1fr; gap: 20px; align-items: center; text-align: left; }
  .step-disc { margin: 0; }
  .step p { max-width: none; margin: 0; }
}

@media (max-width: 640px) {
  :root { --header-h: 80px; }
  body { font-size: 15px; }
  .site-header { padding-top: 10px; }
  .nav { height: 60px; padding-left: 20px; gap: 10px; }
  .site-header.is-scrolled .nav { height: 56px; }
  .brand img { height: 22px; }
  .lang-switch button, .lang-thumb { width: 36px; height: 30px; }
  .lang-switch[data-active="en"] .lang-thumb { transform: translateX(36px); }
  .menu-toggle { width: 40px; height: 40px; }
  .menu-toggle span { left: 12px; right: 12px; }

  .hero { padding: calc(var(--header-h) + 36px) 0 72px; }
  .hero-grid { gap: 72px; }
  .hero-quote { padding: 12px 14px 12px 12px; }
  .hero-quote blockquote { font-size: 13.5px; }
  .avatar { width: 36px; height: 36px; font-size: 12px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }

  .finding-head, .finding-rows, .finding-foot { padding-inline: 18px; }
  .finding-row { min-height: 56px; }
  .finding-row dt { font-size: 13px; }
  .finding-row dd { gap: 10px; }
  .val-old { font-size: 11px; }
  .val-new { font-size: 13.5px; }
  .big-risk { font-size: 24px; }
  .float-badge { font-size: 12px; padding: 6px 12px 6px 6px; }
  .badge-icon { width: 28px; height: 28px; border-radius: 9px; }
  .float-badge--a { top: -38px; right: -6px; }
  .float-badge--b { bottom: -32px; left: 14px; }
  .caption { margin-top: 52px; }
  .focus-frame { inset: -10px; }
  .focus-frame i { width: 22px; height: 22px; }

  .ticker { padding: 16px 0; }
  .ticker-group li { font-size: 13.5px; gap: 30px; padding-right: 30px; }

  .section-head { margin-bottom: 40px; }
  .section-sub { font-size: 16px; }
  .quote-card { padding: 30px 26px; }

  .question { grid-template-columns: auto 1fr; gap: 12px 16px; padding: 18px; }
  .question .pill-tag { grid-column: 2; justify-self: start; }
  .question p { font-size: 15px; }
  .q-num { width: 38px; height: 38px; border-radius: 12px; font-size: 12px; }
  .question:hover { transform: none; }

  .benefit { padding: 22px; gap: 4px 18px; }
  .benefit .icon-well { width: 54px; height: 54px; border-radius: 16px; }

  .stat { padding: 24px; }

  .portrait { max-width: 360px; }
  .portrait-badge { padding: 10px 14px; }
  .portrait-badge strong { font-size: 22px; }
  .portrait-tag { padding: 8px 14px 8px 8px; }
  .portrait-tag img { width: 32px; height: 32px; }
  .portrait-tag strong { font-size: 13.5px; }
  .portrait-tag small { font-size: 11.5px; }

  .form-grid { grid-template-columns: 1fr; gap: 14px; }

  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
}

/* ==========================================================================
   EFEITOS LIGADOS À ROLAGEM (scroll-driven animations)
   Melhoria progressiva: só em navegadores com suporte e para quem não pediu
   menos movimento. Nos demais, valem as animações por tempo definidas acima.
   ========================================================================== */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    /* Lente do hero: gira e se afasta conforme a página desce */
    .lens {
      animation: lens-away linear both;
      animation-timeline: scroll(root);
      animation-range: 0 90vh;
    }

    /* Linha S·M·A·R·T acompanha a rolagem e acende cada etapa ao alcançá-la */
    .steps {
      --fill-start: 14%;
      --fill-span: 33%;
      view-timeline: --steps block;
    }
    .steps::after,
    .steps.is-visible::after {
      transition: none;
      animation: steps-fill linear both;
      animation-timeline: --steps;
      animation-range: cover var(--fill-start) cover calc(var(--fill-start) + var(--fill-span));
    }
    .steps .step-disc span,
    .steps.is-visible .step-disc span {
      animation: disc-on linear both;
      animation-timeline: --steps;
      animation-range:
        cover calc(var(--fill-start) + var(--fill-span) * var(--i) / 4 - 1%)
        cover calc(var(--fill-start) + var(--fill-span) * var(--i) / 4 + 2%);
    }

    /* Painel de números "abre" ao entrar na tela */
    .js .proof-panel.reveal,
    .js .proof-panel.reveal.is-visible {
      opacity: 1;
      transform-origin: 50% 100%;
      animation: panel-open linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 40%;
    }

    @media (max-width: 900px) {
      .steps { --fill-start: 15%; --fill-span: 56%; }
      .steps::after,
      .steps.is-visible::after { animation-name: steps-fill-y; }
    }
  }
}

@keyframes lens-away {
  to { transform: translateY(70px) scale(.86) rotate(28deg); opacity: .35; }
}
@keyframes steps-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes steps-fill-y {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes panel-open {
  from { opacity: .8; scale: .92; translate: 0 48px; }
  to { opacity: 1; scale: 1; translate: 0 0; }
}

/* Acessibilidade: respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .scanline { display: none; }
}
