/* =====================================================
   NEXUS URANOS — responsive.css
   Adaptations tablette et mobile
   ===================================================== */

/* ── TABLETTE (≤ 1024px) ────────────────────────────── */
@media (max-width: 1024px) {
    .nexus-nav {
        padding: 1rem 1.5rem;
    }

    .nexus-nav__links {
        gap: 1.5rem;
    }

    .nexus-hero {
        padding: 6rem 1.5rem 3rem;
    }
}

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

    /* Burger visible */
    .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;
    }

    /* NAV CONTAINER */
    .nexus-nav {
        padding: 0 1rem !important;
        height: 64px !important;
        min-height: 64px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        overflow: visible !important;
    }

    /* OVERLAY PLEIN ÉCRAN — méthode la plus fiable sur iOS */
    .nexus-nav__links {
        /* Caché par défaut */
        display: none !important;

        /* Plein écran, indépendant de tout parent */
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 999999 !important;

        /* Mise en page */
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;

        /* Style */
        background: rgba(3, 15, 40, 0.98) !important;
        backdrop-filter: none !important;
        margin: 0 !important;
        padding: 2rem !important;
        list-style: none !important;
    }

    /* Ouvert */
    .nexus-nav__links.is-open {
        display: flex !important;
    }

    /* Bouton fermer en haut à droite dans l'overlay */
    .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 — grands et bien lisibles */
    .nexus-nav__links a {
        display: block !important;
        width: 100% !important;
        padding: 1.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;
        text-decoration: none !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;
    }

    /* Ajustements hero et contenu */
    .nexus-hero { padding-top: 3rem !important; }
    .nexus-page-content { padding-top: 2rem !important; }
}


/* ── PETIT MOBILE (≤ 480px) ─────────────────────────── */
@media (max-width: 480px) {
    .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: 1.2rem 3rem;
    }

    .nexus-hero {
        padding: 8rem 2rem 5rem;
    }
}
