/* =================================================================
   Pestanas: Além da Técnica — Página de vendas
   Mobile-first. Paleta: base cream + verde escuro + dourado.
   ================================================================= */

:root {
  /* Cores */
  --cream:        #F5F0E7;
  --cream-soft:   #FBF8F2;
  --cream-deep:   #EFE7D8;
  --green:        #1F3D30;
  --green-700:    #2A4E3E;
  --green-900:    #14271F;
  --gold:         #BE9B57;
  --gold-soft:    #D8BE86;
  --gold-deep:    #8A6B30;   /* dourado legível sobre fundo claro */
  --ink:          #2B2A26;
  --muted:        #6E6A60;
  --line:         rgba(31, 61, 48, 0.12);
  --line-strong:  rgba(31, 61, 48, 0.20);

  /* Tipografia */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Métricas */
  --container:    1120px;
  --narrow:       760px;
  --radius:       14px;
  --radius-sm:    10px;
  --shadow:       0 18px 50px -24px rgba(20, 39, 31, 0.45);
  --shadow-soft:  0 10px 30px -20px rgba(20, 39, 31, 0.35);
  --header-h:     68px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--green); }

p { margin: 0 0 1em; }

strong { font-weight: 700; color: var(--green-900); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green); color: var(--cream-soft);
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}
.container--narrow { max-width: var(--narrow); }

.section { padding: 64px 0; }
.section--alt { background: var(--cream-deep); }

.center { text-align: center; }

.section__title {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.6em;
}
.section__title.center { margin-inline: auto; max-width: 18ch; }

.prose { font-size: 1.06rem; color: var(--ink); }
.prose.center { max-width: 60ch; margin-inline: auto; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
}
.eyebrow--center { justify-content: center; text-align: center; }
.eyebrow__line { flex: 0 0 28px; height: 1px; background: var(--gold); opacity: .7; }
.eyebrow--center .eyebrow__line { flex-basis: 34px; }

/* ---------- Lash mark ---------- */
.lash { width: 40px; height: 20px; color: var(--gold); flex-shrink: 0; }
.lash--lg { width: 64px; height: 32px; margin: 0 auto 18px; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: none;
  padding: 16px 30px; border-radius: var(--radius-sm);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1.1; text-align: center;
}
.btn--cta {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 100%);
  color: var(--green-900);
  box-shadow: 0 10px 24px -10px rgba(190, 155, 87, 0.7);
  letter-spacing: 0.01em;
}
.btn--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(190, 155, 87, 0.85);
  background: linear-gradient(135deg, var(--gold) 0%, #a9873f 100%);
}
.btn--cta:active { transform: translateY(0); }
.btn--sm { padding: 11px 18px; font-size: 0.9rem; }
.btn--lg { padding: 18px 38px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 240, 231, 0.82);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(20, 39, 31, 0.6);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
/* Logótipo real do curso (fundo transparente) */
.brand__logo { height: 52px; width: auto; display: block; }
.brand__logo--footer { height: 64px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 82vh;
  padding: calc(40px + var(--header-h)) 0 56px;
  background: var(--cream);
}
/* Foto em background + overlay cream para legibilidade.
   Mobile: gradiente vertical (texto legível em cima, foto a aparecer em baixo). */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(180deg,
      rgba(245, 240, 231, 0.90) 0%,
      rgba(245, 240, 231, 0.80) 36%,
      rgba(245, 240, 231, 0.90) 70%,
      rgba(245, 240, 231, 0.98) 100%),
    url("assets/hero.jpg");
  background-size: cover, cover;
  background-position: center, 80% 26%;
  background-repeat: no-repeat, no-repeat;
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__copy { max-width: 640px; }
.hero__title {
  font-size: clamp(2.1rem, 8.5vw, 3.6rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.45em;
}
.hero__sub {
  font-size: 1.12rem; color: var(--ink);
  max-width: 42ch; margin-bottom: 1.6em;
}
.hero__actions { margin-bottom: 18px; }
.hero__actions .btn { width: 100%; }
.hero__microcopy {
  font-size: 0.9rem; color: #4F4A42; margin: 0;
  max-width: 44ch;
}

/* ---------- Método ---------- */
.method__grid { display: grid; gap: 32px; align-items: center; }
.phases {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px; padding: 0; margin: 26px 0 0;
}
.phases li {
  font-family: var(--font-body); font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.04em; color: var(--green);
  background: var(--cream-soft); border: 1px solid var(--line-strong);
  padding: 8px 16px; border-radius: 999px;
}
.phases .phases__arrow {
  background: none; border: none; padding: 0; color: var(--gold-deep);
  font-weight: 700;
}
.method__media {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.method__img { width: 100%; }

/* ---------- Módulos ---------- */
.modules {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
.module {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 22px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.module::before {
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(var(--gold-soft), var(--gold));
}
.module:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--line-strong);
}
.module__title {
  font-size: 1.32rem; margin-bottom: 0.4em; padding-left: 14px;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.module__tag {
  font-family: var(--font-body); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep);
  background: rgba(190,155,87,0.14); padding: 3px 9px; border-radius: 999px;
}
.module p { margin: 0; padding-left: 14px; color: var(--ink); font-size: 0.98rem; }

/* ---------- Stack de valor ---------- */
.stack {
  margin-top: 36px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.stack__table { width: 100%; border-collapse: collapse; }
.stack__table th, .stack__table td {
  text-align: left; padding: 15px 24px; font-weight: 400;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.stack__table th[scope="row"] { color: var(--ink); font-weight: 500; }
.stack__table td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stack__total th, .stack__total td {
  font-weight: 700; color: var(--green); border-bottom: none;
  background: rgba(31,61,48,0.04); font-size: 1.05rem;
}
.stack__total td { color: var(--green); }

.price { text-align: center; padding: 30px 24px 34px; }
.price__anchor { margin: 0; }
.price__old {
  font-size: 1.15rem; color: var(--muted); text-decoration: line-through;
  text-decoration-color: var(--gold); text-decoration-thickness: 2px;
}
.price__now { margin: 2px 0 6px; }
.price__amount {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.2rem, 13vw, 4.6rem); color: var(--green);
  line-height: 1;
}
.price__note {
  max-width: 42ch; margin: 0 auto 22px; color: var(--ink); font-size: 1rem;
}
.price .btn { width: 100%; max-width: 360px; }

/* ---------- Provas sociais ---------- */
.proofs {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; gap: 18px; grid-template-columns: 1fr;
}
.proof {
  background: var(--cream-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 16px;
}
.proof__quote {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 500;
  line-height: 1.3; color: var(--green); margin: 0;
}
.proof__author { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.proof__name { font-weight: 700; color: var(--ink); }
.proof__meta { font-size: 0.85rem; color: var(--muted); }
.proof__author::before {
  content: ""; width: 22px; height: 2px; background: var(--gold);
  display: inline-block; align-self: center;
}

.section__cta { margin-top: 38px; text-align: center; }
.section__cta .btn { width: 100%; max-width: 360px; }

/* ---------- Para quem é ---------- */
.fit__grid { display: grid; gap: 18px; margin-top: 38px; grid-template-columns: 1fr; }
.fit {
  border-radius: var(--radius); padding: 28px 26px;
  border: 1px solid var(--line);
}
.fit--yes { background: var(--green); color: var(--cream-soft); }
.fit--yes .fit__title { color: var(--cream-soft); }
.fit--no { background: var(--cream-soft); }
.fit__title { font-size: 1.4rem; margin-bottom: 18px; }
.fit__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.fit__list li { position: relative; padding-left: 32px; line-height: 1.5; }
.fit__list li::before {
  position: absolute; left: 0; top: 0; font-weight: 700;
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}
.fit--yes .fit__list li::before {
  content: "✓"; background: var(--gold); color: var(--green-900);
}
.fit--no .fit__list li::before {
  content: "×"; background: rgba(31,61,48,0.10); color: var(--green); top: 1px;
}

/* ---------- Como funciona ---------- */
.steps { list-style: none; counter-reset: none; padding: 0; margin: 38px 0 30px; display: grid; gap: 6px; }
.step { display: flex; align-items: flex-start; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step__num {
  flex: 0 0 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: var(--cream-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.step__text { padding-top: 6px; }
.step__tbc { color: var(--gold-deep); font-style: italic; font-weight: 600; }

/* ---------- Garantia ---------- */
.section--guarantee { padding: 56px 0; background: var(--cream); }
.guarantee {
  text-align: center;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-900) 100%);
  color: var(--cream-soft);
  border-radius: 20px;
  padding: 48px 32px;
  border: 1px solid rgba(190,155,87,0.45);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(190,155,87,0.18);
  position: relative;
}
.guarantee__badge {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft); border: 1px solid rgba(216,190,134,0.5);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
}
.guarantee__title {
  color: var(--cream-soft); font-size: clamp(1.8rem, 6vw, 2.6rem);
  margin-bottom: 0.5em;
}
.guarantee__copy {
  font-size: 1.2rem; max-width: 36ch; margin: 0 auto; color: #EFE6D4;
}

/* ---------- FAQ ---------- */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq__item {
  background: var(--cream-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq__item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.faq__q {
  list-style: none; cursor: pointer; padding: 20px 22px;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--green); display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: 0 0 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--gold-deep);
  transition: transform .25s ease, opacity .25s ease;
}
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__icon::after  { top: 0; left: 8px; width: 2px; height: 18px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a { padding: 0 22px 22px; color: var(--ink); }
.faq__a p { margin: 0; }

/* ---------- CTA final ---------- */
.final-cta {
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(190,155,87,0.12), transparent 60%),
    var(--cream-deep);
  padding: 72px 0;
  color: var(--green);
}
.final-cta__logo { height: 76px; width: auto; margin: 0 auto 18px; display: block; }
.final-cta__title {
  font-size: clamp(2rem, 7vw, 3rem); max-width: 18ch; margin: 0 auto 0.5em;
}
.final-cta__copy { max-width: 50ch; margin: 0 auto 28px; font-size: 1.1rem; color: var(--ink); }
.final-cta .btn { width: 100%; max-width: 380px; }
.final-cta__microcopy { margin: 18px 0 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--green-900); color: #C8D2CB; padding: 40px 0; }
.site-footer__inner {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.brand--footer .brand__name { color: var(--cream-soft); }
.brand--footer .brand__sub { color: var(--gold-soft); }
.site-footer__note { margin: 0; font-size: 0.85rem; color: #9FB0A6; }

/* ---------- Reveal on scroll (apenas com JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .module, .faq__icon::before, .faq__icon::after,
  .wa-fab, .wa-fab__label { transition: none; }
}

/* ---------- Botão flutuante de WhatsApp ---------- */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  height: 58px;
  min-width: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .2s ease;
}
.wa-fab:hover,
.wa-fab:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(0, 0, 0, 0.55);
}
.wa-fab__icon { width: 30px; height: 30px; margin: 0 14px; flex: 0 0 auto; }
.wa-fab__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  max-width: 0;
  margin-right: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .28s ease, opacity .2s ease, margin-right .28s ease;
}
/* Expande o label só quando há hover real (desktop) ou foco de teclado;
   em touch fica só o ícone, sem hover "colado". */
.wa-fab:focus-visible .wa-fab__label {
  max-width: 150px;
  margin-right: 20px;
  opacity: 1;
}
@media (hover: hover) {
  .wa-fab:hover .wa-fab__label {
    max-width: 150px;
    margin-right: 20px;
    opacity: 1;
  }
}

@media (min-width: 720px) {
  .wa-fab { right: 26px; bottom: 26px; }
}

/* =================================================================
   RESPONSIVO
   ================================================================= */

/* Tablet ---------------------------------------------------------- */
@media (min-width: 720px) {
  body { font-size: 18px; }
  .section { padding: 84px 0; }

  .hero { padding: calc(40px + var(--header-h)) 0 64px; }
  .hero__actions .btn { width: auto; }
  /* A partir de tablet, overlay horizontal: texto à esquerda, foto à direita. */
  .hero__bg {
    background-image:
      linear-gradient(95deg,
        var(--cream) 0%,
        rgba(245, 240, 231, 0.92) 32%,
        rgba(245, 240, 231, 0.50) 56%,
        rgba(245, 240, 231, 0.12) 78%,
        rgba(245, 240, 231, 0) 100%),
      url("assets/hero.jpg");
    background-position: center, right center;
  }

  .modules { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .proofs { grid-template-columns: repeat(3, 1fr); }
  .fit__grid { grid-template-columns: 1fr 1fr; gap: 22px; }

  .price .btn, .section__cta .btn, .final-cta .btn { width: auto; }
}

/* Desktop --------------------------------------------------------- */
@media (min-width: 1024px) {
  .section { padding: 100px 0; }

  .hero { min-height: 88vh; max-height: 920px; }
  .hero__bg {
    background-image:
      linear-gradient(95deg,
        var(--cream) 0%,
        var(--cream) 24%,
        rgba(245, 240, 231, 0.72) 44%,
        rgba(245, 240, 231, 0.18) 66%,
        rgba(245, 240, 231, 0) 82%),
      url("assets/hero.jpg");
    background-position: center, right center;
  }

  .method__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .method__grid .method__media { order: 2; }

  .modules { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

/* Desktop largo --------------------------------------------------- */
@media (min-width: 1240px) {
  .modules { grid-template-columns: repeat(2, 1fr); }
}
