/* ============================================
   Mr Dego Assainissement - Feuille de style
   Design moderne, coloré et dynamique
   ============================================ */

:root {
    --color-primary: #0066cc;
    --color-primary-dark: #004999;
    --color-primary-light: #3399ff;
    --color-secondary: #ff6b35;
    --color-secondary-dark: #e54d1c;
    --color-accent: #ffc233;
    --color-success: #00b894;
    --color-danger: #e74c3c;
    --color-bg: #ffffff;
    --color-bg-alt: #f0f7ff;
    --color-bg-soft: #fff5ee;
    --color-text: #1a2332;
    --color-text-light: #5a6c7d;
    --color-border: #e1e8ed;

    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00a8e8 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ffc233 100%);
    --gradient-hero: linear-gradient(135deg, #004999 0%, #0066cc 40%, #00a8e8 100%);
    --gradient-cool: linear-gradient(135deg, #00b894 0%, #00cec9 100%);

    --shadow-sm: 0 2px 8px rgba(0, 102, 204, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 102, 204, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 102, 204, 0.18);
    --shadow-color: 0 8px 24px rgba(255, 107, 53, 0.25);

    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-bg);
    overflow-x: hidden;
}

/* ===== Animations globales ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

/* ===== Typographie ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.45rem; margin-bottom: 0.75rem; font-weight: 700; }

p { margin-bottom: 1rem; color: var(--color-text-light); }

a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-secondary); }

.gradient-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Header / Navigation ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-top {
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.header-top a {
    color: var(--color-accent);
    font-weight: 700;
}

.header-top a:hover {
    color: #fff;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--color-primary);
}

.logo-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 102, 204, 0.2));
}

.logo:hover .logo-icon {
    transform: rotate(-8deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
}

.logo-text small {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-body);
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-secondary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
}

.nav-cta {
    background: var(--gradient-secondary) !important;
    color: #fff !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.55);
}

.mobile-toggle {
    display: none;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 1.3rem;
    cursor: pointer;
}

/* ===== Boutons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 107, 53, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
    transform: translateY(-3px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: bgShift 15s ease infinite;
    color: #fff;
    padding: 5rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 194, 51, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero .container {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.hero h1 .highlight {
    background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== Sections ===== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-alt {
    background: var(--color-bg-alt);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(180deg, var(--color-bg) 0%, transparent 100%);
}

.section-soft {
    background: var(--color-bg-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    background: var(--gradient-secondary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.section-title {
    color: var(--color-text);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    margin: 1.25rem auto 0;
    border-radius: 2px;
}

/* ===== Page Title (sous-pages) ===== */
.page-title {
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: bgShift 15s ease infinite;
    color: #fff;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: -100px; right: -50px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 194, 51, 0.2), transparent 70%);
    border-radius: 50%;
    animation: float 9s ease-in-out infinite;
}

.page-title .container { position: relative; z-index: 2; }
.page-title h1 { color: #fff; }
.page-title p { color: rgba(255, 255, 255, 0.95); font-size: 1.15rem; }

.breadcrumb {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.breadcrumb a {
    color: var(--color-accent);
    font-weight: 600;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Grilles ===== */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ===== Cards ===== */
.card {
    background: #fff;
    padding: 2.2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

.card:hover .card-icon {
    transform: rotate(-8deg) scale(1.1);
}

/* Cards aux variantes colorées (cible par :nth-child) */
.grid .card:nth-child(2) .card-icon {
    background: var(--gradient-secondary);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.grid .card:nth-child(3) .card-icon {
    background: var(--gradient-cool);
    box-shadow: 0 6px 16px rgba(0, 184, 148, 0.35);
}

.grid .card:nth-child(4) .card-icon {
    background: linear-gradient(135deg, #ffc233 0%, #ff6b35 100%);
    box-shadow: 0 6px 16px rgba(255, 194, 51, 0.4);
}

.grid .card:nth-child(5) .card-icon {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    box-shadow: 0 6px 16px rgba(108, 92, 231, 0.4);
}

.grid .card:nth-child(6) .card-icon {
    background: linear-gradient(135deg, #e84393 0%, #fd79a8 100%);
    box-shadow: 0 6px 16px rgba(232, 67, 147, 0.4);
}

.card h3 {
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

/* ===== Service détaillé ===== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 2px dashed rgba(0, 102, 204, 0.15);
}

.service-detail:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.service-detail.reverse .service-image {
    order: 2;
}

.service-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 5rem;
    position: relative;
    transition: var(--transition);
}

.service-detail.reverse .service-image {
    background: var(--gradient-secondary);
}

.service-detail:nth-child(odd) .service-image {
    background: var(--gradient-cool);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
}

.service-image:hover {
    transform: scale(1.02) rotate(-1deg);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.service-content .section-label { margin-bottom: 1rem; }

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.6rem 0 0.6rem 2.25rem;
    position: relative;
    color: var(--color-text);
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--gradient-cool);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ===== Bandeau téléphone géant ===== */
.phone-banner {
    background: var(--gradient-secondary);
    padding: 3rem 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.phone-banner::before,
.phone-banner::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.phone-banner::before { top: -150px; left: -80px; }
.phone-banner::after { bottom: -150px; right: -80px; }

.phone-banner .container { position: relative; z-index: 1; }

.phone-banner .phone-label {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    font-weight: 600;
    opacity: 0.95;
}

.phone-banner .phone-number {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.8rem);
    font-weight: 800;
    color: #fff !important;
    letter-spacing: 2px;
    line-height: 1.1;
    transition: var(--transition);
    text-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.phone-banner .phone-number:hover {
    transform: scale(1.04);
    color: var(--color-accent) !important;
}

.phone-banner .phone-icon-big {
    font-size: 1.2em;
    animation: ring 1.6s ease infinite;
    display: inline-block;
}

@keyframes ring {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0); }
}

.phone-banner .phone-sub {
    margin-top: 1rem;
    font-size: 1.05rem;
    opacity: 0.95;
    font-weight: 500;
}

/* ===== Bouton flottant WhatsApp ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: -8px; right: -8px; bottom: -8px; left: -8px;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.35;
    animation: pulse-ring 2s ease-out infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65);
}

.whatsapp-float svg {
    width: 36px;
    height: 36px;
    fill: #fff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 78px;
    background: #fff;
    color: var(--color-text);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px; height: 12px;
    background: #fff;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Bouton appel flottant (mobile) ===== */
.call-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.5);
    z-index: 999;
    color: #fff;
    font-size: 1.7rem;
    text-decoration: none;
}

@media (max-width: 768px) {
    .call-float { display: flex; }
    .whatsapp-float { bottom: 18px; right: 18px; width: 58px; height: 58px; }
    .whatsapp-float svg { width: 30px; height: 30px; }
    .whatsapp-tooltip { display: none; }
}

/* ===== Boutons WhatsApp en ligne ===== */
.btn-whatsapp {
    background: #25D366 !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #1da851 !important;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

/* ===== Galerie Avant/Après ===== */
.ba-grid { gap: 2.5rem; }

.ba-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    padding-bottom: 1.75rem;
}

.ba-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.ba-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.ba-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.ba-card:hover .ba-img-wrap img {
    transform: scale(1.05);
}

.ba-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.ba-avant { background: linear-gradient(135deg, #e74c3c, #ff6b35); }
.ba-apres { background: linear-gradient(135deg, #00b894, #00cec9); }

.ba-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
}

.ba-card p {
    padding: 0 1.5rem;
    font-size: 0.95rem;
}

/* ===== Tableaux tarifs ===== */
.tarifs-block {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(0, 102, 204, 0.08);
}

.tarifs-block-header {
    background: var(--gradient-hero);
    color: #fff;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tarifs-block-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.4rem;
}

.tarifs-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    backdrop-filter: blur(10px);
}

.tarifs-table {
    width: 100%;
    border-collapse: collapse;
}

.tarifs-table thead {
    background: var(--color-bg-alt);
}

.tarifs-table th {
    padding: 1rem 2rem;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    font-weight: 700;
}

.tarifs-table th:last-child {
    text-align: right;
}

.tarifs-table td {
    padding: 1.1rem 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 1.02rem;
}

.tarifs-table td:last-child {
    text-align: right;
    color: var(--color-secondary-dark);
    font-size: 1.1rem;
    white-space: nowrap;
}

.tarifs-table tbody tr {
    transition: var(--transition);
}

.tarifs-table tbody tr:hover {
    background: var(--color-bg-soft);
}

@media (max-width: 600px) {
    .tarifs-table th,
    .tarifs-table td {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
    .tarifs-block-header {
        padding: 1.25rem 1.25rem;
    }
}

/* ===== Tarifs (cartes prix) ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background: var(--gradient-hero);
    color: #fff;
    transform: scale(1.03);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured p { color: #fff; }

.pricing-card.featured .price-unit,
.pricing-card.featured ul li { color: rgba(255,255,255,0.9); }

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: #fff;
    padding: 0.35rem 1.2rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.price {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-card.featured .price {
    background: linear-gradient(120deg, var(--color-accent) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-unit {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    display: block;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.pricing-card ul li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    font-size: 0.95rem;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.pricing-card.featured ul li::before { color: var(--color-accent); }

/* ===== Statistiques ===== */
.stats {
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: bgShift 15s ease infinite;
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255, 194, 51, 0.12) 0%, transparent 60%);
    border-radius: 50%;
}

.stats .container { position: relative; z-index: 1; }

.stats .grid-4 {
    text-align: center;
}

.stats .grid-4 > div {
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    transition: var(--transition);
}

.stats .grid-4 > div:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: var(--gradient-secondary);
    color: #fff;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-banner::before { top: -200px; left: -100px; }
.cta-banner::after { bottom: -200px; right: -100px; }

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: clamp(1.85rem, 4vw, 2.6rem);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-primary {
    background: #fff;
    color: var(--color-secondary-dark);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cta-banner .btn-primary:hover {
    color: var(--color-secondary-dark);
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

/* ===== Contact / Formulaire ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: bgShift 15s ease infinite;
    color: #fff;
    padding: 2.8rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(255,194,51,0.25), transparent 70%);
    border-radius: 50%;
}

.contact-info-card h3 {
    color: #fff;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 194, 51, 0.5);
    position: relative;
    z-index: 1;
    font-size: 1.6rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-secondary);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: rotate(-8deg) scale(1.05);
}

.contact-item-content strong {
    display: block;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.contact-item-content span,
.contact-item-content a {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 500;
}

.contact-item-content a:hover {
    color: var(--color-accent);
}

.form-card {
    background: #fff;
    padding: 2.8rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(0, 102, 204, 0.08);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--gradient-secondary);
}

.form-card h2 { color: var(--color-text); }

.form-group {
    margin-bottom: 1.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-size: 0.92rem;
}

.form-group label .required { color: var(--color-secondary); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
    color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.12);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.emergency-banner {
    background: linear-gradient(135deg, var(--color-danger) 0%, var(--color-secondary) 100%);
    color: #fff;
    text-align: center;
    padding: 1.5rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
    animation: pulse 2.5s ease infinite;
}

.emergency-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s linear infinite;
}

.emergency-banner > * { position: relative; z-index: 1; }

.emergency-banner strong {
    display: block;
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.emergency-banner a {
    color: #fff;
    font-weight: 800;
    font-size: 1.6rem;
}

.emergency-banner a:hover { color: var(--color-accent); }

/* ===== Zones d'intervention ===== */
.zones-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.zones-list li {
    list-style: none;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid var(--color-secondary);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.zones-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-primary);
}

.zones-list li:nth-child(even) {
    border-left-color: var(--color-primary);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #0a1929 0%, #142848 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -200px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 50px; right: -150px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.footer .container { position: relative; z-index: 1; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    padding-bottom: 0.85rem;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.footer p, .footer li, .footer a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.footer a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer ul { list-style: none; }

.footer ul li {
    padding: 0.4rem 0;
    transition: var(--transition);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a { color: var(--color-accent); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
    }
    .service-detail.reverse .service-image {
        order: 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body { padding-bottom: 70px; /* place pour la barre sticky mobile */ }

    .header-top { font-size: 0.75rem; padding: 0.4rem 0; }
    .header-top .container { justify-content: center; gap: 0.5rem; }

    .mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.25rem;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--color-border);
        align-items: flex-start;
    }
    .nav-menu.open { display: flex; }
    .nav-menu li { width: 100%; }
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid var(--color-border);
        font-size: 1.05rem;
    }
    .nav-menu a::after { display: none; }
    .nav-cta {
        text-align: center;
        margin-top: 0.5rem;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .logo { font-size: 1.25rem; gap: 0.6rem; }
    .logo-icon { width: 50px; height: 50px; }
    .logo-text small { font-size: 0.65rem; letter-spacing: 1.5px; }

    .hero { min-height: 480px; padding: 3rem 0; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero-badges { gap: 0.4rem; }
    .hero-badge { font-size: 0.78rem; padding: 0.4rem 0.85rem; }
    .hero-cta { width: 100%; }
    .hero-cta .btn { flex: 1; justify-content: center; padding: 0.9rem 1rem; font-size: 0.88rem; }

    .phone-banner { padding: 2rem 0; }
    .phone-banner .phone-label { font-size: 0.9rem; letter-spacing: 2px; }
    .phone-banner .phone-number { font-size: 2.1rem; letter-spacing: 1px; gap: 0.5rem; }
    .phone-banner .phone-sub { font-size: 0.9rem; }

    .section { padding: 3rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .section-title { font-size: 1.6rem; }

    .stat-number { font-size: 2.2rem; }
    .stats { padding: 3.5rem 0; }
    .stats .grid-4 > div { padding: 1.25rem 0.75rem; }
    .stat-label { font-size: 0.8rem; }

    .card { padding: 1.5rem; }
    .card-icon { width: 56px; height: 56px; font-size: 1.5rem; border-radius: 16px; }

    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 1.75rem 1.25rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

    .cta-banner { padding: 3.5rem 0; }
    .cta-banner h2 { font-size: 1.6rem; }
    .cta-banner p { font-size: 1rem; }

    .ba-card { padding-bottom: 1.25rem; }
    .ba-card h3 { padding: 1rem 1.25rem 0.5rem; font-size: 1.15rem; }
    .ba-card p { padding: 0 1.25rem; font-size: 0.9rem; }

    /* On masque les boutons flottants, remplacés par la barre sticky */
    .whatsapp-float, .call-float { display: none; }

    /* Barre d'action sticky en bas (mobile uniquement) */
    .mobile-action-bar { display: flex; }
}

/* ===== Barre d'action mobile sticky ===== */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 998;
    padding: 0.5rem;
    gap: 0.5rem;
}

.mobile-action-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.9rem 0.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-action-bar .action-call {
    background: var(--gradient-secondary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.35);
}

.mobile-action-bar .action-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.mobile-action-bar .action-devis {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.35);
}

.mobile-action-bar a svg {
    width: 18px;
    height: 18px;
}

.mobile-action-bar a:active {
    transform: scale(0.96);
}

@media (max-width: 500px) {
    .mobile-action-bar a {
        font-size: 0.78rem;
        padding: 0.75rem 0.3rem;
    }
    .hero h1 { font-size: 1.7rem; }
    .phone-banner .phone-number { font-size: 1.8rem; }
    .tarifs-table th, .tarifs-table td {
        padding: 0.7rem 0.75rem;
        font-size: 0.85rem;
    }
    .tarifs-block-header { padding: 1rem; }
    .tarifs-block-header h3 { font-size: 1.1rem; }
    .tarifs-icon { width: 44px; height: 44px; font-size: 1.3rem; }
}
