/* =====================================================
   SGU — responsive.css v1.2.0
   Desktop · Tablette · Mobile · Petit mobile
   ===================================================== */

/* ── TABLETTE (≤ 1024px) ────────────────────────────── */
@media (max-width: 1024px) {
    .nexus-nav {
        padding: 0 1.2rem;
    }
    .nexus-nav__links {
        gap: 0.15rem;
    }
    .nexus-nav__links a {
        font-size: 0.72rem;
        padding: 0.4rem 0.6rem;
        letter-spacing: 1px;
    }
    .nexus-hero {
        padding: 6rem 1.5rem 3rem;
    }
}

/* ── TABLETTE ÉTROITE (≤ 860px) ─────────────────────── */
@media (max-width: 860px) {
    .nexus-nav__links a {
        font-size: 0.68rem;
        padding: 0.38rem 0.5rem;
        letter-spacing: 0.8px;
    }
}

/* ── MOBILE (≤ 768px) ───────────────────────────────── */
@media (max-width: 768px) {

    /* Nav : 2 colonnes logo + burger, centre masqué */
    .nexus-nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 1rem !important;
        height: 64px !important;
        min-height: 64px !important;
    }

    /* Logo centré sur mobile */
    .nexus-nav__left {
        justify-content: flex-start;
        flex: 1;
    }
    .nexus-nav__logo {
        font-size: 0.9rem;
        letter-spacing: 4px;
    }

    /* Burger visible */
    .nexus-nav__right {
        flex: 0 0 auto;
    }
    .nexus-nav__burger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        background: rgba(68,221,255,0.08) !important;
        border: 1px solid rgba(68,221,255,0.30) !important;
        border-radius: 6px !important;
        padding: 10px 12px !important;
        cursor: pointer !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    /* Liens : menu overlay plein écran */
    .nexus-nav__links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 999999 !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.75rem !important;
        background: rgba(3, 15, 40, 0.98) !important;
        margin: 0 !important;
        padding: 2rem !important;
        list-style: none !important;
    }
    .nexus-nav__links.is-open {
        display: flex !important;
    }
    /* Croix fermer */
    .nexus-nav__links::before {
        content: "✕" !important;
        position: absolute !important;
        top: 1.2rem !important;
        right: 1.2rem !important;
        font-size: 1.4rem !important;
        color: rgba(68,221,255,0.6) !important;
        cursor: pointer !important;
    }
    /* Items */
    .nexus-nav__links li {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    /* Liens dans overlay */
    .nexus-nav__links a {
        display: block !important;
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        letter-spacing: 2px !important;
        text-align: center !important;
        text-transform: uppercase !important;
        color: #cce8ff !important;
        background: rgba(68,221,255,0.06) !important;
        border: 1px solid rgba(68,221,255,0.25) !important;
        border-radius: 8px !important;
    }
    .nexus-nav__links a:hover,
    .nexus-nav__links a:focus,
    .nexus-nav__links a[aria-current="page"] {
        color: #44DDFF !important;
        background: rgba(68,221,255,0.15) !important;
        border-color: #44DDFF !important;
    }

    /* Hero et contenu */
    .nexus-hero { padding-top: 5rem !important; }
    .nexus-page-content {
        margin-top: 5rem !important;
        padding: 1.5rem !important;
    }
}

/* ── PETIT MOBILE (≤ 480px) ─────────────────────────── */
@media (max-width: 480px) {
    .nexus-nav__logo {
        font-size: 0.82rem;
        letter-spacing: 3px;
    }
    .nexus-hero__title { font-size: 1.8rem; }
    .nexus-hero__title-highlight { font-size: 2rem; }
    .nexus-hero__ship-wrapper { width: 160px; height: 160px; }
}

/* ── GRAND ÉCRAN (≥ 1600px) ─────────────────────────── */
@media (min-width: 1600px) {
    .nexus-nav { padding: 0 3rem; }
    .nexus-hero { padding: 8rem 2rem 5rem; }
}

/* ── REDUCED MOTION ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
