/* --------------------------------------------------
   Tarifs - Hero
-------------------------------------------------- */

.network-page-hero {
    padding: 80px 0 60px;

    background: var(--background);
}

.network-page-hero h1 {
    margin: 0;

    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.network-page-hero p {
    max-width: 700px;

    margin: 22px 0 0;

    color: var(--text-muted);

    font-size: 1.15rem;
}


/* --------------------------------------------------
   Tarifs - Onglets
-------------------------------------------------- */

.network-tabs-section {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.transport-tabs {
    display: flex;
    overflow-x: auto;
}

.transport-tab {
    flex: 0 0 auto;

    padding: 20px 22px;

    background: none;
    border: 0;
    border-bottom: 3px solid transparent;

    color: var(--text-muted);

    cursor: pointer;

    font-weight: 700;
}

.transport-tab:hover {
    color: var(--green-dark);
}

.transport-tab.active {
    border-bottom-color: var(--green-dark);
    color: var(--green-dark);

    font-weight: 900;
}

.network-tab-content {
    display: none;

    padding: 75px 0 90px;
}

.network-tab-content.active {
    display: block;
}


/* --------------------------------------------------
   Tarifs - Heading
-------------------------------------------------- */

.network-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 40px;
    align-items: end;

    margin-bottom: 40px;
}

.network-section-heading h2 {
    margin: 0;

    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.05;
}

.network-section-heading > p {
    max-width: 520px;
    margin: 0;

    color: var(--text-muted);
}

.section-kicker {
    color: var(--green-dark);

    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* --------------------------------------------------
   Tarifs - Sections
-------------------------------------------------- */

.pricing-section {
    margin-bottom: 70px;
}

.pricing-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;

    margin-bottom: 25px;
}

.pricing-section-heading h3 {
    margin: 4px 0 0;

    font-size: 2rem;
}

.pricing-section-heading > p {
    max-width: 500px;
    margin: 0;

    color: var(--text-muted);
}


/* --------------------------------------------------
   Tarifs - Cartes
-------------------------------------------------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.pricing-card {
    padding: 30px;

    background: var(--surface);
    border: 1px solid var(--border);
}

.pricing-card-featured {
    border-top: 4px solid var(--green-dark);
}

.pricing-card-single {
    max-width: 700px;

    border-top: 4px solid var(--green-dark);
}

.pricing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;

    margin-bottom: 20px;
}

.pricing-card h3 {
    margin: 4px 0 0;

    font-size: 1.65rem;
}

.pricing-category {
    color: var(--green-dark);

    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-card > p {
    color: var(--text-muted);

    line-height: 1.6;
}


/* --------------------------------------------------
   Tarifs - Prix
-------------------------------------------------- */

.pricing-price {
    flex: 0 0 auto;

    text-align: right;
}

.pricing-price strong {
    display: block;

    color: var(--green-dark);

    font-size: 1.25rem;
}

.pricing-price span {
    display: block;

    margin-top: 2px;

    color: var(--text-muted);

    font-size: 0.8rem;
}


/* --------------------------------------------------
   Tarifs - Prestations incluses
-------------------------------------------------- */

.pricing-features {
    margin: 25px 0 0;
    padding: 0;

    list-style: none;
}

.pricing-features li {
    position: relative;

    padding: 10px 0 10px 22px;

    border-top: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 0.9rem;
}

.pricing-features li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--green-dark);

    font-weight: 900;
}


/* --------------------------------------------------
   Tarifs - Offre de lancement
-------------------------------------------------- */

.launch-offer {
    margin: 15px 0 75px;
    padding: 35px;

    background: var(--green-soft);
    border: 1px solid var(--border);
    border-left: 5px solid var(--green-dark);
}

.launch-offer-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;

    margin-bottom: 28px;
}

.launch-offer-heading h3 {
    margin: 4px 0 0;

    font-size: 2rem;
}

.launch-offer-heading > p {
    max-width: 430px;
    margin: 0;

    color: var(--text-muted);
}

.launch-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.launch-price {
    padding: 18px;

    background: var(--surface);
    border: 1px solid var(--border);
}

.launch-price strong,
.launch-price span,
.launch-price small {
    display: block;
}

.launch-price strong {
    font-size: 0.9rem;
}

.launch-price span {
    margin-top: 10px;

    color: var(--green-dark);

    font-size: 1.2rem;
    font-weight: 900;
}

.launch-price small {
    margin-top: 3px;

    color: var(--text-muted);

    font-size: 0.75rem;
}


/* --------------------------------------------------
   Tarifs - Conditions
-------------------------------------------------- */

.pricing-conditions {
    margin-top: 20px;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.condition-card {
    padding: 30px;

    background: var(--surface);
    border: 1px solid var(--border);
}

.condition-card h3 {
    margin-top: 0;

    font-size: 1.5rem;
}

.condition-card > p {
    color: var(--text-muted);

    line-height: 1.6;
}

.condition-card ul {
    margin: 25px 0 0;
    padding-left: 20px;
}

.condition-card li {
    margin-bottom: 12px;

    color: var(--text-muted);

    line-height: 1.55;
}

.condition-exclusions {
    margin-top: 25px;
    padding: 16px;

    background: var(--background);
    border-left: 3px solid var(--green-light);
}

.condition-exclusions strong,
.condition-exclusions span {
    display: block;
}

.condition-exclusions span {
    margin-top: 5px;

    color: var(--text-muted);

    font-size: 0.85rem;
    line-height: 1.5;
}

.pricing-regulation {
    margin-top: 22px;
    padding: 22px;

    background: var(--green-soft);
    border: 1px solid var(--border);
}

.pricing-regulation strong {
    color: var(--green-dark);
}

.pricing-regulation p {
    margin: 6px 0 0;

    color: var(--text-muted);
}


/* --------------------------------------------------
   Tarifs - Réseaux futurs
-------------------------------------------------- */

.future-network-panel {
    min-height: 360px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 60px;

    background: var(--green-soft);
    border: 1px solid var(--border);
}

.future-network-panel h2 {
    margin: 0;

    font-size: clamp(2.5rem, 6vw, 4rem);
}

.future-network-panel p {
    max-width: 650px;

    color: var(--text-muted);
}


/* --------------------------------------------------
   Tarifs - Responsive
-------------------------------------------------- */

@media (max-width: 900px) {

    .network-section-heading {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pricing-grid,
    .conditions-grid {
        grid-template-columns: 1fr;
    }

    .launch-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-section-heading,
    .launch-offer-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

}


@media (max-width: 600px) {

    .network-page-hero {
        padding: 60px 0 45px;
    }

    .network-tab-content {
        padding: 50px 0 65px;
    }

    .pricing-card {
        padding: 22px;
    }

    .pricing-card-header {
        flex-direction: column;
        gap: 15px;
    }

    .pricing-price {
        text-align: left;
    }

    .launch-offer {
        padding: 25px 20px;
    }

    .launch-pricing-grid {
        grid-template-columns: 1fr;
    }

    .condition-card {
        padding: 22px;
    }

    .future-network-panel {
        padding: 35px 25px;
    }

}