/**
 * CleanPro - Styles Principaux
 * Site de nettoyage professionnel HACCP
 */

/* =====================================================
   Variables CSS
   ===================================================== */
:root {
    --primary: #0A2540;
    --primary-light: #1a3a5c;
    --accent: #00D4AA;
    --accent-hover: #00b894;
    --accent-glow: rgba(0, 212, 170, 0.3);
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-600: #475569;
    --gray-800: #1E293B;
    --success: #10B981;
    --error: #EF4444;
    --gradient-hero: linear-gradient(135deg, #0A2540 0%, #1a3a5c 50%, #0f3460 100%);
    --gradient-accent: linear-gradient(135deg, #00D4AA 0%, #00b894 100%);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-lg: 20px;
}

/* =====================================================
   Reset & Base
   ===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* =====================================================
   Navigation
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 2rem;
}
.navbar.scrolled .nav-link { color: var(--primary); }
.navbar.scrolled .logo-text { color: var(--primary); }
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--accent-glow);
}
.logo-icon svg { width: 28px; height: 28px; fill: var(--white); }
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    transition: color 0.3s ease;
}
.logo-text span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); }
.nav-link.active::after { width: 100%; }

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary);
    box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-800);
}
.btn-secondary:hover {
    background: var(--gray-200);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.navbar.scrolled .mobile-menu-btn span {
    background: var(--primary);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}
.hero-shape:nth-child(1) { width: 400px; height: 400px; top: -100px; right: -100px; }
.hero-shape:nth-child(2) { width: 300px; height: 300px; bottom: -50px; left: -50px; animation-delay: -5s; }
.hero-shape:nth-child(3) { width: 200px; height: 200px; top: 50%; left: 30%; animation-delay: -10s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content { animation: fadeInUp 1s ease; }

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 170, 0.15);
    border: 1px solid rgba(0, 212, 170, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.hero-badge-icon {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-badge-icon svg { width: 12px; height: 12px; fill: var(--primary); }
.hero-badge span { color: var(--accent); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.5px; }
.hero h1 { font-size: 3.5rem; color: var(--white); margin-bottom: 1.5rem; }
.hero h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-description {
    font-size: 1.2rem;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    max-width: 500px;
}
.hero-buttons { display: flex; gap: 1rem; }
.hero-stats { display: flex; gap: 3rem; margin-top: 4rem; }
.stat-item { text-align: left; }
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}
.stat-label { color: var(--gray-300); font-size: 0.9rem; }

/* =====================================================
   Carousel
   ===================================================== */
.hero-carousel { position: relative; animation: fadeInUp 1s ease 0.4s backwards; }
.carousel-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(10, 37, 64, 0.9));
}
.carousel-caption { color: var(--white); }
.carousel-caption h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.carousel-caption p { font-size: 0.9rem; color: var(--gray-300); }
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-dot.active { background: var(--accent); transform: scale(1.2); }
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}
.carousel-nav:hover { background: var(--accent); }
.carousel-nav:hover svg { fill: var(--white); }
.carousel-nav svg { width: 20px; height: 20px; fill: var(--primary); transition: fill 0.3s ease; }
.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }

/* =====================================================
   Sections Communes
   ===================================================== */
.container { max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.section-label::before, .section-label::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent);
}
.section-title { font-size: 2.75rem; color: var(--primary); margin-bottom: 1rem; }
.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   Services Section
   ===================================================== */
.services { padding: 7rem 2rem; background: var(--gray-50); position: relative; }
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.service-card {
    width: 380px;
    max-width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(0, 212, 170, 0.05));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}
.service-card:hover .service-icon {
    background: var(--gradient-accent);
    transform: scale(1.1) rotate(5deg);
}
.service-icon svg { width: 36px; height: 36px; fill: var(--accent); transition: fill 0.4s ease; }
.service-card:hover .service-icon svg { fill: var(--white); }
.service-card h3 { font-size: 1.375rem; color: var(--primary); margin-bottom: 0.75rem; }
.service-card p { color: var(--gray-600); margin-bottom: 1.5rem; font-size: 0.95rem; }
.service-features { list-style: none; margin-bottom: 1.5rem; }
.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}
.service-features li::before { content: '\2713'; color: var(--accent); font-weight: bold; }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}
.service-link:hover { gap: 0.75rem; }
.haccp-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--success);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* =====================================================
   About Section
   ===================================================== */
.about { padding: 7rem 2rem; background: var(--white); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-image { position: relative; }
.about-image-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-image-main img { width: 100%; height: 450px; object-fit: cover; }
.about-image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}
.about-image-badge .number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.about-image-badge span { display: block; font-size: 0.875rem; margin-top: 0.5rem; }
.about-content { display: flex; flex-direction: column; align-items: center; }
.about-content .section-label { justify-content: center; }
.about-content .section-title { text-align: center; }
.about-text { color: var(--gray-600); margin-bottom: 2rem; font-size: 1.05rem; text-align: center; }
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    justify-items: center;
}
.about-feature { display: flex; align-items: flex-start; gap: 1rem; text-align: left; }
.about-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.05));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.about-feature-icon svg { width: 24px; height: 24px; fill: var(--accent); }
.about-feature h4 { font-size: 1rem; color: var(--primary); margin-bottom: 0.25rem; }
.about-feature p { font-size: 0.875rem; color: var(--gray-600); }

/* =====================================================
   Why Us Section
   ===================================================== */
.why-us { padding: 7rem 2rem; background: var(--primary); position: relative; overflow: hidden; }
.why-us .section-label { color: var(--accent); }
.why-us .section-title { color: var(--white); }
.why-us .section-description { color: var(--gray-300); }
.why-us-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.why-us-card {
    width: 300px;
    max-width: 100%;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}
.why-us-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-5px); }
.why-us-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.why-us-icon svg { width: 40px; height: 40px; fill: var(--primary); }
.why-us-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.75rem; }
.why-us-card p { color: var(--gray-300); font-size: 0.9rem; }

/* =====================================================
   Tarifs Section
   ===================================================== */
.tarifs { padding: 7rem 2rem; background: var(--gray-50); }
.tarifs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.tarif-card {
    width: 340px;
    max-width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}
.tarif-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: var(--accent); }
.tarif-card.featured { border: 2px solid var(--accent); position: relative; }
.tarif-card.featured::before {
    content: 'Populaire';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}
.tarif-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.tarif-card.featured .tarif-header { background: var(--gradient-accent); }
.tarif-header h3 { color: var(--white); font-size: 1.375rem; margin-bottom: 0.5rem; }
.tarif-card.featured .tarif-header h3 { color: var(--primary); }
.tarif-header p { color: var(--gray-300); font-size: 0.9rem; }
.tarif-card.featured .tarif-header p { color: var(--primary-light); }
.tarif-price { padding: 2rem; text-align: center; border-bottom: 1px solid var(--gray-200); }
.tarif-price .price {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}
.tarif-price .price span { font-size: 1rem; font-weight: 400; color: var(--gray-600); }
.tarif-price .price .price-unit { font-size: 1.2rem; font-weight: 600; color: var(--primary); }
.tarif-price .note { font-size: 0.875rem; color: var(--gray-600); margin-top: 0.5rem; }
.tarif-body { padding: 2rem; }
.tarif-features { list-style: none; margin-bottom: 2rem; }
.tarif-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}
.tarif-features li:last-child { border-bottom: none; }
.tarif-features li::before { content: '\2713'; color: var(--accent); font-weight: bold; }
.tarif-card .btn { width: 100%; justify-content: center; }

/* =====================================================
   Galerie Section
   ===================================================== */
.galerie { padding: 7rem 2rem; background: var(--white); }
.galerie-filters { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gray-100);
    border: none;
    border-radius: 50px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: var(--white); }
.galerie-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.galerie-item {
    width: 400px;
    max-width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}
.galerie-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.galerie-comparison { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.galerie-comparison::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 4px;
    background: var(--accent);
    transform: translateX(-50%);
}
.galerie-before, .galerie-after { position: relative; }
.galerie-before img, .galerie-after img { width: 100%; height: 200px; object-fit: cover; }
.galerie-label {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.galerie-before .galerie-label { background: rgba(239, 68, 68, 0.9); color: var(--white); }
.galerie-after .galerie-label { background: rgba(16, 185, 129, 0.9); color: var(--white); }
.galerie-info { padding: 1.5rem; }
.galerie-info h4 { color: var(--primary); font-size: 1.125rem; margin-bottom: 0.5rem; }
.galerie-info p { color: var(--gray-600); font-size: 0.9rem; }
.galerie-tag {
    display: inline-block;
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact { padding: 7rem 2rem; background: var(--gray-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-info h3 { font-size: 1.75rem; color: var(--primary); margin-bottom: 1rem; }
.contact-info > p { color: var(--gray-600); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item-icon svg { width: 24px; height: 24px; fill: var(--primary); }
.contact-item h4 { color: var(--primary); font-size: 1rem; margin-bottom: 0.25rem; }
.contact-item p, .contact-item a { color: var(--gray-600); font-size: 0.95rem; text-decoration: none; }
.contact-item a:hover { color: var(--accent); }
.contact-form-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}
.contact-form-container h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group .error { border-color: var(--error); }
.form-error { color: var(--error); font-size: 0.85rem; margin-top: 0.5rem; }
.form-checkbox { display: flex; align-items: flex-start; gap: 0.75rem; }
.form-checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.form-checkbox label { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 0; }
.form-checkbox a { color: var(--accent); }
.contact-form .btn { width: 100%; padding: 1.125rem; font-size: 1rem; }

/* =====================================================
   Prestation Selector (Contact/Devis Form)
   ===================================================== */
.prestations-section > label {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}
.prestations-section .form-hint {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
#prestationsContainer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}
.prestation-row {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.25rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.prestation-row-visible {
    opacity: 1;
    transform: translateY(0);
}
.prestation-row-removing {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.prestation-row:hover {
    border-color: var(--accent);
}
.prestation-row-fields {
    display: grid;
    grid-template-columns: 2fr 1fr 1.25fr auto;
    gap: 1rem;
    align-items: end;
}
.prestation-field label {
    display: block;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.prestation-field select,
.prestation-field input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}
.prestation-field select:focus,
.prestation-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.prestation-field-qty input {
    text-align: center;
}
.qty-with-unit {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.qty-unit-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    white-space: nowrap;
}
.btn-remove-prestation {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-600);
    flex-shrink: 0;
    align-self: end;
}
.btn-remove-prestation:hover {
    background: var(--error);
    border-color: var(--error);
    color: var(--white);
}
.prestation-autre-field {
    margin-top: 0.75rem;
}
.prestation-autre-field input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}
.prestation-autre-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.btn-add-prestation {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}
.btn-add-prestation:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 170, 0.05);
}

/* Options payantes dans le formulaire de demande - AMÉLIORATION UX */
.prestation-options {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 64, 83, 0.1);
}
.options-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.options-title::before {
    content: "✓";
    background: var(--accent);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}
.option-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.option-item:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.2);
}
.option-item:last-child {
    margin-bottom: 0;
}
.option-item label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}
.option-item label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}
/* Feedback visuel quand option cochée */
.option-item:has(input:checked) {
    border-color: var(--accent);
    background: #f0fdfa;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.15);
}
.option-nom {
    color: var(--gray-800);
    font-weight: 500;
}
.option-prix {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(0, 212, 170, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}
.option-qty {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--gray-600);
}
.option-qty input[type="number"] {
    width: 55px;
    padding: 0.4rem 0.5rem;
    text-align: center;
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}
.option-qty input[type="number"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.15);
}

/* =====================================================
   Footer
   ===================================================== */
.footer { background: var(--primary); color: var(--white); padding: 5rem 2rem 2rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-brand .logo { margin-bottom: 1.5rem; }
.footer-brand p { color: var(--gray-300); font-size: 0.95rem; margin-bottom: 1.5rem; max-width: 300px; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 20px; height: 20px; fill: var(--white); }
.footer-links h4 { font-size: 1.125rem; margin-bottom: 1.5rem; color: var(--white); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-newsletter h4 { font-size: 1.125rem; margin-bottom: 1rem; }
.footer-newsletter p { color: var(--gray-300); font-size: 0.9rem; margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 0.75rem; }
.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: var(--gray-300); }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-form button { padding: 0.875rem 1.5rem; }
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p { color: var(--gray-300); font-size: 0.9rem; }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { color: var(--gray-300); text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-legal a:hover { color: var(--accent); }

/* =====================================================
   Alerts
   ===================================================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}
.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

/* =====================================================
   Page Header (pour pages internes)
   ===================================================== */
.page-header {
    background: var(--gradient-hero);
    padding: 10rem 2rem 5rem;
    text-align: center;
    position: relative;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.page-header .container {
    position: relative;
    z-index: 1;
}
.page-header h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}
.page-header p {
    font-size: 1.2rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   Cookie Consent Banner
   ===================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    padding: 1.25rem 2rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    animation: cookieSlideUp 0.4s ease;
}
@keyframes cookieSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.cookie-banner-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}
.cookie-banner-content a {
    color: var(--accent);
    text-decoration: underline;
}
.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
.btn-cookie-accept {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-cookie-accept:hover {
    background: var(--accent-hover);
}
.btn-cookie-refuse {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray-300);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}
.btn-cookie-refuse:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}
@media (max-width: 768px) {
    .cookie-banner { padding: 1rem; }
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .cookie-banner-actions { justify-content: center; }
}

/* =====================================================
   Newsletter RGPD Checkbox
   ===================================================== */
.newsletter-rgpd {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-300);
    margin: 0.5rem 0;
    cursor: pointer;
    line-height: 1.4;
}
.newsletter-rgpd input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}
.newsletter-rgpd a {
    color: var(--accent);
    text-decoration: underline;
}
