body {
    font-family: 'Ubuntu', sans-serif !important; /* Appliquer la police Ubuntu */
    margin: 0;
    padding: 0;
    background: white;
}

/* Styles pour coller le promo et le présent plus haut */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 10px 20px;
    gap: 30px;
}

.menu-link {
    margin-right: 20px;
    color: #2E7488;
    text-decoration: none;
}


.left-div {
    display: flex;
    align-items: center;
    font-size: 2rem;
}

.logo-holder img {
    width: 211px;
    height: 131px;
    margin-right: 10px;
}

.right-div {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #213971;
    padding-right: 3%;
    font-size: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.contact-link {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    font-family: 'Montserrat', sans-serif;
}


/* Container for promo and presentation sections */
.first-container {
    display: flex;
    margin-top: 100px;
    overflow: hidden; /* Prevent content overflow */
}

/* Promo */
.image-wrapper {
    position: relative;
    width: 60%; /* Adjust as needed */
}

.image-container {
    width: 100%;
    height: 100%; /* Set a fixed height for consistency */
    position: relative;
    display: block;
    overflow: hidden; /* Hide overflow to manage sliding images */
}

.image-pano img {
    filter: brightness(70%);
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure all images cover the area without distortion */
    position: absolute;
    top: 0;
    left: 100%;
    opacity: 0;
    transition: all 1s ease-in-out; /* Smooth transition for sliding effect */
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.image-container img.active {
    left: 0;
    opacity: 1;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.image-container img.exit {
    left: -100%;
    opacity: 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;

}

/* h1 Text overlay */
.text-overlay {
    position: absolute;
    top: 70px; /* Position the text 20px from the top */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    width: 100%; /* Adjust the width */
    z-index: 2; /* Ensure the text is above the image */
    font-family: 'Ubuntu', sans-serif; /* Apply Lato font */

}

.promo-title {
    font-size: 4.3rem; /* Taille de police */
    font-weight: bold; /* Poids de la police */
    line-height: 1.5; /* Hauteur de ligne */
    text-align: center; /* Alignement du texte */
    margin: 0px 0; /* Marge extérieure */
}

.promo-title span {
    font-size: larger;
    font-weight: bold;
    color: #56cc1e; /* Jaune Solaire */
}

.text-overlay h1 {
    line-height: 1.5; /* Hauteur de ligne */
    font-size: 4.3rem; /* Taille de police */
}

.static-image {
    display: block;
}

.slide-image {
    display: block;
}


/* Presentation */
.content-check-header {
    position: relative;
    width: 40%;
    padding: 20px;
    overflow-y: auto;
    margin-top: 20px;
}

.second-title h1 {
    color: #2e7488d8;
    /* background: linear-gradient(135deg, #FFD700, #007bff, #13438C); Jaune Solaire au Bleu au jaune orangé */
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    text-align: center;
    background-clip: text; /* Add standard property for compatibility */
    /* font-family: 'Ubuntu', sans-serif; */
}

.title-questions {
    color: #fff;
    background: #2e7488d8;
    padding: 10px;
}

.static-free-image{
    font-family:Arial, Helvetica, sans-serif;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-transform: uppercase;
    padding: 10px;

}

.title-questions span {
    font-size: larger;
    color: #ffffff;
    font-family: 'Ubuntu', sans-serif;

}

.static-free-image h2{
    background: white;

}

.content-check-header{
    padding-left: 100px;
    color: #000;
    
}

.content-check-header button{
    margin: auto;
}

.content-check-header p {
    margin-top: 20px;
    font-size: 2rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.content-check-header .stars img {
    filter: brightness(100%);
}

.content-check-header img {
    width: 34px;
    height: 34px;
}

.list-check{
    padding-left: 20px;
}



.estimation-gratuite {
    display: flex;
    align-items: center; /* Centre verticalement le texte par rapport à l'image */
    font-family: 'Roboto', sans-serif;
    color: #fff;
    border-radius: 10px;
    border: none;
    font-size: 1.5rem;
    background: #2E7488;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.75);
    transition: transform 0.5s ease;
    padding: 10px 20px; /* Ajuster le padding selon vos besoins */
    /* animation: zoom 1.5s infinite; */
    cursor: pointer;
}

/* @keyframes zoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
} */


.estimation-gratuite:hover {
    transform: scale(1.1);
}


.estimation-gratuite img {
    padding: 0px;
    width: 60px !important;
    height: 60px !important;
    margin-right: 15px; /* Espacement entre l'image et le texte */
    filter: brightness(100%);
}

.text-overlay a {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.preview-icon-holder img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}


.preview-item-links .removable-parent {
    display: inline-block;
    width: 359px;
    height: 36px;
    line-height: 46px;
    text-align: center;
    background-color: #ff0004bc;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    border: 3px solid #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    transition: background-color 0.3s, border-color 0.3s;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.preview-item-links .removable-parent:hover {
    background-color: #4559a0;
    border-color: #4574a0;
}

/* Galleries */

/* Styles généraux pour la galerie */
.gallery-container {
    margin-top: 10px;
    padding: 30px;
    background: rgba(245, 245, 245, 0.879);
    width: auto;
    font-size: 14px;  
    margin: 20px; 
}

.gallery-title {
    font-size: 1.2em;
    margin-bottom: 15px;
    text-align: center;
}

.blocks-preview-divider {
    height: 1.5px;
    width: 100px;
    background-color: #000;
    margin: 40px auto;
}

.gallery-images {
    display: flex;
    justify-content: space-between;
    gap: 15px; /* Espace entre les images */
}

.gallery-container .gallery-images img {
    width: 100%;
    margin: auto;
}


.image-title {
    font-size: 1em;
    margin-bottom: 5px;
}


.image {
    width: 100%; /* Utiliser toute la largeur disponible */
    max-width: 320px; /* Largeur maximale des images */
    max-height: 320px; /* Hauteur maximale des images */
    height: 320px; /* Fixe la hauteur des images */
    text-align: center;
    border-radius: 10px;
    background-color: #f1f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.image-details {
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
}

.image-subtitle {
    font-size: 0.9em;
    color: #333;
}

.first-image, .second-image, .third-image{
    box-shadow: 0 14px 118px rgba(0, 0, 0, 0.561);
}

/* Styles pour écrans de 1024px et plus */
@media screen and (min-width: 1024px) {
    .gallery-container {
        padding: 80px; /* Ajouter de l'espace supplémentaire */
    }

    .gallery-title {
        font-size: 20px; /* Augmenter la taille de la police pour plus grand écran */
        margin-bottom: 25px;
    }

    .blocks-preview-divider {
        margin-bottom: 25px; /* Ajouter plus d'espace sous le séparateur */
        
    }

    .gallery-images {
        gap: 0px; /* Augmenter l'espace entre les images */
    }

    .image {
        width: calc(33.33% - 35px); /* Ajuster la largeur des images avec plus d'espace entre elles */
    }

    /* Positionnement des images */
    .first-image {
        order: 1; /* Première image à gauche */
    }

    .second-image {
        order: 2; /* Deuxième image au centre */
        margin-left: auto; /* Aligner au centre */
        margin-right: auto; /* Aligner au centre */
    }

    .third-image {
        order: 3; /* Troisième image à droite */
    }

    .third-image img , .first-image img{
        height: 177px;
    }
}


/* Maps */



@media screen and (min-width: 1001px) {

    .popup{
        display: none;
    }
    
    .container {
        background: #eaeaea;
        display: grid;
        place-items: center;
        position: relative;
        left: 50%;
        transform: translate(-50%, 0);
        width: 90%;
        height: 700px;
        background: #f5f5f5;
        box-shadow: 0 30px 50px #dbdbdb;
        border-radius: 20px;
        margin-bottom: 40px;
    }


    .name {
        color: #fff;
        border-radius: 10px;
    }

    .des{
        color: #fff;
        padding: 5px;
        font-size: large;
        font-weight: bold;
        border-radius: 10px;
        text-align: center;
        line-height: 1.8;
    }


    .container .slide .item {
        width: 165px;
        height: 250px;
        position: absolute;
        top: 50%;
        transform: translate(0, -50%);
        border-radius: 20px;
        box-shadow: 0 30px 50px #505050;
        background-position: 50% 50%;
        background-size: cover;
        display: inline-block;
        transition: 0.5s;
    }

    .container .slide .item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.575); /* Dark overlay */
        z-index: 1;
        border-radius: 20px;
    }

    .container .slide .item .content {
        position: relative;
        z-index: 2; /* Ensure content is above overlay */

    }
        
    .slide .item:nth-child(1),
    .slide .item:nth-child(2) {
        top: 0;
        left: 0;
        transform: translate(0, 0);
        border-radius: 20px;
        width: 100%;
        height: 100%;
        
    }


    .slide .item:nth-child(3) {
        left: 50%;
        filter: brightness(2);
    }

    .slide .item:nth-child(4) {
        left: calc(50% + 210px);
        filter: brightness(2);
    }

    .slide .item:nth-child(5) {
        left: calc(50% + 430px);
        filter: brightness(2);
    }

    .slide .item:nth-child(n + 6) {
        left: calc(50% + 650px);
        opacity: 0;
    }

    .item .content {
        position: absolute;
        top: 50%;
        left: 100px;
        width: 300px;
        text-align: left;
        color: #eee;
        transform: translate(0, -50%);
        font-family: system-ui;
        display: none;
    }


    .slide .item:nth-child(2) .content {
        display: block;
    }


    #q1{
        width: 220%;
    }

    #q2{
        width: 270%;
    }

    #q3{
        width: 330%;
    }

    #q4{
        width: 310%;
    }

    #q5{
        width: 310%;
    }

    .content .name {
        font-size: 38px;
        text-transform: uppercase;
        font-weight: bold;
        opacity: 0;
        animation: animate 1s ease-in-out 1 forwards;
        opacity: 0;
        transition: opacity 0.5s ease;
        position: relative;
        bottom: 94px;
        text-align: center;
    }

    .content .des {
        margin-top: 10px;
        margin-bottom: 20px;
        opacity: 0;
        animation: animate 1s ease-in-out 0.3s 1 forwards;
        width: 190%; /* Définition de la largeur maximale du texte */

    }

    /* .container button {
        padding: 10px 20px;
        border: none;
        cursor: pointer;
        opacity: 0;
        animation: animate 1s ease-in-out 0.6s 1 forwards;
    }


    @keyframes animate {
        from {
            opacity: 0;
            transform: translate(0, 100px);
            filter: blur(33px);
        }

        to {
            opacity: 1;
            transform: translate(0);
            filter: blur(0);
        }
    }

    .button {
        width: 100%;
        text-align: center;
        position: absolute;
        bottom: 20px;
        transition: transform 0.5s ease;
        animation: zoom 2.5s infinite;
    }

    .button button {
        color: #fff;
        font-size: 2rem;
        width: 30%;
        height: 60px;
        border-radius: 10px;
        border: none;
        cursor: pointer;
        margin: 0 5px;
        border: 1px solid #000;
        transition: 0.3s;
        background: #067EFE;
    }

    .button button:hover {
        background: #0606fe;
        color: #fff;
    } */

    .container button {
        padding: 10px 20px;
        border: none;
        cursor: pointer;
        opacity: 0;
        animation: animate 1s ease-in-out 0.6s 1 forwards;
    }
    
    @keyframes animate {
        from {
            opacity: 0;
            transform: translate(0, 100px);
            filter: blur(33px);
        }
        to {
            opacity: 1;
            transform: translate(0);
            filter: blur(0);
        }
    }
    
    .button {
        width: 100%;
        text-align: center;
        position: absolute;
        bottom: 20px;
        transition: transform 0.5s ease;
        animation: zoom 2.5s infinite;
    }
    
    .button button {
        color: #fff;
        font-size: 2rem;
        width: 25%;
        height: 60px;
        border-radius: 10px;
        border: none;
        cursor: pointer;
        margin: 0 10px;
        border: 1px solid #0056D6;
        transition: 0.3s;
        background: linear-gradient(90deg, #067EFE, #0056D6);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .button button:hover {
        background: linear-gradient(90deg, #0056D6, #067EFE);
        color: #fff;
        transform: scale(1.05);
    }
    
    .button button:focus {
        outline: 2px solid #FFD700;
        outline-offset: 4px;
    }
    
    .button i {
        margin-right: 10px;
        margin-left: 10px;
        font-size: 1.5rem;
    }
    

    @media screen and (min-width: 1001px) and (max-width: 1400px) {

        .name{
            width: 200% !important;
            font-size: 32px !important;
        }

        .des{
            position: relative;
            bottom: 20px;
        }

        .slide .item:nth-child(4) {
            left: calc(50% + 250px);
            
        }

        .slide .item:nth-child(3) {
            left: 0%;
            display:none;
        }

        .slide .item:nth-child(5) {
            left: calc(50% + 430px);
            display:none;
        }
    }

    @media screen and (min-width: 1400px) and (max-width: 1500px) {
        .slide .item:nth-child(5) {
            display:none;
        }
        
        .slide .item:nth-child(3){
            left: calc(33% + 430px);
        }
        
        .slide .item:nth-child(4){
            left: calc(50% + 430px);
        }
    }
}



/* Aides Logos */


.first-logo-container{
    /* background: white; */
    padding: 35px;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.logo-container{
    display: flex;
    justify-content: center;
    gap: 50px;
}



.logo1 img{
    width: 240px;
    height: 120px;
}

.logo10 img{
    width: 130px;
    height: 120px;
}


.logo2 img{
    width: 250px;
    height: 150px;
}

.logo3 img{
    width: 200px;
    height: 150px;
    position: relative;
    top: 10px;
}


.logo4 img{
    width: 200px;
    height: 120px;
    position: relative;
    top: 15%;
}

.logo5 img{
    width: 200px;
    height: 120px;
    position: relative;
    top: 15%;
}

.logo6 img{
    width: 200px;
    height: 200px;
}

.logo7 img{
    position: relative;
    top: 20%;
    width: 300px;
    height: 100px;
}

.logo-container-infos{
    border-radius: 10px;
    /* margin: 30px; */
    padding: 10px;
}

.logo-infos{
    margin: 20px;
    padding: 20px;
    font-family: Arial, Helvetica, sans-serif ;
    font-size: 16px;
    background: #2E7488;
    border-radius: 30px;
    color: #fff
}

@media  screen and (min-width: 1000px) {
    .logo-infos{
        text-align: center;
    }
}


/* Primes  */

.primes-container {
    padding: 20px; /* Espace interne pour une meilleure lisibilité */
    border-radius: 10px; /* Bords arrondis pour un look plus moderne */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); Ombre légère pour un effet de profondeur */
    margin: 00px 0;  /* Espacement extérieur pour séparer les sections */
   /* margin-top: 50px; Ajoute un espace au-dessus du div */
    text-align: center; /* Centre le texte à l'intérieur du conteneur */
}

.prime-title h1 {
    font-size: 24px; /* Taille de police pour le titre principal */
    color: #333; /* Couleur du texte pour le titre principal */
    margin-bottom: 10px; /* Espace inférieur pour séparer du sous-titre */
}

.prime-title h2 {
    font-size: 18px; /* Taille de police pour le sous-titre */
    color: #666; /* Couleur du texte pour le sous-titre */
    line-height: 1.5; /* Hauteur de ligne pour une meilleure lisibilité */
}



.circle-container {
    display: flex;
    flex-direction: row;
    font-size: 1.5em; /* Augmente la taille du texte */
}

@media screen and (min-width: 1024px){
    .circle-container{
        justify-content: center; /* Alignement au centre */
    }
}

.circle {
    border-radius: 30px;
    width: 175px; /* Largeur des cercles */
    margin: 30px 15px; /* Marge entre les cercles */
    text-align: center; /* Centrage du texte à l'intérieur des cercles */
}

@media screen and (min-width: 1000px){
    #b-prev, #b-next{
        display: none;
    }
}


#first-circle {
    box-shadow: 100px 120px 150px #0000ff48;
    color: #FFFFFF; /* Texte blanc pour contraste avec bleu intense */
    border-color: #000;
    border-spacing: 10px;
    background: linear-gradient(to bottom, #0000FF, #3366FF, #6699FF); /* Dégradé bleu intense */
    border: 5px solid gold ;
}

#second-circle {
    box-shadow: 40px 80px 100px #0000ff48;
    color: #fff; /* Texte noir pour contraste avec bleu léger */
    border-color: #d10000;
    border-spacing: 10px;
    background: linear-gradient(to bottom, #0000FF, #3366FF, #6699FF); /* Dégradé bleu intense */
    border: 5px solid gold ;
}

#third-circle {
    box-shadow: 100px 120px 150px #ffffff;
    background: linear-gradient(to bottom, #FFFFFF, #FFFFFF, #FFFFFF); /* Fond blanc */
    border-spacing: 10px;
    color: #2300d3; 
    border: 5px solid gold ;
}


#fourth-circle {
    box-shadow: 100px 120px 150px #edbfbf;
    color: #fff; /* Texte noir pour contraste avec rouge léger */
    border-color: #006BD1;
    border-spacing: 10px;
    background: linear-gradient(to bottom, #FF3333, #FF0000, #CC0000); /* Dégradé rouge intense */
    border: 5px solid gold ;
}

#fifth-circle {
    box-shadow: 100px 120px 150px #edbfbf;
    color: #FFFFFF; /* Texte blanc pour contraste avec rouge intense */
    border-color: #006BD1;
    border-spacing: 10px;
    background: linear-gradient(to bottom, #FF3333, #FF0000, #CC0000); /* Dégradé rouge intense */
    border: 5px solid gold ;
}



/* Banners */
/* Styles pour la section des bannières */
.highlight {
    padding: 20px;
    border-radius: 10px;
    margin: 00px 0;
    text-align: center;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Deux colonnes par défaut*/
    gap: 8px; /* Espace de 8px entre les éléments */
    justify-items: center; /* Centre les éléments horizontalement */
}

@media screen and (min-width: 1024px){
    .highlight .info-container {
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }
    
}

.info-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px; /* Largeur maximale des éléments */
    margin: 8px; /* Ajoute une marge autour de chaque élément */
    text-align: center;
}

.info-item img {
    width: 100px; /* Largeur fixe pour les images */
    height: auto;
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 1em;
    margin-bottom: 10px;
    color: #333;
}

.info-item p {
    font-size: 0.9em;
    color: #666;
}




/* Mise à jour des styles pour les conditions d'éligibilité */

.second-form{
    margin-bottom: -30px;
    padding:0;
}

.footer-form-container-custom {
    display: flex;
    align-items: flex-start; /* Alignement en haut */
    justify-content: flex-start; /* Alignement à gauche */
    justify-content: center; /* au centre horizontal */

}


.image-container-custom {
    height: 298px; /* Ajustement de la largeur de l'image */
    width: 263px;
    margin-right: 0; /* Supprimer la marge à droite */
    margin-left: 50px;
}

@media screen and (min-width: 1024px) {
    /* Styles spécifiques pour les écrans de 1024px ou plus */
    .image-container-custom img {
        display: block;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
        width: 100%; /* Utilisation de la largeur totale de son conteneur */
        height: 298px;
        object-fit: cover;
    }

    .form-container-second-custom {
    color: #fff;
    margin-right: 50px;
    height: 298px;
    width: 1300px;
    padding: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    background: linear-gradient(to bottom, #4065f7, #4a22ff, #1100c8);
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
    box-sizing: border-box;
    }
}

.form-container-second-custom h2 {
    margin-bottom: 22px;
}

.form-horizontal-custom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.form-row-custom {
    flex: 1;
}

.footer-form-input-custom {
    width: 90%;
    height: 26px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #d3d3d3;
    font-size: 14px;
    gap: 5px;
}



.footer-form-button-custom {
    position: relative;
    height: 38px;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    display: block;
    background-color: #609FF2;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.footer-form-button-custom:hover {
    background-color: #212b8a;
}

.footer-form-input-custom:focus {
    border-color: #13438C;
    outline: none;
}

/* Footers */

.down{
    text-align: center;
    margin-top:  30px;
    padding: 10px;
    /* background: #FCFCFC; */
}

.down img{
    width: 211px;
    height: 131px;
    border-radius: 10px;
}