/*
Theme Name: Histórias de Luz
Theme URI: https://historiasdeluz.com.br
Author: Histórias de Luz
Author URI: https://historiasdeluz.com.br
Description: Tema de landing page para o Kit Histórias de Luz - Atividades Bíblicas Infantis PLR
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: historias-de-luz
*/

/* ========================================
   RESET E BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #FFFBF5;
    color: #2D1810;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   VARIÁVEIS CSS
======================================== */
:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --secondary: #22C55E;
    --secondary-dark: #16A34A;
    --accent: #F59E0B;
    --background: #FFFBF5;
    --foreground: #2D1810;
    --muted: #F5F0EB;
    --card-bg: #FFFFFF;
    --border-radius: 16px;
    --shadow: 0 10px 40px rgba(45, 24, 16, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(45, 24, 16, 0.15);
}

/* ========================================
   TIPOGRAFIA
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ========================================
   CONTAINER
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   BOTÕES
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* Animação de pulso */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

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

/* ========================================
   HERO SECTION
======================================== */
.hero {
    background: linear-gradient(135deg, #FFFBF5 0%, #FEF3E2 50%, #E0F2FE 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero h1 .accent {
    color: var(--secondary);
}

.hero-image {
    max-width: 500px;
    width: 100%;
    margin: 30px auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.sale-badge {
    display: inline-block;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.revenue-box {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px 30px;
    display: inline-block;
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.revenue-box .amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

/* ========================================
   PAIN POINTS SECTION
======================================== */
.pain-points {
    padding: 80px 20px;
    background: var(--background);
}

.pain-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--muted);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.pain-item:hover {
    background: var(--card-bg);
    box-shadow: var(--shadow);
    transform: translateX(10px);
}

.pain-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pain-icon svg {
    width: 16px;
    height: 16px;
    color: white;
}

.pain-text strong {
    color: var(--foreground);
}

.pain-text span {
    color: #666;
}

.pain-cta {
    text-align: center;
    margin-top: 40px;
}

.pain-cta p {
    font-size: 1.3rem;
    font-weight: 700;
}

.pain-cta .yes {
    color: var(--primary);
}

.pain-cta .solution {
    color: var(--secondary);
}

/* ========================================
   BENEFITS SECTION
======================================== */
.benefits {
    padding: 80px 20px;
    background: var(--muted);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.benefit-card h3 {
    margin-bottom: 10px;
}

/* ========================================
   EXPERIENCE SECTION
======================================== */
.experience {
    padding: 80px 20px;
    background: var(--background);
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.experience-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

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

.experience-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--muted);
    border-radius: 12px;
}

.experience-list li::before {
    content: '✓';
    width: 25px;
    height: 25px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .experience-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BUSINESS SECTION
======================================== */
.business {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.business h2,
.business h3,
.business p {
    color: white;
}

.business-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.business-feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.business-feature h3 {
    margin-bottom: 10px;
}

/* ========================================
   BONUS SECTION
======================================== */
.bonus {
    padding: 80px 20px;
    background: var(--muted);
}

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

.bonus-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bonus-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.bonus-image {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 20px;
    border-radius: 12px;
}

.bonus-value {
    background: linear-gradient(135deg, var(--accent) 0%, #D97706 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 15px;
}

/* ========================================
   OFFER SECTION
======================================== */
.offer {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    text-align: center;
}

.offer h2,
.offer p {
    color: white;
}

.price-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    margin: 40px auto;
    box-shadow: var(--shadow-lg);
}

.price-original {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.price-current {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 10px 0;
}

.price-installments {
    font-size: 1rem;
    color: #666;
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials {
    padding: 80px 20px;
    background: var(--background);
}

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

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

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
}

.testimonial-result {
    color: var(--secondary);
    font-size: 0.9rem;
}

.testimonial-quote {
    font-style: italic;
    color: #666;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

/* ========================================
   FULL PACKAGE
======================================== */
.full-package {
    padding: 80px 20px;
    background: var(--muted);
}

.package-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.package-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

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

.package-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.package-list li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .package-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   HOW IT WORKS
======================================== */
.how-it-works {
    padding: 80px 20px;
    background: var(--background);
}

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

.step-card {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.audience-section {
    margin-top: 60px;
    padding: 40px;
    background: var(--muted);
    border-radius: var(--border-radius);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.audience-item {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

/* ========================================
   FINAL OFFER
======================================== */
.final-offer {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--foreground) 0%, #1a0f0a 100%);
    color: white;
}

.final-offer h2 {
    color: white;
}

.inclusions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 40px 0;
}

.inclusion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.inclusion-item::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.final-price-box {
    text-align: center;
    margin: 40px 0;
}

.final-price-box .original {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.5);
    text-decoration: line-through;
}

.final-price-box .current {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
    margin: 10px 0;
}

.final-price-box .installments {
    color: rgba(255,255,255,0.8);
}

.guarantees {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
}

.guarantee-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   FAQ
======================================== */
.faq {
    padding: 80px 20px;
    background: var(--background);
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--muted);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer-content {
    padding: 0 25px 20px;
    color: #666;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--foreground);
    color: rgba(255,255,255,0.8);
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* ========================================
   UTILITIES
======================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    
    .btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    section {
        padding: 60px 20px;
    }
}
