/* ===== RESET E VARIÁVEIS GLOBAIS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6B3A2A;
  --secondary: #D4A017;
  --accent: #C0392B;
  --light-bg: #FDF6E3;
  --dark-bg: #3D1C08;
  --text-dark: #3D1C08;
  --text-light: #FDF6E3;
  --gold: #FFD700;
  --gradient-warm: linear-gradient(180deg, #3D1C08 0%, #6B3A2A 40%, #8B5E3C 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--light-bg);
  line-height: 1.6;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka One', cursive;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
}

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

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  font-family: 'Fredoka One', cursive;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

.btn-primary:hover {
  background: #a0311f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark-bg);
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.btn-secondary:hover {
  background: #c49410;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.4);
}

/* ===== HERO SECTION ===== */
.hero {
  background: var(--gradient-warm);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.webp');
  background-size: cover;
  background-position: center top;
  opacity: 0.3;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61,28,8,0.5) 0%, rgba(61,28,8,0.2) 50%, rgba(253,246,227,1) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #FFF5E4;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--gold);
  text-shadow: 0 3px 10px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.8);
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FDF6E3;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  margin-bottom: 0.5rem;
}

.hero .sub-subtitle {
  font-size: 1.1rem;
  color: #F5C842;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
}

.hero-image {
  margin: 2rem auto;
  max-width: 380px;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(212,160,23,0.3);
  border: 4px solid var(--secondary);
  animation: float 3s ease-in-out infinite;
  display: block;
}

.pdf-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.pdf-badge span:first-child {
  font-size: 18px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-cta .btn {
  width: 100%;
  max-width: 400px;
}

.hero-cta p {
  font-size: 0.9rem;
  color: #2D1B0A;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ===== SEÇÃO PROBLEMA ===== */
.section-problem {
  background: var(--light-bg);
  padding: 3.5rem 0;
}

.section-divider {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.parchment-card {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--secondary);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.parchment-card p {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.parchment-card strong {
  color: var(--primary);
}

/* ===== SEÇÃO O QUE É ===== */
.section-what {
  background: linear-gradient(135deg, #F5E6C8 0%, #EDD9A3 100%);
  padding: 3.5rem 0;
}

.what-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .what-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.what-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 3px solid var(--secondary);
}

.what-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.75rem;
  min-width: 50px;
}

.feature-content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  font-family: 'Fredoka One', cursive;
  margin-bottom: 0.5rem;
}

.feature-content p {
  font-size: 0.95rem;
  color: #5C3A1E;
  margin: 0;
}

/* ===== SEÇÃO PERSONAGENS ===== */
.section-characters {
  background: var(--light-bg);
  padding: 3.5rem 0;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.character-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.character-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.character-info {
  padding: 1.5rem;
  text-align: center;
  border-top: 3px solid var(--secondary);
}

.character-info h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.character-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.character-desc {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* ===== SEÇÃO CONTEÚDO ===== */
.section-content {
  background: var(--primary);
  color: white;
  padding: 3.5rem 0;
}

.section-content h2 {
  color: var(--gold);
  text-align: center;
}

.section-content .subtitle {
  text-align: center;
  color: #EDD9A3;
  margin-bottom: 2rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.content-item {
  background: rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--secondary);
  backdrop-filter: blur(10px);
}

.content-item-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.content-item h3 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.content-item p {
  font-size: 0.9rem;
  color: #EDD9A3;
  margin: 0;
}

/* ===== GALERIA DE PÁGINAS ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ===== SEÇÃO PARA QUEM ===== */
.section-for-who {
  background: var(--light-bg);
  padding: 3.5rem 0;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 0.75rem;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.checklist-item::before {
  content: '✓';
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

.checklist-item p {
  margin: 0;
  color: var(--text-dark);
}

/* ===== SEÇÃO TESTIMONIAIS ===== */
.section-testimonials {
  background: linear-gradient(135deg, #F5E6C8 0%, #EDD9A3 100%);
  padding: 3.5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-top: 4px solid var(--accent);
}

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

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: #999;
}

/* ===== SEÇÃO PRICING ===== */
.section-pricing {
  background: var(--light-bg);
  padding: 3.5rem 0;
}

.pricing-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  border-top: 4px solid var(--secondary);
}

.pricing-label {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1rem;
}

.pricing-old {
  font-size: 1.5rem;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 0.5rem;
}

.pricing-new {
  font-size: 3rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-period {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.benefits-list {
  text-align: left;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.benefits-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.pricing-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-cta .btn {
  width: 100%;
}

.security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  margin-top: 1rem;
}

/* ===== SEÇÃO GARANTIA ===== */
.section-guarantee {
  background: linear-gradient(135deg, #F5E6C8 0%, #EDD9A3 100%);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  margin: 2rem 0;
}

.guarantee-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.guarantee-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin: 0;
}

/* ===== SEÇÃO FAQ ===== */
.section-faq {
  background: var(--light-bg);
  padding: 3.5rem 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background: white;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-answer p {
  color: #666;
  margin: 0;
}

/* ===== SEÇÃO CTA FINAL ===== */
.section-final-cta {
  background: var(--gradient-warm);
  color: white;
  padding: 3.5rem 0;
  text-align: center;
}

.section-final-cta h2 {
  color: var(--gold);
}

.section-final-cta p {
  color: #EDD9A3;
  font-size: 1.1rem;
}

.final-cta-btn {
  margin-top: 2rem;
  display: inline-block;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark-bg);
  color: #EDD9A3;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

footer p {
  margin: 0.5rem 0;
}

/* ===== STICKY CTA MOBILE ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem;
  background: linear-gradient(to top, rgba(253,246,227,1) 0%, rgba(253,246,227,0) 100%);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

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

.sticky-cta .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-image {
    max-width: 300px;
  }

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

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-new {
    font-size: 2rem;
  }
}

/* ===== ANIMAÇÕES ===== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: slideInUp 0.6s ease-out forwards;
}

.reveal.delay-1 { animation-delay: 0.1s; }
.reveal.delay-2 { animation-delay: 0.2s; }
.reveal.delay-3 { animation-delay: 0.3s; }
