/* style.css */

/* --- CHARTE GRAPHIQUE --- */
:root {
    --vert-olive: #738760;     /* Arche protectrice & mention micro-crèche */
    --vert-clair: #f1f4ef;     /* Fond de section adouci */
    --jaune-coeur: #e5a93b;    /* Petit cœur central du logo */
    --jaune-fond: #fffbf2;     /* Fond crème chaleureux */
    --texte-sombre: #422d1d;   /* Marron chocolat de l'écriture principale */
    --blanc: #ffffff;
    --bleu-logo: #5cbdf3;      /* Bleu ciel du bébé piou-piou */
    --rouge-logo: #cf3d32;     /* Rouge brique de la salopette / nœud papillon */
    --rouge-fond: #fff3f2;
}

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

body {
    font-family: 'Nunito', sans-serif;
    color: var(--texte-sombre);
    background-color: var(--blanc);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--vert-olive);
}

/* --- NAVIGATION --- */
header {
    background-color: var(--blanc);
    box-shadow: 0 2px 10px rgba(66, 45, 29, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 120px;
    width: auto;
    transition: height 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--texte-sombre);
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--vert-olive);
}

/* --- BANDEAU D'INFORMATION --- */
.alert-banner {
    background-color: var(--rouge-fond);
    border-left: 5px solid var(--rouge-logo);
    color: var(--rouge-logo);
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.alert-banner.hidden {
    display: none !important;
}

/* --- BOUTONS --- */
.btn {
    display: inline-block;
    background-color: var(--jaune-coeur);
    color: var(--blanc);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    box-shadow: 0 4px 10px rgba(229, 169, 59, 0.3);
    transition: transform 0.2s, background-color 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    background-color: #d1972e;
    box-shadow: 0 6px 15px rgba(229, 169, 59, 0.4);
}

/* --- TITRES DE SECTIONS --- */
.section-title {
    text-align: center;
    font-size: 2.6rem;
    color: var(--vert-olive);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '♥';
    display: block;
    color: var(--jaune-coeur);
    font-size: 1.3rem;
    margin-top: 0.5rem;
}

/* --- PAGES INDIVIDUELLES --- */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- FOOTER --- */
footer {
    background-color: var(--vert-olive);
    color: var(--blanc);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    .logo-img {
        height: 90px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}