/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES (AQUARELA THEME - MODERN & CLEAN)
   ========================================================================== */
:root {
  /* Palette: Warm Floral Watercolor */
  --primary: #c85a70;
  --primary-dark: #a83d53;
  --primary-light: #fbebee;
  --secondary: #d4a359;
  --gold-accent: #e5b367;
  --text-dark: #1f1a19;
  --text-muted: #5e5452;
  --bg-light: #faf6f4;
  --bg-card: #ffffff;
  --border-light: #ebdcd7;

  /* Typography - Plus Jakarta Sans (Titles) & Inter (Body) */
  --font-title: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-width: 1140px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(200, 90, 112, 0.08);
  --shadow-md: 0 12px 32px rgba(200, 90, 112, 0.12);
  --shadow-lg: 0 20px 48px rgba(200, 90, 112, 0.18);

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   CONTAINERS & LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.medium-container { max-width: 960px; }
.small-container { max-width: 680px; }

.text-center { text-align: center; }

.section {
  padding: 70px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

/* ==========================================================================
   1. TOP ALERT BAR
   ========================================================================== */
.alert-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.font-timer {
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 1.05rem;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  background: radial-gradient(circle at 50% 20%, #fdf5f6 0%, #faf0f2 100%);
  padding: 50px 0 70px 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 2.4rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text-dark);
  max-width: 920px;
  margin-bottom: 24px;
}

.highlight-gold {
  color: var(--primary);
  background: linear-gradient(120deg, rgba(200, 90, 112, 0.12) 0%, rgba(200, 90, 112, 0.04) 100%);
  padding: 2px 10px;
  border-radius: 6px;
}

.hero-mockup-wrapper {
  margin: 15px 0 30px 0;
  perspective: 1000px;
}

.book-mockup-3d {
  max-width: 380px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  overflow: hidden;
  background: #ffffff;
}

.book-mockup-3d:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(200, 90, 112, 0.25);
}

.mockup-img {
  width: 100%;
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 780px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
  color: #ffffff;
  padding: 20px 36px;
  font-size: 1.15rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #28e16d 0%, #1b9e4c 100%);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.cta-guarantee-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.width-full {
  width: 100%;
}

/* Prova Social Hero */
.hero-rating-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.avatar-stack {
  display: flex;
}

.stack-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -10px;
  object-fit: cover;
}

.stack-avatar:first-child {
  margin-left: 0;
}

.stars-row {
  color: #ffb400;
  font-size: 1rem;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.pill-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   3. SEÇÕES DE CONTEÚDO E CARDS
   ========================================================================== */
.section-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 44px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  text-align: left;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   4. CARROSSEL DE PÁGINAS EM FILA (3 ITENS VISÍVEIS, COMPACTOS)
   ========================================================================== */
.section-preview {
  background: #ffffff;
}

.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.carousel-track-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 15px 4px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  align-items: center;
}

.carousel-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  max-width: calc((100% - 32px) / 3);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.carousel-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.carousel-slide img {
  max-height: 240px; /* Tamanho menor para dar a vista geral sem entregar todo o texto/detalhe */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.carousel-btn {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  color: var(--primary-dark);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.prev-btn { left: -22px; }
.next-btn { right: -22px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 10px;
}

/* Responsive adjustments for 3-item queue */
@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
  .prev-btn { left: -10px; }
  .next-btn { right: -10px; }
}

@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .carousel-slide img {
    max-height: 220px;
  }
}

/* ==========================================================================
   5. BONUS SECTION
   ========================================================================== */
.bonus-section {
  background: #ffffff;
}

.bonus-card {
  background: linear-gradient(135deg, #fff9fa 0%, #fcf0f2 100%);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.bonus-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.bonus-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: center;
}

.bonus-img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.bonus-title {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.bonus-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.bonus-list {
  list-style: none;
}

.bonus-list li {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.strike { text-decoration: line-through; color: #999; }

/* ==========================================================================
   6. TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  text-align: left;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.testimonial-author {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   7. PRICING SECTION
   ========================================================================== */
.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
}

.pricing-badge {
  background: var(--primary);
  color: #ffffff;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.pricing-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price-wrapper {
  margin-bottom: 24px;
}

.price-old {
  font-size: 1.1rem;
  color: #a09593;
  text-decoration: line-through;
  display: block;
}

.price-current {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 800;
  margin: 4px 0;
}

.price-current .currency { font-size: 1.5rem; margin-top: 12px; margin-right: 4px; }
.price-current .amount { font-size: 4rem; line-height: 1; }
.price-current .cents { font-size: 1.8rem; margin-top: 8px; }

.price-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-list {
  list-style: none;
  text-align: left;
  margin: 30px 0;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.pricing-list li {
  padding: 10px 0;
  font-size: 1rem;
  color: var(--text-dark);
  border-bottom: 1px dashed var(--border-light);
}

.security-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ==========================================================================
   8. GUARANTEE BOX
   ========================================================================== */
.guarantee-box {
  background: var(--primary-light);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--border-light);
}

.guarantee-badge {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.guarantee-box h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.guarantee-box p {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   9. FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 20px 20px 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.footer {
  background: #1e1918;
  color: #d1c9c7;
  padding: 40px 0;
  font-size: 0.9rem;
}

.footer-brand {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-copy {
  margin-bottom: 12px;
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE ADAPTATIONS)
   ========================================================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .btn-primary {
    padding: 16px 24px;
    font-size: 1rem;
  }
  .bonus-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bonus-img {
    max-width: 220px;
    margin: 0 auto;
  }
  .bonus-list {
    text-align: left;
  }
  .pricing-card {
    padding: 32px 20px;
  }
}
