/* =========================================================================
   MÉTODO NATURAL — Dr. Vinícius Resende
   Landing page de captação · pt-BR
   Paleta: neutros quentes (Marfim · Creme · Areia · Taupe · Cinza · Grafite · Ébano)
   Tipografia: General Sans (Fontshare)
   ========================================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Cartela da marca */
  --marfim:  #EBEBE2;
  --creme:   #E4DED2;
  --areia:   #C9C1B2;
  --taupe:   #ADA598;
  --cinza:   #847E76;
  --grafite: #5E5850;
  --ebano:   #322D28;
  --destaque: #F2C14E;   /* faixa do topo — único acento de cor da página */

  /* Papéis */
  --bg:            var(--marfim);
  --bg-elev:       var(--creme);
  --surface:       #F3F2EC;
  --surface-hover: #DDD6C8;
  --border:        rgba(50, 45, 40, .13);
  --border-strong: rgba(50, 45, 40, .30);

  --text:       var(--ebano);
  --text-muted: var(--grafite);
  --text-dim:   #68625A;   /* Cinza Quente escurecido p/ passar AA em texto pequeno */

  --accent:     var(--ebano);
  --accent-ink: var(--marfim);
  --accent-hover: #211D19;

  /* Tipografia */
  --font: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "Helvetica Neue", Arial, sans-serif;

  --fs-hero:  clamp(2.3rem, 4.4vw, 3.9rem);
  --fs-h2:    clamp(1.9rem, 4.2vw, 3.35rem);
  --fs-h3:    clamp(1.15rem, 1.7vw, 1.4rem);
  --fs-body:  1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;

  --lh-tight: 1.06;
  --lh-body:  1.6;
  --ls-tight: -.032em;
  --ls-label: .16em;

  /* Espaço */
  --space-section: clamp(4.5rem, 9vw, 8rem);
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Forma */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-pill: 999px;

  /* Superfícies que se invertem em .section--dark */
  --glow:        rgba(201, 193, 178, .5);
  --ghost-hover: rgba(50, 45, 40, .06);
  --slot-line:   var(--taupe);
  --slot-fill-a: rgba(201, 193, 178, .18);
  --slot-fill-b: rgba(173, 165, 152, .16);

  --banner-h: 48px;

  --shadow: 0 24px 60px rgba(50, 45, 40, .16);
  --shadow-sm: 0 2px 14px rgba(50, 45, 40, .07);
  --ease: cubic-bezier(.22, 1, .36, 1);

}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

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

::selection { background: var(--ebano); color: var(--marfim); }

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--bg-elev); }

/* Seção em Ébano: inverte os papéis dos tokens só dentro do bloco */
.section--dark,
.footer--dark {
  background: var(--ebano);
  color: var(--marfim);

  --bg:            var(--ebano);
  --bg-elev:       #3C3630;
  --surface:       #3C3630;
  --surface-hover: #47403A;
  --border:        rgba(235, 235, 226, .14);
  --border-strong: rgba(235, 235, 226, .32);

  --text:       var(--marfim);
  --text-muted: #C9C3B9;
  --text-dim:   #A79F94;
  --taupe:      #6E675E;

  --accent:       var(--marfim);
  --accent-ink:   var(--ebano);
  --accent-hover: #D9D9CF;

  --glow:        rgba(235, 235, 226, .07);
  --ghost-hover: rgba(235, 235, 226, .08);
  --slot-line:   #6E675E;
  --slot-fill-a: rgba(235, 235, 226, .035);
  --slot-fill-b: rgba(235, 235, 226, .035);

  --shadow-sm: 0 2px 14px rgba(0, 0, 0, .28);
}
.section--dark ::selection,
.footer--dark ::selection { background: var(--marfim); color: var(--ebano); }
.section--dark :focus-visible,
.footer--dark :focus-visible { outline-color: var(--marfim); }

section[id] { scroll-margin-top: 24px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .75rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- FAIXA FIXA DO TOPO ---------- */
body { padding-top: var(--banner-h); }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110;
  min-height: var(--banner-h);
  display: grid;
  place-items: center;
  padding: .5rem var(--gutter);
  background: var(--destaque);
  color: var(--ebano);
}
.topbar p {
  font-size: .9375rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  text-wrap: balance;
}

/* ---------- 4. TIPOGRAFIA ---------- */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  text-wrap: balance;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.02em; }

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 56ch;
  text-wrap: pretty;
}
.lead strong { color: var(--text); font-weight: 600; }
.lead em { font-style: italic; color: var(--text); }

.stack > * + * { margin-top: 1.25rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- 5. BOTÕES ---------- */
.btn {
  --btn-py: 1.0625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: var(--btn-py) 1.5rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: .01em;
  cursor: pointer;
  text-align: center;
  transition: transform .35s var(--ease), background-color .25s, border-color .25s, color .25s;
  line-height: 1.15;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: #008A43;
  color: #FFFFFF;
  border-color: #006F36;
  box-shadow:
    0 0 0 1px rgba(0, 111, 54, .2),
    0 7px 20px rgba(0, 111, 54, .28),
    0 0 22px rgba(74, 222, 128, .5);
}
.btn--primary:hover {
  background: #00773A;
  color: #FFFFFF;
  border-color: #005F2E;
  box-shadow:
    0 0 0 1px rgba(0, 95, 46, .24),
    0 9px 24px rgba(0, 95, 46, .34),
    0 0 24px rgba(74, 222, 128, .58);
}

.btn--ghost {
  background: transparent;
  color: #1F6B45;
  border-color: #1F6B45;
}
.btn--ghost:hover { background: rgba(31, 107, 69, .08); border-color: #195A3A; color: #195A3A; }

.btn--block { width: 100%; }
/* uma linha só — a partir de 641px, onde a largura comporta */
@media (min-width: 641px) {
  .btn--nowrap > span:not(.btn-arrow) { white-space: nowrap; }
}
.btn--sm { --btn-py: .75rem; padding-inline: 1.25rem; font-size: .875rem; }

.btn-arrow { font-size: 1.05em; line-height: 1; transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translate(2px, -2px); }
.btn--ghost:hover .btn-arrow { transform: translateY(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: border-color .25s, gap .25s var(--ease);
}
.link-arrow:hover { border-color: var(--ebano); gap: .65rem; }

.cta-note {
  font-size: var(--fs-small);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.cta-note::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--taupe);
  flex: none;
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  max-height: none;

  /* Base = celular/tablet. A arte tem o assunto no topo e preto liso embaixo,
     então o padding empurra logo e texto para baixo dele. O background-color
     é o mesmo preto do rodapé da foto, o que torna a emenda invisível.
     A largura da imagem trava em 520px para não crescer sem controle. */
  background-color: #0E0E0E;
  background-image: url("metodo-natural-hero-mobile-geral.webp?v=1");
  background-size: min(100%, 520px) auto;
  background-position: top center;
  background-repeat: no-repeat;
  /* Arte mobile (700x1917): rosto no topo e preto liso embaixo. O logo fica
     no topo, sobre a área escura à esquerda, e o texto começa logo abaixo
     do rosto (ver .hero__body no bloco mobile abaixo). */
  padding-top: 1.5rem;
  padding-bottom: clamp(3rem, 6vw, 5.5rem);

  /* tokens invertidos sobre o fundo escuro */
  --text:          var(--marfim);
  --text-muted:    #C9C3B9;
  --text-dim:      #A79F94;
  --border:        rgba(235, 235, 226, .16);
  --border-strong: rgba(235, 235, 226, .32);
  --accent:        var(--marfim);
  --accent-ink:    var(--ebano);
  --accent-hover:  #D9D9CF;
  --taupe:         #6E675E;
  color: var(--marfim);
}
.hero::before { display: none; }          /* o brilho claro não serve no escuro */
.hero .container { position: relative; z-index: 1; }
.hero__brand img { filter: invert(1); }   /* logo preto vira branco */
           /* a foto de fundo substitui o slot */
.hero::before {
  content: "";
  position: absolute;
  top: -35%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 130%);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201, 193, 178, .45) 0%, transparent 62%);
  pointer-events: none;
}
.hero__brand {
  position: relative;
  display: inline-flex;
  margin-bottom: clamp(1.5rem, 7vw, 5.5rem);
}
.hero__brand img { height: 33px; width: auto; }

.hero h1 { margin-block: 1.5rem 1.5rem; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.25rem;
}

.hero__data {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text);
}

/* A data já vem no selo da arte mobile; a linha de texto cobriria o rosto. */
@media (max-width: 1024px) {
  .hero__data { display: none; }
  /* Empurra o texto para baixo do rosto da arte (rosto ocupa ~1,05x a largura). */
  .hero__body { margin-top: calc(min(100vw, 520px) * 0.92); }
}

/* Hero com foto de fundo — só no desktop.
   Abaixo de 1025px a imagem não entra e o hero segue claro, com o slot lateral. */
@media (min-width: 1025px) {
  .hero {
    min-height: 0;
    padding-top: clamp(2.25rem, 4vw, 3rem);
    background-color: #141210;
    background-image: image-set(
      url("metodo-natural-hero-desktop.webp?v=1") 1x,
      url("metodo-natural-hero-desktop@2x.webp?v=1") 2x);
    background-image: -webkit-image-set(
      url("metodo-natural-hero-desktop.webp?v=1") 1x,
      url("metodo-natural-hero-desktop@2x.webp?v=1") 2x);
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-block: clamp(2.5rem, 3.5vw, 3.5rem) clamp(2.5rem, 4vw, 4rem);
  }
  .hero .container { max-width: 1340px; }
  
  /* O cartão "Dr. Vinícius Resende" está desenhado na arte, a ~55% da largura.
     O texto para antes dele em qualquer largura de tela. */
  .hero__body { max-width: clamp(26rem, 36vw, 46rem); }
}

/* ---------- DOBRA 2 · VSL ---------- */
.vsl {
  background: var(--bg-elev);
  padding-block: clamp(3rem, 6vw, 5rem);
  scroll-margin-top: calc(var(--banner-h) + 1rem);
}
.vsl .section__head {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.vsl .section__head h2 {
  max-width: 22ch;
  margin-inline: auto;
}
.vsl .lead {
  margin: 1rem auto 0;
}
.vsl__frame {
  width: min(100%, 900px);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #0E0E0E;
  box-shadow: var(--shadow);
}
.vsl__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.vsl__cta { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
@media (max-width: 640px) {
  .vsl__cta .btn { width: 100%; }
}

/* ---------- 8. SLOT DE FOTO ----------
   Espaço reservado para imagem. Troque a <div class="slot"> por uma <img>. */
.slot {
  position: relative;
  display: grid;
  place-content: center;
  gap: .5rem;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px dashed var(--slot-line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(var(--slot-fill-a), var(--slot-fill-a)),
    repeating-linear-gradient(45deg, transparent 0 12px, var(--slot-fill-b) 12px 24px);
  color: var(--text-dim);
  overflow: hidden;
}
.slot__tag {
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.slot__name {
  font-size: .8125rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text-dim);
  word-break: break-all;
  max-width: 32ch;
  margin-inline: auto;
}
.slot__ratio { font-size: .8125rem; color: var(--text-dim); }
.slot--hero { aspect-ratio: 4 / 5; }
.slot--wide { aspect-ratio: 16 / 10; }

.slot--portrait { aspect-ratio: 3 / 4; }
.slot--square { aspect-ratio: 1; }
.slot--sm { padding: 1.25rem .875rem; border-radius: var(--r-md); }
.slot--sm .slot__name { font-size: .6875rem; }

/* Trio / faixa de imagens de seção */
.media-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.media-row > * { border-radius: var(--r-md); overflow: hidden; }
.media-row > img { width: 100%; height: auto; }

/* ---------- 9. MARQUEE DE TEXTO ---------- */
.marquee {
  border-block: 1px solid var(--border);
  background: var(--bg-elev);
  padding-block: 1.375rem;
  overflow: hidden;
  display: flex;
  user-select: none;
}
.marquee__track {
  display: flex;
  flex: none;
  gap: 3.5rem;
  padding-right: 3.5rem;
}
.marquee.is-ready .marquee__track { animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
}
.marquee__item b { color: var(--text); font-weight: 600; }
.marquee__item::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--taupe);
  margin-left: 2.75rem;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- 10. PILARES ---------- */
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__head--center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  justify-items: center;
}

/* Tabela dos pilares */
.table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.pillars-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.pillars-table th,
.pillars-table td {
  padding: clamp(1rem, 2.2vw, 1.5rem) clamp(1.125rem, 2.2vw, 1.75rem);
  vertical-align: top;
}
.pillars-table thead th {
  background: var(--bg-elev);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  white-space: nowrap;
}
.pillars-table tbody tr { border-top: 1px solid var(--border); }
.pillars-table tbody th {
  width: 32%;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.012em;
  color: var(--text);
}
.pillars-table tbody td {
  color: var(--text-muted);
  font-size: var(--fs-small);
}
.pillars-table tbody tr { transition: background-color .25s; }
.pillars-table tbody tr:hover { background: var(--surface-hover); }

/* ---------- 11. DOR ---------- */
.pain__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.pain {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3.25rem);
  background:
    radial-gradient(120% 100% at 0% 0%, var(--glow), transparent 62%),
    var(--surface);
}
.pain h2 { font-size: clamp(1.75rem, 2.9vw, 2.5rem); }

.pain__foto { width: 100%; height: auto; border-radius: var(--r-lg); }
.pain h2 em { font-style: italic; }
.pain__copy {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  max-width: 52ch;
  color: var(--text-muted);
}
.pain__copy strong { color: var(--text); font-weight: 600; }

/* ---------- 12. BIG NUMBERS ---------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border-block: 1px solid var(--border);
}
.number {
  background: var(--bg);
  padding: clamp(2rem, 4vw, 3.25rem) 1.5rem;
  text-align: center;
}
.section--alt .number { background: var(--bg-elev); }
.number__value {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.number__label {
  margin-top: .875rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
  max-width: 22ch;
  margin-inline: auto;
}

/* ---------- 13. CARROSSEL ANTES/DEPOIS (contínuo) ---------- */
.carousel {
  position: relative;
  overflow: hidden;
  display: flex;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.carousel__track {
  display: flex;
  flex: none;
  gap: 1rem;
  padding-right: 1rem;
  will-change: transform;
}
.carousel.is-ready .carousel__track { animation: carousel 70s linear infinite; }
.carousel:hover .carousel__track { animation-play-state: paused; }
@keyframes carousel { to { transform: translateX(-100%); } }

.carousel__item {
  flex: none;
  height: clamp(300px, 38vw, 460px);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.carousel__item img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
}
.carousel__item .slot {
  height: 100%;
  width: clamp(225px, 28vw, 345px);
  border: 0;
  border-radius: 0;
}
.case__tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: rgba(243, 242, 236, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: .375rem .75rem;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
}

/* ---------- 14. DEPOIMENTOS EM VÍDEO ---------- */
/* Grade 4x2 no desktop; nada roda sozinho — só no clique. */
.videos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);   /* celular: um abaixo do outro */
  gap: clamp(.75rem, 1.6vw, 1.25rem);
}
@media (min-width: 641px)  { .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1025px) { .videos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.video-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #17140F;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .25s;
}
.video-card__media:hover { transform: translateY(-3px); border-color: var(--border-strong); }

.video-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* a capa vem 4:3 com o Short pillarboxed; o cover já isola a faixa central */
  transition: transform .6s var(--ease);
}
.video-card__media:hover > img { transform: scale(1.04); }

.video-card__media > iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(235, 235, 226, .94);
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease), background-color .25s;
}
.video-card__play::before {
  content: "";
  width: 0; height: 0;
  margin-left: 4px;
  border-left: 15px solid var(--ebano);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.video-card__media:hover .video-card__play { transform: scale(1.08); background: #FFF; }

/* ---------- 15. MENTOR ---------- */
.mentor__grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.mentor__media { display: grid; gap: 1rem; }
.mentor__media img { border-radius: var(--r-lg); width: 100%; }
.mentor__body { display: grid; gap: 1.5rem; }
.mentor__body p { color: var(--text-muted); }
.mentor__body p strong { color: var(--text); font-weight: 600; }

.mentor__quote {
  border-left: 2px solid var(--taupe);
  padding-left: 1.5rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}
.mentor__quote footer {
  margin-top: 1rem;
  font-style: normal;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

.mentor__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.mentor__stats div b {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.mentor__stats div span {
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- 16. CIDADE / TURMA ---------- */
.turma__local { width: 100%; height: auto; }
.city__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.facts { display: grid; gap: 0; margin-top: 2rem; }
.fact {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 8rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding-block: 1.125rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-small);
}
.fact:last-child { border-bottom: 1px solid var(--border); }
.fact__num {
  font-size: var(--fs-label);
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--ls-label);
}
.fact__label {
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-dim);
}
.fact__value { color: var(--text); font-weight: 500; }

/* ---------- 16b. FAQ ---------- */
/* <details> nativo: abre e fecha sem JavaScript e já é acessível por teclado */
.faq {
  max-width: 52rem;
  margin-inline: auto;
  border-top: 1px solid var(--border);
}
.faq__item { border-bottom: 1px solid var(--border); }

.faq__item summary {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.375rem 2.5rem 1.375rem 0;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.4;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--text-muted); }

.faq__num {
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  flex: none;
}

/* o "+" que vira "−" ao abrir */
.faq__item summary::after {
  content: "";
  position: absolute;
  right: .5rem;
  top: 1.75rem;
  width: 14px;
  height: 2px;
  background: var(--text);
  transition: transform .3s var(--ease);
}
.faq__item summary::before {
  content: "";
  position: absolute;
  right: .5rem;
  top: 1.75rem;
  width: 14px;
  height: 2px;
  background: var(--text);
  transform: rotate(90deg);
  transition: transform .3s var(--ease), opacity .3s;
}
.faq__item[open] summary::before { transform: rotate(0deg); opacity: 0; }

.faq__resposta {
  padding: 0 2.5rem 1.5rem 3.25rem;
  color: var(--text-muted);
  font-size: var(--fs-small);
  max-width: 62ch;
}
.faq__resposta p + p { margin-top: .75rem; }

@media (max-width: 640px) {
  .faq__item summary { padding-right: 2rem; gap: .75rem; }
  .faq__resposta { padding-left: 2.5rem; padding-right: 0; }
}

/* ---------- 17. CTA FINAL ---------- */
.final {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .78fr);
  align-items: center;
}
/* Dentro da seção escura o card não ganha superfície própria: assim o lado do
   texto não fica mais claro que o fundo da arte, que é escuro. */
.section--dark .final { background: transparent; }
.final__body {
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  align-content: center;
  justify-items: start;
}
.final h2 { max-width: 16ch; margin-top: 1.25rem; }
.final .lead { margin-block: 1.5rem 2.25rem; }
.final__actions {
  display: grid;
  gap: 1rem;
  justify-items: start;
}
/* imagem inteira, sem corte: a proporção original manda na altura */
.final__media { position: relative; align-self: stretch; display: flex; }
.final__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  align-self: center;
}

/* ---------- 18. RODAPÉ ---------- */
.footer {
  padding-block: clamp(2.25rem, 5vw, 3.25rem);
}
.footer__copy {
  font-size: .8125rem;
  color: var(--text-dim);
  text-align: center;
}

/* ---------- 19. MODAL / FORMULÁRIO ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(50, 45, 40, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; visibility: visible; }

.modal__panel {
  position: relative;
  width: min(560px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 30px 80px rgba(50, 45, 40, .3);
  transform: translateY(18px) scale(.985);
  transition: transform .35s var(--ease);
  margin-block: auto;
}
.modal.is-open .modal__panel { transform: none; }

.modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: background-color .2s, color .2s;
}
.modal__close:hover { background: var(--surface-hover); color: var(--text); }

.modal__head { margin-bottom: 1.75rem; padding-right: 2.5rem; }
.modal__head h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-top: 1rem; }
.modal__head p { color: var(--text-muted); font-size: var(--fs-small); margin-top: .75rem; }

.form { display: grid; gap: 1.125rem; }
.field { display: grid; gap: .5rem; }
.field label {
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.field input,
.field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: .875rem 1rem;
  font-size: 1rem;
  color: var(--text);
  transition: border-color .2s, background-color .2s;
  appearance: none;
  -webkit-appearance: none;
}
.field input::placeholder { color: var(--text-dim); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--ebano);
  background: #FFFDF8;
}
.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2368625A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] select { border-color: #B4372F; }
.field__error {
  font-size: .8125rem;
  color: #9E2F28;
  display: none;
  letter-spacing: 0;
  text-transform: none;
}
.field[data-invalid="true"] .field__error { display: block; }

.form__footer { display: grid; gap: .875rem; margin-top: .5rem; }
.form__note {
  font-size: .8125rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}

/* ---------- 20. THANK YOU PAGES ---------- */
.typ__brand {
  padding: clamp(1.5rem, 4vw, 2.25rem) var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
}
.typ__brand img { height: 33px; width: auto; }
.typ {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.typ__main {
  display: grid;
  place-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.typ__card {
  width: min(720px, 100%);
  margin-inline: auto;   /* o .container e um bloco: sem isso o card cola na esquerda no desktop */
  text-align: center;
}
.typ__check {
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  display: grid;
  place-content: center;
  margin: 0 auto 2rem;
  font-size: 1.5rem;
}
.typ__copy {
  display: grid;
  gap: 1.125rem;
  margin-block: 2rem;
  color: var(--text-muted);
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface);
}
.typ__copy strong { color: var(--text); font-weight: 600; }
.typ__copy em { font-style: italic; color: var(--text); }
.typ__alert {
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
}
.typ__next {
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 1.5rem;
  background: var(--bg-elev);
  text-align: left;
  display: grid;
  gap: .625rem;
  margin-bottom: 2rem;
}
.typ__next h3 { font-size: 1.0625rem; }
.typ__next p { color: var(--text-muted); font-size: var(--fs-small); }

/* ---------- 21. REVEAL ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 22. RESPONSIVO ---------- */
@media (max-width: 1024px) {
  .mentor__grid,
  .city__grid,
  .pain__grid,
  .final { grid-template-columns: 1fr; }
  .mentor__media { order: -1; max-width: 460px; }
  .section__head { grid-template-columns: 1fr; align-items: start; }
  
  .final__media { min-height: 300px; order: -1; }
}

@media (max-width: 640px) {
  :root { --banner-h: 46px; }
  .topbar p { font-size: .75rem; letter-spacing: .05em; }

  /* hero centralizado no celular */
  .hero .container { text-align: center; }
  .hero__body { margin-inline: auto; }
  .hero .lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__data { text-align: center; }

  /* compacta o hero para o botão entrar na primeira dobra */
  .hero__brand { margin-bottom: 1rem; }
  .hero h1 { margin-block: 1rem 1.125rem; }
  .hero__cta { margin-top: 1.75rem; }
  .hero__data { margin-top: 1.5rem; padding-top: 1.25rem; }

  /* a tabela continua tabela no celular — só aperta a escala para caber */
  .pillars-table th,
  .pillars-table td { padding: .875rem .75rem; }
  .pillars-table thead th { font-size: .5625rem; letter-spacing: .08em; white-space: normal; }
  .pillars-table tbody th { width: 38%; font-size: .875rem; }
  .pillars-table tbody td { font-size: .8125rem; line-height: 1.45; }

  .btn { font-size: .875rem; padding-inline: 1.25rem; }
  .hero__cta .btn { width: 100%; }
  .btn--nowrap { width: 100%; }
  
  .fact { grid-template-columns: 2rem 1fr; }
  .fact__value { grid-column: 2; }
  
  .mentor__stats { gap: 1.5rem 2rem; }
  .final__actions { justify-items: stretch; }
}

/* Aviso no topo do formulário */
.modal__aviso { margin:0 2.5rem 1.25rem 0; padding:.75rem 1rem; border:1px solid var(--destaque); border-radius:.5rem; background:var(--destaque); color:#2A2218; font-size:var(--fs-small); font-weight:600; line-height:1.4; }

/* Formulário centralizado */
.modal__head { text-align:center; padding-right:0; }
.modal__aviso { margin-right:0; text-align:center; }
.form .field label, .form .field__error { text-align:left; }
