
/* =========================================================
   WIZZY DRAWS — TERMES ET CONDITIONS
   DESIGN IDENTIQUE À LA POLITIQUE DE CONFIDENTIALITÉ
   ========================================================= */

:root {
    --wizzy-blue: #0878e8;
    --wizzy-blue-dark: #062b72;
    --wizzy-light-blue: #eef7ff;
    --wizzy-border: #dceaf7;
    --wizzy-text: #193a70;
    --wizzy-muted: #60789e;
    --white: #ffffff;
}


/* =========================================================
   PAGE
========================================================= */

.terms-page {
    background: #f7faff;
    min-height: 100vh;

    padding: 50px 0 80px;

    font-family: "Nunito", Arial, sans-serif;
    color: var(--wizzy-text);
    line-height: 1.7;
}


.terms-container {
    max-width: 1240px;

    margin: 0 auto;

    padding: 0 20px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.terms-breadcrumb {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    font-size: 14px;

    color: var(--wizzy-muted);
}


.terms-breadcrumb a {
    color: var(--wizzy-blue);

    text-decoration: none;

    transition: .2s ease;
}


.terms-breadcrumb a:hover {
    color: var(--wizzy-blue-dark);
}


.terms-breadcrumb i {
    font-size: 11px;

    color: var(--wizzy-blue);
}


.breadcrumb-arrow {
    color: #b4c2d5;

    font-size: 15px;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.terms-intro {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 20px;
}


.terms-intro-text {
    max-width: 760px;
}


.terms-intro-text p {
    margin: 0 0 12px;

    color: var(--wizzy-muted);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   TRUST BOX
========================================================= */

.terms-trust-box {
    width: 360px;

    display: flex;
    align-items: center;

    gap: 16px;

    padding: 20px;

    background: var(--wizzy-light-blue);

    border: 1px solid var(--wizzy-border);

    border-radius: 16px;

    flex-shrink: 0;
}


.terms-trust-icon {
    width: 55px;
    height: 55px;

    min-width: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #ffffff;

    color: var(--wizzy-blue);

    font-size: 24px;
}


.terms-trust-content h3 {
    margin: 0 0 5px;

    color: var(--wizzy-blue-dark);

    font-size: 15px;

    font-weight: 800;
}


.terms-trust-content p {
    margin: 0;

    color: var(--wizzy-muted);

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   DATE
========================================================= */

.terms-update {
    margin: 0 0 24px;

    text-align: right;

    color: var(--wizzy-muted);

    font-size: 13px;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.terms-layout {
    display: grid;

    grid-template-columns: 265px minmax(0, 1fr);

    gap: 30px;

    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.terms-sidebar {
    position: sticky;

    top: 25px;
}


.terms-sidebar-card {
    background: var(--white);

    border: 1px solid var(--wizzy-border);

    border-radius: 18px;

    padding: 22px;

    box-shadow:
        0 8px 30px rgba(7, 43, 114, 0.05);
}


/* =========================================================
   SIDEBAR TITLE
========================================================= */

.terms-sidebar-title {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    color: var(--wizzy-blue-dark);

    font-size: 17px;

    font-weight: 800;
}


.terms-sidebar-title i {
    color: var(--wizzy-blue);

    font-size: 16px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.terms-navigation {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.terms-navigation a {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 9px 8px;

    border-radius: 9px;

    color: var(--wizzy-muted);

    text-decoration: none;

    font-size: 13px;

    line-height: 1.4;

    transition: all .2s ease;
}


.terms-navigation a span {
    width: 22px;
    min-width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--wizzy-light-blue);

    color: var(--wizzy-blue);

    font-size: 10px;

    font-weight: 800;
}


.terms-navigation a strong {
    font-weight: 700;

    line-height: 1.35;
}


.terms-navigation a:hover,
.terms-navigation a.active {
    color: var(--wizzy-blue);

    background: var(--wizzy-light-blue);
}


.terms-navigation a.active span {
    background: #d5eaff;

    color: var(--wizzy-blue);
}


/* =========================================================
   LEGAL BOX
========================================================= */

.terms-legal-box {
    margin-top: 18px;

    padding: 18px;

    border-radius: 14px;

    background: var(--wizzy-light-blue);

    border: 1px solid var(--wizzy-border);
}


.terms-legal-title {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 10px;

    color: var(--wizzy-blue-dark);

    font-size: 13px;

    font-weight: 800;
}


.terms-legal-title i {
    color: var(--wizzy-blue);

    font-size: 18px;
}


.terms-legal-box p {
    margin: 0 0 10px;

    color: var(--wizzy-muted);

    font-size: 11px;

    line-height: 1.5;
}


.terms-legal-box a {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: var(--wizzy-blue);

    font-size: 11px;

    font-weight: 800;

    text-decoration: none;
}


/* =========================================================
   CONTENT
========================================================= */

.terms-content {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 22px;
}


/* =========================================================
   TERMS CARD
========================================================= */

.terms-card {
    position: relative;

    display: grid;

    grid-template-columns: 60px minmax(0, 1fr);

    gap: 20px;

    background: var(--white);

    border: 1px solid var(--wizzy-border);

    border-radius: 20px;

    padding: 30px;

    box-shadow:
        0 8px 30px rgba(7, 43, 114, 0.035);

    scroll-margin-top: 25px;

    transition:
        box-shadow .2s ease,
        transform .2s ease;
}


.terms-card:hover {
    box-shadow:
        0 10px 34px rgba(7, 43, 114, 0.06);
}


/* =========================================================
   NUMBER
========================================================= */

.terms-number {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--wizzy-light-blue);

    color: var(--wizzy-blue);

    font-size: 15px;

    font-weight: 800;
}


/* =========================================================
   CARD ICON + TITLE
========================================================= */

.terms-card-header {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 20px;
}


.terms-card-icon {
    width: 43px;
    height: 43px;

    min-width: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--wizzy-light-blue);

    color: var(--wizzy-blue);

    font-size: 21px;
}


.terms-card-body h2 {
    margin: 0;

    color: var(--wizzy-blue-dark);

    font-size: 22px;

    line-height: 1.3;

    font-weight: 800;
}


/* =========================================================
   CARD TEXT
========================================================= */

.terms-card-body {
    min-width: 0;
}


.terms-card-body p {
    margin: 0 0 15px;

    color: #496485;

    font-size: 15px;

    line-height: 1.7;
}


.terms-card-body p:last-child {
    margin-bottom: 0;
}


.terms-card-body a {
    color: var(--wizzy-blue);

    font-weight: 700;

    text-decoration: underline;
}


/* =========================================================
   CONTACT
========================================================= */

.terms-contact {
    display: flex;

    flex-wrap: wrap;

    gap: 12px 25px;

    margin-top: 18px;
}


.terms-contact div {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #536b8d;

    font-size: 13px;
}


.terms-contact i {
    color: var(--wizzy-blue);

    font-size: 14px;
}


.terms-contact a {
    color: var(--wizzy-blue);

    text-decoration: none;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 991px) {

    .terms-intro {
        flex-direction: column;
    }


    .terms-trust-box {
        width: 100%;

        max-width: 500px;
    }


    .terms-layout {
        grid-template-columns: 1fr;
    }


    .terms-sidebar {
        position: relative;

        top: auto;
    }


    .terms-navigation {
        display: grid;

        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {

    .terms-page {
        padding-top: 30px;
    }


    .terms-container {
        padding: 0 15px;
    }


    .terms-breadcrumb {
        font-size: 12px;
    }


    .terms-trust-box {
        padding: 18px;
    }


    .terms-update {
        text-align: left;

        font-size: 12px;
    }


    .terms-navigation {
        grid-template-columns: 1fr;
    }


    .terms-card {
        grid-template-columns: 1fr;

        gap: 16px;

        padding: 23px;
    }


    .terms-number {
        width: 42px;
        height: 42px;
    }


    .terms-card-header {
        align-items: flex-start;
    }


    .terms-card-body h2 {
        font-size: 19px;
    }


    .terms-card-body p {
        font-size: 14px;
    }


    .terms-contact {
        display: block;
    }


    .terms-contact div {
        margin-bottom: 8px;

        font-size: 12px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .terms-container {
        padding: 0 12px;
    }


    .terms-intro-text p {
        font-size: 14px;
    }


    .terms-trust-box {
        width: 100%;
    }


    .terms-card {
        padding: 20px;
    }


    .terms-card-header {
        gap: 10px;
    }


    .terms-card-icon {
        width: 41px;
        height: 41px;

        min-width: 41px;

        font-size: 19px;
    }


    .terms-card-body h2 {
        font-size: 18px;
    }


    .terms-card-body p {
        font-size: 14px;
    }

}