/* =========================================
   VARIABLES
========================================= */

:root {
    --green-black: #06110e;
    --green-night: #0a211b;
    --green-deep: #12382f;
    --green-eucalyptus: #4f8b76;
    --green-soft: #a8c9ba;
    --green-pale: #dcebe4;

    --sand: #d8b77f;
    --sand-dark: #b78c51;
    --sand-light: #f0dfc2;
    --sand-soft: #fbf7ef;

    --white: #ffffff;
    --black: #101713;

    --grey-text: #5e6863;
    --grey-border: #dce5e0;
}


/* =========================================
   RÉINITIALISATION
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--white);
    color: var(--black);

    font-family:
        "Montserrat",
        Arial,
        sans-serif;
}

a {
    color: inherit;
}

button {
    font-family:
        "Montserrat",
        Arial,
        sans-serif;
}


/* =========================================
   BANNIÈRE DE DÉMONSTRATION
========================================= */

.demo-banner {
    position: relative;
    z-index: 3000;

    width: 100%;
    min-height: 39px;

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

    padding: 10px 15px;

    background: #f2c500;
    color: #111111;

    font-family:
        "Montserrat",
        Arial,
        sans-serif;

    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;

    text-align: center;
}


/* =========================================
   EN-TÊTE
========================================= */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background:
        linear-gradient(
            90deg,
            #06110e 0%,
            #0a211b 25%,
            #12382f 50%,
            #0a211b 75%,
            #06110e 100%
        );
}

.main-navbar {
    width: 100%;
    height: 88px;

    display: grid;

    grid-template-columns:
        220px 1fr 260px;

    align-items: center;

    padding:
        0 55px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.09);
}

.site-logo {
    color: var(--white);

    text-decoration: none;

    font-size: 2rem;
    font-weight: 700;

    letter-spacing: 0.3px;
}

.main-navigation {
    height: 100%;

    display: grid;

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

    align-items: center;
}

.main-navigation > a {
    justify-self: center;

    color: var(--white);

    text-decoration: none;

    font-size: 1rem;
    font-weight: 500;

    transition:
        color 0.3s ease;
}

.main-navigation > a:hover {
    color: var(--sand);
}

.navbar-actions {
    display: flex;

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

    gap: 24px;

    color: var(--white);
}

.icon-button {
    width: 34px;
    height: 34px;

    display: flex;

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

    padding: 5px;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.icon-button svg,
.language-selector svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: var(--white);
    stroke-width: 1.7;
}

.language-selector {
    display: flex;

    align-items: center;

    gap: 11px;

    font-size: 1rem;
    font-weight: 500;

    cursor: pointer;
}

.language-arrow {
    font-size: 0.75rem;
}


/* =========================================
   MÉGA-MENU
========================================= */

.nav-item-expertises {
    position: relative;
    z-index: 2200;

    width: max-content;
    height: 100%;

    justify-self: center;

    display: flex;

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

.nav-link-expertises {
    position: relative;

    height: 100%;

    display: flex;

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

    padding:
        0 5px;

    color: var(--white);

    text-decoration: none;

    font-size: 1rem;
    font-weight: 500;
}

.nav-link-expertises::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 17px;

    width: 0;
    height: 2px;

    background: var(--sand);

    transform:
        translateX(-50%);

    transition:
        width 0.3s ease;
}

.nav-item-expertises:hover
.nav-link-expertises::after,

.nav-item-expertises:focus-within
.nav-link-expertises::after {
    width: 100%;
}

.nav-item-expertises::after {
    content: "";

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;
    height: 18px;

    background: transparent;
}

.expertises-mega-menu {
    position: fixed;

    top: 88px;
    left: 50%;

    width:
        min(
            1360px,
            calc(100vw - 60px)
        );

    display: grid;

    grid-template-columns:
        0.8fr 1.9fr;

    gap: 30px;

    padding: 30px;

    overflow: hidden;

    border:
        1px solid
        rgba(79, 139, 118, 0.28);

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #f8f6f1 0%,
            #ffffff 55%,
            #edf5f1 100%
        );

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.28);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform:
        translateX(-50%)
        translateY(-12px)
        scale(0.985);

    transform-origin:
        top center;

    transition:
        opacity 0.28s ease,
        visibility 0.28s ease,
        transform 0.38s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}

.nav-item-expertises:hover .expertises-mega-menu,
.nav-item-expertises:focus-within .expertises-mega-menu,
.nav-link-expertises:hover
+ .expertises-mega-menu,

.expertises-mega-menu:hover,

.nav-item-expertises.menu-open
.expertises-mega-menu {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform:
        translateX(-50%)
        translateY(0)
        scale(1);
}

.mega-menu-introduction {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 32px;

    border:
        1px solid
        rgba(216, 183, 127, 0.34);

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #0a211b 0%,
            #12382f 100%
        );

    color: var(--white);
}

.mega-menu-eyebrow {
    margin:
        0 0 17px;

    color: var(--sand);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 2.3px;
}

.mega-menu-introduction h2 {
    margin:
        0 0 18px;

    font-size: 1.52rem;
    font-weight: 600;
    line-height: 1.35;
}

.mega-menu-introduction > p:not(.mega-menu-eyebrow) {
    margin:
        0 0 26px;

    color:
        rgba(255, 255, 255, 0.73);

    font-size: 0.87rem;
    line-height: 1.7;
}

.mega-menu-main-link {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding:
        14px 17px;

    border:
        1px solid
        rgba(255, 255, 255, 0.22);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.08);

    color: var(--white);

    text-decoration: none;

    font-size: 0.85rem;
    font-weight: 600;

    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}

.mega-menu-main-link:hover {
    background:
        rgba(216, 183, 127, 0.14);

    border-color:
        rgba(216, 183, 127, 0.55);
}

.mega-menu-links {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;
}

.mega-menu-card {
    position: relative;

    min-height: 94px;

    display: grid;

    grid-template-columns:
        38px 1fr 25px;

    align-items: center;

    gap: 14px;

    padding: 17px;

    overflow: hidden;

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

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.95);

    color: var(--black);

    text-decoration: none;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.mega-menu-card::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(79, 139, 118, 0.13),
            transparent
        );

    transform:
        translateX(-130%);

    transition:
        transform 0.65s ease;
}

.mega-menu-card:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(79, 139, 118, 0.5);

    background: #f4f9f6;

    box-shadow:
        0 14px 30px
        rgba(18, 56, 47, 0.12);
}

.mega-menu-card:hover::before {
    transform:
        translateX(130%);
}

.mega-menu-card.active {
    border-color:
        rgba(216, 183, 127, 0.9);

    background:
        linear-gradient(
            120deg,
            #fbf5e9,
            #ffffff
        );
}

.mega-menu-number,
.mega-menu-card-text,
.mega-menu-arrow {
    position: relative;
    z-index: 2;
}

.mega-menu-number {
    color: var(--green-deep);

    font-size: 0.78rem;
    font-weight: 800;
}

.mega-menu-card.active
.mega-menu-number {
    color: var(--sand-dark);
}

.mega-menu-card-text {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 6px;
}

.mega-menu-card-text strong {
    font-size: 0.89rem;
    font-weight: 650;
    line-height: 1.35;
}

.mega-menu-card-text small {
    color: #68736d;

    font-size: 0.69rem;
    line-height: 1.45;
}

.mega-menu-arrow {
    color: var(--green-deep);

    font-size: 1.08rem;

    transition:
        transform 0.3s ease;
}

.mega-menu-card:hover
.mega-menu-arrow {
    transform:
        translateX(5px);
}


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

.project-hero {
    position: relative;

    min-height: 680px;

    overflow: hidden;

    background:
        linear-gradient(
            105deg,
            #06110e 0%,
            #0a211b 28%,
            #12382f 58%,
            #0d2a23 79%,
            #06110e 100%
        );

    color: var(--white);
}

.project-hero::before {
    content: "";

    position: absolute;

    top: -280px;
    left: 30%;

    width: 760px;
    height: 760px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(79, 139, 118, 0.2) 0%,
            rgba(79, 139, 118, 0.08) 45%,
            transparent 73%
        );

    pointer-events: none;
}

.project-hero::after {
    content: "";

    position: absolute;

    right: -200px;
    bottom: -360px;

    width: 730px;
    height: 730px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(216, 183, 127, 0.15),
            transparent 70%
        );

    pointer-events: none;
}

.project-hero-container {
    position: relative;
    z-index: 2;

    width:
        min(
            1400px,
            92%
        );

    min-height: 680px;

    margin:
        0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(390px, 0.92fr);

    align-items: center;

    gap: 55px;

    padding:
        65px 0 75px;
}

.project-hero-text {
    position: relative;
    z-index: 4;

    max-width: 810px;
}

.breadcrumb {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 45px;

    color:
        rgba(255, 255, 255, 0.66);

    font-size: 0.85rem;
}

.breadcrumb a {
    color:
        rgba(255, 255, 255, 0.66);

    text-decoration: none;

    transition:
        color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--white);
}

.hero-eyebrow {
    margin:
        0 0 17px;

    color: var(--green-soft);

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 2.3px;
}

.project-hero h1 {
    max-width: 860px;

    margin:
        0 0 28px;

    color: var(--sand-light);

    font-size:
        clamp(
            3.1rem,
            4.8vw,
            5.25rem
        );

    font-weight: 700;
    line-height: 1;

    letter-spacing: -3.4px;
}

.hero-introduction {
    max-width: 710px;

    margin:
        0 0 20px;

    color: var(--white);

    font-size: 1.17rem;
    font-weight: 500;
    line-height: 1.7;
}

.hero-description {
    max-width: 710px;

    margin:
        0 0 35px;

    color:
        rgba(255, 255, 255, 0.7);

    font-size: 0.98rem;
    line-height: 1.8;
}


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

.project-visual {
    position: relative;

    width: 100%;
    height: 525px;

    display: flex;

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

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.012)
        );

    box-shadow:
        inset 0 0 80px
        rgba(255, 255, 255, 0.025);
}

.project-visual-grid {
    position: absolute;

    inset: 0;

    opacity: 0.16;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.11) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.11) 1px,
            transparent 1px
        );

    background-size:
        58px 58px;
}

.project-route {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 370px;
    height: 250px;

    border:
        1px dashed
        rgba(216, 183, 127, 0.34);

    border-radius:
        45% 55% 42% 58%;

    transform:
        translate(-50%, -50%)
        rotate(-8deg);
}

.route-point {
    position: absolute;

    width: 11px;
    height: 11px;

    border:
        2px solid
        var(--sand-light);

    border-radius: 50%;

    background: var(--green-deep);

    box-shadow:
        0 0 0 6px
        rgba(216, 183, 127, 0.08);
}

.route-point-one {
    top: 15%;
    left: 8%;
}

.route-point-two {
    top: 5%;
    right: 20%;
}

.route-point-three {
    right: 3%;
    bottom: 24%;
}

.route-point-four {
    left: 22%;
    bottom: 4%;
}

#scene-3d {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;
}

#scene-3d canvas {
    display: block;

    width: 100%;
    height: 100%;
}

.loading-3d {
    position: absolute;

    left: 50%;
    bottom: 25px;

    z-index: 6;

    transform:
        translateX(-50%);

    padding:
        9px 15px;

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    border-radius: 30px;

    background:
        rgba(0, 0, 0, 0.27);

    color:
        rgba(255, 255, 255, 0.76);

    font-size: 0.72rem;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.loading-3d.hidden {
    opacity: 0;
    visibility: hidden;
}

.project-card {
    position: absolute;
    z-index: 7;

    min-width: 130px;

    padding:
        13px 15px;

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    border-radius: 9px;

    background:
        rgba(10, 33, 27, 0.72);

    backdrop-filter:
        blur(10px);

    box-shadow:
        0 14px 32px
        rgba(0, 0, 0, 0.2);
}

.project-card span {
    display: block;

    margin-bottom: 6px;

    color: var(--sand);

    font-size: 0.57rem;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.project-card strong {
    color: var(--white);

    font-size: 0.78rem;
    font-weight: 600;
}

.project-card-objectives {
    top: 30px;
    left: 28px;
}

.project-card-coordination {
    top: 130px;
    right: 24px;
}

.project-card-delivery {
    left: 34px;
    bottom: 35px;
}


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

.primary-button,
.secondary-button {
    position: relative;

    display: inline-flex;

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

    gap: 18px;

    overflow: hidden;

    border-radius: 6px;

    text-decoration: none;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.primary-button {
    padding:
        16px 26px;

    border:
        1px solid
        var(--sand-light);

    background: var(--sand-light);
    color: var(--green-night);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.18);
}

.primary-button::before,
.secondary-button::before {
    content: "";

    position: absolute;

    top: 0;
    left: -130%;

    width: 65%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.55),
            transparent
        );

    transform:
        skewX(-22deg);

    transition:
        left 0.7s ease;
}

.primary-button span,
.secondary-button span {
    position: relative;
    z-index: 2;
}

.primary-button:hover,
.secondary-button:hover {
    transform:
        translateY(-4px);
}

.primary-button:hover {
    background: var(--white);

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.26);
}

.primary-button:hover::before,
.secondary-button:hover::before {
    left: 145%;
}

.button-arrow {
    font-size: 1.2rem;

    transition:
        transform 0.3s ease;
}

.primary-button:hover
.button-arrow {
    transform:
        translateX(6px);
}


/* =========================================
   POSITIONNEMENT
========================================= */

.project-positioning {
    padding:
        100px 0;

    background:
        linear-gradient(
            120deg,
            var(--sand-soft),
            var(--white)
        );
}

.project-positioning-container {
    width:
        min(
            1320px,
            90%
        );

    margin:
        0 auto;

    display: grid;

    grid-template-columns:
        minmax(330px, 0.85fr)
        minmax(430px, 1.15fr);

    gap: 105px;
}

.project-positioning-title h2 {
    margin: 0;

    font-size:
        clamp(
            2.3rem,
            3.8vw,
            4rem
        );

    font-weight: 600;
    line-height: 1.08;

    letter-spacing: -2px;
}

.project-positioning-content {
    padding-top: 18px;
}

.project-positioning-content > p {
    margin:
        0 0 22px;

    color: var(--grey-text);

    font-size: 1.04rem;
    line-height: 1.85;
}

.project-positioning-grid {
    display: grid;

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

    gap: 12px;

    margin-top: 35px;
}

.project-positioning-grid div {
    display: grid;

    grid-template-columns:
        38px 1fr;

    align-items: center;

    min-height: 75px;

    padding:
        16px;

    border:
        1px solid
        #e2d5bf;

    border-radius: 8px;

    background: var(--white);
}

.project-positioning-grid span {
    color: var(--sand-dark);

    font-size: 0.72rem;
    font-weight: 800;
}

.project-positioning-grid p {
    margin: 0;

    font-size: 0.83rem;
    font-weight: 600;
}


/* =========================================
   SECTIONS GÉNÉRALES
========================================= */

.content-section {
    width:
        min(
            1400px,
            92%
        );

    margin:
        0 auto;

    padding:
        115px 0;
}

.section-heading {
    display: grid;

    grid-template-columns:
        75px
        minmax(0, 840px);

    gap: 30px;

    align-items: start;

    margin-bottom: 68px;
}

.section-number {
    margin:
        6px 0 0;

    color: var(--sand-dark);

    font-size: 1rem;
    font-weight: 800;

    letter-spacing: 2px;
}

.section-label {
    margin:
        0 0 12px;

    color: var(--green-deep);

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 2.2px;
}

.section-label-light {
    color: var(--green-soft);
}

.section-heading h2 {
    margin: 0;

    font-size:
        clamp(
            2.3rem,
            4vw,
            4.2rem
        );

    font-weight: 600;
    line-height: 1.08;

    letter-spacing: -2px;
}


/* =========================================
   ENJEUX
========================================= */

.project-needs-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 18px;

    padding-left: 105px;
}

.project-need-card {
    position: relative;

    min-height: 265px;

    padding: 30px;

    overflow: hidden;

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

    border-radius: 14px;

    background: var(--white);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.project-need-card::after {
    content: "";

    position: absolute;

    right: -40px;
    bottom: -40px;

    width: 110px;
    height: 110px;

    border:
        1px solid
        rgba(79, 139, 118, 0.18);

    border-radius: 50%;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease;
}

.project-need-card:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(79, 139, 118, 0.5);

    background:
        linear-gradient(
            145deg,
            #0a211b,
            #12382f
        );

    color: var(--white);

    box-shadow:
        0 22px 50px
        rgba(18, 56, 47, 0.17);
}

.project-need-card:hover::after {
    transform:
        scale(1.25);

    border-color:
        rgba(216, 183, 127, 0.28);
}

.project-need-number {
    display: block;

    margin-bottom: 58px;

    color: var(--sand-dark);

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 2px;
}

.project-need-card h3 {
    margin:
        0 0 15px;

    font-size: 1.19rem;
    line-height: 1.35;
}

.project-need-card p {
    margin: 0;

    color: var(--grey-text);

    font-size: 0.91rem;
    line-height: 1.72;

    transition:
        color 0.35s ease;
}

.project-need-card:hover p {
    color:
        rgba(255, 255, 255, 0.75);
}


/* =========================================
   CYCLE DU PROJET
========================================= */

.project-cycle {
    background:
        linear-gradient(
            100deg,
            #06110e 0%,
            #0a211b 30%,
            #12382f 68%,
            #0a211b 100%
        );

    color: var(--white);
}

.project-cycle-container {
    width:
        min(
            1400px,
            92%
        );

    margin:
        0 auto;

    display: grid;

    grid-template-columns:
        minmax(310px, 0.75fr)
        minmax(0, 1.25fr);

    gap: 100px;

    padding:
        115px 0;
}

.project-cycle-heading {
    position: sticky;

    top: 120px;

    align-self: start;
}

.project-cycle-heading h2 {
    margin:
        0 0 24px;

    color: var(--sand-light);

    font-size:
        clamp(
            2.4rem,
            4vw,
            4.2rem
        );

    font-weight: 600;
    line-height: 1.08;

    letter-spacing: -2px;
}

.project-cycle-heading > p:last-child {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.68);

    line-height: 1.8;
}

.project-cycle-list {
    position: relative;

    border-left:
        1px solid
        rgba(216, 183, 127, 0.28);
}

.project-cycle-step {
    position: relative;

    display: grid;

    grid-template-columns:
        58px 1fr;

    gap: 24px;

    padding:
        0 0 36px 34px;
}

.project-cycle-step::before {
    content: "";

    position: absolute;

    top: 4px;
    left: -7px;

    width: 13px;
    height: 13px;

    border:
        2px solid
        var(--sand-light);

    border-radius: 50%;

    background: var(--green-deep);
}

.cycle-number {
    color: var(--sand);

    font-size: 0.78rem;
    font-weight: 800;
}

.cycle-content {
    padding-bottom: 30px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.13);
}

.cycle-content h3 {
    margin:
        0 0 12px;

    font-size: 1.25rem;
}

.cycle-content p {
    max-width: 650px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.7);

    font-size: 0.93rem;
    line-height: 1.75;
}


/* =========================================
   RESPONSABILITÉS
========================================= */

.project-responsibilities {
    padding:
        115px 0;

    background:
        linear-gradient(
            180deg,
            var(--sand-soft),
            var(--white)
        );
}

.project-responsibilities-container {
    width:
        min(
            1400px,
            92%
        );

    margin:
        0 auto;
}

.project-responsibilities-title {
    max-width: 850px;

    margin-bottom: 75px;
}

.project-responsibilities-title h2 {
    margin: 0;

    font-size:
        clamp(
            2.4rem,
            4vw,
            4.2rem
        );

    font-weight: 600;
    line-height: 1.08;

    letter-spacing: -2px;
}

.project-responsibilities-grid {
    display: grid;

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

    gap: 16px;
}

.project-responsibility {
    min-height: 245px;

    padding: 29px;

    border:
        1px solid
        #e2d8c7;

    border-radius: 12px;

    background: var(--white);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.project-responsibility:hover {
    transform:
        translateY(-6px);

    border-color:
        rgba(79, 139, 118, 0.5);

    box-shadow:
        0 18px 40px
        rgba(18, 56, 47, 0.1);
}

.project-responsibility span {
    display: block;

    margin-bottom: 44px;

    color: var(--sand-dark);

    font-size: 0.8rem;
    font-weight: 800;
}

.project-responsibility h3 {
    margin:
        0 0 14px;

    font-size: 1.22rem;
}

.project-responsibility p {
    margin: 0;

    color: var(--grey-text);

    font-size: 0.91rem;
    line-height: 1.72;
}


/* =========================================
   OUTILS
========================================= */

.project-tools {
    background:
        linear-gradient(
            105deg,
            #06110e 0%,
            #0a211b 31%,
            #12382f 68%,
            #0a211b 100%
        );

    color: var(--white);
}

.project-tools-container {
    width:
        min(
            1400px,
            92%
        );

    margin:
        0 auto;

    display: grid;

    grid-template-columns:
        minmax(320px, 0.8fr)
        minmax(0, 1.2fr);

    gap: 100px;

    padding:
        115px 0;
}

.project-tools-heading h2 {
    margin: 0;

    color: var(--sand-light);

    font-size:
        clamp(
            2.4rem,
            4vw,
            4.2rem
        );

    font-weight: 600;
    line-height: 1.08;

    letter-spacing: -2px;
}

.project-tools-grid {
    display: grid;

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

    gap: 14px;
}

.project-tool {
    display: grid;

    grid-template-columns:
        45px 1fr;

    align-items: center;

    min-height: 86px;

    padding:
        19px 22px;

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.04);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.project-tool:hover {
    transform:
        translateY(-4px);

    background:
        rgba(216, 183, 127, 0.08);

    border-color:
        rgba(216, 183, 127, 0.42);
}

.project-tool span {
    color: var(--sand);

    font-size: 0.75rem;
    font-weight: 800;
}

.project-tool p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 0.93rem;
    font-weight: 600;
}


/* =========================================
   BÉNÉFICES
========================================= */

.project-benefits {
    padding:
        115px 0;

    background:
        linear-gradient(
            120deg,
            var(--sand-soft),
            var(--white)
        );
}

.project-benefits-container {
    width:
        min(
            1400px,
            92%
        );

    margin:
        0 auto;

    display: grid;

    grid-template-columns:
        minmax(320px, 0.8fr)
        minmax(0, 1.2fr);

    gap: 100px;
}

.project-benefits-title h2 {
    margin: 0;

    font-size:
        clamp(
            2.4rem,
            4vw,
            4.2rem
        );

    font-weight: 600;
    line-height: 1.08;

    letter-spacing: -2px;
}

.project-benefits-list {
    display: grid;

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

    gap:
        0 48px;
}

.project-benefit {
    display: grid;

    grid-template-columns:
        42px 1fr;

    gap: 17px;

    padding:
        25px 0;

    border-bottom:
        1px solid
        #ded4c4;
}

.project-benefit span {
    color: var(--sand-dark);

    font-size: 0.82rem;
    font-weight: 800;
}

.project-benefit p {
    margin: 0;

    color: var(--grey-text);

    font-size: 0.97rem;
    line-height: 1.6;
}


/* =========================================
   APPEL À L’ACTION
========================================= */

.final-cta {
    padding:
        115px 30px;

    background: var(--white);

    text-align: center;
}

.final-cta-content {
    max-width: 950px;

    margin:
        0 auto;
}

.final-cta-content > p {
    margin:
        0 0 18px;

    color: var(--green-deep);

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 2.2px;
}

.final-cta h2 {
    margin:
        0 0 38px;

    font-size:
        clamp(
            2.4rem,
            4.5vw,
            4.75rem
        );

    font-weight: 600;
    line-height: 1.08;

    letter-spacing: -2.6px;
}

.secondary-button {
    padding:
        17px 29px;

    background: var(--green-night);
    color: var(--white);

    box-shadow:
        0 14px 32px
        rgba(18, 56, 47, 0.2);
}

.secondary-button:hover {
    background: var(--green-deep);

    box-shadow:
        0 20px 42px
        rgba(18, 56, 47, 0.28);
}


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

.footer-section {
    padding-top: 75px;

    background:
        linear-gradient(
            90deg,
            #06110e 0%,
            #0a211b 25%,
            #12382f 50%,
            #0a211b 75%,
            #06110e 100%
        );

    color: var(--white);
}

.footer-container {
    width:
        min(
            1400px,
            92%
        );

    margin:
        0 auto;

    display: grid;

    grid-template-columns:
        1.15fr 1fr 1.2fr 0.9fr;

    gap: 70px;

    padding-bottom: 60px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 16px;

    font-size: 3rem;
    font-weight: 700;
}

.footer-identity p {
    margin:
        0 0 32px;
}

.footer-identity address {
    font-style: normal;
    line-height: 1.65;
}

.footer-column h3 {
    margin:
        0 0 27px;

    font-size: 1.08rem;
    font-weight: 600;
}

.footer-column a {
    margin-bottom: 9px;

    color:
        rgba(255, 255, 255, 0.73);

    text-decoration: none;

    font-size: 0.89rem;
    line-height: 1.55;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-column a:hover {
    color: var(--sand);

    transform:
        translateX(4px);
}

.footer-bottom {
    padding:
        12px 18px;

    background: #e9e9e9;
    color: #1a1a1a;

    font-size: 0.88rem;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1180px) {

    .project-hero-container {
        grid-template-columns:
            1fr 430px;

        gap: 30px;
    }

    .project-hero h1 {
        font-size: 4rem;
    }

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

    .project-cycle-container,
    .project-tools-container,
    .project-benefits-container {
        gap: 60px;
    }

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


@media (max-width: 980px) {

    .expertises-mega-menu {
        width:
            calc(100vw - 32px);

        max-height:
            calc(100vh - 105px);

        grid-template-columns:
            1fr;

        overflow-y: auto;
    }

    .mega-menu-links {
        grid-template-columns:
            1fr;
    }

    .project-positioning-container {
        grid-template-columns:
            1fr;

        gap: 35px;
    }
}


@media (max-width: 850px) {

    .main-navbar {
        height: auto;
        min-height: 78px;

        grid-template-columns:
            1fr auto;

        padding:
            18px 24px;
    }

    .main-navigation {
        display: none;
    }

    .expertises-mega-menu {
        display: none;
    }

    .project-hero-container {
        min-height: auto;

        grid-template-columns:
            1fr;

        padding:
            55px 0 40px;
    }

    .project-hero-text {
        max-width: 100%;
    }

    .project-visual {
        height: 420px;
    }

    .project-needs-grid {
        padding-left: 0;
    }

    .project-cycle-container,
    .project-tools-container,
    .project-benefits-container {
        grid-template-columns:
            1fr;
    }

    .project-cycle-heading {
        position: static;
    }

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


@media (max-width: 620px) {

    .main-navbar {
        padding:
            16px 18px;
    }

    .site-logo {
        font-size: 1.65rem;
    }

    .language-selector span:not(.language-arrow) {
        display: none;
    }

    .project-hero-container,
    .content-section,
    .project-positioning-container,
    .project-cycle-container,
    .project-responsibilities-container,
    .project-tools-container,
    .project-benefits-container,
    .footer-container {
        width: 90%;
    }

    .project-hero h1 {
        font-size:
            clamp(
                2.8rem,
                12vw,
                4.1rem
            );

        letter-spacing: -2.2px;
    }

    .hero-introduction {
        font-size: 1.05rem;
    }

    .project-visual {
        height: 340px;
        border-radius: 20px;
    }

    .project-card {
        display: none;
    }

    .project-positioning,
    .project-cycle-container,
    .project-responsibilities,
    .project-tools-container,
    .project-benefits,
    .content-section {
        padding-top: 85px;
        padding-bottom: 85px;
    }

    .section-heading {
        grid-template-columns:
            1fr;

        gap: 14px;

        margin-bottom: 48px;
    }

    .project-positioning-grid,
    .project-needs-grid,
    .project-responsibilities-grid,
    .project-tools-grid,
    .project-benefits-list,
    .footer-container {
        grid-template-columns:
            1fr;
    }

    .project-cycle-step {
        grid-template-columns:
            42px 1fr;

        padding-left: 25px;
    }

    .final-cta {
        padding:
            90px 22px;
    }
}


/* =========================================
   INTERACTION PRÉCISE DU MÉGA-MENU
========================================= */

.nav-item-expertises::after {
    display: none;
}

.nav-link-expertises {
    z-index: 2;
}

.nav-link-expertises:focus-visible {
    outline:
        2px solid
        var(--sand);

    outline-offset: 5px;

    border-radius: 4px;
}

.nav-item-expertises.menu-open
.nav-link-expertises::after {
    width: 100%;
}


/* =========================================
   BOUTON DE NAVIGATION MOBILE
========================================= */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

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

    gap: 5px;

    padding: 0;

    border:
        1px solid
        rgba(255, 255, 255, 0.2);

    border-radius: 9px;

    background:
        rgba(255, 255, 255, 0.06);

    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 21px;
    height: 2px;

    border-radius: 20px;

    background: var(--white);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.mobile-nav-open
.mobile-menu-toggle span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.mobile-nav-open
.mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-open
.mobile-menu-toggle span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================
   RESPONSIVE GLOBAL RENFORCÉ
========================================= */

img,
video,
svg,
canvas {
    max-width: 100%;
}


@media (max-width: 1180px) {

    .main-navbar {
        grid-template-columns:
            180px 1fr 210px;

        padding:
            0 32px;
    }

    .expertises-mega-menu {
        width:
            min(
                1120px,
                calc(100vw - 34px)
            );
    }

    .project-hero-container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, 0.82fr);
    }

}


@media (max-width: 980px) {

    .project-hero-container {
        grid-template-columns:
            1fr;

        gap: 42px;
    }

    .project-hero-text {
        max-width: 850px;
    }

    .project-visual {
        width: 100%;
        max-width: 760px;

        margin:
            0 auto;
    }

    .project-positioning-container,
    .project-cycle-container,
    .project-tools-container,
    .project-benefits-container {
        grid-template-columns:
            1fr;

        gap: 44px;
    }

    .project-cycle-heading {
        position: static;
    }

    .project-needs-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        padding-left: 0;
    }

    .project-responsibilities-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .footer-container {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


@media (max-width: 850px) {

    body.mobile-nav-open {
        overflow: hidden;
    }

    .site-header {
        position: sticky;

        top: 0;

        z-index: 4000;
    }

    .main-navbar {
        position: relative;

        min-height: 70px;
        height: auto;

        grid-template-columns:
            1fr auto auto;

        gap: 12px;

        padding:
            12px 18px;
    }

    .site-logo {
        grid-column: 1;

        font-size: 1.65rem;
    }

    .mobile-menu-toggle {
        grid-column: 2;

        display: flex;
    }

    .navbar-actions {
        grid-column: 3;

        gap: 12px;
    }

    .language-selector span:not(.language-arrow) {
        display: none;
    }

    .main-navigation {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        z-index: 4200;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        max-height: 0;

        padding:
            0 18px;

        overflow-y: auto;

        background:
            linear-gradient(
                180deg,
                #09241b 0%,
                #061711 100%
            );

        border-top:
            1px solid
            rgba(255, 255, 255, 0.12);

        box-shadow:
            0 24px 50px
            rgba(0, 0, 0, 0.38);

        opacity: 0;
        visibility: hidden;

        transform:
            translateY(-8px);

        transition:
            max-height 0.45s ease,
            padding 0.3s ease,
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;
    }

    .mobile-nav-open
    .main-navigation {
        max-height:
            calc(
                100svh -
                70px
            );

        padding:
            16px 18px 24px;

        opacity: 1;
        visibility: visible;

        transform:
            translateY(0);
    }

    .main-navigation > a,
    .nav-link-expertises {
        width: 100%;
        min-height: 54px;

        display: flex;

        align-items: center;
        justify-content: space-between;

        padding:
            14px 4px;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.11);

        color: var(--white);

        font-size: 0.95rem;

        text-align: left;
    }

    .nav-item-expertises {
        width: 100%;
        height: auto;

        display: block;
    }

    .nav-item-expertises::after {
        display: none;
    }

    .nav-link-expertises::after {
        content: "+";

        position: static;

        width: auto;
        height: auto;

        background: transparent;

        color: var(--sand);

        font-size: 1.35rem;
        line-height: 1;

        transform: none;
    }

    .nav-item-expertises.menu-open
    .nav-link-expertises::after {
        content: "−";

        width: auto;
    }

    .expertises-mega-menu {
        position: static;

        width: 100%;
        min-height: 0;
        max-height: 0;

        display: grid;

        grid-template-columns:
            1fr;

        gap: 12px;

        padding: 0;

        overflow: hidden;

        border: 0;
        border-radius: 0;

        background: transparent;

        box-shadow: none;

        opacity: 0;
        visibility: hidden;

        pointer-events: none;

        transform: none;

        transition:
            max-height 0.5s ease,
            padding 0.3s ease,
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    .nav-link-expertises:hover
    + .expertises-mega-menu,

    .expertises-mega-menu:hover {
        max-height: 0;

        padding: 0;

        opacity: 0;
        visibility: hidden;

        pointer-events: none;
    }

    .nav-item-expertises.menu-open
    .expertises-mega-menu {
        max-height: 1120px;

        padding:
            14px 0 8px;

        opacity: 1;
        visibility: visible;

        pointer-events: auto;
    }

    .mega-menu-introduction {
        display: none;
    }

    .mega-menu-links {
        grid-template-columns:
            1fr;

        gap: 9px;
    }

    .mega-menu-card {
        min-height: 76px;

        grid-template-columns:
            34px 1fr 20px;

        gap: 10px;

        padding:
            13px 14px;

        border-color:
            rgba(255, 255, 255, 0.14);

        background:
            rgba(255, 255, 255, 0.07);

        color: var(--white);
    }

    .mega-menu-card.active {
        border-color:
            rgba(216, 183, 127, 0.56);

        background:
            rgba(216, 183, 127, 0.1);
    }

    .mega-menu-card-text strong {
        color: var(--white);

        font-size: 0.84rem;
    }

    .mega-menu-card-text small {
        color:
            rgba(255, 255, 255, 0.64);

        font-size: 0.68rem;
    }

    .mega-menu-number,
    .mega-menu-arrow {
        color: var(--sand);
    }

    .project-hero {
        min-height: auto;
    }

    .project-hero-container {
        width: 90%;

        min-height: auto;

        padding:
            62px 0 48px;
    }

    .breadcrumb {
        margin-bottom: 34px;

        flex-wrap: wrap;
    }

    .project-hero h1 {
        font-size:
            clamp(
                2.8rem,
                10vw,
                4.2rem
            );

        line-height: 1.02;
        letter-spacing: -2.1px;
    }

    .hero-introduction {
        font-size: 1.05rem;
    }

    .project-visual {
        height: 410px;
    }

    .project-positioning {
        padding:
            78px 0;
    }

    .project-positioning-container {
        width: 90%;
    }

    .content-section,
    .project-cycle-container,
    .project-responsibilities,
    .project-tools-container,
    .project-benefits {
        padding-top: 84px;
        padding-bottom: 84px;
    }

    .section-heading {
        grid-template-columns:
            1fr;

        gap: 12px;

        margin-bottom: 44px;
    }

    .project-needs-grid {
        grid-template-columns:
            1fr;
    }

    .project-need-card {
        min-height: 230px;
    }

    .project-positioning-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .project-cycle-container,
    .project-tools-container,
    .project-benefits-container {
        width: 90%;
    }

    .project-responsibilities-container {
        width: 90%;
    }

    .project-responsibilities-grid {
        grid-template-columns:
            1fr;
    }

    .project-tools-grid,
    .project-benefits-list {
        grid-template-columns:
            1fr;
    }

    .final-cta {
        padding:
            84px 20px;
    }

    .footer-container {
        width: 90%;

        grid-template-columns:
            1fr;

        gap: 40px;
    }

}


@media (max-width: 620px) {

    .demo-banner {
        padding:
            9px 12px;

        font-size: 0.78rem;
    }

    .main-navbar {
        padding:
            10px 12px;
    }

    .site-logo {
        font-size: 1.35rem;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .navbar-actions {
        gap: 7px;
    }

    .language-arrow {
        display: none;
    }

    .project-hero-container,
    .project-positioning-container,
    .content-section,
    .project-cycle-container,
    .project-responsibilities-container,
    .project-tools-container,
    .project-benefits-container,
    .footer-container {
        width: 90%;
    }

    .project-hero h1 {
        font-size:
            clamp(
                2.45rem,
                12vw,
                3.45rem
            );

        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 0.92rem;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        max-width: 330px;
    }

    .project-visual {
        height: 330px;
    }

    .project-card {
        display: none;
    }

    .project-route {
        width: 250px;
        height: 180px;
    }

    .project-positioning-grid {
        grid-template-columns:
            1fr;
    }

    .project-need-card,
    .project-responsibility {
        padding:
            25px 22px;
    }

    .project-cycle-step {
        grid-template-columns:
            38px 1fr;

        gap: 15px;

        padding-left: 23px;
    }

    .project-tool {
        grid-template-columns:
            38px 1fr;

        padding:
            17px 18px;
    }

    .project-benefit {
        grid-template-columns:
            35px 1fr;
    }

    .final-cta {
        padding:
            76px 16px;
    }

    .footer-logo {
        font-size: 2.35rem;
    }

}


@media (max-width: 420px) {

    .project-hero-container,
    .project-positioning-container,
    .content-section,
    .project-cycle-container,
    .project-responsibilities-container,
    .project-tools-container,
    .project-benefits-container,
    .footer-container {
        width: 92%;
    }

    .project-visual {
        height: 285px;
    }

    .mega-menu-card {
        grid-template-columns:
            30px 1fr 18px;

        padding:
            12px 10px;
    }

    .mega-menu-card-text strong {
        font-size: 0.79rem;
    }

    .mega-menu-card-text small {
        font-size: 0.64rem;
    }

}

