/* =========================================
   VARIAVEIS TEMA INFANTIL (PASTEL)
========================================= */
:root {
    --color-pink: #FF6B81;
    --color-pink-light: #F48FB1;
    --color-blue: #4EA8DE;
    --color-blue-light: #B3E5FC;
    --color-yellow: #FED330;
    --color-yellow-light: #FFF59D;
    --color-orange: #FA8231;
    --color-green: #26DE81;
    --color-green-light: #A5D6A7;

    --bg-color: #FAFAFA;
    --text-dark: #2F3640;
    --text-light: #718093;
    --white: #FFFFFF;

    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;

    --shadow-soft: 0 10px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 25px rgba(0,0,0,0.1);
    --radius-bubbly: 30px;
}

/* =========================================
   RESET GENÉRICO
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-highlight { color: var(--color-pink); }
.text-blue { color: var(--color-blue); }
.text-orange { color: var(--color-orange); }
.text-green { color: var(--color-green); }

/* =========================================
   HEADER & NAVBAR
========================================= */
.navbar {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-pink);
    font-weight: 700;
}

.main-menu ul {
    display: flex;
    gap: 15px; /* Aproximei os itens porque a hitbox vai ser maior */
    align-items: center;
}

.nav-link {
    font-weight: 700;
    font-size: 17px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    display: block;
    padding: 10px 15px; /* hitbox em retangulo maior */
    border-radius: 12px;
}

.nav-link:hover {
    color: var(--color-blue);
    background-color: var(--color-blue-light); /* opcional para realçar a hitbox visivelmente */
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

/* Área que conecta o menu dropdown ao botão original com hitbox invisivel */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px; /* Preenche o espaco entre o botao e o menu, evita que o rato fuja e feche */
}

.dropdown .arrow {
    font-size: 0.8rem;
    margin-left: 3px;
    display: inline-block;
    transition: transform 0.3s;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow-hover);
    border-radius: 15px;
    padding: 15px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-menu li {
    list-style: none;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.dropdown-menu a:hover {
    background-color: var(--color-blue-light);
    color: var(--color-blue);
    padding-left: 25px; /* Efeito hover divertido */
}

.nav-btn {
    background-color: var(--color-yellow);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s;
    display: inline-block;
}

.nav-btn:hover {
    background-color: #f1c40f;
    transform: translateY(-2px);
}

/* Mobile Toggle Hidden by default */
.nav-toggle, .nav-toggle-label {
    display: none;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    background-color: var(--color-blue-light);
    position: relative;
    padding: 80px 0 150px 0;
    text-align: center;
}

.hero-text-box {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-pink);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 107, 129, 0.4);
}
.btn-primary:hover {
    background-color: #ff4757;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--color-pink);
    border: 2px solid var(--color-pink);
}
.btn-secondary:hover {
    background-color: var(--color-pink-light);
    transform: translateY(-3px);
}

/* SVGs Waves */
.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.wave-bottom svg { display: block; width: calc(100% + 1.3px); height: 80px; }
.wave-bottom .shape-fill { fill: var(--bg-color); }

/* =========================================
   SECTIONS GENERAL
========================================= */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   O COLÉGIO (Intro)
========================================= */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.intro-images {
    position: relative;
    height: 400px;
}

.img-blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-soft);
    animation: morph 8s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background-color: var(--color-yellow-light);
    top: 10%;
    right: 10%;
    z-index: 2;
    /* Adicionar um placeholder bacano ou a sua imagem real por CSS se quiser*/
}

.blob-2 {
    width: 250px;
    height: 250px;
    background-color: var(--color-pink-light);
    bottom: 0;
    left: 0;
    z-index: 1;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

/* =========================================
   CICLOS (Ensino)
========================================= */
.ciclos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.ciclo-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--radius-bubbly);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 3px solid transparent;
}

.ciclo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-yellow:hover { border-color: var(--color-yellow); }
.card-pink:hover { border-color: var(--color-pink); }
.card-blue:hover { border-color: var(--color-blue); }
.card-green:hover { border-color: var(--color-green); }

.card-img-wrapper {
    overflow: hidden;
    border-radius: var(--radius-bubbly);
    margin-bottom: 20px;
    height: 250px;
    background-color: #eee; /* Fallback placeholder */
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ciclo-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.ciclo-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.ciclo-card p {
    color: var(--text-light);
}

/* =========================================
   ATIVIDADES
========================================= */
.atividades-section {
    background-color: var(--color-yellow-light);
    position: relative;
    padding-top: 120px; /* espaco pra onda */
}

.wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.wave-top svg { display: block; width: calc(100% + 1.3px); height: 60px; }
.wave-top .shape-fill { fill: var(--bg-color); }

.atividades-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.atividade-item {
    text-align: center;
    width: 150px;
}

.icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin: 0 auto 15px auto;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.atividade-item:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.icon-green { background-color: var(--color-green-light); color: var(--color-green); }
.icon-blue { background-color: var(--color-blue-light); color: var(--color-blue); }
.icon-pink { background-color: var(--color-pink-light); color: var(--color-pink); }
.icon-yellow { background-color: var(--white); color: var(--color-orange); }

.atividade-item h4 {
    font-size: 1.3rem;
}

/* =========================================
   VANTAGENS
========================================= */
.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vantagem-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--color-orange);
    transition: transform 0.3s;
}

.vantagem-card:hover {
    transform: translateY(-5px);
}

.v-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(0,0,0,0.05);
    font-weight: 800;
}

.vantagem-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.vantagem-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* =========================================
   BANNER PREÇÁRIOS
========================================= */
.banner-precarios {
    background-color: var(--color-blue);
    padding: 60px 0;
    margin-top: 50px;
    z-index: 2;
    position: relative;
}

.text-white { color: var(--white) !important; }
.text-yellow { color: var(--color-yellow) !important; }

.precarios-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.d-inline-flex {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    font-size: 1.2rem;
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    position: relative;
    padding-top: 100px;
}

.wave-top-footer {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.wave-top-footer svg { display: block; width: calc(100% + 1.3px); height: 50px; }
.wave-top-footer .shape-fill { fill: var(--bg-color); }

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer h4 {
    color: var(--color-yellow);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    margin: 15px 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}
.footer-links ul li a:hover {
    color: var(--color-pink);
    padding-left: 5px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}
.contact-item p {
    color: rgba(255,255,255,0.7);
}

.footer-schedule p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* =========================================
   NOTÍCIAS (SOCIAL FEED ESTILO)
========================================= */
.noticias-section {
    background-color: var(--white);
    padding: 60px 0;
}
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.noticia-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.noticia-img-wrap {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust based on original image aspect ratio */
}
.noticia-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.noticia-overlay-logo {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.noticia-overlay-logo img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: white;
    padding: 3px;
    object-fit: contain;
}
.noticia-content {
    padding: 25px 25px;
}
.noticia-categoria {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #D85D83; /* Pink from screenshot */
    text-transform: uppercase;
    margin-bottom: 12px;
}
.noticia-categoria svg {
    color: #D85D83;
}
.noticia-titulo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

/* =========================================
   RESPONSIVO
========================================= */
@media (max-width: 900px) {
    .intro-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 { font-size: 2.8rem; }
    
    .nav-toggle-label {
        display: block;
        cursor: pointer;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--text-dark);
        height: 3px;
        width: 30px;
        border-radius: 2px;
        position: relative;
    }
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    .nav-toggle-label span::before { bottom: 8px; }
    .nav-toggle-label span::after { top: 8px; }
    
    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--white);
        width: 100%;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 400ms ease-in-out;
        box-shadow: var(--shadow-soft);
    }
    
    .main-menu ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: var(--color-blue-light);
        display: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin-top: 10px;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
        transform: none;
    }

    .nav-toggle:checked ~ .main-menu {
        transform: scale(1, 1);
    }
}

/* =========================================
   NOVO LAYOUT EDITORIAL
========================================= */
:root {
    --ink: #141414;
    --paper: #fffdf6;
    --sand: #f6f2df;
    --sky: #8fdbf3;
    --lilac: #cdc6ea;
    --rose: #f7c2cc;
    --butter: #f8e28a;
    --mint: #e8f7f2;
}

body.page-home,
body.page-detail {
    background: #ffffff;
    color: var(--ink);
    font-family: 'Nunito', sans-serif;
}

body.page-home h1,
body.page-home h2,
body.page-home h3,
body.page-home h4,
body.page-detail h1,
body.page-detail h2,
body.page-detail h3,
body.page-detail h4 {
    font-family: 'Fredoka', sans-serif;
    letter-spacing: -0.03em;
}

body.page-home .navbar,
body.page-detail .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(141, 220, 243, 0.96);
    box-shadow: none;
    backdrop-filter: blur(10px);
    padding: 10px 0;
}

body.page-home .nav-container,
body.page-detail .nav-container {
    max-width: 1380px;
    gap: 24px;
}

body.page-home .logo-img,
body.page-detail .logo-img {
    height: 76px;
    transform: scale(1.3);
}

body.page-home .main-menu ul,
body.page-detail .main-menu ul {
    gap: 12px;
}

body.page-home .nav-link,
body.page-detail .nav-link {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

body.page-home .nav-link:hover,
body.page-detail .nav-link:hover {
    background: #ffffff;
    color: var(--ink);
}

body.page-home .nav-btn,
body.page-detail .nav-btn {
    background: rgba(255, 248, 221, 0.9);
    border-radius: 999px;
    color: #b6b09a;
    font-size: 0.8rem;
    padding: 12px 22px;
    white-space: nowrap;
}

body.page-home .nav-btn:hover,
body.page-detail .nav-btn:hover {
    transform: translateY(-1px);
}

body.page-home .site-shell,
body.page-detail .site-shell {
    max-width: 1380px;
    margin: 0 auto;
    padding: 28px 24px 0;
}

body.page-home .hero-panel,
body.page-detail .page-hero {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(20, 20, 20, 0.08);
}

body.page-home .hero-panel {
    background: linear-gradient(180deg, #ffffff 0%, #fbfbf7 100%);
    background: linear-gradient(to bottom, #ffffff 0 82px, #f2fbff 82px 100%);
    grid-template-columns: 0.95fr 1.05fr;
    min-height: 380px;
    position: relative;
}

body.page-home .hero-panel.hero-panel--image {
    grid-template-columns: 1fr;
}

body.page-home .hero-copy {
    background: var(--butter);
    padding: 54px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

body.page-home .hero-copy h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 0.92;
    margin: 18px 0 0;
    color: var(--ink);
}

body.page-home .hero-copy p {
    max-width: 31rem;
    margin-top: 20px;
    font-size: 1.05rem;
}

body.page-home .hero-badge,
body.page-detail .age-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(20, 20, 20, 0.28);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    width: fit-content;
}

body.page-home .hero-art {
    min-height: 380px;
    background: #fcfcfc;
    position: relative;
}

body.page-home .hero-panel--image .hero-art {
    min-height: 340px;
}

body.page-home .hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

body.page-home .section-title-large,
body.page-detail .section-title-large {
    text-align: center;
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    line-height: 0.98;
    margin: 18px 0 36px;
}

body.page-home .section-title-large span,
body.page-detail .section-title-large span {
    display: block;
}

body.page-home .programs,
body.page-home .about-block,
body.page-home .links-band,
body.page-detail .page-copy,
body.page-detail .story-band,
body.page-detail .links-band {
    max-width: 1380px;
    margin: 0 auto;
    padding: 76px 24px 0;
}

body.page-home .program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 16px;
}

body.page-home .program-card {
    background: var(--paper);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 18px 35px rgba(20, 20, 20, 0.05);
}

body.page-home .program-card img {
    width: 100%;
    display: block;
    border-radius: 14px;
}

body.page-home .program-card .card-label {
    color: #707070;
    font-size: 0.72rem;
    border: 1px solid rgba(20, 20, 20, 0.18);
    border-radius: 999px;
    padding: 6px 10px;
    display: inline-block;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.92);
}

body.page-home .program-card h3 {
    font-size: 1.55rem;
    margin-bottom: 10px;
}

body.page-home .program-card .card-link {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(51, 51, 51, 0.62);
    color: #fff;
    border-radius: 999px;
    padding: 5px 7px 5px 13px;
    font-family: 'Barlow', sans-serif;
    font-size: 0;
    line-height: 1;
}

body.page-home .program-card .card-link::before {
    content: 'VER';
    padding: 0;
    font-size: 0.75rem;
    font-weight: 700;
}

body.page-home .program-card .card-link::after {
    content: '\2197';
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #111111;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 600;
}

body.page-home .program-image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

body.page-home .about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "photo-one heading"
        "text photo-two";
    column-gap: 60px;
    row-gap: 40px;
    align-items: start;
    font-family: 'Poppins', sans-serif;
}

body.page-home .about-photo {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(20, 20, 20, 0.1);
}

body.page-home .about-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.page-home .about-photo--one {
    grid-area: photo-one;
    aspect-ratio: 1 / 1;
    background: #f8c8d4;
    align-self: start;
    width: 90%;
}

body.page-home .about-photo--two {
    grid-area: photo-two;
    aspect-ratio: 370 / 470;
    background: #cbc4ea;
    align-self: start;
    width: 94%;
    justify-self: end;
}

body.page-home .about-split__heading {
    grid-area: heading;
    align-self: end;
}

body.page-home .about-split__text {
    grid-area: text;
    align-self: start;
}

body.page-home .about-block {
    background: linear-gradient(to bottom, #ffffff 0 78px, #f2fbfd 78px 100%);
    border-radius: 0;
    max-width: none;
    padding: 90px 0 100px;
}

body.page-home .about-block > * {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

body.page-home .about-split__heading h2 {
    font-size: 2.1rem;
    color: #c9c3e0;
    margin-bottom: 14px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

body.page-home .about-split__heading .about-lead {
    font-size: 0.98rem;
    line-height: 1.5;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #111111;
}

body.page-home .about-split__text p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 18px;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: #4a4a4a;
}

body.page-home .about-split__text p:last-of-type {
    margin-bottom: 30px;
}

/* 
   Bloco "detail-visual / detail-copy / pink-note" removido temporariamente:
   estava com seletores em falta e chavetas { } por fechar, o que desalinhava
   a leitura do CSS a partir daqui e estragava as regras seguintes (about-more-btn, etc.).
   Estas classes não são usadas em nenhuma página atual (index.html, sobre-nos.html, pre-escolar.html).
   Se precisares desta secção para outra página, dizes-me o que deve conter e reconstruo-a corretamente.
*/

body.page-home .about-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 10px 10px 10px 18px;
    border-radius: 999px;
    background: #ffc4cf;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    width: fit-content;
}

body.page-home .about-more-btn__label {
    padding-top: 1px;
}

body.page-home .about-more-btn__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    flex: 0 0 auto;
}

body.page-home .about-more-btn:hover {
    transform: translateY(-1px);
}

body.page-home .about-more-btn:focus-visible {
    outline: 2px solid rgba(255, 196, 207, 0.9);
    outline-offset: 4px;
}

body.page-home .links-band,
body.page-detail .links-band {
    max-width: none;
    margin: 0;
    background: #c8c0e8;
}

body.page-home .links-panel,
body.page-detail .links-panel {
    max-width: 1380px;
    margin: 0 auto;
    padding: 84px 24px 82px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(340px, 360px);
    gap: 60px;
    align-items: center;
}

body.page-home .links-panel h2,
body.page-detail .links-panel h2 {
    font-size: clamp(3.2rem, 5.2vw, 5rem);
    line-height: 0.92;
    color: #fff;
    max-width: 300px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

body.page-home .link-stack,
body.page-detail .link-stack {
    display: grid;
    gap: 18px;
    min-width: min(100%, 360px);
}

body.page-home .link-stack a,
body.page-detail .link-stack a {
    display: block;
    text-align: center;
    padding: 16px 28px;
    border: 2px solid #f8df7a;
    color: #a69ad9;
    border-radius: 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
}

body.page-home .footer-v2,
body.page-detail .footer-v2 {
    background: #f7f4e2;
    margin-top: 0;
    color: var(--ink);
}

body.page-home .footer-v2 .footer-wrap,
body.page-detail .footer-v2 .footer-wrap {
    max-width: 1380px;
    margin: 0 auto;
    padding: 30px 24px 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}

body.page-home .footer-v2 .footer-wrap > div:first-child,
body.page-detail .footer-v2 .footer-wrap > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.page-home .footer-v2 h4,
body.page-detail .footer-v2 h4 {
    color: #86d7f4;
    font-size: 1.08rem;
    margin-bottom: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

body.page-home .footer-v2 p,
body.page-detail .footer-v2 p,
body.page-home .footer-v2 a,
body.page-detail .footer-v2 a {
    color: #3f3f3f;
    font-size: 0.94rem;
    font-family: 'Poppins', sans-serif;
}

body.page-home .footer-logo-mark,
body.page-detail .footer-logo-mark {
    width: min(190px, 100%);
    display: block;
    margin-bottom: 0;
}

body.page-home .footer-tagline,
body.page-detail .footer-tagline {
    margin: 0 0 6px;
    line-height: 1.5;
    text-align: left;
}
body.page-home .footer-tagline:last-child,
body.page-detail .footer-tagline:last-child {
    margin-bottom: 0;
}

.footer-center {
    text-align: center;
    font-family: 'Barlow', sans-serif;
}

body.page-home .footer-contact-line,
body.page-detail .footer-contact-line {
    margin-top: 12px;
}
body.page-home .footer-contact-line:first-of-type,
body.page-detail .footer-contact-line:first-of-type {
    margin-top: 16px;
}

body.page-home .footer-polo-label,
body.page-detail .footer-polo-label {
    color: #a69ad9;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 8px;
}

body.page-home .social-row,
body.page-detail .social-row {
    display: flex;
    gap: 14px;
    margin-top: 2px;
}

body.page-home .social-badge,
body.page-detail .social-badge {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, opacity .2s ease;
}

body.page-home .social-badge img,
body.page-detail .social-badge img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

body.page-home .social-badge:hover,
body.page-detail .social-badge:hover {
    opacity: .85;
    transform: translateY(-2px);
}

body.page-home .footer-meta,
body.page-detail .footer-meta {
    display: none;
}

body.page-detail .page-hero {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    min-height: 340px;
}

body.page-detail .page-hero__copy {
    background: var(--butter);
    padding: 54px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.page-detail .page-hero__copy h1 {
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 0.95;
    margin: 20px 0 0;
    color: var(--ink);
}

body.page-detail .page-hero__media {
    background: #ded7ef;
    min-height: 340px;
}

body.page-detail .page-hero__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.page-detail .page-content-card {
    background: transparent;
    border-radius: 0;
    padding: 46px 44px;
    box-shadow: none;
}

body.page-detail .page-content-card p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

body.page-vida-escolar .page-header {
    background: #ffffff;
    padding: 52px 24px 20px;
    text-align: left;
    position: relative;
}

body.page-vida-escolar .page-header .container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
}

body.page-vida-escolar .page-header h1 {
    color: #c9c3e0;
    font-family: 'Barlow', sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.3rem);
    line-height: 0.95;
    margin: 0;
}

body.page-precario .page-header h1 {
    color: #e85d73;
}

body.page-horarios .page-header h1 {
    color: #3b91bd;
}

body.page-alimentacao .page-header h1 {
    color: #c79d00;
}

body.page-vida-escolar:not(.page-precario):not(.page-horarios):not(.page-alimentacao) .page-header h1 {
    color: #c8c0e8;
}

body.page-vida-escolar .wave-bottom {
    display: none;
}

body.page-vida-escolar .page-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 48px 76px;
    color: #2f2f2f;
    font-family: 'Barlow', sans-serif;
    font-size: 0.98rem;
    line-height: 1.72;
}

body.page-vida-escolar .breadcrumb {
    margin-bottom: 32px;
    font-size: 0.82rem;
    font-weight: 600;
}

body.page-vida-escolar .content-box {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

body.page-vida-escolar .content-box p {
    margin: 0 0 24px;
}

body.page-vida-escolar .calendar-content-box {
    max-width: 900px;
    margin: 0 auto;
}

body.page-vida-escolar .calendar-feature {
    position: relative;
    padding: 44px 44px 34px;
    background: #f8f7fc;
    border-top: 8px solid #c8c0e8;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 18px 36px rgba(20, 20, 20, 0.06);
    overflow: hidden;
}

body.page-vida-escolar .calendar-feature__content {
    min-width: 0;
    position: relative;
    z-index: 1;
}

body.page-vida-escolar .calendar-title {
    max-width: 620px;
    margin: 0 0 22px;
    color: #aaa1d4;
    font-family: 'Barlow', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

body.page-vida-escolar .calendar-feature::after {
    content: '';
    position: absolute;
    top: -42px;
    right: -34px;
    width: 150px;
    height: 150px;
    border: 28px solid #f5bcc9;
    border-radius: 50%;
    opacity: 0.55;
}

body.page-vida-escolar .calendar-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 36px 0 42px;
}

body.page-vida-escolar .calendar-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px 20px;
    background: #ffffff;
    border: 1px solid #e6e1f2;
    border-radius: 14px;
}

body.page-vida-escolar .calendar-item__number {
    display: inline-flex;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #c8c0e8;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
}

body.page-vida-escolar .calendar-item h3 {
    margin: 1px 0 7px;
    color: #2f2f2f;
    font-family: 'Barlow', sans-serif;
    font-size: 1.1rem;
    line-height: 1.1;
}

body.page-vida-escolar .calendar-item p {
    margin: 0;
    color: #686868;
    font-size: 0.92rem;
    line-height: 1.5;
}

body.page-alimentacao .ali-container {
    position: relative;
    display: block;
    padding: 44px 44px 30px;
    background: #fffaf0;
    border-top: 8px solid #f8d978;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 18px 36px rgba(20, 20, 20, 0.06);
    overflow: hidden;
}

body.page-alimentacao .ali-text {
    position: relative;
    z-index: 1;
    min-width: 0;
}

body.page-alimentacao .ali-container::after {
    content: '';
    position: absolute;
    right: -36px;
    bottom: -68px;
    width: 190px;
    height: 190px;
    border: 32px solid #8fdbf3;
    border-radius: 50%;
    opacity: 0.35;
}

body.page-alimentacao .ali-text > div:first-child {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    margin-bottom: 22px !important;
    padding: 8px 14px;
    background: #f7c2cc;
    border-radius: 999px;
}

body.page-alimentacao .ali-text > div:first-child > div {
    background-color: #ffffff !important;
}

body.page-alimentacao .ali-text h2 {
    max-width: 620px;
    color: #c48b32 !important;
    font-size: clamp(2.2rem, 4vw, 3.5rem) !important;
    line-height: 0.98 !important;
    margin-bottom: 28px !important;
}

body.page-alimentacao .ali-text > div:nth-of-type(2) {
    max-width: 760px;
    padding-left: 24px;
    border-left: 3px solid #f8d978;
    color: #4f4f4f !important;
}

body.page-precario .content-box,
body.page-horarios .content-box {
    position: relative;
    padding: 44px 44px 34px;
    background: #f8f7fc;
    border-top: 8px solid #f5bcc9;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 18px 36px rgba(20, 20, 20, 0.06);
    overflow: hidden;
}

body.page-sobre-nos .about-page-hero__content h1 {
    color: #c9c3e0;
}

body.page-missao .about-page-hero__content h1,
body.page-missao .values-section__inner h2 {
    color: #e99bad;
}

body.page-projeto .about-page-hero__content h1,
body.page-projeto .journey-section > .site-shell > h2 {
    color: #c79d00;
}

body.page-equipa .about-page-hero__content h1,
body.page-equipa .journey-section > .site-shell > h2,
body.page-direcao .about-page-hero__content h1,
body.page-direcao .journey-section > .site-shell > h2,
body.page-localizacao .about-page-hero__content h1 {
    color: #c79d00;
}

body.page-horarios .content-box {
    background: #f4fbfd;
    border-top-color: #8fdbf3;
}

body.page-precario .content-box::after,
body.page-horarios .content-box::after {
    content: '';
    position: absolute;
    top: -46px;
    right: -32px;
    width: 150px;
    height: 150px;
    border: 28px solid #f5bcc9;
    border-radius: 50%;
    opacity: 0.45;
}

body.page-horarios .content-box::after {
    border-color: #8fdbf3;
}

body.page-precario .content-box h2,
body.page-horarios .content-box h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 24px !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    filter: none !important;
}

body.page-precario .content-box > p,
body.page-horarios .content-box > p {
    position: relative;
    z-index: 1;
}

body.page-precario .precario-gallery {
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    body.page-vida-escolar .calendar-overview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    body.page-vida-escolar .calendar-feature,
    body.page-alimentacao .ali-container {
        padding: 30px 24px 24px;
    }
}

body.page-detail .highlight-strip {
    background: #ede9fa;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(20, 20, 20, 0.05);
}

body.page-detail .highlight-strip__grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
}

body.page-detail .highlight-strip__visual {
    background: #d9d2ef;
}

body.page-detail .highlight-strip__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.page-detail .highlight-strip__content {
    padding: 54px;
}

body.page-detail .highlight-strip__content h2 {
    color: #c4bfd9;
    font-size: clamp(2rem, 3vw, 3.2rem);
    margin-bottom: 16px;
}

body.page-detail .highlight-strip__content p {
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 18px;
}

body.page-detail .detail-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

body.page-detail .detail-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #ffb8cb;
    color: #fff;
    border-radius: 999px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
}

body.page-detail .about-page-hero {
    background: #ffffff;
    padding: 52px 0 56px;
}

body.page-detail .about-page-hero__grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(420px, 1.18fr);
    gap: 44px;
    align-items: start;
}

body.page-detail .about-page-hero__visual {
    max-width: 360px;
    margin-left: auto;
}

body.page-detail .about-page-hero__visual img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 16px 30px rgba(20, 20, 20, 0.15));
}

body.page-detail .about-page-hero__content {
    padding-top: 0;
    max-width: 620px;
}

body.page-detail .about-page-hero__content h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.3rem);
    line-height: 0.95;
    color: #c9c3e0;
    margin-top: 0;
    margin-bottom: 26px;
    font-weight: 700;
}

body.page-detail .about-page-hero__content p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.02rem;
    line-height: 1.78;
    color: #3f3f3f;
    margin-bottom: 20px;
}

body.page-detail .about-page-note {
    background: #f5bcc9;
    padding: 34px 0 38px;
}

body.page-detail .about-page-note__inner {
    max-width: 880px;
    text-align: center;
}

body.page-detail .about-page-note__inner p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.42;
    font-weight: 800;
    color: #111111;
    margin-bottom: 2px;
}

body.page-detail,
body.page-detail h1,
body.page-detail h2,
body.page-detail h3,
body.page-detail h4,
body.page-detail h5,
body.page-detail h6,
body.page-detail button,
body.page-detail input,
body.page-detail textarea,
body.page-detail select {
    font-family: 'Barlow', sans-serif;
}

body.page-detail .page-hero-banner {
    border-radius: 20px;
    overflow: hidden;
}

body.page-detail .page-hero-banner img {
    width: 100%;
    display: block;
    object-fit: cover;
}

body.page-detail .page-copy {
    padding-top: 58px;
}

body.page-detail .page-content-card {
    max-width: 980px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0 24px;
}

body.page-detail .page-content-card p {
    max-width: 900px;
    margin: 0 auto 24px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.98rem;
    line-height: 1.72;
    color: #2f2f2f;
}

@media (max-width: 1100px) {
    body.page-home .hero-panel,
    body.page-detail .page-hero,
    body.page-detail .highlight-strip__grid,
    body.page-detail .about-page-hero__grid,
    body.page-home .links-panel,
    body.page-detail .links-panel,
    body.page-home .footer-v2 .footer-wrap,
    body.page-detail .footer-v2 .footer-wrap,
    body.page-home .program-grid {
        grid-template-columns: 1fr;
    }

    body.page-home .about-split {
        grid-template-columns: 1fr;
        grid-template-areas:
            "photo-one"
            "heading"
            "photo-two"
            "text";
    }

    body.page-home .hero-copy,
    body.page-detail .page-hero__copy,
    body.page-detail .highlight-strip__content,
    body.page-detail .about-page-hero__content,
    body.page-home .links-panel,
    body.page-detail .links-panel {
        padding: 36px 28px;
    }

    body.page-home .hero-art,
    body.page-detail .page-hero__media {
        min-height: 280px;
    }

}

@media (max-width: 760px) {
    body.page-home .site-shell,
    body.page-detail .site-shell,
    body.page-home .programs,
    body.page-home .about-block,
    body.page-home .links-band,
    body.page-detail .page-copy,
    body.page-detail .story-band,
    body.page-detail .links-band,
    body.page-detail .about-page-hero__grid,
    body.page-detail .about-page-note__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.page-home .nav-container,
    body.page-detail .nav-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    body.page-home .main-menu ul,
    body.page-detail .main-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    body.page-home .about-split {
        gap: 28px;
    }

    body.page-home .hero-copy h1 {
        font-size: 2.8rem;
    }

    body.page-home .links-panel h2,
    body.page-detail .links-panel h2 {
        max-width: none;
    }

    body.page-detail .about-page-hero {
        padding-top: 24px;
    }

    body.page-detail .about-page-hero__grid {
        gap: 24px;
    }

    body.page-detail .about-page-note {
        padding: 28px 0 30px;
    }

    body.page-pre-escolar .page-content-card {
        padding: 0 4px;
    }
}

/* ===== HEADER OVERRIDE ===== */
.navbar{background:#9EDCF2;padding:16px 0;position:sticky;top:0;z-index:1000;box-shadow:none}
.nav-container{max-width:1280px;margin:0 auto;padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.logo-img{height:120px;width:auto}
.main-menu{background:#fff;border-radius:999px;padding:0 22px}
.main-menu ul{display:flex;align-items:center;gap:6px;margin:0;padding:0}
.main-menu li{position:relative;list-style:none}
.nav-link{display:block;padding:18px 18px;color:#222;font-size:15px;font-weight:700;text-transform:uppercase;border-radius:999px}
.nav-link:hover{background:#f3f3f3;color:#222}
.arrow{display:none}
.dropdown-menu{top:100%;border-radius:18px}
.nav-btn{display:flex;align-items:center;gap:12px;background:#fff;color:#b7b7b7;padding:14px 24px;border-radius:999px;font-size:14px;font-weight:700;text-transform:uppercase}
.nav-btn:hover{transform:translateY(-2px)}
.nav-btn-icon{width:20px;height:20px;font-size:20px;flex-shrink:0;color:#25D366}

@media (max-width: 900px) {
    .navbar .nav-container {
        position: relative;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 14px;
    }

    .navbar .nav-toggle-label {
        display: inline-flex;
        width: 46px;
        height: 46px;
        align-items: center;
        justify-content: center;
        flex: 0 0 46px;
        cursor: pointer;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.78);
        z-index: 1002;
    }

    .navbar .nav-toggle-label span,
    .navbar .nav-toggle-label span::before,
    .navbar .nav-toggle-label span::after {
        display: block;
        width: 24px;
        height: 3px;
        background: #222;
        border-radius: 2px;
        position: relative;
    }

    .navbar .nav-toggle-label span::before,
    .navbar .nav-toggle-label span::after {
        content: '';
        position: absolute;
        left: 0;
    }

    .navbar .nav-toggle-label span::before { bottom: 7px; }
    .navbar .nav-toggle-label span::after { top: 7px; }

    .navbar .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        padding: 0;
        border-radius: 0 0 18px 18px;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 220ms ease;
        z-index: 1001;
    }

    .navbar .nav-toggle:checked ~ .main-menu {
        transform: scaleY(1);
    }

    .navbar .main-menu ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px 16px 18px;
    }

    .navbar .main-menu .dropdown {
        width: 100%;
        text-align: left;
    }

    .navbar .main-menu .nav-link {
        width: 100%;
        padding: 13px 16px;
        text-align: left;
        border-radius: 12px;
        box-sizing: border-box;
    }

    .navbar .main-menu .arrow {
        display: inline-block;
        transition: transform 180ms ease;
    }

    .navbar .main-menu .dropdown.is-open > .nav-link .arrow {
        transform: rotate(180deg);
    }

    .navbar .main-menu .dropdown-menu,
    .navbar .main-menu .dropdown:hover .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 6px 0;
        background: #f2f8fb;
        border-radius: 12px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .navbar .main-menu .dropdown.is-open > .dropdown-menu {
        display: flex;
    }

    .navbar .main-menu .dropdown-menu a {
        padding: 10px 18px;
        border-radius: 8px;
    }

    .navbar .nav-btn {
        display: none;
    }
}

/* Cores temáticas dos títulos das páginas institucionais */
body.page-sobre-nos .about-page-hero__content h1 {
    color: #c9c3e0 !important;
}

body.page-missao .about-page-hero__content h1,
body.page-missao .values-section__inner h2 {
    color: #e99bad !important;
}

body.page-projeto .about-page-hero__content h1,
body.page-projeto .journey-section > .site-shell > h2,
body.page-equipa .about-page-hero__content h1,
body.page-equipa .journey-section > .site-shell > h2,
body.page-direcao .journey-section > .site-shell > h2,
body.page-localizacao .about-page-hero__content h1 {
    color: #c79d00 !important;
}

body.page-direcao .about-page-hero__content h1 {
    color: #c9c3e0 !important;
}