
/* =====================================
   COLEGIO N'WANATI - NOVA IDENTIDADE
===================================== */

:root {
    --green: #087451;
    --green-light: #0B9367;
    --gold: #C9A34A;
    --blue: #09275E;
    --blue-light: #173B78;
    --cream: #F7F5EF;
    --white: #FFFFFF;
    --dark: #17243A;
    --muted: #727B85;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background: var(--white);
}

a {
    text-decoration: none;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}

.section {
    padding: 105px 0;
}


/* =====================================
   HEADER
===================================== */

.header {
    background: rgba(255,255,255,0.97);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--green);
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 25px;
}

.logo strong {
    display: block;
    font-size: 16px;
    letter-spacing: 1px;
}

.logo small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-button {
    background: var(--green);
    color: white;
    padding: 12px 22px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.nav-button:hover {
    background: var(--green-light);
    transform: translateY(-2px);
}


/* =====================================
   HERO - PRIMEIRA IMPRESSÃO
===================================== */

.hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(201,163,74,0.13), transparent 30%),
        var(--cream);
    padding: 100px 0 110px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.welcome-label {
    display: inline-block;
    color: var(--green);
    background: rgba(201,163,74,0.17);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero h1 {
    color: var(--green);
    font-family: Georgia, serif;
    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.12;
    font-weight: 700;
    margin: 25px 0;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--gold);
}

.hero-text > p {
    color: #66716a;
    font-size: 17px;
    max-width: 490px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 23px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

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

.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(23,59,50,0.2);
}

.btn-secondary {
    border: 1px solid #b7bdb8;
    color: var(--green);
    background: white;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-image {
    position: relative;
}


.image-placeholder {
    position: relative;
    min-height: 440px;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--blue);
    box-shadow: 20px 20px 0 rgba(201, 163, 74, 0.22);
    padding: 0;
    max-width: 440px;
    width: 100%;
    min-height: 400px;
    margin-left: auto;
}

.hero-students-image {
    width: 100%;
    height: 400px;
    min-height: 400px;
    display: block;
    object-fit: contain;
    object-position: center;
    background: var(--blue);
    border-radius: 12px;
}

.image-placeholder .hero-image-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 12px;
    background: linear-gradient(
        transparent,
        rgba(9, 39, 94, 0.92)
    );
    color: #FFFFFF;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 750px) {
    .image-placeholder {
        max-width: 100%;
        min-height: 360px;
        margin: 0 auto;
    }

    .hero-students-image {
        height: 360px;
        min-height: 360px;
    }
}

.image-placeholder span {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

.image-placeholder p {
    color: #e4e9e4;
    margin-top: 12px;
    font-size: 14px;
}


/* =====================================
   TÍTULOS DAS SECÇÕES
===================================== */

.section-heading {
    text-align: center;
    max-width: 690px;
    margin: 0 auto 55px;
}

.section-heading span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2 {
    color: var(--green);
    font-family: Georgia, serif;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
    margin: 15px 0;
}

.section-heading p {
    color: var(--muted);
    font-size: 15px;
}


/* =====================================
   SOBRE A ESCOLA
===================================== */

.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.info-card {
    padding: 35px 30px;
    border: 1px solid #eceeea;
    border-radius: 9px;
    background: white;
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.info-card h3 {
    color: var(--green);
    font-size: 19px;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--muted);
    font-size: 14px;
}


/* =====================================
   CLASSES
===================================== */

.classes {
    background: var(--cream);
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.class-card {
    background: white;
    border: 1px solid #ebe9df;
    border-radius: 8px;
    padding: 35px 20px;
    text-align: center;
    color: var(--green);
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: bold;
    transition: 0.3s;
}

.class-card:hover {
    background: var(--green);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(23,59,50,0.15);
}


/* =====================================
   MATRÍCULAS 2027
===================================== */

.enrollment {
    background:
        radial-gradient(circle at 10% 90%, rgba(201,163,74,0.15), transparent 30%),
        var(--green);
    color: white;
    text-align: center;
    position: relative;
}

.enrollment-content {
    max-width: 750px;
}

.enrollment-label {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.enrollment h2 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 52px);
    margin: 18px 0;
}

.enrollment-content > p {
    color: #dce6df;
    font-size: 16px;
}

.enrollment-classes {
    font-weight: bold;
    margin: 15px 0 30px;
}

.enrollment .btn-primary {
    background: var(--gold);
    color: var(--green);
}

.enrollment .btn-primary:hover {
    background: white;
}


/* =====================================
   CONTACTOS
===================================== */

.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.contact-card {
    background: var(--cream);
    padding: 32px 25px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 3px solid var(--gold);
}

.contact-card h3 {
    color: var(--green);
    margin-bottom: 12px;
    font-size: 18px;
}

.contact-card p {
    color: var(--muted);
    font-size: 14px;
}


/* =====================================
   FOOTER
===================================== */

.footer {
    background: #102820;
    color: white;
    text-align: center;
    padding: 55px 0 35px;
}

.footer h3 {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 22px;
    letter-spacing: 1px;
}

.footer p {
    color: #d5ddd8;
}

.copyright {
    font-size: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
}


/* =====================================
   ANIMAÇÕES DISCRETAS
===================================== */

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text,
.hero-image {
    animation: appear 0.8s ease both;
}

.hero-image {
    animation-delay: 0.15s;
}


/* =====================================
   TABLETS
===================================== */

@media (max-width: 950px) {

    .navbar {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .hero-content {
        gap: 35px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =====================================
   TELEMÓVEIS
===================================== */

@media (max-width: 600px) {

    .container {
        width: 92%;
    }

    .section {
        padding: 70px 0;
    }

    .navbar {
        gap: 12px;
    }

    .logo strong {
        font-size: 13px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .nav-button {
        padding: 10px 13px;
        font-size: 11px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .hero {
        padding: 65px 0 75px;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-text > p {
        font-size: 15px;
    }

    .image-placeholder {
        min-height: 280px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .class-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .class-card {
        padding: 25px 10px;
        font-size: 18px;
    }

    .enrollment h2 {
        font-size: 36px;
    }

    .hero-buttons a {
        text-align: center;
    }
}


/* RESPEITAR PREFERÊNCIA DE MOVIMENTO */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}


/* MENU PARA TELEMOVEIS */

.menu-toggle {
    display: none;
    background: var(--green);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 9px 13px;
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 950px) {

    .navbar {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    .nav-links.active {
        display: flex;
    }
}


/* IDENTIDADE VISUAL DA SECÇÃO PRINCIPAL */

.school-emblem {
    width: 85px;
    height: 85px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 48px;
    margin-bottom: 25px;
}

.hero-image-footer {
    margin-top: 35px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 11px;
    letter-spacing: 2px;
    color: #e5d5a9;
}

.image-placeholder {
    position: relative;
}

@media (max-width: 600px) {
    .school-emblem {
        width: 70px;
        height: 70px;
        font-size: 38px;
    }

    .hero-image-footer {
        font-size: 9px;
    }
}

/* =====================================
   MATRÍCULAS E PROPINAS
===================================== */

.fees {
    background: var(--cream);
}

.fees-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: stretch;
}

.fee-card {
    background: white;
    padding: 32px;
    border-radius: 10px;
    border: 1px solid #e8e7df;
    box-shadow: 0 8px 25px rgba(0,0,0,0.035);
}

.fee-card.featured {
    border-top: 4px solid var(--gold);
}

.fee-card-header {
    padding-bottom: 22px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eeeeea;
}

.fee-card-header span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.fee-card-header h3 {
    color: var(--green);
    font-family: Georgia, serif;
    font-size: 24px;
    margin-top: 5px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0ec;
    font-size: 14px;
}

.fee-row span {
    color: var(--muted);
}

.fee-row strong {
    color: var(--green);
    white-space: nowrap;
}

.extra-fees {
    margin-top: 35px;
    padding: 30px;
    background: white;
    border-radius: 10px;
}

.extra-fees h3 {
    color: var(--green);
    margin-bottom: 20px;
}

.extra-fees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.extra-fees-grid div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.extra-fees-grid span {
    color: var(--muted);
    font-size: 13px;
}

.extra-fees-grid strong {
    color: var(--green);
    font-size: 19px;
}

.fees-note {
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    margin: 25px 0;
}

.fees-action {
    text-align: center;
}

@media (max-width: 700px) {

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

    .extra-fees-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .fee-card {
        padding: 23px;
    }

}

.school-logo {
    display: block;
    width: 280px;
    max-width: 85%;
    height: auto;
    object-fit: contain;
    margin: 0 auto 25px;
    border-radius: 10px;
    background: #ffffff;
}

/* Logótipo oficial no cabeçalho */
.logo-image {
    width: 55px;
    height: 55px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
}


/* =====================================
   APRESENTAÇÃO INSTITUCIONAL
   COLÉGIO N'WANATI
===================================== */

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

.about .section-heading {
    max-width: 850px;
    margin: 0 auto 55px;
}

.about .section-heading > span,
.identity-intro > span {
    color: var(--green);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 12px;
}

/* IDENTIDADE */

.identity-section {
    margin-top: 65px;
}

.identity-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 35px;
}

.identity-intro h2 {
    color: var(--blue);
    font-family: Georgia, serif;
    font-size: 32px;
    margin-bottom: 12px;
}

.identity-intro p {
    color: var(--muted);
    line-height: 1.8;
}

.identity-logo {
    display: block;
    width: 170px;
    max-width: 70%;
    height: auto;
    margin: 25px auto 35px;
    object-fit: contain;
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.identity-card {
    background: var(--cream);
    padding: 30px;
    border-radius: 12px;
    border-bottom: 4px solid var(--green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.identity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(9, 39, 94, 0.09);
}

.identity-symbol {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    font-size: 28px;
    margin-bottom: 20px;
}

.identity-card h3 {
    color: var(--blue);
    font-family: Georgia, serif;
    font-size: 22px;
    margin-bottom: 8px;
}

.identity-card h4 {
    color: var(--green);
    font-size: 13px;
    margin-bottom: 12px;
}

.identity-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* FILOSOFIA */

.school-philosophy {
    margin-top: 75px;
    padding: 55px 35px;
    text-align: center;
    background: var(--blue);
    border-radius: 14px;
}

.school-philosophy span {
    color: #B9D9C9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.school-philosophy h2 {
    color: var(--white);
    font-family: Georgia, serif;
    font-size: 32px;
    margin: 18px 0;
}

.school-philosophy p {
    max-width: 720px;
    margin: 0 auto;
    color: #E0E8F3;
    font-size: 15px;
    line-height: 1.9;
}

/* MISSÃO E VISÃO */

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 65px;
}

.institution-card {
    padding: 32px;
    background: var(--cream);
    border-radius: 12px;
    border-left: 5px solid var(--green);
}

.institution-card h3 {
    color: var(--blue);
    font-family: Georgia, serif;
    font-size: 25px;
    margin-bottom: 15px;
}

.institution-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* VALORES */

.values-section {
    margin-top: 75px;
}

.values-section .section-heading {
    margin-bottom: 35px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-item {
    padding: 25px;
    background: var(--white);
    border: 1px solid #E6EAE6;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.value-item:hover {
    border-color: var(--green);
}

.value-item h3 {
    color: var(--green);
    font-size: 17px;
    margin-bottom: 10px;
}

.value-item p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* COMPROMISSO */

.school-commitment {
    margin-top: 70px;
    padding: 45px 35px;
    background: #F0F5F1;
    border-radius: 12px;
    text-align: center;
}

.school-commitment h2 {
    color: var(--blue);
    font-family: Georgia, serif;
    font-size: 29px;
    margin-bottom: 18px;
}

.school-commitment p {
    max-width: 760px;
    margin: 0 auto 22px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 14px;
}

.school-commitment strong {
    color: var(--green);
    font-size: 15px;
    line-height: 1.7;
}

/* RESPONSIVIDADE */

@media (max-width: 750px) {

    .identity-grid,
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

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

    .identity-intro h2 {
        font-size: 27px;
    }

    .school-philosophy h2 {
        font-size: 25px;
    }

    .school-philosophy {
        padding: 40px 22px;
    }
}

@media (max-width: 480px) {

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

    .identity-card,
    .institution-card {
        padding: 23px;
    }

    .school-commitment {
        padding: 35px 22px;
    }

    .school-commitment h2 {
        font-size: 24px;
    }
}

/* Destaque da missão e visão */

.institution-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.institution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(9, 39, 94, 0.08);
}

.institution-card h3::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    background: var(--green);
    margin-top: 12px;
    border-radius: 5px;
}

/* Destaques da página inicial */

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.hero-highlights span {
    color: var(--green);
    background: #EAF3ED;
    padding: 9px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.image-placeholder h2 {
    color: var(--blue);
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1.4;
    margin: 18px 0 10px;
}

.image-placeholder p {
    line-height: 1.7;
}


/* SECÇÃO DE MATRÍCULAS 2027 */

.enrollment {
    background: linear-gradient(135deg, #09275E, #173B78);
    padding: 90px 20px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.enrollment-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.enrollment-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.enrollment-content h2 {
    color: #FFFFFF;
    font-family: Georgia, serif;
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.enrollment-content h2 span {
    display: block;
    color: #C9A34A;
}

.enrollment-description {
    max-width: 650px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.8;
}

.enrollment-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 35px 0;
}

.enrollment-info-item {
    min-width: 150px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
}

.enrollment-info-item strong,
.enrollment-info-item span {
    display: block;
}

.enrollment-info-item strong {
    color: #FFFFFF;
    font-size: 22px;
    margin-bottom: 7px;
}

.enrollment-info-item span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.enrollment-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.enrollment-actions .btn-primary {
    background: #087451;
    color: #FFFFFF;
    border: 2px solid #087451;
}

.enrollment-actions .btn-primary:hover {
    background: #0B9367;
    border-color: #0B9367;
}

.enrollment-actions .btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.65);
}

.enrollment-actions .btn-secondary:hover {
    background: #FFFFFF;
    color: #09275E;
}

.enrollment-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.7;
    margin-top: 28px;
}

/* ADAPTAÇÃO PARA TELEMÓVEIS */

@media (max-width: 600px) {
    .enrollment {
        padding: 65px 18px;
    }

    .enrollment-content h2 {
        font-size: 31px;
    }

    .enrollment-description {
        font-size: 14px;
    }

    .enrollment-info {
        gap: 10px;
    }

    .enrollment-info-item {
        min-width: 125px;
        padding: 16px 12px;
    }

    .enrollment-actions {
        flex-direction: column;
    }

    .enrollment-actions a {
        width: 100%;
        text-align: center;
    }
}

/* CONTACTOS */

.contact {
    background: #F7F5EF;
    padding: 85px 20px;
}

.contact .section-heading {
    margin-bottom: 45px;
}

.contact .section-heading p {
    max-width: 620px;
    margin: 15px auto 0;
    color: #727B85;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-card {
    background: #FFFFFF;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #E9EDE9;
    transition: transform .3s ease, box-shadow .3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(9, 39, 94, .09);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    background: #EAF3ED;
    color: #087451;
    border-radius: 50%;
    margin: 0 auto 22px;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-card h3 {
    color: #09275E;
    font-size: 19px;
    margin-bottom: 15px;
}

.contact-card p {
    color: #727B85;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-card .contact-number {
    color: #087451;
    font-size: 22px;
    font-weight: 700;
}

.contact-link {
    display: inline-block;
    color: #087451;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #087451;
    padding-bottom: 4px;
    transition: color .3s ease;
}

.contact-link:hover {
    color: #0B9367;
}

@media (max-width: 750px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-card {
        padding: 30px 22px;
    }
}

/* RODAPÉ PROFISSIONAL */
.footer {
    background: #09275E;
    color: #FFFFFF;
    padding: 65px 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    background: #FFFFFF;
}

.footer-logo h3 {
    color: #FFFFFF;
    font-size: 17px;
    margin-bottom: 5px;
}

.footer-logo span {
    color: #C9A34A;
    font-size: 12px;
}

.footer-description {
    color: rgba(255,255,255,.75);
    font-size: 14px;
    line-height: 1.9;
    max-width: 350px;
}

.footer-grid h4 {
    color: #C9A34A;
    font-size: 16px;
    margin-bottom: 22px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 13px;
    transition: color .3s ease;
}

.footer-links a:hover {
    color: #C9A34A;
}

.footer-contact p {
    color: rgba(255,255,255,.8);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.footer-whatsapp {
    display: inline-block;
    margin-top: 8px;
    padding: 11px 16px;
    background: #087451;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    transition: background .3s ease;
}

.footer-whatsapp:hover {
    background: #0B9367;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.footer-bottom p,
.footer-bottom a {
    color: rgba(255,255,255,.7);
    font-size: 12px;
}

.footer-bottom a {
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #C9A34A;
}

/* RODAPÉ EM TELEMÓVEIS */

@media (max-width: 750px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* APRESENTAÇÃO DAS CLASSES */

.classes {
    background: #FFFFFF;
    padding: 85px 20px;
}

.classes .section-heading {
    max-width: 720px;
    margin: 0 auto 45px;
}

.classes .section-heading p {
    line-height: 1.8;
    color: #727B85;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.class-card {
    position: relative;
    background: #F7F5EF;
    border: 1px solid #E8ECE8;
    border-radius: 14px;
    padding: 30px 25px;
    min-height: 225px;
    transition: transform .3s ease, box-shadow .3s ease;
    overflow: hidden;
}

.class-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(9, 39, 94, .09);
}

.class-number {
    position: absolute;
    top: 17px;
    right: 20px;
    color: rgba(9, 39, 94, .12);
    font-size: 30px;
    font-weight: 800;
}

.class-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #EAF3ED;
    border-radius: 12px;
    font-size: 23px;
    margin-bottom: 20px;
}

.class-card h3 {
    color: #09275E;
    font-size: 19px;
    margin-bottom: 12px;
}

.class-card p {
    color: #727B85;
    font-size: 13px;
    line-height: 1.8;
}

.classes-cta {
    margin-top: 45px;
    padding: 30px 20px;
    background: #F7F5EF;
    border-radius: 14px;
    text-align: center;
}

.classes-cta p {
    color: #09275E;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

@media (max-width: 750px) {
    .class-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .class-card {
        padding: 25px 18px;
    }
}

@media (max-width: 480px) {
    .class-grid {
        grid-template-columns: 1fr;
    }

    .class-card {
        min-height: auto;
    }
}
/* BOTÃO FLUTUANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}

/* BOTÃO VOLTAR AO TOPO */
.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 100px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--green);
    transform: translateY(-4px);
}

@media (max-width: 480px) {
    .back-to-top {
        right: 20px;
        bottom: 85px;
    }
}