/* ============================================================
   ZOOMBROC — CONDITIONS D'UTILISATION
   ============================================================ */

.zb-terms-page {
    --zb-navy: #102a43;
    --zb-cyan: #19b8cf;
    --zb-cyan-dark: #0d8fa5;
    --zb-text: #263746;
    --zb-muted: #607080;
    --zb-border: #dce7ec;
    --zb-soft: #f4fafb;
    --zb-white: #ffffff;

    max-width: 1120px;

    margin: 42px auto 64px;
    padding: 0 24px;

    color: var(--zb-text);

    font-size: 17px;
    line-height: 1.8;
}


/* ============================================================
   HERO
   ============================================================ */

.zb-terms-hero {
    position: relative;
    overflow: hidden;

    margin-bottom: 28px;
    padding: 42px 46px;

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(25, 184, 207, .24),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #102a43 0%,
            #153c59 100%
        );

    color: #fff;

    box-shadow:
        0 14px 38px rgba(16, 42, 67, .14);
}

.zb-terms-hero::after {
    content: "📋";

    position: absolute;

    right: 42px;
    bottom: -20px;

    font-size: 100px;

    opacity: .12;

    transform: rotate(-8deg);
}

.zb-terms-kicker {
    position: relative;
    z-index: 1;

    margin: 0 0 9px;

    color: #7ee8f4;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: .1em;
    text-transform: uppercase;
}

.zb-terms-hero h1 {
    position: relative;
    z-index: 1;

    margin: 0 0 13px;

    color: #fff;

    font-size: clamp(38px, 5vw, 54px);
    line-height: 1.1;

    letter-spacing: -.045em;

    font-weight: 950;
}

.zb-terms-hero p:last-child {
    position: relative;
    z-index: 1;

    max-width: 760px;

    margin: 0;

    color: rgba(255, 255, 255, .9);

    font-size: 17px;
    line-height: 1.7;
}


/* ============================================================
   SOMMAIRE
   ============================================================ */

.zb-terms-nav {
    margin-bottom: 28px;
    padding: 22px 24px;

    border: 1px solid var(--zb-border);
    border-radius: 18px;

    background: var(--zb-white);

    box-shadow:
        0 7px 22px rgba(16, 42, 67, .06);
}

.zb-terms-nav-title {
    margin: 0 0 14px;

    color: var(--zb-navy);

    font-size: 16px;
    font-weight: 900;
}

.zb-terms-nav-list {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.zb-terms-nav-list a {
    display: inline-flex;

    align-items: center;

    min-height: 40px;

    padding: 8px 14px;

    border: 1px solid var(--zb-border);
    border-radius: 10px;

    background: var(--zb-soft);

    color: var(--zb-navy);

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease;
}

.zb-terms-nav-list a:hover,
.zb-terms-nav-list a:focus-visible {
    border-color: var(--zb-cyan);

    background: #eaf9fb;

    color: var(--zb-cyan-dark);
}


/* ============================================================
   CONTENU
   ============================================================ */

.zb-terms-content {
    display: grid;

    gap: 18px;
}

.zb-terms-card {
    scroll-margin-top: 28px;

    padding: 29px 32px;

    border: 1px solid var(--zb-border);
    border-radius: 19px;

    background: var(--zb-white);

    box-shadow:
        0 6px 20px rgba(16, 42, 67, .045);
}

.zb-terms-card h2 {
    display: flex;

    align-items: baseline;

    gap: 11px;

    margin: 0 0 17px;

    color: var(--zb-navy);

    font-size: 25px;
    line-height: 1.3;

    letter-spacing: -.025em;

    font-weight: 950;
}

.zb-terms-card h2::before {
    content: "";

    flex: 0 0 6px;

    width: 6px;
    min-height: 28px;

    border-radius: 999px;

    background: var(--zb-cyan);
}

.zb-terms-card p {
    margin: 0 0 16px;

    color: var(--zb-text);

    font-size: 17px;
    line-height: 1.8;
}

.zb-terms-card p:last-child {
    margin-bottom: 0;
}

.zb-terms-card a {
    color: var(--zb-cyan-dark);

    font-weight: 800;

    text-decoration: underline;
    text-underline-offset: 3px;
}

.zb-terms-card a:hover,
.zb-terms-card a:focus-visible {
    color: var(--zb-navy);
}


/* ============================================================
   INTRO
   ============================================================ */

.zb-terms-intro {
    border-left: 6px solid var(--zb-cyan);

    background:
        linear-gradient(
            90deg,
            #f0fbfc 0%,
            #fff 100%
        );
}


/* ============================================================
   NOTE
   ============================================================ */

.zb-terms-note {
    margin: 20px 0;

    padding: 19px 21px;

    border: 1px solid #e5d9a8;
    border-radius: 14px;

    background: #fffbea;
}

.zb-terms-note strong {
    display: block;

    margin-bottom: 6px;

    color: var(--zb-navy);

    font-size: 16px;
}

.zb-terms-note p {
    margin: 0;

    color: #526273;

    font-size: 16px;
    line-height: 1.7;
}


/* ============================================================
   CONTACT
   ============================================================ */

.zb-terms-contact {
    padding: 32px;

    border-color: #ccecf1;

    background:
        linear-gradient(
            135deg,
            #eef9fb,
            #f7fcfd
        );

    text-align: center;
}

.zb-terms-contact h2 {
    justify-content: center;

    margin-bottom: 12px;
}

.zb-terms-contact h2::before {
    display: none;
}

.zb-terms-contact p {
    max-width: 720px;

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

.zb-terms-email {
    display: inline-block;

    padding: 11px 18px;

    border-radius: 11px;

    background: #fff;

    text-decoration: none !important;

    box-shadow:
        0 5px 16px rgba(16, 42, 67, .06);
}


/* ============================================================
   TABLETTE
   ============================================================ */

@media (max-width: 1199px) {

    .zb-terms-page {
        max-width: 920px;

        margin-top: 30px;

        padding: 0 22px;

        font-size: 17px;
    }

    .zb-terms-hero {
        padding: 36px;
    }

    .zb-terms-card {
        padding: 27px 29px;
    }

    .zb-terms-card h2 {
        font-size: 24px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .zb-terms-page {
        margin: 18px auto 42px;

        padding: 0 13px;

        font-size: 16px;

        line-height: 1.78;
    }

    .zb-terms-hero {
        margin-bottom: 18px;

        padding: 29px 22px 31px;

        border-radius: 19px;
    }

    .zb-terms-hero::after {
        right: 10px;
        bottom: -14px;

        font-size: 72px;
    }

    .zb-terms-kicker {
        font-size: 11px;
    }

    .zb-terms-hero h1 {
        font-size: 34px;

        line-height: 1.15;
    }

    .zb-terms-hero p:last-child {
        font-size: 16px;

        line-height: 1.65;
    }

    .zb-terms-nav {
        margin-bottom: 18px;

        padding: 18px;

        border-radius: 16px;
    }

    .zb-terms-nav-title {
        font-size: 15px;
    }

    .zb-terms-nav-list {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 7px;
    }

    .zb-terms-nav-list a {
        justify-content: center;

        min-height: 43px;

        padding: 8px 9px;

        font-size: 13px;

        text-align: center;
    }

    .zb-terms-content {
        gap: 13px;
    }

    .zb-terms-card {
        padding: 24px 20px;

        border-radius: 16px;
    }

    .zb-terms-card h2 {
        gap: 9px;

        margin-bottom: 15px;

        font-size: 22px;

        line-height: 1.35;
    }

    .zb-terms-card h2::before {
        flex-basis: 5px;

        width: 5px;

        min-height: 25px;
    }

    .zb-terms-card p {
        margin-bottom: 16px;

        font-size: 16px;

        line-height: 1.8;
    }

    .zb-terms-note {
        padding: 18px 17px;
    }

    .zb-terms-note p {
        font-size: 15px;
    }

    .zb-terms-contact {
        padding: 25px 19px;
    }
}


/* ============================================================
   TRÈS PETITS ÉCRANS
   ============================================================ */

@media (max-width: 390px) {

    .zb-terms-page {
        padding: 0 10px;
    }

    .zb-terms-hero {
        padding: 26px 18px 28px;
    }

    .zb-terms-hero h1 {
        font-size: 30px;
    }

    .zb-terms-nav-list {
        grid-template-columns: 1fr;
    }

    .zb-terms-card {
        padding: 22px 17px;
    }

    .zb-terms-card h2 {
        font-size: 21px;
    }
}


/* ============================================================
   ACCESSIBILITÉ
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }
}

@media (prefers-contrast: more) {

    .zb-terms-card,
    .zb-terms-nav {
        border-color: #9aadb8;
    }
}