:root {
    --purple: #5f1da3;
    --purple2: #7d28c7;
    --blue: #0878d1;
    --navy: #101f45;
    --orange: #f29400;
    --green: #15843d;
    --red: #e23131;
    --text: #162242;
    --muted: #68718a;
    --line: #e7e7ee;
    --bg: #fff;
}


/* =========================================================
   GLOBAL
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
    color: var(--text);
    background: #fff;
}

.container {
    width: min(
        1420px,
        calc(100% - 64px)
    );
    margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    height: 84px;
    background: #fff;
    border-bottom: 1px solid #ececf2;

    position: sticky;
    top: 0;

    z-index: 1000;
}

.nav-wrap {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 26px;
}


/* =========================================================
   LOGO
========================================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--text);
    text-decoration: none;

    min-width: 315px;
}

.brand img {
    width: 66px;
    height: 66px;

    object-fit: cover;

    border-radius: 50%;
}

.brand strong {
    font-family: Georgia, serif;

    font-size: 25px;

    color: #5b1b9c;

    white-space: nowrap;
}

.brand strong span {
    color: var(--orange);
}

.brand small {
    display: block;

    color: #5e6780;

    font-size: 11px;

    margin-top: 2px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-self: stretch;
    align-items: center;

    gap: 34px;

    margin-left: auto;
}

.main-nav > a {
    height: 100%;

    display: flex;
    align-items: center;

    color: #171717;

    text-decoration: none;

    font-size: 14px;

    position: relative;

    white-space: nowrap;
}

.main-nav > a.active {
    color: var(--purple);

    font-weight: 700;
}

.main-nav > a.active::after {
    content: "";

    height: 3px;

    background: var(--purple);

    left: 0;
    right: 0;
    bottom: 0;

    position: absolute;
}


/* =========================================================
   ACTIONS HEADER
========================================================= */

.nav-actions {
    display: flex;
    align-items: center;

    gap: 16px;
}

.phone {
    display: flex;
    align-items: center;

    gap: 8px;

    text-decoration: none;

    color: #432064;
}

.phone > span {
    display: flex;
    flex-direction: column;
}

.phone small {
    font-size: 10px;

    color: #70768b;
}


/* =========================================================
   BOUTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 9px;

    padding: 13px 20px;

    text-decoration: none;

    font-weight: 700;

    cursor: pointer;
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            #6416a5,
            #7627c0
        );

    color: #fff;

    box-shadow:
        0 8px 20px
        rgba(97, 29, 163, .18);
}

.btn-light {
    background: #fff;

    color: #1f2b46;

    border: 1px solid #dfe2ea;
}


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

.menu-toggle {
    display: none;

    border: 0;

    background: none;

    font-size: 25px;

    cursor: pointer;
}


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

.hero {
    background:
        linear-gradient(
            122deg,
            #f8f5ff 0%,
            #fff 55%,
            #fff4e2 100%
        );

    overflow: hidden;
}

.hero-grid {
    min-height: 470px;

    display: grid;

    grid-template-columns:
        44%
        56%;

    align-items: center;
}

.hero-copy {
    padding:
        54px
        0
        62px
        36px;
}

.eyebrow {
    display: inline-block;

    border: 1px solid #9c62cc;

    color: #5e2098;

    border-radius: 30px;

    padding: 8px 14px;

    font-size: 12px;

    font-weight: 700;

    background: #fbf8ff;
}

.hero h1 {
    font-size: 51px;

    line-height: 1.05;

    margin:
        17px
        0
        14px;

    color: #12234a;
}

.hero h1 span {
    font-family: Georgia, serif;

    color: #5f1e9e;
}

.hero h1 em {
    font-style: normal;

    color: var(--orange);
}

.hero-copy > p {
    font-size: 16px;

    line-height: 1.65;

    color: #3e4966;

    max-width: 660px;
}

.hero-actions {
    display: flex;

    gap: 18px;

    margin-top: 22px;
}


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

.hero-visual {
    height: 470px;

    position: relative;
}

.orbit {
    position: absolute;

    border-radius: 50%;

    border: 26px solid transparent;
}

.orbit-purple {
    width: 340px;
    height: 340px;

    border-top-color: #6822a8;
    border-left-color: #6822a8;

    right: 270px;
    top: 40px;

    transform: rotate(20deg);
}

.orbit-orange {
    width: 260px;
    height: 260px;

    border-top-color: #f9a51a;
    border-right-color: #f9a51a;

    right: 0;
    top: 65px;
}


/* =========================================================
   CARTES VISUELLES HERO
========================================================= */

.service-stack {
    position: absolute;

    inset: 0;
}

.visual-card {
    position: absolute;

    background: #fff;

    border-radius: 22px;

    box-shadow:
        0 20px 38px
        rgba(22, 31, 61, .15);

    padding: 18px;

    font-size: 64px;

    text-align: center;

    z-index: 4;
}

.visual-card span {
    display: block;

    font-size: 12px;

    font-weight: 800;

    margin-top: 6px;

    white-space: nowrap;
}


/* =========================================================
   IMPRIMERIE
========================================================= */

.printer {
    left: 40px;

    bottom: 44px;

    transform:
        rotate(-7deg);
}


/* =========================================================
   IMMOBILIER
========================================================= */

.home {
    right: 10px;

    top: 36px;

    font-size: 70px;

    z-index: 5;
}


/* =========================================================
   MICROFINANCE
   IMPORTANT :
   on utilise TOP et non BOTTOM.
   Cela donne un vrai espace sous Immobilier.
========================================================= */

.money {
    right: 20px;

    top: 190px;

    bottom: auto;

    font-size: 52px;

    z-index: 6;
}


/* =========================================================
   BUANDERIE
========================================================= */

.laundry {
    right: 125px;

    bottom: 84px;

    font-size: 76px;

    z-index: 5;
}


/* =========================================================
   AUTOMOBILE
========================================================= */

.auto {
    right: 2px;

    bottom: 38px;

    font-size: 60px;

    z-index: 5;
}


/* =========================================================
   PERSONNAGE
========================================================= */

.agent {
    position: absolute;

    left: 285px;

    bottom: 0;

    width: 180px;

    text-align: center;

    z-index: 3;
}

.agent-head {
    font-size: 86px;
}

.agent-body {
    width: 115px;
    height: 125px;

    margin:
        -16px
        auto
        0;

    border-radius:
        50px
        50px
        12px
        12px;

    background:
        linear-gradient(
            #6625a5,
            #491779
        );

    color: #fff;

    font-family: Georgia, serif;

    font-size: 72px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-box {
    position: absolute;

    left: -44px;

    bottom: 6px;

    background: white;

    border-radius: 9px;

    padding:
        10px
        14px;

    font-size: 11px;

    font-weight: 800;

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, .15);
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding:
        24px
        0
        34px;
}

.section-title {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 28px;

    text-align: center;
}

.section-title > span {
    width: 28px;
    height: 2px;

    background: var(--purple);
}

.section-title h2 {
    margin: 0;

    font-size: 28px;
}

.section-title p {
    margin:
        5px
        0
        0;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   SERVICES
========================================================= */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 22px;

    margin-top: 16px;
}

.service-card {
    border:
        1px solid
        #e7e8ee;

    border-radius: 12px;

    padding:
        20px
        17px;

    text-align: center;

    min-height: 220px;

    background: #fff;

    box-shadow:
        0 7px 20px
        rgba(25, 35, 65, .035);

    transition: .25s;

    scroll-margin-top: 110px;
}

.service-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 16px 30px
        rgba(25, 35, 65, .09);
}

.service-card:target {
    transform:
        translateY(-5px);

    border-color:
        rgba(95, 29, 163, .40);

    box-shadow:
        0 0 0 4px
        rgba(95, 29, 163, .10),
        0 16px 30px
        rgba(25, 35, 65, .10);
}

.service-icon {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    margin:
        0
        auto
        10px;

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

    font-size: 28px;
}

.service-card h3 {
    margin:
        6px
        0
        8px;

    font-size: 17px;
}

.service-card p {
    font-size: 12px;

    line-height: 1.55;

    color: #4f5870;

    min-height: 75px;
}

.service-card a {
    text-decoration: none;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   COULEURS SERVICES
========================================================= */

.purple .service-icon {
    background: #efe5f8;
}

.purple h3,
.purple a {
    color: #6a21aa;
}

.blue .service-icon {
    background: #e4f2fe;
}

.blue h3,
.blue a {
    color: #0878d1;
}

.red .service-icon {
    background: #fde6e6;
}

.red h3,
.red a {
    color: #df2c2c;
}

.orange .service-icon {
    background: #fff0dc;
}

.orange h3,
.orange a {
    color: #ed8500;
}

.green .service-icon {
    background: #e5f4e9;
}

.green h3,
.green a {
    color: #167e3d;
}


/* =========================================================
   POURQUOI NOUS CHOISIR
========================================================= */

.trust-section {
    padding:
        0
        0
        34px;
}

.trust-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    border:
        1px solid
        #e8e7f0;

    border-radius: 12px;

    background:
        linear-gradient(
            90deg,
            #faf7ff,
            #fff
        );

    overflow: hidden;
}

.trust-item {
    display: flex;
    align-items: center;

    gap: 13px;

    padding:
        22px
        18px;

    position: relative;
}

.trust-item:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;
    top: 22px;
    bottom: 22px;

    width: 1px;

    background: #dedee7;
}

.trust-icon {
    width: 48px;
    height: 48px;

    min-width: 48px;

    border-radius: 50%;

    background: #eee4fa;

    color: #6122a2;

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

    font-size: 22px;
}

.blue-bg {
    background: #e2f1fe;

    color: #0878d1;
}

.green-bg {
    background: #e1f3e6;

    color: #13813c;
}

.orange-bg {
    background: #fff0de;

    color: #e98500;
}

.trust-item h4 {
    margin:
        0
        0
        5px;

    font-size: 13px;

    color: #6220a0;
}

.trust-item p {
    margin: 0;

    font-size: 11px;

    line-height: 1.45;

    color: #5d657c;
}


/* =========================================================
   SUIVI COMMANDE
========================================================= */

.tracking {
    padding-top: 0;
}

.tracking-box {
    border-radius: 20px;

    background:
        linear-gradient(
            120deg,
            #101f45,
            #4b207d
        );

    color: #fff;

    padding:
        34px
        40px;

    display: grid;

    grid-template-columns:
        1.4fr
        1fr;

    gap: 30px;

    align-items: center;
}

.tracking-box h2 {
    font-size: 28px;

    margin:
        10px
        0
        8px;
}

.tracking-box p {
    color: #dce3ef;

    line-height: 1.6;
}

.tracking-form {
    display: flex;

    background: #fff;

    padding: 6px;

    border-radius: 11px;
}

.tracking-form input {
    flex: 1;

    border: 0;

    outline: none;

    padding:
        0
        14px;

    font-size: 14px;

    min-width: 0;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background:
        linear-gradient(
            100deg,
            #32206f,
            #65189f 55%,
            #0638a6
        );

    color: #fff;

    margin-top: 14px;
}

.footer-main {
    display: grid;

    grid-template-columns:
        1.3fr
        1fr
        .9fr
        .8fr;

    gap: 28px;

    align-items: center;

    padding:
        25px
        0;
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 12px;
}

.footer-brand img {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    object-fit: cover;
}

.footer-brand strong {
    font-size: 22px;

    font-family: Georgia, serif;
}

.footer-brand p,
.footer-help p {
    margin:
        4px
        0
        0;

    font-size: 12px;
}

.footer-help strong {
    font-size: 13px;
}

.footer-phone,
.whatsapp {
    background: #fff;

    color: #59209b;

    text-decoration: none;

    padding:
        13px
        20px;

    border-radius: 9px;

    font-weight: 800;

    text-align: center;
}

.whatsapp {
    background: #119646;

    color: #fff;
}

.footer-bottom {
    background: #fff;

    color: #60677e;

    font-size: 11px;
}

.footer-bottom .container {
    height: 45px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* =========================================================
   RESPONSIVE - 1200px
========================================================= */

@media (
    max-width: 1200px
) {

    .main-nav {
        gap: 18px;
    }

    .brand {
        min-width: 260px;
    }

    .brand strong {
        font-size: 21px;
    }

    .phone {
        display: none;
    }

    .service-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .hero-grid {
        grid-template-columns:
            1fr
            1fr;
    }

    .hero-visual {
        min-width: 0;
    }

    .orbit-purple {
        right: 190px;
    }

    .agent {
        left: 180px;
    }

    /*
    |--------------------------------------------------------------------------
    | POSITIONS CARTES TABLETTE / PETIT PC
    |--------------------------------------------------------------------------
    */

    .printer {
        left: 15px;
        bottom: 42px;
    }

    .home {
        right: 8px;
        top: 34px;
    }

    .money {
        right: 16px;
        top: 195px;
        bottom: auto;
    }

    .laundry {
        right: 115px;
        bottom: 82px;
    }

    .auto {
        right: 0;
        bottom: 36px;
    }

    .trust-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


/* =========================================================
   RESPONSIVE - TABLETTE / MOBILE
========================================================= */

@media (
    max-width: 850px
) {

    .container {
        width: min(
            calc(100% - 30px),
            1420px
        );
    }

    .site-header {
        height: auto;
    }

    .nav-wrap {
        min-height: 76px;

        flex-wrap: wrap;
    }

    .brand {
        min-width: 0;

        flex: 1;
    }

    .brand img {
        width: 54px;
        height: 54px;
    }

    .brand small {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;

        width: 100%;

        order: 5;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding:
            8px
            0
            15px;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a {
        height: auto;

        width: 100%;

        padding:
            11px
            3px;
    }

    .main-nav > a.active::after {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding:
            48px
            0
            20px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-visual {
        height: 420px;

        max-width: 650px;

        width: 100%;

        margin: auto;
    }

    .orbit-purple {
        width: 290px;
        height: 290px;

        right: 180px;

        top: 40px;
    }

    .orbit-orange {
        width: 220px;
        height: 220px;

        right: 5px;

        top: 75px;
    }

    .printer {
        left: 10px;

        bottom: 35px;
    }

    .home {
        right: 5px;

        top: 30px;
    }

    .money {
        right: 12px;

        top: 190px;

        bottom: auto;
    }

    .laundry {
        right: 120px;

        bottom: 70px;
    }

    .auto {
        right: 0;

        bottom: 25px;
    }

    .agent {
        left: 50%;

        transform:
            translateX(-50%);
    }

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

    .trust-grid {
        grid-template-columns:
            1fr
            1fr;
    }

    .tracking-box {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns:
            1fr
            1fr;
    }

    .footer-bottom .container {
        height: auto;

        padding:
            14px
            0;

        gap: 10px;

        flex-direction: column;

        text-align: center;
    }

}


/* =========================================================
   RESPONSIVE - PETIT MOBILE
========================================================= */

@media (
    max-width: 560px
) {

    .brand strong {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 33px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    /*
    |--------------------------------------------------------------------------
    | PLUS DE HAUTEUR POUR ÉVITER LES CHEVAUCHEMENTS
    |--------------------------------------------------------------------------
    */

    .hero-visual {
        height: 410px;
    }

    .visual-card {
        padding: 11px;

        font-size: 40px;

        border-radius: 16px;
    }

    .visual-card span {
        font-size: 10px;
    }


    /*
    |--------------------------------------------------------------------------
    | CERCLES
    |--------------------------------------------------------------------------
    */

    .orbit-purple {
        width: 245px;
        height: 245px;

        right: 45px;

        top: 55px;

        border-width: 19px;
    }

    .orbit-orange {
        width: 185px;
        height: 185px;

        right: -70px;

        top: 90px;

        border-width: 18px;
    }


    /*
    |--------------------------------------------------------------------------
    | IMPRIMERIE
    |--------------------------------------------------------------------------
    */

    .printer {
        left: 0;

        bottom: 35px;

        transform:
            rotate(-5deg);
    }


    /*
    |--------------------------------------------------------------------------
    | IMMOBILIER
    |--------------------------------------------------------------------------
    */

    .home {
        right: 2px;

        top: 20px;

        font-size: 42px;
    }


    /*
    |--------------------------------------------------------------------------
    | MICROFINANCE
    |--------------------------------------------------------------------------
    |
    | espace réel sous Immobilier
    |--------------------------------------------------------------------------
    */

    .money {
        right: 8px;

        top: 145px;

        bottom: auto;

        font-size: 38px;
    }


    /*
    |--------------------------------------------------------------------------
    | BUANDERIE
    |--------------------------------------------------------------------------
    */

    .laundry {
        right: 83px;

        bottom: 77px;

        font-size: 43px;
    }


    /*
    |--------------------------------------------------------------------------
    | AUTOMOBILE
    |--------------------------------------------------------------------------
    */

    .auto {
        right: 0;

        bottom: 20px;

        font-size: 38px;
    }


    /*
    |--------------------------------------------------------------------------
    | PERSONNAGE
    |--------------------------------------------------------------------------
    */

    .agent {
        left: 50%;

        transform:
            translateX(-50%);

        width: 140px;
    }

    .agent-head {
        font-size: 70px;
    }

    .agent-body {
        width: 95px;
        height: 108px;

        font-size: 58px;
    }

    .agent-box {
        left: -35px;

        padding:
            8px
            10px;

        font-size: 9px;
    }


    /* SERVICES */

    .service-grid {
        grid-template-columns: 1fr;
    }


    /* TRUST */

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item:not(:last-child)::after {
        left: 18px;
        right: 18px;

        top: auto;
        bottom: 0;

        width: auto;
        height: 1px;
    }


    /* TRACKING */

    .tracking-box {
        padding:
            26px
            20px;
    }

    .tracking-form {
        flex-direction: column;

        gap: 7px;
    }

    .tracking-form input {
        min-height: 46px;
    }


    /* FOOTER */

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        align-items: flex-start;

        text-align: left;
    }

}