
/* Variables CSS pour le thème sombre */
:root {
    --noir: #000000;
    --bleu-fonce: #0A1128;
    --bleu-clair: #79C2D0;
    --vert-clair: #5AC18E;
    --vert-fonce: #2E7D32;
    --blanc: #FFFFFF;
    
    --background-color: #121212;
    --text-color: #EEEEEE;
    --navbar-bg: #0A1128;
    --card-bg: #1E1E1E;
    --card-text: #EEEEEE;
    --footer-bg: #0A1128;
    --footer-text: #EEEEEE;
    --accent-color: var(--vert-clair);
    --secondary-accent: var(--bleu-clair);
}

/* Base styles */
body {
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Style pour vos titres */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; /* ou 700 pour un titre plus gras */
}

/* =========== HEADER & NAVIGATION =========== */
.navbar-dark {
    background-color: rgba(10, 17, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: rgba(10, 17, 40, 0.98) !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--blanc) !important;
    position: relative;
}

.navbar-logo {
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.navbar-logo:hover {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.nav-link {
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--blanc) !important;
    position: relative;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

/* Animated underline for nav links */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-accent));
    transition: width 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.active.nav-link::after {
    width: 100%;
    opacity: 0.8;
}

/* =========== HERO SECTION =========== */
.hero-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-video-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.hero-video-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    z-index: 1;
}

.hero-video-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s forwards 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 2px;
}

.hero-video-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s forwards 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    line-height: 1.6;
}

.hero-video-content .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s forwards 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* =========== LOADER =========== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    text-align: center;
    animation: pulse 2s infinite ease-in-out;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(90, 193, 142, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    border-left-color: var(--secondary-accent);
    animation: spin 1.5s ease-in-out infinite;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(90, 193, 142, 0.3);
}

/* =========== BLUE BANNER =========== */
.blue-banner {
    background: linear-gradient(135deg, var(--bleu-fonce) 0%, #14213d 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50% 50% / 15px;
    transform: translateY(-15px);
    padding-bottom: 30px;
}

.blue-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: banner-shine 4s infinite;
}

.banner-text {
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

/* =========== SECTION TITLES =========== */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-accent), var(--accent-color));
    border-radius: 2px;
}

/* =========== SERVICE CARDS =========== */
.service-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    background-color: var(--card-bg);
    color: var(--card-text);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(90, 193, 142, 0.2));
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.service-card:hover::before {
    top: 0;
}

.card-img-top {
    height: 300px!important;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .card-img-top {
    transform: scale(1.1);
}

/* =========== BUTTONS =========== */
.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--vert-fonce));
    color: white;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 0.8rem 2rem;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    z-index: -1;
    transition: left 0.6s ease;
}

.btn-accent:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(90, 193, 142, 0.5);
    color: white;
}

.btn-accent:hover::before {
    left: 100%;
    transition: left 0.8s ease;
}

.btn-accent:active {
    transform: translateY(-2px) scale(0.98);
}

/* =========== ECO HIGHLIGHTS =========== */
.eco-highlight {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--vert-fonce));
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.eco-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* =========== BEFORE-AFTER SECTION =========== */
.image-toggle {
    position: relative;
    width: 100%;
    height: 300px;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.before-image, .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.before-image {
    opacity: 1;
}

.after-image {
    opacity: 0;
}

.toggle-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* =========== FOOTER =========== */
.footer {
    background: linear-gradient(135deg, var(--bleu-fonce) 0%, #14213d 100%);
    color: var(--footer-text);
    position: relative;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.1);
}

.footer::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(121, 194, 208, 0.05) 0%, transparent 70%);
    animation: footer-shine 15s infinite linear;
}

.footer h5 {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transition: width 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    border-radius: 2px;
}

.footer h5:hover::after {
    width: 100%;
}

.footer-link {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    position: relative;
    padding-left: 18px;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
    transform: translateX(8px);
    padding-left: 22px;
}

.footer-link:hover::before {
    opacity: 1;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon i {
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-accent), var(--accent-color));
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.social-icon:hover::before {
    transform: scale(1);
}

.social-icon:hover i {
    transform: scale(1.2);
}

.badge-eco {
    background: linear-gradient(135deg, var(--accent-color), var(--vert-fonce));
    color: white;
    font-weight: normal;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.badge-eco:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(90, 193, 142, 0.3);
}

/* =========== ABOUT SECTION =========== */
.about-section {
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.8), rgba(10, 17, 40, 0.4));
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    margin: 3rem 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(121, 194, 208, 0.1), transparent);
    animation: section-shine 10s infinite;
}

/* =========== ZONE INTERVENTION =========== */
.zone-intervention {
    background: linear-gradient(135deg, var(--secondary-accent), #5996a5);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.zone-intervention::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.zone-intervention:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.zone-intervention:hover::before {
    opacity: 1;
    animation: rotation 15s infinite linear;
}

/* =========== COUNTER CARDS =========== */
.counter-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.7), rgba(50, 50, 50, 0.7));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.counter-card::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(90, 193, 142, 0.1) 0%, transparent 70%);
    top: -25%;
    left: -25%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.counter-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(90, 193, 142, 0.2);
}

.counter-card:hover::before {
    opacity: 1;
    animation: pulse 2s infinite ease-in-out;
}

.counter-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    display: inline-block;
    text-shadow: 2px 2px 15px rgba(90, 193, 142, 0.3);
}

.counter-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    margin-top: 0.5rem;
}

.counter-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    display: inline-block;
}

/* =========== WAVE DIVIDER =========== */
.wave-divider {
    position: relative;
    height: 70px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    width: 100%;
    height: 100%;
    fill: var(--navbar-bg);
}

.wave-divider.inverse svg {
    transform: rotate(180deg);
    fill: var(--background-color);
}

/* =========== SCROLL INDICATOR =========== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--blanc);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    z-index: 100;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background-color: var(--blanc);
    border-radius: 50%;
    animation: scroll-anim 2s infinite;
}

/* =========== 3D Images =========== */
.img-3d-container {
    perspective: 1000px;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-3d {
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center center;
}

.img-3d-container:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* =========== FLOATING ANIMATION =========== */
.floating {
    animation: floating 4s ease-in-out infinite;
}

/* =========== TILT CARD =========== */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-card-inner {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-card:hover .tilt-card-inner {
    transform: rotateX(var(--rotateX)) rotateY(var(--rotateY));
}

.tilt-card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--pointer-x) var(--pointer-y), 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0) 80%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tilt-card:hover .tilt-card-shine {
    opacity: 1;
}

/* Style spécifique pour le bouton WhatsApp - version corrigée */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999; /* Valeur z-index plus élevée pour s'assurer qu'il est au-dessus de tout */
    display: block; /* Assure que l'élément est visible */
    width: auto; /* Largeur automatique */
    height: auto; /* Hauteur automatique */
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Couleur officielle de WhatsApp */
    color: white;
    border-radius: 50%;
    display: flex !important; /* Force l'affichage flex */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 30px;
    border: none; /* S'assure qu'il n'y a pas de bordure qui puisse affecter l'apparence */
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    color: white;
    text-decoration: none; /* Évite le soulignement au survol */
}

.whatsapp-btn i {
    font-size: 30px; /* S'assure que l'icône est de la bonne taille */
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .whatsapp-btn i {
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* =========== ANIMATIONS =========== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes banner-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes spin {
    to { transform: rotate(1turn); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes section-shine {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

@keyframes rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes footer-shine {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scroll-anim {
    0% { transform: translateY(0); opacity: 1; }
    70% { opacity: 0; }
    100% { transform: translateY(15px); opacity: 0; }
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* =========== RESPONSIVE STYLES =========== */
@media (max-width: 992px) {
    .hero-video-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-video-content p {
        font-size: 1.1rem;
    }
    
    .counter-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-video-container {
        min-height: 100vh;
    }
    
    .hero-video-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-video-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-video-content .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .before-after-slider, .image-toggle {
        height: 250px;
    }
    
    .counter-value {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-video-container {
        min-height: 90vh;
    }
    
    .hero-video-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-video-content p {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .blue-banner {
        border-radius: 0 0 30% 30% / 10px;
    }
    
    .counter-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Styles du slider avant/après */
.hero-slider-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.before-after-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.before-after-slide.active {
    opacity: 1;
    visibility: visible;
}

.img-compare-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.img-before, .img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-after {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    transition: clip-path 0.3s ease-out;
}

.slider-separator {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--accent-color);
    left: 100%;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 10px rgba(90, 193, 142, 0.7);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.slider-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(90, 193, 142, 0.8);
}

.compare-label {
    position: absolute;
    top: 20px;
    padding: 8px 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.label-before {
    left: 20px;
}

.label-after {
    right: 20px;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 100px 30px 30px;
    z-index: 3;
}

.slide-content {
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideContent 1s forwards 0.5s;
}

/* Contrôles du slider */
.slider-controls {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 5;
}

.slider-control-prev, .slider-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.slider-control-prev:hover, .slider-control-next:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

.slider-control-prev-icon, .slider-control-next-icon {
    font-size: 24px;
    color: white;
}

.slider-indicators {
    display: flex;
    gap: 10px;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(90, 193, 142, 0.7);
}

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

/* Responsive */
@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 0.95rem;
    }
    
    .slider-button {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .compare-label {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .slider-controls {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .slider-button {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }
    
    .compare-label {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    .slider-control-prev, .slider-control-next {
        width: 40px;
        height: 40px;
    }
}
