/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    overscroll-behavior: none; /* evita o scroll extra no rodapé */
    max-width: 100vw;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    overflow-x: hidden;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 100vw;
}

/* Color Variables */
:root {
    --primary-blue: #3b82f6;
    --success-green: #10b981;
    --dark-gray: #1f2937;
    --light-gray: #f8fafc;
    --border-gray: #e5e7eb;
    --text-gray: #6b7280;
    --white: #ffffff;
}

/* Container */
.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.site-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue), #2563eb);
    color: var(--white);
    padding: 48px 0;
    text-align: center;
}

.hero-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-whatsapp {
    background: var(--success-green);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-center {
    text-align: center;
    margin-top: 32px;
}

/* Statistics Section */
.stats {
    background: var(--white);
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}

.stat-item {
    padding: 8px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Image Section */
.image-section {
    padding: 32px 0;
}

.image-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 1 / 1; /* mantém quadrado */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.student-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* Section Styles */
.teachers,
.tuition,
.why-choose,
.testimonials,
.contact {
    padding: 48px 0;
}

.teachers {
    background: var(--white);
}

.tuition {
    background: var(--light-gray);
}

.why-choose {
    background: var(--light-gray);
}

.testimonials {
    background: var(--white);
}

.contact {
    background: var(--light-gray);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--dark-gray);
}

/* Teachers Section */
.teachers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.teacher-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
}

.teacher-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.teacher-name {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 4px;
}

.teacher-subject {
    color: var(--text-gray);
    font-size: 14px;
}

/* Tuition Section */
.tuition-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tuition-item {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-gray);
}

.tuition-highlight {
    background: #f0fdf4;
    border-color: var(--success-green);
}

.tuition-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.tuition-highlight .tuition-title {
    color: var(--success-green);
}

.tuition-subjects {
    color: var(--text-gray);
    margin-bottom: 8px;
}

.tuition-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 4px;
}

.tuition-schedule {
    font-size: 14px;
    color: var(--text-gray);
}

/* Payment Information */
.payment-info {
    background: var(--white);
    padding: 32px 0;
}

.info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 24px;
    border-radius: 8px;
}

.info-title {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 12px;
}

.info-text {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Educational Promises */
.promises {
    background: var(--white);
    padding: 48px 0;
}

.promises-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.promise-item {
    text-align: center;
    padding: 24px;
    background: var(--light-gray);
    border-radius: 8px;
}

.promise-icon {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.promise-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 12px;
}

.promise-item p {
    color: var(--text-gray);
    line-height: 1.5;
}

/* Why Choose Us */
.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.reason-icon {
    color: var(--success-green);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.reason-item p {
    color: var(--text-gray);
}

/* Testimonials */
.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-item {
    background: var(--light-gray);
    padding: 24px;
    border-radius: 8px;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--text-gray);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    color: var(--dark-gray);
}

.testimonial-message {
    color: var(--text-gray);
    line-height: 1.6;
    font-style: italic;
}

/* Contact Section */
.contact-info {
    text-align: center;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--text-gray);
}

.contact-phones {
    margin-top: 16px;
}

.contact-icon {
    color: var(--primary-blue);
    font-size: 16px;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 32px 0;
    margin-top: auto; /* garante que fique no final */
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.footer-credit {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.footer-credit p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 56px;
    height: 56px;
    background: var(--success-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    font-size: 24px;
}

.whatsapp-btn:hover {
    background: #059669;
    transform: scale(1.1);
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .site-title {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .stats-grid {
        gap: 32px;
    }
    
    .promises-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .student-image {
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .site-title {
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .image-container {
        max-width: 300px;
    }
    
    .teacher-item {
        padding: 16px;
    }
    
    .tuition-item {
        padding: 20px;
    }
    
    .testimonial-item {
        padding: 20px;
    }
}
