/**
 * Página Diagnóstico QEV — Luminous Dark (Apple structure + José signature)
 * Tokens: ./tokens.css
 */

@import url("./tokens.css");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--jr-font-text);
  font-size: 16px;
  line-height: 1.47;
  color: var(--jr-white);
  background: var(--jr-navy-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: clip;
}

/* ——— Ambient: linhas + bolinhas piscando (site inteiro) ——— */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 96px,
      rgba(59, 158, 255, 0.035) 96px,
      rgba(59, 158, 255, 0.035) 97px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 120px,
      rgba(94, 184, 255, 0.02) 120px,
      rgba(94, 184, 255, 0.02) 121px
    );
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 85%);
}

.ambient__glow {
  position: absolute;
  width: 60vw;
  height: 50vh;
  top: -10%;
  left: 20%;
  background: radial-gradient(
    ellipse,
    rgba(59, 158, 255, 0.12) 0%,
    transparent 70%
  );
  filter: blur(40px);
  animation: ambient-drift 18s ease-in-out infinite alternate;
}

@keyframes ambient-drift {
  from {
    transform: translate(-4%, 0) scale(1);
  }
  to {
    transform: translate(6%, 8%) scale(1.1);
  }
}

.page-shell {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--jr-electric-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
}

/* ——— Top bar ——— */
.topbar {
  background: linear-gradient(
    90deg,
    rgba(26, 111, 255, 0.28) 0%,
    rgba(59, 158, 255, 0.38) 50%,
    rgba(26, 111, 255, 0.28) 100%
  );
  border-bottom: 1px solid rgba(94, 184, 255, 0.45);
  box-shadow:
    0 0 40px rgba(59, 158, 255, 0.2),
    inset 0 1px 0 rgba(184, 228, 255, 0.18);
  color: var(--jr-ice);
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  padding: 16px 24px;
}

.topbar strong {
  color: var(--jr-white);
  font-weight: 700;
}

.topbar__inner {
  margin: 0;
}

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 10, 20, 0.72);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--jr-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--jr-white);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav__brand span {
  color: var(--jr-text-dim);
  font-weight: 400;
}

.nav__mark {
  width: 22px;
  height: 22px;
  color: var(--jr-electric-bright);
  filter: drop-shadow(0 0 8px rgba(59, 158, 255, 0.65));
  flex-shrink: 0;
}

.nav__cta .jr-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
  background: var(--jr-grad-hero);
}

.hero__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, transparent 0 18%, rgba(59, 158, 255, 0.06) 18.5% 19%, transparent 19.5%),
    radial-gradient(circle at 50% 20%, transparent 0 28%, rgba(59, 158, 255, 0.05) 28.5% 29%, transparent 29.5%),
    radial-gradient(circle at 50% 20%, transparent 0 40%, rgba(59, 158, 255, 0.04) 40.5% 41%, transparent 41.5%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

.hero__solo {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  text-align: center;
}

.hero__solo .hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jr-cyan);
  margin-bottom: 16px;
}

.eyebrow--brand {
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 14px;
  font-weight: 600;
  color: var(--jr-white);
}

.eyebrow--brand span {
  color: var(--jr-text-dim);
  font-weight: 400;
}

.eyebrow__mark {
  width: 18px;
  height: 18px;
  color: var(--jr-electric-bright);
  filter: drop-shadow(0 0 8px rgba(59, 158, 255, 0.65));
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--jr-font-display);
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--jr-white);
  margin-bottom: 18px;
  max-width: 15ch;
}

.hero__title--wide {
  max-width: 800px;
}

.hero__accent {
  color: var(--jr-electric-bright);
}

.hero__nowrap {
  white-space: nowrap;
}

.hero__sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--jr-text-mute);
  max-width: 40ch;
  margin-bottom: 28px;
}

.hero__sub--wide {
  max-width: 62ch;
}

.hero__sub strong {
  color: var(--jr-white);
  font-weight: 600;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: var(--jr-text-dim);
  justify-content: center;
  margin-bottom: 32px;
}

.hero__meta span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jr-electric);
  box-shadow: 0 0 10px var(--jr-glow-mid);
  margin-right: 8px;
  vertical-align: middle;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  justify-content: center;
}

.hero__actions .jr-beam--pill .jr-btn {
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
}

/* ——— Hero stage (foto + hub) ——— */
.hero-stage {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  width: 100%;
  margin-top: 40px;
  align-items: stretch;
}

.hero-stage__shot {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(94, 184, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(59, 158, 255, 0.1),
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 48px rgba(59, 158, 255, 0.18);
  background: var(--jr-navy-950);
}

.hero-stage__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-stage__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 10, 20, 0.05) 0%, rgba(5, 10, 20, 0.15) 40%, rgba(5, 10, 20, 0.88) 100%),
    radial-gradient(ellipse at 80% 10%, rgba(59, 158, 255, 0.28), transparent 45%);
  pointer-events: none;
}

.hero-stage__pills {
  position: absolute;
  inset: 18px 16px auto;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero-stage__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--jr-white);
  background: rgba(5, 10, 20, 0.72);
  border: 1px solid rgba(94, 184, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-stage__pill--live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d6d;
  box-shadow: 0 0 10px rgba(255, 77, 109, 0.8);
  animation: hub-bloom 1.6s ease-in-out infinite;
}

.hero-stage__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.hero-stage__caption strong {
  font-family: var(--jr-font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--jr-white);
  text-shadow: 0 0 24px rgba(59, 158, 255, 0.35);
}

.hero-stage__caption span {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(184, 228, 255, 0.82);
  max-width: none;
}

.hero-stage__panel {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 20px 12px;
  background: linear-gradient(
    165deg,
    rgba(22, 58, 107, 0.45) 0%,
    rgba(10, 22, 40, 0.92) 48%,
    rgba(5, 10, 20, 0.98) 100%
  );
  border: 1px solid rgba(94, 184, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(59, 158, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 48px rgba(59, 158, 255, 0.16);
}

.hero-stage__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(94, 184, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 184, 255, 0.22) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-stage__panel .hero-hub {
  width: 100%;
  max-width: 100%;
  margin: 0;
  aspect-ratio: 1000 / 520;
  z-index: 1;
}

.hero-stage__panel .hero-hub__core {
  width: 90px;
}

.hero-stage__panel .hero-hub__node-disk {
  width: 44px;
}

.hero-stage__panel .hero-hub__node span {
  font-size: 9px;
  max-width: 11ch;
}

/* ——— Hero Hub (núcleo + nós + fluxo) ——— */
.hero-hub {
  --hub-w: min(1000px, 100%);
  position: relative;
  width: var(--hub-w);
  max-width: 1000px;
  aspect-ratio: 1000 / 440;
  margin: 0 auto;
  isolation: isolate;
}

.hero-hub__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-hub__grid {
  position: absolute;
  inset: 8% 4%;
  border-radius: 28px;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(94, 184, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 184, 255, 0.22) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 20%, transparent 75%);
}

.hero-hub__bloom {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(94, 184, 255, 0.35) 0%,
    rgba(59, 158, 255, 0.14) 35%,
    transparent 68%
  );
  filter: blur(8px);
  animation: hub-bloom 4.5s ease-in-out infinite;
}

@keyframes hub-bloom {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.hero-hub__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}

.hero-hub__rails path {
  fill: none;
}

.hero-hub__flow {
  fill: none;
  stroke-dasharray: 28 220;
  animation: hub-flow 2.6s linear infinite;
  animation-delay: var(--d, 0s);
}

@keyframes hub-flow {
  to {
    stroke-dashoffset: -248;
  }
}

/* Núcleo */
.hero-hub__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: clamp(112px, 16vw, 148px);
  aspect-ratio: 1;
  translate: -50% -50%;
  display: grid;
  place-items: center;
}

.hero-hub__orbit {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  border: 1px solid rgba(94, 184, 255, 0.28);
  box-shadow: 0 0 24px rgba(59, 158, 255, 0.2);
  pointer-events: none;
}

.hero-hub__orbit--a {
  animation: hub-spin 14s linear infinite;
  border-color: transparent;
  border-top-color: rgba(94, 184, 255, 0.85);
  border-right-color: rgba(56, 189, 248, 0.35);
}

.hero-hub__orbit--b {
  inset: -22%;
  animation: hub-spin 22s linear infinite reverse;
  border-color: transparent;
  border-bottom-color: rgba(59, 158, 255, 0.55);
  border-left-color: rgba(184, 228, 255, 0.25);
  opacity: 0.8;
}

.hero-hub__orbit--c {
  inset: -34%;
  border-style: dashed;
  border-color: rgba(94, 184, 255, 0.18);
  animation: hub-spin 32s linear infinite;
  opacity: 0.7;
}

@keyframes hub-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-hub__core-face {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 28%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background:
    radial-gradient(circle at 35% 28%, rgba(184, 228, 255, 0.55), transparent 42%),
    radial-gradient(circle at 50% 60%, rgba(26, 111, 255, 0.85), rgba(5, 10, 20, 0.98) 72%);
  border: 1px solid rgba(184, 228, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(59, 158, 255, 0.25),
    0 0 40px rgba(59, 158, 255, 0.55),
    0 0 80px rgba(26, 111, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: hub-core-pulse 3.2s ease-in-out infinite;
}

@keyframes hub-core-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(59, 158, 255, 0.25),
      0 0 36px rgba(59, 158, 255, 0.5),
      0 0 72px rgba(26, 111, 255, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(94, 184, 255, 0.45),
      0 0 52px rgba(94, 184, 255, 0.7),
      0 0 100px rgba(26, 111, 255, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
}

.hero-hub__core-icon {
  width: 28%;
  height: 28%;
  color: var(--jr-ice);
  filter: drop-shadow(0 0 10px rgba(94, 184, 255, 0.85));
}

.hero-hub__core-label {
  font-family: var(--jr-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-align: center;
  color: var(--jr-white);
  text-shadow: 0 0 12px rgba(94, 184, 255, 0.7);
  max-width: 90%;
}

/* Nós satélite */
.hero-hub__node {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  translate: -50% -50%;
}

.hero-hub__node--marca     { left: 13%; top: 22.7%; }
.hero-hub__node--oferta    { left: 14.5%; top: 77.3%; }
.hero-hub__node--lifestyle { left: 87%; top: 22.7%; }
.hero-hub__node--funis     { left: 87%; top: 77.3%; }

.hero-hub__node-disk {
  width: clamp(52px, 7.2vw, 68px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--jr-electric-bright);
  background:
    radial-gradient(circle at 35% 30%, rgba(94, 184, 255, 0.22), transparent 55%),
    linear-gradient(165deg, rgba(22, 58, 107, 0.55), rgba(5, 10, 20, 0.95));
  border: 1px solid rgba(94, 184, 255, 0.38);
  box-shadow:
    0 0 0 1px rgba(59, 158, 255, 0.12),
    0 0 28px rgba(59, 158, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-hub__node-disk svg {
  width: 46%;
  height: 46%;
}

.hero-hub__node span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--jr-text-dim);
  text-transform: uppercase;
  text-align: center;
  max-width: 11ch;
  line-height: 1.25;
}

.hero-hub__node:hover .hero-hub__node-disk {
  transform: scale(1.08);
  box-shadow:
    0 0 0 1px rgba(94, 184, 255, 0.35),
    0 0 36px rgba(59, 158, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: var(--jr-ice);
}

@media (prefers-reduced-motion: reduce) {
  .hero-hub__bloom,
  .hero-hub__flow,
  .hero-hub__orbit,
  .hero-hub__core-face {
    animation: none !important;
  }

  .hero-hub__flow {
    opacity: 0.55;
    stroke-dasharray: none;
  }
}

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

/* ——— Modal popup ——— */
html.is-modal-open,
html.is-modal-open body {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 15, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: min(92vh, 640px);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(94, 184, 255, 0.18),
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(59, 158, 255, 0.2);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.modal__close:hover {
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  transform: scale(1.04);
}

.modal__visual {
  position: relative;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 35% 45%, rgba(59, 158, 255, 0.38), transparent 58%),
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(37, 99, 235, 0.22), transparent 50%),
    linear-gradient(165deg, #0c1a2e 0%, #0a1628 48%, #060e18 100%);
}

.modal__visual-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.modal__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 8px;
}

.modal__brand {
  font-family: var(--jr-font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
}

.modal__perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.modal__perks svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.modal__form {
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  overflow-y: auto;
}

.modal__headline {
  font-family: var(--jr-font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 22px;
  padding-right: 28px;
}

.modal__sub {
  display: none;
}

.field {
  margin-bottom: 12px;
}

.field--icon {
  position: relative;
}

.field__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  translate: 0 -50%;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
  z-index: 1;
}

.field__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.field--light input {
  width: 100%;
  height: 52px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0 16px 0 44px;
  font-family: var(--jr-font-text);
  font-size: 15px;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field--light input:focus {
  background: #fff;
  border-color: var(--jr-electric);
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.22);
}

.field--icon:focus-within .field__icon {
  color: var(--jr-electric);
}

.field--phone .field__prefix {
  position: absolute;
  left: 42px;
  top: 50%;
  translate: 0 -50%;
  z-index: 1;
  font-family: var(--jr-font-text);
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  pointer-events: none;
  user-select: none;
}

.field--phone input {
  padding-left: 78px;
}

.field--phone:focus-within .field__prefix {
  color: var(--jr-electric);
}

.field--light input::placeholder {
  color: #94a3b8;
}

.field--light input.is-invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}

.modal__cta .jr-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.modal__cta {
  width: 100%;
  margin-top: 6px;
  display: inline-flex;
}

.modal__cta .jr-btn {
  width: 100%;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 20px;
}

.modal__legal {
  display: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px 8px;
}

.form-success.is-visible {
  display: block;
}

.form-success h3 {
  font-family: var(--jr-font-display);
  font-size: 24px;
  color: #0f172a;
  margin-bottom: 8px;
}

.form-success p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.45;
}

form.is-hidden {
  display: none;
}

/* ——— Sections ——— */
.section {
  padding: 96px 0;
  position: relative;
}

.section--navy {
  background: var(--jr-navy-900);
}

.section--deep {
  background: var(--jr-navy-950);
}

.section__eyebrow {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jr-cyan);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--jr-font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-align: center;
  max-width: 18ch;
  margin: 0 auto 48px;
  color: var(--jr-white);
}

#o-que-leva .section__title {
  max-width: 600px;
}

#para-quem .section__title {
  max-width: 800px;
}

#prova .section__title {
  max-width: 800px;
}

.section__cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ——— Bento glass (ref master: glow azul + movimento) ——— */
.bento-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--jr-gutter-bento);
  align-items: stretch;
}

.bento-glass {
  --bento-radius: 28px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100%;
  border-radius: var(--bento-radius);
  background: linear-gradient(
    165deg,
    rgba(22, 58, 107, 0.45) 0%,
    rgba(10, 22, 40, 0.92) 48%,
    rgba(5, 10, 20, 0.98) 100%
  );
  border: 1px solid rgba(94, 184, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(59, 158, 255, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.28),
    0 18px 48px -16px rgba(59, 158, 255, 0.32);
}

.bento-glass:nth-child(1) .bento-glass__rim { animation-delay: 0s; }
.bento-glass:nth-child(2) .bento-glass__rim { animation-delay: -0.6s; }
.bento-glass:nth-child(3) .bento-glass__rim { animation-delay: -1.2s; }
.bento-glass:nth-child(4) .bento-glass__rim { animation-delay: -1.8s; }
.bento-glass:nth-child(5) .bento-glass__rim { animation-delay: -2.4s; }
.bento-glass:nth-child(6) .bento-glass__rim { animation-delay: -3s; }

/* Luz inferior — wash azul sem pílula/faixa sólida */
.bento-glass__rim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  z-index: 3;
  background: radial-gradient(
    ellipse 55% 100% at 50% 100%,
    rgba(94, 184, 255, 0.55) 0%,
    rgba(59, 158, 255, 0.22) 42%,
    transparent 72%
  );
  animation: bento-rim 3.6s ease-in-out infinite;
  pointer-events: none;
}

.bento-glass__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(94, 184, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 184, 255, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    rgba(0, 0, 0, 0.4) 35%,
    rgba(0, 0, 0, 0.1) 65%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    rgba(0, 0, 0, 0.4) 35%,
    rgba(0, 0, 0, 0.1) 65%,
    transparent 100%
  );
  pointer-events: none;
}

.bento-glass__body {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.bento-glass__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-glass__copy h3 {
  font-size: 20px;
}

/* ——— SVG animados ——— */
.bento-viz {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 148px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(5, 10, 20, 0.35);
  border: 1px solid rgba(94, 184, 255, 0.14);
  overflow: hidden;
}

.bento-viz--compact {
  min-height: 112px;
}

.bento-viz__svg {
  width: min(100%, 240px);
  height: auto;
  display: block;
}

/* 01 — curva + scanner */
.viz-path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: viz-draw 3.2s ease-out infinite;
}

.viz-node {
  fill: #5eb8ff;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-node-pop 3.2s ease-out infinite;
}

.viz-node--1 {
  animation-delay: 0.55s;
}
.viz-node--2 {
  animation-delay: 1s;
}
.viz-node--3 {
  animation-delay: 1.45s;
  fill: #b8e4ff;
}
.viz-node--4 {
  animation-delay: 1.9s;
}

.viz-scan {
  transform-origin: 168px 36px;
  animation: viz-scan-pulse 3.2s ease-in-out infinite;
}

/* 02 — pilares */
.viz-pillar {
  transform-origin: center bottom;
  transform-box: fill-box;
  animation: viz-pillar-rise 2.8s ease-out infinite;
}

.viz-pillar--1 {
  animation-delay: 0s;
}
.viz-pillar--2 {
  animation-delay: 0.35s;
}
.viz-pillar--3 {
  animation-delay: 0.7s;
}

/* 03 — ondas + níveis */
.viz-ring {
  fill: none;
  transform-origin: center;
  transform-box: fill-box;
  animation: viz-ring-wave 2.8s ease-out infinite;
}

.viz-ring--1 {
  animation-delay: 0s;
}
.viz-ring--2 {
  animation-delay: 0.35s;
}
.viz-ring--3 {
  animation-delay: 0.7s;
}

.viz-tier {
  transform-origin: center;
  transform-box: fill-box;
  animation: viz-tier-in 2.8s ease-out infinite;
}

.viz-tier--1 {
  animation-delay: 0.15s;
}
.viz-tier--2 {
  animation-delay: 0.45s;
}
.viz-tier--3 {
  animation-delay: 0.75s;
}

/* 04 — ensinar → vende */
.viz-feather {
  transform-origin: 120px 55px;
  animation: viz-feather-pulse 2.8s ease-in-out infinite;
}

.viz-teach-book {
  animation: viz-teach-glow 3s ease-in-out infinite;
}

.viz-teach-wave {
  stroke-dasharray: 28;
  stroke-dashoffset: 28;
  animation: viz-teach-speak 2.6s ease-out infinite;
}

.viz-teach-wave--1 { animation-delay: 0.1s; }
.viz-teach-wave--2 { animation-delay: 0.35s; }
.viz-teach-wave--3 { animation-delay: 0.6s; }

.viz-teach-bar {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: viz-pillar-rise 2.8s ease-out infinite;
}

.viz-teach-bar--1 { animation-delay: 0.35s; }
.viz-teach-bar--2 { animation-delay: 0.6s; }

.viz-teach-arrow {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: viz-draw 2.8s ease-out infinite;
  animation-delay: 0.5s;
}

/* 05 — oscilação / erro */
.viz-alert {
  transform-origin: 120px 55px;
  animation: viz-alert-pulse 2.4s ease-in-out infinite;
}

.viz-alert__bar,
.viz-alert__dot {
  animation: viz-alert-blink 2.4s ease-in-out infinite;
}

.viz-crack {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: viz-draw 2.8s ease-out infinite;
}

.viz-osc {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: viz-draw 3.4s ease-out infinite;
}

.viz-osc-dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-node-pop 3.4s ease-out infinite;
}

.viz-osc-dot--1 { animation-delay: 0.45s; }
.viz-osc-dot--2 { animation-delay: 0.9s; }
.viz-osc-dot--3 { animation-delay: 1.35s; }
.viz-osc-dot--4 { animation-delay: 1.8s; }

.viz-osc-crash,
.viz-osc-warn {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-osc-crash 3.4s ease-out infinite;
}

.viz-osc-warn {
  animation-delay: 0.08s;
}

/* 06 — mapa 90 dias */
.viz-map {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: viz-draw 3.6s ease-out infinite;
}

.viz-map-node {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-node-pop 3.6s ease-out infinite;
}

.viz-map-node--1 { animation-delay: 0.2s; }
.viz-map-node--2 { animation-delay: 0.45s; }
.viz-map-node--3 { animation-delay: 0.7s; }
.viz-map-node--4 { animation-delay: 0.95s; }
.viz-map-node--5 { animation-delay: 1.2s; }
.viz-map-node--6 { animation-delay: 1.45s; }
.viz-map-node--7 { animation-delay: 1.7s; }
.viz-map-node--8 { animation-delay: 1.95s; }

@keyframes viz-draw {
  0% {
    stroke-dashoffset: 320;
  }
  45%,
  75% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.35;
  }
}

@keyframes viz-node-pop {
  0%,
  12% {
    opacity: 0;
    transform: scale(0.4);
  }
  22%,
  78% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
}

@keyframes viz-scan-pulse {
  0%,
  40% {
    opacity: 0.15;
  }
  50%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}

@keyframes viz-pillar-rise {
  0% {
    opacity: 0.15;
    transform: scaleY(0.25);
  }
  35%,
  70% {
    opacity: 1;
    transform: scaleY(1);
  }
  100% {
    opacity: 0.45;
    transform: scaleY(0.92);
  }
}

@keyframes viz-ring-wave {
  0% {
    opacity: 0.9;
    transform: scale(0.55);
  }
  70% {
    opacity: 0;
    transform: scale(1.15);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes viz-tier-in {
  0% {
    opacity: 0;
    transform: translateX(12px) scaleX(0.7);
  }
  35%,
  72% {
    opacity: 1;
    transform: translateX(0) scaleX(1);
  }
  100% {
    opacity: 0.4;
    transform: translateX(0) scaleX(0.96);
  }
}

@keyframes viz-feather-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96) rotate(-4deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) rotate(2deg);
  }
}

@keyframes viz-alert-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes viz-alert-blink {
  0%,
  40%,
  100% {
    opacity: 1;
  }
  50%,
  60% {
    opacity: 0.25;
  }
}

@keyframes viz-teach-glow {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes viz-teach-speak {
  0% {
    opacity: 0;
    stroke-dashoffset: 28;
  }
  35%,
  70% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0.25;
    stroke-dashoffset: 0;
  }
}

@keyframes viz-osc-crash {
  0%,
  55% {
    opacity: 0;
    transform: scale(0.5);
  }
  68%,
  82% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .viz-path,
  .viz-node,
  .viz-scan,
  .viz-pillar,
  .viz-ring,
  .viz-tier,
  .viz-feather,
  .viz-teach-book,
  .viz-teach-wave,
  .viz-teach-bar,
  .viz-teach-arrow,
  .viz-alert,
  .viz-alert__bar,
  .viz-alert__dot,
  .viz-crack,
  .viz-osc,
  .viz-osc-dot,
  .viz-osc-crash,
  .viz-osc-warn,
  .viz-map,
  .viz-map-node {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    transform: none !important;
  }
}

.bento-glass__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--jr-ice);
  background: rgba(59, 158, 255, 0.16);
  border: 1px solid rgba(94, 184, 255, 0.35);
  box-shadow:
    0 0 20px rgba(59, 158, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bento-glass__body h3,
.bento-glass__copy h3 {
  font-family: var(--jr-font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--jr-white);
}

.bento-glass__body p,
.bento-glass__copy p {
  font-size: 15px;
  line-height: 1.45;
  color: var(--jr-text-mute);
}

.bento-glass__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.bento-glass__list li {
  font-size: 15px;
  line-height: 1.4;
  color: var(--jr-text-mute);
  padding-left: 18px;
  position: relative;
}

.bento-glass__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jr-electric);
  box-shadow: 0 0 10px var(--jr-glow-mid);
}

@keyframes bento-rim {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bento-glass__rim {
    animation: none !important;
  }
}

/* ——— Qualify ——— */
.qualify {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: var(--jr-gutter-bento);
  align-items: stretch;
}

.qualify__card {
  min-height: 100%;
}

.qualify__body {
  padding: 32px 32px 40px;
  gap: 24px;
}

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

.qualify__badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.qualify__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.qualify__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.qualify__list li {
  font-size: 16px;
  line-height: 1.45;
  padding-left: 28px;
  position: relative;
}

.qualify__list li strong {
  font-weight: 600;
}

/* Yes — destaque máximo (glass + luz + borda viva) */
.qualify__card--yes {
  border-color: rgba(94, 184, 255, 0.38);
  box-shadow:
    0 0 0 1px rgba(59, 158, 255, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.32),
    0 18px 44px -16px rgba(59, 158, 255, 0.22);
}

.qualify__card--yes .bento-glass__rim {
  height: 56px;
  background: radial-gradient(
    ellipse 55% 100% at 50% 100%,
    rgba(94, 184, 255, 0.42) 0%,
    rgba(59, 158, 255, 0.16) 42%,
    transparent 72%
  );
}

.qualify__card--yes .bento-glass__grid {
  opacity: 0.12;
}

.qualify__card--yes .qualify__badge {
  color: var(--jr-white);
  background: linear-gradient(
    145deg,
    rgba(59, 158, 255, 0.45),
    rgba(26, 111, 255, 0.28)
  );
  border: 1px solid rgba(94, 184, 255, 0.42);
  box-shadow: 0 0 10px rgba(59, 158, 255, 0.22);
}

.qualify__card--yes .qualify__label {
  color: var(--jr-cyan);
}

.qualify__card--yes .qualify__list li {
  color: var(--jr-text-mute);
}

.qualify__card--yes .qualify__list li strong {
  color: var(--jr-white);
}

.qualify__card--yes .qualify__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--jr-electric-bright);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(59, 158, 255, 0.55);
}

/* No — mesmo idioma visual, um pouco mais legível */
.qualify__card--no {
  border-color: rgba(94, 184, 255, 0.16);
  background: linear-gradient(
    165deg,
    rgba(18, 36, 62, 0.45) 0%,
    rgba(8, 14, 26, 0.82) 55%,
    rgba(5, 8, 16, 0.92) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.28);
  opacity: 0.82;
}

.qualify__card--no .bento-glass__grid {
  opacity: 0.07;
}

.qualify__card--no .qualify__body {
  padding: 28px 28px 32px;
}

.qualify__card--no .qualify__badge {
  width: 32px;
  height: 32px;
  font-size: 16px;
  color: rgba(180, 196, 214, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.qualify__card--no .qualify__label {
  color: rgba(180, 196, 214, 0.72);
  font-weight: 600;
}

.qualify__card--no .qualify__list {
  gap: 14px;
}

.qualify__card--no .qualify__list li {
  font-size: 15px;
  color: rgba(180, 196, 214, 0.72);
}

.qualify__card--no .qualify__list li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: -1px;
  color: rgba(180, 196, 214, 0.5);
  font-weight: 600;
  font-size: 18px;
}

/* ——— Cred (prova + expert unidos) ——— */
.cred {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.cred__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jr-cyan);
  margin: 0 0 16px;
}

.cred__bio p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--jr-text-mute);
  margin-bottom: 14px;
}

.cred__bio p strong {
  color: var(--jr-white);
  font-weight: 600;
}

.cred__cta {
  margin-top: 8px;
}

.proof__stats {
  display: grid;
  gap: 16px;
}

.proof__stats--inline {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 8px;
}

.stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(94, 184, 255, 0.15);
  border-radius: var(--jr-radius-bento-sm);
  padding: 22px 18px;
  box-shadow: inset 0 0 40px rgba(59, 158, 255, 0.05);
}

.stat__num {
  font-family: var(--jr-font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--jr-white);
  text-shadow: var(--jr-glow-text);
}

.stat__label {
  font-size: 13px;
  color: var(--jr-text-dim);
  line-height: 1.35;
}

.proof__copy p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--jr-text-mute);
  margin-bottom: 16px;
}

.proof__copy p strong {
  color: var(--jr-white);
  font-weight: 600;
}

.proof__flag {
  font-family: var(--jr-font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 20px 0 24px;
  color: var(--jr-white);
  text-shadow: 0 0 30px rgba(59, 158, 255, 0.35);
}

/* ——— Expert visual ——— */
.expert__visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--jr-radius-bento);
  box-shadow: var(--jr-glow-card);
  min-height: 0;
  position: sticky;
  top: 24px;
  overflow: hidden;
  border: 1px solid rgba(94, 184, 255, 0.22);
  background: var(--jr-navy-950);
}

.expert__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ——— FAQ ——— */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin-inline: auto;
}

.faq details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px 24px;
}

.faq details[open] {
  border-color: rgba(94, 184, 255, 0.28);
  box-shadow: 0 0 24px rgba(59, 158, 255, 0.12);
}

.faq summary {
  font-family: var(--jr-font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--jr-white);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--jr-electric-bright);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--jr-text-mute);
}

/* ——— Final CTA ——— */
.final {
  padding: 100px 0 112px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(59, 158, 255, 0.28), transparent 60%),
    var(--jr-navy-950);
}

.final h2 {
  font-family: var(--jr-font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 14ch;
  margin: 0 auto 16px;
  color: var(--jr-white);
}

.final p {
  font-size: 18px;
  color: var(--jr-text-mute);
  max-width: 36ch;
  margin: 0 auto 32px;
  line-height: 1.45;
}

/* ——— Footer ——— */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0 40px;
  text-align: center;
  font-size: 12px;
  color: var(--jr-text-dim);
}

.footer strong {
  color: var(--jr-white);
  font-weight: 600;
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.section__cta .jr-beam--pill {
  display: inline-flex;
}

/* ——— Motion ——— */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy {
    animation: rise 0.75s ease both;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient__glow,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .topbar {
    font-size: 15px;
    padding: 14px 18px;
  }

  .hero {
    padding: 36px 0 48px;
  }

  .hero__solo {
    width: min(920px, calc(100% - 40px));
  }

  .hero__title,
  .hero__title--wide {
    max-width: none;
  }

  .hero__nowrap {
    white-space: normal;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .hero-stage__shot,
  .hero-stage__panel {
    min-height: 340px;
  }

  .hero-hub {
    margin-top: 36px;
  }

  .bento-4 {
    grid-template-columns: 1fr;
  }

  .cred,
  .qualify {
    grid-template-columns: 1fr;
  }

  .qualify {
    gap: 16px;
  }

  .expert__visual {
    position: relative;
    top: auto;
    width: min(420px, 100%);
    margin-inline: auto;
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

  .proof__stats--inline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .modal__dialog {
    grid-template-columns: 1fr;
    max-height: min(94vh, 780px);
    overflow-y: auto;
  }

  .modal__visual {
    min-height: 240px;
    padding: 20px 20px 24px;
  }

  .modal__form {
    padding: 28px 24px 28px;
  }

  .modal__headline {
    font-size: 26px;
  }

  .section {
    padding: 64px 0;
  }

  .section__title {
    margin-bottom: 28px;
    max-width: none;
  }

  #o-que-leva .section__title,
  #para-quem .section__title,
  #prova .section__title {
    max-width: none;
  }

  .nav__cta {
    display: none !important;
  }
}

/* Hub mobile = mesmo layout do desktop, proporção menor */
@media (max-width: 720px) {
  .hero-hub {
    display: block;
    position: relative;
    width: 100%;
    max-width: 345px;
    aspect-ratio: 1000 / 440;
    margin: 28px auto 0;
    padding: 0;
  }

  .hero-hub__atmosphere,
  .hero-hub__wires {
    display: block;
  }

  .hero-hub__grid {
    background-size: 22px 22px;
    opacity: 0.1;
  }

  .hero-hub__bloom {
    width: 48%;
    filter: blur(6px);
  }

  .hero-hub__core {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    grid-column: auto;
    margin: 0;
    width: 78px;
  }

  .hero-hub__orbit--a {
    inset: -8%;
  }

  .hero-hub__orbit--b {
    inset: -18%;
  }

  .hero-hub__orbit--c {
    display: block;
    inset: -28%;
  }

  .hero-hub__core-face {
    border-radius: 26%;
  }

  .hero-hub__core-icon {
    width: 26%;
    height: 26%;
  }

  .hero-hub__core-label {
    font-size: 8px;
    letter-spacing: 0.01em;
    line-height: 1.1;
  }

  .hero-hub__node {
    position: absolute;
    translate: -50% -50%;
    gap: 6px;
  }

  .hero-hub__node--marca     { left: 13%; top: 22.7%; }
  .hero-hub__node--oferta    { left: 14.5%; top: 77.3%; }
  .hero-hub__node--lifestyle { left: 87%; top: 22.7%; }
  .hero-hub__node--funis     { left: 87%; top: 77.3%; }

  .hero-hub__node-disk {
    width: 40px;
  }

  .hero-hub__node span {
    display: block;
    font-size: 8px;
    max-width: 11ch;
    line-height: 1.15;
  }

  .hero-hub__flow {
    stroke-width: 2;
  }

  .hero-hub__rails {
    stroke-width: 1.2;
  }
}

@media (max-width: 520px) {
  .topbar {
    font-size: 11px;
    line-height: 1.35;
    padding: 13px 14px;
  }

  .topbar strong {
    font-size: 11px;
  }

  .wrap,
  .wrap--narrow,
  .hero__solo,
  .nav__inner,
  .topbar__inner {
    width: min(345px, calc(100% - 28px));
    max-width: 345px;
    margin-inline: auto;
  }

  .hero-hub,
  .hero-stage,
  .bento-4,
  .qualify,
  .cred,
  .faq,
  .expert__visual,
  .final .jr-beam--pill,
  .section__cta .jr-beam--pill {
    max-width: 345px;
    width: 100%;
    margin-inline: auto;
  }

  .hero {
    padding: 28px 0 40px;
  }

  .eyebrow--brand {
    font-size: 12px;
  }

  .eyebrow--brand span {
    font-size: 12px;
  }

  .hero__title {
    font-size: 32px;
    margin-bottom: 14px;
  }

  #o-que-leva .section__title {
    font-size: 26px;
  }

  #para-quem .section__title {
    font-size: 26px;
    max-width: 240px;
  }

  #prova .section__title {
    font-size: 26px;
  }

  #faq .section__title {
    font-size: 26px;
  }

  .hero__sub {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .hero__meta {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 24px;
  }

  .hero__meta span {
    font-size: 11px;
    white-space: nowrap;
  }

  .hero__meta span::before {
    width: 5px;
    height: 5px;
    margin-right: 6px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .jr-beam--pill,
  .hero__actions .jr-btn {
    width: 100%;
    display: flex;
  }

  .hero-stage__shot {
    min-height: 300px;
  }

  .hero-stage__panel {
    min-height: 280px;
    padding: 10px 4px;
  }

  .hero-stage__panel .hero-hub {
    aspect-ratio: 1000 / 440;
  }

  .hero-stage__panel .hero-hub__core {
    width: 68px;
  }

  .hero-stage__panel .hero-hub__node-disk {
    width: 34px;
  }

  .hero-stage__panel .hero-hub__node span {
    font-size: 7px;
  }

  .hero-stage__caption strong {
    font-size: 18px;
  }

  .hero-stage__pill {
    font-size: 11px;
    padding: 7px 10px;
  }

  .hero-hub {
    aspect-ratio: 1000 / 440;
    margin-top: 24px;
  }

  .hero-hub__core {
    width: 72px;
  }

  .hero-hub__core-label {
    font-size: 7px;
  }

  .hero-hub__node-disk {
    width: 36px;
  }

  .hero-hub__node span {
    font-size: 7px;
    max-width: 10ch;
  }

  .bento-glass {
    --bento-radius: 22px;
  }

  .bento-glass__body,
  .qualify__body {
    padding: 22px 18px 26px;
  }

  .bento-viz--compact {
    min-height: 96px;
  }

  .bento-glass__copy h3,
  .bento-glass__body h3 {
    font-size: 17px;
  }

  .qualify__card--yes,
  .qualify__card--no {
    opacity: 1;
  }

  .qualify__card--no {
    opacity: 0.88;
  }

  .qualify__list li,
  .qualify__card--no .qualify__list li {
    font-size: 15px;
  }

  .cred__bio p,
  .proof__copy p {
    font-size: 16px;
  }

  .stat {
    padding: 18px 16px;
  }

  .stat__num {
    font-size: 25px;
  }

  .expert__visual {
    width: 100%;
    max-width: 345px;
  }

  .faq details {
    border-radius: 16px;
    padding: 16px 16px;
  }

  .faq summary {
    font-size: 15px;
    gap: 12px;
  }

  .faq details p {
    font-size: 15px;
  }

  .final {
    padding: 72px 0 80px;
  }

  .final h2 {
    max-width: none;
    font-size: 35px;
  }

  .final p {
    max-width: none;
    font-size: 16px;
  }

  .final .jr-beam--pill,
  .final .jr-btn {
    width: 100%;
    display: flex;
  }

  .modal {
    padding: 10px;
  }

  .modal__dialog {
    border-radius: 22px;
  }

  .modal__headline {
    font-size: 26px;
  }

  .modal__form {
    padding: 24px 18px 22px;
  }

  .section__cta .jr-beam--pill,
  .section__cta .jr-btn {
    width: 100%;
    display: flex;
  }
}

@media (max-width: 380px) {
  .hero-hub__core {
    width: 66px;
  }

  .hero-hub__node-disk {
    width: 34px;
  }

  .hero__meta {
    gap: 4px 8px;
  }

  .hero__meta span {
    font-size: 10px;
  }
}
