/*
 Theme Name:   Mon Thème Enfant
 Theme URI:    https://resstudio.local
 Description:  Thème enfant pour personnaliser [hello-elementor]
 Author:       Resstudio
 Author URI:   https://resstudio.local
 Template:     hello-elementor
 Version:      1.0
*/

/* Vos styles CSS ici */

/* Ajoute ici tes styles personnalisés */
/* -------------------------- HEADER -------------------------- */
/* Variables CSS */
:root {
    /*--primary-color: #030A8C;
    --secondary-color: #A23318;
    --background-color: #FEFEFA;
    --font-family: 'Satoshi', sans-serif;*/

    --font-family-primary: 'Satoshi', sans-serif;
    --font-family-secondary: 'IBM Plex Mono', monospace;
    --font-family-third: 'Newsreader';

        --z-base: 1;
        --z-content: 5;
        --z-overlay: 50;
        --z-dropdown: 100;
        --z-modal: 500;
        --z-menu-toggle: 20000;
        --z-mobile-menu: 10000;
        --z-menu-active: 15000;
        --z-close-button: 20001;

  }
 
  
  body {
    overflow-x: hidden; /* Empêche le défilement horizontal au niveau global */
    width: 100%;
    max-width: 100vw;
}

/* Conteneur principal du header */
.custom-header {
    background-color: transparent;
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    height: 60px; /* Ajuste cette valeur selon tes besoins */
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 10;
    transition: background 0.3s ease, transform 0.3s ease;
}  

/* Conteneur global du header */
.header-container {
    width: 100%;
    max-width: 100%;
    min-width: unset; /* Largeur minimale */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Pour le positionnement */
    box-sizing: border-box;
    padding: 0;
}

.home .header-left {
    position: relative;
    height: auto;
    z-index: 5;
}

.header-left {
    display: flex;
    align-items: center;
}


/*.header-left .company-name {
    font-family: var(--font-family-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 0px 12px;
    background-color: transparent;
}*/



.header-left .text-wrap {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    height: 20px; /* Ajustez cette hauteur en fonction de la taille de votre logo */
    width: auto;
}

.header-left .text-wrap .real,
.header-left .text-wrap .copy {
    display: block;
    transition: transform 0.3s ease;
    transform: translateY(0);
    width: 100%;
}

.header-left .text-wrap .real {
    position: absolute;
    top: 0;
}

.header-left .text-wrap .real .logo-image,
.header-left .text-wrap .copy .logo-image {
    max-height: 20px; /* Ajustez selon la taille souhaitée */
    width: auto;
    display: block;
}

.header-left .text-wrap .copy {
    top: 100%;
    transform: translateY(100%);
}

.header-left .company-name:hover .text-wrap .real {
    transform: translateY(-100%);
}

.header-left .company-name:hover .text-wrap .copy {
    transform: translateY(0);
}

/* Section centrale (menu) */
.header-center {
    position: absolute;
    left: 50%; /* Centre le point de référence */
    transform: translateX(0); /* Ne déplace pas l'élément lui-même */
    display: flex;
    align-items: center;
}

.header-center .header-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateX(0); /* Commence exactement au point central */
    justify-content: flex-start;
}

.header-center .header-menu li a {
    font-family: var(--font-family-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 0 20px;
    background-color: transparent;
    transition: color 0.2s ease;
}


.header-center .header-menu li a:hover {
    color: var(--primary-color);
}

/* Animation spécifique pour le menu */
.header-center .header-menu li .text-wrap {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    height: 1.3em;
}

.header-center .header-menu li .text-wrap .real,
.header-center .header-menu li .text-wrap .copy {
    display: block;
    transition: transform 0.3s ease;
    transform: translateY(0);
}

.header-center .header-menu li .text-wrap .real {
    position: absolute;
    top: 0;
}

.header-center .header-menu li .text-wrap .copy {
    top: 100%;
    transform: translateY(100%);
}

.header-center .header-menu li a:hover .text-wrap .real {
    transform: translateY(-100%);
}

.header-center .header-menu li a:hover .text-wrap .copy {
    transform: translateY(0);
}

/* Section droite */
.header-right {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateX(0); /* Commence exactement au point central */
    justify-content: flex-start;
}

/* Contour initial */
.header-right .special-item {
    font-family: var(--font-family-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    display: inline-block;
    position: relative;
    background-color: transparent;
    transition: color 0.2s ease;
}

.header-right .special-item .text-wrap {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    height: 1.3em;
}

.header-right .special-item .text-wrap .real,
.header-right .special-item .text-wrap .copy {
    display: block;
    transition: transform 0.3s ease;
    transform: translateY(0);
}

.header-right .special-item .text-wrap .real {
    position: absolute;
    top: 0;
}

.header-right .special-item .text-wrap .copy {
    top: 100%;
    transform: translateY(100%);
    color: var(--primary-color);
}

.header-right .special-item:hover .text-wrap .real {
    transform: translateY(-100%);
}

.header-right .special-item:hover .text-wrap .copy {
    transform: translateY(0);
}



/* Style pour l'élément de menu actif */
.header-center .header-menu li.current-menu-item a {
    color: var(--primary-color);
}
/* Pour garder l'animation au survol sur les autres éléments */
.header-center .header-menu li:not(.current-menu-item) a:hover {
    color: var(--primary-color);
}

/* Animation spécifique pour le menu actif */
.header-center .header-menu li.current-menu-item .text-wrap .real,
.header-center .header-menu li.current-menu-item .text-wrap .copy {
    color: var(--primary-color);
}

/* Désactive l'animation sur l'élément actif */
.header-center .header-menu li.current-menu-item a:hover .text-wrap .real {
    transform: none;
}

.header-center .header-menu li.current-menu-item a:hover .text-wrap .copy {
    transform: none;
}


/*.home .header-left .company-name,*/
.home .header-center .header-menu li a,
.home .header-right .special-item {
  /*  background-color: var(--text-color);*/
    color: var(--background-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home.page-scrolled .header-center .header-menu li a,
.home.page-scrolled .header-right .special-item {
    background-color: transparent;
}

.home .header-center .header-menu li a:hover,
.home .header-right .special-item:hover {
    color: var(--background-color);
}
.home .header-right .special-item .text-wrap .copy {
    color: var(--background-color);
}

.home.page-scrolled .header-center .header-menu li a:hover,
.home.page-scrolled .header-right .special-item:hover {
    color: var(--primary-color);
}
.home.page-scrolled .header-right .special-item:hover .text-wrap .copy {
    color: var(--primary-color);
}

.home.page-scrolled .header-right .special-item:hover {
    color: var(--primary-color);
}

.home .header-left .logo-image {
    position: absolute;
    top: -10px;
    left: 20px;
    width: auto;
    height: auto;
    max-width: 350px;
    max-height: none;
    opacity: 1; 
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease; /* Transition pour l'effet de disparition */
}


body.home.page-scrolled .header-left .logo-image {
    opacity: 0; /* Le logo devient transparent */
    transform: translateY(-100%); /* Le logo se déplace vers le haut pour disparaître */
    pointer-events: none; /* Pour que le logo ne soit plus cliquable quand il est invisible */
}

body.page-template-page-contact .header-left .company-name,
body.page-template-page-contact .header-center .header-menu li a,
body.page-template-page-contact .header-right .special-item {
    color: var(--background-color); /* Couleur beige pour le texte */
    background-color: transparent; /* Pas de fond beige, juste la couleur du texte */
}
/* Bouton hamburger */
/* Styles du bouton hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    position: absolute; /* Positionner le hamburger */
   /*  top: 0; Ajuste la distance par rapport au haut de la page */
    right: 0px; 
    z-index: 9500; /* Z-index plus élevé pour être sûr qu'il reste visible */
    padding: 4px; 
}

.menu-toggle .bar {
    width: 20px; /* Barres légèrement plus grandes */
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}
.header-light .bar {
    background-color: var(--background-color); /* Blanc pour les fonds sombres */
}

/* Style pour les barres sur fond clair */
.header-dark .bar {
    background-color: var(--text-color); /* Foncé pour les fonds clairs */
}

/* Styles du menu mobile */
.mobile-menu {
    position: fixed; /* Fixe le menu par-dessus le contenu */
    top: 0;
    left: 0;
    width: 100vw; /* Utilise la largeur exacte de la fenêtre */
    max-width: 100%; 
    height: 100vh; /* Prend toute la hauteur de l'écran */
    background-color: var(--accent-color); /* Adapte à ton design */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%); /* Caché au départ */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow: hidden;
    box-sizing: border-box;
}

.mobile-menu.active {
    transform: translateY(0); 
    z-index: 9999 !important; /* Valeur fixe très élevée */
}

.mobile-menu.active::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--accent-color);
    z-index: -1; /* Juste en dessous du contenu du menu */
}
/* En-tête du menu mobile */
.mobile-menu-header {
    position: absolute;
    top: 15px;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Croix de fermeture */
.close-menu {
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-family-secondary);
    text-transform: uppercase;
    color: var(--text-color);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    border: 1px solid var(--text-color); /* Ajoute une bordure */
    padding: 5px 10px; /* Ajoute de l'espace à l'intérieur de la bordure */
    border-radius: 20px; 
    z-index: 10000 !important;
    position: relative;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%; /* Take full width */
    display: flex;
    flex-direction: column;
    align-items: center; /* Align items to the left */
}
.mobile-menu ul li {
    width: 100%;
    margin-bottom: 0; /* Supprime la marge entre les éléments */
}

.mobile-menu ul li a {
    font-size: 2.5rem;
    font-family: var(--font-family-primary);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.15rem;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centrage du texte */
    width: 100%;
}

.mobile-socials {
    position: absolute; /* Positionne en bas à droite */
    bottom: 100px; /* Distance depuis le bas */
    right: 30px; /* Distance depuis la droite */
    display: flex;
    flex-direction: column; /* Empile verticalement */
    gap: 10px; /* Espacement vertical entre les icônes */
    align-items: flex-end; /* Aligne à droite */
}
.mobile-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mobile-socials a img {
    max-width: 30px; 
    max-height: 30px;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
}

.mobile-socials a:hover img {
    transform: scale(1.1); /* Effet de zoom au hover */
}
.home:not(.page-scrolled) .menu-toggle .bar {
    background-color: var(--background-color); /* Utilisez la couleur de fond claire pour contraster avec le fond sombre */
}

@supports not (isolation: isolate) {
    .mobile-menu {
        position: fixed;
        z-index: var(--z-mobile-menu);
    }
    
    .mobile-menu.active {
        z-index: var(--z-menu-active) !important;
    }
}

@media (max-width: 1200px) {
    .header-center .header-menu li a {
        padding: 0 10px; /* Réduit le padding horizontal */
        font-size: 0.9rem; /* Réduit légèrement la taille de police */
    }
    .header-right .special-item {
        /*padding: 0 10px;  Réduit le padding horizontal */
        font-size: 0.9rem;
    }
}

@media (max-width: 950px) and (min-width: 769px) {
    .header-center .header-menu {
        gap: 0; /* Réduit l'espace entre les éléments du menu */
    }
    
    .header-center .header-menu li a {
        padding: 0 10px; /* Réduit le padding horizontal */
        font-size: 0.8rem; /* Réduit légèrement la taille de police */
    }
    .header-right .special-item {
        /*padding: 0 10px;  Réduit le padding horizontal */
        font-size: 0.8rem;
    }
}
/* Affichage du menu sur mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important; 
        }

    .header-left .company-name { 
        padding: 0;
    }
    .header-left { 
        padding-left: 0;
    }
    .home .header-left .logo-image {
        max-width: 290px; /* Logo plus petit */
        left: 0;
    }
   

    .header-center {
        display: none; /* Cache le menu principal */
    }

    .mobile-menu.open {
        display: flex;
    }
    .header-right .special-item {
        display: none;
    }
    .header-right {
        display: none; /* Cache également le special item */
    }
    .custom-header {
        padding: 0 20px; 
    }  
}

@media (max-width: 360px) {
    .custom-header {
        padding: 0 10px; /* Padding encore plus réduit pour les très petits écrans */
    }
    
    .home .header-left .logo-image {
        max-width: 230px; /* Logo plus petit */
        left: 10px;
    }
    .menu-toggle {
        right: 10px; /* Cohérent avec le padding réduit sur très petits écrans */
    }
}



/* -------------------------- ACCUEIL -------------------------- */
:root {
    /*--primary-color: #030A8C;
    --secondary-color: #A23318;
    --background-color: #FEFEFA;
    --font-family: 'Satoshi', sans-serif;*/

    --primary-color: #030A8C;
    --background-color: #FEFEFA;
    --third-color : #D7E9FD;
    --accent-color: #FDF9B4;
    --green-background: #767F43;
    --text-color : #342217;
    --font-family-primary: 'Satoshi', sans-serif;
    --font-family-secondary: 'Space Mono', monospace;

    --font-size-tiny: clamp(0.7rem, 1vw, 0.8rem);
    --font-size-small: clamp(0.9rem, 1.2vw, 1.1rem);
    --font-size-base: clamp(0.8rem, 2vw, 1rem);
    --font-size-medium: clamp(1.2rem, 3vw, 1.5rem);
    --font-size-medium-large: clamp(1.3rem, 4vw, 1.7rem);
    --font-size-large: clamp(1.5rem, 5vw, 2.2rem);
    --font-size-xlarge: clamp(2rem, 4vw, 3rem);
    --font-size-xxlarge: clamp(3rem, 8vw, 8rem);
    
    /* Valeurs de clamp pour letter-spacing */
    --letter-spacing-tight: clamp(-0.15rem, -0.4vw, -0.4rem);
    --letter-spacing-medium: clamp(-0.05rem, -0.1vw, -0.15rem);
    --letter-spacing-normal: clamp(-0.03rem, -0.04vw, -0.05rem);
    
}

body.landing-page {
    position: relative;
    margin: 0;
    z-index: var(--z-base);
}
.custom-header {
    transition: all 0.3s ease;
}

/* État initial de la page d'accueil (avant tout scroll) */
.custom-header.initial-state .header-center .header-menu li a,
.custom-header.initial-state .header-right .special-item {
  /*  background-color: var(--text-color);*/
    color: var(--background-color);
}

/* Mode foncé - texte foncé sur fond clair */
.custom-header.header-dark .header-left .company-name,
.custom-header.header-dark .header-center .header-menu li a,
.custom-header.header-dark .header-right .special-item {
    color: var(--text-color);
    background-color: transparent;
}

/* Mode clair - texte clair sur fond foncé */
.custom-header.header-light .header-left .company-name,
.custom-header.header-light .header-center .header-menu li a,
.custom-header.header-light .header-right .special-item {
    color: var(--background-color);
    background-color: transparent;
}

/* Animation hover pour mode clair */
.custom-header.header-light .header-left .text-wrap .copy,
.custom-header.header-light .header-center .header-menu li .text-wrap .copy,
.custom-header.header-light .header-right .special-item .text-wrap .copy {
    color: var(--primary-color);
}

/* Animation hover pour mode foncé */
.custom-header.header-dark .header-left .text-wrap .copy,
.custom-header.header-dark .header-center .header-menu li .text-wrap .copy,
.custom-header.header-dark .header-right .special-item .text-wrap .copy {
    color: var(--primary-color);
}

/* Priorité pour l'état initial sur la page d'accueil avant scroll */
.home .custom-header:not(.scrolled) .header-center .header-menu li a,
.home .custom-header:not(.scrolled) .header-right .special-item {
    /*background-color: var(--text-color);*/
    color: var(--background-color);
}

/* Priorité pour l'état initial hover sur la page d'accueil avant scroll */
.home .custom-header:not(.scrolled) .header-center .header-menu li a:hover .text-wrap .copy,
.home .custom-header:not(.scrolled) .header-right .special-item:hover .text-wrap .copy {
    color: var(--primary-color) !important;
}

.main-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex; /* Ajout pour centrer les enfants */
    justify-content: center;
    align-items: center;  
    padding-top: 0; /* S'assurer qu'il n'y a pas de padding en haut */
    margin-top: 0;
    box-sizing: border-box; 
    overflow: visible; 
}

.split-background {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    pointer-events: auto;
}


.left-background {     
    width: 50%;     
    height: 100%;     
    background-image: url('assets/images/pexels-karolina-grabowska-4046569.jpg');     
    background-size: cover;     
    background-position: center;     
    filter: grayscale(20%);
}


.right-background {
    width: 50%;
    height: 100%;
    background-image: url('assets/images/kanishk-jain-9TJifW_n2wg-unsplash.jpg'); /* A medium brown color - adjust to match your desired shade */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

/*.right-background::after {
    content: "";
    position: absolute;
    width: 60%; 
    height: 65%; 
    background-image: url('assets/images/kanishk-jain-9TJifW_n2wg-unsplash.jpg');
    background-size: contain;
    filter: grayscale(30%);
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.3s ease;
}*/


body.landing-page::before {
    display: none; /* On désactive l'ancien pseudo-élément */
}

.keywords-container {
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column; /* Changé pour permettre un meilleur contrôle des sauts de ligne */
    justify-content: center;
    align-items: center;
    z-index: 2;
    text-align: center; /* Centrer le texte */
}

.keywords-container .keyword {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: var(--font-family-primary);
    color: var(--background-color);
    cursor: pointer; /* Ajoute un curseur de pointeur */
    transition: color 0.3s ease; /* Transition douce */
    position: relative;
    text-align: center;
}

.full-page-section {
    width: 100%;
    height: 100vh; /* pour occuper toute la hauteur de la fenêtre */
    box-sizing: border-box;
    position: relative;
    background-color: var(--background-color);
    transition: background-color 0.4s ease-in-out;
    display: flex;
    align-items: center;        /* centrer verticalement */
    justify-content: space-between;
}
.full-page-section:has(.read-more:hover) {
    background-color: var(--accent-color);
}

.introduction-text {
    position: relative;
    text-align: left;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-large);
    line-height: 1.2;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: var(--letter-spacing-medium); 
    width: 50%;
    height: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    justify-content: center;
    display: flex;
    z-index: 1;
}



.text-rectangle {
    width: 50%;
    flex-grow: 1;
    padding: 80px 0px 5px 40px; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    text-align-last: left;
    position: relative;
    font-synthesis: none;
    pointer-events: auto;
}

em {
    font-style: italic;
  }


.text-rectangle h2 {
    margin: 0 0 60px 0; 
    width: 100%;
    all: unset; /* réinitialise tous les styles par défaut */
    display: block;
    pointer-events: auto;
}

.read-more {
    display: inline;
    color: inherit; /* Utilise la même couleur que le texte principal */
    font-size: 1rem;
    font-weight: 500; /* Même graisse que votre texte principal */
    letter-spacing: var(--letter-spacing-medium);
    line-height: 1.2; /* Même interligne */
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: var(--font-family-secondary); 
    position: relative;
    z-index: var(--z-content);
    pointer-events: auto;
}

.read-more:hover {
    font-style: italic; /* Applique l'italique au survol */
}

.claim {
   position: absolute;
    right: 40px; /* même marge que le padding-left de text-rectangle */
    bottom: 20px; /* ajustez selon vos besoins */
    width: 60%; /* ou la largeur souhaitée */
    margin-top: 0; /* retire le margin-top auto */
    font-family: var(--font-family-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 500;
    color: var(--text-color);
    opacity: 80%;
    text-align: left;
    padding-top: 10px;
}
.claim-definition {
    display: inline-block;
    margin-top: 10px;
    white-space: normal;
}
.special-f {
    font-weight: 500;
}


.image-section-visual {
    position: absolute;
    top: 80px;       /* marge depuis le haut */
    right: 0px;     /* marge depuis la droite */
    width: 300px;    /* taille fixe de l'image */
    height: auto;
    z-index: 0;      /* derrière le texte */
}

.section-image {
    width: 100%;
    height: auto;    /* on garde les proportions */
    object-fit: cover;
}

@media screen and (max-width: 1024px) and (orientation: portrait),
       screen and (max-width: 768px) {
    
        .full-page-section {
        display: flex;
        flex-direction: column; /* empile le texte et l’image */
    }

    .introduction-text {
        width: 100%;
        padding: 1rem;
    }

    .image-section-visual {
        width: 100%;
        height: auto;
        position: static; /* ⚡️ repasse dans le flux normal */
    }

    .section-image {
        width: 100%;
        height: auto; /* pas 100vh sinon elle bouffe tout l’écran */
        object-fit: cover;
        object-position: center;
    }

    .text-rectangle {
        width: 100%;
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    .text-rectangle {
        width: 100%;
    }
     .image-section-visual {
        display: none;
    }
    
}

/* Tablette horizontale - garde le comportement desktop */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
     .image-section-visual {
        height: auto;
    }
}

/* Mobile très petit */
@media screen and (max-width: 480px) {
     .introduction-text {
        padding: 1rem;
    }

   .image-section-visual {
        display: none;
    }
    .text-rectangle {
        width: 100%;
    }
    
    .keywords-container {
    padding-right: 20px; 
    padding-left: 20px;
}
}

.home .creative-statement-section {
    position: relative;
    width: 100%;
    background-color: var(--text-color); 
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(3rem, 5vh, 5rem) 0;
    transition: background-color 0.4s ease-in-out;
  }

  /*.home .creative-statement-section:hover {
    background-color: var(--tangerine); 
  }*/

  .home .statement-container {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 5vw, 7rem);
  }
  
  .home .main-statement {
    width: 60%;
  margin-left: 10%; /* Commence plus à gauche */
  margin-right: auto;
  }

  .home .main-statement p {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-medium);
    line-height: 1.1;
    font-weight: 500;
    color: var(--background-color);
    letter-spacing: var(--letter-spacing-medium);
    margin-bottom: 0;
  }
  
  .home .supporting-statement {
 width: 70%;
  margin-left: auto;
  margin-right: 10%; /* Se termine plus à droite */
  padding-bottom: 2rem;  }
  
  .home .supporting-statement p {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-medium);
    font-weight: 300;
    line-height: 1.2;
    font-weight: 300;
    letter-spacing: -0.05rem;
    color: var(--background-color);
    margin-bottom: 1.5rem;
   
  }

  .home .creative-statement-section h3 {
    position: absolute;
    bottom: 10px; /* Ajustez cette valeur pour la distance du bas */
    left: 40px; /* Pour aligner avec la marge gauche du container (70% centré = 15% de marge de chaque côté) */
    font-family: var(--font-family-secondary);
    font-size: 0.7rem;
    /*font-style: italic;*/
    text-transform: uppercase;
    font-weight: 500;
    opacity: 1;
    color: var(--background-color);
    margin: 0;
}

.merged-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: var(--background-color);
}



.merged-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Image à droite - 50% */
.image-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100%;
    z-index: 1;
}

.right-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

/* Container du texte - 50% gauche, aligné en bas */
.merged-section .text-zones-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding-left: 40px;
    padding-bottom: 40px;
    z-index: 2;
}

.merged-section .text-zone {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.merged-section .text-zone .item {
    display: block;
    text-align: left;
    line-height: 1.2;
    position: relative;
    width: 100%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    z-index: var(--z-content);
}

.merged-section .text-zone .item .main-text {
    display: block;
    letter-spacing: -0.05rem;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-medium);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text-color);
    opacity: 0.6;
}

.merged-section .text-zone .item .main-text::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 8 L8 2 M8 2 L8 6 M8 2 L4 2' stroke='%23342217' stroke-width='0.5' fill='none' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
    opacity: 0.6;
    transition: all 0.3s ease;
    vertical-align: middle;
}
.merged-section .text-zone .item .sub-text {
    display: block;
   /* text-transform: uppercase;*/
    font-family: var(--font-family-secondary);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: -0.05rem;
    line-height: 1.6;
    margin-bottom: 1.6rem;
    color: var(--text-color);
    opacity: 1;
    /*text-decoration: underline;*/
}

.merged-section .text-zone .item:hover {
    transform: translateY(5px);
    opacity: 60%;
}

.merged-section .text-zone .item:hover .main-text::after {
    opacity: 0.6;
    transform: translateY(-1px);
}
/* Responsive */
@media (max-width: 768px) {
    .image-right {
        width: 100%;
        height: 50%;
    }
    
    .merged-section .text-zones-container {
        width: 100%;
        height: 50%;
        bottom: 0;
        padding: 20px;
    }
}
/* Responsive pour mobile (hors tablette horizontale) */
@media screen and (max-width: 1024px) and (orientation: portrait),
       screen and (max-width: 768px) {
    
    .dual-image-section2 {
        height: 100vh; /* Garde la pleine hauteur */
    }
    
    .dual-image-container2 {
        width: 100%;
        height: 100vh;
    }
    
    /* Image en plein écran sur mobile */
    .main-image-left2 {
        position: absolute;
        top: 0;
        left: 0; /* Repositionne à partir de la gauche */
        right: 0;
        width: 100vw; /* Pleine largeur */
        height: 100vh; /* Pleine hauteur */
        z-index: 1;
    }
    
    .left-image2 {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        object-position: center;
        filter: grayscale(100%);
        -webkit-filter: grayscale(100%);
    }
}


.infos-section {
    width: 100%;
    max-height: 60vh;
    background-color: var(--text-color); 
}

.infos-container {

    padding: clamp(40px, 8vw, 80px) 20px 0px 40px;
}

.infos-content {
    display: flex;
    align-items: flex-start;
    gap: clamp(20px, 4vw, 40px);
}

.infos-text {
    flex: 1;
}

.infos-text h3 {
    font-family: var(--font-family-primary);
    color: var(--background-color);
    font-size: var(--font-size-large);
    font-weight: 500;
    letter-spacing: var(--letter-spacing-medium);
    margin-bottom: clamp(80px, 20vh, 200px);
    line-height: 1.1; 
}
.discover-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /* Ajout d'une ligne de base commune */
    align-items: baseline;
    position: relative;
}

.discover-email-input {
   /* all: unset !important;*/
    font-size: clamp(1.6rem, 5vw, 4rem);
    font-weight: 300;
    font-family: var(--font-family-primary);
    color: var(--accent-color);
    opacity: 0.5;    
    letter-spacing: var(--letter-spacing-medium);
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: opacity 0.3s ease, color 0.3s ease;
    flex: 1;
    /* Ajout pour l'alignement vertical */
    line-height: 1.2;
    vertical-align: baseline;
}

.discover-email-input::placeholder {
    color: var(--accent-color);
    opacity: 0.5;
    font-family: var(--font-family-primary);
    font-weight: 300;
    letter-spacing: var(--letter-spacing-medium);
}

.discover-email-input:focus,
.discover-email-input:hover {
    opacity: 1;
    color: var(--accent-color);
}
.fake-placeholder {
   position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    /* Exactement les mêmes styles que votre placeholder */
    font-size: clamp(1.6rem, 5vw, 4rem);
    font-weight: 300;
    font-family: var(--font-family-primary);
    color: var(--accent-color);
    opacity: 0.5;
    letter-spacing: var(--letter-spacing-medium);
    line-height: 1.2;
    vertical-align: baseline;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.discover-email-input:focus + .fake-placeholder,
.discover-email-input:not(:placeholder-shown) + .fake-placeholder {
    display: none;
}

.discover-email-input:not(:focus):placeholder-shown {
    color: transparent;
}

.discover-submit-arrow {
    all: unset !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    /* Corrections pour l'alignement */
    line-height: 1.2;
    vertical-align: baseline;
}

.discover-submit-arrow::before {
    content: "envoyer";
    font-size: clamp(1.6rem, 5vw, 4rem);
    font-weight: 300;
    font-family: var(--font-family-primary);
    color: var(--accent-color);
    opacity: 0.5;
    visibility: visible;
    letter-spacing: var(--letter-spacing-medium);
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
    margin-right: 25px;
    /* Alignement avec le champ email */
    line-height: 1.2;
    vertical-align: baseline;
}

.discover-submit-arrow::after {
    content: "";
    display: inline-block;
    width: clamp(24px, 5vw, 50px);
    height: clamp(24px, 5vw, 50px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5 L8 5 M6 3 L8 5 L6 7' stroke='%23F5E2A7' stroke-width='0.5' fill='none' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    visibility: visible;
    transition: transform 0.3s ease, opacity 0.3s ease;
    /* Correction pour centrer la flèche verticalement */
    vertical-align: middle;
    align-self: center;
    position: relative;
    top: -10px; /* Ajustez cette valeur selon vos besoins */
}

.discover-submit-arrow:hover::after {
    opacity: 1;
    transform: translateX(10px);
    /* Changement de couleur : remplace la flèche par une version avec la couleur #030A8C */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5 L8 5 M6 3 L8 5 L6 7' stroke='%23030A8C' stroke-width='0.5' fill='none' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
}

.discover-submit-arrow:hover::before,
.discover-submit-arrow:hover::after {
    opacity: 1;
    transform: translateX(10px);
}

.discover-submit-arrow:hover::before {
    color: var(--primary-color);
}

/* Animation au focus/hover de l'input */
.discover-email-input:hover + .discover-submit-arrow::before,
.discover-email-input:focus + .discover-submit-arrow::before,
.discover-email-input:hover + .discover-submit-arrow::after,
.discover-email-input:focus + .discover-submit-arrow::after {
    opacity: 1;
    transform: translateX(5px);
}
.discover-message {
    display: inline-flex;
    align-items: center;
    font-size: clamp(1.6rem, 5vw, 4rem);
    font-weight: 500;
    font-family: var(--font-family-primary);
    color: var(--accent-color);
    opacity: 0.5;    
    letter-spacing: var(--letter-spacing-medium);
    text-decoration: none;
    z-index: 1;
}
.discover-message:hover {
    opacity: 1; 
    color: var(--primary-color);   
} 
  /* Style de la barre verticale clignotante */
  .email-cursor-blink {
    display: inline-block;
    width: 0.03em;
    height: 1em;
    background-color: var(--accent-color); /* Même couleur que le texte */
    margin-right: 10px;
    animation: email-blink 1s infinite;
    transition: background-color 0.3s ease, opacity 0.3s ease;
  }

  .discover-message:hover .email-cursor-blink {
    background-color: var(--primary-color);
    opacity: 1;
  }
  /* Animation de clignotement */
  @keyframes email-blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
  }

@media screen and (max-width: 768px) {
    .discover-form {
        display: flex;
        align-items: center; /* Centrage parfait sur mobile */
        justify-content: space-between;
        width: 100%;
        min-height: clamp(40px, 8vw, 60px); /* Hauteur minimale pour assurer l'alignement */
    }
    .fake-placeholder {
        display: none;
    }   
    .discover-email-input {
        line-height: 1;
        display: flex;
        align-items: center;
        height: clamp(40px, 8vw, 60px); /* Même hauteur que le conteneur */
    }
    
    .discover-submit-arrow {
        display: flex;
        align-items: center;
        height: clamp(40px, 8vw, 60px); /* Même hauteur que le conteneur */
        line-height: 1;
    }
    
   .discover-submit-arrow::before {
    display: none;
  }

  .discover-submit-arrow::after {
    margin-right: 0;
    top: 0; /* Ajustement si tu veux recentrer la flèche */
  }
}

/* Pour les très petits écrans */
@media screen and (max-width: 480px) {
    .discover-form {
        min-height: clamp(35px, 10vw, 50px);
        flex-wrap: nowrap; /* Force les éléments à rester sur une ligne */
        overflow: hidden; /* Cache le débordement si nécessaire */
    }
    
    .discover-email-input {
        height: clamp(35px, 10vw, 50px);
        min-width: 0; /* Permet au champ de se réduire */
        flex: 1;
    }
    
    .discover-submit-arrow {
        height: clamp(35px, 10vw, 50px);
        flex-shrink: 0; /* Empêche le bouton de rétrécir */
        min-width: fit-content;
    }
    
    .discover-submit-arrow::before {
        margin-right: 8px; /* Réduction de l'espacement sur très petits écrans */
        white-space: nowrap; /* Force le texte sur une ligne */
    }
    
    .discover-submit-arrow::after {
        flex-shrink: 0; /* La flèche garde sa taille */
    }
}

/* Pour les écrans encore plus petits */
@media screen and (max-width: 360px) {
    .discover-submit-arrow::before {
        content: "→"; /* Remplace "envoyer" par juste la flèche sur très petits écrans */
        margin-right: 0;
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .discover-submit-arrow::after {
        display: none; /* Cache la flèche SVG puisqu'on utilise → */
    }
}
  .desktop-break {
    display: block; /* Par défaut, afficher comme block pour créer un saut de ligne sur desktop */
}

.mobile-break {
    display: none; /* Par défaut, ne pas afficher les sauts de ligne mobile */
}
  @media (max-width: 1200px) {
    .home .statement-container {
        width: 95%;
        gap: 5vw;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .desktop-break {
        display: none; /* Cacher les sauts de ligne desktop sur mobile */
    }
    
    .mobile-break {
        display: none; /* Afficher les sauts de ligne mobile */
    }

    .split-background {
        flex-direction: column;
      }
    
      .left-background,
      .right-background {
        width: 100%;
        height: 50vh; /* Ajuste selon ton besoin */
      }
    
   


    .text-rectangle .highlight {
        text-underline-offset: 5px;

    }
    
   
    .home .statement-container {
        flex-direction: column;
        gap: 3rem;
    }
    
  .home .main-statement, 
    .home .supporting-statement {
        width: calc(100% - 40px) !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
    
    .home .supporting-statement {
        margin-top: clamp(30px, 5vh, 50px);
        align-self: flex-start;
    }
    
    .claim {
        white-space: normal;
    }
    
    .claim-definition {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
}

@media (max-width: 767px) {
    .text-rectangle .highlight {
        text-underline-offset: 5px;

    }
   

    .desktop-break {
        display: none; /* Cacher les sauts de ligne desktop sur mobile */
    }
    
    .mobile-break {
        display: block; /* Afficher les sauts de ligne mobile */
    }

    .split-background {
        flex-direction: column;
      }
    
      .left-background,
      .right-background {
        width: 100%;
        height: 50vh; /* Ajuste selon ton besoin */
      }
      
          
    .text-rectangle {
        padding: 80px 20px 10px 20px; 
    }
   
    
    
     .home .main-statement,
    .home .supporting-statement {
        width: calc(100% - 20px) !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    
    .home .supporting-statement {
        margin-top: 2rem; /* Espacement encore plus réduit sur mobile */
        align-self: flex-start;
    }
    .infos-container {
        padding: 40px 20px 0px 20px;
    }
    .merged-section .text-zones-container {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .text-rectangle {
        padding: 80px 20px 40px 20px; 
    }
    
   
    .text-rectangle p {
        font-size: var(--font-size-large);
    }
  
    .keywords-container {
        width: 100%; /* Utiliser plus de largeur disponible */
    }
    
   
    .desktop-break {
        display: none; /* Cacher les sauts de ligne desktop sur mobile */
    }
    
    .mobile-break {
        display: block; /* Afficher les sauts de ligne mobile */
    }

}


/* -------------------------- SERVICES -------------------------- */


.services-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;   
    background-color: var(--third-color);
    transition: background-color 0.5s ease;
}

/*.services-page-title {
    position: absolute;
    top: clamp(30px, 10vw, 100px);
    left: clamp(-128px, -10vw, -100px);
    letter-spacing: -0.4rem;
    font-family: var(--font-family-primary);
    font-size: clamp(4rem, 10vw, 8rem);
    text-transform: lowercase;
    font-weight: 900;
    color: var(--text-color);
    opacity: 0;
    pointer-events: none;
    transition: color 0.5s ease, transform 0.3s ease, opacity 0.3s ease;
}*/

.services-content {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0 20px; 
    margin-top: 150px;
    margin-bottom: 150px;
    position: relative;
    z-index: var(--z-content);
}


.services-list {
    padding-right: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; 
    position: relative;
    z-index: var(--z-content);
}

.services-list ul {
    list-style: none;
    padding: 0;
    width: 100%; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.service-title {
    display: block;
    font-family: var(--font-family-primary);
    font-weight: 600;
    line-height: 1;
    font-size: clamp(3.5rem, 10vw, 8rem);
    letter-spacing: clamp(-0.3rem, -0.4vw, -0.4rem);
    margin-bottom: clamp(30px, 5vw, 50px);
    color: var(--text-color);
    transition: color 0.4s ease, transform 0.3s ease, opacity 0.3s ease;
    text-align: center;
    position: relative;
    z-index: var(--z-content);
}

.service-title:hover {
    transform: translateY(5px);
    opacity: 60%;
}


.page-template-accompagnements .service-detail-section {
    padding: 80px 40px 20px 40px;
    font-family: var(--font-family-primary);
    color: var(--text-color);
    height: 100vh;
    position: relative;
    transition: background-color 0.4s ease-in-out;
    box-sizing: border-box;
}

#branding {
    background-color: var(--text-color);
    color: var(--background-color);
}

#communication {
   background-color: var(--background-color);
    transition: background-color 0.4s ease-in-out;
}



#communication:hover {
    background-color: var(--green-background);
}

#communication h2,
#communication p,
#communication li,
#communication .service-categories,
#communication .info-label,
#communication .service-item,
#communication .exit-cross,
#communication .service-description {
    transition: color 0.4s ease-in-out;
}

/* Changement de couleur de tous les textes au survol */
#communication:hover h2,
#communication:hover p,
#communication:hover li,
#communication:hover .service-categories,
#communication:hover .info-label,
#communication:hover .service-item,
#communication:hover .exit-cross,
#communication:hover .service-description {
    color: var(--background-color) !important; /* !important pour surcharger d'éventuels autres styles */
}

/* Si vous avez des bordures qui doivent aussi changer de couleur */
#communication .info-row {
    transition: border-color 0.4s ease-in-out;
}



#communication:hover .info-row,
#communication:hover .info-row:first-child {
    border-color: var(--background-color) !important;
}

#editorial {
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.4s ease-in-out;
}



#editorial:hover {
    background-color: var(--accent-color);
}

#editorial h2,
#editorial p,
#editorial li,
#editorial .service-categories,
#editorial .info-label,
#editorial .service-item,
#editorial .exit-cross,
#editorial .service-description {
    color: var(--text-color) !important; 
    transition: color 0.4s ease-in-out;
}

/* Changement de couleur de tous les textes au survol */
#editorial:hover h2,
#editorial:hover p,
#editorial:hover li,
#editorial:hover .service-categories,
#editorial:hover .info-label,
#editorial:hover .service-item,
#editorial:hover .exit-cross,
#editorial:hover .service-description {
    color: var(--text-color) !important; /* !important pour surcharger d'éventuels autres styles */
}

/* Si vous avez des bordures qui doivent aussi changer de couleur */
#editorial .info-row {
    border-color: var(--text-color) !important; 
    transition: border-color 0.4s ease-in-out;
}

#editorial:hover .info-row,
#editorial:hover .info-row:first-child {
    border-color: var(--text-color) !important;
}

.page-template-accompagnements .more-infos-section {
    width: 100%;
   height: auto;
    min-height: 15vh;
    background: var(--third-color);
    padding: clamp(20px, 3vh, 40px) clamp(20px, 4vw, 40px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 40px);
    margin: 0;
    box-sizing: border-box;
}

.page-template-accompagnements .more-infos-text {
    flex-shrink: 0;
    font-family: var(--font-family-primary);
    color: var(--text-color);
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 500;
    letter-spacing: var(--letter-spacing-medium, 0.5px);
    line-height: 1.2;
    max-width: 350px;
}

/* Adaptation du formulaire pour la mini section - Style minimaliste */
.page-template-accompagnements .more-infos-section .discover-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    max-width: 600px;
    position: relative;
    align-items: baseline;
}

.page-template-accompagnements .more-infos-section .discover-email-input {
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 500;
    font-family: var(--font-family-primary);
    color: var(--text-color);
    opacity: 0.7;    
    letter-spacing: var(--letter-spacing-medium, 0.5px);
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: opacity 0.3s ease, color 0.3s ease;
    flex: 1;
    line-height: 1.2;
    vertical-align: baseline;
}

.page-template-accompagnements .more-infos-section .discover-email-input::placeholder {
    color: var(--text-color);
    opacity: 0.7;
    font-family: var(--font-family-primary);
    font-weight: 500;
    letter-spacing: var(--letter-spacing-medium, 0.5px);
}

.page-template-accompagnements .more-infos-section .discover-email-input:focus,
.page-template-accompagnements .more-infos-section .discover-email-input:hover {
    opacity: 1;
    color: var(--text-color);
}

.page-template-accompagnements .more-infos-section .fake-placeholder {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 500;
    font-family: var(--font-family-primary);
    color: var(--text-color);
    opacity: 0.7;
    letter-spacing: var(--letter-spacing-medium, 0.5px);
    line-height: 1.2;
    vertical-align: baseline;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.page-template-accompagnements .more-infos-section .discover-email-input:focus + .fake-placeholder,
.page-template-accompagnements .more-infos-section .discover-email-input:not(:placeholder-shown) + .fake-placeholder {
    display: none;
}

.page-template-accompagnements .more-infos-section .discover-email-input:not(:focus):placeholder-shown {
    color: transparent;
}

.page-template-accompagnements .more-infos-section .discover-submit-arrow {
    all: unset !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    line-height: 1.2;
    vertical-align: baseline;
}

.page-template-accompagnements .more-infos-section .discover-submit-arrow::before {
    content: "envoyer";
   font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 500;
    font-family: var(--font-family-primary);
    color: var(--text-color);
    opacity: 1;
    visibility: visible;
    letter-spacing: var(--letter-spacing-medium, 0.5px);
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
    margin-right: 20px;
    line-height: 1.2;
    vertical-align: baseline;
}

.page-template-accompagnements .more-infos-section .discover-submit-arrow::after {
    content: "";
    display: inline-block;
    width: clamp(20px, 3vw, 35px);
    height: clamp(20px, 3vw, 35px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5 L8 5 M6 3 L8 5 L6 7' stroke='%23333333' stroke-width='0.5' fill='none' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    visibility: visible;
    transition: transform 0.3s ease, opacity 0.3s ease;
    vertical-align: middle;
    align-self: center;
    position: relative;
    top: -2px;
}

.page-template-accompagnements .more-infos-section .discover-submit-arrow:hover::after {
    opacity: 1;
    transform: translateX(10px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5 L8 5 M6 3 L8 5 L6 7' stroke='%23030A8C' stroke-width='0.5' fill='none' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
}

.page-template-accompagnements .more-infos-section .discover-submit-arrow:hover::before,
.page-template-accompagnements .more-infos-section .discover-submit-arrow:hover::after {
    opacity: 1;
    transform: translateX(10px);
}

.page-template-accompagnements .more-infos-section .discover-submit-arrow:hover::before {
    color: var(--primary-color, #030A8C);
}

/* Animation clignotante pour le curseur */
.page-template-accompagnements .more-infos-section .email-cursor-blink {
    display: inline-block;
    width: 1px;
    height: clamp(18px, 3vw, 30px);
    background: var(--text-color);
    animation: blink 1s infinite;
    margin-left: 2px;
    opacity: 0.7;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@media (max-width: 1024px) {
    .page-template-accompagnements .more-infos-section {
        gap: clamp(15px, 3vw, 30px);
    }
    
    .page-template-accompagnements .more-infos-text {
        max-width: 300px;
    }
    
    .page-template-accompagnements .more-infos-section .discover-form {
        max-width: 500px;
    }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .page-template-accompagnements .more-infos-section {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        padding: 20px !important;
        text-align: left !important;
    }
    
    .page-template-accompagnements .more-infos-text {
        max-width: 100% !important;
        text-align: left !important;
        align-self: flex-start !important;
    }
    
      .page-template-accompagnements .more-infos-section .fake-placeholder {
        display: none;
    }
    
     .page-template-accompagnements .more-infos-section .discover-form {
        max-width: 100% !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        position: relative !important;
    }
     .page-template-accompagnements .more-infos-section .discover-email-input {
        flex: 1 !important;
        text-align: left !important;
        margin-right: 15px !important;
    }
    
    .page-template-accompagnements .more-infos-section .discover-submit-arrow {
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }
    .page-template-accompagnements .more-infos-section .discover-email-input:not(:focus):placeholder-shown {
        color: var(--text-color);
        opacity: 0.7;
    }
}

@media (max-width: 480px) {
   .page-template-accompagnements .more-infos-section {
        padding: 15px !important;
        gap: 15px !important;
    }
    
    .page-template-accompagnements .more-infos-section .discover-form {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 15px !important;
        padding: 0 !important;
        display: flex !important;
        width: 100% !important;
    }
    
    .page-template-accompagnements .more-infos-section .discover-email-input {
       text-align: left !important;
        flex: 1 !important;
        margin-right: 15px !important;
    }
    
    .page-template-accompagnements .more-infos-section .fake-placeholder {
        display: none;
    }
    
    .page-template-accompagnements .more-infos-section .discover-submit-arrow {
      margin-left: auto !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
        display: flex !important;
    }
    
    .page-template-accompagnements .more-infos-section .discover-submit-arrow::after {
         width: clamp(18px, 4vw, 24px) !important;
        height: clamp(18px, 4vw, 24px) !important;
        display: inline-block !important;
    }
    @media (max-width: 360px) {
    .page-template-accompagnements .more-infos-section {
        padding: 12px;
        gap: 12px;
    }
    
    .page-template-accompagnements .more-infos-section .discover-form {
        gap: 10px;
    }
    
    .page-template-accompagnements .more-infos-section .discover-submit-arrow {
        margin-left: 0;
    }
}
}

.services-bottom-title {
    position: absolute;
    bottom: 10px; /* Ajustez cette valeur pour la distance du bas */
    left: 40px; /* Pour aligner avec la marge gauche du container (70% centré = 15% de marge de chaque côté) */
    font-family: var(--font-family-secondary);
    font-size: 0.7rem;
    /*font-style: italic;*/
    text-transform: uppercase;
    opacity: 0.8;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
    transition: color 0.4s ease-in-out;
}

/* Style du titre principal */
.page-template-accompagnements .service-detail-section h2 {
    font-weight: 600;
    color: var(--text-color);
    font-size: clamp(2.5rem, 9vw, 7rem);
    letter-spacing: clamp(-0.3rem, -0.4vw, -0.4rem);
    line-height: 1.1;
    margin-bottom: clamp(40px, 7vw, 60px);
}

.page-template-accompagnements #branding h2 {
    color: var(--background-color);
}

.page-template-accompagnements #editorial h2 {
    color: var(--background-color);
}

.page-template-accompagnements .left-column {
    width: 100%;
    margin-bottom: clamp(30px, 5vw, 50px);
}

.page-template-accompagnements .service-categories {
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    font-family: var(--font-family-secondary);
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    text-align: left;
}

.page-template-accompagnements .service-layout {
    position: absolute;
    bottom: 60px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}


.page-template-accompagnements .left-content {
    width: 40%; /* Ajustez selon vos besoins */
    display: flex;
    flex-direction: column;
}




.page-template-accompagnements #branding .service-categories {
    color: var(--background-color);
}

.page-template-accompagnements #editorial .service-categories {
    color: var(--background-color);
}

.page-template-accompagnements .center-column {
    width: 100%;
    padding: 0;
}

/* Style de la description principale */
.page-template-accompagnements  .service-description {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    letter-spacing: 1px;
    line-height: 1.3;
    font-weight: 500;
    text-align: left;
    text-align: justify;
    text-align-last: left;
}

/* Colonne 3: Infos techniques (droite) */
.page-template-accompagnements .right-column {
    width: 40%; /* Ajustez selon vos besoins */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}



.page-template-accompagnements #branding .info-row:first-child {
    border-color: var(--background-color);
}

.page-template-accompagnements #editorial .service-categories {
    color: var(--background-color);
}

.page-template-accompagnements  .info-table {
    width: 100%;
}

.page-template-accompagnements  .info-row {
    display: flex;
    flex-direction: column; /* Changé de space-between à column */
    gap: 0.5rem; /* Ajout du gap entre le label et les services */
    padding-bottom: 0.5rem;
}

.page-template-accompagnements #branding .info-row {
    border-color: var(--background-color);
}

.page-template-accompagnements #editorial .info-row {
    border-color: var(--background-color);
}

.page-template-accompagnements  .info-label {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    letter-spacing: -1px;
    font-weight: 600;
    text-transform: uppercase;
}

.page-template-accompagnements .services-inline {
    margin: 0;
    margin-bottom: 10px;
    padding-left: 0px;
    text-align: left;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    line-height: 1.2;
}
#communication .service-item:not(:last-child)::after,
#editorial .service-item:not(:last-child)::after {
    transition: color 0.4s ease-in-out;
}

/* Communication — fond du rond en hover */
#communication:hover .service-item:not(:last-child)::after {
    background-color: var(--background-color) !important;
     transition: color 0.4s ease-in-out;
}

/* Editorial — fond du rond en hover */
#editorial:hover .service-item:not(:last-child)::after {
    background-color: var(--text-color) !important;
     transition: color 0.4s ease-in-out;
}

/* Branding — état par défaut */
#branding .service-item:not(:last-child)::after {
    background-color: var(--background-color);
     transition: color 0.4s ease-in-out;
}

.page-template-accompagnements .service-item:not(:last-child)::after {
   content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--text-color);
    border-radius: 50%;
    margin: 0 5px;
    vertical-align: middle;
}

.exit-cross {
    position: absolute;
    top: 65px;
    right: 40px;
    font-size: 6rem;
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-family-primary);
    font-weight: 100;
    line-height: 1;
    z-index: 100 !important;
}

#branding .exit-cross {
    color: var(--background-color);
}

#editorial .exit-cross {
    color: var(--background-color);
}
.exit-cross:hover {
    color: var(--text-color);
}

  
@media (min-width: 768px) and (max-width: 1024px) {

    .page-template-accompagnements .service-detail-section {
        padding: 60px 20px 40px 20px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        /* Changer justify-content pour éviter le problème */
        justify-content: flex-start;
        position: relative;
    }
    
        .page-template-accompagnements .service-detail-section h2 {
            flex-shrink: 0; /* Le titre ne se réduit pas */
            margin-bottom: 40px;
            margin-bottom: 60px; /* Augmenter la marge pour éviter le chevauchement */
            position: relative;
            z-index: 2;
        }
    /* Layout en colonnes */
         .page-template-accompagnements .service-layout {
            position: static; /* Changer de absolute à static */
            bottom: auto; /* Retirer le positionnement absolute */
            left: auto;
            right: auto;
            flex-direction: column;
            flex-grow: 1;
            display: flex;
            justify-content: flex-start; /* Aligner en haut au lieu de flex-end */
            margin-top: 0;
            padding-top: 20px;
        }
        .page-template-accompagnements .service-content-wrapper {
            display: flex;
            flex-direction: column;
            gap: 40px; /* Espacement uniforme */
            flex-grow: 1;
        }
    
        .page-template-accompagnements .left-content {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 30px; /* Espacement entre left-column et center-column */
        }
    
        .page-template-accompagnements .left-column,
        .page-template-accompagnements .center-column,
        .page-template-accompagnements .right-column {
            width: 100%;
            padding: 0;
            margin-bottom: 0;
            text-align: left;
        } 
        
        .page-template-accompagnements .right-column {
            margin-top: 40px;
            padding-bottom: 40px;
        }
    

    .exit-cross {
        position: absolute;
        top: 65px;
        right: 40px;
        font-size: 4rem;
    }
}

@media (max-width: 767px) {

    .services-section {
        padding-left: 20px;
        padding-right: 20px;
    }
/* Structure pour les sections de détail */
.page-template-accompagnements .service-detail-section {
    padding: 60px 20px 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Changer justify-content pour éviter le problème */
    justify-content: flex-start;
    position: relative;
}

    .page-template-accompagnements .service-detail-section h2 {
        flex-shrink: 0; /* Le titre ne se réduit pas */
        margin-bottom: 40px;
        margin-bottom: 60px; /* Augmenter la marge pour éviter le chevauchement */
        position: relative;
        z-index: 2;
    }
/* Layout en colonnes */
     .page-template-accompagnements .service-layout {
        position: static; /* Changer de absolute à static */
        bottom: auto; /* Retirer le positionnement absolute */
        left: auto;
        right: auto;
        flex-direction: column;
        flex-grow: 1;
        display: flex;
        justify-content: flex-start; /* Aligner en haut au lieu de flex-end */
        margin-top: 0;
        padding-top: 20px;
    }
    .page-template-accompagnements .service-content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 40px; /* Espacement uniforme */
        flex-grow: 1;
    }

    .page-template-accompagnements .left-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 30px; /* Espacement entre left-column et center-column */
    }

    .page-template-accompagnements .left-column,
    .page-template-accompagnements .center-column,
    .page-template-accompagnements .right-column {
        width: 100%;
        padding: 0;
        margin-bottom: 0;
        text-align: left;
    } 
    
    .page-template-accompagnements .right-column {
        margin-top: 40px;
        padding-bottom: 40px;
    }



/* Adaptation du contenu services */
    .services-content {
        margin-top: 200px;
    }

/* Désactiver certains effets hover sur mobile */
    .service-title:hover {
        transform: none;
    }
    .exit-cross {
        position: absolute;
        top: 45px;
        right: 20px;
        font-size: 3rem;
    }
    .services-bottom-title {
        left: 20px; /* Pour aligner avec la marge gauche du container (70% centré = 15% de marge de chaque côté) */
    }
} 

@media (max-width: 480px) {
    .services-page-title {
        margin-top: 2rem;
        letter-spacing: clamp(-0.3rem, -0.4vw, -0.4rem);
    }

    .services-section {
        min-height: auto;
    }
    
    /* Ajustements spécifiques aux très petits écrans */
    .page-template-services .service-detail-section {
        padding: 40px 15px 30px 15px;
        min-height: 100vh;
    }
    
    .page-template-accompagnements .service-detail-section h2 {
        margin-bottom: 50px;
    }
    /* Adaptation du contenu services */
    .services-content {
        margin-top: 150px;
    }
    .page-template-accompagnements .left-column{
        margin-bottom: 25px;
    }

    .page-template-accompagnements .right-column {
        margin-top: 30px;
        padding-bottom: 30px;
    }

    /* Réduire l'espacement pour les petits écrans */
    .page-template-accompagnements .service-layout {
        padding-top: 15px;
    }
    /* Ajustement des rangées d'info */
    .page-template-services .info-row {
        flex-wrap: wrap;
    }
    
    .page-template-services .service-item {
        width: 100%;
        text-align: left;
        margin-top: 3px;
    }

    .exit-cross {
        position: absolute;
        top: 45px;
        right: 20px;
        font-size: 3rem;
    }
}

/* -------------------------- PROJETS -------------------------- */



.projects-section {
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0; /* Éliminer toute marge inférieure */
    background-color: var(--text-color);
    z-index: 1; /* Assurez-vous que le parent a un z-index approprié */
    overflow: visible; /* Évitez de masquer le contenu */
}

/*.projects-page-title {
    position: absolute;
    top: clamp(30px, 10vw, 100px);
    left: clamp(-128px, -10vw, -100px);
    letter-spacing: -0.4rem;
    font-family: var(--font-family-primary);
    font-size: clamp(var(--title-size-min), 10vw, var(--title-size-max));
    font-weight: 900;
    text-transform: lowercase;
    color: var(--text-color);
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.4s ease-out, transform 0.6s ease-out;
}*/


.projects-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;    
    height: 100vh; 
    align-items: center;
}

.projects-tagline {
    position: relative;
    padding: 0;
    margin: 0;
    font-size: clamp(3.5rem, 10vw, 8rem);
    letter-spacing: clamp(-0.3rem, -0.4vw, -0.4rem);
    line-height: 1;
    font-weight: 600;
    font-family: var(--font-family-primary);
    color: var(--background-color);
    text-align: center;
    max-width: 100%; 
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
}

.typed-cursor {
    display: inline-block;
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 500;
    color: var(--background-color);
    animation: blink 1.1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.projects-tagline .asterisk {
    display: inline-block;
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 600;
    color: var(--background-color);
    vertical-align: super; 
}

.projects-content .project-teaser {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-family: var(--font-family-secondary);
    color: var(--background-color);
    font-size: 0.7rem;
    line-height: 1.2; 
    opacity: 80%;
    text-transform: uppercase;
    font-weight: 500; 
    text-align: right; 
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
}

h1.project-title {
    margin: 0;
    padding: 0;
    font-size: inherit; /* hérite de la taille de police du parent */
    font-weight: 500; /* conserve le poids de police que vous aviez */
    color: inherit;
}
.project-teaser .asterisk {
    vertical-align: super;
    font-size: 1.2rem;
    color: var(--background-color);
}

.page-template-projects .creative-statement-section { 
    min-height: 100vh;
    transition: background-color 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: var(--background-color);
}



.dual-image-section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}



.dual-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    z-index: 1;
}

/* Image principale gauche - 50% */
.main-image-left {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.left-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Zone droite - 50% */
.right-content-zone {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

/* Image horizontale en bas */
.horizontal-image-bottom {
    position: relative;
    height: auto; /* Ajustez selon vos besoins */
    width: 65%;
    margin-top: auto;
}

.bottom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.horizontal-image-bottom .overlay {
    position: absolute;
    inset: 0;
    background: rgba(170, 85, 45, 0.45); /* orangé terre cuite transparent */
    mix-blend-mode: multiply;
    pointer-events: none;
  }

  @media screen and (max-width: 1024px) and (orientation: portrait),
       screen and (max-width: 768px) {
    
    .dual-image-section {
        height: auto; /* Permet l'adaptation à la hauteur du contenu */
        min-height: 100vh;
    }
    
    .dual-image-container {
        flex-direction: column;
        height: auto;
    }
    
    /* Image principale - plein écran en haut */
    .main-image-left {
        width: 100%;
        height: 100vh;
        order: 1;
    }
    
    .left-image {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        object-position: center;
    }
    
    /* Zone contenu - dessous */
    .right-content-zone {
        width: 65%;
        height: auto;
        min-height: 50vh;
        order: 2;
        justify-content: center;
    }
    
    /* Image horizontale - pleine largeur */
    .horizontal-image-bottom {
        width: 100%;
        height: 50vh;
    }
    
    .bottom-image {
        width: 100%;
        height: 50vh;
        object-fit: cover;
        object-position: center;
    }
}

/* Tablette horizontale - garde le comportement desktop */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .dual-image-container {
        flex-direction: row; /* Garde la disposition côte à côte */
    }
    
    .main-image-left {
        width: 50%;
    }
    
    .right-content-zone {
        width: 50%;
    }
}

/* Mobile très petit - ajustements */
@media screen and (max-width: 480px) {
    .right-content-zone {
        min-height: 40vh;
    }
    
    .horizontal-image-bottom {
        height: 40vh;
    }
    
    .bottom-image {
        height: 40vh;
    }
}




.page-template-projects .statement-container {
    width: 70%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}



.section-2 .statement-container {
    display: block;
    padding-top: 25rem;
    padding-left: 40px; /* Ajout essentiel */
    padding-right: 40px; /* Pour garder une marge symétrique si nécessaire */
    max-width: none; /* Annule la limitation à 70% héritée */
    width: 100%; /* Utilise toute la largeur disponible */
    box-sizing: border-box; /* Inclut le padding dans le calcul de la largeur */
}

.page-template-projects .main-statement {
    position: relative; /* Pour maintenir son positionnement */
    z-index: 1;
}


.section-2 .main-statement {
    width: 55%;
    margin-bottom: 2rem;
    padding-left: 0; /* Pas besoin si déjà géré par le parent */
}

.page-template-projects .main-statement h2 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-medium); 
    line-height: 1.1;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: var(--letter-spacing-medium);
    margin-bottom: 0;
    text-align: justify;
    text-align-last: left;
}

.page-template-projects .supporting-statement {
    position: relative;
    z-index: 2;
}




.section-2 .supporting-statement {
    width: 100%;
    padding-left: 40px; /* Supprimé car déjà hérité du parent */
}

.page-template-projects .supporting-statement p {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-medium);
    font-weight: 300;
    letter-spacing: -0.05rem;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: justify;
    text-align-last: left;
}
.section-2 .supporting-statement p {
    width: 55%;
}

.images-right-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    display: flex;
    z-index: 1;    
}

.left-content-zone {
    width: 50%; /* NOUVEAU: 50% de l'espace disponible */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Image en haut */
    align-items: flex-end;
    position: relative;
}

/* Image horizontale repositionnée dans la zone gauche */
.bottom-right-image {
    position: relative; /* CHANGÉ: relative au lieu d'absolute */
    width: 80%; /* CHANGÉ: 100% de sa zone au lieu de 30% */
    height: 35%; /* Gardé tel quel */
    /* Supprimé: top, left, z-index */
}

.bottom-right-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    align-self: flex-end;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%); 
}

/* Zone droite pour l'image verticale - équivalent à right-content-zone */
.right-image-zone {
    width: 50%; /* NOUVEAU: 50% de l'espace disponible */
    height: 100%;
    position: relative;
}

/* Image verticale dans sa zone */
.top-right-image {
    width: 100%; /* CHANGÉ: 100% de sa zone */
    height: 100%;
    position: relative; /* CHANGÉ: relative au lieu d'absolute */
    overflow: visible;
}

.top-right-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: left top; /* CHANGÉ: left au lieu de right pour être collée */
    position: absolute;
    left: 0; /* CHANGÉ: left au lieu de right */
    top: 0;
}
@media screen and (max-width: 1024px) and (orientation: portrait),
       screen and (max-width: 768px) {
    
    .creative-statement-section {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding: 0;
    }    
    /* Container des images restructuré */
    .images-right-container {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        height: 100%;
        flex-direction: column;
        order: 1; /* Images en premier */
    }
    
    /* Première image - verticale en haut */
    .right-image-zone {
        width: 100%;
        height: 50vh;
        order: 1;
    }
    
    .top-right-image {
        width: 100%;
        height: 50vh;
        overflow: hidden;
    }
    
    .top-right-image img {
        height: 100%;
        object-fit: cover;
        object-position: center;
        position: static;
        transition: transform 0.3s ease; /* Animation au hover */
    }
    
    /* Deuxième image - horizontale en bas */
    .left-content-zone {
        width: 100%;
        height: 40vh;
        order: 2;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
    
    .bottom-right-image {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    
    .bottom-right-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        align-self: center;
        object-position: center;
        transition: transform 0.3s ease;
    }

    .section-2 .statement-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px 0 20px;
        order: 2; /* Texte après les images */
        box-sizing: border-box;
    }
    
    /* Main statement en premier dans le texte */
    .section-2 .main-statement {
        width: 100%;
        margin-bottom: 3rem;
        order: 1;
        padding-left: 0;
        
    }
    
    /* Supporting statement en second */
    .section-2 .supporting-statement {
        width: 100%;
        order: 2;
        padding-left: 20px;
        padding-right: 40px;
    }
    
    .section-2 .supporting-statement p {
        width: 100%;
    }
}

/* Tablette horizontale - garde le comportement desktop */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
    
    .section-2 .statement-container {
        display: flex;
        flex-direction: column;
        order: 2; /* texte après les images */
    }
    
    .section-2 .main-statement {
        order: 1; /* d'abord le main statement */
        width: 100%;
        margin-bottom: 3rem;
    }
    
    .section-2 .supporting-statement {
        order: 2; /* ensuite le supporting */
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    
    .images-right-container {
        position: absolute;
        flex-direction: row;
        width: 60%;
        order: 1;
    }
    
    .left-content-zone {
        width: 50%;
    }
    
    .right-image-zone {
        width: 50%;
    }
}

/* Mobile très petit - ajustements */
@media screen and (max-width: 480px) {
  
    
    .right-image-zone {
        height: 45vh;
    }
    
    .top-right-image {
        height: 45vh;
    }
    
    .left-content-zone {
        height: 35vh;
    }
}
.footer-transition {
    background-image: url('assets/images/kanishk-jain-9TJifW_n2wg-unsplash.jpg');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
}


@keyframes pulse {
    0% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(5px); opacity: 0.6; }
    100% { transform: translateY(0); opacity: 0.3; }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .section-1 .supporting-statement {
        margin-top: 300px;
    }
    .page-template-projects .main-statement {
        width: 70%;
    }

    .page-template-projects .supporting-statement {
        width: 80%;
    }
}

/* Pour les mobiles uniquement */
@media (max-width: 767px) {
    .page-template-projects .statement-container {
        width: 100%;
        flex-direction: column;
        padding-top: 10rem;
    }

    .section-2 .statement-container {
        padding-left: 20px;
    }

    .page-template-projects .main-statement {
        width: 100%;
    }
    
    .page-template-projects .supporting-statement {
        width: 100%;
        position: relative; /* Change de absolute à relative */
        right: auto;
        padding-bottom : 3rem;
    }
    
    .section-1 .supporting-statement,
    .section-2 .supporting-statement {
        margin-top: 2rem; /* Uniformiser les marges */
    }
    

    .projects-content .project-teaser {
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .projects-page-title {
        margin-top: 2rem;
    }
    .page-template-projects .supporting-statement {
       padding-left: 20px;
    }


}


/* -------------------------- A PROPOS -------------------------- */

.about-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: flex-end;
    align-items: center; /* Changé de flex-end à center */
    background-color: var(--background-color);
}

.about-page-title {
    position: absolute;
    top: clamp(30px, 10vw, 100px);
    left: clamp(-128px, -10vw, -100px);
    letter-spacing: -0.4rem;
    font-family: var(--font-family-primary);
    font-size: clamp(var(--title-size-min), 10vw, var(--title-size-max));
    font-weight: 600;
    text-transform: lowercase;
    color: var(--text-color);
    opacity: 0;
    pointer-events: none; /* Ne bloque pas l'interaction */
    transition: opacity 0.4s ease-out, transform 0.6s ease-out;
}
.about-content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 15rem;
    width: 50%;
}



/* Zone definition en bas de la colonne gauche */
.about-left-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-right-column p {
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    justify-content: space-between;
    font-family: var(--font-family-primary); /* Police cohérente avec le reste */
    line-height: 1.2; /* Espacement des lignes pour une bonne lisibilité */
    font-weight: 500; 
    letter-spacing: -0.05rem;
    font-size:clamp(1.2rem, 3vw, 1.5rem);
    text-align: left;
    padding: 40px 40px 40px 0;
    text-align: justify;
    text-align-last: left;    
}

.content-area {
    margin-bottom: 2rem;
}


.page-template-about .creative-statement-section {
    position: relative;
    width: 100%;
    background-color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.4s ease-in-out;
  }
 
  .page-template-about .statement-container {
    width: 90%;
    margin: 0 auto;
    margin-right: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    
    padding: clamp(5rem, 8vw, 10rem) 0;
  }
  
  .page-template-about .main-statement {
    width: 50%;
  }
  
  .page-template-about .supporting-statement .who {
    font-family: var(--font-family-primary);
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.05rem;
    color: var(--background-color);
    transition: color 0.4s ease-in-out;
    text-align: justify;
  text-align-last: left;
  }
 
.page-template-about .supporting-statement .definition-part.meaning {
    font-family: var(--font-family-primary);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.05rem;
    color: var(--background-color);
    transition: color 0.4s ease-in-out;
    padding-top: clamp(3rem, 4vw, 5rem);
  }


.page-template-about .supporting-statement {
    width: 50%;
    margin-top: clamp(50px, 8vw, 100px);
    align-self: flex-end;
    padding-bottom: 1rem;
  }


.skills-image-container {
    width: clamp(300px, 25vw, 350px);
    position: absolute; 
    top: 0; 
    left: 0;
}

.skills-image-container img {
    width: 100%;
    height: auto;
    display: block;
}
.signature-image-container {
    width: clamp(120px, 15vw, 180px);
    position: absolute;
    bottom: clamp(10px, 5vw, 50px);
    right: 100px;
}

.signature-image-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
}

@media (min-width: 1025px) {
    .about-page-title {
        font-size: var(--title-size-max);
    }
    
    .page-template-about .statement-container {
        flex-direction: row;
    }
    
    .page-template-about .main-statement, 
    .page-template-about .supporting-statement {
        width: 50%;
    }
}

/* Tablettes */
@media (min-width: 768px) and (max-width: 1024px) {
    .about-page-title {
        font-size: var(--title-size-max);
    }
    .about-right-column h3 {
        padding-right: 0;
        padding-left: 0;
        width: 100%; /* Utilise toute la largeur */
        align-items: center;
    }
    
    /* Améliore l'espacement sous le titre */
    .about-content-container {
        flex-direction: column;
        align-items: center;
    }
    .about-right-column {
        width: 100%;
    }

    .page-template-about .statement-container {
        flex-direction: row;
        padding: 6rem 0;
    }
    
    .page-template-about .supporting-statement {
        margin-top: 70px;
    }
    
}

/* Mobiles et petits écrans */
@media (max-width: 767px) {
    .about-page-title {
        font-size: var(--title-size-min);
    }

    .about-section {
        justify-content: center;
        align-items: center;
}
    
    .about-right-column h3 {
        padding-right: 0;
        padding-left: 0;
        width: 100%; /* Utilise toute la largeur */
        align-items: center;
    }
    
  .about-content-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    margin-top: 4rem;
    width: 100%; /* Prend toute la largeur disponible */
    }
    
    .about-right-column p {
        padding: 10px 20px;
        width: 100%; /* Prend toute la largeur */
        box-sizing: border-box;
    } 
    .about-right-column {
        width: 100%;
    }
   
    .page-template-about .statement-container {
        flex-direction: column;
        position: relative;
        margin-left: 0; /* Supprime la marge gauche */
        padding-top: 480px;
        padding-left: 20px;
        margin-right: 0;
    }
    .skills-image-container {
        position: absolute; 
        top: 0; /* Collée en haut de la section */
        left: 0; /* Collée à gauche */
        z-index: 1; /* Au-dessus du contenu */
    }
    
    .page-template-about .main-statement,
    .page-template-about .supporting-statement {
        width: 100%;
        margin-left: 40px; /* Remet la marge gauche sur le contenu */
    }
    

    
    .page-template-about .supporting-statement {
        margin-top: 20px;
        margin-bottom: 1rem;
    }
    
    .page-template-about .supporting-statement .definition-part.meaning {
        padding-top: 3rem;
    }
    
    .signature-image-container {
        width: 150px;
        position: relative; /* Changé de absolute à relative */
        margin: 0 auto; /* Centré avec  */
        bottom: auto;
        right: auto;
        left: 150px;
        display: block;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .about-page-title {
        margin-top: 2rem;
        font-size: var(--title-size-min);
    }
    
    .about-right-column h3 {
        padding-right: 0;
        padding-left: 0;
        width: 100%; /* Utilise toute la largeur */
        align-items: center;
    }
    
  .about-content-container {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1.5rem;
}
    
    .about-right-column {
        width: 100%;
    }
    
    .page-template-about .statement-container {
        position: relative;
        padding-top: 330px;
    }

    .skills-image-container {
        width: 200px; /* Plus petite sur très petits écrans */
        position: absolute; 
        top: 0;
        left: 0;
        z-index: 1;
    }

    .page-template-about .main-statement,
    .page-template-about .supporting-statement {
        margin-left: 40px;
    }

    
    .page-template-about .supporting-statement .who,
    .page-template-about .supporting-statement .definition-part.meaning {
        font-size: 1.1rem;
    }
    
    .page-template-about .supporting-statement {
        margin-top: 20px; /* Garde l'espacement réduit */
    }

    .page-template-about .supporting-statement .definition-part.meaning {
        padding-top: 2rem;
    }
    
    .signature-image-container {
        width: 120px; /* Légèrement plus petite */
        position: relative;
        bottom: auto;
        right: auto;
        left: 100px;
    }
    
  
}
/* -------------------------- FOOTER -------------------------- */


.custom-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    display: grid;
    background-color: var(--third-color);
    padding: 0 40px;
    grid-template-columns: repeat(2, 1fr); /* Trois colonnes égales */
    align-items: flex-start;
    justify-content: center;
    transform: translateY(100%);
    /*opacity: 0;*/
    z-index: 2001;
    pointer-events: none;
}

.grid-container {
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}
/* -------------------------- COLONNES DU FOOTER -------------------------- */
.footer-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 40px 0 40px 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* -------------------------- COLONNE 1: LOGO -------------------------- */
.logo-col {
    grid-column: 1 / 2;
    order: 1;    
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo-col .logo-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding-top: 0; 
    margin-top: 0;
}

.logo-col .logo-container img {
    width: 55%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* -------------------------- COLONNE 2: MENU -------------------------- */
.menu-col {
    grid-column: 2 / 3;
    order: 2;    
    display: grid;  /* Changez de flex à grid */
    justify-items: end;  /* Alignement horizontal à droite */
    align-items: flex-start;    /* Alignement vertical bas */
}

.footer-columns {
    display: flex;
    gap: 12rem; /* Espace entre les deux sections */
    text-align: left; /* Alignement du texte à gauche */
    width: 100%;
    margin-top: 0;
    padding-top: 0;
}

.footer-menu-container,
.footer-discover {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}


.footer-menu,
.discover-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0rem; 
}

.footer-menu a,
.instagram-link,
.linkedin-link {
    opacity: 1;
    font-family: var(--font-family-primary);
    color: var(--text-color);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    transition: color 0.3s ease;
    position: relative; /* Pour les effets de survol */
}

.footer-menu a:hover,
.instagram-link:hover,
.linkedin-link:hover {
  color: var(--primary-color); /* ou une autre variable de ta palette */
}
.instagram-link,
.linkedin-link {
    margin-top: 0; /* Réinitialisation de la marge */
}
/* Uniformiser les marges entre les éléments de liste */
.footer-menu li,
.discover-menu li {
    margin-bottom: 0rem; /* Espace entre les éléments de menu */
}

/* Supprimer la marge du dernier élément */
.footer-menu li:last-child,
.discover-menu li:last-child {
    margin-bottom: 0;
}

.contact-col {
    grid-column: 3;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 0; 
}



/* Nouveau container pour les éléments finaux */
.footer-final-container {
    width: 100%;
    box-sizing: border-box;
    padding: 100px 20px 5px 0;
    display: grid;
    grid-column: 2 / -1; 
    grid-row: 4; 
    grid-template-columns: 1fr 1fr;
    position: relative;
}
/* Côté gauche du footer final */
.footer-final-left {
    display: flex;
    align-items: flex-end;
    gap: 3rem;
    position: relative; /* Ajouté pour le positionnement absolu du symbole */
}

.footer-edition-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative; /* Pour le positionnement absolu du numéro */
    margin-top: 0; /* Retire la marge du haut */
}

.footer-final-left .edition-number {
    font-family: var(--font-family-primary);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    color: var(--text-color);
    white-space: nowrap; /* Empêche le texte de passer à la ligne */
    position: absolute; /* Position absolue par rapport au container */
}
/* Côté droit du footer final */
.footer-final-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.footer-legal {
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    margin-right: 0rem; /* Pour aligner avec le contact-container */
}

.footer-legal p {
    margin-block-end: 0;
  }

.copyright-line {
    font-family: var(--font-family-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-color);
    line-height: 1;
}
/* Ajouter la mention légale en bas à droite */
.legal-mention {
    font-family: var(--font-family-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1;
}

.legal-mention:hover {
    color: var(--text-color);
}
/* Cache le curseur par défaut partout */
* {
    cursor: none !important;
}
.email-marquee-inner {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.email-marquee-inner span {
    display: inline-block;
}
/* Tablettes et écrans moyens */
@media screen and (max-width: 992px) {
    .custom-footer {
        grid-template-columns: 1fr;
        gap: 10px;
        display: flex;
        flex-direction: column;
        padding: 0 30px;
    }

    .custom-footer > .grid-container {
        order: 1;
    }
    .custom-footer > .email-banner-container {
        order: 2; /* Pousse l'email banner à la fin */
    }
    
    .custom-footer > .footer-final-container {
        order: 3; /* Place le footer final avant l'email banner */
    }
    .grid-container {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
    }
    
    .logo-col {
        grid-column: 1;
        justify-content: flex-start;
        order: 1;
    }
    
    .logo-col .logo-container {
        justify-content: flex-start;
    }
    
    .logo-col .logo-container img {
        width: 40%;
        margin-bottom:30px;
    }
    
    .menu-col {
        order: 2;
        justify-items: flex-start;
        display: flex;
    }
    
    .footer-columns {
        flex-direction: column; /* Menu et contact en colonne */
        gap: 3rem; /* Espacement entre menu et contact */
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }
    
    .footer-col {
        padding: 10px 0px;
    }
    .footer-menu-container,
    .footer-discover {
        align-items: flex-start;
    }
    
    .email-banner-container {
        margin: 30px 0;
    }
    
    .email-marquee-inner {
        flex-wrap: wrap; /* Permet le passage à la ligne */
        justify-content: flex-start;
        gap: 20px; /* Espacement entre les éléments */
    }
    
    .email-marquee-inner span {
        margin-right: 0; /* Supprime la marge droite car on utilise gap */
        text-underline-offset: 5px;
        flex-shrink: 1; /* Permet la réduction de taille */
        word-break: break-all; /* Force la coupure si nécessaire */
    }
    
    .footer-final-container {
        grid-template-columns: 1fr;
        padding: 50px 0 5px 0;
    }
    
    .footer-final-left,
    .footer-final-right {
        justify-content: flex-start;
        padding-right: 0;
    }
    
    .footer-legal {
        justify-content: flex-start;
        margin-top: 0.5rem;
    }
    
    .copyright-line {
        text-align: left;
    }
    
    .footer-final-left .edition-number {
        position: relative;
        left: 0;
        bottom: 0;
    }
}

/* Tablettes et écrans moyens en mode portrait */
@media screen and (max-width: 768px) {
    .custom-footer {
        padding: 0 25px;
    }
    
    .footer-col {
        padding: 15px 0;
    }
    
    .logo-col .logo-container img {
        width: 35%;
        margin-bottom: 25px;
    }
    
     .footer-columns {
        gap: 2.5rem;
    }
        
     .email-banner-container {
        margin: 30px 0;
    }
    
    .email-marquee-inner {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 15px;
    }
    
    .email-marquee-inner span {
        margin-right: 0;
        text-underline-offset: 5px;
        flex-shrink: 1;
        word-break: break-all;
        max-width: 100%; /* S'assure que l'email ne dépasse pas */
    }
    
    body.input-active .custom-footer {
        transform: translateY(100%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.3s ease-out;
    }
}


/* Mobiles larges */
@media screen and (max-width: 576px) {
    .custom-footer {
        padding: 0 20px;
    }
    
    .footer-col {
        padding: 15px 0;
    }
    
    .logo-col .logo-container img {
        width: 30%; /* Logo moins réduit sur mobile */
        margin-bottom: 20px;
    }
    
    .footer-columns {
        gap: 2rem; /* Espacement réduit sur mobile */
    }
    
    .footer-menu-title,
    .footer-discover > span {
        margin-bottom: 0.7rem;
    }
    
    .email-banner-container {
        margin: 20px 0;
        padding: 10px 0;
    }
    
   .email-marquee-inner {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }
    
    .email-marquee-inner span {
        margin-right: 0;
        flex-shrink: 1;
        word-break: break-all;
        max-width: 100%;
        line-height: 1.3; /* Améliore l'espacement entre les lignes */
    }

    .footer-final-container {
        grid-template-columns: 1fr;
        padding: 40px 0 5px 0;
    }
    
    .footer-final-left,
    .footer-final-right {
        width: 100%;
        justify-content: flex-start;
        padding: 0;
    }
        
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .copyright-line,
    .legal-mention {
        text-align: left;
    }
}

@media screen and (max-width: 360px) {
    .custom-footer {
        padding: 0 15px;
    }
    
    .footer-col {
        padding: 15px 0;
    }
    
    .logo-col .logo-container img {
        width: 28%; /* Logo optimal pour très petits écrans */
        margin-bottom: 15px;
    }
    
    .footer-columns {
        gap: 1.5rem;
    }
    
    .footer-menu-title,
    .footer-discover > span {
        font-size: 1.3rem;
    }
    
    .footer-menu a,
    .instagram-link,
    .linkedin-link {
        font-size: 1.2rem;
    }
    
   
    .email-marquee-inner {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }
    
    .email-marquee-inner span {
        margin-right: 0;
        flex-shrink: 1;
        word-break: break-all;
        max-width: 100%;
        line-height: 1.3;
        font-size: 0.9rem; /* Légèrement plus petit sur très petits écrans */
    }
    
    .footer-final-container {
        padding: 30px 0 5px 0;
    }
}

/* -------------------------- LEGAL MENTIONS-------------------------- */

/* Style des mentions légales */
.mentions-legales {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: var(--background-color);
}

.mentions-wrapper {
    width: 100%;
}

.mentions-legales h1,
.mentions-title {
    font-family: var(--font-family-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: Left;
    margin-bottom: 50px;
}

.mentions-legales h2,
.section-title {
    font-family: var(--font-family-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 15px;
}

.mentions-legales h3,
.subsection-title {
    font-family: var(--font-family-secondary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    opacity: 80%;
    margin-top: 15px;
    margin-bottom: 10px;
}

.subsection-subtitle {
    text-decoration: underline;
    color: var(--text-color);
    opacity: 80%;
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
}

.mentions-legales p, 
.mentions-legales ul,
.mentions-text p,
.mentions-list {
    font-size: 0.9rem;
    font-family: var(--font-family-primary);
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-color);
    opacity: 80%;
}
.mentions-legales a,
.mentions-text a {
    color: var(--text-color);
    font-weight: 500;
    opacity: 100%;
    text-decoration: none;
}

.mentions-legales a:hover,
.mentions-text a:hover {
    color: var(--primary-color);
}

/* Listes */
.mentions-legales ul,
.mentions-list {
    padding-left: 10px;
    list-style-type: disc;
    margin-left: 15px;
    margin-bottom: 15px;
}

.mentions-legales ul li,
.mentions-list li {
    margin-bottom: 10px;
}

/* Sections */
.mentions-section {
    margin-bottom: 25px;
}

/* Sous-sections */
.subsection {
    margin-bottom: 15px;
}

/* Media queries pour responsive */
@media (max-width: 900px) {
    .mentions-legales {
        max-width: 90%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .mentions-legales {
        margin: 30px auto;
    }
    
    .mentions-legales h1,
    .mentions-title {
        font-size: 1.1rem;
    }
    
    .mentions-legales h2,
    .section-title {
        font-size: 1rem;
    }
    
    .mentions-legales h3,
    .subsection-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .mentions-legales {
        max-width: 95%;
        padding: 15px;
        margin: 20px auto;
    }
    
    .mentions-legales h1,
    .mentions-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .mentions-legales h2,
    .section-title {
        font-size: 0.95rem;
        margin-top: 15px;
    }
    
    .mentions-legales h3,
    .subsection-title {
        font-size: 0.9rem;
        margin-top: 10px;
    }
    
    .mentions-legales p,
    .mentions-text p {
        font-size: 0.85rem;
    }
    
    .mentions-legales ul,
    .mentions-list {
        padding-left: 5px;
    }
    
    .mentions-legales ul li,
    .mentions-list li {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
}

@media (pointer: fine) {

.custom-cursor {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: block;
}

.cross-cursor {
    display: block;
    position: fixed;
    font-size: 2rem;
    color : var(--primary-color);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10001;
    pointer-events: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

/* Pour les liens et éléments cliquables */
.custom-cursor.hover {
    background-color: var(--primary-color);
    z-index: 10001;
    animation: pulse 0.6s infinite ease-in-out;
}

/* Version pour le footer */
.custom-cursor.footer {
    background-color: var(--primary-color);
}

/* Pour les liens dans le footer */
.custom-cursor.hover.footer {
    background-color: var(--primary-color);
}

/* Animation de pulsation */
@keyframes pulse {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.4); /* Augmente plus */
    }
    100% {
        transform: scale(0.8);
    }
}

/* S'assurer que les liens sont au-dessus du curseur */
a, button {
    position: relative;
    z-index: 1000;
}

body {
    cursor: none;
}
}
.custom-cursor.hover {
    background-color: var(--primary-color);
    z-index: 10001;
    animation: pulse 1s infinite ease-in-out;
}


/* Cacher le curseur rond en dehors du formulaire (popup) */
.popup-active .custom-cursor {
    display: none;
}

/* Cacher le curseur rond dans la popup */
.popup-active .custom-cursor {
    display: none;
}

.popup-active .cross-cursor {
    display: block;
}
/* Afficher le curseur rond quand la souris est à l'intérieur du formulaire (popup-content) */
.popup .popup-content:hover .custom-cursor {
    display: block;
}

.popup .popup-content:hover .cross-cursor {
    display: none;
}

/* Réinitialisation du curseur après la fermeture de la popup */
.popup-active .popup-content:hover .custom-cursor {
    display: block;
}

/* Quand la popup est fermée, on rétablit le curseur rond */
body:not(.popup-active) .custom-cursor {
    display: block;
}

/* Assurer que la croix est masquée après la fermeture de la popup */
body:not(.popup-active) .cross-cursor {
    display: none;
}



/* -------------------------- CONTACT -------------------------- */


/* Variables CSS */
:root {
    --font-size-min: 0.9rem;
    --font-size-max: 0.9rem;
    --padding-min: 2rem;
    --padding-max: 10rem;
    --title-size-min: 5rem;
    --title-size-max: 8rem;
}

/* Structure générale */
.contact-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--green-background);
    position: relative; /* Pour le positionnement absolu du logo */
}

/*.contact-page-title {
    position: absolute;
    top: clamp(30px, 10vw, 100px);
    left: clamp(-128px, -10vw, -100px);
    letter-spacing: -0.4rem;
    font-family: var(--font-family-primary);
    font-size: clamp(var(--title-size-min), 10vw, var(--title-size-max));
    font-weight: 900;
    color: var(--background-color);
    text-transform: lowercase;
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.4s ease-out, transform 0.6s ease-out;
}*/

.contact-grid {
    display: flex;
    height: 100vh;
}

.contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: flex-start;
    width: 100%;
    padding: 2rem; /* Ajouter du padding autour du contenu */
    z-index: 2;
    grid-column: 1; /* Première colonne */
    margin: 0;
}

.contact-heading {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    width: auto;
    height: auto;
    line-height: normal;
    color: inherit;
    background: transparent;
    text-align: left;
    font-weight: normal;
    max-width: none;
    min-width: 0;
    min-height: 0;
    max-height: none;
    text-transform: none;
    letter-spacing: normal;
    word-spacing: normal;
    text-indent: 0;
    text-shadow: none;
    text-decoration: none;
    box-sizing: border-box;
    outline: none;
    position: static;
}

/* Pour s'assurer que le contact-address se comporte exactement comme avant */
.contact-heading .contact-address {
    margin-bottom: clamp(40px, 7vh, 70px);
    display: block; /* Essayez block au lieu de inline */
}

.contact-address {
    font-family: var(--font-family-primary);
    font-size: clamp(3.1rem, 8vw, 8rem);
    letter-spacing: clamp(-0.15rem, -0.4vw, -0.4rem);
    line-height: clamp(1rem, 10vw, 7rem);
    color: var(--background-color);
    text-decoration: none;
    margin-bottom: clamp(40px, 7vh, 70px);
    font-weight: 500;
    display: inline;
    text-align: right;
    word-break: break-word;
}

.form-link {
    font-family: var(--font-family-primary);
    font-size: clamp(3.1rem, 8vw, 8rem);
    color: var(--background-color);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: clamp(-0.15rem, -0.4vw, -0.4rem);
    line-height: clamp(1rem, 10vw, 7rem);
    display: inline-flex;  /* Changement: inline-flex pour respecter le flux */
    align-items: center;   /* Centre verticalement */
    justify-content: center; /* Centre horizontalement */    
    text-align: left;
    width: auto;  
    align-self: flex-start; 
}

.form-link:hover {
    color: var(--primary-color); /* Le texte devient bleu */
    opacity : 1;
}

.contact-address:hover {
    opacity: 1;
    color: var(--primary-color);
}

/*.cursor-blink {
    display: inline-block;
    width: 8px;
    height: clamp(100px, 12vw, 110px); 
    background-color: var(--background-color); 
    margin-right: 3px;
    animation: email-blink 1s infinite;
  }

.contact-address:hover .cursor-blink {
    background-color: var(--primary-color);
    opacity: 1;
}*/


.end-container {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 40px; /* Marge intérieure pour ne pas coller aux bords */
    z-index: 10;
}
.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.info-section {
    display: flex;
    align-items: center;
    gap: 40px;
}

.info-title {
    font-family: var(--font-family-primary);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--background-color);
    text-transform: lowercase;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.email-form {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
    flex-shrink: 0; /* Empêche le formulaire de se rétrécir */
    min-width: fit-content; 
    position: relative; 
}

.email-input {
    all: unset !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    width: auto !important;

    color: var(--background-color);
    font-family: var(--font-family-primary);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: lowercase;
    box-sizing: border-box;
    transition: color 0.3s ease;
}

.email-input::placeholder {
    color: var(--background-color);
    font-family: var(--font-family-primary);
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.4;
    text-transform: lowercase;
}
.input-container {
    position: relative;
    display: inline-block;
}

.fake-placeholder-brochure {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    /* Mêmes styles que votre placeholder */
    color: var(--background-color);
    font-family: var(--font-family-primary);
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 1px;
    opacity: 1;
    text-transform: lowercase;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.email-cursor-blink-brochure {
    display: inline-block;
    width: 0.05em;
    height: 1em;
    background-color: var(--background-color);
    margin-right: 10px;
    animation: email-blink-brochure 1s infinite;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.4;
}

@keyframes email-blink-brochure {
    0% { opacity: 0.4; }
    50% { opacity: 0; }
    100% { opacity: 0.4; }
}

.email-input:focus + .fake-placeholder-brochure,
.email-input:not(:placeholder-shown) + .fake-placeholder-brochure {
    display: none;
}

.email-input:not(:focus):placeholder-shown {
    color: transparent;
}
input[type="email"] {
    color: #FEFEFA !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

input[type="email"]:focus {
    color: #FEFEFA !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
.email-input:focus {
    color: #FEFEFA; 
    outline: none;
  }


.submit-arrow {
    all: unset !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    cursor: pointer;
    display: inline-flex; 
    align-items: center; 
    position: relative;
    white-space: nowrap; /* Empêche le retour à la ligne */
    flex-shrink: 0;
}

.submit-arrow::before {
    content: "Envoyer";
    color: #FEFEFA;
    font-family: var(--font-family-primary);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: lowercase;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    margin-right: 8px;
}
.submit-arrow::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5 L8 5 M6 3 L8 5 L6 7' stroke='%23FEFEFA' stroke-width='0.5' fill='none' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.submit-arrow.visible::after {
    opacity: 1;
    visibility: visible;
}

.input-container:hover ~ .submit-arrow::before,
.email-input:focus ~ .submit-arrow::before,
.input-container:hover ~ .submit-arrow::after,
.email-input:focus ~ .submit-arrow::after {
    opacity: 1;
    visibility: visible;
}

.submit-arrow.visible:hover::before,
.submit-arrow.visible:hover::after {
    transform: translateX(3px);
    opacity: 0.6;
}


.social-links-container {
    display: flex;
    align-items: center; /* Ajouté pour aligner verticalement */
    justify-content: flex-end;
    width: 100%; 
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.social-name {
    font-family: var(--font-family-primary);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--background-color);
    position: relative;
    z-index: 100 !important;
    text-transform: lowercase;
}

.separator {
    font-family: var(--font-family-primary);
    font-weight: 100;
    font-size: 1.5rem;
    opacity: 0.5;
    color: var(--background-color);
    position: relative;
    z-index: 100 !important;
}

/*.contact-instagram,
.contact-linkedin {
    font-family: var(--font-family-secondary);
    font-size: 0.8rem;
    color: var(--background-color);
    text-decoration: none;
    opacity: 80%;
    font-weight: 500;
    position: relative;
    z-index: var(--z-content);
}*/

.contact-address:hover,
/*.contact-instagram:hover,
.contact-linkedin:hover,*/
.form-link:hover {
    color: var(--primary-color);
}

.contact-section {
    position: relative; /* Nécessaire pour le positionnement absolu du logo */
}
@media screen and (max-width: 768px) {
  .submit-arrow::before {
    display: none;
  }

  .submit-arrow::after {
    opacity: 1 !important;
    visibility: visible !important;
    /* Facultatif : recentrer si nécessaire */
    vertical-align: middle;
  }
  .bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .info-section,
  .social-links-container {
    width: 100%;
    justify-content: space-between;
  }

  .info-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .email-form {
    width: 100%;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .email-input {
    width: 100% !important;
    flex: 1;
  }

  .submit-arrow {
    align-self: flex-end;
  }
.fake-placeholder-brochure {
    display: none;
}    
  .social-links-container {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
}
/* -------------------------- MERCI -------------------------- */
.merci-wrapper {
    background-color: var(--text-color);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
  }

.merci-page {
  padding: 4rem 2rem;
  text-align: left;
  width: 100%;
}

.merci-titre {
  font-size: clamp(3.5rem, 10vw, 8rem);
  letter-spacing: clamp(-0.3rem, -0.4vw, -0.4rem);
  line-height: 1;
  font-weight: 600;
  color: var(--background-color);
  margin-bottom: 3rem;
  font-family: var(--font-family-primary);
}

.merci-texte {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  opacity: 0.8; 
  font-weight: 500;
  font-family: var(--font-family-primary);
  color: var(--background-color);
}
.logo-clignotant {
    position: fixed;
    bottom: 5rem;
    right: 5rem;
    width: 150px;
    height: auto;
    z-index: 1000;
  }
  
@media (min-width: 1025px) {
    .contact-page-title {
        font-size: clamp(var(--title-size-min), 10vw, var(--title-size-max));
    }
    
    .contact-content {
        padding: 2rem;

    }
    
    .end-container {
        padding: 0 40px;
    }
}

/* Tablettes */
@media (min-width: 768px) and (max-width: 1024px) {
    .contact-page-title {
        font-size: var(--title-size-max);
    }
    .contact-content {
        padding: 1.75rem;
    } 
    .end-container {
        padding: 0 30px;
        bottom: 15px;
    }
}

@media (max-width: 767px) {
    .contact-page-title {
        font-size: var(--title-size-min);
    }
   
    .end-container {
        padding: 0 20px;
    }
    
    .contact-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-page-title {
        margin-top: 2rem;
        font-size: var(--title-size-min);
    }
    
    .contact-content {
        padding: 1rem;
    }
    
    .end-container {
        padding: 0 20px;
    }
}
/* Style de la pop-up */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);  /* Plus transparent */
    backdrop-filter: blur(12px);  /* Augmenté pour plus d'effet */
    -webkit-backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: var(--third-color);  /* Plus transparent pour l'effet verre */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
   /*border-radius: 20px;*/
    padding: 20px;
    width: min(90%, 420px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.15);
    position: relative;
}
/* Titre principal */
.popup-content h2 {
    font-family: var(--font-family-primary);
    font-size: clamp(0.9rem, 1vw, 1rem);
    letter-spacing: 1px;
    font-weight: 500;
    line-height: 1;
    color: var(--text-color);
    margin-top: 80px;
    margin-bottom: 40px;
    align-items: left;
    text-align: justify;
  text-align-last: left;
}
/* Style du formulaire */
.popup-content form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Labels */
.popup-content label {
    font-family: var(--font-family-secondary);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-color);
    text-transform: uppercase;
    margin-bottom: -15px;
}
/* Input fields avec glassmorphism */
.popup-content input,
.popup-content textarea {
    width: 100%;
    font-family: var(--font-family-secondary);
    background: rgba(248, 248, 242, 0.85); /* Légère transparence */    
    border: none !important;    
    padding: 18px 22px;
    border-radius: 5px !important;
    font-size: 14px;
    color: #333;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 
    inset 6px 6px 12px rgba(0, 0, 0, 0.08), 
    inset -6px -6px 12px rgba(255, 255, 255, 0.7);
    transform: translateY(1px);
    transition: all 0.3s ease;
}

.popup-content input:focus,
.popup-content textarea:focus {
    outline: none !important; /* Supprime l'outline par défaut */
    transform: translateY(-2px); /* Moins prononcé pour plus de subtilité */
    box-shadow: 
        10px 10px 20px rgba(0, 0, 0, 0.08), 
        -10px -10px 20px rgba(255, 255, 255, 0.5), 
        inset 6px 6px 12px rgba(0, 0, 0, 0.05), 
        inset -6px -6px 12px rgba(255, 255, 255, 0.6);
}
/* Textarea specific */
.popup-content textarea {
    resize: vertical;
}
  
/* Style du bouton ENVOYER */
.popup-content form button {
    font-family: var(--font-family-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-color); /* Texte blanc */
    border: 1px solid var(--text-color);
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Transition claire */
    display: flex;
    align-items: center;
    position: relative;
    width: fit-content;
}

.popup-content form button:hover {
    background-color: var(--text-color); /* Fond blanc au survol */
    color: var(--background-color); /* Texte brun au survol */
    transform: scale(1.1);
}


/* Suppression explicite des pseudo-éléments inutiles */
.popup-content form button::before,
.popup-content form button::after,
.circle::before,
.circle::after,
.arrow::before,
.arrow::after {
    content: none !important; /* Élimine tout pseudo-élément parasite */
    display: none !important;
}

/* Suppression d'outline ou de focus par défaut */
.popup-content form button:focus,
.popup-content form button:active {
    outline: none;
}

.popup-content form button:focus-visible {
    outline: none;
}

/* Close button */
.close-popup {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-family-secondary);
    text-transform: uppercase;
    color: var(--text-color);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    border: 1px solid var(--text-color);
    padding: 5px 10px;
    border-radius: 20px;
}

.close-popup:hover {
    transform: scale(1.1);
}
/* Input fields */
.input-group {
    position: relative;
    margin-bottom: 20px;
}


/* Placeholder styling */
.popup-content input::placeholder,
.popup-content textarea::placeholder {
    color: #98a0a6;
}
.popup-content input[type="email"] {
    all: revert !important;
    
    /* Réappliquer le style glassmorphisme */
    width: 100% !important;
    font-family: var(--font-family-secondary) !important;
    background: rgba(248, 248, 242, 0.85) !important;
    border: none !important;
    padding: 18px 22px !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    color: #333 !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: inset 6px 6px 12px rgba(0, 0, 0, 0.08), 
                inset -6px -6px 12px rgba(255, 255, 255, 0.7) !important;
    transform: translateY(1px) !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.popup-content input[type="email"]:focus {
    outline: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.08),
                -10px -10px 20px rgba(255, 255, 255, 0.5),
                inset 6px 6px 12px rgba(0, 0, 0, 0.05),
                inset -6px -6px 12px rgba(255, 255, 255, 0.6) !important;
}

/* Animation for popup appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .popup-content {
        width: 95%;
        padding: 24px;
    }
}

@media (max-width: 768px) {
    * {
        cursor: auto !important; /* Force le curseur par défaut */
    }
    
    /* Supprime tous les effets de hover liés au curseur */
    .cursor-hover-effect {
        display: none !important;
    }
}

html {
    scroll-behavior: smooth;
}