/* =========================================
   RÉINITIALISATION
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #ffffff;
    color: #111914;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;
}

a {
    color: inherit;
}


/* =========================================
   BANNIÈRE DE DÉMONSTRATION
========================================= */

.demo-banner {
    width: 100%;

    padding:
        10px 15px;

    background: #f2c500;
    color: #111111;

    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;

    text-align: center;
}


/* =========================================
   EN-TÊTE
========================================= */

.site-header {
    background:
        linear-gradient(
            90deg,
            #06110d 0%,
            #0b241d 25%,
            #12352a 50%,
            #0b241d 75%,
            #06110d 100%
        );
}

.main-navbar {
    height: 88px;

    display: grid;

    grid-template-columns:
        220px 1fr 190px;

    align-items: center;

    padding:
        0 55px;
}

.site-logo {
    color: #ffffff;

    text-decoration: none;

    font-size: 2rem;
    font-weight: 700;
}

.main-navigation {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);
}

.main-navigation a {
    justify-self: center;

    color: #ffffff;

    text-decoration: none;

    font-weight: 500;
}

.header-contact {
    justify-self: end;

    padding:
        12px 19px;

    border:
        1px solid
        rgba(255, 255, 255, 0.45);

    border-radius: 5px;

    color: #ffffff;

    text-decoration: none;

    font-weight: 600;
}


/* =========================================
   HERO
========================================= */

.cookies-hero {
    padding:
        110px 30px;

    background:
        linear-gradient(
            120deg,
            #ffffff,
            #eaf6ef
        );
}

.cookies-hero-content {
    width:
        min(
            1250px,
            92%
        );

    margin: auto;
}


/* =========================================
   AVERTISSEMENT JURIDIQUE
========================================= */

.legal-warning {
    max-width: 780px;

    margin:
        0 0 28px;

    padding:
        14px 18px;

    border-left:
        4px solid
        #f2c500;

    border-radius:
        0 6px 6px 0;

    background: #fff8d8;
    color: #453b00;

    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;

    box-shadow:
        0 8px 24px
        rgba(69, 59, 0, 0.08);
}


/* =========================================
   TITRE DU HERO
========================================= */

.page-eyebrow {
    margin:
        0 0 18px;

    color: #168653;

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 2.2px;
}

.cookies-hero h1 {
    max-width: 1000px;

    margin:
        0 0 25px;

    color: #092b1d;

    font-size:
        clamp(
            3rem,
            5.5vw,
            5.8rem
        );

    line-height: 1;

    letter-spacing: -4px;
}

.cookies-hero-content > p:last-child {
    max-width: 780px;

    margin: 0;

    color: #657069;

    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================
   CONTENU DES COOKIES
========================================= */

.cookies-section {
    padding:
        105px 0;
}

.cookies-container {
    width:
        min(
            1100px,
            92%
        );

    margin: auto;

    display: flex;

    flex-direction: column;

    gap: 18px;
}


/* =========================================
   ENCADRÉ DE SITUATION ACTUELLE
========================================= */

.cookies-highlight {
    display: grid;

    grid-template-columns:
        75px 1fr;

    gap: 25px;

    padding: 40px;

    border-radius: 15px;

    background:
        linear-gradient(
            115deg,
            #092b1d,
            #188655
        );

    color: #ffffff;
}

.status-icon {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;
    color: #168653;

    font-size: 1.5rem;
    font-weight: 700;
}

.status-label {
    margin:
        0 0 13px;

    color: #b8e4ca;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 2px;
}

.cookies-highlight h2 {
    margin:
        0 0 17px;

    font-size: 1.65rem;
    line-height: 1.35;
}

.cookies-highlight div > p:last-child {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.73);

    line-height: 1.8;
}


/* =========================================
   CARTES DE CONTENU
========================================= */

.cookies-card {
    padding: 40px;

    border:
        1px solid
        #d7e4dc;

    border-radius: 13px;

    background: #ffffff;

    box-shadow:
        0 12px 35px
        rgba(9, 43, 29, 0.04);
}

.cookies-card > span {
    display: block;

    margin-bottom: 24px;

    color: #168653;

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 2px;
}

.cookies-card h2 {
    margin:
        0 0 22px;

    color: #092b1d;

    font-size: 1.65rem;
}

.cookies-card p,
.cookies-card li {
    color: #59645e;

    font-size: 0.95rem;
    line-height: 1.85;
}

.cookies-card ul {
    padding-left: 21px;
}

.cookies-card li {
    margin-bottom: 8px;
}

.cookies-card a {
    color: #137b4b;

    font-weight: 600;
}


/* =========================================
   SERVICES TECHNIQUES
========================================= */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

    margin-top: 27px;
}

.service-card {
    padding: 25px;

    border:
        1px solid
        #dce7e0;

    border-radius: 10px;

    background: #f7faf8;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(22, 134, 83, 0.4);

    box-shadow:
        0 12px 28px
        rgba(9, 43, 29, 0.08);
}

.service-card h3 {
    margin:
        0 0 12px;

    color: #137b4b;

    font-size: 1rem;
}

.service-card p {
    margin: 0;

    font-size: 0.86rem;
    line-height: 1.7;
}


/* =========================================
   FOOTER
========================================= */

.footer-section {
    padding-top: 65px;

    background:
        linear-gradient(
            90deg,
            #06110d,
            #12352a,
            #06110d
        );

    color: #ffffff;
}

.footer-content {
    width:
        min(
            1250px,
            92%
        );

    margin: auto;

    display: flex;

    justify-content: space-between;

    gap: 45px;

    padding-bottom: 55px;
}

.footer-content strong {
    font-size: 1.4rem;
}

.footer-content p {
    color:
        rgba(255, 255, 255, 0.7);

    line-height: 1.7;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    align-items: flex-start;

    gap: 20px;
}

.footer-links a {
    color:
        rgba(255, 255, 255, 0.76);

    text-decoration: none;

    font-size: 0.88rem;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-links a:hover {
    color: #b8e4ca;

    transform:
        translateY(-2px);
}

.footer-bottom {
    padding:
        13px 4%;

    background: #e9e9e9;
    color: #1b1b1b;

    font-size: 0.85rem;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .main-navbar {
        grid-template-columns:
            1fr auto;

        padding:
            0 24px;
    }

    .main-navigation {
        display: none;
    }

    .service-grid {
        grid-template-columns:
            1fr;
    }

}


@media (max-width: 620px) {

    .demo-banner {
        padding:
            9px 12px;

        font-size: 0.78rem;
    }

    .cookies-hero {
        padding:
            78px 20px;
    }

    .legal-warning {
        margin-bottom: 24px;

        padding:
            12px 14px;

        font-size: 0.85rem;
    }

    .cookies-hero h1 {
        letter-spacing: -2px;
    }

    .cookies-section {
        padding:
            75px 0;
    }

    .cookies-highlight {
        grid-template-columns:
            1fr;

        padding:
            29px 23px;
    }

    .cookies-card {
        padding:
            28px 22px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
    }

}