/* Color Variables */
:root {
    --bleu-1: #01113B;
    --bleu-2: #D9E7FF;
    --orange-1: #B83400;
    --orange-2: #FFB99D;
    --vert-1: #233807;
    --vert-2: #e7ffde;
    --noir: #202020;
    --gris: #F6F6F6;
    
    /* Headings */
    /*default --fs-h1: clamp(3rem, 0.67rem + 4.67vw, 8.75rem); 48px → 140px */
    --fs-h1: clamp(3rem, 0.65rem + 4vw, 7rem);
    --fs-h2: clamp(2.75rem, 0.6rem + 3.5vw, 6.5rem);    /* 44px → 104px */
    --fs-h3: clamp(2.5rem, 0.55rem + 2.5vw, 5.5rem);    /* 40px → 88px */
    --fs-h4: clamp(2.25rem, 0.6rem + 2.0vw, 5rem);      /* 36px → 80px */

    /* Subtitles / accent */
    --fs-subtitle-lg: clamp(1.5rem, 0.6rem + 0.83vw, 2rem);   /* 24px → 32px */
    --fs-subtitle-md: clamp(1.375rem, 0.55rem + 0.73vw, 1.875rem); /* 22px → 30px */
    --fs-subtitle-sm: clamp(1.25rem, 0.5rem + 0.63vw, 1.75rem); /* 20px → 28px */
    --fs-subtitle-xs: clamp(0.9rem, 0.4rem + 0.5vw, 1.25rem);   /* 14px → 20px */

    /* Body */
    --fs-body: clamp(1.5rem, 0.78rem + 0.89vw, 1.75rem); /* 24px → 28px */
}

@font-face {
    font-family: 'Atkinson Hyperlegible Next';
    src: url('../font/Atkinson_Hyperlegible_Next/AtkinsonHyperlegibleNext-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Atkinson Hyperlegible Next';
    src: url('../font/Atkinson_Hyperlegible_Next/AtkinsonHyperlegibleNext-Italic-VariableFont_wght.ttf') format('truetype');
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Atkinson Hyperlegible Next', 'Inter', sans-serif;
    background-color: var(--gris);
    color: var(--noir);
    line-height: 1.2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

#main-content {
    height: auto;
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow-x: hidden;
}

/* First Section */
#first-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    text-align: left;
    padding: 0 5%;
}

#first-section .abstract-graphic {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    margin: 0;
}

#first-section #texts #first-echec {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    z-index: 0;
    pointer-events: none;
}

#first-section #texts #first-echec img {
    width: 100%;
    height: auto;
    display: block;
}

#first-section #texts #first-echec #cadrillage {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    z-index: 0;
    pointer-events: none;
}

#first-section #texts #first-echec #cadrillage svg {
    width: 100%;
    height: auto;
    display: block;
}

#first-section #texts #first-echec .pion {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

#first-section #texts #first-echec .pion svg {
    display: block;
}

#first-section .abstract-graphic svg {
    width: 400px;
    height: auto;
    display: block;
}

#first-section .abstract-graphic svg circle {
    fill: var(--noir);
    animation: circleAnimation 6.5s ease-in-out infinite;
    transform-origin: center;
    opacity: 0;
}

/* Animation discrète pour faire apparaître/disparaître les cercles avec un effet de grossissement */
@keyframes circleAnimation {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    15% {
        opacity: 0.6;
        transform: scale(1);
    }
    48% {
        opacity: 0.6;
        transform: scale(1);
    }
    92% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Délais pour l'apparition en vague */
#first-section .abstract-graphic svg circle:nth-child(2n) {
    animation-delay: 0.2s;
}

#first-section .abstract-graphic svg circle:nth-child(3n) {
    animation-delay: 0.4s;
}

#first-section .abstract-graphic svg circle:nth-child(4n) {
    animation-delay: 0.6s;
}

#first-section .abstract-graphic svg circle:nth-child(5n) {
    animation-delay: 0.8s;
}

#first-section .abstract-graphic svg circle:nth-child(7n) {
    animation-delay: 1s;
}

#first-section .abstract-graphic svg circle:nth-child(11n) {
    animation-delay: 1.2s;
}

#first-section #main-heading {
    font-size: var(--fs-h1);
    color: var(--noir);
    margin-bottom: 2rem;
    line-height: 1.2;
    font-weight: 400;
    position: relative;
    z-index: 3;
}

#first-section #home-header .logo-link img {
    width: 250px;
    height: auto;
}

#first-section #texts {
    margin-top: 5rem; /* default 10%*/
}

@media screen and (min-width: 1440px) {
    #first-section #texts {
        margin-top: 2rem;
    }
    #home-header {
        top: 32.44px !important; /* Force override 42.44*/
    }
    #sixth-section {
        padding: 10rem 10rem !important;
    }
    #third-section #part_2 article {
        margin-left: 14rem !important;
    }
    #third-section #part_2 #second-echec #pieces {
        left: 68% !important;
    }
    #third-section #part_2 {
        margin: 7rem 0 !important;
    }
    #third-section #stats {
        margin: 3rem auto 0 auto !important;
    }
}

@media screen and (min-width: 1920px) {
    #first-section #texts {
        margin-top: 0rem;
    }
    #home-header {
        top: 32.44px !important; /* Force override */
    }
    #sixth-section {
        padding: 15rem 15rem !important;
    }
    #third-section #part_2 article {
        margin-left: 17rem !important;
    }
    #third-section #part_2 #second-echec #pieces {
        left: 65% !important;
    }
    #third-section #part_2 {
        margin: 9rem 0 !important;
    }
    #third-section #stat_1,
    #third-section #stat_2,
    #third-section #stat_3 {
        max-width: 350px !important;
        padding: 0 0.5rem;
    }
}

#first-section #subheading {
    font-size: var(--fs-subtitle-sm);
    font-weight: 500;
    color: var(--noir);
    margin-bottom: 3rem;
    line-height: 1.2;
    opacity: 0.9;
    position: relative;
    z-index: 3;
}

.cta-button {
    background: var(--orange-2);
    color: var(--orange-1);
    border: 2px solid transparent;
    padding: 1rem 1.5rem;
    font-size: var(--fs-subtitle-sm);
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--orange-1);
    color: var(--orange-2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 52, 0, 0.3);
}

.contact-button {
    background: var(--orange-2);
    color: var(--orange-1);
    border: 2px solid transparent;
    padding: 7px 18px;
    font-size: var(--fs-subtitle-xs);
    font-weight: 400;
    border-radius: 52px;
    cursor: pointer;
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    width: fit-content;
    height: fit-content;
}

.contact-button:hover {
    background: var(--orange-1);
    color: var(--orange-2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 52, 0, 0.3);
}

.main-nav {
    display: flex;
    flex-direction: row;
    gap: 2.1875rem;
    font-size: var(--fs-subtitle-sm);
    font-weight: 500;
}

.main-nav a {
    color: var(--noir);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--orange-1);
}

#home-header {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
    padding: 1rem 5%;
    z-index: 100;
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: relative;
    align-self: center;
    margin-top: -3px;
    transition: all 0.3s ease;
}

.burger-menu:hover span {
    background-color: var(--orange-1);
}

.burger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--noir);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    position: absolute;
    left: 0;
}

.burger-menu span:nth-child(1) {
    top: 0;
}

.burger-menu span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-menu span:nth-child(3) {
    bottom: 0;
}

.burger-menu.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* Desktop Navigation - Ensure it works properly */
@media screen and (min-width: 769px) {
    .main-nav {
        display: flex;
        flex-direction: row;
        gap: 2.1875rem;
        position: static;
        background: transparent;
        height: auto;
        width: auto;
        padding: 0;
    }
    
    .main-nav a {
        font-size: 16px;
        font-weight: 500;
        color: var(--noir);
        text-decoration: none;
        transition: color 0.3s ease;
        white-space: nowrap;
    }
    
    .burger-menu {
        display: none !important;
    }
}

#second-section {
    background-color: var(--bleu-1);
    width: 100vw;
    color: var(--bleu-2);
    min-height: 50vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 8rem 10%;
    gap: 4rem;
}

#second-section #p_left {
    flex: 1;
    max-width: 45%;
    font-size: var(--fs-h3);
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    color: var(--bleu-2);
}

#second-section #p_right {
    flex: 1;
    max-width: 45%;
    font-size: var(--fs-subtitle-sm);
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    color: var(--bleu-2);
    opacity: 0.95;
}

/* Third section */
#third-section {
    background-color: var(--bleu-2);
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 8rem;
}

#third-section #part_1 {
    margin-top: 5%;
    width: 35%;
    max-width: 600px;
}

#third-section #part_1 #icon {
    font-size: 6rem;
    text-align: center;
    margin-bottom: -3rem;
    color: var(--bleu-1);
    opacity: 0.8;
}

#third-section #part_1 .p {
    text-align: center;
    line-height: 1.2;
    font-size: var(--fs-subtitle-lg);
    color: var(--bleu-1);
}

#third-section #part_1 #quote {
    text-align: center;
    line-height: 1.2;
    font-size: var(--fs-subtitle-md);
    color: var(--bleu-1);
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
}

#third-section #part_1 #profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#third-section #part_1 #profile > #image {
    background-image: url('./images/image_theo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 1rem 0;
}

#third-section #part_1 #profile > #name {
    font-weight: 500;
    font-size: var(--fs-subtitle-sm);
    color: var(--bleu-1);
    margin-bottom: 0.25rem;
}

#third-section #part_1 #profile > #job {
    font-size: var(--fs-subtitle-sm);
    opacity: 0.8;
    color: var(--bleu-1);
}

#third-section #part_2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 5rem 0;
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
    position: relative;
}

#third-section #part_2 article {
    margin-left: 10rem;
    width: 35%;
    line-height: 1.2;
    padding-right: 2rem;
}

#third-section #part_2 article #p_top {
    font-size: var(--fs-h3);
    text-align: left;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--bleu-1);
    line-height: 1.2;
    max-width: 100%;
}

#third-section #part_2 article #p_bottom {
    width: 100%;
    font-size: var(--fs-subtitle-sm);
    text-align: start;
    color: var(--bleu-1);
    opacity: 0.9;
    max-width: 100%;
}

#third-section #part_2 #second-echec .all_pieces {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

#third-section #part_2 #second-echec .all_pieces svg {
    width: 30vw;
    height: auto;
    display: block;
}

#third-section #part_2 #second-echec #pieces {
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    width: 450px;
}

#third-section #stats {
    background-color: var(--vert-2);
    border-radius: 500px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    width: fit-content;
    margin: 1rem auto 0 auto;
    box-shadow: none;
}

#third-section #stat_1,
#third-section #stat_2,
#third-section #stat_3 {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 250px;
    padding: 0 0.5rem;
}

#third-section #stat_1 #p_top,
#third-section #stat_2 #p_top,
#third-section #stat_3 #p_top {
    font-size: var(--fs-subtitle-lg);
    font-weight: 700;
    color: var(--vert-1);
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

#third-section #stat_1 #p_bottom,
#third-section #stat_2 #p_bottom,
#third-section #stat_3 #p_bottom {
    font-size: var(--fs-subtitle-sm);
    color: var(--vert-1);
    opacity: 0.9;
    line-height: 1.2;
    font-weight: 400;
}

#fourth-section {
    height: auto;
    padding: 2.5rem 0;
    position: relative;
}

#fourth-section > #title {
    font-size: var(--fs-h2);
    font-weight: 500;
    color: var(--noir);
    text-align: center;
    margin: 4rem auto 3rem auto;
}

#fourth-section #process-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    max-width: 80%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

#fourth-section #process-steps .step {
    border: 0.01px solid var(--bleu-1);
    padding: 75px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

#fourth-section #process-steps .step .pion {
    position: absolute;
    top: 55px;
    left: 45px;
    display: block;
    transition: all 0.3s ease;
}

#fourth-section #process-steps .step .pion svg {
    width: 10vw;
    height: auto;
    display: block;
}

#fourth-section #process-steps .step .pion svg circle {
    fill: var(--bleu-1);
    transition: fill 0.3s ease;
}

#fourth-section #process-steps .step .pion svg .pion_circle {
    fill: none;
    stroke: var(--bleu-1);
    transition: fill 0.3s ease;
}

#fourth-section #process-steps .step .texts {
    text-align: start;
    position: absolute;
    bottom: 75px;
    left: 75px;
    right: 75px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: auto;
    align-items: flex-start;
}

#fourth-section #process-steps .step p:first-child {
    font-size: var(--fs-subtitle-lg);
    font-weight: 400;
    color: var(--noir);
    margin-bottom: 1rem;
}

#fourth-section #process-steps .step p:last-child {
    font-size: var(--fs-subtitle-sm);
    font-weight: 300;
    color: var(--noir);
    margin-bottom: 0;
}

#fourth-section #process-steps .step {
    transition: all 0.3s ease;
    cursor: pointer;
}

#fourth-section #process-steps .step:first-child {
    background-color: var(--bleu-1);
}

#fourth-section #process-steps .step:first-child p:first-child,
#fourth-section #process-steps .step:first-child p:last-child {
    color: var(--bleu-2);
}

#fourth-section #process-steps .step:first-child .pion svg circle {
    fill: var(--gris);
}

#fourth-section #process-steps .step:first-child .pion svg .pion_circle {
    fill: none;
    stroke: var(--gris);
}

#fourth-section #process-steps .step:hover {
    background-color: var(--bleu-1);
}

#fourth-section #process-steps .step:hover p:first-child,
#fourth-section #process-steps .step:hover p:last-child {
    color: var(--bleu-2);
}

#fourth-section #process-steps .step:hover .pion svg circle {
    fill: var(--gris);
}

#fourth-section #process-steps .step:hover .pion svg .pion_circle {
    fill: none;
    stroke: var(--gris);
}

#fourth-section #process-steps:hover .step:first-child:not(:hover) {
    background-color: transparent;
}

#fourth-section #process-steps:hover .step:first-child:not(:hover) p:first-child,
#fourth-section #process-steps:hover .step:first-child:not(:hover) p:last-child {
    color: var(--bleu-1);
}

#fourth-section #process-steps:hover .step:first-child:not(:hover) .pion svg circle {
    fill: var(--bleu-1);
}

#fourth-section #process-steps:hover .step:first-child:not(:hover) .pion svg .pion_circle {
    fill: none;
    stroke: var(--bleu-1);
}

#fourth-section .cta-button {
    margin: 8rem auto 8rem auto;
    font-size: var(--fs-subtitle-sm);
    display: block;
}

#fourth-section #subtext {
    font-variant: small-caps; 
    font-size: var(--fs-subtitle-sm);
    font-weight: 200;
}

#fourth-section #content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#fourth-section #content #texts {
    display: flex;
    flex-direction: column;
}

#fourth-section #etude-cas {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    background-color: var(--bleu-1);
    color: var(--bleu-2);
    padding: 5rem;
    padding-bottom: 0.5rem;
}

#fourth-section #etude-cas #content {
    margin-top: 2rem;
}

#fourth-section #etude-cas #text2 #title {
    text-align: left;
    color: var(--bleu-2);
    font-size: var(--fs-h3);
    font-weight: 300;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    width: 90%;
}

#fourth-section #etude-cas #text2 .subtext {
    text-align: left;
    color: var(--bleu-2);
    font-size: var(--fs-subtitle-sm);
    font-weight: 300;
    margin: 0;
    line-height: 1.2;
    width: 85%;
}

#fourth-section #etude-cas #text2 #subtext2 {
    margin-top: 1rem;
}

#fourth-section #etude-cas #subtext {
    font-size: 2em;
}

#fourth-section #etude-cas #gif {
    width: 42%;
    height: auto;
    margin: 1rem 0;
    border-radius: 15px;
}

#fourth-section #etude-cas .cta-button {
    font-size: var(--fs-subtitle-sm);
    color: var(--bleu-1);
    background-color: var(--bleu-2);
    border: 2px solid transparent;
    /* margin-top: 2.5rem; */
}

#fourth-section #etude-cas .cta-button:hover {
    background-color: var(--bleu-1);
    color: var(--bleu-2);
    border: 2px solid var(--bleu-2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 17, 59, 0.3);
}

#fourth-section .separator {
    width: 75%;
    height: 1px;
    background-color: var(--gris);
    margin-top: -4rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.5;
}

#fourth-section #citation {
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
}

#fourth-section #citation #icon {
    font-size: 6rem;
    text-align: center;
    margin-bottom: -3rem;
    color: var(--bleu-2);
}

#fourth-section #citation .p {
    text-align: center;
    line-height: 1.2;
    font-size: var(--fs-subtitle-sm);
    color: var(--bleu-2);
    margin-bottom: 2rem;
}

#fourth-section #citation #profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#fourth-section #citation #profile > #image {
    background-color: var(--bleu-2);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 1rem 0;
}

#fourth-section #citation #profile > #name {
    font-weight: 500;
    font-size: var(--fs-subtitle-sm);
    color: var(--bleu-2);
    margin-bottom: 0.25rem;
}

#fourth-section #citation #profile > #job {
    font-size: var(--fs-subtitle-sm);
    opacity: 0.8;
    color: var(--bleu-2);
}

#fourth-section #promize {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    color: var(--noir);
}

#fourth-section #promize #title {
    font-size: var(--fs-h2);
    font-weight: 400;
    text-align: center;
    margin: 8rem auto 8rem auto;
}

#fourth-section #promize #content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 7.5rem;
}

#fourth-section #promize #content .step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-height: 500px;
    position: relative;
}

#fourth-section #promize #content .step .separator {
    width: 90%;
    height: 1px;
    background-color: var(--noir);
    margin: 0 0 2rem 0;
    opacity: 0.5;
    position: absolute;
    top: 200px;
    left: 0;
}

#fourth-section #promize #content .step .subtitle {
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--noir);
    margin-bottom: 1rem;
    text-align: left;
    position: absolute;
    padding-left: 2rem;
    top: 220px;
    left: 0;
    right: 0;
}

#fourth-section #promize #content .step .subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid var(--noir);
    border-radius: 50%;
    background-color: transparent;
}

#fourth-section #promize #content .step .subtitle::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--noir);
    border-radius: 50%;
}

#fourth-section #promize #content .step .subtext {
    font-size: calc(var(--fs-subtitle-sm) * 0.9);
    color: var(--noir);
    line-height: 1.5;
    text-align: left;
    margin: 0;
    position: absolute;
    top: 260px;
    left: 0;
    right: 0;
}

#fourth-section #promize #content .step > div:first-child {
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-bottom: 10px;
}

#fourth-section #promize #content .step > div:first-child svg {
    max-height: 100%;
    margin-bottom: 0;
    align-self: flex-end;
    object-fit: contain;
}

#fourth-section #promize #button-cta {
    background-color: var(--orange-2);
    border-radius: 500px;
    padding: 0 3rem;
    margin: 8rem auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 4rem;
    width: fit-content;
}

#fourth-section #promize #button-cta #subbutton {
    flex: 1;
    margin-right: 3rem;
    font-size: var(--fs-subtitle-sm);
    font-weight: 500;
    color: var(--orange-1);
    line-height: 1.2;
    margin-bottom: 0;
}

#fourth-section #promize #button-cta .cta-button {
    background-color: var(--orange-1);
    color: var(--orange-2);
    border: 2px solid transparent;
    padding: 1rem 2.5rem;
    margin: auto;
    font-size: var(--fs-subtitle-lg);
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#fourth-section #promize #button-cta .cta-button:hover {
    background-color: var(--orange-2);
    color: var(--orange-1);
    border: 2px solid var(--orange-1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 52, 0, 0.3);
}

#fourth-section #our-models {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    color: var(--noir);
    height: auto;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#fourth-section #our-models #left {
    flex: 1;
    max-width: 35%;
}

#fourth-section #our-models #left #title {
    font-size: var(--fs-h2);
    font-weight: 500;
    line-height: 1.2;
    color: var(--noir);
    margin: 0;
}

#fourth-section #our-models #left #subtitle {
    font-size: var(--fs-subtitle-sm);
    font-weight: 500;
    line-height: 1.5;
    color: var(--noir);
    opacity: 0.8;
    margin: 0;
    margin-top: 2rem;
}

#fourth-section #our-models #right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 50%;
    margin-left: 10rem;
}

#fourth-section #our-models #right section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#fourth-section #our-models #right .separator {
    width: 80%;
    height: 1px;
    background-color: var(--noir);
    margin: 1.5rem 0;
    opacity: 0.3;
}

#fourth-section #our-models #right .title {
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--noir);
    margin: 0;
    line-height: 1.2;
    position: relative;
    padding-left: 3rem;
}

#fourth-section #our-models #right .title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid var(--noir);
    border-radius: 50%;
    background-color: transparent;
}

#fourth-section #our-models #right .title::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--noir);
    border-radius: 50%;
}

#fourth-section #our-models #right .subtitle {
    font-size: calc(var(--fs-subtitle-sm) * 0.9);
    color: var(--noir);
    line-height: 1.5;
    opacity: 0.8;
    margin: 0;
    margin-top: 1rem;
}

#fourth-section #deployment-solutions {
    text-align: center;
    border: 1px solid var(--noir);
    padding: 4rem 5rem 0 5rem;
    width: 100%;
    max-width: 80%;
    margin: 10rem auto 5.4rem auto;
}

#fourth-section #quadrillage {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 167px;
    overflow: hidden;
}

#fourth-section #quadrillage svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#fourth-section #deployment-solutions #title{
    font-size: var(--fs-h2);
    font-weight: 500;
    line-height: 1.2;
    color: var(--noir);
    margin-bottom: 5rem;
}

#fourth-section #deployment-solutions #container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 7.5rem;
}

#fourth-section #deployment-solutions #container .option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-height: 500px;
    position: relative;
}

#fourth-section #deployment-solutions #container .option .separator {
    width: 1px;
    height: 50%;
    background-color: var(--noir);
    opacity: 0.5;
    position: absolute;
    top: 65px;
    left: -40px;
}

#fourth-section #deployment-solutions #container .option .subtitle {
    font-size: var(--fs-subtitle-lg);
    font-weight: 500;
    color: var(--noir);
    margin-bottom: 1rem;
    text-align: left;
    padding-left: 2rem;
    position: relative;
}

#fourth-section #deployment-solutions #container .option .subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 1px solid var(--noir);
    border-radius: 50%;
    opacity: 0.5;
    background-color: transparent;
}

#fourth-section #deployment-solutions #container .option .subtitle::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--noir);
    border-radius: 50%;
}

#fourth-section #deployment-solutions #container .option .subtext {
    font-size: calc(var(--fs-subtitle-sm) * 0.8);
    color: var(--noir);
    line-height: 1.5;
    text-align: left;
    margin: 0 0 1.5rem 0;
}

#fourth-section #deployment-solutions #container .option .benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

#fourth-section #deployment-solutions #container .option .benefits li {
    font-size: calc(var(--fs-subtitle-sm) * 0.8);
    color: var(--noir);
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
}

#fourth-section #deployment-solutions #container .option .benefits li::before {
    content: "•";
    color: var(--noir);
    font-weight: bold;
    position: absolute;
    left: 0;
}

#fifth-section {
    background-color: var(--bleu-1);
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8rem 0;
    color: var(--bleu-2);
}

#fifth-section #follow {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#fifth-section #follow #title {
    font-size: var(--fs-h3);
    margin: 0;
    text-align: center;
}

/* Container pour la box verte */
#fifth-section #follow #partners-container {
    background-color: var(--vert-2);
    border-radius: 100px;
    margin: 3rem auto 0 auto;
    overflow: hidden;
    position: relative;
    width: 80%;
    max-width: 1200px;
}

/* Effet de fondu sur les extrémités */
#fifth-section #follow #partners-container::before,
#fifth-section #follow #partners-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

#fifth-section #follow #partners-container::before {
    left: 0;
    background: linear-gradient(to right, var(--vert-2), transparent);
}

#fifth-section #follow #partners-container::after {
    right: 0;
    background: linear-gradient(to left, var(--vert-2), transparent);
}

/* Container pour le défilement */
#fifth-section #follow #partners-scroll {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    animation: scroll-partners 20s linear infinite;
    width: max-content;
}

/* Animation de défilement continue */
@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Style des partenaires individuels */
#fifth-section #follow #partners-scroll .partner {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
}

#fifth-section #follow #partners-scroll .partner a {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

#fifth-section #follow #partners-scroll .partner a:hover {
    transform: translateY(-5px) scale(1.05);
}

#fifth-section #follow #partners-scroll .partner_logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0;
    padding: 0 20px 0 20px;
    display: block;
}

/* Pause au survol */
/* #fifth-section #follow #partners-container:hover #partners-scroll {
    animation-play-state: paused;
} */

#fifth-section .separator {
    width: 75%;
    height: 1px;
    background-color: var(--bleu-2);
    margin: 6rem auto 6rem auto;
    opacity: 0.5;
}

#fifth-section #us {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

#fifth-section #us #us-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0 10rem 6rem 10rem;
}

#fifth-section #us #title {
    font-size: var(--fs-h2);
    font-weight: 400;
    color: var(--bleu-2);
    margin: 0;
    text-align: left;
    flex: 1;
    line-height: 1.2;
}

#fifth-section #us #us-texts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
    align-self: flex-start;
}

#fifth-section #us #us-text-1,
#fifth-section #us #us-text-2 {
    font-size: calc(var(--fs-subtitle-sm) * 0.9);
    font-weight: 300;
    color: var(--bleu-2);
    line-height: 1.2;
    text-align: left;
    margin: 0;
}

#fifth-section #us #us-rectangle {
    width: 65%;
    height: 400px;
    background-color: var(--gris);
    margin: auto;
    margin-top: 0;
    border-radius: 0;
    align-self: flex-end;
}

#sixth-section {
    background-color: var(--orange-2);
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 5rem 5rem;
    color: var(--orange-1);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

#sixth-section #contact-header {
    flex: 1;
    max-width: 75%;
    position: relative;
    align-self: flex-start;
    z-index: 2;
}

#sixth-section #contact-header #contact-title {
    font-size: var(--fs-h3);
    font-weight: 400;
    color: var(--orange-1);
    line-height: 1.2;
    margin: 0;
    text-align: left;
}

#sixth-section #abstract-graphic {
    position: absolute;
    top: 30%;
    left: 10%;
    z-index: 1;
    pointer-events: none;
    margin: 0;
}

#sixth-section .abstract-graphic svg {
    width: 35vw;
    height: auto;
    display: block;
    opacity: 0.9
}

#sixth-section .abstract-graphic svg circle {
    fill: var(--orange-1);
}

#sixth-section #abstract-graphic svg circle {
    fill: var(--orange-1);
    animation: circleAnimation 6.5s ease-in-out infinite;
    transform-origin: center;
    opacity: 0;
}

/* Délais pour l'apparition en vague dans la section 6 */
#sixth-section #abstract-graphic svg circle:nth-child(2n) {
    animation-delay: 0.2s;
}

#sixth-section #abstract-graphic svg circle:nth-child(3n) {
    animation-delay: 0.4s;
}

#sixth-section #abstract-graphic svg circle:nth-child(4n) {
    animation-delay: 0.6s;
}

#sixth-section #abstract-graphic svg circle:nth-child(5n) {
    animation-delay: 0.8s;
}

#sixth-section #abstract-graphic svg circle:nth-child(7n) {
    animation-delay: 1s;
}

#sixth-section #abstract-graphic svg circle:nth-child(11n) {
    animation-delay: 1.2s;
}

#sixth-section #quadrillage {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

#sixth-section #quadrillage svg {
    width: 100%;
    height: auto;
    display: block;
}

#sixth-section #contact-form-container {
    flex: 1;
    max-width: 40%;
    padding: 0;
    z-index: 2;
}

#sixth-section #contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#sixth-section fieldset.form-group {
    display: flex;
    flex-direction: column;
    border: none;
    margin: 0;
    padding: 0;
}

#sixth-section fieldset.form-group input,
#sixth-section fieldset.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: var(--fs-subtitle-sm);
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    color: var(--noir);
    background-color: white;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

#sixth-section fieldset.form-group input:focus,
#sixth-section fieldset.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-1);
}

#sixth-section fieldset.form-group input::placeholder,
#sixth-section fieldset.form-group textarea::placeholder {
    color: #999;
    font-size: var(--fs-subtitle-sm);
}

#sixth-section fieldset.form-group textarea {
    resize: vertical;
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
}

#sixth-section #submit-button {
    background-color: var(--orange-1);
    color: var(--gris);
    border: 2px solid transparent;
    padding: 1rem 2.5rem;
    font-size: var(--fs-subtitle-sm);
    font-weight: 500;
    border-radius: 500px;
    cursor: pointer;
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 1rem;
}

#sixth-section #submit-button:hover {
    background-color: var(--orange-2);
    color: var(--orange-1);
    border: 2px solid var(--orange-1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 52, 0, 0.3);
}

/* Media Queries pour Mobile */
@media screen and (max-width: 768px) {
    /* Header Mobile */
    #home-header {
        padding: 1rem 5%;
        gap: 1rem;
    }

    #home-header .logo-link img {
        width: 180px;
        height: auto;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--gris);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: left 0.3s ease;
        z-index: 100;
        padding: 2rem;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav a {
        font-size: var(--fs-subtitle-lg);
        font-weight: 500;
        color: var(--noir);
        text-decoration: none;
        transition: color 0.3s ease;
        text-align: center;
    }

    .main-nav a:hover {
        color: var(--orange-1);
    }

    .contact-button {
        display: none;
    }

    .burger-menu {
        display: flex !important;
    }

    #second-section {
        flex-direction: column;
        padding: 4rem 8%;
        gap: 2rem;
    }

    #second-section #p_left {
        max-width: 100%;
    }

    #second-section #p_right {
        max-width: 100%;
    }

    /* Third Section Mobile */
    #third-section {
        padding-bottom: 4rem;
    }

    #third-section #part_1 {
        width: 90%;
        max-width: none;
        padding: 0 5%;
    }

    #third-section #part_1 #icon {
        font-size: 4rem;
        margin-bottom: -2rem;
    }

    #third-section #part_1 #quote {
        font-size: calc(var(--fs-subtitle-md) * 0.85);
        line-height: 1.3;
    }

    #third-section #part_2 {
        flex-direction: column;
        margin: 3rem 0;
        padding: 0 8%;
    }

    #third-section #part_2 article {
        margin-left: 0;
        width: 100%;
        padding-right: 0;
    }

    #third-section #part_2 #second-echec #pieces {
        display: none;
    }

    #third-section #stats {
        flex-direction: column;
        border-radius: 50px;
        padding: 2rem 1.5rem;
        width: 90%;
        margin: 3rem auto 0 auto;
        gap: 2rem;
    }

    #third-section #stat_1,
    #third-section #stat_2,
    #third-section #stat_3 {
        max-width: 100%;
        padding: 1rem 0;
    }

    /* Fourth Section Mobile */
    #fourth-section {
        padding: 2rem 0;
    }

    #fourth-section > #title {
        margin: 2rem auto;
        padding: 0 8%;
    }

    #fourth-section #process-steps {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        max-width: 90%;
        aspect-ratio: auto;
        gap: 2rem;
    }

    #fourth-section #process-steps .step {
        padding: 2rem;
        min-height: 250px;
        border: 1px solid var(--bleu-1);
    }

    #fourth-section #process-steps .step .pion {
        top: 2rem;
        left: 2rem;
    }

    #fourth-section #process-steps .step .pion svg {
        width: 60px;
        height: 60px;
    }

    #fourth-section #process-steps .step .texts {
        position: static;
        margin-top: 5rem;
        height: auto;
    }

    #fourth-section .cta-button {
        margin: 4rem auto;
    }

    #fourth-section #etude-cas {
        max-width: 90%;
        padding: 2.5rem 8%;
    }

    #fourth-section #etude-cas #content {
        flex-direction: column;
        gap: 2rem;
    }

    #fourth-section #etude-cas #text2 #title {
        width: 100%;
    }

    #fourth-section #etude-cas #text2 .subtext {
        width: 100%;
    }

    #fourth-section #etude-cas #gif {
        width: 100%;
        max-width: 100%;
        margin: 2rem 0;
    }

    #fourth-section #content .abstract-graphic {
        display: none;
    }

    #fourth-section #etude-cas .cta-button {
        margin-top: 2rem;
    }

    #fourth-section .separator {
        width: 90%;
    }

    #fourth-section #citation {
        padding: 0 8%;
    }

    #fourth-section #citation #icon {
        font-size: 4rem;
        margin-bottom: -2rem;
    }

    #fourth-section #promize {
        max-width: 90%;
        padding: 0 5%;
    }

    #fourth-section #promize #title {
        margin: 4rem auto 3rem auto;
        font-size: var(--fs-h3);
    }

    #fourth-section #promize #content {
        flex-direction: column;
        gap: 4rem;
    }

    #fourth-section #promize #content .step {
        min-height: auto;
        position: static;
    }

    #fourth-section #promize #content .step > div:first-child {
        position: static;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.25rem;
    }

    #fourth-section #promize #content .step > div:first-child svg {
        max-width: 100px;
        max-height: 100px;
        height: auto;
    }

    #fourth-section #promize #content .step .separator {
        position: static;
        width: 100%;
        margin: 0.25rem 0 1rem 0;
    }

    #fourth-section #promize #content .step .subtitle {
        position: static;
        padding-left: 0;
        margin-bottom: 1rem;
        font-size: var(--fs-body);
    }

    #fourth-section #promize #content .step .subtitle::before,
    #fourth-section #promize #content .step .subtitle::after {
        display: none;
    }

    #fourth-section #promize #content .step .subtext {
        position: static;
        font-size: calc(var(--fs-subtitle-sm) * 0.95);
        line-height: 1.6;
    }

    #fourth-section #promize #button-cta {
        flex-direction: column;
        border-radius: 50px;
        padding: 2rem 1.5rem;
        margin: 4rem auto;
        width: 90%;
        max-width: 100%;
    }

    #fourth-section #promize #button-cta #subbutton {
        margin-right: 0;
        margin-bottom: 1.5rem;
        text-align: center;
        font-size: calc(var(--fs-subtitle-sm) * 0.9);
    }

    #fourth-section #promize #button-cta #subbutton br {
        display: none;
    }

    #fourth-section #promize #button-cta .cta-button {
        width: 100%;
        padding: 1rem 2rem;
        font-size: var(--fs-subtitle-sm);
    }

    #fourth-section #our-models {
        flex-direction: column;
        max-width: 90%;
        gap: 3rem;
    }

    #fourth-section #our-models #left {
        max-width: 100%;
    }

    #fourth-section #our-models #right {
        max-width: 100%;
        margin-left: 0;
        gap: 2.5rem;
    }

    /* Deployment Solutions Mobile */
    #fourth-section #deployment-solutions {
        max-width: 90%;
        padding: 2rem 5%;
        margin: 5rem auto 3rem auto;
        border: none;
    }

    #fourth-section #deployment-solutions #title {
        font-size: var(--fs-h3);
        margin-bottom: 3rem;
    }

    #fourth-section #deployment-solutions #container {
        flex-direction: column;
        gap: 3rem;
    }

    #fourth-section #deployment-solutions #container .option {
        min-height: auto;
        position: static;
    }

    #fourth-section #deployment-solutions #container .option .separator {
        position: static;
        width: 100%;
        height: 1px;
        margin: 0 0 1.5rem 0;
        left: auto;
        top: auto;
    }

    #fourth-section #deployment-solutions #container .option .subtitle {
        padding-left: 0;
        font-size: var(--fs-body);
        margin-bottom: 1rem;
    }

    #fourth-section #deployment-solutions #container .option .subtitle::before,
    #fourth-section #deployment-solutions #container .option .subtitle::after {
        display: none;
    }

    #fourth-section #deployment-solutions #container .option .subtext {
        font-size: calc(var(--fs-subtitle-sm) * 0.95);
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    #fourth-section #deployment-solutions #container .option .benefits li {
        font-size: calc(var(--fs-subtitle-sm) * 0.9);
        line-height: 1.5;
    }

    /* Fifth Section Mobile */
    #fifth-section {
        padding: 4rem 0;
    }

    #fifth-section #follow #title {
        padding: 0 15%;
        max-width: 24ch;
        margin-left: auto;
        margin-right: auto;
        word-break: keep-all;
        white-space: normal;
        line-height: 1.2;
    }

    #fifth-section #follow #partners-container {
        width: 95%;
        border-radius: 50px;
    }

    #fifth-section #follow #partners-container::before,
    #fifth-section #follow #partners-container::after {
        width: 30px;
    }

    #fifth-section #follow #partners-scroll .partner {
        width: 100px;
        height: 100px;
    }

    #fifth-section .separator {
        width: 90%;
        margin: 4rem auto;
    }

    #fifth-section #us #us-content {
        flex-direction: column;
        padding: 0 8%;
        gap: 2rem;
    }

    #fifth-section #us #title {
        text-align: center;
    }

    #fifth-section #us #us-texts {
        gap: 1.5rem;
    }

    #fifth-section #us #us-text-1,
    #fifth-section #us #us-text-2 {
        text-align: left;
    }

    #fifth-section #us #us-rectangle {
        width: 90%;
        height: 300px;
        margin-top: 3rem;
    }

    /* Sixth Section Mobile */
    #sixth-section {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 4rem 8%;
        gap: 3rem;
        align-items: stretch;
    }

    #sixth-section #contact-header {
        max-width: 100%;
        padding-top: 0;
    }

    #sixth-section #contact-header #contact-title {
        text-align: center;
    }

    #sixth-section .abstract-graphic {
        display: none;
    }

    #sixth-section #contact-form-container {
        max-width: 100%;
        padding-top: 0;
        width: 100%;
        display: block;
    }

    #sixth-section #contact-form {
        gap: 1.25rem;
        width: 100%;
    }

    #sixth-section #submit-button {
        width: 100%;
        align-self: center;
        margin-left: 0;
        margin-right: 0;
    }

    /* Seventh Section Mobile */
    #seventh-section {
        width: 100% !important;
        height: auto !important;
        padding: 2rem 8% !important;
    }
    
    #seventh-section #footer-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100% !important;
        padding: 0 !important;
        gap: 1.5rem !important;
        text-align: center;
    }
    
    #seventh-section #footer-logo .logo-footer {
        height: 40px;
    }
    
    #seventh-section .footer-separator {
        width: 80% !important;
        max-width: 300px;
        height: 1px !important;
    }
    
    #seventh-section #footer-links {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    #seventh-section #footer-links .footer-link {
        white-space: normal !important;
        text-align: center;
        font-size: calc(var(--fs-subtitle-xs) * 0.95);
    }
    
    #seventh-section #footer-social {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    #seventh-section #footer-social #social-content {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }
    
    #seventh-section #footer-social a {
        width: 36px;
        height: 36px;
    }
}

#seventh-section {
    height: 15ch;
    background-color: var(--bleu-1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
}

#seventh-section #footer-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 90%;
    padding: 0 5%;
    gap: 3rem;
}

#seventh-section #footer-logo {
    flex-shrink: 0;
}

#seventh-section #footer-logo .logo-footer {
    height: 50px;
    width: auto;
}

#seventh-section #footer-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

#seventh-section #footer-social #social-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

#seventh-section #footer-social #suivez-nous {
    font-size: var(--fs-subtitle-xs);
    font-weight: 400;
    color: var(--bleu-2);
    margin: 0;
    letter-spacing: 0.05em;
}

#seventh-section #footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--bleu-2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

#seventh-section #footer-social a:hover {
    background-color: var(--bleu-2);
}

#seventh-section #footer-social a:hover svg path {
    fill: var(--bleu-1);
}

#seventh-section .footer-separator {
    width: 1px;
    height: 60px;
    background-color: var(--bleu-2);
    opacity: 0.3;
}

#seventh-section #footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

#seventh-section #footer-links .footer-link {
    font-size: var(--fs-subtitle-xs);
    font-weight: 400;
    color: var(--bleu-2);
    text-decoration: none;
    transition: opacity 0.3s ease;
    line-height: 1.4;
    white-space: nowrap;
}

#seventh-section #footer-links .footer-link:hover {
    opacity: 0.7;
}