:root {
    /* Cores atualizadas baseadas no seu código e identidade visual */
    --primary-red: #dc3545; /* Vermelho/Laranja mais vibrante */
    --primary-yellow: #ffc107; /* Amarelo de destaque */
    --primary-teal: #31647f; /* Azul escuro principal (como no seu header) */
    --primary-green: #20c997; /* Verde para itens de Segmentos/Checklists */
    --dark-gray: #31647f; /* Cor do Header e Footer */
    --light-gray: #f8f9fa; /* Fundo claro para seções */
    --text-dark: #31647f;
    --white: #ffffff;

    /* Spacing & Design */
    --spacing-3xl: 80px;
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --radius-md: 10px;
}

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

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* -------------------------------------------------------------------
 * ESTILOS DO HEADER/FOOTER (Reaproveitamento do seu código)
 * ------------------------------------------------------------------- */

.header {
    background-color: var(--primary-red);
    padding: 20px 0;
    position: relative;
    z-index: 1000;
}

.top-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.logo img {
    margin-left: 1rem;
    max-width: 180px;
    height: auto;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
}

.info-item i {
    color: white;
    font-size: 16px;
}

.navigation {
    display: flex;
    justify-content: center;
}

.nav-wrapper {
    background: white;
    border-radius: 50px;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--primary-red);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-teal);
}

/* Botão Hamburger e Responsivo (Mantendo sua lógica original) */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: absolute;
    top: 30px;
    right: 25px;
}

.hamburger, .hamburger::before, .hamburger::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    border-radius: 3px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
}

.hamburger::before { position: absolute; top: -8px; }
.hamburger::after { position: absolute; top: 8px; }

.header.nav-open .hamburger { background-color: transparent; }
.header.nav-open .hamburger::before { transform: rotate(45deg); top: 0; }
.header.nav-open .hamburger::after { transform: rotate(-45deg); top: 0; }


@media (max-width: 992px) {
    .top-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        padding: 40px 20px;
        border-radius: 0;
    }

    .header.nav-open .nav-wrapper {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        font-size: 1.2rem; /* Reduzindo o tamanho da fonte para o mobile */
    }
}


/* Footer Styles (Ajustados) */
.footer {
    background: var(--primary-red);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto; /* Garante que o footer fique no fim da página */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--light-gray);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    line-height: 1.6;
    color: #f8f9fa;
    display: flex;
    align-items: center;
}

.footer-section p i {
    margin-right: 10px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    border-top: 1px solid #fff;
    padding-top: 20px;
    text-align: center;
    color: #fff;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.footer-description {
    color: #FFF;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 35ch;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-yellow);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    .footer-section {
        text-align: center;
    }
    .footer-section h3 {
        margin-top: 10px;
    }
    .footer-section p, .footer-section ul {
        justify-content: center;
    }
    .footer-description {
        max-width: 100%;
    }
    .social-icons {
        justify-content: center;
    }
}

/* Float WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-out;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-8px);
    box-shadow: 2px 8px 15px rgba(0, 0, 0, 0.4);
}

/* -------------------------------------------------------------------
 * ESTILOS ESPECÍFICOS DA PÁGINA SOBRE (NOVAS SEÇÕES)
 * ------------------------------------------------------------------- */

.hero-section {
    background: url('../imagens/ceuazulfinal.png') no-repeat center center/cover;
    height: 300px;
    color: white;
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-section .breadcrumb a {
    color: var(--primary-yellow);
    text-decoration: none;
}
.hero-section .breadcrumb .breadcrumb-item.active {
    color: var(--primary-red);
}

.section-apice {
    padding: 60px 0;
    color: var(--dark-gray);
}


.bg-light-apice {
    background-color: var(--light-gray);
}

.title-apice {
    color: var(--primary-teal);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.title-apice p {
    font-size: 1rem;
    color: var(--primary-teal);
    margin-bottom: 30px;
}

.subtitle-apice {
    color: var(--primary-teal);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.subtitle-apice p {
    font-size: 1rem;
    color: var(--primary-teal);
    margin-bottom: 20px;
}

.lead {
    font-size: 1rem;
    color: var(--primary-teal);
}

.list-apice li {
    font-size: 1rem;
    margin-bottom: 8px;
}

.icon-red {
    color: var(--primary-red);
}
.icon-yellow {
    color: var(--primary-yellow);
}

.alert-info-apice {
    background-color: #f7e0e2; /* Cor mais suave */
    color: #8c2a35;
    border: 1px solid var(--primary-red);
    border-radius: var(--radius-md);
    padding: 15px;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    color:var(--primary-red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Estilo para os Cards da Equipe Educacional */
.card-apice {
    padding: 30px;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary-red) !important;
}

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

/* Responsividade para Imagens */
.img-fluid {
    height: auto;
    max-width: 100%;
}

.btn-saiba-mais {
    display: inline-block;
    background-color: #dc3545;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-saiba-mais:hover {
    background-color: #ffc107;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}


