/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    /* Empêche le débordement horizontal sur toute la page */
}

/* Slider - CORRIGÉ POUR ÉVITER LE DÉBORDEMENT */
.slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    /* CRITIQUE : masque tout débordement */
}

.slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Animation Ken Burns avec zoom plus important et durée exacte de 10s */
    transform: scale(1.0);
    /* Zoom initial plus petit */
    transition: opacity 1s ease-in-out, transform 10s ease-out;
    /* Durée exacte de 10s avec ease-out pour un effet plus naturel */
    z-index: 0;
}

.slider img.active {
    opacity: 1;
    transform: scale(1.15);
    /* Zoom final plus important (15% au lieu de 10%) */
    z-index: 1;
}

/* ALTERNATIVE - Animation de translation au lieu de zoom */
/*
.slider img {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    opacity: 0;
    transform: translateX(-2%);
    transition: opacity 1s ease-in-out, transform 10s linear;
    z-index: 0;
}

.slider img.active {
    opacity: 1;
    transform: translateX(2%);
    z-index: 1;
}
*/



/* Animation d'entrée du logo et texte - INCHANGÉE */
.Logo {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 10;
    opacity: 0;
    animation: fade-in-logo 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes fade-in-logo-corrected {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7) translateY(-50px);
    }

    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1) translateY(0px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) translateY(0px);
    }
}

/* Logo central */
.slider-logo {
    width: 400px;
    height: auto;
    transition: transform 0.5s ease;
}

/* Texte central */
.slider-text {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
    transition: transform 0.5s ease;
}

/* Hover sur logo et texte */
.Logo:hover .slider-logo {
    transform: scale(0.9);
}

.Logo:hover .slider-text {
    transform: scale(1.2);
}














/* Base menu avec transitions pour le sticky */
.main-menu {
    width: 100%;
    background-color: rgb(7, 255, 8);
    position: relative;
    z-index: 20;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 70px;
    display: grid;
    /* Changement: utiliser grid au lieu de flex */
    grid-template-columns: 200px 1fr 200px;
    /* Logo | Menu centré | Espace vide */
    align-items: center;
    padding: 0 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* État sticky - menu collé en haut */
.main-menu.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgb(7, 255, 8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 60px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animation d'apparition du menu sticky */
@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Logo ajusté en mode sticky */
.main-menu.sticky .menu-logo img {
    width: 80px;
    transition: all 0.4s ease;
}

/* Menu items ajustés en mode sticky */
.main-menu.sticky .menu li a {
    padding: 12px 20px;
    font-size: 0.95rem;
    transition: all 0.4s ease;
}

/* Effet de glow sur le menu sticky */
.main-menu.sticky::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    animation: glowLine 3s ease-in-out infinite;
}

@keyframes glowLine {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}








/* Animation basique pour le logo du menu */
.main-menu .menu-logo {
    justify-self: start;
    /* Aligne le logo à gauche */
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.main-menu .menu-logo:hover {
    transform: scale(1.05);
}

.main-menu .menu-logo img {
    width: 100px;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.main-menu .menu-logo:hover img {
    filter: drop-shadow(0 6px 15px rgba(42, 157, 143, 0.3));
}

/* Version sticky */
.main-menu.sticky .menu-logo img {
    width: 80px;
}

.main-menu.sticky .menu-logo:hover {
    transform: scale(1.08);
}

/* Menu items avec effets améliorés */
.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    /* Centre parfaitement le menu */
    align-items: center;
    margin: 0;
    padding: 0;
    grid-column: 2;
    /* Force le menu à rester dans la colonne centrale */
}

.menu li a {
    display: block;
    padding: 15px 25px;
    color: rgb(23, 46, 119);
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
}

/* Effet de soulignement animé */
.menu li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    left: 50%;
    bottom: 5px;
    background: white;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 209, 102, 0.4);
}

.menu li a:hover {
    color: white;
    text-shadow: 0 0 8px rgba(255, 209, 102, 0.3);
    transform: translateY(-1px);
}

.menu li a:hover::after {
    width: 80%;
}

/* Effet spécial pour le mode sticky */
.main-menu.sticky .menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transform: translateY(-2px) scale(1.02);
}

/* Burger icon amélioré */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    padding: 5px;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle span {
    height: 3px;
    width: 28px;
    background: rgb(23, 46, 119);
    margin: 4px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
    transform-origin: center center;
    position: relative;
    display: block;
}

.menu-toggle:hover span {
    background: white;
}

/* États de l'animation burger -> X */
.menu-toggle.burger-active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px) !important;
}

.menu-toggle.burger-active span:nth-child(2) {
    opacity: 0 !important;
    transform: scale(0) !important;
}

.menu-toggle.burger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px) !important;
}

/* Animation en mode sticky */
.main-menu.sticky .menu-toggle span {
    background: rgb(23, 46, 119);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.main-menu.sticky .menu-toggle.burger-active span:nth-child(1),
.main-menu.sticky .menu-toggle.burger-active span:nth-child(3) {
    background: rgb(23, 46, 119);
}

/* Responsive amélioration */
@media (max-width: 1250px) {

    .main-menu {
        display: flex;
        /* Retour au flex sur mobile pour garder le comportement du burger */
        justify-content: space-between;
        /* Logo à gauche, burger à droite */
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    /* Animation du menu mobile */
    .menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgb(7, 255, 8);
        backdrop-filter: blur(10px);
        flex-direction: column;
        display: none;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        justify-content: flex-start;
    }

    .main-menu.sticky .menu {
        top: 60px;
        background-color: rgb(7, 255, 8);
    }

    .menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        animation: slideDownMobile 0.3s ease forwards;
    }

    .menu li {
        transform: translateX(-20px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .menu.active li {
        transform: translateX(0);
        opacity: 1;
    }

    .menu li a {
        padding: 18px 25px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .menu li:last-child a {
        border-bottom: none;
        border-radius: 0 0 15px 15px;
    }

    .menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }
}

@keyframes slideDownMobile {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Amélioration visuelle pour le burger actif */
.menu-toggle.burger-active {
    transform: scale(1.05);
}

.menu-toggle.burger-active:hover {
    transform: scale(1.15);
}

/* Classe pour éviter le saut de contenu quand le menu devient sticky */
.sticky-spacer {
    height: 70px;
    display: none;
}

.sticky-spacer.active {
    display: block;
}


@keyframes particleFloat {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
    }

    100% {
        background-position: 100% 100%, -100% 100%, 100% -100%;
    }
}











.contact-container {
    position: absolute;
    top: 68%;
    /* ajuste selon ton placement */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    /* invisible au départ */
    animation: button-appear 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.5s;
    /* petit délai après logo et texte */
}

/* Animation d’apparition avec rebond */
@keyframes button-appear {
    0% {
        opacity: 0;
        transform: translate(-50%, -20px) scale(0.7);
    }

    70% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1.1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}















/* Section intro avec carte */
.intro-section {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-content {
    padding-right: 40px;
}

.intro-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #333;
    text-align: left;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Suppression du text-align center et padding pour cohérence */
}

.intro-text.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Le H1 principal - version raccourcie */
.intro-text h1 {
    font-size: 1.6rem;
    font-weight: bold;
    color: rgb(23, 46, 119);
    margin-bottom: 15px;
    position: relative;
    display: block;
    line-height: 1.3;
}

/* Sous-titre qui reprend le style du texte principal */
.intro-subtitle {
    font-size: 1.3rem;
    color: #333;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px;
    display: block;
}

/* Garde la mise en valeur du nom de l'entreprise */
.company-name {
    font-weight: bold;
    color: rgb(23, 46, 119);
    background: rgb(23, 46, 119);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section carte */
.intro-map {
    position: relative;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.3s;
}

.intro-map.animated .map-container {
    opacity: 1;
    transform: translateY(0);
}

.map-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgb(7, 255, 8), rgb(23, 46, 119), #2a9d8f);
    border-radius: 17px;
    z-index: -1;
    opacity: 0.7;
}

.map-container iframe {
    display: block;
    filter: grayscale(30%) contrast(1.1);
    transition: filter 0.3s ease;

}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1.2);
}

.map-location {
    text-align: center;
    margin-top: 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, rgb(23, 46, 119), #1e3a8a);
    color: white;
    border-radius: 25px;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(23, 46, 119, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition-delay: 0.6s;
}

.intro-map.animated .map-location {
    opacity: 1;
    transform: translateY(0);
}

.map-location:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(23, 46, 119, 0.4);
}

/* Responsive amélioré pour la section intro */
@media (max-width: 1024px) {
    .intro-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .intro-content {
        padding-right: 0;
        order: 1;
        /* Texte en premier sur mobile */
    }

    .intro-map {
        order: 2;
        /* Carte en second sur mobile */
    }

    .intro-text {
        text-align: center;
        font-size: 1.3rem;
    }

    .first-line {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 40px 15px;
        /* Réduction du padding */
    }

    .intro-container {
        gap: 30px;
    }

    .intro-text {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .first-line {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    /* Amélioration de la carte sur mobile */
    .map-container {
        margin: 0 -15px;
        /* Étendre la carte jusqu'aux bords */
        border-radius: 0;
        /* Supprime les coins arrondis sur mobile */
        height: 250px;
        /* Hauteur réduite */
    }

    .map-container iframe {
        height: 250px;
        border-radius: 0;
    }

    .map-location {
        margin: 15px 15px 0 15px;
        /* Recentre le texte avec marges */
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .intro-section {
        padding: 30px 10px;
    }

    .intro-text {
        font-size: 1rem;
    }

    .first-line {
        font-size: 1.2rem;
    }

    .map-container {
        margin: 0 -10px;
        height: 200px;
    }

    .map-container iframe {
        height: 200px;
    }

    .map-location {
        margin: 10px 10px 0 10px;
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}

/* Container responsive pour éviter le débordement */
.intro-map {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.map-container {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.map-container iframe {
    width: 100%;
    max-width: 100%;
    display: block;
}














/* Nouveau style pour le bouton "Nous contacter" dans le header */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgb(23, 46, 119), #1e3a8a);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 25px rgba(23, 46, 119, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

/* Effet de gradient animé en arrière-plan */
.contact-btn::before {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgb(7, 255, 8);
    transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}


/* Texte du bouton */
.contact-btn span {
    position: relative;
    z-index: 2;
}

/* État hover - conserve l'animation existante */
.contact-btn:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 15px 40px rgba(42, 157, 143, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.contact-btn:hover::before {
    left: 0;
}

.contact-btn:hover::after {
    transform: translateX(3px) rotateY(15deg);
}

/* Effet de brillance sur hover */
.contact-btn::after {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 52px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Réajustement pour l'icône et le texte */
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Restaurer l'icône comme pseudo-élément before */
.contact-btn::before {
    margin-right: 0;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    background: none !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
}

/* Gradient de fond animé comme after */
.contact-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a9d8f, #238a7a);
    transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
    border-radius: 50px;
}

.contact-btn:hover::after {
    left: 0;
}

.contact-btn:hover::before {
    transform: translateX(3px) rotateY(15deg);
}

/* Micro-animations supplémentaires */
.contact-btn:active {
    transform: scale(1.05);
    transition-duration: 0.1s;
}

/* Effet de pulsation subtile */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow:
            0 8px 25px rgba(23, 46, 119, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow:
            0 8px 25px rgba(23, 46, 119, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.2),
            0 0 20px rgba(42, 157, 143, 0.2);
    }
}

.contact-btn {
    animation: pulse-glow 4s ease-in-out infinite;
}

.contact-btn:hover {
    animation: none;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .contact-btn::before {
        font-size: 1.1rem;
    }
}

















.contact-container1 {
    position: absolute;
    top: 72%;
    /* ajuste selon ton placement */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation-delay: 0.5s;
    /* petit délai après logo et texte */
}

.contact-btn1 {
    display: inline-block;
    padding: 12px 25px;
    background-color: rgb(23, 46, 119);
    /* couleur de base */
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-btn1::before {
    content: "\2709";
    margin-right: 8px;
}

.contact-btn1:hover {
    background-color: #2a9d8f;
    /* couleur au survol */
    transform: scale(1.1);
}






.modern-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Effet de vague en haut du footer */
.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    clip-path: polygon(0 50px, 100% 0, 100% 100px, 0 100px);
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: left;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(1.1);
}

.footer-brand-name {
    font-size: 2rem;
    font-weight: bold;
    color: rgb(7, 255, 8);
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 1rem;
    color: #bdc3c7;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgb(7, 255, 8);
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgb(7, 255, 8);
    border-radius: 1px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-icon {
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-contact-item p {
    margin: 0;
    line-height: 1.4;
    color: #ecf0f1;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: rgb(7, 255, 8);
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

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

.footer-bottom p {
    margin: 0;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-certifications {
    display: flex;
    gap: 10px;
}

.cert-badge {
    background: rgb(7, 255, 8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-wave {
        top: -30px;
        height: 60px;
        clip-path: polygon(0 30px, 100% 0, 100% 60px, 0 60px);
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 40px 15px 0;
    }

    .footer-columns {
        gap: 25px;
    }

    .footer-column h4 {
        font-size: 1.1rem;
    }
}











.contact-intro {
    text-align: center;
    margin: 30px auto;
    max-width: 700px;
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 500;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}
















.contact-form-container {
    max-width: 700px;
    margin: 30px auto 60px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInForm 0.6s ease-out forwards;
}

@keyframes slideInForm {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInTitle {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideInGroup {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #172e77;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.contact-form {
    padding: 50px 40px;
    position: relative;
}

.form-title {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInTitle 0.8s ease-out 0.2s forwards;
}

.form-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    /* SUPPRESSION du gradient complexe */
}

.form-title p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 300;
}

.contact-form-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInGroup 0.5s ease-out forwards;
    transition: transform 0.2s ease;
}

.form-group:nth-child(2) {
    animation-delay: 0.1s;
}

.form-group:nth-child(3) {
    animation-delay: 0.2s;
}

.form-group:nth-child(4) {
    animation-delay: 0.3s;
}

.form-group:nth-child(5) {
    animation-delay: 0.4s;
}

.form-group:nth-child(6) {
    animation-delay: 0.5s;
}

.contact-form label {
    position: absolute;
    top: 15px;
    left: 20px;
    font-weight: 600;
    color: rgb(23, 46, 119);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 2;
    /* SUPPRESSION de toutes les transitions */
}



.contact-form input:focus+label,
.contact-form select:focus+label,
.contact-form textarea:focus+label,
.contact-form .has-value+label {
    top: -8px;
    left: 15px;
    font-size: 0.8rem;
    color: #172e77;
    background: white;
    padding: 0 8px;
    border-radius: 8px;
}


@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@media (max-width: 768px) {

    .contact-form input:hover,
    .contact-form select:hover,
    .contact-form textarea:hover,
    .form-group:hover {
        transform: none;
    }

    .contact-form-container:hover {
        transform: none;
    }
}





.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 20px 20px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    background: #fafbfc;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}


.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
    border-color: rgba(42, 157, 143, 0.4);
    background: rgba(42, 157, 143, 0.02);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.1);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2a9d8f;
    background: white;
    /* SUPPRESSION : box-shadow, transform */
}


.contact-form .form-group:hover label {
    color: rgb(7, 255, 8);
    transform: scale(1.02);
}

.contact-form input:focus+label,
.contact-form select:focus+label,
.contact-form textarea:focus+label,
.contact-form input:not(:placeholder-shown)+label,
.contact-form select:not([value=""])+label,
.contact-form textarea:not(:placeholder-shown)+label {
    top: -8px;
    left: 15px;
    font-size: 0.8rem;
    color: rgb(23, 46, 119);
    background: white;
    padding: 0 8px;
    border-radius: 8px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 25px 0;
    font-size: 0.9rem;
    padding: 20px;
    background: rgba(42, 157, 143, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(42, 157, 143, 0.1);
    transition: all 0.3s ease;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: rgb(23, 46, 119);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.form-check:hover {
    background: rgba(42, 157, 143, 0.08);
    border-color: rgba(42, 157, 143, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(42, 157, 143, 0.1);
}

.form-check label {
    position: static;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    color: #555;
    font-weight: 400;
    cursor: pointer;
}

.form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
}

.g-recaptcha {
    animation: none !important;
    transition: none !important;
}

.contact-form button {
    background: #172e77;
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.contact-form button:hover {
    background: rgb(7, 255, 8);
    /* SUPPRESSION : transform, box-shadow, ::before */
}

.contact-form button:hover::before {
    left: 0;
}

.contact-form button:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 30px rgba(23, 46, 119, 0.35);
}

.contact-form button span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}



.sous-contact {
    font-size: 12px;
    color: #888;
    text-align: center;
    line-height: 1.6;
    margin-top: 30px;
    padding: 20px;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.site-lien {
    color: rgb(7, 255, 8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-lien:hover {
    color: rgb(23, 46, 119);
}




@media (max-width: 768px) {
    .contact-form {
        padding: 30px 25px;
    }

    .contact-form .form-title h2 {
        font-size: 2rem;
    }

    .contact-form button {
        padding: 15px 40px;
        font-size: 1rem;
    }

}



@media (prefers-reduced-motion: reduce) {

    .contact-form input,
    .contact-form select,
    .contact-form textarea,
    .contact-form button,
    .contact-form label,
    .site-lien {
        transition: none !important;
    }

    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        transform: none !important;
    }

    .contact-form button:hover {
        transform: none !important;
    }
}


.contact-form button:hover {
    will-change: transform;
}

.contact-form button:not(:hover) {
    will-change: auto;
}

@keyframes particleFloat {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
    }

    100% {
        background-position: 100% 100%, -100% 100%, 100% -100%;
    }
}

















.intro {
    text-align: center;
    margin: 40px 0 20px;
}

.intro h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    color: #2c3e50;
}

.intro h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: rgb(23, 46, 119);
    border-radius: 2px;
}


.mentions-content {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    line-height: 1.7;
    font-size: 1rem;
    color: #333;
}

.mentions-content h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
    border-left: 4px solid rgb(23, 46, 119);
    padding-left: 10px;
}

.mentions-list {
    margin: 20px 0;
    padding-left: 25px;
    /* décale un peu les puces */
    list-style-type: disc;
    /* puces rondes classiques */
    color: #333;
    /* texte en gris foncé */
    line-height: 1.6;
}

.mentions-list li {
    margin-bottom: 10px;
    font-size: 1rem;
}









.form-footer {
    display: flex;
    flex-direction: column;
    /* les éléments sont empilés */
    align-items: center;
    /* centrage horizontal */
    gap: 15px;
    /* espace entre reCAPTCHA et bouton */
    margin-top: 20px;
}

.form-footer button {
    padding: 10px 25px;
    font-size: 1rem;
    background-color: rgb(23, 46, 119);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.form-footer button:hover {
    background-color: rgb(7, 255, 8);
    transform: scale(1.05);
}


.form-check {
    display: flex;
    align-items: flex-start;
    /* aligne le haut de la checkbox et du texte */
    gap: 10px;
    /* espace très petit entre case et texte */
    margin: 15px 0;
    font-size: 0.9rem;
}


.form-check input[type="checkbox"] {
    margin: 2px 5px 0 10px;
    /* haut droite bas gauche */
    padding: 0;
    flex-shrink: 0;
    /* empêche la case de rétrécir */
    width: 20px;
    height: 20px;
    margin-top: 2px;
    /* ajuste verticalement pour aligner avec texte multi-ligne */
    cursor: pointer;
}

.form-check label {
    margin: 0;
    padding: 0;
    line-height: 1.4;
    /* si texte sur plusieurs lignes, garde un bon alignement */
    font-size: 1, 05rem;
    /* Texte légèrement agrandi */
}



.sous-contact {
    font-size: 12px;
}

.site-lien {
    color: #000000;
}




.footer-contact-item a {
    text-decoration: none;
    /* enlève le soulignement */
    color: inherit;
    /* prend la couleur du parent */
}

.footer-contact-item a:hover {
    text-decoration: underline;
    /* facultatif : soulignement au survol */
    color: #0077cc;
    /* facultatif : changer couleur au survol */
}







body {
    font-family: 'Arial', sans-serif;
    background: transparent;
    color: #333;
    line-height: 1.6;
}

.nos-atouts {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nos-atouts h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.nos-atouts h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: rgb(23, 46, 119);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: rgb(23, 46, 119);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 300;
}

.atouts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.atout-card {
    background: #ffffff;
    border: 2px solid #ecf0f1;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.atout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(52, 152, 219, 0.1),
            rgba(231, 76, 60, 0.1),
            rgba(155, 89, 182, 0.1));
    transition: left 0.5s ease;
    z-index: 1;

}

.atout-card:hover::before {
    left: 0;
}

.atout-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgb(23, 46, 119);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.3);
}

.card-content {
    position: relative;
    z-index: 1;
}

.atout-number {
    font-size: 4rem;
    font-weight: 100;
    color: rgb(7, 255, 8);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: block;
}

.atout-card:hover .atout-number {
    color: rgb(23, 46, 119);
    transform: scale(1.2);
    text-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.atout-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.atout-card:hover .atout-title {
    color: rgb(23, 46, 119);
}

.atout-description {
    font-size: 1rem;
    color: rgb(23, 46, 119);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.atout-card:hover .atout-description {
    color: #2c3e50;
}

.atout-card-wide {
    grid-column: 1 / -1;
    text-align: left;
    padding: 50px 40px;
}

.atout-card-wide .atout-number {
    float: left;
    margin-right: 30px;
    margin-bottom: 0;
}

.atout-card-wide .card-content {
    overflow: hidden;
}

.atout-card-wide .atout-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.atout-card-wide .atout-description {
    font-size: 1.1rem;
}

/* Animation d'apparition */
.atout-card {
    opacity: 0;
    transform: translateY(50px);
}



@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effets supplémentaires */
.atout-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: rgb(23, 46, 119);
    transition: width 0.3s ease;
}

.atout-card:hover::after {
    width: 80%;
}

@media (max-width: 768px) {
    .nos-atouts h1 {
        font-size: 2.5rem;
    }

    .atouts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .atout-card {
        padding: 30px 20px;
    }

    .atout-card-wide {
        padding: 40px 30px;
        text-align: center;
    }

    .atout-card-wide .atout-number {
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }
}

















/* Section Contact uniquement - sans conflit avec vos styles existants */
.contact-section {
    padding: 80px 0px;
    width: 100%;
    background-color: white;
}

.contact-section .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    max-width: 1400px;
    padding: 0 20px;
}

.contact-section .contact-content {
    padding-right: 40px;
}

.contact-section .contact-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.2;
    position: relative;
}

.contact-section .contact-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 5px;
    background: rgb(23, 46, 119);
    border-radius: 3px;
}

.contact-section .contact-description {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.7;
}

/* Nouveau bouton spécifique à cette section */
.contact-section .contact-btn-new {
    display: inline-block;
    background: linear-gradient(135deg, rgb(23, 46, 119), #1e3a8a);
    color: white;
    padding: 18px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(23, 46, 119, 0.2);
    cursor: pointer;
    border: none;
}

.contact-section .contact-btn-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgb(7, 255, 8);
    transition: left 0.4s ease;
}

.contact-section .contact-btn-new:hover::before {
    left: 0;
}

.contact-section .contact-btn-new:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 6px 20px rgba(23, 46, 119, 0.25);
}

.contact-section .contact-btn-new span {
    position: relative;
    z-index: 1;
}

.contact-section .contact-btn-new::after {
    position: relative;
    z-index: 1;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.contact-section .contact-btn-new:hover::after {
    transform: translateX(3px);
}

.contact-section .gallery-container {
    position: relative;
}


.contact-section .gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ← Couvre tout le cadre */
    object-position: center;
    /* ← Centre l'image */
    transition: transform 0.3s ease;
    z-index: 1;
    /* ← Assure que l'image soit au-dessus */
}

.contact-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    height: 600px;
}

.contact-section .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
}

.contact-section .gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(23, 46, 119, 0.7), rgba(42, 157, 143, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-section .gallery-item:hover::before {
    opacity: 1;
}

.contact-section .gallery-item:hover {
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-section .gallery-item.large {
    grid-row: span 2;
}

.contact-section .gallery-item.wide {
    grid-column: span 2;
}

.contact-section .gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.contact-section .gallery-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
    /* ← Plus élevé que l'image (z-index: 1) */
}

.contact-section .gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.contact-section .overlay-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.contact-section .overlay-description {
    font-size: 0.9rem;
    color: #7f8c8d;
}









/* Correctif pour la section contact sur mobile */
@media (max-width: 768px) {
    .contact-section .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }

    .contact-section .contact-content {
        padding-right: 0;
        text-align: center;
        order: 1;
    }

    .contact-section .contact-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .contact-section .contact-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-section .contact-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    /* Correctif principal pour la grille gallery */
    .contact-section .gallery-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 colonnes sur tablette */
        gap: 10px;
        height: auto;
        /* Hauteur automatique */
        min-height: 400px;
    }

    .contact-section .gallery-item {
        height: 180px;
        /* Hauteur fixe pour chaque item */
        min-height: 180px;
    }

    /* Forcer tous les items à avoir la même taille */
    .contact-section .gallery-item.large,
    .contact-section .gallery-item.wide {
        grid-row: span 1;
        grid-column: span 1;
    }
}

/* Correctif pour très petits écrans */
@media (max-width: 480px) {
    .contact-section {
        padding: 60px 10px;
    }

    .contact-section .contact-title {
        font-size: 1.8rem;
    }

    .contact-section .contact-description {
        font-size: 1rem;
    }

    .contact-section .contact-btn-new {
        padding: 15px 30px;
        font-size: 1rem;
    }

    /* Une seule colonne sur mobile */
    .contact-section .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        height: auto;
        min-height: 600px;
    }

    .contact-section .gallery-item {
        height: 140px;
        min-height: 140px;
    }

    /* Overlay mobile optimisé */
    .contact-section .gallery-overlay {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 10px;
    }

    .contact-section .overlay-title {
        font-size: 1rem;
    }

    .contact-section .overlay-description {
        font-size: 0.8rem;
    }
}

/* Correction pour les images qui débordent */
.contact-section .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Assurer que le container de la galerie ne dépasse pas */
.contact-section .gallery-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Overlay toujours visible sur mobile */
@media (max-width: 768px) {
    .contact-section .gallery-item:hover {
        transform: none;
        /* Désactiver les effets hover sur mobile */
    }

    /* Forcer l'affichage de l'overlay sur mobile */
    .contact-section .gallery-overlay {
        transform: translateY(0) !important;
        /* Toujours visible */
        opacity: 1;
        position: absolute;
        bottom: 10px;
        left: 10px;
        right: 10px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 12px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        z-index: 10;
    }

    /* Pas d'animation hover sur mobile */
    .contact-section .gallery-item:hover .gallery-overlay {
        transform: translateY(0) !important;
    }

    /* Améliorer la lisibilité des textes sur mobile */
    .contact-section .overlay-title {
        font-size: 0.9rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 4px;
    }

    .contact-section .overlay-description {
        font-size: 0.8rem;
        color: #666;
        line-height: 1.3;
    }

    /* Ajouter un léger gradient en bas de l'image pour améliorer le contraste */
    .contact-section .gallery-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
        pointer-events: none;
        z-index: 5;
    }
}















/* Section Certifications */
.nos-certifications {
    padding: 80px 20px;
    background: #efecec;
    position: relative;
    overflow: hidden;
}

.nos-certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(42, 157, 143, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(23, 46, 119, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(42, 157, 143, 0.02) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.certifications-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.certifications-header {
    text-align: center;
    margin-bottom: 60px;
}

.certifications-header h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.certifications-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgb(23, 46, 119);
    border-radius: 2px;
}

.certifications-subtitle {
    font-size: 1.2rem;
    color: rgb(23, 46, 119);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.certification-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 2px solid rgba(42, 157, 143, 0.1);
    /* Bordure légère pour contraster avec le fond blanc */
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(23, 46, 119, 0.05), rgba(42, 157, 143, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certification-card:hover::before {
    opacity: 1;
}

.certification-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(23, 46, 119, 0.15);
    border-color: rgba(42, 157, 143, 0.3);
}

.cert-logo-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 3px solid rgba(42, 157, 143, 0.1);
    overflow: hidden;
    /* Important pour que l'image reste dans le cercle */
}

.certification-card:hover .cert-logo-container {
    background: linear-gradient(135deg, rgb(23, 46, 119));
    border-color: rgba(42, 157, 143, 0.3);
    transform: scale(1.05);
}

/* Style pour les images dans les cercles */
.cert-logo-container img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    /* L'image garde ses proportions */
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
}

.certification-card:hover .cert-logo-container img {
    transform: rotate(5deg) scale(1.05);
    background: rgba(255, 255, 255, 0.9);
}

/* Style pour le texte (garde l'ancien style si pas d'image) */
.cert-logo {
    width: 70px;
    height: 70px;
    background: rgb(23, 46, 119);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.certification-card:hover .cert-logo {
    background: white;
    color: rgb(23, 46, 119);
    transform: rotate(5deg);
}

/* Masquer le texte si une image est présente */
.cert-logo-container:has(img) .cert-logo {
    display: none;
}

.cert-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.certification-card:hover .cert-title {
    color: rgb(23, 46, 119);
}

.cert-description {
    font-size: 0.95rem;
    color: #7f8c8d;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.certification-card:hover .cert-description {
    color: #2c3e50;
}

.cert-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.certification-card:hover .cert-badge {
    opacity: 1;
    transform: scale(1);
}

/* Animation d'entrée */
.certification-card {
    opacity: 0;
    transform: translateY(30px);
}


@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nos-certifications {
        padding: 60px 15px;
    }

    .certifications-header h2 {
        font-size: 2.5rem;
    }

    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .certification-card {
        padding: 30px 20px;
    }

    .cert-logo-container {
        width: 100px;
        height: 100px;
    }

    .cert-logo-container img {
        width: 60px;
        height: 60px;
    }

    .cert-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Effet de brillance sur hover */
.certification-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s;
}

.certification-card:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}










/* Style pour le texte d'introduction */
.intro-text {
    text-align: center;
    padding: 50px 30px;
    color: #2c3e50;
    /* Texte en gris foncé plus élégant */
    font-size: 1.4rem;
    /* Taille réduite pour la phrase du bas */
    font-weight: 300;
    /* Police plus légère et moderne */
    line-height: 1.8;
    max-width: 900px;
    margin: 40px auto;
    position: relative;
    letter-spacing: 0.5px;
    /* Espacement des lettres pour plus d'élégance */
}

/* Style spécifique pour la première phrase (plus grande) */
.intro-text .first-line {
    font-size: 1.6rem;
    /* Plus grande que le texte du bas */
    display: block;
    margin-bottom: 20px;
}

/* Effet de soulignement animé sous le texte */
.intro-text::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: rgb(23, 46, 119);
    border-radius: 2px;
    animation: underlineGrow 2s ease-out 0.5s forwards;
}

@keyframes underlineGrow {
    to {
        width: 120px;
    }
}

/* Animation d'apparition du texte */
.intro-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style pour mettre en valeur "CIMMOB" */
.intro-text .company-name {
    color: rgb(23, 46, 119);
    font-weight: 600;
    position: relative;
}

.intro-text .company-name::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(23, 46, 119), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.intro-text:hover .company-name::before {
    transform: scaleX(1);
}

/* Responsive pour le texte d'intro */
@media (max-width: 768px) {
    .intro-text {
        font-size: 1.2rem;
        padding: 30px 15px;
    }
}




























































.amenagement-combles {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #ecf0f1 100%);
    position: relative;
    overflow: hidden;
}

/* Effet de particules en arrière-plan */
.amenagement-combles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(42, 157, 143, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(23, 46, 119, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(42, 157, 143, 0.03) 0%, transparent 50%);
    animation: particleMove 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes particleMove {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
        opacity: 0.8;
    }
}

.combles-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 80px;
    align-items: center;
}

.combles-content {
    position: relative;
}

.combles-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    line-height: 1.3;
}

.combles-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 120px;
    height: 5px;
    background: rgb(23, 46, 119);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(23, 46, 119, 0.3);
}

.combles-text {
    font-size: 1.3rem;
    color: #2c3e50;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 40px;
    text-align: justify;
    position: relative;
}

/* Mise en valeur des mots-clés */
.combles-text .highlight {
    color: rgb(23, 46, 119);
    font-weight: 600;
    position: relative;
}

.combles-text .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(23, 46, 119), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.combles-text:hover .highlight::after {
    transform: scaleX(1);
}

/* Localisation stylée */
.combles-location {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(23, 46, 119, 0.1));
    padding: 15px 25px;
    border-radius: 50px;
    border: 2px solid rgba(42, 157, 143, 0.2);
    font-weight: 600;
    color: rgb(23, 46, 119);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.combles-location::before {
    margin-right: 10px;
    font-size: 1.2rem;
}

.combles-location:hover {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.2), rgba(23, 46, 119, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 157, 143, 0.2);
}

/* Élément décoratif à droite */
.combles-visual {
    position: relative;
    height: 400px;
}

.visual-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border: 2px solid rgba(42, 157, 143, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.visual-card:nth-child(1) {
    top: 0;
    left: 0;
    width: 200px;
    background: rgb(7, 255, 8);
    color: white;
    transform: rotate(-5deg);
}

.visual-card:nth-child(2) {
    top: 120px;
    right: 0;
    width: 180px;
    background: linear-gradient(135deg, rgb(23, 46, 119), #1e3a8a);
    color: white;
    transform: rotate(8deg);
}

.visual-card:nth-child(3) {
    bottom: 0;
    left: 50px;
    width: 160px;
    background: white;
    color: #2c3e50;
    transform: rotate(-3deg);
}

.visual-card:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
}

.visual-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.visual-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Animation d'apparition */
.amenagement-combles {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de glow subtil sur hover de la section */
.amenagement-combles::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2a9d8f, rgb(23, 46, 119), #2a9d8f, transparent);
    transition: width 0.8s ease;
}

.amenagement-combles:hover::after {
    width: 80%;
}

/* Responsive */
@media (max-width: 1024px) {
    .combles-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .combles-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .combles-visual {
        height: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .amenagement-combles {
        padding: 60px 15px;
    }

    .combles-title {
        font-size: 2.2rem;
    }

    .combles-text {
        font-size: 1.1rem;
        text-align: left;
    }

    .visual-card {
        position: relative;
        transform: none !important;
        margin: 15px auto;
        width: auto;
        max-width: 250px;
    }

    .combles-visual {
        height: auto;
        display: flex;
        flex-direction: column;
    }
}

/* Micro-animations pour les cartes visuelles */
.visual-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #2a9d8f, rgb(23, 46, 119), #2a9d8f);
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.visual-card:hover::before {
    opacity: 0.3;
}

/* Style pour les puces personnalisées dans le texte */
.combles-benefits {
    margin: 30px 0;
    padding-left: 0;
}

.combles-benefits li {
    list-style: none;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.combles-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2a9d8f;
    font-weight: bold;
    font-size: 1.2rem;
}

















.transformation-combles {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ecf0f1 100%);
    position: relative;
    overflow: hidden;
}

/* Effet de particules flottantes en arrière-plan */
.transformation-combles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(23, 46, 119, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(42, 157, 143, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 40% 90%, rgba(23, 46, 119, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 90% 20%, rgba(42, 157, 143, 0.03) 1px, transparent 1px);
    background-size: 120px 120px, 80px 80px, 160px 160px, 100px 100px;
    animation: particleFloat 25s linear infinite;
    z-index: 1;
}

@keyframes particleFloat {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }

    100% {
        background-position: 100% 100%, -100% 100%, 100% -100%, -100% -100%;
    }
}

.transformation-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.transformation-content {
    position: relative;
}

.transformation-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.3;
    position: relative;
}



.transformation-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 5px;
    background: rgb(23, 46, 119);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(23, 46, 119, 0.3);
    animation: expandLine 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.8s;
}

@keyframes expandLine {
    to {
        width: 200px;
    }
}

.transformation-text {
    font-size: 1.25rem;
    color: #2c3e50;
    line-height: 1.9;
    font-weight: 300;
    text-align: justify;
    position: relative;
    padding: 25px 0;
}

/* Mise en valeur du nom CIMMOB */
.transformation-text .company-highlight {
    color: rgb(23, 46, 119);
    font-weight: 700;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.transformation-text .company-highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgb(23, 46, 119), transparent);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.transformation-text:hover .company-highlight::after {
    transform: scaleX(1);
}

/* Mise en valeur des éléments techniques */
.transformation-text .tech-highlight {
    color: rgb(23, 46, 119);
    font-weight: 600;
    position: relative;
}

.transformation-text .tech-highlight::before {
    content: '●';
    color: rgb(23, 46, 119);
    margin-right: 5px;
    font-size: 0.8rem;
}

/* Section visuelle à droite */
.transformation-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.visual-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(42, 157, 143, 0.1);
    overflow: hidden;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.floating-card:hover::before {
    left: 100%;
}

.floating-card:hover {
    transform: translateY(-10px) rotateY(5deg) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(23, 46, 119, 0.2);
    border-color: rgba(42, 157, 143, 0.3);
}

/* Positionnement des cartes flottantes */
.card-suite {
    top: 0;
    left: 0;
    width: 200px;
    background: rgb(7, 255, 8);
    color: white;
    transform: rotate(-5deg);
    animation: floatCard1 4s ease-in-out infinite;
}

.card-chambre {
    top: 120px;
    right: 20px;
    width: 180px;
    background: linear-gradient(135deg, rgb(23, 46, 119), #1e3a8a);
    color: white;
    transform: rotate(8deg);
    animation: floatCard2 4s ease-in-out infinite 1s;
}

.card-bureau {
    bottom: 80px;
    left: 60px;
    width: 170px;
    background: white;
    color: #2c3e50;
    transform: rotate(-3deg);
    animation: floatCard3 4s ease-in-out infinite 2s;
}

.card-technique {
    bottom: 0;
    right: 0;
    width: 190px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #2c3e50;
    transform: rotate(4deg);
    border: 2px solid rgb(23, 46, 119);
    animation: floatCard4 4s ease-in-out infinite 0.5s;
}

/* Animations de flottement */
@keyframes floatCard1 {

    0%,
    100% {
        transform: rotate(-5deg) translateY(0px);
    }

    50% {
        transform: rotate(-5deg) translateY(-15px);
    }
}

@keyframes floatCard2 {

    0%,
    100% {
        transform: rotate(8deg) translateY(0px);
    }

    50% {
        transform: rotate(8deg) translateY(-20px);
    }
}

@keyframes floatCard3 {

    0%,
    100% {
        transform: rotate(-3deg) translateY(0px);
    }

    50% {
        transform: rotate(-3deg) translateY(-10px);
    }
}

@keyframes floatCard4 {

    0%,
    100% {
        transform: rotate(4deg) translateY(0px);
    }

    50% {
        transform: rotate(4deg) translateY(-12px);
    }
}

.floating-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
}

.floating-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

/* Icônes décorative */
.card-suite::after {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
}

.card-chambre::after {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
}

.card-bureau::after {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
}

.card-technique::after {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
}


/* Animation d'apparition générale */
.transformation-combles {
    opacity: 0;
    animation: sectionFadeIn 1.2s ease-out 0.3s forwards;
}

@keyframes sectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .transformation-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .transformation-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .transformation-visual {
        height: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .transformation-combles {
        padding: 60px 15px;
    }

    .transformation-title {
        font-size: 2.2rem;
    }

    .transformation-text {
        font-size: 1.1rem;
        text-align: left;
    }

    .floating-card {
        position: relative !important;
        transform: none !important;
        margin: 15px auto;
        width: auto !important;
        max-width: 280px;
        animation: none !important;
    }

    .transformation-visual {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .transformation-visual::before {
        display: none;
    }
}

/* Effet de halo sur hover de la section */
.transformation-combles:hover::before {
    animation-duration: 15s;
}



@keyframes sideGlow {

    0%,
    100% {
        height: 0;
        opacity: 0;
    }

    50% {
        height: 100px;
        opacity: 1;
    }
}


.transformation-combles.scroll-animation-disabled {
    opacity: 0;
    transform: translateY(50px);
    animation: none !important;
}

.transformation-combles .title-underline-animated::after {
    animation: expandLine 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards !important;
}

/* Empêcher l'animation automatique du soulignement */
.transformation-title::after {
    width: 0 !important;
    animation: none !important;
}

/* Performance : activer l'accélération GPU pour la nouvelle section */
.transformation-combles.scroll-animation-disabled,
.transformation-combles.animated {
    will-change: opacity, transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Réduire les animations sur mobile pour la nouvelle section */
@media (max-width: 768px) {
    .transformation-combles.scroll-animation-disabled {
        transform: translateY(30px);
    }

    .transformation-combles .floating-card {
        transition-duration: 0.6s;
    }
}

/* Préférence utilisateur : réduire les animations si demandé */
@media (prefers-reduced-motion: reduce) {

    .transformation-combles.scroll-animation-disabled,
    .transformation-combles.animated,
    .transformation-combles .floating-card {
        animation: none !important;
        transition: opacity 0.3s ease !important;
    }
}
























/* Section Hero Charpente avec animation d'entrée */
.charpente-hero-section {
    padding: 50px 20px;
    background: white;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    animation: sectionFadeIn 1.2s ease-out 0.3s forwards;
}

/* Animation d'apparition de la section */
@keyframes sectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.charpente-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Section Images avec disposition moins alignée et plus dynamique */
.charpente-images {
    position: relative;
    height: 500px;
    width: 100%;
}

.image-item {
    position: absolute;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: imageSlideIn 0.8s ease-out forwards;
}

/* Animation échelonnée pour les images */
.image-item:nth-child(1) {
    animation-delay: 0.5s;
}

.image-item:nth-child(2) {
    animation-delay: 0.7s;
}

.image-item:nth-child(3) {
    animation-delay: 0.9s;
}

@keyframes imageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-item:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 20px 40px rgba(23, 46, 119, 0.15);
    z-index: 10;
}

/* Disposition asymétrique des images */
.image-item.large {
    top: 0;
    left: 0;
    width: 55%;
    height: 75%;
    transform: rotate(-2deg);
}

.image-item.small-top {
    top: 15px;
    right: 20px;
    width: 35%;
    height: 35%;
    transform: rotate(3deg);
    z-index: 2;
}

.image-item.small-bottom {
    bottom: 10px;
    right: 0;
    width: 40%;
    height: 40%;
    transform: rotate(-1deg);
    z-index: 1;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

/* Effet de superposition légère */
.image-item.small-bottom {
    transform: rotate(-1deg) translateX(-15px);
}

/* Ajout d'ombres différentes selon la position */
.image-item.large {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-item.small-top {
    box-shadow: 0 10px 30px rgba(23, 46, 119, 0.2);
}

.image-item.small-bottom {
    box-shadow: 0 15px 40px rgba(42, 157, 143, 0.2);
}

/* Responsive - version mobile améliorée */
@media (max-width: 768px) {
    .charpente-images {
        height: 450px;
        position: relative;
        /* Garde le positionnement absolu même sur mobile */
    }

    .image-item.large {
        top: 20px;
        left: 10px;
        width: 65%;
        height: 55%;
        transform: rotate(-1deg);
        z-index: 1;
    }

    .image-item.small-top {
        top: 10px;
        right: 10px;
        width: 40%;
        height: 40%;
        transform: rotate(2deg);
        z-index: 3;
    }

    .image-item.small-bottom {
        bottom: 20px;
        right: 5px;
        width: 45%;
        height: 35%;
        transform: rotate(-1.5deg) translateX(-10px);
        z-index: 2;
    }

    /* Ajustement des ombres pour mobile */
    .image-item.large {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }

    .image-item.small-top {
        box-shadow: 0 8px 25px rgba(23, 46, 119, 0.18);
    }

    .image-item.small-bottom {
        box-shadow: 0 12px 30px rgba(42, 157, 143, 0.18);
    }
}

@media (max-width: 480px) {
    .charpente-images {
        height: 380px;
    }

    .image-item.large {
        top: 15px;
        left: 5px;
        width: 70%;
        height: 60%;
        transform: rotate(-0.5deg);
    }

    .image-item.small-top {
        top: 5px;
        right: 5px;
        width: 35%;
        height: 35%;
        transform: rotate(1.5deg);
    }

    .image-item.small-bottom {
        bottom: 15px;
        right: 0;
        width: 40%;
        height: 32%;
        transform: rotate(-1deg) translateX(-5px);
    }

    /* Hover effects réduits sur mobile */
    .image-item:hover {
        transform: translateY(-3px) rotate(0.5deg);
    }
}

/* Section Contenu avec animations */
.charpente-hero-content {
    padding-left: 40px;
    opacity: 0;
    transform: translateX(30px);
    animation: contentSlideIn 1s ease-out 0.6s forwards;
}

@keyframes contentSlideIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* CORRECTION : Titre avec la couleur du site */
.charpente-hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    /* Couleur cohérente avec le site */
    margin-bottom: 30px;
    line-height: 1.3;
    position: relative;
}

/* Ajout du soulignement comme sur les autres sections */
.charpente-hero-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 5px;
    background: rgb(23, 46, 119);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(23, 46, 119, 0.3);
    animation: titleUnderline 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 1.2s;
}

@keyframes titleUnderline {
    to {
        width: 120px;
    }
}

.charpente-hero-text {
    margin-bottom: 40px;
}

.charpente-hero-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: textSlideIn 0.8s ease-out forwards;
}

/* Animation échelonnée pour les paragraphes */
.charpente-hero-text p:nth-child(1) {
    animation-delay: 0.8s;
}

.charpente-hero-text p:nth-child(2) {
    animation-delay: 1.0s;
}

.charpente-hero-text p:nth-child(3) {
    animation-delay: 1.2s;
}

.charpente-hero-text p:nth-child(4) {
    animation-delay: 1.4s;
}

@keyframes textSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.charpente-hero-text .highlight {
    color: rgb(23, 46, 119);
    font-weight: 600;
}

/* CORRECTION : Bouton avec les couleurs du site */
.contact-btn-new {
    display: inline-block;
    background: linear-gradient(135deg, rgb(23, 46, 119), #1e3a8a);
    color: white;
    padding: 18px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(23, 46, 119, 0.3);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(30px);
    animation: buttonSlideIn 0.8s ease-out 1.4s forwards;
}

@keyframes buttonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-btn-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgb(7, 255, 8);
    transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-btn-new:hover::before {
    left: 0;
}

.contact-btn-new:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(23, 46, 119, 0.4);
}

.contact-btn-new span {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .charpente-hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .charpente-hero-content {
        padding-left: 0;
        animation: contentSlideInMobile 1s ease-out 0.6s forwards;
    }

    @keyframes contentSlideInMobile {
        0% {
            opacity: 0;
            transform: translateY(30px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .charpente-hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .charpente-images {
        height: 400px;
        order: 2;
    }
}

@media (max-width: 768px) {
    .charpente-hero-section {
        padding: 60px 15px;
    }

    .charpente-hero-title {
        font-size: 2rem;
    }

    .charpente-images {
        height: 300px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
    }

    .image-item.large {
        grid-row: span 1;
    }

    .image-item.small-top,
    .image-item.small-bottom {
        grid-column: 1;
    }

    .contact-btn-new {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Animation pour les utilisateurs qui préfèrent moins d'animations */
@media (prefers-reduced-motion: reduce) {

    .charpente-hero-section,
    .image-item,
    .charpente-hero-content,
    .charpente-hero-text p,
    .contact-btn-new {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .charpente-hero-title::after {
        width: 120px !important;
        animation: none !important;
    }
}
























/* Section Carousel Charpente - Version 3 carousels */
.charpente-carousel-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ecf0f1 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    animation: charpenteSectionFadeIn 1.2s ease-out 0.3s forwards;
}

@keyframes charpenteSectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.charpente-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Titre du carousel */
.charpente-carousel-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: charpenteHeaderSlideIn 1s ease-out 0.6s forwards;
}

@keyframes charpenteHeaderSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.charpente-carousel-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.charpente-carousel-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: rgb(23, 46, 119);
    border-radius: 2px;
    animation: charpenteTitleUnderline 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 1s;
}

@keyframes charpenteTitleUnderline {
    to {
        width: 150px;
    }
}

.charpente-carousel-subtitle {
    font-size: 1.2rem;
    color: rgb(23, 46, 119);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Container pour les 3 carousels - disposition spéciale */
.charpente-carousels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Le 3e carousel prend toute la largeur et se centre */
.charpente-carousel-wrapper:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - 20px);
    justify-self: center;
    margin-top: 20px;
}

/* Container individuel du carousel */
.charpente-carousel-wrapper {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 2px solid rgba(42, 157, 143, 0.1);
    opacity: 0;
    transform: translateY(40px);
    animation: charpenteCarouselSlideIn 1s ease-out forwards;
    width: 100%;
    max-width: none;
}

.charpente-carousel-wrapper:nth-child(1) {
    animation-delay: 0.8s;
}

.charpente-carousel-wrapper:nth-child(2) {
    animation-delay: 1s;
}

.charpente-carousel-wrapper:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes charpenteCarouselSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Barre de progression en haut */
.charpente-carousel-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgb(23, 46, 119);
    z-index: 10;
}

.charpente-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Items du carousel - agrandis uniformément */
.charpente-carousel-item {
    min-width: 100%;
    position: relative;
    height: 380px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.charpente-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.charpente-carousel-item img:hover {
    transform: scale(1.05);
}

/* Lightbox pour agrandir les images */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lightboxFadeIn 0.3s ease-out;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: lightboxImageScale 0.3s ease-out;
}

@keyframes lightboxImageScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Contrôles de navigation dans le lightbox */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.8rem;
    font-weight: bold;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Info de navigation dans le lightbox */
.lightbox-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10001;
}

/* Overlay avec info - supprimé */

/* Contrôles du carousel - adaptés à la taille */
.charpente-carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid rgba(42, 157, 143, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 5;
    color: rgb(23, 46, 119);
    font-size: 1.4rem;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: charpenteControlsAppear 0.8s ease-out forwards;
}

.charpente-carousel-wrapper:nth-child(1) .charpente-carousel-controls {
    animation-delay: 1.2s;
}

.charpente-carousel-wrapper:nth-child(2) .charpente-carousel-controls {
    animation-delay: 1.4s;
}

.charpente-carousel-wrapper:nth-child(3) .charpente-carousel-controls {
    animation-delay: 1.6s;
}

@keyframes charpenteControlsAppear {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.charpente-carousel-prev {
    left: 20px;
}

.charpente-carousel-next {
    right: 20px;
}

.charpente-carousel-controls:hover {
    background: rgb(23, 46, 119);
    color: white;
    border-color: rgb(23, 46, 119);
    box-shadow: 0 10px 25px rgba(23, 46, 119, 0.3);
}

/* Indicateurs (dots) - plus petits */
.charpente-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0 15px;
    opacity: 0;
    animation: charpenteIndicatorsAppear 0.8s ease-out forwards;
}

.charpente-carousel-wrapper:nth-child(1) .charpente-carousel-indicators {
    animation-delay: 1.4s;
}

.charpente-carousel-wrapper:nth-child(2) .charpente-carousel-indicators {
    animation-delay: 1.6s;
}

.charpente-carousel-wrapper:nth-child(3) .charpente-carousel-indicators {
    animation-delay: 1.8s;
}

@keyframes charpenteIndicatorsAppear {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.charpente-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(42, 157, 143, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.charpente-indicator.active {
    background: rgb(23, 46, 119);
    transform: scale(1.2);
}

.charpente-indicator:hover {
    background: rgba(23, 46, 119, 0.6);
}

/* Badge avec numéro de slide - adapté */
.charpente-slide-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(23, 46, 119, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    animation: charpenteCounterAppear 0.8s ease-out forwards;
}

.charpente-carousel-wrapper:nth-child(1) .charpente-slide-counter {
    animation-delay: 1s;
}

.charpente-carousel-wrapper:nth-child(2) .charpente-slide-counter {
    animation-delay: 1.2s;
}

.charpente-carousel-wrapper:nth-child(3) .charpente-slide-counter {
    animation-delay: 1.4s;
}

@keyframes charpenteCounterAppear {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive pour la nouvelle disposition */
@media (max-width: 1200px) {
    .charpente-carousels-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .charpente-carousel-wrapper:nth-child(3) {
        grid-column: 1;
        margin-top: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .charpente-carousel-section {
        padding: 60px 15px;
    }

    .charpente-carousel-title {
        font-size: 2.2rem;
    }

    .charpente-carousels-grid {
        gap: 20px;
    }

    .charpente-carousel-item {
        height: 350px;
    }

    .charpente-carousel-controls {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .charpente-carousel-prev {
        left: 10px;
    }

    .charpente-carousel-next {
        right: 10px;
    }
}

/* Préférence utilisateur : réduire les animations */
@media (prefers-reduced-motion: reduce) {

    .charpente-carousel-section,
    .charpente-carousel-header,
    .charpente-carousel-wrapper,
    .charpente-carousel-controls,
    .charpente-carousel-indicators,
    .charpente-slide-counter {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .charpente-carousel-title::after {
        width: 150px !important;
        animation: none !important;
    }

    .charpente-carousel-track {
        transition: transform 0.3s ease !important;
    }
}


































/* Section Velux Features - Version Ultra-Optimisée */
.velux-features-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ecf0f1 100%);
    position: relative;
    overflow: hidden;
    /* Seule animation d'entrée conservée */
    opacity: 0;
    transform: translateY(20px);
    animation: veluxSectionFadeIn 0.5s ease-out 0.1s forwards;
}

/* Animation d'entrée ultra-simplifiée */
@keyframes veluxSectionFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de fond statique - plus d'animations */
.velux-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(42, 157, 143, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(23, 46, 119, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.velux-features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

/* Cartes de contenu - animations d'entrée seulement */
.velux-feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(42, 157, 143, 0.1);
    /* Plus de transitions hover - seulement animation d'entrée */
    opacity: 0;
    transform: translateY(15px);
    animation: veluxCardFadeIn 0.4s ease-out forwards;
}

.velux-feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.velux-feature-card:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes veluxCardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Suppression de tous les effets hover */
.velux-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgb(23, 46, 119);
}

/* Titres des cartes - animation d'entrée uniquement */
.velux-card-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    /* Animation d'entrée simple */
    opacity: 0;
    animation: veluxTitleFadeIn 0.3s ease-out forwards;
}

.velux-feature-card:nth-child(1) .velux-card-title {
    animation-delay: 0.4s;
}

.velux-feature-card:nth-child(2) .velux-card-title {
    animation-delay: 0.5s;
}

@keyframes veluxTitleFadeIn {
    to {
        opacity: 1;
    }
}

/* Soulignement statique - apparition directe sans animation */
.velux-card-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: rgb(23, 46, 119);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(42, 157, 143, 0.3);
    /* Apparition directe - plus d'animation */
    opacity: 0;
    animation: veluxUnderlineFadeIn 0.2s ease-out forwards;
}

.velux-feature-card:nth-child(1) .velux-card-title::after {
    animation-delay: 0.6s;
}

.velux-feature-card:nth-child(2) .velux-card-title::after {
    animation-delay: 0.7s;
}

@keyframes veluxUnderlineFadeIn {
    to {
        opacity: 1;
    }
}

/* Contenu des cartes - animation d'entrée minimaliste */
.velux-card-content {
    position: relative;
}

.velux-card-content p {
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
    text-align: justify;
    /* Animation d'entrée ultra-simple */
    opacity: 0;
    animation: veluxTextFadeIn 0.2s ease-out forwards;
}

/* Animation échelonnée très réduite - délais minimes */
.velux-feature-card:nth-child(1) .velux-card-content p {
    animation-delay: 0.5s;
}

.velux-feature-card:nth-child(2) .velux-card-content p {
    animation-delay: 0.6s;
}

@keyframes veluxTextFadeIn {
    to {
        opacity: 1;
    }
}

/* Mise en valeur des mots-clés - statique */
.velux-highlight {
    color: rgb(23, 46, 119);
    font-weight: 600;
    /* Plus d'effets hover - couleur statique */
}

/* Icônes décoratives - complètement statiques */
.velux-icon-decoration {
    position: absolute;
    font-size: 6rem;
    opacity: 0.02;
    z-index: 0;
}

.velux-feature-card:nth-child(1) .velux-icon-decoration {
    top: -20px;
    right: -10px;
    color: #2a9d8f;
}

.velux-feature-card:nth-child(2) .velux-icon-decoration {
    top: -15px;
    right: -15px;
    color: rgb(23, 46, 119);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .velux-features-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .velux-features-section {
        padding: 80px 15px;
    }

    .velux-feature-card {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .velux-features-section {
        padding: 60px 15px;
    }

    .velux-feature-card {
        padding: 30px 25px;
    }

    .velux-card-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .velux-card-content p {
        font-size: 1rem;
        text-align: left;
    }

    .velux-features-container {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .velux-feature-card {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .velux-card-title {
        font-size: 1.4rem;
    }

    .velux-card-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Préférence utilisateur : réduction d'animations */
@media (prefers-reduced-motion: reduce) {

    .velux-features-section,
    .velux-feature-card,
    .velux-card-title,
    .velux-card-content p,
    .velux-card-title::after {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Performance maximisée */
.velux-features-section {
    /* Force l'accélération GPU seulement le temps des animations d'entrée */
    will-change: opacity, transform;
}

.velux-feature-card {
    will-change: opacity, transform;
}

/* Désactiver will-change après les animations pour économiser les ressources */
.velux-features-section.animation-complete,
.velux-feature-card.animation-complete {
    will-change: auto;
}







































.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 73, 94, 0.8));
    backdrop-filter: blur(10px);
    z-index: 10000;
    animation: fadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}



.popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 450px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup-content::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-image: url('img/logoCimmob.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

.popup-header {
    text-align: center;
    padding: 80px 30px 25px;
    background: rgba(248, 250, 252, 0.3);
    border-bottom: 1px solid rgba(42, 157, 143, 0.1);
    position: relative;
}

.popup-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px auto;
    background-image: url('../img/logoCimmob.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: bounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
    font-size: 0;
    text-indent: -9999px;
    overflow: hidden;
}

.popup-header h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    background: rgb(23, 46, 119);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-body {
    padding: 30px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-body p {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
    width: 100%;
}

.popup-footer {
    padding: 20px 30px 30px;
    text-align: center;
    background: rgba(248, 250, 252, 0.3);
}

.popup-btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 0 5px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.popup-btn-primary {
    background: linear-gradient(135deg, rgb(23, 46, 119), #1e3a8a);
    color: white;
    box-shadow:
        0 8px 25px rgba(23, 46, 119, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.popup-btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a, #1a365d);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(23, 46, 119, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.popup-btn-primary span {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 600px) {
    .popup-content {
        width: calc(100% - 40px);
        border-radius: 20px;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }

    .popup-header {
        padding: 30px 20px 20px;
    }

    .popup-icon {
        width: 110px;
        height: 110px;
    }

    .popup-header h3 {
        font-size: 22px;
    }

    .popup-body {
        padding: 20px;
    }

    .popup-footer {
        padding: 15px 20px 25px;
    }

    .popup-btn-primary {
        padding: 12px 25px;
        font-size: 15px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes bounce {

    0%,
    20%,
    60%,
    100% {
        transform: translateY(0) scale(1);
    }

    40% {
        transform: translateY(-8px) scale(1.05);
    }

    80% {
        transform: translateY(-3px) scale(1.02);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Effets de particules comme sur le formulaire */
.popup-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(42, 157, 143, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(23, 46, 119, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(42, 157, 143, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 80px 80px, 120px 120px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
    opacity: 0.3;
}

@keyframes particleFloat {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
    }

    100% {
        background-position: 100% 100%, -100% 100%, 100% -100%;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .popup-content {
        margin: 20px;
        width: calc(100% - 40px);
        border-radius: 20px;
    }

    .popup-header {
        padding: 30px 20px 20px;
    }

    .popup-icon {
        width: 110px;
        height: 110px;
    }

    .popup-header h3 {
        font-size: 22px;
    }

    .popup-body {
        padding: 20px;
    }

    .popup-footer {
        padding: 15px 20px 25px;
    }

    .popup-btn-primary {
        padding: 12px 25px;
        font-size: 15px;
    }
}














/* Masquer les éléments de la section contact avant animation */
.contact-section .contact-title,
.contact-section .contact-description,
.contact-section .contact-btn-new,
.contact-section .gallery-item {
    opacity: 0;
    visibility: hidden;
}

/* Garder les éléments visibles une fois animés */
.contact-section.animated .contact-title,
.contact-section.animated .contact-description,
.contact-section.animated .contact-btn-new,
.contact-section.animated .gallery-item {
    visibility: visible;
}


/* Masquer les cartes avant animation - Nos Atouts */
.nos-atouts .atout-card.scroll-animation-disabled {
    opacity: 0;
    transform: translateY(50px);
}

/* Masquer les cartes avant animation - Certifications */
.nos-certifications .certification-card.scroll-animation-disabled {
    opacity: 0;
    transform: translateY(50px);
}


.contact-section .gallery-item {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Optimisation après animation */
.contact-section.animated .gallery-item {
    will-change: auto;
}

/* Transition plus douce pour les images */
.contact-section .gallery-image {
    transition: transform 0.3s ease-out;
}

























.simulateur-devis-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ecf0f1 100%);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    animation: sectionFadeIn 1.2s ease-out 0.3s forwards;
}

@keyframes sectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de particules en arrière-plan */
.simulateur-devis-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(42, 157, 143, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(23, 46, 119, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(42, 157, 143, 0.03) 0%, transparent 50%);
    animation: particleMove 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes particleMove {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
        opacity: 0.8;
    }
}

.simulateur-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* En-tête du simulateur */
.simulateur-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: headerSlideIn 1s ease-out 0.6s forwards;
}

@keyframes headerSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.simulateur-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.simulateur-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: rgb(23, 46, 119);
    border-radius: 2px;
    animation: titleUnderline 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 1s;
}

@keyframes titleUnderline {
    to {
        width: 180px;
    }
}

.simulateur-subtitle {
    font-size: 1.2rem;
    color: rgb(23, 46, 119);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.disclaimer {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin: 30px auto;
    max-width: 600px;
    text-align: center;
    font-size: 0.95rem;
    color: #856404;
    font-weight: 500;
}

/* Container principal du simulateur */
.simulateur-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

/* Formulaire du simulateur */
.simulateur-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(42, 157, 143, 0.1);
    opacity: 0;
    transform: translateY(40px);
    animation: formSlideIn 1s ease-out 0.8s forwards;
}

@keyframes formSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.simulateur-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgb(23, 46, 119);
    border-radius: 25px 25px 0 0;
}

/* Étapes du formulaire */
.etape {
    display: none;
    animation: fadeInStep 0.5s ease-out forwards;
}

.etape.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.etape-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
}

.etape-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: rgb(23, 46, 119);
    border-radius: 2px;
}

/* Indicateur de progression */
.progress-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(42, 157, 143, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.progress-step.active {
    background: rgb(23, 46, 119);
    color: white;
    transform: scale(1.1);
}

.progress-step.completed {
    background: rgb(7, 255, 8);
    color: white;
}

/* Ligne de connexion entre les étapes */
.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 25px;
    height: 2px;
    background: rgba(42, 157, 143, 0.3);
    transform: translateY(-50%);
}

.progress-step.completed:not(:last-child)::after {
    background: rgb(7, 255, 8);
}

/* Questions et options */
.question-group {
    margin-bottom: 30px;
}

.question-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.option-card {
    background: rgba(248, 250, 252, 0.8);
    border: 2px solid rgba(42, 157, 143, 0.1);
    border-radius: 15px;
    padding: 20px;
    padding-right: 100px;
    /* Ajout d'espace à droite pour le prix */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    min-height: 80px;
    /* Hauteur minimale pour éviter le chevauchement */
}

.option-card:hover {
    border-color: rgba(42, 157, 143, 0.3);
    background: rgba(42, 157, 143, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 157, 143, 0.1);
}

.option-card.selected {
    border-color: rgb(23, 46, 119);
    background: rgba(23, 46, 119, 0.1);
    box-shadow: 0 8px 25px rgba(23, 46, 119, 0.2);
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
    display: none;
}

.option-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1rem;
    padding-right: 10px;
    /* Espace supplémentaire pour éviter le chevauchement */
}

.option-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    padding-right: 10px;
    /* Espace supplémentaire pour éviter le chevauchement */
}

.option-price {
    position: absolute;
    top: 15px;
    right: 10px;
    /* Réduction de la marge droite */
    background: rgb(23, 46, 119);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    /* Réduction légère de la taille de police */
    font-weight: 600;
    white-space: nowrap;
    /* Empêche le retour à la ligne */
    z-index: 1;
    /* Assure que le prix reste au-dessus */
}

/* Champs de saisie */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(42, 157, 143, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(248, 250, 252, 0.8);
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: rgb(23, 46, 119);
    background: white;
    box-shadow: 0 0 0 3px rgba(23, 46, 119, 0.1);
}

/* Boutons de navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(42, 157, 143, 0.1);
}

.btn-nav {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-prev {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 2px solid rgba(108, 117, 125, 0.2);
}

.btn-prev:hover {
    background: rgba(108, 117, 125, 0.2);
    transform: translateY(-2px);
}

.btn-next,
.btn-generate {
    background: linear-gradient(135deg, rgb(23, 46, 119), #1e3a8a);
    color: white;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-next::before,
.btn-generate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgb(7, 255, 8);
    transition: left 0.5s ease;
}

.btn-next:hover::before,
.btn-generate:hover::before {
    left: 0;
}

.btn-next:hover,
.btn-generate:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(23, 46, 119, 0.3);
}

.btn-next span,
.btn-generate span {
    position: relative;
    z-index: 1;
}

/* Panneau de résumé */
.devis-summary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 40px;
    position: sticky;
    top: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(42, 157, 143, 0.1);
    opacity: 0;
    transform: translateY(40px);
    animation: summarySlideIn 1s ease-out 1s forwards;
}

@keyframes summarySlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.devis-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(7, 255, 8), rgb(23, 46, 119));
    border-radius: 25px 25px 0 0;
}

.summary-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(42, 157, 143, 0.1);
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: rgb(23, 46, 119);
    margin-top: 15px;
    padding-top: 20px;
    border-top: 2px solid rgba(42, 157, 143, 0.2);
}

.summary-label {
    color: #666;
}

.summary-value {
    font-weight: 600;
    color: #2c3e50;
}

.price-total {
    font-size: 1.8rem;
    color: rgb(23, 46, 119);
}

.download-section {
    margin-top: 30px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.download-section.active {
    opacity: 1;
}

.btn-download {
    background: rgb(23, 46, 119);
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.02);
}

/* Responsive */
@media (max-width: 1024px) {
    .simulateur-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .devis-summary {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .simulateur-devis-section {
        padding: 60px 15px;
    }

    .simulateur-title {
        font-size: 2.2rem;
    }

    .simulateur-form,
    .devis-summary {
        padding: 25px;
    }

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

    .progress-indicator {
        flex-wrap: wrap;
        gap: 10px;
    }

    .progress-step {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Animation de chargement */
.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading.active {
    display: block;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(42, 157, 143, 0.1);
    border-left: 4px solid rgb(23, 46, 119);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.btn-contact {
    display: inline-block;
    background: #fff;
    color: #667eea;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.btn-contact:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #5a67d8;
}












/* Structure hero-slider pour remplacer header */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

/* Tous les styles du slider restent identiques */
.hero-slider .slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-slider .slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.0);
    transition: opacity 1s ease-in-out, transform 10s ease-out;
    z-index: 0;
}

.hero-slider .slider img.active {
    opacity: 1;
    transform: scale(1.15);
    z-index: 1;
}

/* Logo et animations restent identiques */
.hero-slider .Logo {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 10;
    opacity: 0;
    animation: fade-in-logo 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.hero-slider .slider-logo {
    width: 400px;
    height: auto;
    transition: transform 0.5s ease;
}

.hero-slider .slider-text {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
    transition: transform 0.5s ease;
}

.hero-slider .Logo:hover .slider-logo {
    transform: scale(0.9);
}

.hero-slider .Logo:hover .slider-text {
    transform: scale(1.2);
}

/* Bouton contact identique */
.hero-slider .contact-container {
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: button-appear 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.5s;
}















.carousel-title {
    position: absolute;
    left: -9999px;
    /* Invisible mais lisible par les moteurs */
}
























/* CTA Final - Version Modernisée et Compacte */
.charpente-cta-final {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: ctaSectionFadeIn 1s ease-out 0.3s forwards;
}

@keyframes ctaSectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de particules subtiles */
.charpente-cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(42, 157, 143, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(23, 46, 119, 0.03) 1px, transparent 1px);
    background-size: 100px 100px, 120px 120px;
    animation: particleFloat 20s linear infinite;
    z-index: 1;
}

@keyframes particleFloat {
    0% {
        background-position: 0% 0%, 0% 0%;
    }

    100% {
        background-position: 100% 100%, -100% 100%;
    }
}

.cta-final-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(42, 157, 143, 0.1);
    overflow: hidden;
}

/* Bordure supérieure colorée */
.cta-final-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(7, 255, 8), rgb(23, 46, 119));
    border-radius: 25px 25px 0 0;
}

/* Titre principal */
.cta-final-container h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: ctaTitleSlideIn 0.8s ease-out 0.6s forwards;
}

@keyframes ctaTitleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-final-container h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: rgb(23, 46, 119);
    border-radius: 2px;
    animation: ctaTitleUnderline 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 1.2s;
}

@keyframes ctaTitleUnderline {
    to {
        width: 80px;
    }
}

/* Description */
.cta-final-container p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(15px);
    animation: ctaTextSlideIn 0.8s ease-out 0.8s forwards;
}

@keyframes ctaTextSlideIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Bouton principal - Effet hover subtil */
.cta-final-btn {
    display: inline-block;
    background: linear-gradient(135deg, rgb(23, 46, 119), #1e3a8a);
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(23, 46, 119, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: ctaButtonSlideIn 0.8s ease-out 1.2s forwards;
}

@keyframes ctaButtonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cta-final-btn:hover {
    background: linear-gradient(135deg, rgb(7, 255, 8), #06cc06);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(7, 255, 8, 0.3);
}

.cta-final-btn span {
    position: relative;
    z-index: 1;
}

/* Badge de garantie */
.cta-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(7, 255, 8, 0.1);
    border: 1px solid rgba(7, 255, 8, 0.3);
    color: rgb(23, 46, 119);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 25px;
    opacity: 0;
    animation: ctaGuaranteeSlideIn 0.6s ease-out 1.4s forwards;
}

@keyframes ctaGuaranteeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-guarantee::before {
    content: '✓';
    color: rgb(7, 255, 8);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .charpente-cta-final {
        padding: 40px 15px;
    }

    .cta-final-container {
        padding: 35px 25px;
        border-radius: 20px;
    }

    .cta-final-container h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .cta-final-container p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .cta-contact-info {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }

    .cta-final-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .cta-guarantee {
        font-size: 0.85rem;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .cta-final-container h2 {
        font-size: 1.6rem;
    }

    .cta-final-container p {
        font-size: 0.95rem;
    }

    .cta-final-btn {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
}

/* Effet de brillance */
.cta-final-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.8s;
    opacity: 0;
}

.cta-final-container:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    opacity: 1;
}

/* Optimisation pour les préférences utilisateur */
@media (prefers-reduced-motion: reduce) {

    .charpente-cta-final,
    .cta-final-container h2,
    .cta-final-container p,
    .cta-contact-info,
    .cta-final-btn,
    .cta-guarantee {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .cta-final-container h2::after {
        width: 80px !important;
        animation: none !important;
    }
}












/* Correctif pour le bouton "Contactez-nous" sur mobile dans le slider */
@media (max-width: 768px) {

    .hero-slider .contact-btn,
    .contact-container .contact-btn {
        padding: 12px 20px;
        /* Réduction du padding horizontal */
        font-size: 0.95rem;
        /* Légère réduction de la taille de police */
        white-space: nowrap;
        /* Empêche le retour à la ligne */
        min-width: 200px;
        /* Largeur minimale pour éviter la compression */
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-slider .contact-btn span,
    .contact-container .contact-btn span {
        white-space: nowrap;
        /* Empêche le texte de se couper */
        display: inline-block;
    }
}

@media (max-width: 480px) {

    .hero-slider .contact-btn,
    .contact-container .contact-btn {
        padding: 10px 18px;
        /* Padding encore plus réduit pour très petits écrans */
        font-size: 0.9rem;
        min-width: 180px;
        border-radius: 25px;
        /* Réduction du border-radius pour économiser l'espace */
    }
}

@media (max-width: 380px) {

    .hero-slider .contact-btn,
    .contact-container .contact-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
        min-width: 160px;
        letter-spacing: 0.3px;
        /* Réduction de l'espacement des lettres */
    }
}

/* Assurer que le container du bouton ne compresse pas le bouton */
.hero-slider .contact-container,
.contact-container {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Version alternative si le problème persiste - texte plus court sur mobile */
@media (max-width: 320px) {

    .hero-slider .contact-btn span,
    .contact-container .contact-btn span {
        font-size: 0.8rem;
    }

    /* Option : remplacer le texte par une version plus courte sur très petits écrans */
    .hero-slider .contact-btn span::after,
    .contact-container .contact-btn span::after {
        content: "Contact";
        /* Texte plus court en dernier recours */
    }

    .hero-slider .contact-btn span,
    .contact-container .contact-btn span {
        font-size: 0;
        /* Masque le texte original */
    }

    .hero-slider .contact-btn span::after,
    .contact-container .contact-btn span::after {
        font-size: 0.8rem;
        /* Affiche le texte court */
    }
}





















/* Correctif pour la section Extensions sur mobile */
@media (max-width: 768px) {
    .amenagement-combles {
        padding: 60px 15px;
    }

    .combles-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .combles-content {
        order: 1;
        /* Texte en premier */
    }

    .combles-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 25px;
    }

    .combles-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }

    .combles-text {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    /* Réorganisation complète des cartes visuelles sur mobile */
    .combles-visual {
        order: 2;
        /* Cartes après le texte */
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }

    .visual-elements {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Réorganiser toutes les cartes en disposition verticale */
    .visual-card {
        position: relative !important;
        /* Annule le positionnement absolu */
        transform: none !important;
        /* Annule les rotations */
        width: 100% !important;
        /* Largeur complète */
        max-width: 280px;
        margin: 0 auto;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        background: white;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        padding: 20px;
        border: 2px solid rgba(42, 157, 143, 0.1);
        animation: none !important;
        /* Désactive les animations flottantes */
    }

    /* Couleurs distinctes pour chaque carte */
    .visual-card:nth-child(1) {
        background: linear-gradient(135deg, rgb(7, 255, 8), #06cc06);
        color: white;
    }

    .visual-card:nth-child(2) {
        background: linear-gradient(135deg, rgb(23, 46, 119), #1e3a8a);
        color: white;
    }

    .visual-card:nth-child(3) {
        background: white;
        color: #2c3e50;
        border: 2px solid rgb(23, 46, 119);
    }

    .visual-card h3 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 8px;
        text-align: center;
    }

    .visual-card p {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: center;
        margin: 0;
    }

    /* Effet hover simplifié pour mobile */
    .visual-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }
}

@media (max-width: 480px) {
    .amenagement-combles {
        padding: 40px 10px;
    }

    .combles-title {
        font-size: 1.8rem;
    }

    .combles-text {
        font-size: 0.95rem;
    }

    .visual-card {
        padding: 15px;
        max-width: 100%;
    }

    .visual-card h3 {
        font-size: 1rem;
    }

    .visual-card p {
        font-size: 0.85rem;
    }
}

/* Assurer que les animations CSS automatiques ne s'appliquent pas sur mobile */
@media (max-width: 768px) {

    .visual-card:nth-child(1),
    .visual-card:nth-child(2),
    .visual-card:nth-child(3) {
        animation: none !important;
        transform: none !important;
    }

    /* Forcer l'arrêt de toutes les animations flottantes sur mobile */
    .visual-card {
        animation-play-state: paused !important;
    }
}





































/* Correctif pour la section Aménagement Combles Perdus sur mobile */
@media (max-width: 768px) {
    .transformation-combles {
        padding: 60px 15px;
    }

    .transformation-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .transformation-content {
        order: 1;
        /* Texte en premier */
    }

    .transformation-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 25px;
    }

    .transformation-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }

    .transformation-text {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 30px;
        line-height: 1.6;
        padding: 0;
    }

    /* Réorganisation complète des cartes flottantes sur mobile */
    .transformation-visual {
        order: 2;
        /* Cartes après le texte */
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
        perspective: none;
    }

    .visual-elements {
        position: relative;
        height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Réorganiser toutes les cartes flottantes en disposition verticale */
    .floating-card {
        position: relative !important;
        /* Annule le positionnement absolu */
        transform: none !important;
        /* Annule les rotations et transformations */
        width: 100% !important;
        /* Largeur complète */
        max-width: 300px;
        margin: 0 auto;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        background: white;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        padding: 20px;
        border: 2px solid rgba(42, 157, 143, 0.1);
        animation: none !important;
        /* Désactive toutes les animations */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Couleurs distinctes pour chaque carte flottante */
    .card-suite {
        background: linear-gradient(135deg, rgb(7, 255, 8), #06cc06) !important;
        color: white !important;
        border-color: rgba(7, 255, 8, 0.3);
    }

    .card-chambre {
        background: linear-gradient(135deg, rgb(23, 46, 119), #1e3a8a) !important;
        color: white !important;
        border-color: rgba(23, 46, 119, 0.3);
    }

    .card-bureau {
        background: white !important;
        color: #2c3e50 !important;
        border: 2px solid rgb(23, 46, 119) !important;
    }

    .card-technique {
        background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
        color: #2c3e50 !important;
        border: 2px solid rgb(7, 255, 8) !important;
    }

    .floating-card h3,
    .floating-card h4 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 8px;
        text-align: center;
    }

    .floating-card p {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: center;
        margin: 0;
        opacity: 1;
    }

    /* Effet hover simplifié pour mobile */
    .floating-card:hover {
        transform: translateY(-2px) scale(1.02) !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

    /* Forcer l'arrêt de toutes les animations de flottement */
    .floating-card {
        animation-play-state: paused !important;
    }

    .card-suite,
    .card-chambre,
    .card-bureau,
    .card-technique {
        animation: none !important;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .transformation-combles {
        padding: 40px 10px;
    }

    .transformation-title {
        font-size: 1.8rem;
    }

    .transformation-text {
        font-size: 0.95rem;
    }

    .floating-card {
        padding: 15px;
        max-width: 100%;
    }

    .floating-card h3,
    .floating-card h4 {
        font-size: 1rem;
    }

    .floating-card p {
        font-size: 0.85rem;
    }
}

/* Assurer que les animations CSS automatiques ne s'appliquent pas sur mobile */
@media (max-width: 768px) {

    .floating-card:nth-child(1),
    .floating-card:nth-child(2),
    .floating-card:nth-child(3),
    .floating-card:nth-child(4) {
        animation: none !important;
        transform: none !important;
    }
}
































/* Position du logo - constante à tout moment */
.hero-slider .Logo,
.Logo {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    /* État initial avec scale directement */
    width: 100%;
    text-align: center;
    z-index: 10;
    opacity: 0;
    animation: fade-in-logo-corrected 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}


/* Version mobile */
@media (max-width: 768px) {

    .hero-slider .Logo,
    .Logo {
        top: 30%;
        width: 95%;
        transform: translate(-50%, -50%) scale(0.8);
        /* État initial mobile */
        animation: fade-in-logo-mobile-corrected 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }

    @keyframes fade-in-logo-mobile-corrected {
        0% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.8) translateY(-30px);
        }

        100% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1) translateY(0px);
        }
    }

    .hero-slider .slider-logo,
    .slider-logo {
        width: 280px;
        max-width: 80vw;
    }

    .hero-slider .slider-text,
    .slider-text {
        font-size: 1rem;
        margin-top: 8px;
    }
}

/* Animation du bouton contact aussi corrigée */
.hero-slider .contact-container,
.contact-container {
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    /* État initial avec scale */
    z-index: 10;
    opacity: 0;
    animation: button-appear-corrected 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.5s;
}

@keyframes button-appear-corrected {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.7) translateY(-20px);
    }

    70% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1) translateY(0px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1) translateY(0px);
    }
}

/* Version mobile pour le bouton */
@media (max-width: 768px) {

    .hero-slider .contact-container,
    .contact-container {
        top: 72%;
        transform: translateX(-50%) scale(0.9);
        /* État initial mobile */
        animation: button-appear-mobile-corrected 0.8s ease-out forwards;
        animation-delay: 0.3s;
    }

    @keyframes button-appear-mobile-corrected {
        0% {
            opacity: 0;
            transform: translateX(-50%) scale(0.9) translateY(-15px);
        }

        100% {
            opacity: 1;
            transform: translateX(-50%) scale(1) translateY(0px);
        }
    }
}

























/* Ajout à votre fichier CSS existant */

/* Style pour la liste des points d'expertise */
.expertise-highlights {
    margin-top: 25px;
}

.highlight-item {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.4;
    color: #2c3e50;
}

/* Correctif spécifique pour mobile - Alignement à gauche */
@media (max-width: 768px) {
    .charpente-hero-content {
        text-align: left;
        /* Force l'alignement à gauche sur mobile */
    }

    .expertise-highlights {
        text-align: left;
        /* Assure que la liste reste alignée à gauche */
        margin-top: 20px;
    }

    .highlight-item {
        text-align: left;
        /* Force chaque item à être aligné à gauche */
        margin-bottom: 10px;
        font-size: 0.95rem;
    }

    /* S'assurer que le conteneur parent respecte l'alignement */
    .charpente-hero-container {
        text-align: left;
    }
}






































/* Styles spécifiques pour la page 404 */
.error-404-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ecf0f1 100%);
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

/* Effet de particules en arrière-plan */
.error-404-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(42, 157, 143, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(23, 46, 119, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(42, 157, 143, 0.03) 0%, transparent 50%);
    animation: particleMove 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes particleMove {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
        opacity: 0.8;
    }
}

.error-404-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(42, 157, 143, 0.1);
}

.error-404-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(7, 255, 8), rgb(23, 46, 119));
    border-radius: 25px 25px 0 0;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: rgb(23, 46, 119);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.error-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

.error-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgb(23, 46, 119);
    border-radius: 2px;
}

.error-message {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.error-btn {
    display: inline-block;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.error-btn-primary {
    background: linear-gradient(135deg, rgb(23, 46, 119), #1e3a8a);
    color: white;
    box-shadow: 0 8px 25px rgba(23, 46, 119, 0.3);
}

.error-btn-primary:hover {
    transform: scale(1.05);
}

.error-btn span {
    position: relative;
    z-index: 1;
}

.error-btn-secondary {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 2px solid rgba(108, 117, 125, 0.2);
}

.error-btn-secondary:hover {
    background: rgba(108, 117, 125, 0.2);
    transform: translateY(-2px);
}

.error-suggestions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(42, 157, 143, 0.1);
}

.error-suggestions h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.suggestions-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.suggestion-link {
    display: inline-block;
    background: rgba(42, 157, 143, 0.1);
    color: rgb(23, 46, 119);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.suggestion-link:hover {
    background: rgba(42, 157, 143, 0.2);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .error-404-section {
        padding: 60px 15px;
    }

    .error-404-container {
        padding: 40px 25px;
    }

    .error-code {
        font-size: 5rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-message {
        font-size: 1.1rem;
    }

    .error-actions {
        flex-direction: column;
        gap: 15px;
    }

    .error-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}


































/* ========================================
   MAILLAGE INTERNE - Style Élégant et Sobre
   ======================================== */

.intro-text a,
.combles-text a,
.transformation-text a,
.atout-description a {
    color: #172e77;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, transparent 85%, rgba(23, 46, 119, 0.15) 85%);
}

/* Soulignement élégant au survol */
.intro-text a:hover,
.combles-text a:hover,
.transformation-text a:hover,
.atout-description a:hover {
    color: #07ff08;
    background: linear-gradient(to bottom, transparent 85%, rgba(7, 255, 8, 0.25) 85%);
}

/* Petite flèche subtile au survol */
.intro-text a::after,
.combles-text a::after,
.transformation-text a::after {
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.9em;
}

.intro-text a:hover::after,
.combles-text a:hover::after,
.transformation-text a:hover::after {
    opacity: 1;
}

/* Focus pour l'accessibilité */
.intro-text a:focus,
.combles-text a:focus,
.transformation-text a:focus,
.atout-description a:focus {
    outline: 2px solid #172e77;
    outline-offset: 2px;
}

/* Responsive - désactiver la flèche sur mobile */
@media (max-width: 768px) {

    .intro-text a::after,
    .combles-text a::after,
    .transformation-text a::after {
        display: none;
    }
}

















.charpente-hero-text a,
.expertise-highlights a {
    color: #172e77;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, transparent 85%, rgba(23, 46, 119, 0.15) 85%);
}

/* Soulignement élégant au survol */
.charpente-hero-text a:hover,
.expertise-highlights a:hover {
    color: #07ff08;
    background: linear-gradient(to bottom, transparent 85%, rgba(7, 255, 8, 0.25) 85%);
}

/* Petite flèche subtile au survol */
.charpente-hero-text a::after {
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.9em;
}

.charpente-hero-text a:hover::after {
    opacity: 1;
}

/* Focus pour l'accessibilité */
.charpente-hero-text a:focus,
.expertise-highlights a:focus {
    outline: 2px solid #172e77;
    outline-offset: 2px;
}

/* Responsive - désactiver la flèche sur mobile */
@media (max-width: 768px) {
    .charpente-hero-text a::after {
        display: none;
    }
}































/* Section Services Complémentaires Charpente */
.charpente-services-complementaires {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.services-comp-container {
    max-width: 1000px;
    /* Réduit de 1200px à 1000px pour 4 cartes */
    margin: 0 auto;
}

.services-comp-container h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.services-comp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 colonnes fixes */
    gap: 25px;
}

.service-comp-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid rgba(42, 157, 143, 0.1);
    position: relative;
    cursor: pointer;
}

.service-comp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(42, 157, 143, 0.3);
}

.service-comp-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.service-comp-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

/* Lien invisible qui couvre toute la carte */
.service-comp-card h3 a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.service-comp-card:hover h3 a {
    color: #172e77;
}

.service-comp-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 0;
}

css.service-comp-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

/* Flèche SVG élégante */
.service-comp-card h3 a::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 12px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23172e77' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.service-comp-card:hover h3 a {
    color: #172e77;
}

.service-comp-card:hover h3 a::after {
    opacity: 1;
    transform: translateX(4px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307ff08' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
}

.service-comp-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 0;
}








.charpente-hero-text a,
.expertise-highlights a {
    color: #172e77;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, transparent 85%, rgba(23, 46, 119, 0.15) 85%);
}

/* Soulignement élégant au survol */
.charpente-hero-text a:hover,
.expertise-highlights a:hover {
    color: #07ff08;
    background: linear-gradient(to bottom, transparent 85%, rgba(7, 255, 8, 0.25) 85%);
}

/* Focus pour l'accessibilité */
.charpente-hero-text a:focus,
.expertise-highlights a:focus {
    outline: 2px solid #172e77;
    outline-offset: 2px;
}






















/* Style de lien élégant pour la section velux-features */
.velux-card-content a {
    color: #172e77;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, transparent 85%, rgba(23, 46, 119, 0.15) 85%);
}

/* Soulignement élégant au survol */
.velux-card-content a:hover {
    color: #07ff08;
    background: linear-gradient(to bottom, transparent 85%, rgba(7, 255, 8, 0.25) 85%);
}

/* Focus pour l'accessibilité */
.velux-card-content a:focus {
    outline: 2px solid #172e77;
    outline-offset: 2px;
}
























.velux-card-content a {
    color: #172e77;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, transparent 85%, rgba(23, 46, 119, 0.15) 85%);
}

/* Soulignement élégant au survol */
.velux-card-content a:hover {
    color: #07ff08;
    background: linear-gradient(to bottom, transparent 85%, rgba(7, 255, 8, 0.25) 85%);
}

/* Focus pour l'accessibilité */
.velux-card-content a:focus {
    outline: 2px solid #172e77;
    outline-offset: 2px;
}














css
/* Le style existe déjà pour .charpente-hero-text a */
/* Il s'appliquera automatiquement à tous les liens dans cette section */

.charpente-hero-text a,
.expertise-highlights a {
    color: #172e77;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, transparent 85%, rgba(23, 46, 119, 0.15) 85%);
}

/* Soulignement élégant au survol */
.charpente-hero-text a:hover,
.expertise-highlights a:hover {
    color: #07ff08;
    background: linear-gradient(to bottom, transparent 85%, rgba(7, 255, 8, 0.25) 85%);
}

/* Focus pour l'accessibilité */
.charpente-hero-text a:focus,
.expertise-highlights a:focus {
    outline: 2px solid #172e77;
    outline-offset: 2px;
}





















/* Mise en bleu du texte de la première carte uniquement */
.visual-card:nth-child(1) h3,
.visual-card:nth-child(1) p {
    color: rgb(23, 46, 119);
}



.card-suite h3,
.card-suite p {
    color: rgb(23, 46, 119) !important;
}