/* ────────────────────────────────────────
   Projeto 3K — Estilos principais
   Fonte: Google Fonts (Playfair Display + DM Sans)
──────────────────────────────────────── */

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

:root {
  --bg: #0D0D0D;
  --gold: #C9A84C;
  --gold-light: #e0bf72;
  --text: #e8e8e8;
  --text-muted: #999;
  --card-bg: #161616;
  --border: #2a2a2a;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Seções ── */
section {
  padding: 96px 0;
}

section + section {
  border-top: 1px solid var(--border);
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  color: #fff;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.8;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Botão CTA ── */
.btn-cta {
  display: inline-block;
  background: linear-gradient(180deg, #25D366 0%, #128C4A 100%);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 36px;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 4px 0 #0a5c2e,
    0 6px 16px rgba(18, 140, 74, 0.35);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  letter-spacing: 0.3px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 #0a5c2e,
    0 10px 20px rgba(18, 140, 74, 0.4);
}

.btn-cta:active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 #0a5c2e,
    0 4px 10px rgba(18, 140, 74, 0.3);
}

/* ────────────────────────────
   S1 — HERO (100vh)
──────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: url('../images/img_banner11.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  /* Película base escura + gradiente direcional: texto legível à esq, Rafa visível à dir */
  background:
    linear-gradient(
      to right,
      rgba(13,13,13,0.88) 0%,
      rgba(13,13,13,0.70) 45%,
      rgba(13,13,13,0.30) 75%,
      rgba(13,13,13,0.10) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(13,13,13,0.4) 0%,
      rgba(13,13,13,0.0) 30%,
      rgba(13,13,13,0.0) 70%,
      rgba(13,13,13,0.5) 100%
    );
  pointer-events: none;
}

#hero .container {
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ────────────────────────────
   S2 — O PROBLEMA
──────────────────────────── */
#problema .lead {
  font-size: 20px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 0;
}

#problema .lead em {
  font-style: normal;
  color: var(--gold);
}

/* ────────────────────────────
   S3 — A SOLUÇÃO
──────────────────────────── */
#solucao .solucao-line {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ────────────────────────────
   S4 — O QUE ESTÁ INCLUÍDO
──────────────────────────── */
.includes-list {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 17px;
  color: var(--text);
}

.includes-list li .icon {
  font-size: 20px;
  line-height: 1.5;
  flex-shrink: 0;
}

.includes-image-placeholder {
  margin-top: 56px;
  border: 1px dashed var(--border);
  border-radius: 6px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* ────────────────────────────
   S5 — PARA QUEM É
──────────────────────────── */
.checklist {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 17px;
  color: var(--text);
}

.checklist li .check {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ────────────────────────────
   S6 — RESULTADOS
──────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.result-card {
  background-color: var(--card-bg);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 32px 28px;
}

.result-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.result-card p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

/* ────────────────────────────
   S7 — PREÇO E CTA
──────────────────────────── */
#preco {
  text-align: center;
}

.price-block {
  margin: 32px 0 12px;
}

.price-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(56px, 10vw, 88px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.price-period {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 8px;
}

.price-duration {
  font-size: 15px;
  color: #666;
  margin-bottom: 12px;
}

.price-warning {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ────────────────────────────
   S8 — QUEM É O RAFA
──────────────────────────── */
.rafa-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.rafa-photo-placeholder {
  border: 1px dashed var(--border);
  border-radius: 6px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 16px;
}

.rafa-text h2 {
  margin-bottom: 20px;
}

.rafa-text p {
  font-size: 17px;
}

/* ────────────────────────────
   S9 — DÚVIDAS
──────────────────────────── */
#duvidas {
  text-align: center;
}

#duvidas p {
  font-size: 18px;
  margin-bottom: 36px;
}

/* ────────────────────────────
   FOOTER
──────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}

footer p {
  font-size: 13px;
  color: #444;
}

/* ────────────────────────────
   RESPONSIVO
──────────────────────────── */
@media (max-width: 640px) {
  section {
    padding: 72px 0;
  }

  /* ── Hero mobile: imagem no topo, texto emerge do escuro embaixo ── */
  #hero {
    background-size: 100% auto;
    background-position: center top;
    align-items: flex-end;
  }

  #hero::before {
    /* Degredê de baixo para cima:
       sólido no fundo (onde fica o texto) → transparente no topo (onde aparece a imagem)
       começa a escurecer ~10% antes da imagem terminar (≈ 55% a partir do topo) */
    background: linear-gradient(
      to top,
      rgba(13,13,13,1.00)  0%,
      rgba(13,13,13,1.00) 35%,
      rgba(13,13,13,0.85) 50%,
      rgba(13,13,13,0.40) 65%,
      rgba(13,13,13,0.00) 80%
    );
  }

  #hero .container {
    padding-top: 0;
    padding-bottom: 52px;
  }

  .rafa-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rafa-photo-placeholder {
    aspect-ratio: 16/9;
    max-height: 200px;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }
}
