/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* Menu descktop */

/* Styles de base pour le menu */
/* CSS du menu */

/* Option 2 : utiliser la version raccourcie list-style */
.nav-links ul {
    list-style: none;
}

.nav-links ul {
    list-style-type: none;
}




.header-main {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    background: transparent;
    transition: all 0.3s ease;
    z-index: 1000;
    padding-top: 15px;
    padding-bottom: 15px;
}

/*Toto*/

.nav-container {
    max-width: 92%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav-container {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-scroll {
    display: none;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    /* Assurez-vous que cette propriété est bien là */
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.5s ease;
    text-transform: uppercase;
    font-family: 'Oswald', Helvetica, Arial, Lucida, sans-serif;
}

/* Styles pour l'état scrollé */
.header-main.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding-top: 10px;
    padding-bottom: 10px;
    transition: all 0.5s ease;
    webkit-box-shadow: 0px 13px 23px -5px #FFFFFF;
    box-shadow: 0px 2px 26px -5px #FFFFFF;
}

.header-main.scrolled .logo-default {
    display: none;
}

.header-main.scrolled .logo-scroll {
    display: block;
}

.header-main.scrolled .nav-links a {
    color: #333;
    font-size: 14px;
}

.header-main.scrolled .logo {
    height: 50px;
}

/* Style responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* FIN Menu descktop */

/*Article de blog page accueil*/

.custom-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 2em 0;
}

.custom-post-item {
    background: #051c2c;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.custom-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.custom-post-date {
    color: #fff;
    font-size: 14px;
    margin: 20px 0px 10px;
}

.custom-post-title {
    font-family: 'Oswald', Helvetica, Arial, Lucida, sans-serif;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    margin: 10px 0px;
    text-transform: uppercase;
}

.custom-post-excerpt {
    font-family: 'Epilogue', Helvetica, Arial, Lucida, sans-serif;
    color: #fff;
    margin: 10px 0px;
    font-size: 18px;
}

.custom-post-link {
    color: #ffd700;
    text-decoration: none;
    display: block;
    margin: 20px 0px 20px;
    font-size: 14px;
}

@media (max-width: 980px) {
    .custom-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .custom-posts-grid {
        grid-template-columns: 1fr;
    }

    .accueil-faq h2 {
        font-family: 'Oswald', Helvetica, Arial, Lucida, sans-serif;
        font-size: 25px !important;
        color: #f0f0f0 !important;
    }
}

/*FIN Article de blog page accueil*/


/*LES DIFFÉRENTS BOUTONS*/

/* Style du conteneur - à adapter selon votre design */
/*Bouton blanc DEMANDE DEVIS section Hero Accueil*/
.container-button-white {
    padding: 0;
    background: #000;
    width: 178px;
    border: solid 1px white;
    box-sizing: border-box;
    /* Assure un bon calcul des dimensions */
}

/* Style du bouton avec l'effet de transition */
.btn-devis {
    /* Structure de base */
    position: relative;
    padding: 12px 15px;
    font-size: 16px;
    font-family: 'Epilogue', Helvetica, Arial, Lucida, sans-serif;
    cursor: pointer;
    border: none;
    font-weight: 600;
    /* Couleur du texte */
    color: #000;

    /* Configuration du gradient pour l'effet de transition */
    background: linear-gradient(to left, transparent 50%, white 50%);
    background-size: 200% 100%;
    background-position: left bottom;

    /* Animation */
    transition: all .3s ease;
}

/* État au survol */
.btn-devis:hover {
    color: #fff;
    /* Texte en blanc */
    background-position: right bottom;
    /* Déplace le gradient */
}

/*FIN Bouton blanc DEMANDE DEVIS section Hero Accueil*/


/*Bouton transparent EN SAVOIR PLUS section Hero Accueil*/
/* Style du conteneur - à adapter selon votre design */
.container-button-transparent {
    padding: 0;
    background: rgba(0, 0, 0, 0);
    width: 171px;
    border: solid 1px white;
}

/* Style du bouton avec l'effet de transition */
.btn-savoir-plus {
    /* Structure de base */
    position: relative;
    padding: 12px 15px;
    font-size: 16px;
    font-family: 'Epilogue', Helvetica, Arial, Lucida, sans-serif;
    cursor: pointer;
    border: none;
    font-weight: 600;
    width: 100%;
    
    /* Couleur du texte */
    color: #fff;
    
    /* Configuration du gradient pour l'effet de transition */
    background: linear-gradient(to right, white 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    
    /* Animation */
    transition: all .3s ease;
}

/* État au survol */
.btn-savoir-plus:hover {
    color: #000; /* Texte en noir */
    background-position: left bottom;
}

/*FIN Bouton transparent EN SAVOIR PLUS section Hero Accueil*/






/* Style du conteneur - à adapter selon votre design */
.container-button-transparent {
    padding: 0;
    background: rgba(0, 0, 0, 0);
    width: 171px;
    border: solid 1px white;
}

/* Style du bouton avec l'effet de transition */
.btn-savoir-plus {
    /* Structure de base */
    position: relative;
    padding: 12px 15px;
    font-size: 16px;
    font-family: 'Epilogue', Helvetica, Arial, Lucida, sans-serif;
    cursor: pointer;
    border: none;
    font-weight: 600;
    width: 100%;
    
    /* Couleur du texte */
    color: #fff;
    
    /* Configuration du gradient pour l'effet de transition */
    background: linear-gradient(to right, white 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    
    /* Animation */
    transition: all .3s ease;
}

/* État au survol */
.btn-savoir-plus:hover {
    color: #000; /* Texte en noir */
    background-position: left bottom;
}




/*Bouton blanc NOUS CONTACTER*/
.container-button-white-contact {
    padding: 0;
    background: #000;
    width: 178px;
    border: solid 1px white;
    box-sizing: border-box;
    /* Assure un bon calcul des dimensions */
}

/* Style du bouton avec l'effet de transition */
.btn-devis-contact {
    /* Structure de base */
    position: relative;
    padding: 12px 15px;
    font-size: 16px;
    font-family: 'Epilogue', Helvetica, Arial, Lucida, sans-serif;
    cursor: pointer;
    border: none;
    font-weight: 600;
    /* Couleur du texte */
    color: #000;

    /* Configuration du gradient pour l'effet de transition */
    background: linear-gradient(to left, transparent 50%, white 50%);
    background-size: 200% 100%;
    background-position: left bottom;

    /* Animation */
    transition: all .3s ease;
}

/* État au survol */
.btn-devis-contact:hover {
    color: #fff;
    /* Texte en blanc */
    background-position: right bottom;
    /* Déplace le gradient */
}

/*FIN Bouton blanc NOUS CONTACTER*/
/*FIN DES DIFFÉRENTS BOUTONS*/