/* =================================================================
   style.css — MEGATECH SARL
================================================================= */


/* ================================================================
   1. VARIABLES CSS
================================================================= */
:root {
    --red: #D30707;
    --red-dark: #B60000;
    --red-light: #F22525;
    --red-soft: rgba(211, 7, 7, 0.08);

    --blue: #1C8DD4;
    --blue-dark: #006FB6;
    --blue-light: #3AABF2;
    --blue-soft: rgba(28, 141, 212, 0.08);

    --gold: #EAC435;
    --gold-dark: #B6B300;

    --navy: #001021;
    --navy-mid: #02244A;
    --white: #ffffff;
    --bg: #F8FAFC;

    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    --font-display: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --section-py: 96px;
    --section-py-sm: 64px;

    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 9999px;

    --shadow-xs: 0 1px 3px rgba(0,0,0,.05);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow:    0 4px 20px rgba(0,0,0,.08);
    --shadow-md: 0 8px 32px rgba(0,0,0,.10);
    --shadow-lg: 0 16px 56px rgba(0,0,0,.13);

    --ease: cubic-bezier(.25,.8,.25,1);
    --transition: .3s var(--ease);
    --transition-lg: .5s var(--ease);

    --navbar-h: 64px;
}


/* ================================================================
   2. RESET & BASE
================================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-h);
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    /* Hauteur plein écran fiable sur mobile */
    height: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--gray-700);
    background: var(--bg);
    overflow-x: hidden;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video, svg { max-width: 100%; display: block; }

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul, ol { list-style: none; }
button { cursor: pointer; }
address { font-style: normal; }


/* ================================================================
   3. TYPOGRAPHIE
================================================================= */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-display);
    line-height: 1.15;
    color: var(--gray-900);
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { line-height: 1.75; }

.lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
}


/* ================================================================
   4. UTILITAIRES COMMUNS
================================================================= */
.section-py    { padding: var(--section-py) 0; }
.section-py-sm { padding: var(--section-py-sm) 0; }

.bg-white { background: var(--white); }
.bg-light  { background: var(--gray-50); }
.bg-navy   { background: var(--navy); }
.bg-red    { background: var(--red); }

.text-red   { color: var(--red)  !important; }
.text-blue  { color: var(--blue) !important; }
.text-gold  { color: var(--gold) !important; }
.text-muted { color: var(--gray-500) !important; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
    max-width: 600px;
}

.section-subtitle.centered { margin: 0 auto; }

/* ── Badge section : Bracket Style ────────────────────────────── */
.megatech-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-display);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: 16px;
    background: none;
    padding: 0;
    border-radius: 0;
}

/* Les crochets [ ] en rouge, le texte en gris clair */
.megatech-badge::before {
    content: '[';
    color: var(--red);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1;
    opacity: .9;
}

.megatech-badge::after {
    content: ']';
    color: var(--red);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1;
    opacity: .9;
}

/* Sur fond clair (sections blanches/grises) */
.bg-white .megatech-badge,
.bg-light .megatech-badge,
section:not(.bg-navy):not(.bg-red) .megatech-badge {
    color: var(--gray-500);
}

/* Sur fond navy/sombre : texte blanc atténué */
.bg-navy .megatech-badge,
.srv-hero .megatech-badge {
    color: rgba(255,255,255,.45);
}

/* Supprimé : .megatech-badge__dot — plus utilisé */
.megatech-badge__dot { display: none; }


/* ================================================================
   5. BOUTONS
================================================================= */
.btn-red {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    padding: 7.5px 22px;
    border-radius: var(--radius-full);
    border: 2px solid var(--red);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-red::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--red-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}

.btn-red:hover { color: var(--white); }
.btn-red:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-red > * { position: relative; z-index: 1; }

.btn-outline-red {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--red);
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    padding: 7.5px 22px;
    border-radius: var(--radius-full);
    border: 2px solid var(--red);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-outline-red:hover { background: var(--red); color: var(--white); }

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    padding: 13px 30px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255,255,255,.45);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

.btn-link-red {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-weight: 600;
    font-size: .9rem;
    transition: gap var(--transition);
}

.btn-link-red:hover { gap: 14px; }


/* ================================================================
   6. NAVBAR — DESKTOP
================================================================= */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--navbar-h);
    z-index: 1000;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: box-shadow var(--transition), background var(--transition);
}

#navbar.navbar--scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255,255,255,.99);
}

.navbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 32px;
}

/* ── Burger — masqué sur desktop ──────────────────────────────── */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--gray-200);
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    cursor: pointer;
    flex-shrink: 0;
    z-index: 1001;
}

.nav-burger:hover { background: var(--gray-100); }

.nav-burger__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
    transform-origin: center;
}

.nav-burger.is-active .nav-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-active .nav-burger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-active .nav-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Logo ─────────────────────────────────────────────────────── */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-logo__text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-light);
    letter-spacing: -.02em;
}

.nav-logo__accent { color: var(--red); }

/* ── Menu desktop ─────────────────────────────────────────────── */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu__link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.nav-menu__link:hover,
.nav-menu__link.is-active {
    color: var(--red);
    background: var(--red-soft);
}

.nav-menu__chevron {
    font-size: .7rem;
    transition: transform var(--transition);
}

/* ── Dropdown desktop ─────────────────────────────────────────── */
.nav-menu__item--dropdown { position: relative; }

.nav-menu__item--dropdown:hover .nav-menu__chevron {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 520px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    z-index: 200;
}

.nav-menu__item--dropdown:hover .nav-dropdown,
.nav-menu__item--dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 12px;
}

.nav-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    text-decoration: none;
}

.nav-dropdown__item:hover { background: var(--gray-50); }

.nav-dropdown__icon {
    width: 36px;
    height: 36px;
    background: var(--red-soft);
    color: var(--red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition);
}

.nav-dropdown__item:hover .nav-dropdown__icon {
    background: var(--red);
    color: var(--white);
}

.nav-dropdown__label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.nav-dropdown__footer {
    border-top: 1px solid var(--gray-100);
    padding: 12px 24px;
}

.nav-dropdown__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
    transition: gap var(--transition);
}

.nav-dropdown__all:hover { gap: 14px; }

/* ── CTA nav ──────────────────────────────────────────────────── */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white) !important;
    font-size: .88rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    margin-left: 8px;
}

.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ── Actions droite ───────────────────────────────────────────── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* ── Sélecteur langue ─────────────────────────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    padding: 5px 12px;
}

.lang-switcher__globe { font-size: .85rem; color: var(--gray-500); }

.lang-switcher__btn {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition);
    line-height: 1;
}

.lang-switcher__btn:hover,
.lang-switcher__btn.is-active { color: var(--red); }

.lang-switcher__sep {
    width: 1px;
    height: 12px;
    background: var(--gray-300);
    display: inline-block;
}

/* Offset contenu */
main#main-content { padding-top: var(--navbar-h); }

main#main-content > section:first-child.hero-fullscreen {
    padding-top: 0;
    margin-top: calc(-1 * var(--navbar-h));
}


/* ================================================================
   7. FOOTER
================================================================= */
.footer-body {
    background: #1a2535;
    padding: 64px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo__text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-light);
    letter-spacing: -.02em;
}

.footer-logo__accent { color: var(--red); }

.footer-tagline {
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    line-height: 1.8;
    max-width: 280px;
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-contact__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 500;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-contact__item:hover { color: var(--white); }
.footer-contact__item i { color: var(--blue-light); font-size: .9rem; }
.footer-contact__item--whatsapp:hover { color: #4ade80; }
.footer-contact__item--whatsapp i    { color: #4ade80; }

.footer-social { display: flex; gap: 8px; }

.footer-social__link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    font-size: .95rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social__link:hover { color: var(--white); transform: translateY(-2px); }

.footer-social__link--facebook:hover  { background: #1877F2; border-color: #1877F2; }
.footer-social__link--linkedin:hover  { background: #0A66C2; border-color: #0A66C2; }
.footer-social__link--instagram:hover { background: #E1306C; border-color: #E1306C; }
.footer-social__link--youtube:hover   { background: #FF0000; border-color: #FF0000; }
.footer-social__link--whatsapp:hover  { background: #25D366; border-color: #25D366; }
.footer-social__link--twitter:hover   { background: #1DA1F2; border-color: #1DA1F2; }
.footer-social__link--tiktok:hover    { background: #010101; border-color: #69C9D0; }

.footer-col__title {
    font-family: var(--font-display);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 9px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav__link {
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-nav__link:hover { color: var(--blue-light); padding-left: 5px; }
.footer-nav__link--ext i { font-size: .7rem; opacity: .6; }

.footer-nav__link--cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white) !important;
    font-weight: 700;
    font-size: .82rem;
    padding: 9px 16px;
    border-radius: var(--radius-full);
    margin-top: 6px;
    transition: background var(--transition), transform var(--transition);
    letter-spacing: .02em;
}

.footer-nav__link--cta:hover {
    background: var(--red-dark);
    color: var(--white) !important;
    padding-left: 16px;
    transform: translateY(-1px);
}

.footer-address { display: flex; flex-direction: column; gap: 14px; }

.footer-address__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .875rem;
    color: rgba(255,255,255,.5);
    line-height: 1.65;
}

.footer-address__icon {
    color: var(--blue-light);
    font-size: .95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    background: #111d2c;
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 18px 0;
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom__copy {
    font-size: .78rem;
    color: rgba(255,255,255,.35);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom__location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,.25);
    font-size: .72rem;
}

.footer-bottom__links {
    display: flex;
    gap: 18px;
    list-style: none;
    flex-wrap: wrap;
}

.footer-bottom__links a {
    font-size: .75rem;
    color: rgba(255,255,255,.3);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom__links a:hover { color: rgba(255,255,255,.7); }


/* ================================================================
   8. BOUTON RETOUR EN HAUT
================================================================= */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s, visibility .3s, transform .3s, background var(--transition);
    z-index: 900;
}

.back-to-top--visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover    { background: var(--red-dark); transform: translateY(-3px); }


/* ================================================================
   9. RESPONSIVE — NAVBAR MOBILE (≤ 991px)
================================================================= */
@media (max-width: 991px) {

    #navbar { width: 100%; }

    .navbar-inner {
        padding: 0 14px;
         /* padding: 0 14px 0 !important; */

        gap: 0;
        justify-content: space-between;
        position: relative;
    }

    /* Burger visible à gauche — 1er enfant dans le HTML */
    .nav-burger {
        display: flex;
        flex-shrink: 0;
    }

    /* Logo centré en absolu */
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Langue à droite */
    .nav-actions {
        flex-shrink: 0;
    }

    .lang-switcher__globe { display: none; }
    .lang-switcher { padding: 5px 10px; gap: 4px; }

    /* ============================================================
       TIROIR MENU
       On utilise height: calc(100vh - var(--navbar-h)) au lieu
       de bottom:0 car bottom:0 peut échouer si un parent
       a overflow:hidden ou une hauteur non définie.
    ============================================================ */
    .nav-menu {
        position: fixed;
        top: var(--navbar-h);
        left: 0;
        width: 100vw;
        /* Hauteur auto : s'adapte au contenu, pas d'espace blanc */
        height: auto;
        max-height: calc(100dvh - var(--navbar-h));

        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 0;
        gap: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;

        /* Fermé */
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform .35s cubic-bezier(.25,.8,.25,1),
                    opacity .35s cubic-bezier(.25,.8,.25,1),
                    visibility .35s;
        z-index: 999;
    }

    /* Ouvert */
    .nav-menu.nav-menu--open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    /* Chaque item occupe toute la largeur avec une belle hauteur tactile */
    .nav-menu__item {
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
        flex-shrink: 0; /* ne pas compresser les items */
    }

    .nav-menu__item--cta  { display: none !important; }
    .nav-menu__item--lang { display: none !important; }

    /* Liens grands et faciles à tapper */
    .nav-menu__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 20px;
        font-size: .95rem;
        font-weight: 600;
        color: var(--gray-800);
        border-radius: 0;
        background: none;
        width: 100%;
        white-space: normal;
        min-height: 48px;
    }

    .nav-menu__link:hover,
    .nav-menu__link.is-active {
        background: var(--red-soft);
        color: var(--red);
    }

    .nav-menu__item--dropdown.is-open > .nav-menu__link {
        color: var(--red);
        background: var(--red-soft);
    }

    .nav-menu__item--dropdown.is-open .nav-menu__chevron {
        transform: rotate(180deg);
    }

    /* ── Accordéon services ─────────────────────────────────── */
    .nav-dropdown {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid var(--gray-100) !important;
        background: var(--gray-50) !important;
        border-radius: 0 !important;
        min-width: 0 !important;
        width: 100%;
        display: none;
        padding: 4px 0 8px;
    }

    .nav-menu__item--dropdown.is-open .nav-dropdown {
        display: block;
    }

    .nav-dropdown__grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
    }

    /* Items du sous-menu */
    .nav-dropdown__item {
        padding: 10px 20px;
        gap: 12px;
        border-radius: 0;
        border-bottom: 1px solid var(--gray-100);
        min-height: 44px;
    }

    .nav-dropdown__item:last-child { border-bottom: none; }

    .nav-dropdown__icon { width: 32px; height: 32px; font-size: .9rem; }
    .nav-dropdown__label { font-size: .95rem; }

    .nav-dropdown__footer {
        padding: 12px 24px;
        border-top: 1px solid var(--gray-200);
    }

    main#main-content { padding-top: var(--navbar-h); }
}


/* ================================================================
   10. RESPONSIVE — FOOTER
================================================================= */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 767px) {
    :root {
        --section-py: 40px;
        --section-py-sm: 28px;
    }
    :root { --hero-pt: 24px; --hero-pb: 24px; }
    .footer-body { padding: 48px 0 36px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
    .footer-bottom__copy  { flex-direction: column; gap: 4px; }
}


/* ================================================================
   11. ANIMATIONS WOW.js
================================================================= */
.delay-1  { animation-delay: .1s !important; }
.delay-2  { animation-delay: .2s !important; }
.delay-3  { animation-delay: .3s !important; }
.delay-4  { animation-delay: .4s !important; }
.delay-5  { animation-delay: .5s !important; }
.delay-6  { animation-delay: .6s !important; }
.delay-8  { animation-delay: .8s !important; }
.delay-10 { animation-delay: 1s  !important; }


/* ================================================================
   12. ACCESSIBILITÉ
================================================================= */
:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
    border-radius: var(--radius-xs);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}