/* ==========================================================
   NGI — PAGE RÉSEAU & WI-FI
   Styles spécifiques à reseau-wifi.html
   ========================================================== */


/* ==================================================
   1. HERO
   ================================================== */

.reseau-hero {
    min-height: auto;
    padding-bottom: 42px;
}

.reseau-hero .hero-content {
    max-width: 960px;
}

.reseau-hero h1 {
    margin-bottom: 14px;
}

.reseau-hero p {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}


/* ==================================================
   2. CONTENEUR PRINCIPAL
   ================================================== */

.reseau-section {
    width: min(1200px, calc(100% - 40px));

    margin: 0 auto;
    padding: 38px 0 22px;
}


/* ==================================================
   3. CARTES DE CONTENU
   ================================================== */

.reseau-section .content-card {
    position: relative;

    overflow: hidden;

    margin-bottom: 18px;
    padding: 26px 24px;

    background:
        linear-gradient(
            145deg,
            rgba(8, 22, 52, .66),
            rgba(5, 8, 22, .84)
        );

    border: 1px solid rgba(56, 189, 248, .26);
    border-radius: 19px;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .18),
        inset 0 0 16px rgba(0, 166, 255, .02);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.reseau-section .content-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 87, 255, .82),
            rgba(56, 189, 248, .92),
            transparent
        );

    opacity: .54;
}

.reseau-section .content-card h2 {
    margin: 0 0 14px;

    color: #38bdf8;

    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.08rem, 2.5vw, 1.4rem);
    line-height: 1.4;
}

.reseau-section .content-card p {
    margin: 0;

    color: #e2e8f0;
    line-height: 1.72;
}

.reseau-section .content-card ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.reseau-section .content-card li {
    margin-bottom: 8px;

    color: #dbeafe;
    line-height: 1.55;
}


/* ==================================================
   4. INTRODUCTION
   ================================================== */

.reseau-intro {
    text-align: center;
}

.reseau-intro p {
    max-width: 900px;

    margin-right: auto !important;
    margin-left: auto !important;
}


/* ==================================================
   5. BLOCS D'AVANTAGES
   ================================================== */

.reseau-feature-block .advantages,
.reseau-why .advantages {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}

.reseau-feature-block .advantage,
.reseau-why .advantage {
    width: auto;
    max-width: none;

    min-height: 88px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 16px 12px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(9, 24, 55, .74),
            rgba(4, 12, 30, .82)
        );

    border: 1px solid rgba(56, 189, 248, .22);
    border-radius: 15px;

    color: #ffffff;
    font-weight: 700;

    box-shadow:
        inset 0 0 14px rgba(0, 153, 255, .02);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.reseau-feature-block .advantage:hover,
.reseau-why .advantage:hover {
    transform: translateY(-2px);

    border-color: rgba(56, 189, 248, .48);

    box-shadow:
        0 0 20px rgba(0, 153, 255, .07);
}


/* ==================================================
   6. TITRE DES FORFAITS
   ================================================== */

.reseau-section > .section-title {
    margin: 38px 0 26px;
}


/* ==================================================
   7. CARTES TARIFAIRES
   ================================================== */

.reseau-tarif-cards {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 22px;
}

.reseau-tarif-cards .card {
    position: relative;

    overflow: hidden;

    height: 100%;

    padding: 24px 20px;

    background:
        linear-gradient(
            145deg,
            rgba(8, 22, 52, .66),
            rgba(5, 8, 22, .86)
        );

    border: 1px solid rgba(56, 189, 248, .26);
    border-radius: 18px;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .18),
        inset 0 0 16px rgba(0, 153, 255, .02);

    text-align: center;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.reseau-tarif-cards .card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 87, 255, .80),
            rgba(56, 189, 248, .90),
            transparent
        );

    opacity: .55;
}

.reseau-tarif-cards .card:hover {
    transform: translateY(-3px);

    background:
        linear-gradient(
            145deg,
            rgba(8, 22, 52, .76),
            rgba(5, 8, 22, .91)
        );

    border-color: rgba(56, 189, 248, .50);

    box-shadow:
        0 16px 34px rgba(0, 0, 0, .22),
        0 0 24px rgba(0, 153, 255, .08);
}

.reseau-tarif-cards .card > .ngi-icon {
    display: block;

    margin-bottom: 12px;

    color: #38bdf8;

    font-size: 1.9rem;

    text-shadow:
        0 0 12px rgba(56, 189, 248, .20);
}

.reseau-tarif-cards .card h3 {
    min-height: 48px;

    margin: 0 0 12px;

    color: #ffffff;

    font-family: "Orbitron", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

.reseau-tarif-cards .price {
    margin: 10px 0 16px;

    color: #38bdf8;

    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-weight: 900;
    line-height: 1.2;

    text-shadow:
        0 0 10px rgba(56, 189, 248, .34),
        0 0 18px rgba(0, 166, 255, .16);
}

.reseau-tarif-cards ul {
    margin: 0;
    padding: 0;

    list-style: none;

    text-align: left;
}

.reseau-tarif-cards li {
    margin-bottom: 7px;

    color: #dbeafe;

    line-height: 1.5;
}


/* ==================================================
   8. INFORMATIONS IMPORTANTES
   ================================================== */

.reseau-info-card {
    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(0, 87, 255, .10),
            rgba(5, 8, 22, .80)
        ) !important;
}


/* ==================================================
   9. POURQUOI NGI
   ================================================== */

.reseau-why h2 {
    text-align: center;
}


/* ==================================================
   10. RESPONSIVE
   ================================================== */

@media (max-width: 1050px) {

    .reseau-tarif-cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {

    .reseau-feature-block .advantages,
    .reseau-why .advantages {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .reseau-section {
        width: calc(100% - 24px);

        padding-top: 30px;
    }

    .reseau-section .content-card {
        padding: 20px 16px;
    }

    .reseau-feature-block .advantages,
    .reseau-why .advantages,
    .reseau-tarif-cards {
        grid-template-columns: 1fr;
    }

    .reseau-feature-block .advantage,
    .reseau-why .advantage {
        min-height: auto;
    }

    .reseau-tarif-cards .card h3 {
        min-height: auto;
    }

}

/* ==================================================
   CARTE RÉSEAU & WI-FI AVANCÉ — LIEN DÉTAIL
   ================================================== */

.reseau-tarif-cards .card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.reseau-tarif-cards .card-link .card {
    height: 100%;
}

.reseau-tarif-cards .card-more {
    display: inline-block;
    margin-top: 14px;

    color: #38bdf8;

    font-size: .88rem;
    font-weight: 700;

    transition:
        transform .25s ease,
        text-shadow .25s ease;
}

.reseau-tarif-cards .card-link:hover .card-more {
    transform: translateX(3px);

    text-shadow:
        0 0 10px rgba(56, 189, 248, .34);
}

