/* Design System Variables */
:root {
  --color-primary: #C0392B;
  --color-primary-hover: #A93226;
  --color-bg: #FAF7F2;
  --color-text: #1A1008;
  --color-text-light: #5A5048;
  --color-white: #FFFFFF;
  --color-black: #1A1008;
  --color-gray: #EAE5DE;
  
  --font-title: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  
  --spacing-section: 80px;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;

  --border-radius: 12px;
  --shadow-sm: 0 4px 6px rgba(26, 16, 8, 0.05);
  --shadow-md: 0 10px 25px rgba(192, 57, 43, 0.15);
  --shadow-lg: 0 20px 40px rgba(26, 16, 8, 0.1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--color-text);
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--spacing-section) 0;
}

.bg-light {
  background-color: #F2EBE1;
}

.btn {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  font-size: 1.125rem;
}

.btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-large {
  width: 100%;
  font-size: 1.25rem;
  padding: 1.25rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Seção 1: Hero */
.hero-section {
  padding: 100px 0 60px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 16px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  max-height: 600px;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

/* Seção 2: O que você vai receber */
.receive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.receive-list li {
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  font-size: 1.125rem;
}

.receive-list .icon {
  font-size: 1.5rem;
}

.chapters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.chapter-card {
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.chapter-num {
  background: var(--color-primary);
  color: var(--color-white);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  flex-shrink: 0;
}

.chapter-card p {
  font-weight: 500;
  margin: 0;
}

/* Seção 3: Por que escolher */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* Seção 4: Bônus */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.bonus-card {
  background: var(--color-white);
  padding: 40px 32px 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  position: relative;
  text-align: center;
  border-top: 4px solid var(--color-primary);
}

.bonus-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: bold;
}

.bonus-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.bonus-value {
  margin-top: 24px;
  color: var(--color-text-light);
}

.bonus-value strong {
  color: var(--color-primary);
}

/* Seção 5: Oferta */
.offer-section {
  background-color: var(--color-black);
  color: var(--color-white);
}

.offer-header {
  text-align: center;
  margin-bottom: 40px;
}

.offer-header h2 {
  color: var(--color-white);
}

.timer {
  font-size: 4rem;
  font-weight: bold;
  color: var(--color-primary);
  line-height: 1;
  margin-top: 16px;
}

.offer-box {
  background: var(--color-white);
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--border-radius);
  border: 4px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.offer-box h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 8px;
}

.offer-includes {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.offer-list li {
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  font-weight: 500;
}

.price-box {
  text-align: center;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--color-gray);
  border-bottom: 1px solid var(--color-gray);
}

.price-old {
  display: block;
  text-decoration: line-through;
  color: var(--color-text-light);
  font-size: 1.125rem;
}

.price-new {
  display: block;
  font-size: 3rem;
  font-weight: bold;
  color: var(--color-primary);
  line-height: 1.2;
}

.price-note {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.secure-payment {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 16px;
}

/* Seção 6: Carrossel */
.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

.carousel-track {
  position: relative;
  height: 450px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  max-height: 380px;
  object-fit: contain;
}

.slide-caption {
  text-align: center;
  padding: 16px;
  font-weight: 500;
  background: var(--color-white);
  width: 100%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

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

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--color-white);
  position: relative;
  z-index: 10;
}

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

.dot.active {
  background: var(--color-primary);
}

/* Seção 7: Depoimentos */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
}

.user-info h4 {
  margin: 0;
}

.user-info span {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.stars {
  margin-bottom: 16px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--color-text-light);
}

/* Seção 8: Garantia */
.guarantee-box {
  background: var(--color-white);
  padding: 60px 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid var(--color-gray);
}

.guarantee-icon-large {
  font-size: 4rem;
  margin-bottom: 24px;
}

.guarantee-box p {
  margin-bottom: 16px;
  color: var(--color-text-light);
}

.guarantee-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.guarantee-badges span {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Seção 9: FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

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

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

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

/* Seção 10: Rodapé */
.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 40px 0;
  text-align: center;
}

.footer-note {
  font-size: 0.75rem;
  color: #888;
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsividade */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .receive-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .receive-list li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-section: 60px;
  }
  
  .floating-cta {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  
  .floating-cta .btn {
    width: 100%;
    display: block;
  }
  
  .chapters-grid {
    grid-template-columns: 1fr;
  }
  
  .offer-box {
    padding: 24px;
  }
  
  .guarantee-badges {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
