/* ============================================================
   NorthLab — Landing Page
   Paleta: tinta azul-noite · papel quente · dourado solar
   ============================================================ */

:root {
  --ink: #0a0d14;
  --ink-2: #10141f;
  --ink-3: #181d2b;
  --paper: #f3efe7;
  --paper-2: #eae4d8;
  --gold: #d9a441;
  --gold-soft: #e8bd6d;
  --white: #f6f4ee;
  --muted-dark: #8b90a0;   /* texto secundário sobre escuro */
  --muted-light: #6f6a5c;  /* texto secundário sobre claro */
  --line-dark: rgba(246, 244, 238, 0.12);
  --line-light: rgba(10, 13, 20, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", -apple-system, sans-serif;

  --container: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tema aplicado no body — transições suaves entre seções */
body.theme-dark {
  --bg: var(--ink);
  --fg: var(--white);
  --muted: var(--muted-dark);
  --line: var(--line-dark);
  --surface: var(--ink-2);
  --gold-text: var(--gold-soft); /* dourado legível sobre fundo escuro */
}
body.theme-light {
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--muted-light);
  --line: var(--line-light);
  --surface: #fbf9f4;
  --gold-text: #a3742a; /* dourado escurecido p/ contraste sobre papel */
}

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

html { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  transition: background-color 0.55s var(--ease), color 0.55s var(--ease);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection { background: var(--gold); color: var(--ink); }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;
  padding-block: clamp(96px, 14vh, 180px);
  z-index: 2;
}

/* ============ Loader ============ */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  display: grid; place-items: center;
}
.loader__mark { display: flex; align-items: center; gap: 14px; overflow: hidden; }
.loader__star { width: 28px; height: 28px; color: var(--gold); }
.loader__word {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--ink);
}

/* ============ Grain ============ */
.grain {
  position: fixed; inset: -50%; z-index: 50;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-3%, -2%); }
  80% { transform: translate(4%, 4%); }
}

/* ============ Estrela-guia ============ */
.north {
  position: fixed;
  top: 0; left: 0;
  width: clamp(88px, 11vw, 150px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 0 16px rgba(217, 164, 65, 0.18));
}
.north__star { fill: var(--gold); }
.north__ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.75;
  stroke-dasharray: 3 5;
  opacity: 0.3;
  transform-origin: center;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Cursor ============ */
.cursor, .cursor-dot { display: none; }
@media (pointer: fine) {
  .cursor {
    display: block;
    position: fixed; top: 0; left: 0; z-index: 99;
    width: 36px; height: 36px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
    opacity: 0.6;
  }
  .cursor.is-hover { width: 64px; height: 64px; opacity: 1; }
  .cursor-dot {
    display: block;
    position: fixed; top: 0; left: 0; z-index: 99;
    width: 5px; height: 5px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }
}

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad);
  transition: transform 0.5s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 21px; font-weight: 500;
}
.nav__mark { width: 20px; height: 20px; color: var(--gold); }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ============ Botões ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--gold-soft); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--fg);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 11px 22px; font-size: 13px; border: 1px solid var(--line); }
.btn--sm:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { padding: 20px 40px; font-size: 17px; }
.btn--wide { justify-content: center; width: 100%; }
.btn__arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ============ Tipografia ============ */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  box-shadow: 0 0 12px var(--gold);
}
.eyebrow__num {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 400; letter-spacing: 0;
  color: var(--gold-text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 18ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.h2 em, .hero__title em, .final__title em {
  font-style: italic; font-weight: 400;
  color: var(--gold-text);
}

.lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  max-width: 52ch;
}

/* Máscaras de reveal por palavra (data-split)
   padding + margem negativa dão folga para descendentes (g, ç, y…)
   sem alterar o espaçamento visual das linhas */
.w-mask {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding: 0.1em 0.05em 0.16em;
  margin: -0.1em -0.05em -0.16em;
}
.w-mask > .w { display: inline-block; will-change: transform; }

/* ============ Hero ============ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 110px;
  padding-bottom: 0; /* o marquee em fluxo fecha a seção */
}
.hero__stars {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  width: 100%;
}
.hero__eyebrow { color: var(--muted); }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.9vw, 72px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}
.hero__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__marquee {
  /* no fluxo (não absolute): nunca sobrepõe o conteúdo, mesmo com o hero pinado */
  margin-top: clamp(48px, 8vh, 96px);
  z-index: 2;
}

/* ---- Mockups de devices ---- */
.hero__devices {
  position: relative;
  pointer-events: none;
  user-select: none;
}
.device--laptop { position: relative; width: 100%; }
.device--laptop .device__screen {
  aspect-ratio: 16 / 10;
  border: 9px solid #10141f;
  border-bottom-width: 12px;
  border-radius: 16px 16px 4px 4px;
  background: #fff;
  box-shadow: 0 40px 80px -32px rgba(10, 13, 20, 0.35);
}
.device__base {
  width: 116%;
  margin-left: -8%;
  height: 13px;
  background: linear-gradient(#dfdad0, #b9b3a5);
  border-radius: 3px 3px 14px 14px;
  position: relative;
}
.device__base::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 13%; height: 5px;
  background: #a9a294;
  border-radius: 0 0 8px 8px;
}
.device--phone {
  position: absolute;
  right: -3%;
  bottom: -9%;
  width: 23%;
  z-index: 2;
}
.device--phone .device__screen {
  aspect-ratio: 9 / 19;
  border: 5px solid #10141f;
  border-radius: clamp(16px, 2vw, 26px);
  background: #fff;
  box-shadow: 0 32px 56px -24px rgba(10, 13, 20, 0.45);
  position: relative;
}
.device--phone .device__screen::after {
  content: "";
  position: absolute;
  top: 3%; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 2.6%;
  background: #10141f;
  border-radius: 99px;
  z-index: 3;
}
.device__screen {
  overflow: hidden;
  container-type: size;
}

/* ---- Site demo dentro dos mockups ---- */
.demo {
  --d-ink: #0f1b2d;
  --d-muted: #64748b;
  --d-soft: #e8edf3;
  --d-accent: #0e7490;
  background: #fff;
  color: var(--d-ink);
  font-family: var(--font-body);
  line-height: 1.45;
  will-change: transform;
}
.device--laptop .demo { font-size: 2.3cqw; }
.device--phone .demo { font-size: 6.2cqw; }
.demo i, .demo b, .demo s, .demo u { all: unset; }
.demo__bar {
  display: flex; align-items: center; gap: 0.9em;
  padding: 0.9em 1.4em;
  border-bottom: 1px solid var(--d-soft);
}
.demo__logo { font-weight: 700; font-size: 1.05em; color: var(--d-accent); }
.demo__links { display: flex; gap: 0.7em; margin-left: auto; }
.demo__links i { display: block; width: 2.6em; height: 0.5em; border-radius: 99px; background: var(--d-soft); }
.demo__pill {
  background: var(--d-accent); color: #fff;
  font-size: 0.8em; font-weight: 600;
  padding: 0.5em 1.1em; border-radius: 99px;
}
.device--phone .demo__links { display: none; }
.demo__s {
  min-height: 100cqh;
  padding: 2em 1.5em;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 0.9em;
  border-bottom: 1px solid var(--d-soft);
}
.demo__s:first-of-type { min-height: calc(100cqh - 3.4em); }
.demo h4 {
  font-family: var(--font-display);
  font-size: 2em; font-weight: 500; line-height: 1.12;
  letter-spacing: -0.01em;
}
.demo h5 {
  font-family: var(--font-display);
  font-size: 1.5em; font-weight: 500;
  margin-bottom: 0.3em;
}
.demo p { font-size: 0.95em; color: var(--d-muted); }
.demo__btn {
  align-self: flex-start;
  background: var(--d-accent); color: #fff;
  font-size: 0.85em; font-weight: 600;
  padding: 0.7em 1.5em; border-radius: 99px;
}
.demo__pic {
  height: 7em;
  border-radius: 0.7em;
  background: linear-gradient(135deg, #0e7490, #155e75 55%, #164e63);
}
.demo__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9em; }
.device--phone .demo__cards { grid-template-columns: 1fr; }
.demo__card {
  border: 1px solid var(--d-soft);
  border-radius: 0.7em;
  padding: 1em;
  display: flex; flex-direction: column; gap: 0.55em;
}
.demo__card i { display: block; width: 1.7em; height: 1.7em; border-radius: 0.5em; background: #d5f0f6; }
.demo__card b { font-weight: 600; font-size: 0.9em; line-height: 1.25; }
.demo__card u { display: block; height: 0.45em; border-radius: 99px; background: var(--d-soft); }
.demo__card u:last-child { width: 70%; }
.demo__row { display: flex; align-items: center; gap: 0.8em; font-size: 0.95em; }
.demo__row s {
  display: grid; place-items: center;
  width: 1.4em; height: 1.4em; flex-shrink: 0;
  border-radius: 50%;
  background: #d5f0f6; color: var(--d-accent);
  font-size: 0.9em; font-weight: 700;
}
.demo__row s::before { content: "✓"; }
.demo__field {
  border: 1px solid var(--d-soft);
  border-radius: 0.6em;
  padding: 0.8em 1em;
  font-size: 0.9em;
  color: var(--d-muted);
  background: #f8fafc;
}
.demo__contact { justify-content: center; }
.demo__foot { height: 0.6em; margin-top: 1.4em; border-radius: 99px; background: var(--d-soft); width: 55%; }

/* ============ Problema ============ */
.problema__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-block: clamp(40px, 6vw, 72px);
}
.pain {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface);
  transition: border-color 0.55s var(--ease), transform 0.4s var(--ease), background-color 0.55s var(--ease);
}
.pain:hover { border-color: rgba(217, 164, 65, 0.45); transform: translateY(-4px); }
.pain__x { display: block; width: 34px; height: 34px; margin-bottom: 22px; }
.pain__x svg { width: 100%; height: 100%; }
.pain__stroke {
  stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; fill: none;
}
.pain p { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; font-weight: 500; }
.problema__bridge {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(21px, 2.8vw, 32px);
  line-height: 1.35;
  color: var(--gold-text);
  max-width: 30ch;
}
@media (max-width: 860px) {
  .problema__grid { grid-template-columns: 1fr; }
}

/* ============ Solução ============ */
.solucao__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(40px, 6vw, 64px);
  align-items: start;
}
.checklist { list-style: none; }
.checklist li {
  display: flex; gap: 18px; align-items: flex-start;
  padding-block: clamp(20px, 2.5vw, 28px);
  border-bottom: 1px solid var(--line);
}
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist strong {
  display: block;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 600;
  margin-bottom: 2px;
}
.checklist span:not(.check) {
  font-size: 15px; color: var(--muted);
}
.check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold);
  display: grid; place-items: center;
  margin-top: 3px;
}
.check svg { width: 15px; height: 15px; }
.check__path {
  stroke: var(--ink); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round; fill: none;
}

.price {
  position: sticky; top: 110px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--surface);
  box-shadow: 0 24px 64px -32px rgba(10, 13, 20, 0.25);
}
.price__label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.price__block { margin-bottom: 22px; }
.price__title {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--muted);
  margin-bottom: 4px;
}
.price__oldvalue {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 400;
  color: var(--muted);
}
.price__strike {
  position: absolute;
  left: -3%; right: -3%;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background: #e05545;
  transform: scaleX(0);
  transform-origin: left center;
}
.price__value {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price__note {
  font-size: 14px; color: var(--muted);
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .solucao__grid { grid-template-columns: 1fr; }
  .price { position: static; }
}

/* ============ Marquee ============ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  position: relative; z-index: 2;
}
.marquee__track {
  display: flex; align-items: center; gap: 40px;
  width: max-content;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 21px);
  font-style: italic;
  white-space: nowrap;
  color: var(--muted);
}
.marquee__track i { color: var(--gold); font-style: normal; font-size: 14px; }

/* ============ Diferenciais ============ */
.difs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0px, 2vw, 0px);
  border-top: 1px solid var(--line);
}
.dif {
  padding: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 36px);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background-color 0.4s;
}
.dif:first-child { padding-left: 0; }
.dif:last-child { border-right: 0; }
.dif:hover { background: rgba(217, 164, 65, 0.05); }
.dif__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  display: block;
  margin-bottom: clamp(24px, 4vw, 56px);
}
.dif h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  margin-bottom: 14px;
}
.dif p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 860px) {
  .difs__grid { grid-template-columns: 1fr; }
  .dif { border-right: 0; padding-inline: 0; }
}

/* ============ Para quem ============ */
.quem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 36px);
  background: var(--surface);
  box-shadow: 0 20px 48px -32px rgba(10, 13, 20, 0.18);
  transition: border-color 0.55s var(--ease), background-color 0.55s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover { border-color: rgba(217, 164, 65, 0.5); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin-bottom: 28px;
  background: rgba(217, 164, 65, 0.07);
}
.card__icon svg {
  width: 26px; height: 26px;
  stroke: var(--gold); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.card h3 {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 500;
  margin-bottom: 12px;
}
.card p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 860px) {
  .quem__grid { grid-template-columns: 1fr; }
}

/* ============ Processo ============ */
.steps {
  position: relative;
  margin-top: clamp(24px, 4vw, 48px);
  padding-left: clamp(44px, 6vw, 72px);
  display: grid;
  gap: clamp(48px, 7vw, 88px);
}
.steps__line {
  position: absolute;
  left: 17px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.steps__progress {
  width: 100%; height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  box-shadow: 0 0 16px rgba(217, 164, 65, 0.5);
}
.step { display: flex; gap: clamp(20px, 3vw, 40px); align-items: flex-start; position: relative; }
.step__num {
  position: absolute;
  left: calc(-1 * clamp(44px, 6vw, 72px));
  top: 0;
  width: 36px; height: 36px;
  margin-left: -1px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--bg);
  color: var(--gold-text);
  font-family: var(--font-display);
  font-size: 16px;
  display: grid; place-items: center;
  transition: background-color 0.55s var(--ease), color 0.55s var(--ease);
}
.step h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  margin-bottom: 10px;
}
.step p { color: var(--muted); max-width: 56ch; font-size: clamp(15px, 1.6vw, 17px); }

/* ============ Prova social ============ */
.prova__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: clamp(24px, 4vw, 40px);
}
.quote {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 3.5vw, 48px);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 24px;
}
.quote__mark { width: 30px; color: var(--gold); opacity: 0.85; }
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  flex: 1;
}
.quote figcaption strong { display: block; font-size: 15px; font-weight: 600; }
.quote figcaption span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 780px) {
  .prova__grid { grid-template-columns: 1fr; }
}

/* ============ FAQ ============ */
.faq__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__head { position: sticky; top: 120px; }
.faq__head .h2 { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  text-align: left;
  padding-block: clamp(22px, 2.5vw, 30px);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  transition: color 0.3s;
}
.qa__q:hover { color: var(--gold); }
.qa__icon {
  position: relative;
  flex-shrink: 0;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: currentColor;
}
.qa__icon::before { width: 12px; height: 1.5px; }
.qa__icon::after { width: 1.5px; height: 12px; transition: transform 0.5s var(--ease); }
.qa.is-open .qa__icon { transform: rotate(180deg); border-color: var(--gold); color: var(--gold); }
.qa.is-open .qa__icon::after { transform: scaleY(0); }
.qa__a { height: 0; overflow: hidden; }
.qa__a p {
  padding-bottom: clamp(22px, 2.5vw, 30px);
  color: var(--muted);
  max-width: 58ch;
  font-size: 15.5px;
}
@media (max-width: 900px) {
  .faq__inner { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

/* ============ CTA final ============ */
.final { min-height: 90svh; display: flex; align-items: center; }
.final__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.5vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.final__lead { margin-bottom: clamp(36px, 5vw, 56px); }
.final__ctas { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final__note {
  margin-top: clamp(40px, 6vw, 64px);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}

/* ============ Footer ============ */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 80px);
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer__brand p { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { font-size: 14px; color: var(--muted); transition: color 0.3s; }
.footer__links a:hover { color: var(--gold-text); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-block: 24px;
  font-size: 12.5px;
  color: var(--muted);
}
.footer__north { font-family: var(--font-display); font-style: italic; }

/* Sincroniza a troca de tema: mesma duração/curva do body em tudo
   que deriva das variáveis de tema (superfícies, bordas, textos) */
.price, .quote, .checklist li, .qa, .qa__q, .dif, .difs__grid,
.marquee, .footer, .footer__bottom, .eyebrow, .eyebrow__num,
.problema__bridge, .lead, .steps__line, .faq__list {
  transition: background-color 0.55s var(--ease), border-color 0.55s var(--ease), color 0.55s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .grain, .north__ring { animation: none; }
  * { scroll-behavior: auto; }
}

/* Desktop com janela baixa: compacta o hero para caber tudo durante o pin */
@media (min-width: 861px) and (max-height: 719px) {
  .hero { padding-top: 80px; }
  .hero__title { font-size: clamp(32px, 3.9vw, 52px); }
  .hero__sub { margin-bottom: 28px; }
  .hero__marquee { margin-top: 32px; }
}

@media (max-width: 860px) {
  /* Mobile: site demo com 3 telas (oculta a de beneficios) para encurtar o scroll */
  .demo__s:nth-of-type(3) { display: none; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__devices { width: 92%; margin-inline: auto; margin-bottom: 12%; }
  .device--phone { width: 26%; right: -2%; }
}

@media (max-width: 720px) {
  .north { width: 72px; }
  .hero { padding-top: 100px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}
