/* ==========================================================================
   1. RESET BÁSICO E VARIÁVEIS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #21A5A1; /* Verde azulado / Turquesa */
    --primary-dark: #1A8683;
    --accent-color: #25D366;  /* Verde WhatsApp */
    --text-dark: #2C3E50;
    --text-muted: #667085;
    --bg-light: #F4F9F9;
    --white: #FFFFFF;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. CABEÇALHO / HEADER
   ========================================================================== */
.header {
    width: 100%;
    background-color: var(--white);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
}

/* Slogan centralizado no cabeçalho */
.header-slogan {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

/* Contentor de botões à direita */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* BOTÃO DESTACADO: Área do Aluno */
.btn-header-aluno {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    border: 2px solid var(--text-dark);
    box-shadow: 0 3px 10px rgba(44, 62, 80, 0.15);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-header-aluno:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 165, 161, 0.3);
}

/* BOTÃO: WhatsApp Header */
.btn-header-whatsapp {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-header-whatsapp:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
    background-color: var(--bg-light);
    padding: 70px 0;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    background-color: rgba(33, 165, 161, 0.15);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.btn-whatsapp {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* ==========================================================================
   4. CARDS / BENEFÍCIOS
   ========================================================================== */
.features {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   5. GALERIA / ESPAÇO
   ========================================================================== */
.espaco, .gallery {
    background-color: var(--bg-light);
    padding: 70px 0;
}

.espaco h2,
.espaco p,
#espaco h2,
#espaco p,
.espaco .container {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.galeria-grid, .grid-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.galeria-item, .gallery-item {
    max-width: 350px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.galeria-item img, .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.galeria-item:hover img, .gallery-item:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   6. LOCALIZAÇÃO E CONTATO
   ========================================================================== */
.location {
    padding: 80px 0;
}

.grid-location {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.location-info h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.location-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 1.5rem;
}

.sub-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   7. SEÇÃO ÁREA DO ALUNO (SISTEMA EAD)
   ========================================================================== */
.student-area-section {
    background-color: var(--bg-light);
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.student-container {
    max-width: 700px;
    margin: 0 auto;
}

.student-icon {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.student-area-section h2 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.student-area-section p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.btn-secondary {
    display: inline-block;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

/* ==========================================================================
   8. CTA BANNER
   ========================================================================== */
.cta-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-whatsapp-large {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-whatsapp-large:hover {
    background-color: #E6F7F6;
}

/* ==========================================================================
   9. RODAPÉ E WEBMAIL
   ========================================================================== */
.footer {
    background-color: #1E293B;
    color: #94A3B8;
    padding: 30px 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer p {
    margin-bottom: 8px;
}

.footer-links {
    margin-top: 12px;
}

.webmail-link {
    color: #CBD5E0;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.webmail-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ==========================================================================
   10. BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   11. RESPONSIVIDADE (DISPOSITIVOS MÓVEIS)
   ========================================================================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }

    .header-slogan {
        display: none;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .btn-header-aluno, .btn-header-whatsapp {
        font-size: 0.78rem;
        padding: 8px 12px;
    }

    .grid-location {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.7rem;
    }
}