/*couleur vert: #1c794a*/
/*couleur bleu: #235698*/

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Font moderne */
    font-size: 16px;
    background-color: #fff; /* Fond clair pour un look épuré */
    overflow-x: hidden;
    scroll-behavior: smooth;
    --logo-blue: #235698;
    --logo-green: #1c794a;
    background: linear-gradient(300deg,var(--logo-blue),var(--logo-green));
    background-size: 110% 110%;
    animation: gradient-animation 8s ease infinite;
    scroll-margin-top: 75px;
}
  @keyframes gradient-animation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

/* Ajout d'une subtilité visuelle aux titres */
h1, h2 {
    color: #030051; /* Harmonisation avec le bleu du bouton */
    text-transform: uppercase; /* Lettres capitales pour plus d'impact */
    letter-spacing: 1px; /* Espacement des lettres pour l'élégance */
}
h1{
    color: white;
    font-size: clamp(1.75rem, 2.80vw, 3.25rem);
    width: 30%;
}
h2{
    text-align: center;
}
.portfolio h3{
    position: absolute;
    bottom: 12px;
    font-size: 2rem;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}
p{
    font-size: 1.2rem;
    padding: 0 40px ;
}


header{
    position: fixed;
    z-index: 1009;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.6);
}
header img{
    width: 200px;
    border-radius: 5px;
    margin-left: 20px;
}

nav {
    width: 100%;
    position: relative;
    z-index: 1004;
}
.b-a, .bar:after, .bar:before, .bar {
    transition: all 0.25s;
    content: "";
    position: absolute;
    left: 0;
    height: 6px;
    width: 30px;
    border-radius: 15px;
    background-color: var(--logo-blue);
}
.menu-collapsed {
    transition: all 0.25s;
    position: absolute;
    top: 16px;
    left: 0;
    height: 75px;
    width: 100%;
    cursor: default;
}
.menu-collapsed ul {
    transition: all 0s;
    position: fixed;
    top: -9000px;
    left: 0;
}
#conteneur {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    height: calc(100vh - 60px); /* S'assurer que le conteneur occupe toute la hauteur de la fenêtre */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Commence juste en dessous de la croix */
}
.bar-container {
    width: 50px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    cursor: pointer;
}
.bar {
    position: relative;
    z-index: 1100;
    top: 12px;
    left: calc(50% - 15px);
}
.bar:before {
    top: -8px;
}
.bar:after {
    top: 8px;
}
.b-a-expanded, .menu-expanded .bar:after, .menu-expanded .bar:before {
    transition: all 0.25s;
    top: 0px;
    left: calc(50% - 30px);
}
.menu-expanded {
    transition: all 0.25s;
    text-align: center;
    line-height: var(--dynamic-line-height);
    height: 100%;
    width: 100%;
    border-radius: 0px;
    top: 0;
    left: 0;
    background-color: #235698e2;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: fixed;
    z-index: 1003;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Commence juste en dessous de la croix */
}
.menu-expanded ul {
    transition: all 0s;
    position: relative;
    top: 0px;
    left: 0;
    z-index: 1004;
    list-style: none;
    padding-inline-start: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Commence juste en dessous de la croix */
}
.menu-expanded a {
    transition: all 0.15s;
    text-decoration: none;
    font-size: 1.5em;
    padding: 5px;
    width: 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu-expanded a:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.15s;
    letter-spacing: 2px;
    color: #333;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.menu-expanded .bar {
    background-color: transparent;
    transition: all 0.25s;
    z-index: 10;
    left: 50%;
    top: 20px;
}
.menu-expanded .bar-container{
    width: 60%;
    min-height: 60px;
}
.menu-expanded .bar:before {
    transform: rotate(45deg);
    background-color: red;
    opacity: 1;
}
.menu-expanded .bar:after {
    transform: rotate(-45deg);
    background-color: red;
    opacity: 1;
}
#conteneur li {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1; /* Chaque élément li occupe une portion égale de la hauteur disponible */
}
#conteneur li a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}
#conteneur li img {
    margin-right: 20px;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
}
#conteneur li:hover img {
    filter: brightness(0);
    width: 40px;
}
#conteneur li:hover a {
    color: #000;
}
#conduite-atypique {
    background-image: url(../images/background/workprogress.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    contain: content;
    background-color: grey;
}
#conduite-atypique a {
    cursor: not-allowed;
    filter: blur(4px);
}
#conduite-atypique:hover {
    background-image: url(../images/background/workprogress.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    background-color: grey;
}
#conduite-atypique a:hover {
    color: white;
    background-color: unset;
}

header button{
    margin-right: 20px;
    border-radius: 15px;
    z-index: 1001;
}
header {
    transition: transform 0.35s ease;
}

header.header-hidden {
    transform: translateY(-100%);
}




.section {
    padding: 50px 20px; /* Plus d'espace pour une sensation aérée */
    text-align: center;
}
.section1 {
    position: relative;
    height: 80lvh;
    margin-top: 75px;
    z-index: 10;
  }

.section1-container{
    position: relative;
    z-index: 1001;
    display: flex;
    width: 90%;
    align-items: center;
    height: 100%;
    margin-left: auto;
    margin-right:  auto;
}
.header p{
    position: relative;
    z-index: 1001;
    width: 40%;
    font-size: 1.2rem;
    line-height: 2rem;
    margin: 0;
    padding: 0;
}
.section1-text{
    width: 50%;
    position: relative;
    z-index: 1001;
}

.section1-img{
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    z-index: 1000;
}

.section1-img picture{
    position: absolute;
    z-index: 1000;
    top: 70px;
    width: 100%;
    height: auto;
    filter: drop-shadow(4px 4px 8px #000000ac);
}
.section1-img picture img{
    height: 100%;
    width: auto;
    margin-right: auto;
    margin-left: auto;
}






.services {
    position: relative;
    background-color: #ffffff; /* Fond blanc pour une séparation claire */
    display: flex;
    padding: 75px 0px;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: flex-start;
    box-shadow: -4px -4px 8px #0000008c , 4px 4px 8px #0000008c;
    
}
.service {
    margin-bottom: 40px; /* Espacement pour une meilleure lisibilité */
    color: #333; /* Texte plus foncé pour un meilleur contraste */
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    width: 22%;
    min-width: 300px;
}
.logo-service{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--logo-blue);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}
.service img {
    width: 64px;
}
.separateur{
    width: 2px;
    min-height: 300px;
    background-color: #ccccccc6;
    margin: 40px 20px; /* Ajustez l'espacement si nécessaire */
}

@media (min-width: 800px) and (max-width: 1440px) {
    .services{
        align-items: flex-start;
    }
    .service{
        width: 45%;
    }
    .separateur {
        display: none;
    }
}
@media (max-width: 799px) {
    .services{
        flex-direction: column;
        margin-top: 40px;
    }
    .separateur{
        display: none;
    }
    .service{
        width: 98%;
    }
}




.solaire{
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 40px ;
    padding-bottom: 40px;
    background-image: url(../img/bg/test-fond-solaire.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.solaire-simu{
    margin-top: 30px;
    padding: 20px;
    background-color: #ffffffcc;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.4);
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.solaire-simu h4{
    margin-bottom: 10px;
    color: #1c794a;
}

.solaire-simu label{
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.solaire-simu input[type="range"]{
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.solaire-result{
    font-size: 1.1rem;
}
.solaire-cta{
    margin-top: 20px;
    text-align: center;
}
.solaire-cta button{
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background-color: var(--logo-blue, #235698);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}
.solaire-cta button:hover{
    background-color: #1a4175;
    transform: translateY(-1px);
}
.solaire-infos{
    margin-top: 10px;
    padding-left: 20px;
}

.solaire-infos li{
    margin-bottom: 6px;
    font-size: 1rem;
}
.solaire-legal{
    font-size: 0.85rem;
    color: #444;
    margin-top: 10px;
    line-height: 1.4;
}


.presta-bg{
    background-position: center center;
    position: relative;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    background-repeat: no-repeat;
    background-size: cover;
}

.pellets{
    background-image: url(../img/bg/test-fond-pellets.webp);
}
.plomberie{
    background-image: url(../img/bg/test-fond-plomberie.webp);
}
.depannage{
    background-image: url(../img/bg/test-fond-depannage.webp);
}

.presta-container{
width: 80%;
margin-left: auto;
margin-right: auto;
}

.presta-container-logo-service{
    width: 70px;
}

.presta-container h2{
    color: white;
}

.presta-container-descri{
    position: relative;
    margin-bottom: 80px;
}
.presta-container-descri-text{
    position: relative;
    z-index: 1002;
    margin-left: 300px;
    padding: 20px;
    background-color: #ccccccc6;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    box-shadow: 0px 4px 8px rgba(0,0,0,0.6);
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.text-left{
    margin-left: 0;
    margin-right: 300px;
}
.presta-container-descri-img{
    position: absolute;
    z-index: 1001;
    height: 400px;
    width: 400px;
    padding: 10px;
    background-color: #1c794a;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.6);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 100%;
}
.img-right{
    position: absolute;
    right: 0;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
}
.presta-container-descri-partenaires{
    text-align: center;
}
.presta-container-descri-partenaires-logo{
    display: flex;
    justify-content: center;
    gap: 40px;
}
.presta-container-descri-partenaires-logo img:hover{
    background-color: #939393c6;
}
.presta-container-descri-partenaires img{
    padding: 8px 12px;
    background-color: #ccccccc6;
    border-radius: 12px;
    max-width: 200px;
    height: 75px;
    object-fit: contain;
    object-position: center;
    backdrop-filter: blur(4px);
    box-shadow: 0px 4px 8px rgba(0,0,0,0.6);
}
.pellets .presta-container-descri-partenaires img{
    height: 100px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    object-position: center;
}
.presta-container-button{
    text-align: center;
    margin-bottom: 40px;
}
.presta-container-button h3{
    color: white;
    font-size: 2rem;
}

.separator {
    width: 100%;
    height: 2px;
    background-color: #cccccc;
    margin: 0 auto; /* Center the separator and add some space above and below */
}








.philosophy, .contact {
    background-color: #e9e9e9; /* Légère variation de gris pour la distinction des sections */
}
.philosophy{
    position: relative;
    box-shadow: 0px -2px 5px rgba(0,0,0,0.6), 0px 2px 5px rgba(0,0,0,0.6);
}
.philosophy-container, .contact-container{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 75px 0px;
}
.philosophy-container button{
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.labels-partners{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin-top: 12px;
}
.labels-partners img{
    max-width: 200px;
    max-height: 80px;
    height: auto;
    width: auto;
}
.labels-partners img:hover{
    transform: scale(0.80);
}

@media (max-width: 799px) {
    .philosophy p{
        width: 98%;
        padding: 0;
    }
    .philosophy-container, .contact-container{
        padding: 20px 0;
    }
}


.equipe {
    width: 100%;
    position: relative;
}
.equipe-container {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 0px 75px 0px;
}
.equipe-container h2{
    color: #030051;
}
.equipe-container h3{
    color: #030051;
    font-size: 1.4rem;
    text-align: center;
    text-decoration: underline;
}
.equipe-container-groupe {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.equipe-container-pers {
    text-align: center;
    max-width: 20%;
    display: flex;
    flex-grow: 1;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-direction: column;
    @media screen and (max-width: 768px) {
        
        max-width: 48%;
        
    }
}
.equipe-container-pers img{
    border-radius: 50%;       /* Toujours un cercle */
    width: 100px;             /* Largeur fixe */
    height: 100px;            /* Hauteur fixe pour forcer le carrÃ© */
    object-fit: cover;        /* L'image remplira le carrÃ© sans dÃ©former */
    object-position: center;  /* Centrage de l'image dans le cercle */
}
.equipe-container-pers-nom{
    font-size: 1.2rem;
    font-weight: 900;
    margin: 0;
}
.equipe-container-pers-role{
    font-style: italic;
    font-weight: 500;
    margin: 0;
    min-height: 2.8em;
    line-height: 1.4;
    text-align: center;
}
.equipe-container-pers-desc{
    padding: 0 0 0 12px;
    text-align: left;
    margin: 0;
    font-size: 1rem;
}





.portfolio{
    position: relative;
    width: 90%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 60px 0;
    overflow-x: hidden;
    box-sizing: border-box;
}
/**WRAPER*/
.portfolio-wrapper{
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    overflow-x: hidden;
    box-sizing: border-box;
}
.portfolio-wrapper > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.wrapper-vertical{
    height: 300px;
    width: auto;
    max-width: 100%;
    border-radius: 15px;
    object-fit: contain;
}
.wrapper-horizontal{
    width: 450px;
    max-width: 100%;
    height: 300px;
    border-radius: 15px;
}
.wrapper{
    position: relative;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: 0 10px 20px rgba(0,0,0,0.6), 0 6px 6px rgba(0,0,0,0.6);
  } 
  /* Our image information */
  .before,
  .after {
    width:100%;
    height:100%;
    background-repeat:no-repeat;
    background-color: white;
    background-size: cover;
    background-position: center;
    position: absolute;
    top:0;
    left:0;
    pointer-events:none;
    overflow: hidden;
  } 
  .content-image{
    height:100%;
    min-width: 100%;
  }
  .after{
    width:125px;
  }
  .after h3{
    left: 12px;
  }
  .before h3{
    right: 12px;
  }
  .scroller{
    width: 50px;
    height:50px;
    position: relative;
    left: 100px;
    top:50%;
    transform:translateY(-50%);
    border-radius:50%;
    background-color: transparent;
    opacity:1;
    pointer-events:auto;
    cursor: grab;
    touch-action: none; /* Empêche le scroll de page lors du glissement sur le handle (mobile) */
  }
  .scrolling{
    pointer-events:none;
    opacity:1;
    z-index: 1;
  }
  .scroller__thumb{
    width:100%;
    height:100%;
    stroke-opacity: 0.6;
  }
  .scroller:before,
  .scroller:after{
    content:" ";
    display: block;
    width: 7px;
    height: 9999px;
    position: absolute;
    left: 50%;
    margin-left: -3px;
    z-index: 30;
    transition:0.1s;
  }
  .scroller:before{
    top:100%;
  }
  .scroller:after{
    bottom:100%;
  }
  /* If you want to cahnge the colors, make sure you change the fill in the svgs to match */
  .scroller{
    border: 5px solid var(--logo-blue);
  }
  .scroller:before,
  .scroller:after{
    background: var(--logo-blue);
  }

  @media (max-width: 799px) {
    .portfolio{
        width: 90%;
        padding: 20px 0;
    }
    .portfolio p{
        width: 98%;
        padding: 0;
    }

  }




.contact{
    box-shadow: -2px -2px 5px rgba(0,0,0,0.6);
}
.contact-container p{
    text-align: center;
}


.contact-method{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.appel-mail{
    width: 50%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-evenly;
}
.appel-mail-method{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    font-weight: bold;
}
.appel-mail-img{
    padding: 8px;
    background-color: var(--logo-blue);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}
.appel-mail-method a {
    display: flex;
    align-items: center; 
    width: auto;
    text-decoration: none; 
    color: #000; 
    font-size: 1.2rem;
    white-space: nowrap; 
}
.appel-mail-method a:hover {
    text-decoration: underline; 
    color: var(--logo-blue); 
}


.formulaire{
    width: 50%; /* Ajustez selon votre layout */
    margin: 0 auto; /* Centrage du formulaire */
    padding: 20px;
    position: relative;
}
form {
    margin-top: 20px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
input, textarea, select {
    width: 97%; /* Ajustement de la largeur pour l'harmonie */
    margin: 10px 0; /* Centrage plus prononcé */
    padding: 15px;
    border: 2px solid #ccc; /* Bordure pour un aspect fini */
    border-radius: 5px; /* Bordures arrondies pour la modernité */
    font-family: inherit;
    font-size: inherit;
}
select {
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}
select:focus {
    outline: none;
    border-color: #235698;
    box-shadow: 0 0 0 3px rgba(35, 86, 152, 0.1);
}
.type-demande-select {
    font-weight: 500;
}
/* Fond alterné pour les options du select (améliore la lisibilité) */
.type-demande-select option:nth-child(even) {
    background-color: #dadada;
}
.type-demande-select option:nth-child(odd) {
    background-color: #ffffff;
}
.type-demande-select > option:first-child {
    display: none; /* Cache uniquement l'option placeholder (enfant direct du select) */
}
.type-demande-select option:disabled {
    display: none; /* Cache les options désactivées dans la liste */
}
.type-demande-select option:hover {
    background-color: #235698;
    color: white;
}
.autre-demande-input {
    margin-top: 5px;
}
.demi-container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
}
.tel{
    width: 45%;
}
.adresse{
    width: 45%;
    position: absolute;
    right: 0;
}
textarea{
    min-height: 80px ;
}
button {
    background-color: var(--logo-blue); /* Bleu profond pour un rappel du thème */
    color: white;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 15px; /* Cohérence avec les inputs */
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Ombre subtile pour le relief */
}
button:hover {
    filter: brightness(1.2);
}
.error-container {
    color: #d8000c; /* Texte rouge foncé pour une bonne visibilité */
    margin-top: 10px;
}
.error-container > div {
    padding: 8px 12px;
    margin: 5px 0;
    background-color: #ffe6e6;
    border-left: 3px solid #d8000c;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Messages de succès/erreur globaux */
.form-message-container {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    animation: slideDown 0.3s ease-out;
}
.form-message-container.success {
    background-color: #d4edda;
    border: 2px solid #28a745;
}
.form-message-container.error {
    background-color: #f8d7da;
    border: 2px solid #dc3545;
}
.form-message {
    padding: 10px;
}
.success-message {
    color: #155724;
}
.success-message strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.success-message p {
    margin: 5px 0 0 0;
    font-size: 0.95rem;
}
.error-message {
    color: #721c24;
}
.error-message strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.error-message p {
    margin: 5px 0;
    font-size: 0.95rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}
.invalid-input {
    border-color: #d8000c !important; /* Bordure rouge pour indiquer l'erreur */
    background-color: #fff5f5;
}
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (min-width: 800px) and (max-width: 1440px) {
    .appel-mail{
        justify-content: center;
    }
    .formulaire{
        width: 70%;
    }
}
@media (max-width: 799px) {
    .contact-container p{
        padding: 0;
    }
    .appel-mail{
        flex-direction: column;
        justify-content: center;
        width: 98%;
        gap: 8px;
    }
    .appel-mail img{
        width: 40px;
    }
    .appel-mail a{
        font-size: 1rem;
    }
    .formulaire{
        width: 98%;
        padding: 0;
    }
    input, textarea{
        padding: 4px;
    }
}

.animate-text {
    opacity: 0;  /* Rend l'élément complètement transparent */
}
.fade-in {
    animation: fadeInAnimation 1s ease forwards;
}
@keyframes fadeInAnimation {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-fwd-center {
	-webkit-animation: slide-in-fwd-center 1.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards;
	        animation: slide-in-fwd-center 1.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) forwards;
}
@-webkit-keyframes slide-in-fwd-center {
    0% {
      -webkit-transform: translateZ(-1400px);
              transform: translateZ(-1400px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateZ(0);
              transform: translateZ(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-fwd-center {
    0% {
      -webkit-transform: translateZ(-1400px);
              transform: translateZ(-1400px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateZ(0);
              transform: translateZ(0);
      opacity: 1;
    }
  }

  .slide-in-blurred-left {
	-webkit-animation: slide-in-blurred-left 1.4s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
	        animation: slide-in-blurred-left 1.4s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}
@-webkit-keyframes slide-in-blurred-left {
    0% {
      -webkit-transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
              transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
      -webkit-transform-origin: 100% 50%;
              transform-origin: 100% 50%;
      -webkit-filter: blur(40px);
              filter: blur(40px);
      opacity: 0;
      visibility: hidden;
    }
    100% {
      -webkit-transform: translateX(0) scaleY(1) scaleX(1);
              transform: translateX(0) scaleY(1) scaleX(1);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      -webkit-filter: blur(0);
              filter: blur(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-blurred-left {
    0% {
      -webkit-transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
              transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
      -webkit-transform-origin: 100% 50%;
              transform-origin: 100% 50%;
      -webkit-filter: blur(40px);
              filter: blur(40px);
      opacity: 0;
      visibility: hidden;
    }
    100% {
      -webkit-transform: translateX(0) scaleY(1) scaleX(1);
              transform: translateX(0) scaleY(1) scaleX(1);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      -webkit-filter: blur(0);
              filter: blur(0);
      opacity: 1;
    }
  }

  .slide-in-blurred-right {
	-webkit-animation: slide-in-blurred-right 1s cubic-bezier(0.230, 1.000, 0.320, 1.000) forwards;
	        animation: slide-in-blurred-right 1s cubic-bezier(0.230, 1.000, 0.320, 1.000) forwards;
}
@-webkit-keyframes slide-in-blurred-right {
    0% {
      -webkit-transform: translateX(1000px) scaleX(2.5) scaleY(0.2);
              transform: translateX(1000px) scaleX(2.5) scaleY(0.2);
      -webkit-transform-origin: 0% 50%;
              transform-origin: 0% 50%;
      -webkit-filter: blur(40px);
              filter: blur(40px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0) scaleY(1) scaleX(1);
              transform: translateX(0) scaleY(1) scaleX(1);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      -webkit-filter: blur(0);
              filter: blur(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-blurred-right {
    0% {
      -webkit-transform: translateX(1000px) scaleX(2.5) scaleY(0.2);
              transform: translateX(1000px) scaleX(2.5) scaleY(0.2);
      -webkit-transform-origin: 0% 50%;
              transform-origin: 0% 50%;
      -webkit-filter: blur(40px);
              filter: blur(40px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0) scaleY(1) scaleX(1);
              transform: translateX(0) scaleY(1) scaleX(1);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      -webkit-filter: blur(0);
              filter: blur(0);
      opacity: 1;
    }
  }


  footer{
    color: #000;
  }
  footer a{
    color: #fff;
  }
.footer-container{
    width: 98%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
}
.footer-container-left{
    width: 40%;
    display: flex;
    justify-content: flex-start;
}
.footer-container-left p{
    display: flex;
    align-items: center;
    padding: 0;
}
.footer-container-left a{
    margin-right: 10px;
    margin-left: 10px;
    cursor: pointer;
}
.footer-container-center{
    display: flex;
    flex-direction: column;
    width: 20%;
    align-items: center;
    justify-content: flex-end;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 4px;
}

.footer-container-right{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 40%;
}
.logo-footer{
    width: 40px;
}
.footer-container-right-logos a{
    text-decoration: none;
    cursor: alias;
    width: 20px;
}
.footer-container-right-mentions{
    display: flex;
    gap: 20px;
    margin-left: 20px;
}
.footer-container-right-mentions img{
    width: 30px;
}
/* Honeypot invisible */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    pointer-events: none;
}

.file-hint {
    font-size: 0.85rem;
    color: #555;
    margin-top: -5px;
}
@media (max-width: 1000px) {
    .footer-container{
        flex-direction: column;
        align-items: center;
        margin-top: 8px;
    }
    .footer-container-left{
        width: 100%;
        justify-content: center;
        order: 2;
    }
    .footer-container-center{
        width: 100%;
        justify-content: center;
        order: 3;
    }
    .footer-container-right{
        width: 100%;
        justify-content: center;
        order: 1;
    }
  }
  @media (max-width: 400px){
    .footer-container-right{
        flex-direction: column;
    }
  }


  .popup-container {
    position: fixed;
    z-index: 1200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* Fond sombre avec transparence */
  }
  
  .popup-content {
    background-color: #fefefe;
    margin: 15% auto; /* Position centrée */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Adapté à vos besoins */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }
  .mentions-popup-content {
    background-color: #fefefe;
    margin: 3% auto; /* Décalage du haut */
    padding: 20px;
    padding-top: 50px; /* Espace pour la croix */
    border: 1px solid #888;
    width: 80%; /* Plus large pour contenir plus de texte */
    height: 80%; /* Hauteur fixe pour déclencher le défilement */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    position: relative; /* Pour positionner la croix de fermeture */
  }
  
  .mentions-popup-scrollable {
    height: 100%;
    overflow-y: auto; /* Active la barre de défilement verticale si nécessaire */
  }
  .popup-content p{
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .close {
    color: #aaa;
    float: right;
    font-size: 1.75rem;
    font-weight: bold;
  }
  
  .mentions-popup-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    float: none;
    z-index: 10;
    background-color: #fefefe;
    padding: 5px 10px;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  @media (max-width: 1440px) {
    .popup-content p{
        width: 98%;
    }
  }








