/* ==========================================================================
   Clínica Belaris · MS Triad® — LP Cinematográfica
   Mobile-first. Breakpoints: 480 / 768 / 1024.
   Paleta aprovada: dourado (assinatura), marrom, bege claro, off-white. Sem rose.
   ========================================================================== */

:root {
  --gold: #C9A24A;
  --gold-light: #E3C778;
  --gold-text: #7F6222;       /* dourado escurecido: único tom de dourado que passa AA em texto pequeno sobre fundo claro */
  --brown: #4A3628;
  --brown-deep: #2E211A;
  --beige: #E9DED0;
  --beige-light: #F4EDE3;
  --offwhite: #FAF6F0;
  --white: #FFFFFF;
  --ink: #2E211A;
  --ink-soft: #6B5B4E;
  --line: rgba(74, 54, 40, 0.14);

  --font-display: "Jost", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --gutter: 20px;
  --radius: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Sem scroll-behavior: smooth — o Lenis (js/main.js) controla a suavização; os dois juntos brigam pelo scroll. */
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--offwhite);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, fieldset { margin: 0; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
button { font: inherit; }
sup { font-size: 0.5em; vertical-align: super; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  background: var(--brown-deep);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 8px; }

/* ---- Container / tipografia base ---- */
.section__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 5.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin-bottom: 16px;
  color: var(--ink);
}
.section__lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 24px;
}

/* Seções escuras: inverte a paleta de texto */
.section--dark { background: var(--brown-deep); color: var(--offwhite); }
.section--dark .section__title { color: var(--offwhite); }
.section--dark .section__lead { color: rgba(250, 246, 240, 0.78); }
.section--dark .eyebrow { color: var(--gold); }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  text-align: center;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.btn--gold {
  background: var(--gold);
  color: var(--brown-deep);
  box-shadow: 0 10px 28px -10px rgba(201, 162, 74, 0.7);
}
.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.btn--gold:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: 0.85;
}
.btn--ghost:hover,
.btn--ghost:focus-visible { opacity: 1; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--brown-deep);
  color: var(--offwhite);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s var(--ease-out);
}
.preloader__mark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.preloader__mark span { color: var(--gold); }
.preloader__bar {
  width: 160px;
  height: 2px;
  background: rgba(250, 246, 240, 0.15);
  border-radius: 999px;
  overflow: hidden;
}
.preloader__bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.no-js .preloader { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */
/* Cabeçalho só no desktop (≥1024px). No mobile a página abre direto na foto. */
.site-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 12px 0;
  background: rgba(250, 246, 240, 0.92);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(46, 33, 26, 0.35);
  padding: 8px 0;
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand__sub {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gold-text);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.site-nav {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(84vw, 340px);
  background: var(--brown-deep);
  color: var(--offwhite);
  padding: 96px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  box-shadow: -12px 0 40px rgba(0,0,0,0.35);
}
.site-nav.is-open { transform: translateX(0); }
.site-nav__list { display: flex; flex-direction: column; gap: 20px; }
.site-nav__list a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.site-nav__list a:hover,
.site-nav__list a:focus-visible { color: var(--gold); }
.site-nav__cta { align-self: flex-start; }

/* ==========================================================================
   Seções — base
   ========================================================================== */
/* scroll-margin-top: âncoras (#avaliacao etc.) param abaixo do header fixo, não atrás dele. */
.section { position: relative; padding: 80px 0; scroll-margin-top: 72px; }

/* ==========================================================================
   Hero
   Mobile: retrato como fundo, scrim vertical (topo limpo mostra o rosto,
   base escura recebe o texto), conteúdo ancorado na base (armadilha #9).
   Desktop: grade em duas colunas, texto escuro sobre off-white, retrato à direita.
   ========================================================================== */
/* Mobile: foto em bloco no topo (fluxo normal, nunca atrás do texto, em
   qualquer altura de tela) e texto embaixo sobre o fundo escuro. O texto sobe
   só até a faixa de fusão (peito/vestido), nunca até o rosto (armadilha #9). */
.hero {
  display: flex;
  flex-direction: column;
  padding: 0 0 72px;
  color: var(--offwhite);
  background: var(--brown-deep);
  overflow: hidden;
}
.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 6;
  max-height: 52svh;
  z-index: 0;
  /* O zoom-out de entrada (scale 1.08 → 1) não pode vazar por baixo do gradiente:
     sem isso aparecia uma faixa da foto "apagando" sob a headline no carregamento. */
  overflow: hidden;
  background: var(--brown-deep);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
/* A fusão fecha em marrom sólido ANTES da borda da caixa (90%) e o véu passa 4px
   além dela: a emenda foto → fundo não depende de arredondamento de subpixel. */
.hero__scrim {
  position: absolute;
  top: 0; left: -1px; right: -1px; bottom: -4px;
  background:
    linear-gradient(180deg, rgba(46,33,26,0.45) 0%, rgba(46,33,26,0) 22%),
    linear-gradient(180deg, rgba(46,33,26,0) 48%, rgba(46,33,26,0.82) 78%, var(--brown-deep) 90%, var(--brown-deep) 100%);
}
/* Sem cabeçalho no mobile: marca discreta sobre o topo da foto. */
.hero__brand {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  left: var(--gutter);
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--offwhite);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: -64px auto 0;
  padding: 0 var(--gutter);
}
/* Segunda camada de fusão, desenhada pelo bloco de texto (fora do recorte da foto):
   cobre 120px acima e 70px abaixo da borda da foto e já é marrom sólido 25px antes
   dela. No WebKit, duas bordas fracionárias coincidentes (foto + véu) deixavam uma
   fileira de 1px clara atravessando a headline; aqui nenhuma borda coincide. */
.hero__content::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -56px;
  height: 190px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(46,33,26,0) 0%, rgba(46,33,26,0.7) 30%, var(--brown-deep) 50%, var(--brown-deep) 100%);
}
.hero .eyebrow { color: var(--gold); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.3rem, 9.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  color: var(--offwhite);
}
/* Folga para descendentes (g, ç) não serem cortados pelo recorte do reveal. */
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.reveal-line__inner { display: block; }
.reveal-line:nth-child(2) .reveal-line__inner { color: var(--gold-light); }
.hero__subtitle {
  font-size: clamp(0.98rem, 2.5vw, 1.2rem);
  line-height: 1.55;
  max-width: 46ch;
  margin-bottom: 24px;
  color: rgba(250, 246, 240, 0.9);
}
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero__hint { font-size: 0.85rem; color: rgba(250, 246, 240, 0.72); }

.scroll-cue {
  display: none; /* no mobile o CTA fixo já sinaliza continuidade; volta no desktop */
  position: relative;
  z-index: 1;
  align-self: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
}
.scroll-cue__line { width: 1px; height: 32px; background: linear-gradient(180deg, var(--gold), transparent); }
.scroll-cue__text { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* ==========================================================================
   Figuras (retratos verticais)
   ========================================================================== */
.crenca__figure img,
.resultados__figure img,
.comeca__figure img,
.duvidas__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.crenca__figure,
.comeca__figure,
.duvidas__figure,
.resultados__figure {
  box-shadow: 0 32px 64px -32px rgba(46, 33, 26, 0.45);
  border-radius: var(--radius);
}

/* ==========================================================================
   Sinais
   ========================================================================== */
.sinais { background: var(--beige-light); }
.sinais__copy { max-width: 640px; margin-top: 40px; }

/* Carrossel de fotos (scroll-snap nativo; setas e pontos em js/main.js) */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 82%;
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--beige);
  box-shadow: 0 24px 48px -32px rgba(46, 33, 26, 0.45);
}
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.carousel__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--brown);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.carousel__btn:hover, .carousel__btn:focus-visible { border-color: var(--gold); background: var(--beige-light); }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(74, 54, 40, 0.25); transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out); }
.carousel__dot.is-active { background: var(--gold); transform: scale(1.25); }
.no-js .carousel__nav { display: none; }
.quotes { display: grid; gap: 12px; margin: 8px 0 24px; }
.quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  line-height: 1.3;
  color: var(--brown);
  padding: 20px 24px;
  background: var(--white);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.sinais__text { color: var(--ink-soft); max-width: 48ch; }

/* ==========================================================================
   Quebra de crença (escura)
   ========================================================================== */
.crenca { background: var(--brown-deep); color: var(--offwhite); }
.crenca .eyebrow { color: var(--gold); }
.crenca .section__title { color: var(--offwhite); }
.crenca__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.crenca__figure { order: 2; }
.crenca__copy { order: 1; }
.crenca__text { color: rgba(250, 246, 240, 0.82); max-width: 52ch; margin-bottom: 16px; }
.crenca__reframe {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 3.4vw, 1.6rem);
  line-height: 1.3;
  color: var(--gold-light);
  max-width: 30ch;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 162, 74, 0.35);
}

/* ==========================================================================
   Método (mecanismo central)
   Mobile: visual acima, passos empilhados. Desktop: visual sticky à esquerda,
   passos altos à direita; cada passo acende sua camada no SVG (js/main.js).
   ========================================================================== */
.metodo { background: var(--offwhite); }
.metodo__head { margin-bottom: 40px; }
.metodo__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.metodo__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 64px -32px rgba(46, 33, 26, 0.45);
  background: var(--beige);
}
.metodo__frame img {
  width: 100%;
  height: auto;
  transform-origin: 50% 30%; /* o zoom do scroll fecha no rosto, não no centro da foto */
  will-change: transform;
}

.metodo__steps { display: grid; gap: 24px; }
.metodo__step {
  position: relative;
  padding: 24px 24px 24px 72px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.metodo__step.is-active {
  border-color: rgba(201, 162, 74, 0.6);
  box-shadow: 0 24px 48px -32px rgba(201, 162, 74, 0.6);
}
.metodo__num {
  position: absolute;
  left: 24px;
  top: 26px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--gold-text);
}
.metodo__step-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}
.metodo__step-text { color: var(--ink-soft); }
.metodo__closing {
  margin-top: 40px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  color: var(--brown);
  max-width: 36ch;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Resultados (prova social)
   ========================================================================== */
.resultados { background: var(--beige-light); }
.resultados__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.resultados__figure { overflow: hidden; background: var(--white); }
.resultados__figure img { border-radius: var(--radius) var(--radius) 0 0; }
.resultados__caption {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.depoimento { margin: 8px 0 20px; padding-left: 20px; border-left: 2px solid var(--gold); }
.depoimento__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.1;
  color: var(--brown);
}
.depoimento__author { font-size: 0.9rem; color: var(--gold-text); margin-top: 8px; letter-spacing: 0.04em; }
.resultados__text { color: var(--ink-soft); max-width: 48ch; margin-bottom: 16px; }
.resultados__note { font-size: 0.85rem; color: var(--ink-soft); opacity: 0.85; max-width: 48ch; }

/* ==========================================================================
   Como começa (processo / oferta)
   ========================================================================== */
.comeca { background: var(--offwhite); }
.comeca__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.passos { display: grid; gap: 20px; margin: 8px 0 32px; }
.passo { display: flex; gap: 16px; align-items: flex-start; }
.passo__num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-text);
  font-family: var(--font-display);
  font-weight: 400;
  display: flex; align-items: center; justify-content: center;
}
.passo__title { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin-bottom: 4px; }
.passo__text { color: var(--ink-soft); font-size: 0.95rem; max-width: 44ch; }
.oferta-card {
  background: var(--brown-deep);
  color: var(--offwhite);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.oferta-card__label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-family: var(--font-display); }
.oferta-card__title { font-family: var(--font-display); font-weight: 300; font-size: 1.7rem; line-height: 1.15; }
.oferta-card__text { color: rgba(250, 246, 240, 0.8); margin-bottom: 12px; }

/* ==========================================================================
   Formulário de qualificação (escuro, cartão claro)
   ========================================================================== */
.avaliacao { background: var(--brown-deep); color: var(--offwhite); }
.avaliacao .eyebrow { color: var(--gold); }
.avaliacao .section__title { color: var(--offwhite); }
.avaliacao .section__lead { color: rgba(250, 246, 240, 0.78); }
.avaliacao__inner { display: grid; gap: 32px; }
.qform {
  background: var(--offwhite);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 24px 20px 28px;
  max-width: 640px;
  width: 100%;
  position: relative;
}
.qform__progress { height: 3px; background: var(--beige); border-radius: 999px; overflow: hidden; }
.qform__progress-fill { display: block; height: 100%; background: var(--gold); transition: width 0.4s var(--ease-out); }
.qform__counter { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); margin: 12px 0 20px; font-family: var(--font-display); }
.qform__step { display: none; }
.qform__step.is-active { display: block; }
/* Sem JS: todas as etapas visíveis, controles de navegação escondidos, submit nativo. */
.no-js .qform__step { display: block; margin-bottom: 32px; }
.no-js .qform__next, .no-js .qform__back, .no-js .qform__progress, .no-js .qform__counter { display: none; }

.qform__question {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 3.6vw, 1.5rem);
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--ink);
}
.qform__options { display: grid; gap: 10px; margin-bottom: 8px; }
.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  min-height: 52px;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.opt:hover { border-color: rgba(201, 162, 74, 0.6); }
.opt input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-text);
  flex-shrink: 0;
  margin: 0;
  display: grid;
  place-content: center;
}
.opt input::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.15s var(--ease-out);
}
.opt input:checked::before { transform: scale(1); }
.opt:has(input:checked) { border-color: var(--gold); background: var(--beige-light); }
.opt span { font-size: 0.98rem; color: var(--ink); }

.qform__fields { display: grid; gap: 14px; margin-bottom: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 0.85rem; color: var(--ink-soft); }
.field__label em { font-style: normal; opacity: 0.7; }
.field input {
  font: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  min-height: 52px;
}
.field input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.25); }
.field input.is-invalid { border-color: #B3412F; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.qform__error { min-height: 1.4em; font-size: 0.9rem; color: #B3412F; margin: 8px 0 12px; }
.qform__nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.qform__nav .btn--gold { margin-left: auto; }
.qform__consent { font-size: 0.8rem; color: var(--ink-soft); margin-top: 16px; }
.qform__status { padding: 8px 0 0; }
.qform__status-title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 8px; }
.qform__status p { margin-bottom: 8px; }
.qform__status a { color: var(--gold-text); text-decoration: underline; }
.qform__status .btn { margin-top: 12px; }
.qform.is-sending .qform__submit { opacity: 0.6; pointer-events: none; }

/* ==========================================================================
   Dúvidas (FAQ)
   ========================================================================== */
.duvidas { background: var(--offwhite); }
.duvidas__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.duvidas__figure { order: 2; }
.faq { display: grid; gap: 8px; margin: 8px 0 28px; }
.faq__item { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 16px 48px 16px 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  position: relative;
  color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold-text);
  transition: transform 0.2s var(--ease-out);
}
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { padding: 0 20px 18px; color: var(--ink-soft); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--brown-deep); color: rgba(250, 246, 240, 0.75); padding: 48px 0 112px; }
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
}
.site-footer__brand { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--offwhite); }
.site-footer__brand span { color: var(--gold); text-transform: none; letter-spacing: 0.04em; }
.site-footer__address, .site-footer__social { font-size: 0.9rem; }
.site-footer__social { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.site-footer__social a:hover, .site-footer__social a:focus-visible { color: var(--gold); }
.site-footer__legal { font-size: 0.78rem; max-width: 60ch; opacity: 0.7; margin-top: 8px; }
.site-footer__copy { font-size: 0.78rem; opacity: 0.55; }

/* ==========================================================================
   CTA fixo (mobile)
   ========================================================================== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(46,33,26,0) 0%, rgba(46,33,26,0.9) 40%);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.sticky-cta.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
/* Sem JS não há como saber onde o usuário está: fica escondido, o hero e o formulário já têm CTA. */
.no-js .sticky-cta { display: none; }

/* ==========================================================================
   Estado de reveal: por padrão tudo visível; o main.js aplica o estado oculto via gsap.set().
   ========================================================================== */
.js-motion .reveal-item,
.js-motion .reveal-line__inner { visibility: visible; }

/* ==========================================================================
   Media queries
   ========================================================================== */
@media (min-width: 480px) {
  .hero__actions { flex-direction: row; align-items: center; gap: 20px; }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding: 112px 0; }

  .nav-toggle { display: none; }
  .site-nav {
    position: static; height: auto; width: auto;
    background: transparent; color: inherit;
    padding: 0; flex-direction: row; align-items: center; gap: 28px;
    transform: none; box-shadow: none;
  }
  .site-nav__list { flex-direction: row; gap: 24px; }
  .site-nav__list a { font-size: 0.92rem; color: var(--ink); }
  .site-nav__cta { padding: 10px 20px; min-height: 44px; }

  .crenca__grid, .resultados__grid, .comeca__grid, .duvidas__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
  .carousel__slide { flex-basis: calc((100% - 40px) / 3); scroll-snap-align: start; }
  .carousel__track { gap: 20px; }
  .sinais__copy { margin-top: 56px; }
  .crenca__figure { order: 1; }
  .crenca__copy { order: 2; }
  .duvidas__figure { order: 2; position: sticky; top: 96px; }

  .metodo__grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
  .metodo__visual { position: sticky; top: 96px; }
  .metodo__steps { gap: 24px; padding-top: 8px; }

  .qform { padding: 32px 32px 36px; }
  .avaliacao__inner { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
}

@media (min-width: 1024px) {
  .section { padding: 128px 0; }

  /* Hero em duas colunas: texto escuro à esquerda, retrato à direita */
  .site-header { display: block; }
  .hero {
    min-height: 100svh;
    background: radial-gradient(120% 80% at 80% 20%, var(--beige) 0%, var(--offwhite) 55%);
    color: var(--ink);
    justify-content: center;
    padding: 140px 0 96px;
  }
  .scroll-cue { display: flex; }
  .hero__brand { display: none; }
  .hero__media {
    position: relative;
    height: auto;
    max-height: none;
    order: 2;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 40px 80px -40px rgba(46, 33, 26, 0.55);
    justify-self: end;
  }
  .hero__media img { object-position: 50% 20%; }
  .hero__scrim { display: none; }
  .hero__content {
    order: 1;
    margin: 0;
    padding: 0;
  }
  .hero__content::before { display: none; }
  .hero .eyebrow { color: var(--gold-text); }
  .hero__title { color: var(--ink); font-size: clamp(3.2rem, 5.2vw, 4.8rem); }
  .reveal-line:nth-child(2) .reveal-line__inner { color: var(--gold-text); }
  .hero__subtitle { color: var(--ink-soft); }
  .hero__hint { color: var(--ink-soft); }
  .hero > .hero__content,
  .hero > .hero__media { grid-row: 1; }
  /* Elemento em largura total (o fundo vai até a borda da tela); a grade é
     centralizada pelo padding lateral calculado, não por max-width. */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    column-gap: 64px;
    padding-left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
    padding-right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  }
  .hero .scroll-cue { grid-column: 1 / -1; justify-self: center; margin-top: 56px; }

  .metodo__step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; }
  .section__title { font-size: clamp(2.2rem, 3.2vw, 3rem); }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 56px; }
}

/* ==========================================================================
   prefers-reduced-motion: conteúdo estático, completo e utilizável
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none !important; }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
