/* --- VARIABLES & RESET --- */
:root {
    --primary: #ff9f1c; /* Orange Vif */
    --secondary: #2ec4b6; /* Turquoise */
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --text-grey: #555;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; scroll-behavior: smooth; }
body { line-height: 1.6; color: var(--dark); overflow-x: hidden; }

/* --- NAVIGATION --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: fixed; width: 100%; top: 0; z-index: 1000;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; }
.logo img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.nav-links { list-style: none; display: flex; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.btn-cta { background: var(--primary); color: white !important; padding: 10px 25px; border-radius: 30px; box-shadow: 0 4px 10px rgba(255, 159, 28, 0.4); }
.burger { display: none; cursor: pointer; }

/* --- HERO SECTION --- */
.hero {
    height: 100vh; background: url('images/23.jpg') center/cover no-repeat;
    position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: white; padding: 0 20px;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-secondary { padding: 15px 30px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { transform: translateY(-3px); background: #e68a00; }
.btn-secondary { background: transparent; border: 2px solid white; color: white; }
.btn-secondary:hover { background: white; color: var(--dark); }

/* --- STATS SECTION (DESIGN AMÉLIORÉ) --- */
.stats-section {
    /* Dégradé diagonal plus riche */
    background: linear-gradient(135deg, #ff9f1c 0%, #ff7e00 100%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 80px 20px;
    flex-wrap: wrap;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Ajout d'un motif de fond subtil pour la texture */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.15) 2px, transparent 2px);
    background-size: 30px 30px; /* Motif à pois */
    pointer-events: none;
}

.stat-item {
    flex: 1;
    min-width: 220px; /* Évite que ça soit trop petit sur mobile */
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Animation au survol */
.stat-item:hover {
    transform: translateY(-10px);
}

/* Le cercle blanc autour de l'icône */
.stat-icon {
    width: 90px;
    height: 90px;
    background: white;
    color: var(--primary); /* L'icône prend la couleur orange */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px; /* Centré horizontalement */
    font-size: 2.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* Ombre portée douce */
    border: 4px solid rgba(255,255,255,0.3); /* Bordure semi-transparente */
    background-clip: padding-box;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Légère ombre sur le texte */
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-top: 10px;
}

/* Ajustement pour mobile (comme sur ton image) */
@media (max-width: 768px) {
    .stats-section {
        padding: 60px 20px;
        flex-direction: column; /* Empile les éléments verticalement */
        gap: 60px; /* Plus d'espace entre les stats sur mobile */
    }
    
    .stat-item h2 {
        font-size: 3rem;
    }
}

/* --- SECTIONS GÉNÉRALES --- */
.section { padding: 80px 5%; }
.bg-light { background: var(--light); }
.bg-dark { background: #222; }
.text-white { color: white !important; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 10px; color: var(--dark); }
.section-desc { text-align: center; margin-bottom: 50px; color: var(--text-grey); }
.section-desc.text-white { color: #ccc; }

/* --- À PROPOS --- */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.exp-badge {
    position: absolute; bottom: -20px; right: -20px; background: var(--secondary);
    color: white; padding: 20px; border-radius: 50%; font-weight: bold; font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(46, 196, 182, 0.4); text-align: center;
}
.section-title-left { font-size: 2.2rem; margin-bottom: 20px; color: var(--dark); }
.sub-title { color: var(--primary); font-weight: 700; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.check-list { list-style: none; margin-top: 20px; }
.check-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check-list i { color: var(--secondary); }

/* --- SERVICES GRID --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.service-card {
    background: white; padding: 40px 30px; border-radius: 10px; border-bottom: 4px solid transparent;
    transition: 0.3s; cursor: pointer; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.service-card:hover { transform: translateY(-10px); border-bottom-color: var(--primary); }
.icon-box { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.service-card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.more-link { color: var(--secondary); font-weight: bold; font-size: 0.9rem; margin-top: 20px; display: block; }
.more-link i { margin-left: 5px; font-size: 0.8em; }

/* --- PROCESSUS --- */
.process-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.process-step { text-align: center; flex: 1; min-width: 200px; position: relative; }
.step-number {
    width: 50px; height: 50px; background: var(--secondary); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 1.2rem; margin: 0 auto 20px;
}

/* --- CATALOGUE & FILTRES --- */
.filter-container { text-align: center; margin-bottom: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.filter-btn {
    padding: 10px 25px; border: 2px solid var(--secondary); background: transparent;
    color: white; border-radius: 25px; cursor: pointer; font-weight: 600; transition: 0.3s;
    display: flex; align-items: center; gap: 8px;
}
.filter-btn.active, .filter-btn:hover { background: var(--secondary); color: white; border-color: var(--secondary); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.gallery-item {
    background: white; border-radius: 10px; overflow: hidden; position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: 0.3s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; }
.item-info { padding: 15px; }
.price-badge {
    position: absolute; top: 15px; right: 15px; background: var(--primary);
    color: white; padding: 5px 12px; border-radius: 20px; font-weight: bold; font-size: 0.85rem;
    display: flex; align-items: center; gap: 5px;
}
.loc-info { color: #666; font-size: 0.9rem; margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.loc-info i { color: var(--secondary); }

/* --- PORTFOLIO --- */
.logos-carousel { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; align-items: center; }
.logos-carousel img { height: 80px; opacity: 0.8; transition: 0.3s; filter: grayscale(100%); }
.logos-carousel img:hover { opacity: 1; filter: grayscale(0%); }
.work-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.work-item { position: relative; overflow: hidden; border-radius: 10px; height: 250px; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.work-item:hover img { transform: scale(1.1); }
.work-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(transparent, black);
    color: white; padding: 20px; opacity: 0; transition: 0.3s;
}
.work-item:hover .work-overlay { opacity: 1; }
.work-overlay i { margin-right: 8px; color: var(--primary); }

/* --- FORMULAIRE CONTACT QUALIFIÉ --- */
.contact-wrapper { display: flex; gap: 50px; flex-wrap: wrap; }
.contact-info { flex: 1; min-width: 300px; }
.info-item {
    display: flex; align-items: center; gap: 20px; margin-bottom: 30px;
    background: rgba(255,255,255,0.1); padding: 20px; border-radius: 10px;
}
.info-item i { font-size: 2rem; color: var(--primary); }
.info-item h4 { margin-bottom: 5px; font-size: 1.2rem; }

.qualify-form {
    flex: 1.5; min-width: 300px; background: white; padding: 40px;
    border-radius: 15px; color: var(--dark);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 8px; font-size: 0.9rem; }
.form-group label i { color: var(--secondary); margin-right: 5px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px; border: 2px solid #eee; border-radius: 8px;
    font-size: 1rem; transition: 0.3s; background: #f9f9f9;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary); outline: none; background: white;
}
.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; }

.btn-whatsapp-submit {
    width: 100%; padding: 15px; background: #25D366; color: white;
    font-size: 1.1rem; font-weight: bold; border: none; border-radius: 8px;
    cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-whatsapp-submit:hover { background: #128C7E; transform: translateY(-2px); }

/* --- FAQ --- */
.faq-wrapper { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; margin-bottom: 15px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); overflow: hidden; }
.faq-question {
    width: 100%; padding: 20px; border: none; background: none; text-align: left;
    font-weight: 600; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question span { display: flex; align-items: center; gap: 10px; }
.faq-question span i { color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s; padding: 0 20px; color: var(--text-grey); }
.faq-item.active .faq-answer { max-height: 150px; padding-bottom: 20px; }
.faq-item.active .fa-chevron-down { transform: rotate(180deg); transition: 0.3s; color: var(--primary); }

/* --- FOOTER PREMIUM --- */
.footer {
    background-color: #111111;
    color: #b0b0b0;
    padding-top: 80px;
    position: relative;
    border-top: 5px solid var(--primary); /* Ligne de couleur en haut */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    padding-bottom: 60px;
}

/* Colonne 1 */
.footer-logo {
    display: flex; align-items: center; gap: 15px; margin-bottom: 20px;
}
.footer-logo img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--primary); }
.footer-logo span { font-size: 1.5rem; font-weight: 800; color: white; letter-spacing: 1px; }

.footer-desc { line-height: 1.8; margin-bottom: 25px; font-size: 0.95rem; }

.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; transition: 0.3s; font-size: 1.1rem;
    text-decoration: none;
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }

/* Colonne 2 */
.footer h3 { color: white; font-size: 1.3rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer h3::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 2px; background: var(--primary);
}

.footer-links { list-style: none; margin-bottom: 25px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #b0b0b0; text-decoration: none; transition: 0.3s; display: flex; align-items: center; gap: 10px;
}
.footer-links a i { font-size: 0.8rem; color: var(--primary); transition: 0.3s; }
.footer-links a:hover { color: white; padding-left: 5px; }

.footer-contact-info p { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: white; }
.footer-contact-info i { color: var(--primary); }

/* Colonne 3 & Formulaire */
.mb-20 { margin-bottom: 20px; }
.input-group {
    display: flex; background: #222; border-radius: 5px; padding: 5px; border: 1px solid #333;
}
.input-group input {
    flex: 1; background: transparent; border: none; padding: 10px 15px; color: white; outline: none;
}
.input-group button {
    background: var(--primary); color: white; border: none; padding: 0 20px; border-radius: 4px; cursor: pointer; transition: 0.3s;
}
.input-group button:hover { background: #e68a00; }

.footer-note { font-size: 0.8rem; color: #666; margin-top: 10px; display: flex; align-items: center; gap: 5px; }

/* Copyright Bar */
.footer-bottom { background: #0a0a0a; padding: 20px 0; border-top: 1px solid #222; }
.copyright-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.copyright-flex p { font-size: 0.9rem; color: #888; }

.legal-links a { color: #888; text-decoration: none; margin-left: 20px; font-size: 0.9rem; transition: 0.3s; }
.legal-links a:hover { color: var(--primary); }

/* Responsive Footer */
@media (max-width: 768px) {
    .copyright-flex { flex-direction: column; text-align: center; }
    .legal-links a { margin: 0 10px; }
}

/* --- MODAL & ANIMATIONS --- */
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); align-items: center; justify-content: center;
}
.modal-content { background: white; width: 90%; max-width: 500px; padding: 30px; border-radius: 10px; position: relative; animation: slideDown 0.3s; }
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; }
.modal-cta { display: block; text-align: center; background: var(--primary); color: white; text-decoration: none; padding: 12px; margin-top: 20px; border-radius: 5px; }
#modal-list li { list-style: none; margin-bottom: 8px; }
#modal-list li i { color: var(--primary); margin-right: 10px; }

.hidden-scroll { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.show-scroll { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .navbar { padding: 15px 20px; }
    .nav-links {
        position: absolute; right: 0; top: 80px; background: white; flex-direction: column;
        width: 100%; padding: 30px; transform: translateX(100%); transition: 0.3s; box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-active { transform: translateX(0); }
    .burger { display: block; }
    .burger div { width: 25px; height: 3px; background: var(--dark); margin: 5px; }
    .hero h1 { font-size: 2.2rem; }
    .split-layout { grid-template-columns: 1fr; text-align: center; }
    .about-image { order: -1; }
    .exp-badge { right: 50%; transform: translateX(50%); bottom: -25px; }
    .form-row { flex-direction: column; gap: 0; }
    .contact-wrapper { flex-direction: column; }
}


/* --- CORRECTION MOBILE : LOGOS EN COULEUR --- */
@media (max-width: 768px) {
    .logos-carousel img {
        filter: grayscale(0%) !important; /* Force la couleur */
        opacity: 1 !important; /* Force la visibilité maximale */
    }
}