/* Fonts ----------------------------------------------------------------- */

@font-face {
    font-family: 'Darker-Grotesk-Black';
    src: url('../fonts/Darker_Grotesque/DarkerGrotesque-Black.ttf') format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: 'Darker-Grotesk-ExtraBold';
    src: url('../fonts/Darker_Grotesque/DarkerGrotesque-ExtraBold.ttf') format('truetype');
    font-weight: 800;
}

@font-face {
    font-family: 'Darker-Grotesk-Bold';
    src: url('../fonts/Darker_Grotesque/DarkerGrotesque-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Darker-Grotesk-SemiBold';
    src: url('../fonts/Darker_Grotesque/DarkerGrotesque-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Darker-Grotesk-Medium';
    src: url('../fonts/Darker_Grotesque/DarkerGrotesque-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Darker-Grotesk-Regular';
    src: url('../fonts/Darker_Grotesque/DarkerGrotesque-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Darker-Grotesk-Light';
    src: url('../fonts/Darker_Grotesque/DarkerGrotesque-Light.ttf') format('truetype');
    font-weight: 300;
}

/* Global Styles ----------------------------------------------------------------- */

* {
    box-sizing: border-box;
    font-family: 'Darker-Grotesk-Regular', sans-serif;
}

body {
    line-height: 1.2;
    margin: 0;
    padding: 0;
    color: #1E1E1E;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.button {
    display: inline-block;
    padding: 15px 24px;
    background: #335382;
    color: #fff;
    text-decoration: none;
    font-family: 'Darker-Grotesk-ExtraBold', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

section {
    padding: 50px 0;
}

span {
    color: #335382;

    text-decoration: underline;
    text-decoration-color: #335382;

    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.inline-block{
    display: inline-block;
}

/* Initial chevron to top for scroll to top button */
#chevron-top {
    position: fixed;
    bottom: 25px;
    right: 25px;

    background: #fff;
    color: #335382;

    padding: 10px;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#chevron-top svg {
    width: 24px;
    height: 24px;
}

#chevron-top.show {
    opacity: 1;
    visibility: visible;
}

/* Initial hide for mobile logo */

header #logo img:nth-child(2) {
    display: none;
}

/* Navigation Styles ----------------------------------------------------------------- */

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    gap: 32px;
}

nav ul li a {
    display: block;
    text-transform: uppercase;
    font-family: 'Darker-Grotesk-SemiBold', sans-serif;
    font-size: 24px;
    color: #1E1E1E;
    text-decoration: none;
}

nav ul li a:hover {
    color: #335382;
    text-decoration: underline;
    text-decoration-color: #335382;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

nav ul li a.active {
    color: #335382;
    text-decoration: underline;
    text-decoration-color: #335382;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

/* Header Styles ----------------------------------------------------------------- */

header {
    position: fixed;
    /* Fixe le header en haut de la page */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;

    background-color: #fff;
    border-bottom: 1px solid #ccc;
    z-index: 3;
}

header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Burger Menu Styles ----------------------------------------------------------------- */

#burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

#burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #1E1E1E;
}

/* Hero Section ----------------------------------------------------------------- */

#accueil {
    background: #fff;
    padding: 100px 0;
    text-align: center;
}

#acceuil .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    /* Add vertical space between elements */
}

#accueil h2 {
    display: block;
    text-transform: uppercase;
    font-family: 'Darker-Grotesk-Black', sans-serif;
    font-size: 32px;
    color: #1E1E1E;
    margin: 0;
}

#accueil p {
    font-family: 'Darker-Grotesk-Medium', sans-serif;
    font-size: 24px;

    margin: 0;
}

#accueil, #google-review {
    font-family: 'Darker-Grotesk-Medium', sans-serif;
    font-size: 24px;
    color: #335382;
    margin: 0;
}

#accueil .button {
    margin: 0;
    width: fit-content;
    align-self: center;
}

/* Services Section ----------------------------------------------------------------- */

#services {
    background: #335382;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
    /* Add vertical space between elements */
}

#services span {
    display: block;
    text-transform: uppercase;
    font-family: 'Darker-Grotesk-Extrabold', sans-serif;
    font-size: 24px;
    color: #fff;
    text-align: center;

    text-decoration: underline;
    text-decoration-color: #fff;

    text-decoration-thickness: 2px;
    text-underline-offset: 8px;

}

#services h2 {
    display: block;
    text-transform: uppercase;
    font-family: 'Darker-Grotesk-Black', sans-serif;
    font-size: 32px;
    color: #fff;
    margin: 0;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    /* Add gap between service items */
    margin: 0 auto;
}

.service {
    background: transparent;
    border: 2px solid #fff;
    flex: 1 1 calc(33.333% - 50px);
    box-sizing: border-box;
    height: fit-content;
}

.service hr {
    margin: 0;
    border: 1.5px solid #fff;
}

.service h3 {
    display: block;
    text-transform: uppercase;
    font-family: 'Darker-Grotesk-Extrabold', sans-serif;
    font-size: 24px;
    background-color: #fff;
    color: #335382;
    padding: 15px 24px;
    margin: 0;
}

.service .item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
}

.service b {
    font-family: 'Darker-Grotesk-ExtraBold', sans-serif;
    font-size: 24px;
    color: #fff;

    display: flex;
    align-items: center;
    gap: 25px;
}

.service p {
    color: #fff;
    margin: 0;
    font-family: 'Darker-Grotesk-Medium', sans-serif;
    font-size: 24px;
    text-align: left;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* About Section ----------------------------------------------------------------- */

#a-propos {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
    /* Add vertical space between elements */
    border-bottom: 1px solid #ccc;
}

#a-propos span {
    display: block;
    text-transform: uppercase;
    font-family: 'Darker-Grotesk-Extrabold', sans-serif;
    font-size: 24px;
    color: #335382;
    text-align: left;
}

#a-propos h2 {
    text-transform: uppercase;
    font-family: 'Darker-Grotesk-Black', sans-serif;
    font-size: 32px;
    text-align: left;

    margin: 0;
}

#a-propos p {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Darker-Grotesk-Medium', sans-serif;
    font-size: 24px;
    text-align: left;
}

/* Contact Section ----------------------------------------------------------------- */

#contact {
    background-color: #fff;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
    /* Add vertical space between elements */
}

#contact span {
    display: block;
    text-transform: uppercase;
    font-family: 'Darker-Grotesk-Extrabold', sans-serif;
    font-size: 24px;
    color: #335382;
    text-align: center;
}

#contact h2 {
    display: block;
    text-transform: uppercase;
    font-family: 'Darker-Grotesk-Black', sans-serif;
    font-size: 32px;
    margin: 0;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    /* Add vertical space between form elements */
}

form input {
    width: 100%;
    max-width: 600px;
    padding: 15px 24px;
    background-color: transparent;
    border: 1px solid #ccc;
    font-size: 24px;
    font-family: 'Darker-Grotesk-Medium', sans-serif;
}

form textarea {
    width: 100%;
    max-width: 600px;
    min-height: 200px;
    padding: 15px 24px;
    background-color: transparent;
    border: 1px solid #ccc;
    font-size: 24px;
    font-family: 'Darker-Grotesk-Medium', sans-serif;
}

form button {
    display: inline-block;
    border: none;
    padding: 15px 24px;
    background: #335382;
    color: #fff;
    text-decoration: none;
    font-family: 'Darker-Grotesk-ExtraBold', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Footer Styles ----------------------------------------------------------------- */

footer {
    background: #335382;
    color: #fff;

    font-size: 24px;
    text-transform: uppercase;

    padding: 50px 0;
}

footer hr {
    width: 100%;
    border: 1.5px solid #fff;
    margin: 0;
}

footer b {
    font-family: 'Darker-Grotesk-ExtraBold', sans-serif;
    font-size: 24px;
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-left,
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.footer-nav ul,
.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li,
.footer-right li {
    font-family: 'Darker-Grotesk-Medium', sans-serif;
    margin: 10px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 25px;

    font-family: 'Darker-Grotesk-Medium', sans-serif;
    font-size: 20px;
}

/* Legal Styles ----------------------------------------------------------------- */

#politique-confidentialite {
    padding: 100px 0;
}

#politique-confidentialite .container {
    display: flex;
    flex-direction: column;
}

#politique-confidentialite h2 {
    text-transform: uppercase;
    font-family: 'Darker-Grotesk-Black', sans-serif;
    font-size: 32px;
    margin: 0;
}

#politique-confidentialite .container p,
li {
    font-family: 'Darker-Grotesk-Medium', sans-serif;
    font-size: 24px;
    margin: 0;
}

#politique-confidentialite .go-back {
    display: block;
    width: fit-content;
    padding: 15px 24px;
    background: #335382;
    color: #fff;
    text-decoration: none;
    font-family: 'Darker-Grotesk-ExtraBold', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Responsive Styles ----------------------------------------------------------------- */

@media (max-width: 1024px) {

    /* header */
    header {
        top: 0;
        position: relative;
        flex-direction: column;
        gap: 32px;
        /* Add gap between header elements */
        width: 100%;
        padding: 25px 0;
        background: #fff;
    }

    header .container {
        padding: 0 25px;
    }

    /* Show mobile logo and hide desktop logo */
    header #logo img:nth-child(1) {
        display: none;
    }

    header #logo img:nth-child(2) {
        display: block;
    }

    #burger-menu {
        position: absolute;
        right: 25px;
        display: flex;
        padding: 0;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #ccc;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

        gap: 0;
    }

    nav ul li a {
        display: block;
        text-transform: uppercase;
        font-family: 'Darker-Grotesk-SemiBold', sans-serif;
        font-size: 24px;
        color: #1E1E1E;
        text-decoration: none;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #ccc;
    }

    nav ul li a {
        padding: 15px 0;
        display: block;
        width: 100%;
    }

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

    /* footer */

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: left;
        gap: 50px;
    }

    /* Ensure the logo fits within available space */
    .footer-logo {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: fit-content;
        /* Adjust max-width as needed */
        margin: 0 auto;
    }

    .footer-logo img {
        width: 100%;
        height: auto;
    }

    .footer-left {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .footer-right {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .footer-bottom {
        display: block;
        grid-template-columns: 1fr 1fr;
        /* Two columns layout */
        gap: 50px;
        text-align: left;
    }
}

/* Section Home */
#accueil .row {
    display: flex;
    align-items: center; /* Aligne le contenu verticalement */
    text-align: left; /* Alignement du texte à gauche */
    justify-content: space-between; /* Espace entre les colonnes */
    gap: 50px; /* Espacement entre le texte et l'image */
    flex-wrap: nowrap; /* Pas de retour à la ligne sur grands écrans */
}

#accueil .col {
    flex: 1; /* Les colonnes prennent la même largeur */
    display: grid;
    flex-direction: column;
    gap: 25px; /* Espacement entre les éléments */
    align-items: flex-start; /* Alignement du texte à gauche */
}

#accueil img {
    max-width: 100%; /* L'image ne dépasse pas la largeur de son conteneur */
    height: auto; /* Garde les proportions de l'image */
}

#a-propos .row {
    display: flex;
    align-items: center;
    /* Centrer verticalement le contenu */
    gap: 50px;
    /* Espacement entre le texte et l'image */
    flex-wrap: nowrap;
    /* Empêcher le contenu de passer à une nouvelle ligne */
}

#a-propos .col {
    flex: 1;
    /* Permet de partager l'espace entre texte et image */
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#a-propos img {
    max-width: 100%;
    /* Ajuste la largeur de l'image à la taille du container */
    height: auto;
    /* Préserve le ratio de l'image */
}

@media (max-width: 768px) {
    #accueil .row {
        flex-wrap: wrap; /* Empile les colonnes */
        gap: 25px; /* Ajuste l'espacement */
    }

    #accueil .col {
        flex: 1 1 100%; /* Chaque colonne occupe toute la largeur */
    }

    #accueil .col:nth-child(1) {
        order: 2; /* Place le texte après l'image sur mobile */
    }

    #accueil .col:nth-child(2) {
        order: 1; /* Place l'image avant le texte sur mobile */
    }

    #a-propos .row {
        flex-direction: column;
        /* Empile les colonnes */
        gap: 25px;
        /* Ajuste l'espacement vertical entre les colonnes */
    }

    #a-propos .col {
        flex: 1 1 100%;
        /* Les colonnes occupent toute la largeur */
        max-width: 100%;
        /* Empêche tout dépassement horizontal */
    }

    #a-propos .col:nth-child(1) {
        order: 2;
        /* Place la première colonne (texte) après la seconde sur mobile */
    }

    #a-propos .col:nth-child(2) {
        order: 1;
        /* Place la deuxième colonne (image) avant la première sur mobile */
    }

    /* global */
    .container {
        padding: 0 25px;
    }

    /* Hero Section */
    #accueil {
        margin-top: 0px;
    }

    /* services */

    #services {
        padding: 50px 0;
    }

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

    .service {
        flex: 1 1 100%;
    }

    /* about */
    #a-propos {
        padding: 50px 0;
    }

    /* contact */
    #contact {
        padding: 50px 0;
    }
}

#accueil {
    background: #fff;
    padding: 120px 0 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#accueil::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(51, 83, 130, 0.02) 0%, rgba(255, 255, 255, 0.95) 100%);
    z-index: 1;
}

#accueil .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

#accueil .row {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: nowrap;
}

#accueil .col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
}

#accueil .col:first-child {
    max-width: 55%;
}

#accueil .col:last-child {
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#accueil h2 {
    display: block;
    text-transform: uppercase;
    font-family: 'Darker-Grotesk-Black', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    color: #1E1E1E;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

#accueil p {
    font-family: 'Darker-Grotesk-Medium', sans-serif;
    font-size: clamp(18px, 2.5vw, 26px);
    margin: 0;
    color: #555;
    line-height: 1.4;
}

#accueil .button {
    margin: 10px 0;
    width: fit-content;
    align-self: flex-start;
    padding: 18px 32px;
    font-size: clamp(18px, 2vw, 24px);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(51, 83, 130, 0.3);
    text-transform: uppercase;
    font-weight: 800;
}

#accueil .button:hover {
    background: #2a4670;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 83, 130, 0.4);
}

#accueil .inline-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    margin-top: 20px;
}

#accueil .inline-block > div {
    font-family: 'Darker-Grotesk-SemiBold', sans-serif;
    font-size: clamp(16px, 2vw, 22px);
    color: #1E1E1E;
    display: flex;
    align-items: center;
    gap: 10px;
}

#accueil .inline-block > div i {
    color: #fbbc2f !important;
    font-style: normal;
    font-size: clamp(18px, 2.2vw, 24px);
}

#accueil #google-review {
    font-family: 'Darker-Grotesk-Medium', sans-serif;
    font-size: clamp(14px, 1.8vw, 20px);
    color: #335382;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

#accueil #google-review:hover {
    color: #2a4670;
    border-bottom-color: #335382;
}

#accueil img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#accueil img:hover {
    transform: scale(1.02);
}

/* Responsive Hero Section */
@media (max-width: 1200px) {
    #accueil .col:first-child {
        max-width: 60%;
    }
    
    #accueil .col:last-child {
        max-width: 40%;
    }
    
    #accueil .row {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    #accueil {
        padding: 100px 0 80px 0;
    }
    
    #accueil .container {
        gap: 40px;
    }
    
    #accueil .row {
        gap: 30px;
    }
    
    #accueil .col {
        gap: 25px;
    }
    
    #accueil .col:first-child,
    #accueil .col:last-child {
        max-width: 100%;
    }
    
    /* Ajustement header pour mobile */
    header {
        position: relative;
        top: 0;
        padding: 25px 0;
    }
    
    #accueil {
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    #accueil {
        padding: 60px 0 50px 0;
        text-align: center;
    }
    
    #accueil .container {
        gap: 30px;
    }
    
    #accueil .row {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    #accueil .col {
        flex: 1 1 100%;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    #accueil .col:nth-child(1) {
        order: 2;
    }

    #accueil .col:nth-child(2) {
        order: 1;
    }
    
    #accueil .button {
        align-self: center;
        padding: 15px 28px;
    }
    
    #accueil .inline-block {
        align-items: center;
        text-align: center;
        margin-top: 15px;
        gap: 12px;
    }
    
    #accueil img {
        max-width: 90%;
        border-radius: 12px;
    }
    
    #accueil {
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    #accueil {
        padding: 50px 0 40px 0;
    }
    
    #accueil .container {
        gap: 25px;
    }
    
    #accueil .row {
        gap: 30px;
    }
    
    #accueil .col {
        gap: 18px;
    }
    
    #accueil .button {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    #accueil .inline-block {
        gap: 10px;
        margin-top: 10px;
    }
    
    #accueil img {
        max-width: 95%;
        border-radius: 10px;
    }
}