/* ==========================================================
   NGI — PAGE TARIFS
   Styles spécifiques à tarifs.html
   ========================================================== */


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

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

.tarifs-hero .hero-content {
    max-width: 920px;
}

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

.tarifs-hero p {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
}


/* ==================================================
   2. SECTIONS TARIFAIRES
   ================================================== */

.tarifs-page .tarifs-group {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 8px;
}

.tarifs-page .tarifs-group > .section-title {
    margin-bottom: 28px;
}


/* ==================================================
   3. GRILLES DE CARTES
   ================================================== */

.tarifs-page .cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tarifs-page .card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.tarifs-page .card {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 25px 22px;

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

    border: 1px solid rgba(56, 189, 248, .27);
    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);

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

.tarifs-page .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: .55;
}

.tarifs-page .card-link:hover .card {
    transform: translateY(-3px);

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

    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);
}

.tarifs-page .card > .ngi-icon {
    display: block;
    margin-bottom: 12px;

    color: #38bdf8;
    font-size: 1.9rem;

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

.tarifs-page .card h3 {
    margin: 0 0 12px;

    color: #ffffff;
    font-family: "Orbitron", sans-serif;
    font-size: 1.06rem;
    line-height: 1.4;
}

.tarifs-page .card .price {
    margin: 10px 0 16px;

    color: #38bdf8;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 900;
    line-height: 1.15;

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

.tarifs-page .card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tarifs-page .card li {
    margin-bottom: 7px;
    color: #dbeafe;
    line-height: 1.5;
}


/* ==================================================
   4. TABLEAU DÉPLACEMENTS
   ================================================== */

.tarifs-page .zones-intervention {
    padding-top: 42px;
}

.tarifs-page .zone-table-container {
    overflow: hidden;

    width: min(900px, 100%);
    margin: 0 auto;

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

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

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

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

.tarifs-page .zone-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.tarifs-page .zone-table th,
.tarifs-page .zone-table td {
    padding: 12px 18px;
    text-align: center;
}

.tarifs-page .zone-table th {
    color: #ffffff;
    background: rgba(0, 119, 255, .14);
    font-weight: 800;
}

.tarifs-page .zone-table th:first-child,
.tarifs-page .zone-table td:first-child {
    width: 70%;
}

.tarifs-page .zone-table th:last-child,
.tarifs-page .zone-table td:last-child {
    width: 30%;
    border-left: 1px solid rgba(56, 189, 248, .30);
}

.tarifs-page .zone-table thead th:last-child {
    border-left-color: rgba(56, 189, 248, .48);
}

.tarifs-page .zone-table tbody tr + tr td {
    border-top: 1px solid rgba(56, 189, 248, .10);
}

.tarifs-page .zone-table td:last-child {
    color: #38bdf8;
    font-weight: 800;
}


/* ==================================================
   5. CONTRATS
   ================================================== */

.tarifs-page .tarifs-contrats .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tarifs-page .tarifs-contrats .card {
    text-align: center;
}

.tarifs-page .tarifs-contrats .card ul {
    text-align: left;
}


/* ==================================================
   6. LOCATION / ABONNEMENTS
   ================================================== */

.tarifs-page .tarifs-location {
    padding-bottom: 28px;
}


/* ==================================================
   7. RESPONSIVE
   ================================================== */

@media (max-width: 1050px) {

    .tarifs-page .cards,
    .tarifs-page .tarifs-contrats .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 650px) {

    .tarifs-page .tarifs-group {
        width: calc(100% - 24px);
        padding-top: 32px;
    }

    .tarifs-page .cards,
    .tarifs-page .tarifs-contrats .cards {
        grid-template-columns: 1fr;
    }

    .tarifs-page .card {
        padding: 21px 16px;
    }

    .tarifs-page .zone-table th,
    .tarifs-page .zone-table td {
        padding: 10px 8px;
        font-size: .86rem;
    }

    .tarifs-page .zone-table th:first-child,
    .tarifs-page .zone-table td:first-child {
        width: 64%;
    }

    .tarifs-page .zone-table th:last-child,
    .tarifs-page .zone-table td:last-child {
        width: 36%;
    }

}
