
    :root {
        --text: #565656;
--links: #419bc1;
--titles: #000000;
--page-background: #fdfbfd;
--highlight: #ffffff;
--boxes-background: #FFFFFF;
--boxes-border: #CBD2DB;
--section-titles: #419BC1;
--section-titles-background: #F6F8FB;
--header-background: #FFFFFF;
--header-links: #3686BA;
--footer-background: #FFFFFF;
--footer-links: #419BC1;
--titles-h1-font-size: 2.2143rem;
--titles-h1-font-weight: 700;
--titles-h1-color: #000000;
--titles-h2-font-size: 1.5714rem;
--titles-h2-font-weight: 700;
--titles-h2-color: #000000;
--titles-h3-font-size: 1.2857rem;
--titles-h3-font-weight: 700;
--titles-h3-color: #000000;
--texts-primary-font-size: 1.1429rem;
--texts-primary-color: #565656;
--texts-secondary-font-size: 1.0000rem;
--texts-secondary-color: #565656;
--texts-link-color: #419bc1;
    }
    
@font-face {
    font-family: 'Nunito';
    src: url('/assets/theme_font/Nunito-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap; 
}

@font-face {
    font-family: 'Nunito';
    src: url('/assets/theme_font/Nunito-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Baloo Bhaijaan 2 ';
    src: url('/assets/theme_font/BalooBhaijaan2-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

H1, H2, H3, H4{
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    line-height: 120%;
    font-weight: bold;
}

H1 {
    font-size: 3rem;
    text-align: center;
    letter-spacing: -1px;
}

H2 {
    font-size: 2.5rem;
    margin-bottom: 32px;
}

H3 {
    font-size: 1.5rem;
}

H4 {
    font-size: 1.125 rem;
}

H5 {
    font-family: 'Nunito', sans-serif;
    font-weight: bold;

}

.ods-front-header__menu-item-link {
    font-size: 15px ;
    font-weight: 800;
    padding: 0 16px;
    opacity: 1;
    line-height: 60px;
}

/* DESKTOP SPECIFICS - STYLE OF DROPDOWN MENU
========================================================================== */

.dropdown-content {
    position: absolute;
    background-color: #FFF;
    filter: drop-shadow(0px 14px 8px rgba(37, 48, 59, 0.1));
    z-index: 1021;
    padding: 10px 20px;
    min-width: 150px;  
}

.dropdown-content a {
    color: #419bc1;
    text-decoration: none;
    display: block;
    opacity:1;
    padding: 5px;
    font-size: 0.8rem;
    line-height: 35px;
}

.dropdown-content a:hover {
    text-decoration: none;
    background-color: #fff;
    color: #419bc1;
}

@media screen and (min-width: 1000px){
    .dropdown-content {
        display: none;
    }

    .dropdown-menu:hover  .dropdown-content {
        display: block;
    }

    .dropdown-menu:hover .ods-front-header__menu-item-link {
         background-color: #ffffff;
    }   
    .dropdown-menu:hover .dropdown-content a {
            background-color: #FFF;
    color: #419bc1;
    }
}

/* MOBILE SPECIFICS - STYLE OF DROPDOWN MENU
========================================================================== */

@media screen and (max-width: 1000px){    
    .dropdown-content {
        position: relative;
        padding-left: 25px;
        filter: none;
    }
}

nav { 
    display: grid; 
    place-items: center; 
} 

.navHero {
    width: 100%;
    background: linear-gradient(to bottom right, #46B0D5, #2F8BA8);
    display: grid;
    place-items: center;           /* On centre le container */
    padding: 32px 0;
}

/* Le container interne qui contient le logo + le texte */
.navHero {
    position: relative;
}

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

.navHero > * {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Bloc logo */
.Logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 16px;
    /* background: rgba(255, 255, 255, 0.28); */
    backdrop-filter: blur(5px);
}

.Logo img {
    width: 250px;
    height: auto;
}

/* Texte */
.navHero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    line-height: 1.1;
    text-align: left;
}

.navHero-text a {
    color: #fff;
}

.navHero-title {
    font-size: 1.8rem;
    font-weight: 800;
    opacity: 0.85;
    letter-spacing: 0.15em;
}

.navHero-subtitle {
    font-size: 2.3rem;
    font-weight: 900;
}

/* Responsive */
@media (max-width: 780px) {
    .navHero > * {
        flex-direction: column;
        text-align: center;
    }

    .Logo img {
        width: 150px;
    }
}

/* ===========================
   ANIMATION HOVER MENU <li>
   =========================== */

/* On prépare le lien pour l'animation */
.ods-front-header__menu-item-link {
    position: relative;
    display: inline-block;
    font-size: 15px;
    font-weight: 800;
    padding: 0 16px;
    line-height: 60px;
    opacity: 1;
    transition: color .25s ease, transform .2s ease;
}

/* Barre animée sous le lien */
.ods-front-header__menu-item-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 10px;
    height: 2px;
    border-radius: 999px;
    background: var(--highlight, #2F8BA8); /* fallback si var non définie */
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

/* Effet au survol du <li> (desktop) */
.ods-front-header__menu-item:hover > .ods-front-header__menu-item-link {
    transform: translateY(-2px);
}

.ods-front-header__menu-item:hover > .ods-front-header__menu-item-link::after {
    transform: scaleX(1);
}

/* Optionnel : léger effet aussi sur les entrées du sous-menu */
.dropdown-content a {
    position: relative;
    transition: color .2s ease, background-color .2s ease, padding-left .2s ease;
}

.dropdown-content a:hover {
    padding-left: 10px;
}

/* ============================
   RESPONSIVE NAV HERO
   ============================ */

@media (max-width: 1000px) {

    /* Conteneur principal : on empile */
    .navHero {
        display: grid;
        place-items: center;
    }

    /* On centre le grid interne */
    .navHero > * {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
    }

    /* Logo */
    .Logo img {
        width: 150px !important;
        height: auto;
    }

    .Logo {
        padding: 6px 12px;
        border-radius: 12px;
    }

    /* Textes */
    .navHero-text {
        text-align: center !important;
        display: none;
    }

    .navHero-title {
        font-size: 1.4rem !important;
        letter-spacing: 0.1em;
    }

    .navHero-subtitle {
        font-size: 1.9rem !important;
        line-height: 1.2;
    }
}

/* Petit bonus pour les très petits écrans */
@media (max-width: 480px) {

    .Logo img {
        width: 120px !important;
    }

    .navHero-title {
        font-size: 1.2rem !important;
    }

    .navHero-subtitle {
        font-size: 1.6rem !important;
    }
}