/* =========================================================================
   O Começo de Tudo — Dr. Madson Machado
   Paleta: azul-marinho da marca + dourado e creme da capa do livro
   ========================================================================= */

:root {
  --navy-900: #081726;
  --navy-800: #0b2038;
  --navy-700: #12304e;
  --navy-600: #1b3b5f;
  --navy-500: #23547f;
  --blue-400: #3c6e9f;
  --blue-300: #6d9ac1;
  --blue-200: #9fc0d8;
  --blue-100: #cfe0ec;

  --gold-700: #8f7436;
  --gold-600: #9a7e3c;
  --gold-500: #c9a961;
  --gold-400: #d9bc7c;
  --gold-200: #e9d3a0;
  --gold-100: #f4e6c6;

  --cream: #faf6ee;
  --cream-dark: #f1e8d8;
  --ink: #10202f;
  --muted: #5a6b7b;
  --white: #ffffff;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 12px rgba(8, 23, 38, 0.07);
  --shadow-md: 0 14px 40px rgba(8, 23, 38, 0.12);
  --shadow-lg: 0 30px 70px rgba(8, 23, 38, 0.22);
  --max-width: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 48px, 780px); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-700); color: var(--white); padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.text-gold { color: var(--gold-500); }

/* ------------------------------------------------------------- botões -- */
.btn {
  --btn-bg: var(--gold-500);
  --btn-fg: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
  box-shadow: 0 8px 22px rgba(201, 169, 97, 0.32);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201, 169, 97, 0.42); }
.btn:active { transform: translateY(0); }
.btn__arrow { transition: transform 0.22s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); }
.btn--primary:hover { --btn-bg: var(--gold-400); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: currentColor;
  border-color: currentColor; box-shadow: none; opacity: 0.92;
}
.btn--ghost:hover { box-shadow: none; opacity: 1; background: rgba(255, 255, 255, 0.08); }
.section .btn--ghost:hover { background: rgba(18, 48, 78, 0.06); }

.btn--block { display: flex; width: 100%; }

/* Secundário sobre fundo claro: contorno marinho, sem o brilho dourado. */
.btn--soft {
  --btn-bg: var(--white); --btn-fg: var(--navy-700);
  border-color: rgba(18, 48, 78, 0.28); box-shadow: none;
}
.btn--soft:hover { --btn-bg: var(--cream); box-shadow: none; border-color: var(--navy-600); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

/* ----------------------------------------------------------- cabeçalho -- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 48, 78, 0.08);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 12px 0;
}
.site-header__logo img { height: 44px; width: auto; }

.site-nav { display: flex; gap: 30px; }
.site-nav a {
  font-size: 15px; font-weight: 500; color: var(--navy-700);
  text-decoration: none; position: relative; padding: 6px 0;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gold-500); transition: width 0.25s var(--ease);
}
.site-nav a:hover::after { width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-header__actions .btn { padding: 12px 24px; font-size: 15px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--navy-700); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 55%, var(--navy-900) 100%);
  color: var(--white);
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 48% at 78% 34%, rgba(201, 169, 97, 0.22), transparent 70%),
    radial-gradient(40% 40% at 12% 84%, rgba(60, 110, 159, 0.3), transparent 72%);
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__title {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--blue-100); max-width: 56ch; margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero__badges { display: flex; flex-direction: column; gap: 11px; }
.hero__badges li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--blue-100); }
.hero__badges svg { width: 18px; height: 18px; flex: none; color: var(--gold-500); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-400); margin: 0 0 14px;
}
.eyebrow--light { color: var(--gold-400); }

.hero__media { display: flex; justify-content: center; }
.book {
  position: relative;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.5));
  transform: rotate(-2.2deg);
  transition: transform 0.5s var(--ease);
  animation: book-in 0.9s var(--ease) both;
}
.book:hover { transform: rotate(0deg) translateY(-6px); }
.book img { width: min(360px, 78vw); border-radius: 4px 10px 10px 4px; }
.book::after {
  content: ''; position: absolute; inset: -14% -18%; z-index: -1;
  background: radial-gradient(closest-side, rgba(201, 169, 97, 0.3), transparent 72%);
}
@keyframes book-in {
  from { opacity: 0; transform: rotate(-6deg) translateY(30px); }
  to { opacity: 1; transform: rotate(-2.2deg) translateY(0); }
}

/* ------------------------------------------------------------- seções -- */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section--cream { background: var(--cream); }
.section--navy {
  background: linear-gradient(170deg, var(--navy-700), var(--navy-900));
  color: var(--white);
}

.section__head { max-width: 760px; margin: 0 auto clamp(38px, 5vw, 58px); text-align: center; }
.section__title { font-size: clamp(1.85rem, 3.4vw, 2.75rem); color: var(--navy-700); }
.section__title--light { color: var(--white); }
.section__lead { margin-top: 18px; font-size: 1.06rem; color: var(--muted); }
.section--navy .section__lead { color: var(--blue-100); }
.section__closing {
  max-width: 720px; margin: clamp(34px, 4vw, 48px) auto 0; text-align: center;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  font-style: italic; line-height: 1.45; color: var(--navy-600);
}
.section__cta { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 52px); }

/* -------------------------------------------------------------- cards -- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid rgba(18, 48, 78, 0.08);
  border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  border-radius: 16px; background: var(--navy-700); color: var(--gold-400);
}
.card__icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.28rem; color: var(--navy-700); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* --------------------------------------------------------------- guia -- */
.guide__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 70px); align-items: center;
}
.guide__media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(201, 169, 97, 0.35);
}
.guide__subtitle { font-size: 1.1rem; color: var(--gold-200); margin-bottom: 24px; }
.guide__text { color: var(--blue-100); font-size: 16.5px; }
.quote {
  margin: 30px 0 0; padding: 22px 26px;
  border-left: 3px solid var(--gold-500);
  background: rgba(255, 255, 255, 0.05); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.5; color: var(--gold-100);
}

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px; margin-top: clamp(44px, 5vw, 64px);
  padding-top: clamp(34px, 4vw, 48px);
  border-top: 1px solid rgba(201, 169, 97, 0.28);
}
.stat { text-align: center; }
.stat__value {
  display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700; color: var(--gold-400); line-height: 1;
}
.stat__label {
  display: block; margin-top: 9px; font-size: 13.5px; color: var(--blue-200);
  letter-spacing: 0.03em;
}

/* -------------------------------------------------------------- plano -- */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px; counter-reset: step;
}
.step {
  position: relative; padding: 36px 30px 32px;
  background: var(--white); border: 1px solid rgba(18, 48, 78, 0.1);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: var(--gold-400); }
.step__number {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px;
  border-radius: 50%; background: linear-gradient(140deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
}
.step h3 { font-size: 1.24rem; color: var(--navy-700); margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* -------------------------------------------------- índice do livro -- */
/* Índice do livro: capítulos em duas colunas, na ordem do livro. */
.chapters {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1040px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.chapter {
  padding: 22px 24px; background: var(--white);
  border: 1px solid rgba(18, 48, 78, 0.08); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}
.chapter:hover { transform: translateY(-3px); border-color: var(--gold-400); }
.chapter__label {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px;
  border-radius: 999px; background: var(--navy-700); color: var(--gold-200);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.chapter h3 { font-size: 1.15rem; line-height: 1.3; color: var(--navy-700); margin-bottom: 8px; text-wrap: balance; }
.chapter p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 720px) { .chapters { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .chapter, .chapter:hover { transition: none; transform: none; } }

/* ------------------------------------------------- sucesso x fracasso -- */
.stakes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.stakes__col { padding: 36px 32px; border-radius: var(--radius-lg); }
.stakes__col h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.3rem; margin-bottom: 20px;
}
.stakes__col h3 svg { width: 24px; height: 24px; flex: none; }
.stakes__col li {
  position: relative; padding: 11px 0 11px 22px; font-size: 15.8px;
  border-bottom: 1px solid rgba(18, 48, 78, 0.07);
}
.stakes__col li:last-child { border-bottom: 0; }
.stakes__col li::before {
  content: ''; position: absolute; left: 0; top: 20px;
  width: 7px; height: 7px; border-radius: 50%;
}
.stakes__col--win {
  background: linear-gradient(165deg, #f4f9f5, #eaf3ec);
  border: 1px solid rgba(46, 125, 80, 0.2);
}
.stakes__col--win h3 { color: #256c3e; }
.stakes__col--win li::before { background: #3f9a63; }
.stakes__col--lose {
  background: linear-gradient(165deg, #fdf5f3, #f8eae6);
  border: 1px solid rgba(160, 70, 50, 0.16);
}
.stakes__col--lose h3 { color: #9c4a34; }
.stakes__col--lose li::before { background: #c5715a; }

/* -------------------------------------------------------- depoimentos -- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.testimonial {
  position: relative; margin: 0; padding: 38px 30px 30px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(201, 169, 97, 0.28);
  border-radius: var(--radius-lg); backdrop-filter: blur(4px);
}
.testimonial__mark {
  position: absolute; top: 4px; left: 24px;
  font-family: var(--font-display); font-size: 4.2rem; line-height: 1; color: var(--gold-500); opacity: 0.55;
}
.testimonial blockquote {
  margin: 0 0 22px; font-size: 16.5px; line-height: 1.6; color: var(--blue-100); font-style: italic;
}
.testimonial figcaption { display: flex; flex-direction: column; gap: 3px; }
.testimonial figcaption strong { color: var(--white); font-size: 15.5px; }
.testimonial figcaption span { color: var(--gold-200); font-size: 13.5px; }

/* ------------------------------------------------------------- oferta -- */
.offer {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; max-width: 980px; margin-inline: auto;
  padding: clamp(30px, 4vw, 52px);
  background: var(--white); border: 1px solid rgba(201, 169, 97, 0.45);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
/* A capa é um PNG de fundo transparente que já traz a perspectiva do livro:
   sem caixa, sem sombra retangular, sem rotação. Fica só a sombra de contato
   embaixo, inclinada como a base do livro, para ele parecer apoiado. */
.offer__media { position: relative; }
.offer__media img { position: relative; z-index: 1; width: 100%; }
.offer__media::before,
.offer__media::after {
  content: ''; position: absolute; z-index: 0;
  border-radius: 50%; transform: rotate(-4deg); pointer-events: none;
}
/* Contato: faixa estreita e escura, onde o livro encosta. */
.offer__media::before {
  left: 9%; width: 84%; top: 93.4%; height: 2.6%;
  background: radial-gradient(closest-side, rgba(8, 23, 38, 0.6), rgba(8, 23, 38, 0));
  filter: blur(2px);
}
/* Penumbra: mais larga e suave, espalhando a sombra pela superfície. */
.offer__media::after {
  left: 3%; width: 96%; top: 89.5%; height: 11%;
  background: radial-gradient(closest-side, rgba(8, 23, 38, 0.34), rgba(8, 23, 38, 0.12) 60%, rgba(8, 23, 38, 0));
  filter: blur(8px);
}
.offer__list { margin-bottom: 26px; }
.offer__list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 15.8px; }
.offer__list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--gold-600); }

.offer__price { padding: 20px 0 24px; border-top: 1px solid rgba(18, 48, 78, 0.1); }
.offer__from {
  display: block; font-size: 15px; color: var(--muted); text-decoration: line-through; margin-bottom: 4px;
}
.offer__value {
  display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700; color: var(--navy-700); line-height: 1;
}
.offer__note { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Uma linha por formato: nome e descrição à esquerda, preço e botão à direita. */
.formats { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(18, 48, 78, 0.1); }
.format {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px 22px; flex-wrap: wrap;
  padding: 18px 20px;
  border: 1px solid rgba(18, 48, 78, 0.14); border-radius: var(--radius);
  background: var(--white);
}
.format--featured { border: 2px solid var(--gold-500); background: #fffdf8; padding-top: 24px; }
.format__badge {
  position: absolute; top: -11px; left: 18px;
  padding: 2px 10px; border-radius: 999px;
  background: var(--gold-500); color: var(--navy-900);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.format__info { flex: 1 1 220px; min-width: 0; }
.format__name { margin: 0; font-size: 1.15rem; color: var(--navy-700); }
.format__desc { margin: 3px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.format__buy { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.format__price { margin: 0; display: grid; justify-items: end; line-height: 1.1; }
.format__price s { font-size: 13px; color: var(--muted); }
.format__price strong {
  font-family: var(--font-display); font-size: 1.55rem; color: var(--navy-700);
  font-variant-numeric: tabular-nums;
}
.format__price small { font-size: 12.5px; color: var(--muted); }
.format .btn { padding: 12px 20px; font-size: 15px; white-space: nowrap; }
.offer__payment { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }

@media (max-width: 520px) {
  .format__buy { width: 100%; justify-content: space-between; }
  .format__price { justify-items: start; }
}
.offer__security { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.offer__guarantee {
  display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 0; padding: 16px 18px;
  background: var(--cream); border-radius: var(--radius); font-size: 14.5px; color: var(--navy-600);
}
.offer__guarantee svg { width: 22px; height: 22px; flex: none; color: var(--gold-600); }

/* -------------------------------------------------------------- vídeo -- */
.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  box-shadow: var(--shadow-md);
}
.video-player iframe,
.video-player__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-player__cover {
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  cursor: pointer;
}
.video-player__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-player__fallback {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(201, 169, 97, 0.25), transparent 70%),
    linear-gradient(150deg, var(--navy-600), var(--navy-900));
}
.video-player__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 23, 38, 0.15), rgba(8, 23, 38, 0.5));
  transition: background 0.3s var(--ease);
}
.video-player__cover:hover::after { background: rgba(8, 23, 38, 0.3); }

.video-player__button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(64px, 9vw, 84px);
  height: clamp(64px, 9vw, 84px);
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 10px 34px rgba(8, 23, 38, 0.45);
  transition: transform 0.28s var(--ease), background 0.28s var(--ease);
}
.video-player__cover:hover .video-player__button {
  transform: scale(1.09);
  background: var(--gold-400);
}
.video-player__button svg { width: 42%; height: 42%; margin-left: 8%; }

.video__caption {
  margin: 18px auto 0;
  max-width: 62ch;
  text-align: center;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- faq -- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--white); border: 1px solid rgba(18, 48, 78, 0.12);
  border-radius: var(--radius); overflow: hidden; transition: border-color 0.25s var(--ease);
}
.faq__item[open] { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--navy-700);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px;
  background: var(--gold-600); border-radius: 2px; transition: transform 0.28s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 24px 22px; }
.faq__answer p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------------------------------------------------------- cta final -- */
.final-cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(62px, 8vw, 104px) 0;
  background: linear-gradient(140deg, var(--navy-600), var(--navy-900));
  color: var(--white);
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(48% 62% at 50% 0%, rgba(201, 169, 97, 0.24), transparent 70%);
}
.final-cta .container { position: relative; }
.final-cta h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 18px; }
.final-cta p { font-size: 1.08rem; color: var(--blue-100); max-width: 60ch; margin: 0 auto 32px; }
.final-cta__note { display: block; margin-top: 18px; font-size: 13.5px; color: var(--blue-200); }

/* ------------------------------------------------------------- rodapé -- */
.site-footer { background: var(--navy-900); color: var(--blue-200); padding: clamp(46px, 6vw, 70px) 0 30px; }
.site-footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px;
  padding-bottom: 34px; border-bottom: 1px solid rgba(201, 169, 97, 0.22);
}
.site-footer__brand img { height: 48px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.site-footer__role { margin: 14px 0 4px; font-size: 15px; color: var(--gold-200); }
.site-footer__crm { margin: 0; font-size: 13.5px; }
.site-footer__contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.site-footer__contact a { color: var(--blue-100); text-decoration: none; font-size: 15px; }
.site-footer__contact a:hover { color: var(--gold-400); }
.site-footer__social { display: flex; gap: 18px; }
.site-footer__legal { padding-top: 26px; font-size: 12.8px; line-height: 1.6; color: rgba(159, 192, 216, 0.72); }
.site-footer__legal p { margin: 0 0 8px; }

/* --------------------------------------------------- página checkout -- */
.checkout-page {
  background: linear-gradient(165deg, var(--navy-700), var(--navy-900));
  min-height: 100vh;
}
.checkout { padding: clamp(24px, 5vw, 56px) 0; }
.checkout__back {
  display: inline-block; margin-bottom: 20px;
  color: var(--blue-200); font-size: 14px; text-decoration: none;
}
.checkout__back:hover { color: var(--gold-400); }

.checkout__card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg);
}
.checkout__product {
  display: flex; gap: 20px; align-items: flex-start;
  padding-bottom: 24px; margin-bottom: 26px; border-bottom: 1px solid rgba(18, 48, 78, 0.1);
}
.checkout__product img {
  width: 96px; flex: none; border-radius: 3px 6px 6px 3px;
  box-shadow: 0 10px 24px rgba(8, 23, 38, 0.24);
}
.checkout__product h1 { font-size: 1.4rem; color: var(--navy-700); margin-bottom: 6px; }
.checkout__product p { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.checkout__product strong {
  display: block; font-family: var(--font-display);
  font-size: 1.9rem; color: var(--navy-700); line-height: 1;
}
.checkout__product span { display: block; margin-top: 5px; font-size: 13.5px; color: var(--muted); }

.checkout__intro {
  font-family: var(--font-display); font-size: 1.15rem;
  color: var(--navy-700); margin-bottom: 20px;
}
.checkout__field { display: block; margin-bottom: 18px; }
.checkout__field > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--navy-700); }
.checkout__field em { font-style: normal; font-weight: 400; color: var(--muted); }
.checkout__field input {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 16px;
  color: var(--ink); background: var(--white);
  border: 1px solid rgba(18, 48, 78, 0.2); border-radius: 10px;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.checkout__field input:focus {
  outline: 0; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(60, 110, 159, 0.14);
}
.checkout__field small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); }

/* Grupos do formulário: formato, dados, endereço. */
.checkout__group { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.checkout__group legend {
  padding: 0; margin-bottom: 14px;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-700);
}

/* Sem JavaScript, :has() mostra o endereço só para formatos com livro físico;
   com JavaScript, o atributo data-physical faz o mesmo nos navegadores antigos. */
.checkout__form[data-physical="0"] .checkout__shipping,
.checkout__form[data-physical="0"] .checkout__summary-ship { display: none; }
.checkout__form:has(input[name="format"][data-physical="0"]:checked) .checkout__shipping,
.checkout__form:has(input[name="format"][data-physical="0"]:checked) .checkout__summary-ship { display: none; }
.checkout__form:has(input[name="format"][data-physical="1"]:checked) .checkout__shipping { display: block; }
.checkout__form:has(input[name="format"][data-physical="1"]:checked) .checkout__summary-ship { display: flex; }

/* Botão invisível que torna "Ir para o pagamento" o padrão do Enter. */
.checkout__default {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); border: 0;
}

.fmt-options { display: grid; gap: 10px; }
.fmt-option {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; cursor: pointer;
  border: 1px solid rgba(18, 48, 78, 0.18); border-radius: 12px;
  transition: border-color 0.16s, background 0.16s, box-shadow 0.16s;
}
.fmt-option:hover { border-color: var(--navy-600); }
.fmt-option:has(input:checked) { border-color: var(--gold-500); background: #fffdf8; box-shadow: 0 0 0 1px var(--gold-500); }
.fmt-option input { width: 18px; height: 18px; flex: none; accent-color: var(--navy-700); }
.fmt-option__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.fmt-option__name { font-weight: 600; color: var(--navy-700); }
.fmt-option__name em {
  margin-left: 6px; padding: 1px 8px; border-radius: 999px; vertical-align: 1px;
  background: var(--gold-100); color: var(--gold-700);
  font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
}
.fmt-option__desc { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.fmt-option__price {
  display: grid; justify-items: end; flex: none;
  font-weight: 700; color: var(--navy-700); font-variant-numeric: tabular-nums;
}
.fmt-option__price small { font-size: 12px; font-weight: 400; color: var(--muted); }

.cep-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.cep-row .checkout__field { flex: 0 1 200px; margin-bottom: 18px; }
.cep-row .btn { margin-bottom: 18px; padding: 13px 20px; font-size: 15px; }

.addr-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 14px; }
.addr-grid .checkout__field { grid-column: span 2; }
.addr-grid .addr-grid__street { grid-column: span 4; }
.addr-grid .addr-grid__half { grid-column: span 3; }
@media (max-width: 560px) {
  .addr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addr-grid .checkout__field, .addr-grid .addr-grid__street, .addr-grid .addr-grid__half { grid-column: span 2; }
}

.checkout__cpf { max-width: 280px; }
.ship-options { display: grid; gap: 8px; }
.ship-options__hint { margin: 0; font-size: 14px; color: var(--muted); }
.ship-options__hint.is-error { color: #9c3d28; }
.ship-option {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 4px 14px;
  padding: 12px 14px; cursor: pointer;
  border: 1px solid rgba(18, 48, 78, 0.18); border-radius: 10px;
}
.ship-option:has(input:checked) { border-color: var(--gold-500); background: #fffdf8; }
.ship-option input { width: 17px; height: 17px; accent-color: var(--navy-700); }
.ship-option__name { font-weight: 600; color: var(--navy-700); }
.ship-option__name small { font-weight: 400; color: var(--muted); }
.ship-option__days { font-size: 13.5px; color: var(--muted); }
.ship-option__price { font-weight: 700; color: var(--navy-700); font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .ship-option { grid-template-columns: auto 1fr auto; }
  .ship-option__days { grid-column: 2 / 3; grid-row: 2; }
}

.checkout__summary {
  margin: 0 0 22px; padding: 16px 18px; border-radius: 12px; background: var(--cream);
  font-variant-numeric: tabular-nums;
}
.checkout__summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.checkout__summary dt { color: var(--muted); }
.checkout__summary dd { margin: 0; color: var(--navy-700); }
.checkout__total { margin-top: 6px; padding-top: 10px !important; border-top: 1px solid rgba(18, 48, 78, 0.12); }
.checkout__total dt { color: var(--navy-700); font-weight: 600; }
.checkout__total dd { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }

.checkout__error {
  padding: 13px 16px; margin-bottom: 20px; border-radius: 10px;
  background: #fdf2f0; border: 1px solid #f2cfc7; color: #9c3d28; font-size: 14px;
}
.checkout__note { margin: 16px 0 0; font-size: 13px; color: var(--muted); text-align: center; line-height: 1.5; }
.checkout__legal { margin-top: 22px; text-align: center; font-size: 12px; color: rgba(159, 192, 216, 0.7); }

@media (max-width: 520px) {
  .checkout__product { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------------------------------------------------- página obrigado -- */
.thanks-page { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); min-height: 100vh; }
.thanks { display: grid; place-items: center; min-height: 100vh; text-align: center; color: var(--white); padding: 40px 0; }
.thanks__logo { margin: 0 auto 28px; filter: brightness(0) invert(1); opacity: 0.9; }
.thanks__check {
  display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 26px;
  border-radius: 50%; background: var(--gold-500); color: var(--navy-900); font-size: 2.2rem;
}
.thanks h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 18px; }
.thanks p { color: var(--blue-100); font-size: 1.05rem; }
.thanks__signature { margin: 30px 0; color: var(--gold-200); }
.thanks .btn { margin-top: 10px; }

/* ------------------------------------------------------------ reveal -- */
/* A animacao so e aplicada quando o JS esta ativo: sem JS, o conteudo
   continua visivel em vez de ficar preso em opacity 0. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------- responsivo --- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__media { order: 1; margin-bottom: 8px; }
  .hero__actions { justify-content: center; }
  .hero__badges { align-items: center; }
  .guide__grid { grid-template-columns: 1fr; }
  .guide__media { max-width: 380px; margin-inline: auto; }
  .offer { grid-template-columns: 1fr; text-align: left; }
  .offer__media { max-width: 230px; margin-inline: auto; }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 0 24px;
    background: var(--white); border-bottom: 1px solid rgba(18, 48, 78, 0.1);
    max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
  }
  .site-nav.is-open { max-height: 320px; padding: 8px 24px 20px; box-shadow: var(--shadow-md); }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid rgba(18, 48, 78, 0.07); }
  .nav-toggle { display: flex; }
  .site-header__actions .btn { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container, .container--narrow { width: calc(100% - 36px); }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
  .card, .step { padding: 28px 24px; }
  .stakes__col { padding: 28px 24px; }
  .offer { padding: 26px 22px; }
  .site-footer__inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .btn { display: none !important; }
  body { color: #000; }
}
