 /* Reset CSS moderne */
 *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Variables CSS */
:root {
    --couleur-vert-1: #079610;
    --couleur-vert-2: #01814A;
    --coouleur-bleu-vert: #07968C;
    --couleur-noire: #272727;
    --couleur-texte: #272727;
    --couleur-bg: #ffffff;

    --dgd-default: #079610;
    --dgd-bleu-vert: linear-gradient(90deg, var(--coouleur-bleu-vert) 0%, var(--couleur-vert-1) 100%);
    --dgd-bleu-vert-2: linear-gradient(90deg, var(--coouleur-bleu-vert) 0%, var(--couleur-vert-2) 100%);

    --smooth-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    --fast-transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    --custom-transition: all .7s cubic-bezier(0.94, 0.03, 0.36, 0.98);


    --font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    --font-family-bebas: 'Bebas Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;


    --max-width: 87vw;
    --padding: 40px;
}


/* Base */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--couleur-texte);
    background: var(--couleur-bg);
    line-height: 1.6;
    padding: 0px;
    margin: 0px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}


h1, h2 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
}

h3 {
    font-family: var(--font-family-bebas);
    text-transform: uppercase;
    font-weight: inherit;
    font-size: 2rem;
}

h2.souligne {
    position: relative;
    overflow: visible;
    margin-bottom: 1.5rem;
}

h2.souligne::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 0.4rem;
    background-image: url('../img/curve-line.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

main {
    position: relative;
    max-width: 100vw;
    overflow: hidden;
}


.container {
    margin: 0px;
    padding: 0px;
    position: relative;
}

/* Accessibilité : focus visible */
*:focus-visible {
    outline: 2px solid var(--couleur-vert-1);
    outline-offset: 2px;
}

/* Images responsives */
img {
    max-width: 100%;
    height: auto;
    display: block;
}


a {
    color: var(--couleur-vert-1);
    text-decoration: none;
    transition: var(--smooth-transition);
    cursor: pointer;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}


section {
    height: 100vh;
    max-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}


.vert {
    color: var(--couleur-vert-1);
}

.text-gradient {
    background: var(--dgd-default);
    background: var(--dgd-bleu-vert);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    align-items: center;
}

.grid-2 > div {
    display: flex;
    flex-direction: column;
}

div.souligne {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 780px;
    height: 0.5rem;
    background-image: url('../img/curve-line.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}



/* CTA */

.bouton-cta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 8px 8px 8px 35px;
    background: var(--dgd-default);
    background: var(--dgd-bleu-vert);
    color: #fff;
    text-transform: uppercase;
    border-radius: 50px;
    position: relative;
    font-weight: 600;
    font-size: 1.3rem;
}

.bouton-cta-blanc {
    background: #fff;
    color: var(--couleur-texte);
}

.bouton-cta-small {
    padding: 5px 6px 5px 25px;
    font-size: 1rem;
}

.bouton-icone-cta {
    transition: all 0.2s ease;
    border-radius: 50%;
    background-color: #fff;
    width: 48px;
    height: 48px;
    overflow: hidden;
    position: relative;
}

.bouton-cta-small .bouton-icone-cta {
    width: 36px;
    height: 36px;
}

.bouton-cta-blanc .bouton-icone-cta {
    background: var(--dgd-default);
    background: var(--dgd-bleu-vert);
}

.bouton-icone-cta img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--custom-transition);
}

.bouton-icone-cta img:last-child {
    transform: translate(-50%, 130%);
}

.bouton-cta:hover .bouton-icone-cta img:first-child {
    transform: translate(200%, -50%);
}

.bouton-cta:hover .bouton-icone-cta img:last-child {
    transform: translate(-50%, -50%);
}





/* Menu */

header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    z-index: 20;
}

.burger-menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 2rem;
    z-index: 100;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
}

header nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 10px 40px 10px 10px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    transition: all 0.3s ease;
    opacity: 1;
}

.menu {
    position: relative;
}

.menu ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.menu a {
    color: var(--couleur-texte);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.menu a:hover {
    color: var(--couleur-vert-1);
}

.menu a.active {
    color: var(--couleur-vert-1);
}

/* Menu variation */

header.header-section-accueil nav {
    background-color: transparent;
    justify-content: flex-end;
    backdrop-filter: blur(0px);
}

header.header-section-accueil nav .logo-container {
    display: none;
    opacity: 0;
}

header.header-section-accueil .menu a {
    color: #fff;
}

header.header-section-accueil .menu a:hover {
    color: #cdeb52;
}



/* Sections */

/*Accueil*/
#accueil {
    background-image: url('../img/bg-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#accueil .section-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-items: center;
    align-items: center;
    gap: 0px;
}

#accueil .section-content > div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#accueil .section-content .section-title {
    width: 36%;
    background-image: url('../img/bg-blanc-logo.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% 100%;
}

#accueil .section-content .section-description {
    width: 64%;
    align-items: flex-start;
    padding-left: 10%;
    padding-right: 10%;
    color: #fff;
}

#accueil .section-content .section-title img {
    max-width: 230px;
}

#accueil .section-content .section-description h2 {
    font-size: 3.6rem;
    line-height: 1.3;
}

#accueil .section-content .section-description p {
    font-size: 2.8rem;
    font-weight: 300;
}


/* Maintenance */

#maintenance.active {
    display: flex;
}

body:has(#maintenance.active),
body:has(.burger-menu.active),
body:has(#mentions-legales.active) {
    overflow: hidden;
}

#maintenance {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: var(--couleur-vert-2);
    background: var(--dgd-bleu-vert-2);
    color: #fff;
    text-align: center;
}

#maintenance .section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

img.logo-maintenance {
    max-width: 240px;
}


/* Service */

#service {
    padding-right: var(--padding);
    padding-left: var(--padding);
}

#service .section-droite {
    justify-content: center;
    text-align: center;
    position: relative;
}

#service .section-gauche {
    gap: 50px;
}

#service .section-droite h3 {
    font-size: 2.7rem;
}

#service .section-droite ol {
    display: flex;
    justify-content: center;
    gap: 30px;
}

#service .section-gauche ol {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

#service .section-gauche li {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--couleur-vert-1);
    background-color: #fff;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
}

#service .section-gauche li img {
    width: 30px;
}


/* Projet */

#projet .section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8rem;
}

#projet h2 {
    text-align: center;
    max-width: 60%;
}

#projet .etapes-projet {
    max-width: var(--max-width);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 8rem;
}

#projet .etapes-projet li {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.etape {
    font-family: var(--font-family-bebas);
    font-size: 5rem;
    position: relative;
    line-height: 1;
}

.etape::after {
    content: '';
    position: absolute;
    top: 1.2rem;
    right: -1.2rem;
    width: 10px;
    height: 10px;
    background-color: var(--couleur-vert-1);
    border-radius: 50%;
}

.etapes-projet h3 {
    font-size: 2.2rem;
    line-height: 1.2;
    position: relative;
}

.etapes-projet h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 95px;
    height: 84px;
    background-image: url('../img/icone-projet-form.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(0.8);
}

.etapes-projet .etape-2 h3::after {
    width: 115px;
    background-image: url('../img/icone-projet-rdv.png');
}

.etapes-projet .etape-3 h3::after {
    width: 106px;
    background-image: url('../img/icone-projet-install.png');
}

.etapes-projet .etape-4 h3::after {
    width: 101px;
    background-image: url('../img/icone-projet-prise.png');
}


/* Zones d'intervention*/

#secteurs {
    background-color: var(--couleur-vert-2);
    color: #fff;
    position: relative;
}

#secteurs::before,
#secteurs::after {
    content: '';
    position: absolute;
    top: -124px;
    left: 0;
    width: 100%;
    height: 125px;
    background-image: url('../img/bg-arrondi-secteurs.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#secteurs::after {
    top: inherit;
    bottom: -124px;
    transform: rotate(180deg);
}

#secteurs .section-content {
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6rem;
    position: relative;
}

#secteurs h2 {
    max-width: 70%;
    text-align: right;
}

#secteurs ol {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 1.5rem;
}

.map-secteurs {
    position: absolute;
    top: 16%;
    left: 0;
    width: 60%;
    max-width: 60vw;
    height: 100%;
    background-image: url('../img/map-moselle-intervention.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.map-secteurs-container {
    position: absolute;
    left: 44%;
    top: 63%;
    display: inline-block;
}

.map-secteurs-container .cercle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px dotted #fff;
    border-radius: 50%;
    animation: routation 60s linear infinite;
}

.map-secteurs-container .cercle-2 {
    width: 160px;
    height: 160px;
    border-width: 3px;
    animation-duration: 50s;
}

.map-secteurs-container .cercle-3 {
    width: 220px;
    height: 220px;
    border-width: 4px;
    animation-duration: 40s;
}

@keyframes routation {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(359deg);
    }
}


/* Feuilles */

/* Éléments décoratifs parallax */
.parallax-leaf {
    position: absolute;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    pointer-events: none;
}

.parallax-leaf.leaf-1 {
    top: 15%;
    left: 10%;
    width: 150px;
    height: 150px;
}

.parallax-leaf.leaf-2 {
    top: 50%;
    right: 15%;
    width: 100px;
    height: 100px;
}

.parallax-leaf.leaf-3 {
    bottom: 20%;
    left: 20%;
    width: 130px;
    height: 130px;
}


/* Avis */

#avis .section-content {
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    position: relative;
    margin-top: 5rem;
}

#avis h2  {
    text-align: center;
}

.avis-clients {
    /*display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;*/
    display: flex;
    justify-content: center;

}

.avis-clients li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.commentaire-client {
    font-size: 0.9rem;
}

#avis div.souligne {
    bottom: inherit;
    top: 5rem;
    width: 680px;
}

.invitation-avis {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.invitation-avis  h4 {
    font-size: 1.7rem;
    font-weight: 600;
}

.invitation-avis a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--couleur-texte);
    border: 1px solid var(--couleur-vert-1);
    border-radius: 25px;
    padding: 0.5rem 2rem;
}

.invitation-avis a:hover {
    background-color: var(--couleur-vert-1);
    color: #fff;
}


/* Contact */ 

#contact .section-content {
    max-width: var(--max-width);
    width: 100%;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
}

#contact h2 {
    text-align: center;
}

#contact .section-gauche {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.informations-adresse,
.informations-telephone {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.informations-adresse ul {
    display: flex;
    flex-direction: column;
}

#contact .section-droite {
    width: 100%;
    padding: 2rem;
    border-radius: 25px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}


/* Footer */


#footer .footer-container {
    width: 100%;
    max-width: var(--max-width);
    grid-template-columns: 2fr 1.3fr;
    gap: 10rem;
}


#footer .section-gauche {
    position: relative;
    gap: 2rem;
    text-align: center;
    align-items: center;
}

#footer .section-droite {
    gap: 2rem;
}



#footer .section-droite ol {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: flex-start;
}

#footer .informations-adresse {
    align-items: flex-end;
}

#footer .informations-adresse img {
    width: 150px;
}

#footer .informations-telephone a img {
    width: 150px;
}


.links-footer {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
}


/* Devis */


#devis {
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--couleur-vert-2);
    background: var(--dgd-bleu-vert-2);
    color: #fff;
    z-index: 50;
    top: 0;
    right: -105%;
    transition: var(--smooth-transition);
}

#devis.active {
    right: 0;
}

#devis .section-content {
    max-width: var(--max-width);
    width: 100%;
    align-items: center;
    grid-template-columns: 1.5fr 2fr;
    position: relative;
}

.close-devis {
    position: absolute;
    left: 0;
    top: 4rem;
    cursor: pointer;
    color: #fff;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    border: 1px solid #fff;
    border-radius: 2rem;
}


body:has(#devis.active) {
    overflow: hidden;
}


/* Mentions legales */

#mentions-legales {
    position: fixed;
    left: 0;
    bottom: -100vh;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    z-index: 50;
    transition: var(--smooth-transition);
}

#mentions-legales.active {
    bottom: 0;
}

.mentions-legales-content {
    height: 100%;
    overflow-y: scroll;
    padding: 2rem;
    max-width: var(--max-width);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mentions-legales-content img {
    width: 100%;
    max-width: 200px;
    margin-bottom: 1rem;
}

.mentions-legales-content h3 {
    margin-top: 1.5rem;
}

.mentions-legales-content a {
    display: block;
    text-decoration: underline;
}

#mentions-legales a.close-mentions-legales {
    position: absolute;
    right: 2rem;
    top: 2rem;
    cursor: pointer;
    color: var(--couleur-vert-2);
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--couleur-vert-2);
    border-radius: 2rem;
    text-decoration: none;
}



/* Formulaires */

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 3rem;
}

form .form-field {
    display: flex;
    flex-direction: column;
}

form label {
    font-weight: 600;
}

form input,
form textarea,
form select {
    background-color: #E1F5ED;
    border-radius: 10px;
    padding: 1rem;
    border: 0px;
    font-family: var(--font-family);
    transition: var(--smooth-transition);
    outline: 2px solid rgba(0, 0, 0, 0);
}

form .full-width {
    grid-column: 1 / -1;
}

form button[type="submit"] {
    border: 0;
    outline: 0;
    justify-self: flex-start;
    cursor: pointer;
    transition: var(--smooth-transition);
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.85em;
    margin-top: 5px;
    min-height: 1.2em;
}

.form-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.checkbox-field label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-field span {
    font-size: 0.9em;
}

/* Message de retour */
.form-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background-color: #fff;
    padding: 4rem;
}

.success-message h3 {
    font-size: 2.3rem;
}

/* Menu indicator */

.menu-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    background: var(--couleur-vert-1);
    border-radius: 2px;
    transition: none;
    pointer-events: none;
    z-index: 1;
}


.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    filter: invert(1);
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-indicator svg {
    width: 30px;
    height: 50px;
    animation: bounce 2s infinite;
}

/* Animations */

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(0px);
    }
}

/* Animations d'entrée */
.section-content {
    opacity: 1;
}

/* Split text animation */
h1, h2 {
    overflow: hidden;
}

h1 .char,
h2 .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) rotateX(-90deg);
    transform-origin: 0% 50%;
}

.word {
    display: inline-block;
    white-space: nowrap;
  }


/* Responsive */

@media (max-width: 1400px) {

    h1, h2 {
        font-size: 2.5rem;
    }

    form {
        gap: 0.2rem 2rem;
    }

    form input, form textarea, form select {
        padding: 0.8rem;
    }

    header {
        top: 10px;
        width: 95%;
    }

    header nav {
        padding: 8px 15px 8px 8px;
    }

    #accueil .section-content .section-description h2 {
        font-size: 3rem;
    }

    #accueil .section-content .section-description p {
        font-size: 2.2rem;
    }

    .bouton-cta {
        padding: 6px 6px 6px 30px;
        font-size: 1.1rem;
    }

    .bouton-icone-cta {
        width: 40px;
        height: 40px;    
    }

    .bouton-cta-small {
        font-size: 0.9rem;
    }

    #service .section-droite h3 {
        font-size: 2.2rem;
    }

    #service .section-gauche li {
        font-size: 1rem;
        padding: 16px;
    }

    #projet .section-content {
        gap: 5rem;
    }

    .etape {
        font-size: 4rem;
    }

    .etapes-projet h3 {
        font-size: 2rem;
    }

    .etapes-projet h3::after {
        transform: scale(0.65);
    }

    #secteurs::before, #secteurs::after {
        height: 85px;
        top: -84px;
    }

    #secteurs::after {
        bottom: -84px;
        top: inherit;
    }

    #secteurs ol {
        gap: 1rem;
        font-size: 1.4rem;
    }

    #avis .section-content {
        gap: 3.6rem;
    }

    #contact .section-droite {
        padding: 1.4rem;
    }

    #footer .informations-adresse img {
        width: 80px;
    }

}

@media (max-width: 1175px) {

    :root {
        --max-width: 92vw;
    }

    /* Menu burger */

    .burger-menu {
        display: flex;        
    }

    header {
        top: 0;
        width: 100%;
    }

    header nav {
        position: absolute;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100vw;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 2rem;
        gap: 3rem;
        background: var(--couleur-vert-2);
        border-radius: 0;
        backdrop-filter: inherit;
    }

    header nav.active {
        right: 0;
    }

    .menu ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu a {
        color: #fff;
        position: relative;
    }

    .menu a.active::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 100%;
        height: 2px;
        background: #fff;
    }

    .menu a.active {
        color: #fff;
    }

    .menu-indicator {
        display: none;
    }

    .logo-container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 50px;
        position: relative;
        z-index: 2;
    }

    .logo {
        position: relative;
    }

    .logo::before {
        content: '';
        position: absolute;
        top: -2rem;
        left: -2rem;
        width: 180px;
        height: 100px;
        border-radius: 0 0 2rem 0;
        background-color: var(--couleur-bg);
        z-index: -1;
    }

    .logo img {
        background-color: #fff;
    }

    .logo-container .bouton-cta {
        background: var(--couleur-bg);
        color: var(--couleur-vert-1);
        padding-left: 0;
        position: relative;
        z-index: 2;
    }

    .logo-container .bouton-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: -2rem;
        width: 100px;
        height: 100%;
        background-color: var(--couleur-bg);
        z-index: -1;
    }

    header.header-section-accueil nav {
        justify-content: flex-start;
        background: var(--couleur-vert-2);
    }

    .logo-container .bouton-cta i {
        border: 2px solid var(--couleur-vert-1);
    }

    header.header-section-accueil nav .logo-container {
        display: flex;
        opacity: 1;
    }

    .hamburger {
        width: 30px;
        height: 22px;
        position: relative;
        z-index: 2;
        transform: scale(0.8);
    }

    .hamburger::before {
        content: '';
        position: absolute;
        top: -14px;
        left: -9px;
        width: 50px;
        height: 50px;
        background-color: var(--couleur-vert-2);
        border-radius: 50px;
        z-index: -1;
    }
      
    .hamburger .bar {
        padding: 0;
        width: 30px;
        height: 3px;
        background-color: var(--couleur-bg);
        display: block;
        border-radius: 4px;
        transition: all 0.4s ease-in-out;
        position: absolute; 
    }
    
    .bar1 { top: 0;}
    .bar2,
    .bar3 { top: 9.3px;}
    .bar3 { right: 0;}
    .bar4 { bottom: 0;}
    
    span.burger-menu.active .hamburger2 > .bar1{
        transform: translateX(40px);
        background-color: transparent;
    }

    span.burger-menu.active .hamburger2 > .bar2{
        transform: rotate(45deg);
    }
    
    span.burger-menu.active .hamburger2 > .bar3{
        transform: rotate(-45deg);
    }
    
    span.burger-menu.active .hamburger2 > .bar4{
        transform: translateX(-40px);
        background-color: transparent;
    }

    /* Devis */

    .close-devis {
        background-color: #fff;
        border-radius: 2rem 0 0 2rem;
        color: var(--couleur-vert-2);
        font-size: 1rem;
        padding: 0.4rem 1rem;
        right: 0;
        left: inherit;
        top: 2rem;
    }

    #devis .section-content {
        position: unset;
    }

    #devis .section-gauche {
        margin-top: 4rem;
    }

    /* Site */

    h1, h2 {
        font-size: 2.1rem;
    }

    .grid-2 {
        gap: 3rem;
    }

    div.souligne {
        height: 0.3rem;
        width: 480px;
    }

    #accueil .section-content .section-description h2 {
        font-size: 2.5rem;
    }

    #accueil .section-content .section-description p {
        font-size: 1.8rem;
    }

    #accueil .section-content .section-title img {
        max-width: 200px;
    }

    #service .section-gauche ol {
        gap: 1rem;
    }

    #service .section-gauche li {
        font-size: 0.9rem;
    }

    #service .section-gauche li img {
        width: 16px;
    }

    #service .section-droite h3 {
        font-size: 1.6rem;
    }

    .etapes-projet h3 {
        font-size: 1.8rem;
    }

    .etapes-projet p {
        font-size: 0.9rem;
    }

    .etapes-projet h3::after {
        transform: scale(0.55);
    }

    #secteurs ol {
        font-size: 1.2rem;
    }

    .parallax-leaf.leaf-1 {
        top: 25%;
        left: 10%;
        width: 100px;
        height: 100px;
    }

    .parallax-leaf.leaf-3 {
        bottom: -10%;
        left: 13%;
        width: 110px;
        height: 110px;
    }

    #avis div.souligne {
        top: 3rem;
        width: 420px;
    }

    .avis-clients li {
        padding: 1.6rem;
    }

    .avatar-client img {
        width: 90px;
    }

    .invitation-avis h4 {
        font-size: 1.2rem;
    }

    #contact .section-content {
        gap: 3rem;
    }

    .informations-adresse img {
        width: 150px;
    }

    .informations-adresse ul {
        font-size: 0.8rem;
    }

    .informations-telephone > img {
        width: 40px;
    }

    .informations-telephone > a img {
        max-width: 200px;
    }

    #footer .footer-container {
        gap: 6rem;
    }

    /* Form */

    form label {
        font-size: 0.9rem;
    }

    form input, form textarea, form select {
        font-size: 0.9rem;
    }

    .error-message {
        font-size: 0.75em;
    }



}


@media (max-width: 1024px) {

    :root {
        --padding: 2rem;
    }

    .menu ul {
        gap: 15px;
        font-size: 0.9rem;
    }

    section {
        height: auto;
        max-height: inherit;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

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

    #accueil {
        height: 100vh;
        padding: 0;
    }

    #accueil .section-content {
        flex-direction: column;
    }

    #accueil .section-content .section-title {
        width: 100%;
        padding: 0 2rem 2rem 0;
        justify-content: flex-start;
        align-items: flex-start;
        background: inherit;
    }

    #accueil h1 {
        background-color: #fff;
        padding: 3rem 4rem;
        border-radius: 0 0 85px 0;
    }

    #accueil .section-content .section-title img {
        max-width: 160px;
    }

    #accueil .section-content .section-description {
        width: 100%;
        padding: 2rem;
    }

    #accueil .section-content > div {
        gap: 1rem;
    }

    #service .section-droite {
        align-items: flex-start;
        margin-bottom: 100px;
    }

    #service .section-droite > img {
        position: absolute;
        max-width: 550px;
        align-self: flex-end;
        z-index: -1;
    }

    #projet .etapes-projet {
        grid-template-columns: 1fr;
    }

    #projet {
        padding-bottom: 8rem;
    }

    .avis-clients {
        flex-direction: column;
    }

    .avis-clients li {
        max-width: inherit;
        display: grid;
        grid-template-columns: 1fr 3fr;
    }

    .avatar-client {
        order: 1;
        justify-self: center;
    }

    .note-client {
        order: 3;
        justify-self: center;
    }

    .nom-client {
        order: 2;
    }

    .commentaire-client {
        order: 4;
    }

    #contact {
        padding-left: var(--padding);
        padding-right: var(--padding);
    }

    #contact .section-content {
        max-width: inherit;
        grid-template-columns: 1fr;
    }

    #contact .section-gauche {
        align-items: center;
    }

    #footer .section-content {
        padding-bottom: 3rem;
        padding-left: var(--padding);
        padding-right: var(--padding);
    }

    #footer .footer-container {
        max-width: inherit;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    #footer .section-droite {
        gap: 1.5rem;
        align-items: center;
    }


    #devis {
        overflow-x: hidden;
        height: 100vh;
    }

    #devis .section-content {
        max-width: inherit;
        padding: var(--padding);
        grid-template-columns: 1fr;
        gap: 1rem;
        overflow-y: scroll;
        height: 100%;
    }

    #devis h4 {
        display: none;
    }
    
    
}



@media (max-width: 700px) {

    :root {
        --padding: 1.5rem;
    }
    
    .bouton-cta {
        font-size: 1rem;
    }

    .bouton-icone-cta {
        width: 30px;
        height: 30px;
    }

    .bouton-icone-cta img {
        max-width: 12px;
    }

    h1, h2 {
        font-size: 1.8rem;
    }

    form {
        grid-template-columns: 1fr;
    }

    section {
        justify-content: flex-start;
    }

    .scroll-indicator {
        display: none;
    }

    #accueil {
        height: auto;
        padding-bottom: 2rem;
        min-height: 100vh;
    }

    #accueil h1 {
        padding: 2rem 3rem;
    }

    #accueil .section-content .section-title img {
        max-width: 120px;
    }

    #accueil .section-content .section-description h2 {
        font-size: 2rem;
        line-height: 2.3rem;
    }

    #accueil .section-content .section-description p {
        font-size: 1.4rem;
    }

    #service .section-gauche {
        padding: 0;
    }

    #service .section-gauche ol {
        flex-direction: column;
    }

    #service .section-droite {
        align-items: center;
        margin-bottom: 60px;
    }

    #service .section-droite > img {
        max-width: 420px;
        right: inherit;
        top: inherit;
        position: relative;
        width: 100%;
    }

    #projet {
        padding-left: var(--padding);
        padding-right: var(--padding);
    }

    #projet h2 {
        text-align: left;
        max-width: inherit;
    }

    .etape {
        font-size: 3rem;
    }

    .etape::after {
        top: 0.7rem;
        width: 7px;
        height: 7px;
    }

    .etapes-projet h3::after {
        transform: scale(0.5);
        bottom: -73px;
        left: -105px;
    }

    .etapes-projet .etape-1 h3::after {
        left: -95px;
    }

    .etapes-projet .etape-3 h3::after {
        left: -100px;
    }

    #secteurs .section-content {
        justify-content: center;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        padding-left: var(--padding);
        padding-right: var(--padding);
    }

    #secteurs h2 {
        width: 100%;
        max-width: 100%;
        text-align: left;
        align-self: flex-start;
    }

    #secteurs ol {
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        list-style: inside;
        align-items: flex-start;
        width: 100%;
    }

    .map-secteurs {
        position: relative;
        top: inherit;
        left: inherit;
        width: 100%;
        max-width: inherit;
        height: 420px;
    }

    .map-secteurs-container {
        left: 37%;
        top: 56%;
    }

    #avis .section-content {
        width: 100%;
        max-width: 100%;
        padding-left: var(--padding);
        padding-right: var(--padding);
    }

    .invitation-avis {
        flex-direction: column;
    }

    .avis-clients li {
        grid-template-columns: 1fr;
    }

    .nom-client {
        text-align: center;
    }

    #contact {
        padding-left: 0;
        padding-right: 0;
    }

    #contact .section-gauche {
        padding-left: var(--padding);
        padding-right: var(--padding);
        align-items: flex-start;
        gap: 1rem;
    }

    .informations-adresse, .informations-telephone {
        flex-direction: column;
    }

    .informations-telephone > img {
        display: none;
    }

    #footer .section-content {
        padding-bottom: 0;
    }

    #footer .section-droite {
        align-items: flex-start;
    }

    #footer .informations-adresse {
        align-items: flex-start;
    }

    .informations-telephone > img {
        display: none;
    }

    #footer .informations-telephone a img {
        width: 100%;
        max-width: 200px;
    }

    .links-footer {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        position: relative;
        left: inherit;
        top: inherit;
        right: inherit;
        bottom: inherit;
        transform: inherit;
        gap: 0.6rem;
        margin-top: 2rem;
    }

}