/* CSS Otimizado para Campanhas de Lead - EducaGenius */
/* Baseado na identidade visual da arte fornecida */

:root {
    /* Paleta EducaGenius - Cores Sólidas */
    --primary-blue: #102138;
    --primary-orange: #dd4920;
    --white: #f9f3ec;
    --pure-white: #ffffff;
    
    /* Variações para legibilidade */
    --dark-text: #102138;
    --light-text: #5a5a5a;
    --success-green: #22c55e;
    --error-red: #dc2626;
    --border-light: #e5e5e5;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(16, 33, 56, 0.1);
    --shadow-md: 0 4px 6px rgba(16, 33, 56, 0.1);
    --shadow-lg: 0 10px 15px rgba(16, 33, 56, 0.1);
    --shadow-xl: 0 20px 25px rgba(16, 33, 56, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--pure-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
    background: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.section-spacing {
    padding: 6rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-orange);
    color: var(--pure-white);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-badge i {
    color: var(--pure-white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    color: var(--primary-orange);
    position: relative;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-benefits {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.benefit-item i {
    color: var(--success-green);
    font-size: 1.2rem;
}

.cta-primary {
    background: var(--primary-orange);
    color: var(--pure-white);
    border: none;
    padding: 20px 32px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    font-family: var(--font-heading);
}

.cta-primary:hover {
    background: #c53e1a;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-subtext {
    margin-top: 12px;
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero Stats Section */
.hero-stats-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-container {
    display: grid;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 2px solid var(--primary-orange);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.stat-card:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-card:hover .stat-number,
.stat-card:hover .stat-text {
    color: var(--pure-white);
}

.stat-card:hover .stat-icon {
    background: var(--pure-white);
    color: var(--primary-orange);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.stat-content {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.2;
    transition: color 0.3s ease;
}

/* Urgency Section */
.urgency-section {
    background: var(--white);
    border: 3px solid var(--primary-orange);
    margin: -50px 20px 0;
    border-radius: 15px;
    position: relative;
    z-index: 10;
}

.urgency-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 25px 40px;
}

.urgency-icon {
    font-size: 2rem;
    color: var(--primary-orange);
}

.urgency-text h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.urgency-text p {
    color: var(--light-text);
    margin: 0;
}

.countdown {
    display: flex;
    gap: 15px;
}

.time-unit {
    text-align: center;
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px;
    border-radius: 8px;
    min-width: 50px;
}

.time-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.time-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.timer-text {
    display: block;
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 8px;
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background: var(--white);
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.form-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
}

/* Chatbot Container */
.chatbot-container {
    max-width: 800px;
    margin: 0 auto;
}

.chatbot-wrapper {
    background: var(--pure-white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-orange);
    margin-bottom: 30px;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-wrapper iframe {
    border-radius: 15px;
    border: none;
}

.chatbot-info {
    text-align: center;
}

.info-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 600;
}

.info-item i {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: var(--pure-white);
}

.benefits-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--pure-white);
    font-size: 1.8rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--pure-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-light);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-orange);
    font-family: serif;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #ffd700;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.testimonial-author span {
    display: block;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* Final CTA Section */
.final-cta-section {
    background: var(--primary-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.final-cta-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.final-cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.final-cta-button {
    font-size: 1.3rem;
    padding: 24px 40px;
    margin: 0 auto 40px auto;
    display: inline-flex;
}

.final-guarantees {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.guarantee-item i {
    color: var(--success-green);
    font-size: 1.2rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 33, 56, 0.8);
}

.modal-content {
    background-color: var(--pure-white);
    margin: 15% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-orange);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header i {
    font-size: 3rem;
    color: var(--success-green);
    margin-bottom: 16px;
}

.modal-header h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.modal-body {
    margin-bottom: 30px;
    text-align: left;
}

.modal-body ul {
    margin: 16px 0;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-close {
    background: var(--primary-blue);
    color: var(--pure-white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #0d1a2b;
}



/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .urgency-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
    
    .chatbot-wrapper {
        padding: 15px;
        min-height: 380px;
    }
    
    .info-items {
        flex-direction: column;
        gap: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .final-guarantees {
        flex-direction: column;
        gap: 20px;
    }
    
    .final-cta-title {
        font-size: 2rem;
    }
    

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}