/* ===== COULEURS OFFICIELLES BIS BENIN ===== */
:root {
    --orange: #FFA500;      /* Orange pur */
    --orange-fonce: #FF8C00; /* Orange foncé */
    --blanc: #FFFFFF;
    --noir: #333333;
}

/* Application forcée */
body {
    --primary: #FFA500;
    --primary-dark: #FF8C00;
}

.hero, .page-header, .btn-devis, .btn-primary {
    background: #FFA500 !important;
}

.service-link, .section-subtitle, .logo h1 {
    color: #FFA500 !important;
}

/* ===== VARIABLES ET CONFIGURATION ===== */
:root {
    --orange-principal: #FF6B00;  /* Orange vif */
    --orange-fonce: #E65100;       /* Orange foncé */
    --orange-clair: #FFB74D;       /* Orange clair */
    --gris-elegant: #2c3e50;
    --gris-clair: #f8fafc;
    --blanc: #FFFFFF;
    --noir: #333333;
    --vert: #28A745;
    --ombre-subtle: 0 10px 40px rgba(255, 107, 0, 0.08);
    --ombre-medium: 0 20px 50px rgba(255, 107, 0, 0.15);
    --ombre-strong: 0 30px 60px rgba(255, 107, 0, 0.2);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gris-elegant);
    overflow-x: hidden;
    background: var(--blanc);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===== IMPORTS GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== ANIMATIONS GLOBALES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== HEADER MODERNE ===== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(255, 107, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 107, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%;
    max-width: 1400px;
    margin: 0 auto;
    transition: var(--transition);
}
/* ===== LOGO AVEC IMAGE DE FOND ===== */
.logo {
    position: relative;
    overflow: hidden;
    padding-left: 60px; /* Espace pour l'image */
}

/* Si le logo ne s'affiche pas, essayez avec le chemin absolu : */
.logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-image: url('images/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    pointer-events: none;
}

.slogan {
    color: var(--gris-elegant);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
    animation: fadeInLeft 0.8s ease 0.2s both;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gris-elegant);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-menu a:not(.btn-devis)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-principal);
    transition: width 0.3s ease;
}

.nav-menu a:not(.btn-devis):hover::before {
    width: 100%;
}

.nav-menu a:not(.btn-devis):hover {
    color: var(--orange-principal);
    transform: translateY(-2px);
}

.btn-devis {
    background: linear-gradient(135deg, var(--orange-principal), var(--orange-fonce));
    color: var(--blanc) !important;
    padding: 12px 28px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
    transition: var(--transition) !important;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-devis::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-devis:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 30px rgba(255, 107, 0, 0.3);
}

.btn-devis:hover::before {
    left: 100%;
}

/* ===== HERO SECTION MODERNE ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.8), rgba(230, 81, 0, 0.4)), 
                url('images/hero-bg.jpg') center/cover;
    color: var(--blanc);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 4s infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-content h2 {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 400;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.95);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content p {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary, .btn-secondary {
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--blanc);
    color: var(--orange-principal);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 40px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--blanc);
    border: 2px solid var(--blanc);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--blanc);
    color: var(--orange-principal);
    transform: translateY(-5px);
}

/* ===== SERVICES APERÇU ===== */
.services-apercu {
    padding: 100px 0;
    background: var(--gris-clair);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--gris-elegant);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-principal), var(--orange-fonce));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
    animation: scaleIn 1s ease;
}

.service-card {
    background: var(--blanc);
    padding: 40px 30px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--ombre-subtle);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 0, 0.05);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-principal), var(--orange-fonce));
    transform: scaleX(0);
    transition: transform 0.6s ease;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--ombre-medium);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 56px;
    color: var(--orange-principal);
    margin-bottom: 24px;
    transition: var(--transition);
    display: inline-block;
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--orange-fonce);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gris-elegant);
}

.service-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* ===== CHIFFRES CLES ===== */
.chiffres {
    background: linear-gradient(135deg, var(--orange-principal), var(--orange-fonce));
    color: var(--blanc);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.chiffres::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.chiffre-item {
    padding: 20px;
    animation: scaleIn 0.8s ease;
    animation-fill-mode: both;
}

.chiffre-item:nth-child(1) { animation-delay: 0.1s; }
.chiffre-item:nth-child(2) { animation-delay: 0.2s; }
.chiffre-item:nth-child(3) { animation-delay: 0.3s; }
.chiffre-item:nth-child(4) { animation-delay: 0.4s; }

.chiffre {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.label {
    font-size: clamp(14px, 2vw, 18px);
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* ===== POURQUOI NOUS ===== */
.pourquoi-nous {
    padding: 100px 0;
    background: var(--blanc);
}

.qualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.qualite {
    text-align: center;
    padding: 40px 30px;
    background: var(--gris-clair);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.qualite:nth-child(1) { animation-delay: 0.1s; }
.qualite:nth-child(2) { animation-delay: 0.2s; }
.qualite:nth-child(3) { animation-delay: 0.3s; }

.qualite::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, var(--orange-principal), var(--orange-fonce));
    transition: height 0.4s ease;
    z-index: 1;
    opacity: 0.1;
}

.qualite:hover {
    transform: translateY(-10px);
}

.qualite:hover::after {
    height: 100%;
}

.qualite i {
    font-size: 48px;
    color: var(--orange-principal);
    margin-bottom: 20px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.qualite:hover i {
    transform: scale(1.1);
    color: var(--orange-fonce);
}

.qualite h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gris-elegant);
    position: relative;
    z-index: 2;
}

.qualite p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.97), rgba(230, 81, 0, 0.97)), 
                url('images/cta-bg.jpg') center/cover fixed;
    color: var(--blanc);
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s infinite;
}

.cta-section h2 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
}

.cta-section p {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 40px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-section .btn-primary {
    background: var(--blanc);
    color: var(--orange-principal);
    font-size: 18px;
    padding: 18px 50px;
    animation: fadeInUp 0.8s ease 0.4s both;
    position: relative;
    z-index: 2;
    border: none;
}

.cta-section .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 50px rgba(0,0,0,0.3);
}

/* ===== PAGE SERVICES DETAILS ===== */
.page-title {
    background: linear-gradient(135deg, var(--orange-principal), var(--orange-fonce));
    color: var(--blanc);
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.page-title h1 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
}

.page-title p {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.95;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.services-complets {
    padding: 80px 0;
    background: var(--gris-clair);
}

.service-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 40px;
    background: var(--blanc);
    border-radius: var(--border-radius);
    box-shadow: var(--ombre-subtle);
    transition: var(--transition);
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}

.service-detail:nth-child(even) {
    animation: fadeInLeft 0.8s ease forwards;
}

.service-detail:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: var(--ombre-medium);
}

.service-icon {
    flex: 0 0 100px;
    text-align: center;
}

.service-icon i {
    font-size: 64px;
    color: var(--orange-principal);
    transition: var(--transition);
    animation: float 3s infinite;
}

.service-detail:hover .service-icon i {
    transform: rotate(360deg);
}

.service-info h3 {
    color: var(--orange-principal);
    margin-bottom: 16px;
    font-size: 26px;
    font-weight: 700;
}

.service-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-info ul {
    list-style: none;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.service-info li {
    margin-bottom: 8px;
    color: var(--gris-elegant);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-info li::before {
    content: '✓';
    color: var(--vert);
    font-weight: bold;
    font-size: 18px;
}

.btn-small {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--orange-principal), var(--orange-fonce));
    color: var(--blanc);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.btn-small:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 30px rgba(255, 107, 0, 0.3);
}

/* ===== FORMULAIRES MODERNES ===== */
.devis-form-section,
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gris-clair), #fff);
}

.form-container,
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.devis-form,
.contact-form,
.contact-info {
    background: var(--blanc);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--ombre-subtle);
    transition: var(--transition);
    border: 1px solid rgba(255, 107, 0, 0.05);
}

.devis-form:hover,
.contact-form:hover,
.contact-info:hover {
    box-shadow: var(--ombre-medium);
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gris-elegant);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eef2f6;
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-principal);
    background: var(--blanc);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--orange-clair);
    background: var(--blanc);
}

.form-group input[type="file"] {
    padding: 12px;
    background: #f8fafc;
    border: 2px dashed var(--orange-clair);
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    background: #fff1e6;
    border-color: var(--orange-principal);
}

.btn-submit {
    background: linear-gradient(135deg, var(--orange-principal), var(--orange-fonce));
    color: var(--blanc);
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(255, 107, 0, 0.3);
}

.btn-submit:hover::before {
    left: 100%;
}

.form-info {
    background: linear-gradient(135deg, var(--orange-principal), var(--orange-fonce));
    color: var(--blanc);
    padding: 50px;
    border-radius: var(--border-radius);
    height: fit-content;
    position: relative;
    overflow: hidden;
}

.form-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.form-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.form-info ul {
    list-style: none;
    position: relative;
    z-index: 2;
}

.form-info li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    animation: fadeInRight 0.8s ease;
    animation-fill-mode: both;
}

.form-info li:nth-child(1) { animation-delay: 0.1s; }
.form-info li:nth-child(2) { animation-delay: 0.2s; }
.form-info li:nth-child(3) { animation-delay: 0.3s; }
.form-info li:nth-child(4) { animation-delay: 0.4s; }

.form-info i {
    color: var(--vert);
    font-size: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    padding: 8px;
}

/* ===== PAGE CONTACT INFO CARDS ===== */
.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--gris-clair);
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid rgba(255, 107, 0, 0.05);
}

.info-card:hover {
    transform: translateX(10px) scale(1.02);
    background: linear-gradient(135deg, var(--gris-clair), #fff);
    box-shadow: var(--ombre-subtle);
}

.info-card i {
    font-size: 28px;
    color: var(--orange-principal);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.info-card:hover i {
    transform: rotate(360deg);
    background: var(--orange-principal);
    color: var(--blanc);
}

.info-card h3 {
    color: var(--gris-elegant);
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

/* ===== GALERIE MODERNE ===== */
.gallery-filters {
    padding: 40px 0;
    background: var(--blanc);
    position: sticky;
    top: 80px;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid var(--orange-principal);
    background: transparent;
    color: var(--orange-principal);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--orange-principal), var(--orange-fonce));
    color: var(--blanc);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

.gallery {
    padding: 60px 0;
    background: var(--gris-clair);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--ombre-subtle);
    cursor: pointer;
    aspect-ratio: 1;
    opacity: 0;
    animation: scaleIn 0.8s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 107, 0, 0.95), transparent);
    color: var(--blanc);
    padding: 30px 20px;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover {
    box-shadow: var(--ombre-strong);
}

.gallery-item:hover img {
    transform: scale(1.2) rotate(2deg);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.9;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.3s;
}

.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 80px 0;
    background: var(--blanc);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--ombre-subtle);
    transition: var(--transition);
    height: 450px;
}

.map-container:hover {
    box-shadow: var(--ombre-medium);
    transform: translateY(-5px);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== FOOTER MODERNE ===== */
footer {
    background: linear-gradient(135deg, #1a2634, #2c3e50);
    color: var(--blanc);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-principal), var(--orange-clair), var(--orange-fonce));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-info h3,
.footer-links h4,
.footer-legal h4 {
    color: var(--blanc);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-info h3::after,
.footer-links h4::after,
.footer-legal h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-principal), var(--orange-clair));
    border-radius: 3px;
}

.footer-info p {
    margin-bottom: 15px;
    color: #b0c4d9;
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info i {
    color: var(--orange-clair);
    width: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0c4d9;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    color: var(--orange-clair);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--blanc);
    transform: translateX(10px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-legal p {
    color: #b0c4d9;
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #b0c4d9;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* ===== RESPONSIVE AVANCÉ ===== */
/* Desktop Large (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .container {
        max-width: 1140px;
    }
}

/* Laptop (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-info ul {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .service-detail {
        animation: fadeInUp 0.8s ease forwards !important;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .chiffres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-container,
    .contact-grid,
    .histoire-content {
        grid-template-columns: 1fr;
    }
    
    .form-info {
        order: -1;
    }
    
    .service-detail {
        padding: 30px;
    }
    
    .service-icon i {
        font-size: 48px;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .page-title h1 {
        font-size: 32px;
    }
    
    .qualites-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .info-card i {
        margin: 0 auto;
    }
    
    .filter-buttons {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        flex: 0 0 auto;
    }
    
    .devis-form,
    .contact-form,
    .contact-info,
    .form-info {
        padding: 30px;
    }
}

/* Mobile Small (moins de 576px) */
@media (max-width: 575px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .navbar {
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-menu a {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .btn-devis {
        padding: 8px 16px !important;
    }
    
    .hero {
        min-height: 60vh;
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content h2 {
        font-size: 18px;
    }
    
    .services-apercu,
    .pourquoi-nous,
    .services-complets {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-card i {
        font-size: 40px;
    }
    
    .chiffres-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .chiffre {
        font-size: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 80px 20px;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-info h3::after,
    .footer-links h4::after,
    .footer-legal h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-info p {
        justify-content: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
}

/* ===== FOOTER AMÉLIORÉ ===== */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1); /* Rend le logo blanc si nécessaire */
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-info i {
    color: #FF6B00;
    width: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0c4d9;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #FF6B00;
    padding-left: 5px;
}

.footer-legal p {
    margin-bottom: 10px;
    color: #b0c4d9;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #b0c4d9;
}

.copyright i {
    color: #FF6B00;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== UTILITAIRES ===== */
.text-center {
    text-align: center;
}

.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* Animation au scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--blanc);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gris-clair);
    border-top-color: var(--orange-principal);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gris-clair);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--orange-principal), var(--orange-fonce));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--orange-fonce), var(--orange-principal));
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(255,107,0,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.15);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--gradient);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

#newsletter-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 5px;
    font-size: 14px;
    display: none;
}

/* ===== FORÇAGE COULEUR POUR MOBILE ===== */
@media (max-width: 768px) {
    /* Orange pur sans dégradé */
    .hero, 
    .page-header, 
    .cta-section, 
    .btn-devis, 
    .btn-primary, 
    .btn-submit,
    .contact-info-side,
    .experience-badge,
    .filter-btn.active,
    .filter-btn:hover {
        background: #FFA500 !important;
        background-image: none !important;
    }
    
    /* Texte orange */
    .service-link,
    .section-subtitle,
    .nav-menu a:hover,
    .stat-number,
    .logo h1 {
        color: #FFA500 !important;
    }
    
    /* Bordures orange */
    .filter-btn {
        border-color: #FFA500 !important;
        color: #FFA500 !important;
    }
    
    .filter-btn.active,
    .filter-btn:hover {
        border-color: #FFA500 !important;
        color: white !important;
    }
    
    /* Icônes orange */
    .service-icon i,
    .feature-item i,
    .info-item i,
    .footer-info i {
        color: #FFA500 !important;
    }
    
    /* Supprimer tous les dégradés qui pourraient causer le rouge */
    [class*="gradient"] {
        background: #FFA500 !important;
    }
}

/* ===== CORRECTION FINALE POUR MOBILE ===== */
@media (max-width: 768px) {
    /* Forcer la bonne couleur orange */
    .hero,
    .page-header,
    .cta-section,
    .btn-devis,
    .btn-primary,
    .btn-secondary:hover,
    .btn-submit,
    .contact-info-side,
    .experience-badge,
    .filter-btn.active,
    .filter-btn:hover,
    .chiffres,
    .form-info,
    .page-title,
    .footer::before,
    [class*="gradient"] {
        background: #FF6B00 !important;  /* Garde ton orange d'origine */
        background-image: none !important;
    }
    
    /* Garder le dégradé seulement sur quelques éléments */
    .btn-devis,
    .btn-submit,
    .filter-btn.active {
        background: linear-gradient(135deg, #FF6B00, #E65100) !important;
    }
    
    /* Texte orange */
    .service-link,
    .section-subtitle,
    .nav-menu a:hover,
    .stat-number,
    .logo h1,
    .service-card i,
    .qualite i,
    .info-card i,
    .service-icon i,
    .footer-info i,
    .copyright i {
        color: #FF6B00 !important;
    }
    
    /* Bordures orange */
    .filter-btn {
        border-color: #FF6B00 !important;
        color: #FF6B00 !important;
    }
    
    .filter-btn.active,
    .filter-btn:hover {
        border-color: #FF6B00 !important;
        color: white !important;
    }
    
    /* Éviter les conflits de couleurs */
    :root {
        --orange-principal: #FF6B00 !important;
        --orange-fonce: #E65100 !important;
        --primary: #FF6B00 !important;
    }
}

/* ===== MENU HAMBURGER POUR MOBILE ===== */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: var(--orange-principal, #FF6B00);
}

/* ===== MENU HAMBURGER CORRIGÉ ===== */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    margin-right: 15px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #FF6B00;
}

/* Style du menu pour mobile */
@media (max-width: 992px) {
    .hamburger {
        display: block !important;
    }
    
    .navbar {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #ffffff, #f8fafc);
        width: 85%;
        max-width: 350px;
        height: calc(100vh - 80px);
        text-align: left;
        transition: 0.4s ease-in-out;
        box-shadow: 5px 0 20px rgba(0,0,0,0.1);
        padding: 30px 20px;
        z-index: 1000;
        overflow-y: auto;
        border-right: 1px solid rgba(255,107,0,0.1);
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-menu li {
        margin: 15px 0;
        list-style: none;
        width: 100%;
        border-bottom: 1px solid rgba(255,107,0,0.1);
        padding-bottom: 10px;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        font-size: 18px;
        font-weight: 500;
        color: #333;
        text-decoration: none;
        display: block;
        padding: 12px 15px;
        border-radius: 8px;
        transition: all 0.3s;
    }
    
    .nav-menu a:hover {
        background: rgba(255,107,0,0.1);
        color: #FF6B00;
        padding-left: 25px;
    }
    
    .btn-devis {
        background: linear-gradient(135deg, #FF6B00, #E65100);
        color: white !important;
        text-align: center;
        font-weight: 600 !important;
        margin-top: 20px;
        border: none !important;
    }
    
    .btn-devis:hover {
        background: #E65100;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255,107,0,0.3);
    }
    
    /* Animation du hamburger */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Petit écran */
@media (max-width: 480px) {
    .nav-menu {
        top: 70px;
        width: 100%;
        max-width: 100%;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .slogan {
        font-size: 10px;
    }
    
    .nav-menu a {
        font-size: 16px;
        padding: 10px 15px;
    }
}



