/* =========================
   Base e variáveis
   ========================= */
:root {
  --bg: #f8f9fa;
  --text: #333333;
  --heading: #1a1a2e;
  --hero-start: #1a1a2e;
  --hero-end: #16213e;
  --cta: #e94560;
  --cta-hover: #cf3d54;
  --card-bg: #ffffff;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-sm: 5px;
  --container-max: 960px;
  --hero-title: #ffd700; /* DOURADO para o título da Hero */
}

* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: 100%;
  max-width: var(--container-max); /* Mantido para telas padrão */
  padding: 0 20px;
  margin: 0 auto;
}

h1, h2 {
  margin: 0 0 1rem 0;
  color: var(--heading);
}
h1 { font-size: 1.9rem; }
h2 { font-size: 1.5rem; }
p { margin: 0 0 1rem 0; }

/* =========================
   Hero
   ========================= */
.hero {
  background: linear-gradient(to bottom, var(--hero-start), var(--hero-end));
  color: #ffffff;
  text-align: center;
  padding: 2rem 0;
}

/* OTIMIZAÇÃO CRO: REMOÇÃO DA RESTRIÇÃO GLOBAL DE MAX-WIDTH (420px) */
.hero-img {
  width: 100%;
  /* max-width: 420px; <--- REMOVIDO PARA PERMITIR EXPANSÃO NO DESKTOP */
  height: auto;
  border-radius: var(--radius);
  margin: 0 auto 1rem auto;
  display: block;
}

.hero h1 {
  color: var(--hero-title); /* aplica dourado só no título da Hero */
}
.subtitle { font-size: 1.1rem; font-style: italic; color: #e8e8f2; }

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cta);
  color: #ffffff;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: bold;
  margin: 1rem 0;
  min-height: 44px;
  transition: background 0.2s ease, transform 0.1s ease;
}
.cta-primary:hover { background: var(--cta-hover); transform: translateY(-1px); }

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-end);
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  /* OTIMIZAÇÃO CRO: Novo CTA Pós-Autor e Trecho */
  transition: background 0.2s ease;
}
.cta-secondary:hover { background: #0f1730; }


.microcopy { font-size: 0.9rem; color: #dddddd; }
.devices { margin-top: 0.5rem; color: #d7d7ea; }
.devices span { margin: 0 0.5rem; }

/* =========================
   Seções genéricas
   ========================= */
section { padding: 2rem 0; }
.social-proof, .excerpt, .benefits, .author, .amazon, .form-section {
  background: var(--card-bg);
  margin: 1rem 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px; /* Adicionando padding padrão para estas seções */
}

/* =========================
   Prova social
   ========================= */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial {
  padding: 1rem;
  border-left: 4px solid var(--cta);
  background: #fff;
  border-radius: 6px;
}

/* =========================
   Trecho (Sussurro da Aurora)
   ========================= */
blockquote {
  font-style: italic;
  font-size: 1.1rem;
  border-left: 4px solid var(--heading);
  padding-left: 1rem;
  margin: 1rem 0;
  /* OTIMIZAÇÃO: Estilo para o trecho de tensão (A) */
  line-height: 1.8; 
}
.excerpt { text-align: center; } /* Centraliza o trecho */


/* =========================
   Autor (Onde o novo CTA de Fluxo foi inserido)
   ========================= */
.author .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.author-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}


/* =========================
   Formulário
   ========================= */
.form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.mini-cover {
  width: 120px;
  height: auto;
  border-radius: var(--radius-sm);
}
form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  max-width: 360px;
}
input {
  padding: 1rem;
  border: 1px solid #dddddd;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  width: 100%;
}
button {
  background: var(--cta);
  color: #ffffff;
  padding: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: bold;
  cursor: pointer;
}
button:hover { background: var(--cta-hover); }

/* =========================
   CTA final (Final Cta Section)
   ========================= */
.final-cta {
  background: var(--hero-start);
  color: #ffffff;
  text-align: center;
  padding: 3rem 0;
}

/* =======================================
   Breakpoints e OTIMIZAÇÕES DE CRO/DESKTOP
   ======================================= */

/* AJUSTES PARA TELAS MÉDIAS (768px) */
@media (min-width: 768px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  
  .testimonials { flex-direction: row; }
  
  /* Mantido o ajuste do autor original para flex-row */
  .author .container { 
    flex-direction: row; 
    align-items: center; 
    gap: 2rem;
  }
  .author-img { 
    width: 200px; 
    height: 200px; 
    border-radius: 12px; /* Mantido o retângulo arredondado */
    flex-shrink: 0;
  }
  .author .container > div {
    flex: 1;
  }

  .form-wrapper { flex-direction: row; }
  .mini-cover { width: 150px; }
}

/* OTIMIZAÇÃO DESKTOP: Maximização do impacto visual (1024px) */
@media (min-width: 1024px) {
    
  /* AUMENTO DO CONTAINER: Permite que a Hero Image de 66.5kb respire e domine (B) */
  .hero .container {
    max-width: 1200px; /* Largura expandida para efeito cinematográfico */
  }

  /* OTIMIZAÇÃO GERAL DO CONTAINER */
  .container {
    max-width: 1000px; /* Aumentar o container geral para melhor leitura no PC */
  }

  /* RESOLUÇÃO DA IMAGEM 'TÍMIDA': Garante que a Hero Image use 100% do novo espaço */
  .hero-img {
    width: 100%; 
    max-width: 100%; /* Garante que não haja restrição de 420px aqui */
    margin-bottom: 30px; 
  }
  
  /* Ajuste do Título H1 para acompanhar o tamanho da tela */
  .hero h1 {
    font-size: 2.8em; 
  }
  
}