/*
 * Mr-Multiservices — style.css
 * Regroupement des styles de header.php, index.php et footer.php
 * Version mobile optimisée toutes pages : 31/07/2026 — v2
 */

:root {
    --brand-red: #e60000;
    --brand-gold: #ffb300;
    --brand-dark: #050505;
    --brand-darker: #000000;
    --brand-gray: #e0e0e0;
    --accent-glow: rgba(230, 0, 0, 0.5);
    --gold-glow: rgba(255, 179, 0, 0.5);
    --nav-height: 68px;
    --page-gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #050505; }
body { margin: 0; min-width: 0; overflow-x: hidden; background: var(--brand-dark); color: #f3f4f6; font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
img, svg, video, canvas, iframe { max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
a, button { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--brand-gold); }

body { margin-top: 0; }
        .navbar { background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); position: fixed; top: 0; left: 0; width: 100%; z-index: 9000; padding: 0.5rem 0; }
        body > nav.navbar + * { margin-top: 80px; }
        .nav-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
        
        /* ================= VENTE FLASH NAV BUTTON ================= */
        @keyframes multiColorStar {
            0%   { color: #FFD700; } /* OR */
            14%  { color: #000000; text-shadow: 0 0 4px rgba(255,255,255,0.8); } /* NOIR */
            28%  { color: #C0C0C0; text-shadow: none; } /* ARGENT */
            42%  { color: #8A2BE2; } /* VIOLET */
            57%  { color: #00FF00; } /* VERT */
            71%  { color: #FF0000; } /* ROUGE */
            85%  { color: #FFFFFF; } /* BLANC */
            100% { color: #FFFF00; } /* JAUNE */
        }
        .flash-star { 
            animation: multiColorStar 1.5s infinite; 
            font-size: 1.4rem; 
            margin-right: 6px; 
            filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
        }
        @keyframes gradientText {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        .flash-text {
            background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
            background-size: 300% 300%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: gradientText 3s ease infinite;
            font-weight: 900;
            font-size: 1.1rem;
            text-transform: uppercase;
            white-space: nowrap;
        }
        .flash-btn-nav {
            display: flex; 
            align-items: center; 
            background: rgba(0,0,0,0.4); 
            padding: 5px 15px; 
            border-radius: 20px; 
            border: 1px solid rgba(255,255,255,0.1); 
            margin-right: auto; /* Pousse le logo vers la droite si besoin */
            text-decoration: none;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            transition: transform 0.2s;
        }
        .flash-btn-nav:hover { transform: scale(1.05); }
        
        @media (max-width: 600px) {
            .flash-text { font-size: 0.8rem; }
            .flash-star { font-size: 1rem; }
            .flash-btn-nav { padding: 4px 8px; margin-right: 10px; }
            .nav-logo img { max-height: 35px; } /* Ajustement mobile pour la place */
        }
        /* ========================================================== */

        .nav-links { display: flex; align-items: center; gap: 5px; list-style: none; margin: 0; padding: 0; }
        .nav-logo { display: inline-block; animation: logoEntrance 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
        @keyframes logoEntrance { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
        .nav-logo img { transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); animation: floatLogo 4s ease-in-out infinite; will-change: transform, filter; transform-origin: left center; max-height: 50px; }
        @keyframes floatLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
        .nav-logo:hover img { transform: scale(1.08) rotate(-2deg); filter: drop-shadow(0px 8px 15px rgba(239, 68, 68, 0.5)) drop-shadow(0px 0px 25px rgba(255, 215, 0, 0.4)); animation-play-state: paused; }
        .nav-item { position: relative; opacity: 0; transform: translateY(-15px); animation: dropIn 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards; }
        @keyframes dropIn { to { opacity: 1; transform: translateY(0); } }
        .nav-item:nth-child(1) { animation-delay: 0.1s; } 
        .nav-item:nth-child(2) { animation-delay: 0.15s; } 
        .nav-item:nth-child(3) { animation-delay: 0.2s; } 
        .nav-item:nth-child(4) { animation-delay: 0.25s; } 
        .nav-item:nth-child(5) { animation-delay: 0.3s; } 
        .nav-item:nth-child(6) { animation-delay: 0.35s; } 
        .nav-item:nth-child(7) { animation-delay: 0.4s; } 
        .nav-item:nth-child(8) { animation-delay: 0.45s; } 
        .nav-item:nth-child(9) { animation-delay: 0.5s; } 
        .nav-item:nth-child(10) { animation-delay: 0.55s; } 
        .nav-item:nth-child(11) { animation-delay: 0.6s; }
        .nav-item:nth-child(12) { animation-delay: 0.65s; } 
        .nav-item a { display: flex !important; align-items: center; gap: 6px; color: #f8fafc !important; font-weight: 600; font-size: 0.90rem; padding: 8px 12px; border-radius: 12px; text-decoration: none; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; position: relative; overflow: hidden; z-index: 1; }
        .nav-item a i { transition: transform 0.3s ease, color 0.3s ease; font-size: 1.1rem; }
        .nav-item:nth-child(1) a i { color: #10b981; } .nav-item:nth-child(2) a i { color: #f59e0b; } .nav-item:nth-child(3) a i { color: #ef4444; } .nav-item:nth-child(4) a i { color: #3b82f6; } .nav-item:nth-child(5) a i { color: #eab308; } .nav-item:nth-child(6) a i { color: #60a5fa; } .nav-item:nth-child(7) a i { color: #a855f7; } .nav-item:nth-child(8) a i { color: #ec4899; }
        .nav-item a:not(.btn-suivi):hover { background: rgba(255, 255, 255, 0.05); transform: translateY(-2px); color: #ffffff !important; }
        .nav-item a:not(.btn-suivi):hover i { transform: scale(1.2) rotate(5deg); }
        .nav-item a:not(.btn-suivi)::before { content: ''; position: absolute; bottom: 0; left: 50%; width: 0%; height: 3px; background: linear-gradient(90deg, #38bdf8, #a855f7, #ec4899); transition: all 0.4s ease; transform: translateX(-50%); border-radius: 3px; }
        .nav-item a:not(.btn-suivi):hover::before { width: 80%; }
        .nav-item.has-tooltip { position: relative; }
        .nav-item .btn-suivi { background: rgba(0, 0, 0, 0.2); }
        .nav-item .btn-suivi:hover { background: rgba(255, 215, 0, 0.1); box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2); transform: translateY(-2px); }
        .tooltip-suivi { position: absolute; top: 140%; left: 50%; transform: translateX(-50%) translateY(10px); width: 260px; background-color: rgba(15, 23, 42, 0.98); border: 1px solid #FFD700; color: #cbd5e1; padding: 15px; border-radius: 12px; font-size: 0.85rem; line-height: 1.5; box-shadow: 0 15px 30px rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 100; pointer-events: none; text-align: center; }
        .tooltip-suivi::before { content: ''; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; background-color: rgba(15, 23, 42, 0.98); border-top: 1px solid #FFD700; border-left: 1px solid #FFD700; transform: translateX(-50%) rotate(45deg); }
        .nav-item.has-tooltip:hover .tooltip-suivi { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
        .hamburger { display: none; color: #f8fafc; font-size: 1.8rem; cursor: pointer; transition: transform 0.3s ease; }
        .hamburger:hover { color: #38bdf8; }
        @media (max-width: 1100px) {
            .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(15, 23, 42, 0.98); backdrop-filter: blur(10px); padding: 20px; border-bottom: 2px solid #38bdf8; box-shadow: 0 10px 30px rgba(0,0,0,0.5); gap: 10px; }
            .nav-links.active { display: flex; animation: slideDownMenu 0.4s ease forwards; }
            @keyframes slideDownMenu { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
            .hamburger { display: block; }
            .nav-item a { justify-content: flex-start; padding: 12px 15px; font-size: 1.1rem; }
            .nav-item a::before { display: none; }
            .tooltip-suivi { left: auto; right: 0; transform: translateY(10px); }
            .tooltip-suivi::before { left: auto; right: 30px; transform: rotate(45deg); }
            .nav-item.has-tooltip:hover .tooltip-suivi { transform: translateY(0); }
        }

.nav-item:nth-last-child(2) .tooltip-suivi::before { border-top-color: #10B981; border-left-color: #10B981; }
                    .nav-item:nth-last-child(2) .btn-suivi:hover { background: rgba(16, 185, 129, 0.1); box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2); }

.nav-item:last-child .tooltip-suivi::before { border-top-color: #FF385C; border-left-color: #FF385C; }
                    .nav-item:last-child .btn-suivi:hover { background: rgba(255, 56, 92, 0.1); box-shadow: 0 5px 15px rgba(255, 56, 92, 0.2); }

/* VARIABLES DE COULEUR GLOBALES (basées sur le logo) */
    :root {
        --brand-red: #E60000;      /* Rouge du 'Multi' */
        --brand-gold: #FFB300;     /* Jaune/Or du 'Services' */
        --brand-dark: #050505;     /* Fond très sombre */
        --brand-darker: #000000;
        --brand-gray: #E0E0E0;     /* Gris clair pour le texte 'Mr' */
        --accent-glow: rgba(230, 0, 0, 0.5);
        --gold-glow: rgba(255, 179, 0, 0.5);
    }

    body {
        background-color: var(--brand-dark);
        color: #f3f4f6;
        font-family: 'Inter', sans-serif;
        overflow-x: hidden;
    }

    /* TYPOGRAPHIE ET ALIGNEMENTS */
    h2.section-title, .depannage-section h2, .web-creation-section h2, .services-section h2 {
        text-align: center !important; width: 100% !important; margin: 0 auto 3rem auto !important;
        display: block !important; float: none !important; position: relative !important;
        left: 0 !important; transform: none !important; clear: both !important;
        font-weight: 900; letter-spacing: -0.5px;
    }
    h2.section-title::after, .depannage-section h2::after, .web-creation-section h2::after, .services-section h2::after {
        content: ''; width: 80px; height: 4px; background: linear-gradient(90deg, var(--brand-red), var(--brand-gold));
        display: block; margin: 15px auto 0 auto; border-radius: 2px;
        box-shadow: 0 2px 10px var(--accent-glow);
    }

    /* ANIMATIONS GLOBALES */
    @keyframes float-icon {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
    @keyframes pulse-ring {
        0% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.7); }
        70% { box-shadow: 0 0 0 15px rgba(230, 0, 0, 0); }
        100% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0); }
    }
    @keyframes shine {
        0% { left: -100%; }
        20% { left: 100%; }
        100% { left: 100%; }
    }

    /* BARRE D'INFO LIVE (Glassmorphism) */
    .live-info-bar { 
        background: rgba(5, 5, 5, 0.7); 
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255,255,255,0.05); 
        padding: 12px 25px; display: flex; justify-content: space-between; align-items: center; 
        flex-wrap: wrap; gap: 15px; font-size: 0.85rem; color: #cbd5e1; position: relative; z-index: 100; 
    }
    .date-badge { background: rgba(255, 255, 255, 0.05); padding: 6px 15px; border-radius: 30px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.1); }
    .quote-text { flex: 1; text-align: center; font-style: italic; color: #9ca3af; letter-spacing: 0.5px; }
    .weather-badge { background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)); padding: 6px 15px; border-radius: 30px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.1); }

    /* BANDEAU PROMO DÉFILANT */
    .promo-scroll-container { 
        background: linear-gradient(90deg, #b30000, var(--brand-red), #b30000); 
        background-size: 200% auto;
        color: white; overflow: hidden; white-space: nowrap; padding: 12px 0; font-weight: 900; text-transform: uppercase; 
        position: sticky; top: var(--nav-height, 0); z-index: 99; letter-spacing: 1px; box-shadow: 0 4px 20px var(--accent-glow);
        animation: gradient-shift 5s linear infinite;
    }
    @keyframes gradient-shift { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
    .promo-scroll-text { display: inline-block; animation: scroll-left 35s linear infinite; font-size: 0.95rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
    @keyframes scroll-left { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

    /* HERO SECTION (MODERNE & ANIMÉE) */
    .hero-mini { 
        position: relative;
        background: radial-gradient(circle at center, #1a0505 0%, var(--brand-darker) 100%);
        padding: 8rem 1rem 7rem 1rem; 
        border-bottom: 2px solid rgba(230, 0, 0, 0.2); 
        width: 100%; overflow: hidden;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
    }
    .hero-bg-glow {
        position: absolute; width: 60vw; height: 60vw;
        background: radial-gradient(circle, rgba(230,0,0,0.15) 0%, transparent 60%);
        top: 50%; left: 50%; transform: translate(-50%, -50%);
        z-index: 0; pointer-events: none;
        animation: pulse-glow 8s infinite alternate ease-in-out;
    }
    @keyframes pulse-glow { 0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } }

    .hero-content { position: relative; z-index: 1; width: 100%; max-width: 900px; }
    
    .logo-hero-container { margin-bottom: 2.5rem; display: flex; justify-content: center; }
    .logo-hero { max-width: 380px; width: 100%; height: auto; filter: drop-shadow(0 15px 30px rgba(0,0,0,0.9)); animation: float-subtle 6s ease-in-out infinite; }
    @keyframes float-subtle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

    .welcome-text { 
        font-size: 1.1rem; color: var(--brand-gray); font-weight: 700; text-transform: uppercase; 
        letter-spacing: 4px; margin-bottom: 1.5rem; display: inline-block;
        background: linear-gradient(90deg, #fff, #a1a1aa); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    
    .portal-subtitle { font-size: 1.4rem; color: #E5E7EB; margin: 1.5rem auto 0 auto; line-height: 1.8; font-weight: 300; }
    .portal-subtitle strong { font-weight: 700; color: white; background: linear-gradient(90deg, var(--brand-red), var(--brand-gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

    /* BOUTON D'APPEL À L'ACTION (Effet Brillance + Pulsation) */
    .cta-main-wrapper { margin-top: 3.5rem; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
    
    .btn-super-action {
        background: linear-gradient(135deg, var(--brand-red), #990000);
        color: white; padding: 16px 40px; font-size: 1.25rem; font-weight: 900; text-transform: uppercase;
        border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 15px;
        box-shadow: 0 10px 30px var(--accent-glow); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 1px solid rgba(255,100,100,0.3); position: relative; overflow: hidden;
        animation: pulse-ring 2s infinite;
    }
    .btn-super-action::after {
        content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
        transform: skewX(-25deg); animation: shine 4s infinite;
    }
    .btn-super-action:hover {
        transform: translateY(-5px) scale(1.05); box-shadow: 0 20px 40px rgba(230, 0, 0, 0.8);
        background: linear-gradient(135deg, #ff1a1a, var(--brand-red)); color: white;
    }
    
    .btn-outline-gold {
        background: rgba(255, 179, 0, 0.05); color: var(--brand-gold); padding: 14px 35px; font-size: 1.1rem; font-weight: 700;
        border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
        border: 2px solid var(--brand-gold); transition: all 0.3s ease; backdrop-filter: blur(5px);
    }
    .btn-outline-gold:hover { background: var(--brand-gold); transform: translateY(-3px); box-shadow: 0 10px 25px var(--gold-glow); color: black; }

    /* SECTION INFO / ENGAGEMENT */
    .info-highlight-section { background: #050505; padding: 5rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.03); }
    .info-container { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
    .info-card { 
        background: rgba(15, 15, 15, 0.7); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; 
        padding: 4rem 3rem; text-align: center; position: relative; overflow: hidden;
        box-shadow: 0 25px 50px rgba(0,0,0,0.5); transition: transform 0.4s ease, border-color 0.4s ease;
    }
    .info-card:hover { transform: translateY(-5px); border-color: rgba(230, 0, 0, 0.4); box-shadow: 0 30px 60px rgba(0,0,0,0.7), inset 0 0 20px rgba(230,0,0,0.05); }
    .info-card::before {
        content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
        background: linear-gradient(90deg, var(--brand-red), var(--brand-gold));
    }
    .info-icon-wrapper { 
        width: 90px; height: 90px; margin: 0 auto 2rem auto; background: linear-gradient(135deg, rgba(255,179,0,0.2), rgba(230,0,0,0.1)); 
        border-radius: 50%; display: flex; align-items: center; justify-content: center;
        color: var(--brand-gold); font-size: 2.8rem; box-shadow: 0 0 30px var(--gold-glow); border: 1px solid rgba(255,179,0,0.3);
        animation: float-icon 4s infinite ease-in-out;
    }
    .info-card h3 { color: white; font-size: 2rem; margin-bottom: 1.2rem; font-weight: 900; letter-spacing: -0.5px; }
    .info-card p { color: #a1a1aa; font-size: 1.15rem; line-height: 1.8; margin-bottom: 3rem; }
    
    .features-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; text-align: left; }
    .feature-item { display: flex; align-items: flex-start; gap: 18px; padding: 1.5rem; background: rgba(255,255,255,0.02); border-radius: 16px; border: 1px solid rgba(255,255,255,0.03); transition: background 0.3s; }
    .feature-item:hover { background: rgba(255,255,255,0.05); }
    .feature-icon { color: var(--brand-red); font-size: 1.8rem; margin-top: 2px; filter: drop-shadow(0 0 10px rgba(230,0,0,0.3)); }
    .feature-text strong { color: white; display: block; margin-bottom: 6px; font-size: 1.15rem; }
    .feature-text { color: #d4d4d8; font-size: 1rem; line-height: 1.6; }

    /* SECTION DÉPANNAGE / SERVICES GRID */
    .depannage-section { padding: 6rem 1rem; background: radial-gradient(circle at 100% 0%, rgba(230, 0, 0, 0.05) 0%, transparent 40%), radial-gradient(circle at 0% 100%, rgba(255, 179, 0, 0.03) 0%, transparent 40%); }
    .task-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem; max-width: 1200px; margin: 0 auto; }
    .task-card { 
        background: rgba(20, 20, 20, 0.7); border: 1px solid rgba(255,255,255,0.05); padding: 2.5rem 1.5rem; 
        border-radius: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 15px; 
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; text-decoration: none;
        position: relative; overflow: hidden; backdrop-filter: blur(12px);
    }
    .task-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0; background: linear-gradient(0deg, rgba(230,0,0,0.1), transparent); transition: height 0.4s ease; z-index: 0; }
    .task-card:hover::before { height: 100%; }
    .task-card:hover { transform: translateY(-12px); border-color: rgba(230,0,0,0.5); box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 25px rgba(230,0,0,0.2); }
    .task-icon { font-size: 3rem; color: var(--brand-gold); transition: all 0.4s; margin-bottom: 10px; position: relative; z-index: 1; filter: drop-shadow(0 5px 15px rgba(255,179,0,0.2)); }
    .task-card:hover .task-icon { color: var(--brand-red); transform: scale(1.15) rotate(5deg); filter: drop-shadow(0 5px 15px rgba(230,0,0,0.4)); }
    .task-content { position: relative; z-index: 1; }
    .task-content h4 { margin: 0 0 12px 0; color: white; font-size: 1.35rem; font-weight: 800; }
    .task-content p { margin: 0; color: #a1a1aa; font-size: 1rem; line-height: 1.6; }

    /* MINIATURES FLYERS DANS INDEX */
    .flyers-preview-section { padding: 6rem 1rem; background: #050505; border-top: 1px solid rgba(255,255,255,0.03); }
    .flyer-thumbnail-index { 
        width: 317.6px; height: 449.2px; position: relative; overflow: hidden; border-radius: 16px; 
        box-shadow: 0 15px 35px rgba(0,0,0,0.6); background: white; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer;
        border: 1px solid rgba(255,255,255,0.1);
    }
    .flyer-thumbnail-index::before {
        content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%); z-index: 2; pointer-events: none;
    }
    .flyer-thumbnail-index::after { content: '🔍 Agrandir'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(230,0,0,0.9); color: white; padding: 12px 25px; border-radius: 30px; font-weight: bold; opacity: 0; transition: all 0.3s; pointer-events: none; z-index: 3; box-shadow: 0 10px 20px rgba(0,0,0,0.5); letter-spacing: 1px; }
    .flyer-thumbnail-index:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
    .flyer-thumbnail-index:hover { transform: translateY(-15px) scale(1.03); box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(255,179,0,0.2); border-color: var(--brand-gold); }
    .flyer-thumbnail-index .flyer { transform: scale(0.4); transform-origin: top left; position: absolute; top: 0; left: 0; z-index: 1; }
    
    .btn-open-catalogue { 
        background-color: transparent; border: 2px solid var(--brand-gold); color: var(--brand-gold); 
        padding: 16px 40px; font-size: 1.15rem; border-radius: 50px; text-transform: uppercase; font-weight: 800; 
        cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 12px;
        backdrop-filter: blur(5px);
    }
    .btn-open-catalogue:hover { background-color: var(--brand-gold); color: black; box-shadow: 0 10px 30px var(--gold-glow); transform: translateY(-4px); }

    /* SECTION CRÉATION SITE WEB */
    .web-creation-section { 
        background: linear-gradient(135deg, #050505, #0f172a); padding: 7rem 1rem; position: relative; overflow: hidden; 
        border-top: 1px solid rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.03); 
    }
    .web-badge { background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: white; padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
    
    /* BULLE CONDITIONS (Redesign) */
    .conditions-bubble { 
        background: linear-gradient(145deg, #151515, #0a0a0a); border-left: 4px solid var(--brand-red); border-right: 4px solid var(--brand-gold); 
        border-radius: 24px; padding: 3.5rem 3rem; margin: -5rem auto 5rem auto; max-width: 950px; 
        box-shadow: 0 30px 60px rgba(0,0,0,0.7); position: relative; z-index: 10; transform: translateY(0); transition: transform 0.4s ease, box-shadow 0.4s ease; 
        border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05);
        backdrop-filter: blur(15px);
    }
    .conditions-bubble:hover { transform: translateY(-8px); box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 30px rgba(230,0,0,0.1); }
    .bubble-icon { position: absolute; top: -35px; left: 50%; transform: translateX(-50%); background: var(--brand-dark); color: var(--brand-gold); width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; border: 2px solid rgba(255,179,0,0.5); box-shadow: 0 15px 30px rgba(0,0,0,0.6), inset 0 0 15px rgba(255,179,0,0.2); animation: float-icon 3s infinite ease-in-out; }

    /* GRAND BANDEAU ACTION FINALE */
    .final-cta-section { background: radial-gradient(circle at center, #1a0000 0%, var(--brand-darker) 100%); padding: 7rem 1rem; text-align: center; border-top: 2px solid var(--brand-red); position: relative; overflow: hidden; }
    .final-cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--brand-gold), transparent); }
    
    /* ANIMATIONS GLOBALES (REVEAL) */
    .reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
    .reveal.active { opacity: 1; transform: translateY(0); }
    .delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; }

    /* STYLE MODAL CATALOGUE */
    .catalogue-modal { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); align-items: center; justify-content: center; overflow: hidden; flex-direction: column; }
    .slides-container { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 85vh; }
    .flyer-slide { display: none; position: relative; }
    .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); color: white; font-size: 2rem; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 100000; border-radius: 50%; transition: all 0.3s ease; backdrop-filter: blur(10px); }
    .nav-btn:hover { background: var(--brand-gold); border-color: var(--brand-gold); color: black; transform: translateY(-50%) scale(1.15); box-shadow: 0 0 25px var(--gold-glow); }
    .prev-btn { left: 4%; } .next-btn { right: 4%; }
    .close-catalogue { position: absolute; top: 25px; right: 35px; color: #a1a1aa; font-size: 2.5rem; cursor: pointer; z-index: 100000; transition: all 0.3s; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.05); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1); }
    .close-catalogue:hover { color: white; background: var(--brand-red); border-color: var(--brand-red); transform: rotate(90deg); box-shadow: 0 0 20px var(--accent-glow); }

    @media (max-width: 768px) {
        .logo-hero { max-width: 280px; }
        .hero-mini { padding: 6rem 1rem 4rem 1rem; }
        .info-card { padding: 2.5rem 1.5rem; }
        .btn-super-action { padding: 14px 25px; font-size: 1.1rem; width: 100%; justify-content: center; }
        .live-info-bar { flex-direction: column; text-align: center; }
        .quote-text { display: none; } 
        .conditions-bubble { padding: 2.5rem 1.5rem; margin: -2.5rem auto 3rem auto; }
        .nav-btn { width: 45px; height: 45px; font-size: 1.5rem; }
        .prev-btn { left: 5px; } .next-btn { right: 5px; }
    }

.services-section a:hover { transform: translateY(-8px); background: rgba(30,30,30,0.9); border-color: rgba(255,255,255,0.2); box-shadow: 0 15px 30px rgba(0,0,0,0.5); }
            .services-section a:hover i { transform: scale(1.1); }
            .services-section a[href="website.php"]:hover { background: rgba(59,130,246,0.2); border-color: #3b82f6; box-shadow: 0 15px 30px rgba(59,130,246,0.3); }

.final-cta-section a[href^="tel:"]:hover { background: white; color: black; transform: translateY(-3px); }
                .final-cta-section a[href^="https://wa"]:hover { background: #25D366; color: white; border-color: #25D366; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4); transform: translateY(-3px); }

/* Variables de couleur partagées avec index.php */
        .footer {
            background: #000000;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding: 4rem 1rem 2rem 1rem;
            position: relative;
            z-index: 10;
        }

        /* Ligne de gradient au dessus du footer */
        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, #E60000, #FFB300);
        }

        /* Animation pour la boîte d'engagements */
        @keyframes subtle-glow {
            0% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0); border-color: rgba(255, 255, 255, 0.1); }
            50% { box-shadow: 0 0 20px rgba(230, 0, 0, 0.1); border-color: rgba(230, 0, 0, 0.3); }
            100% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0); border-color: rgba(255, 255, 255, 0.1); }
        }

        /* Styles du bouton de déploiement */
        .trust-toggle-btn {
            background: rgba(20, 20, 20, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #d4d4d8;
            padding: 1rem 2rem;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1.05rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin: 0 auto 2.5rem auto;
            transition: all 0.3s ease;
            font-weight: 700;
            backdrop-filter: blur(5px);
        }

        .trust-toggle-btn:hover, .trust-toggle-btn.active {
            background: rgba(230, 0, 0, 0.1);
            border-color: rgba(230, 0, 0, 0.5);
            color: white;
            transform: translateY(-2px);
        }
        
        .trust-toggle-btn i { transition: transform 0.3s ease; }
        .trust-toggle-btn i.fa-chevron-down { color: #FFB300; }
        
        /* Conteneur principal de la boîte d'engagements */
        .trust-box {
            background: linear-gradient(145deg, #111, #0a0a0a);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 2rem;
            max-width: 850px;
            margin: 0 auto 4rem auto; 
            text-align: left;
            animation: subtle-glow 4s infinite ease-in-out;
            
            /* Masqué par défaut avec transition fluide */
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            padding-top: 0;
            padding-bottom: 0;
            margin-bottom: 0;
            border-width: 0;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Classe ajoutée en JS pour afficher la boîte */
        .trust-box.show {
            max-height: 800px; /* Valeur ajustée pour le contenu textuel complet */
            opacity: 1;
            padding: 2rem;
            margin-bottom: 4rem;
            border-width: 1px;
        }
        
        .trust-box ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .trust-box li {
            font-size: 1rem;
            line-height: 1.6;
            color: #a1a1aa;
            display: flex;
            align-items: flex-start;
            gap: 15px;
            background: rgba(255,255,255,0.02);
            padding: 1.2rem;
            border-radius: 12px;
            border-left: 3px solid #E60000;
        }
        
        .trust-box li strong {
            color: white;
            display: block;
            margin-bottom: 5px;
            font-size: 1.05rem;
        }
        
        .trust-box i.fa-shield-alt, 
        .trust-box i.fa-file-contract, 
        .trust-box i.fa-credit-card {
            color: #FFB300;
            font-size: 1.5rem;
            margin-top: 2px;
            flex-shrink: 0;
            width: 30px;
            text-align: center;
        }

        /* Footer Bottom */
        .footer-bottom {
            text-align: center;
            border-top: 1px solid rgba(255,255,255,0.05);
            padding-top: 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }

        .footer-logo {
            filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
            transition: transform 0.3s;
        }
        .footer-logo:hover { transform: scale(1.05); }

        .footer-links {
            display: flex; 
            justify-content: center; 
            flex-wrap: wrap; 
            gap: 1.5rem;
            margin-top: 0.5rem;
        }
        
        .footer-links a {
            color: #71717a;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s, text-shadow 0.3s;
            position: relative;
        }
        
        .footer-links a:hover {
            color: #FFB300;
        }

        .copyright-text {
            color: #52525b;
            font-size: 0.85rem;
            margin: 0;
        }

/* ================================================================
   COMPLÉMENTS STRUCTURELS ET RESPONSIVE
   ================================================================ */

.site-body { padding-top: calc(var(--nav-height) + env(safe-area-inset-top)); }
.site-body.menu-open { overflow: hidden; }
body > nav.navbar + * { margin-top: 0; }
.navbar { padding-top: max(0.5rem, env(safe-area-inset-top)); }
.nav-container { min-height: 52px; gap: 0.75rem; }
.nav-logo { flex: 0 1 auto; min-width: 0; }
.nav-logo img { display: block; width: auto; }
.hamburger { width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255,255,255,0.06); align-items: center; justify-content: center; flex: 0 0 46px; }
.hamburger[aria-expanded="true"] { background: rgba(230,0,0,0.18); color: #fff; }

.hero-content-centered { text-align: center; }
.section-intro { text-align: center; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-intro-services { margin-bottom: 3.5rem; }
.section-intro-flyers { margin-bottom: 4rem; }
.section-action { text-align: center; margin-top: 4rem; }
.section-action-catalogue { margin-top: 4.5rem; }
.flyers-preview-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.web-creation-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; }
.web-creation-copy, .web-creation-visual { flex: 1 1 320px; min-width: 0; }
.web-creation-visual { text-align: center; position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.final-cta-content { max-width: 800px; margin: 0 auto; }
.final-contact-actions { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; margin-top: 3.5rem; }
.catalogue-toolbar { color: white; font-weight: bold; font-size: 1.1rem; margin-top: 20px; z-index: 100000; display: flex; align-items: center; gap: 25px; background: rgba(0,0,0,0.7); padding: 12px 30px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(10px); }

.flyer-thumbnail-index { width: min(317.6px, calc(100vw - 2rem)); height: auto; aspect-ratio: 794 / 1123; }
.flyer-thumbnail-index .flyer { transform: none; }
.close-catalogue { border: 1px solid rgba(255,255,255,0.1); padding: 0; }
.slides-container { min-height: 0; }

/* Tchat global sans dépendance à Tailwind. */
.global-chat-launcher { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1.5rem, env(safe-area-inset-bottom)); z-index: 8000; display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.global-chat-launcher-row { position: relative; display: flex; align-items: center; gap: 0.75rem; }
.global-chat-tooltip { position: relative; background: #fff; color: #000; padding: 0.65rem 1rem; border-radius: 1rem; box-shadow: 0 10px 25px rgba(0,0,0,.5); border: 2px solid #3b82f6; opacity: 0; pointer-events: none; transition: opacity .2s; white-space: nowrap; cursor: pointer; font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.global-chat-launcher-row:hover .global-chat-tooltip { opacity: 1; pointer-events: auto; }
.global-chat-tooltip-arrow { position: absolute; top: 50%; right: -9px; transform: translateY(-50%); width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 9px solid #3b82f6; }
.global-chat-button { position: relative; width: 64px; height: 64px; border-radius: 999px; border: 2px solid #fff; background: linear-gradient(135deg,#3b82f6,#1d4ed8); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(59,130,246,.55); transition: transform .2s; cursor: pointer; }
.global-chat-button i { font-size: 1.75rem; }
.global-chat-button:hover { transform: scale(1.08); }
.global-chat-badge { position: absolute; top: -1px; right: -1px; width: 16px; height: 16px; background: #dc2626; border: 2px solid #fff; border-radius: 999px; box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.animate-pulse { animation: chat-badge-pulse 1.25s ease-in-out infinite; }
@keyframes chat-badge-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .75; } }
.hidden { display: none !important; }
.global-chat-modal { position: fixed; inset: 0; z-index: 9000; background: rgba(15,23,42,.82); backdrop-filter: blur(12px); align-items: center; justify-content: center; padding: 1rem; }
.global-chat-modal.flex { display: flex !important; }
.global-chat-modal-content { width: min(100%, 448px); height: min(85dvh, 780px); background: #121212; border-radius: 2rem; overflow: hidden; display: flex; flex-direction: column; position: relative; box-shadow: 0 25px 80px rgba(0,0,0,.65); transition: transform .3s ease; }
.scale-95 { transform: scale(.95); }
.scale-100 { transform: scale(1); }
.global-chat-modal-header { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: #2563eb; padding: 1rem; border-bottom: 1px solid #1d4ed8; }
.global-chat-modal-header h3 { margin: 0; color: #fff; font-size: 1rem; font-weight: 900; text-transform: uppercase; display: flex; align-items: center; gap: .5rem; }
.global-chat-close { width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); color: #dbeafe; cursor: pointer; }
.global-chat-frame { flex: 1 1 auto; width: 100%; min-height: 0; border: 0; background: #fff; }

.footer-logo { display: block; max-height: 60px; width: auto; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); }
.footer .reveal { opacity: 0; transform: translateY(20px); transition: all .8s ease-out; }
.footer .reveal.active { opacity: 1; transform: translateY(0); }

/* Tablettes et menu replié. */
@media (max-width: 1100px) {
    :root { --nav-height: 68px; }
    .nav-container { position: relative; }
    .nav-links { top: calc(100% + 0.5rem); max-height: calc(100dvh - var(--nav-height) - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain; padding: 1rem max(1rem, env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); }
    .nav-item { width: 100%; opacity: 1; transform: none; animation: none; }
    .nav-item a, .nav-item .btn-suivi { width: 100%; min-height: 48px; margin: 0 !important; justify-content: flex-start; }
    .tooltip-suivi { display: none; }
    .flash-btn-nav { margin: 0; flex: 0 1 auto; min-width: 0; }
    .nav-logo { margin-right: auto !important; }
}

@media (max-width: 768px) {
    :root { --page-gutter: 1rem; }
    .live-info-bar { padding: .65rem 1rem; flex-direction: row; justify-content: center; gap: .55rem; }
    .date-badge, .weather-badge { padding: .45rem .75rem; font-size: .78rem; }
    .promo-scroll-container { top: calc(var(--nav-height) + env(safe-area-inset-top)); padding: 9px 0; }
    .promo-scroll-text { font-size: .78rem; animation-duration: 26s; }

    .hero-mini { min-height: auto; padding: 4.25rem 1rem 3.5rem; }
    .hero-bg-glow { width: 120vw; height: 120vw; }
    .logo-hero-container { margin-bottom: 1.75rem; }
    .logo-hero { max-width: min(280px, 82vw); }
    .welcome-text { font-size: .8rem; letter-spacing: 2px; margin-bottom: 1rem; }
    .portal-subtitle { font-size: 1.05rem; line-height: 1.6; }
    .portal-subtitle br { display: none; }
    .cta-main-wrapper { margin-top: 2rem; gap: .8rem; width: 100%; }
    .btn-super-action, .btn-outline-gold, .btn-open-catalogue { width: 100%; max-width: 420px; justify-content: center; min-height: 52px; padding-left: 1.15rem; padding-right: 1.15rem; }

    h2.section-title, .depannage-section h2, .web-creation-section h2, .services-section h2 { font-size: clamp(1.75rem, 8vw, 2.2rem); margin-bottom: 2rem !important; line-height: 1.15; }
    .info-highlight-section, .depannage-section, .flyers-preview-section, .web-creation-section, .final-cta-section { padding-left: 1rem; padding-right: 1rem; }
    .info-highlight-section { padding-top: 3rem; padding-bottom: 3rem; }
    .depannage-section, .flyers-preview-section { padding-top: 4rem; padding-bottom: 4rem; }
    .web-creation-section, .final-cta-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
    .info-card { border-radius: 20px; padding: 2.25rem 1.15rem; }
    .info-icon-wrapper { width: 72px; height: 72px; font-size: 2.1rem; margin-bottom: 1.5rem; }
    .info-card h3 { font-size: 1.55rem; }
    .info-card p { font-size: 1rem; line-height: 1.65; margin-bottom: 2rem; }
    .features-list { grid-template-columns: 1fr; gap: .9rem; }
    .feature-item { padding: 1rem; gap: .85rem; }
    .task-grid { grid-template-columns: 1fr; gap: 1rem; }
    .task-card { padding: 1.75rem 1rem; border-radius: 18px; }
    .task-card:hover { transform: none; }

    .section-intro-services, .section-intro-flyers { margin-bottom: 2.25rem; }
    .section-action, .section-action-catalogue { margin-top: 2.5rem; }
    .flyers-preview-grid { gap: 1.5rem; }
    .flyer-thumbnail-index:hover { transform: none; }
    .flyer-thumbnail-index::after { display: none; }

    .web-creation-container { gap: 2.5rem; }
    .web-creation-copy, .web-creation-visual { flex-basis: 100%; width: 100%; min-width: 0 !important; }
    .web-creation-copy h2[style] { font-size: clamp(2rem, 10vw, 2.6rem) !important; text-align: center !important; }
    .web-creation-copy p { text-align: left; }
    .web-creation-copy .btn { width: 100%; justify-content: center; }
    .web-creation-visual > div:last-child { padding: 2.25rem 1.15rem !important; transform: none !important; border-radius: 22px !important; }
    .web-creation-visual > div:first-child { width: 100% !important; height: 100% !important; }

    .conditions-bubble { margin-left: 1rem; margin-right: 1rem; border-left-width: 2px; border-right-width: 2px; }
    .services-section { padding-left: 1rem !important; padding-right: 1rem !important; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
    .services-grid > a { padding: 1.5rem .65rem !important; }
    .services-grid h3 { font-size: 1rem !important; }

    .final-cta-content > h2 { font-size: clamp(2rem, 10vw, 2.6rem) !important; }
    .final-cta-content > p { font-size: 1.05rem !important; margin-bottom: 2.25rem !important; }
    .final-cta-content > .btn-super-action { font-size: 1.05rem !important; padding: 1rem 1.15rem !important; }
    .final-contact-actions { flex-direction: column; gap: .8rem; margin-top: 2.25rem; }
    .final-contact-actions a { width: 100%; justify-content: center; }

    .catalogue-modal { padding: max(.5rem, env(safe-area-inset-top)) max(.5rem, env(safe-area-inset-right)) max(.75rem, env(safe-area-inset-bottom)) max(.5rem, env(safe-area-inset-left)); }
    .slides-container { height: 74dvh; }
    .close-catalogue { top: max(.5rem, env(safe-area-inset-top)); right: max(.5rem, env(safe-area-inset-right)); width: 44px; height: 44px; font-size: 1.35rem; }
    .nav-btn { top: 45%; width: 44px; height: 44px; font-size: 1.15rem; }
    .prev-btn { left: 4px; }
    .next-btn { right: 4px; }
    .catalogue-toolbar { width: calc(100% - 1rem); max-width: 520px; margin-top: .5rem; gap: .75rem; padding: .65rem .85rem; border-radius: 18px; font-size: .85rem; justify-content: center; }
    .catalogue-toolbar a { font-size: .85rem !important; }

    .footer { padding: 3rem 1rem max(2rem, env(safe-area-inset-bottom)); }
    .trust-toggle-btn { width: 100%; max-width: 520px; padding: .9rem 1rem; font-size: .88rem; letter-spacing: .04em; }
    .trust-box.show { padding: 1rem; margin-bottom: 2.5rem; max-height: 1200px; }
    .trust-box li { padding: 1rem; gap: .7rem; }
    .footer-links { flex-direction: column; gap: .75rem; }
    .footer-links span { display: none; }
    .footer-links a { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }

    .global-chat-launcher { right: max(.75rem, env(safe-area-inset-right)); bottom: max(.85rem, env(safe-area-inset-bottom)); }
    .global-chat-tooltip { display: none; }
    .global-chat-button { width: 56px; height: 56px; }
    .global-chat-button i { font-size: 1.45rem; }
    .global-chat-modal { padding: 0; align-items: stretch; }
    .global-chat-modal-content { width: 100%; max-width: none; height: 100dvh; max-height: none; border-radius: 0; }
    .global-chat-modal-header { padding-top: max(1rem, env(safe-area-inset-top)); }
}

@media (max-width: 480px) {
    :root { --nav-height: 64px; }
    .nav-container { padding-left: .65rem; padding-right: .65rem; gap: .45rem; }
    .nav-logo img { max-height: 36px; max-width: 132px; }
    .flash-btn-nav { padding: 4px 7px; border-radius: 14px; }
    .flash-text { font-size: .68rem; }
    .flash-star { margin-right: 3px; }
    .hamburger { width: 42px; height: 42px; flex-basis: 42px; font-size: 1.35rem; }
    .date-badge, .weather-badge { font-size: .72rem; }
    .services-grid { grid-template-columns: 1fr; }
    .catalogue-toolbar > div { display: none; }
    .catalogue-toolbar { flex-direction: column; border-radius: 14px; }
    .flyer-thumbnail-index { width: calc(100vw - 1.5rem); }
}

@media (hover: none) {
    .task-card:hover, .info-card:hover, .flyer-thumbnail-index:hover, .services-section a:hover, .btn-super-action:hover, .btn-outline-gold:hover { transform: none; }
    .global-chat-tooltip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal, .footer .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== securite.php ===== */
body.page-securite{
        --brand-red: #E60000;
        --brand-gold: #FFB300;
        --brand-dark: #050505;
        --accent-glow: rgba(230, 0, 0, 0.4);
        --gold-glow: rgba(255, 179, 0, 0.4);
    }

    body.page-securite{ background-color: var(--brand-dark); color: #f3f4f6; }

    body.page-securite .service-page-header{
        background-image: linear-gradient(to bottom, rgba(5,5,5,0.7), rgba(5,5,5,0.95)); 
        background-size: cover; 
        background-position: center;
        padding: 8rem 1rem 5rem 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(230,0,0,0.2);
    }
    
    body.page-securite .service-page-title{ font-size: 3.5rem; font-weight: 900; color: white; margin-bottom: 1rem; letter-spacing: -1px; text-shadow: 0 4px 20px rgba(0,0,0,0.8); }

    body.page-securite .glass-card{
        background: rgba(20, 20, 20, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,0.05); border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }

    body.page-securite .feature-item{
        background: rgba(25, 25, 25, 0.6); border: 1px solid rgba(255,255,255,0.05);
        border-radius: 16px; padding: 2rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative; overflow: hidden; text-align: center; backdrop-filter: blur(10px);
    }
    body.page-securite .feature-item:hover{
        transform: translateY(-10px); border-color: rgba(230, 0, 0, 0.4);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px var(--accent-glow);
    }
    body.page-securite .feature-item i{ transition: transform 0.5s ease; filter: drop-shadow(0 0 10px rgba(255,255,255,0.1)); }
    body.page-securite .feature-item:hover i{ transform: scale(1.15); color: var(--brand-red) !important; filter: drop-shadow(0 0 15px var(--accent-glow)); }
    body.page-securite .feature-item h3{ color: white; font-weight: 800; font-size: 1.4rem; margin-bottom: 1rem; }
    body.page-securite .feature-item p{ color: #a1a1aa; line-height: 1.6; }

    body.page-securite .engagement-card{
        background: rgba(15, 15, 15, 0.8); padding: 2rem; border-radius: 16px; 
        box-shadow: 0 15px 35px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05);
        text-align: center; transition: transform 0.3s ease, border-color 0.3s ease;
    }
    body.page-securite .engagement-card:hover{ transform: translateY(-8px); }

    body.page-securite .btn-super-action{
        background: linear-gradient(135deg, var(--brand-red), #cc0000);
        color: white; padding: 16px 35px; font-size: 1.15rem; font-weight: 900; text-transform: uppercase;
        border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 12px;
        box-shadow: 0 10px 30px var(--accent-glow); transition: all 0.4s ease; border: 2px solid transparent;
    }
    body.page-securite .btn-super-action:hover{
        transform: translateY(-4px) scale(1.05); box-shadow: 0 15px 40px rgba(230, 0, 0, 0.6);
        background: linear-gradient(135deg, #ff1a1a, var(--brand-red)); color: white;
    }

    body.page-securite .btn-outline-white{
        background: rgba(255,255,255,0.05); color: white; padding: 16px 35px; font-size: 1.15rem; font-weight: 700;
        border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 12px;
        border: 2px solid rgba(255,255,255,0.2); transition: all 0.3s ease; backdrop-filter: blur(5px);
    }
    body.page-securite .btn-outline-white:hover{ background: white; color: black; transform: translateY(-4px); }

    body.page-securite .reveal{ opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
    body.page-securite .reveal.active{ opacity: 1; transform: translateY(0); }

/* ===== website.php ===== */
body.page-website{
        --brand-red: #E60000;
        --brand-gold: #FFB300;
        --brand-dark: #050505;
        --accent-glow: rgba(230, 0, 0, 0.4);
        --gold-glow: rgba(255, 179, 0, 0.4);
    }

    body.page-website{ background-color: var(--brand-dark); color: #f3f4f6; font-family: "Inter", sans-serif; }

    body.page-website .service-page-header{
        background: radial-gradient(circle at center, #111827 0%, var(--brand-dark) 100%);
        padding: 8rem 1rem 5rem 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        position: relative;
        overflow: hidden;
    }
    
    body.page-website .service-page-header::before{
        content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
        pointer-events: none; z-index: 0;
    }

    body.page-website .service-page-title{ font-size: 3.5rem; font-weight: 900; color: white; margin-bottom: 1rem; letter-spacing: -1px; position: relative; z-index: 1; }

    body.page-website .glass-card{
        background: rgba(20, 20, 20, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,0.05); border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.5); padding: 3rem 2rem; margin-bottom: 4rem;
    }

    body.page-website .portfolio-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 2rem; }
    
    body.page-website .portfolio-item{
        background: rgba(25, 25, 25, 0.6); border: 1px solid rgba(255,255,255,0.05);
        border-radius: 16px; padding: 2.5rem 2rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative; overflow: hidden; backdrop-filter: blur(10px);
        display: flex; flex-direction: column;
    }
    body.page-website .portfolio-item:hover{
        transform: translateY(-10px); 
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }
    
    /* Couleurs spécifiques aux projets du portfolio */
    body.page-website .portfolio-item.annuaire{ border-left: 4px solid #2563EB; }
    body.page-website .portfolio-item.annuaire:hover{ border-color: #2563EB; box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 25px rgba(37, 99, 235, 0.2); }
    
    body.page-website .portfolio-item.petitefaim{ border-left: 4px solid #D97706; }
    body.page-website .portfolio-item.petitefaim:hover{ border-color: #D97706; box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 25px rgba(217, 119, 6, 0.2); }
    
    body.page-website .portfolio-item.vjdilard{ border-left: 4px solid #7C3AED; }
    body.page-website .portfolio-item.vjdilard:hover{ border-color: #7C3AED; box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 25px rgba(124, 58, 237, 0.2); }

    body.page-website .portfolio-item h3{ color: white; font-weight: 800; font-size: 1.5rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
    body.page-website .portfolio-item > p{ color: #e4e4e7; font-size: 1.05rem; margin-bottom: 1.5rem; }
    
    body.page-website .portfolio-item ul{ text-align: left; margin-top: 10px; font-size: 0.95rem; color: #a1a1aa; list-style: none; padding: 0; margin-bottom: 2rem; flex-grow: 1; }
    body.page-website .portfolio-item ul li{ margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
    body.page-website .portfolio-item ul li::before{ content: ""; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 0.9rem; margin-top: 2px; }
    
    body.page-website .portfolio-item.annuaire ul li::before{ color: #3b82f6; }
    body.page-website .portfolio-item.petitefaim ul li::before{ color: #f59e0b; }
    body.page-website .portfolio-item.vjdilard ul li::before{ color: #8b5cf6; }

    body.page-website .btn-portfolio{
        color: white; padding: 12px 25px; font-size: 1rem; font-weight: 700;
        border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
        transition: all 0.3s ease; border: none; cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px;
    }
    body.page-website .btn-portfolio:hover{ transform: translateY(-3px) scale(1.02); filter: brightness(1.1); }

    body.page-website .btn-super-action{
        background: linear-gradient(135deg, var(--brand-red), #cc0000);
        color: white; padding: 18px 40px; font-size: 1.25rem; font-weight: 900; text-transform: uppercase;
        border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 15px;
        box-shadow: 0 10px 30px var(--accent-glow); transition: all 0.4s ease; border: 2px solid transparent;
    }
    body.page-website .btn-super-action:hover{
        transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 40px rgba(230, 0, 0, 0.6);
        background: linear-gradient(135deg, #ff1a1a, var(--brand-red)); color: white;
    }

    body.page-website .reveal{ opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
    body.page-website .reveal.active{ opacity: 1; transform: translateY(0); }

/* ===== multimedia.php ===== */
body.page-multimedia{
        --brand-red: #E60000;
        --brand-gold: #FFB300;
        --brand-dark: #050505;
        --accent-glow: rgba(230, 0, 0, 0.4);
        --gold-glow: rgba(255, 179, 0, 0.4);
    }

    body.page-multimedia{ background-color: var(--brand-dark); color: #f3f4f6; }

    body.page-multimedia .service-page-header{
        background: radial-gradient(circle at top left, rgba(230, 0, 0, 0.15) 0%, #000000 60%);
        padding: 8rem 1rem 5rem 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        position: relative;
        overflow: hidden;
    }
    
    body.page-multimedia .service-page-title{ font-size: 3.5rem; font-weight: 900; color: white; margin-bottom: 1rem; letter-spacing: -1px; position: relative; z-index: 1; }

    body.page-multimedia .glass-card{
        background: rgba(20, 20, 20, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,0.05); border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.5); padding: 3rem 2.5rem; margin-bottom: 4rem;
    }

    body.page-multimedia .feature-list{ display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
    
    body.page-multimedia .feature-item{
        background: rgba(25, 25, 25, 0.6); border: 1px solid rgba(255,255,255,0.05);
        border-radius: 16px; padding: 2rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative; overflow: hidden; backdrop-filter: blur(10px);
    }
    body.page-multimedia .feature-item:hover{
        transform: translateY(-10px); border-color: var(--brand-red);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px var(--accent-glow);
    }
    body.page-multimedia .feature-item h3{ color: white; font-weight: 800; font-size: 1.3rem; margin-bottom: 1rem; }
    body.page-multimedia .feature-item p{ color: #a1a1aa; line-height: 1.6; }

    /* Styles spécifiques pour les marques TV avec bordures lumineuses sur fond sombre */
    body.page-multimedia .brand-orange{ border-left: 4px solid #FF6600 !important; }
    body.page-multimedia .brand-orange:hover{ box-shadow: 0 15px 30px rgba(0,0,0,0.6), inset 5px 0 20px rgba(255, 102, 0, 0.1) !important; border-color: #FF6600 !important; }
    body.page-multimedia .brand-canal{ border-left: 4px solid #ffffff !important; background: rgba(10,10,10,0.8) !important; }
    body.page-multimedia .brand-canal:hover{ box-shadow: 0 15px 30px rgba(0,0,0,0.8), inset 5px 0 20px rgba(255, 255, 255, 0.1) !important; border-color: #ffffff !important; }
    body.page-multimedia .brand-sfr{ border-left: 4px solid #E2001A !important; }
    body.page-multimedia .brand-sfr:hover{ box-shadow: 0 15px 30px rgba(0,0,0,0.6), inset 5px 0 20px rgba(226, 0, 26, 0.1) !important; border-color: #E2001A !important; }

    body.page-multimedia .btn-super-action{
        background: linear-gradient(135deg, var(--brand-red), #cc0000);
        color: white; padding: 16px 40px; font-size: 1.25rem; font-weight: 900; text-transform: uppercase;
        border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 15px;
        box-shadow: 0 10px 30px var(--accent-glow); transition: all 0.4s ease; border: 2px solid transparent;
    }
    body.page-multimedia .btn-super-action:hover{
        transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 40px rgba(230, 0, 0, 0.6);
        background: linear-gradient(135deg, #ff1a1a, var(--brand-red)); color: white;
    }

    body.page-multimedia .reveal{ opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
    body.page-multimedia .reveal.active{ opacity: 1; transform: translateY(0); }

/* ===== electricite.php ===== */
body.page-electricite{
        --brand-red: #E60000;
        --brand-gold: #FFB300;
        --brand-dark: #050505;
        --accent-glow: rgba(230, 0, 0, 0.4);
        --gold-glow: rgba(255, 179, 0, 0.4);
    }

    body.page-electricite{ background-color: var(--brand-dark); color: #f3f4f6; }

    body.page-electricite .service-page-header{
        background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.15) 0%, #000000 70%);
        padding: 8rem 1rem 5rem 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        position: relative;
        overflow: hidden;
    }

    body.page-electricite .service-page-header::before{
        content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
        width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
        z-index: 0; pointer-events: none; animation: pulse-glow 8s infinite alternate;
    }
    
    body.page-electricite .service-page-title{ font-size: 3.5rem; font-weight: 900; color: white; margin-bottom: 1rem; letter-spacing: -1px; position: relative; z-index: 1; }

    body.page-electricite .glass-card{
        background: rgba(20, 20, 20, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,0.05); border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.5); padding: 3rem 2rem; margin-bottom: 4rem;
    }

    body.page-electricite .feature-list{ display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
    
    body.page-electricite .feature-item{
        background: rgba(25, 25, 25, 0.6); border: 1px solid rgba(255,255,255,0.05);
        border-radius: 16px; padding: 2rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative; overflow: hidden; backdrop-filter: blur(10px);
    }
    body.page-electricite .feature-item:hover{
        transform: translateY(-10px); border-color: #F59E0B;
        box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(245, 158, 11, 0.2);
    }
    body.page-electricite .feature-item h3{ color: white; font-weight: 800; font-size: 1.3rem; margin-bottom: 1rem; }
    body.page-electricite .feature-item p{ color: #a1a1aa; line-height: 1.6; }

    body.page-electricite .check-list{ list-style: none; padding: 0; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
    body.page-electricite .check-list li{ display: flex; align-items: center; gap: 12px; color: #d4d4d8; font-size: 1.1rem; }
    body.page-electricite .check-list i{ color: #F59E0B; font-size: 1.2rem; filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.5)); }

    body.page-electricite .btn-super-action{
        background: linear-gradient(135deg, var(--brand-red), #cc0000);
        color: white; padding: 16px 40px; font-size: 1.25rem; font-weight: 900; text-transform: uppercase;
        border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 15px;
        box-shadow: 0 10px 30px var(--accent-glow); transition: all 0.4s ease; border: 2px solid transparent;
    }
    body.page-electricite .btn-super-action:hover{
        transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 40px rgba(230, 0, 0, 0.6);
        background: linear-gradient(135deg, #ff1a1a, var(--brand-red)); color: white;
    }

    body.page-electricite .reveal{ opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
    body.page-electricite .reveal.active{ opacity: 1; transform: translateY(0); }

/* ===== maintenance.php ===== */
body.page-maintenance{
        --brand-red: #E60000;
        --brand-gold: #FFB300;
        --brand-dark: #050505;
        --accent-glow: rgba(230, 0, 0, 0.4);
        --gold-glow: rgba(255, 179, 0, 0.4);
    }

    body.page-maintenance{ background-color: var(--brand-dark); color: #f3f4f6; font-family: "Inter", sans-serif; }

    body.page-maintenance .service-page-header{
        background: radial-gradient(circle at center, #1a0a0a 0%, var(--brand-dark) 100%);
        padding: 8rem 1rem 5rem 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        position: relative;
        overflow: hidden;
    }
    
    body.page-maintenance .service-page-header::before{
        content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background: radial-gradient(circle at top right, rgba(255, 179, 0, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at bottom left, rgba(230, 0, 0, 0.1) 0%, transparent 50%);
        pointer-events: none; z-index: 0;
    }

    body.page-maintenance .glass-card{
        background: rgba(20, 20, 20, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,0.05); border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }

    body.page-maintenance .card-reassurance{
        background: rgba(25, 25, 25, 0.6); backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.05); padding: 2.5rem 2rem; border-radius: 20px; text-align: center;
        box-shadow: 0 15px 35px rgba(0,0,0,0.4); transition: transform 0.4s ease, border-color 0.4s ease;
    }
    body.page-maintenance .card-reassurance:hover{ transform: translateY(-10px); border-color: var(--brand-gold); box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px var(--gold-glow); }
    
    body.page-maintenance .card-reassurance.highlight-card{
        background: linear-gradient(145deg, rgba(40, 5, 5, 0.8) 0%, rgba(10, 0, 0, 0.9) 100%);
        border: 1px solid rgba(230, 0, 0, 0.4); box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 25px rgba(230, 0, 0, 0.2);
        transform: scale(1.05); z-index: 2; position: relative;
    }
    body.page-maintenance .card-reassurance.highlight-card:hover{ transform: scale(1.08) translateY(-5px); border-color: var(--brand-red); box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 35px var(--accent-glow); }

    body.page-maintenance .icon-circle{ transition: transform 0.4s ease; }
    body.page-maintenance .card-reassurance:hover .icon-circle{ transform: scale(1.1) rotate(5deg); }

    body.page-maintenance .form-input{
        width: 100%; background: rgba(10, 10, 10, 0.6); border: 1px solid rgba(255,255,255,0.1); 
        color: white; padding: 15px; border-radius: 12px; outline: none; transition: border-color 0.3s, box-shadow 0.3s;
    }
    body.page-maintenance .form-input:focus{ border-color: var(--brand-gold); box-shadow: 0 0 15px rgba(255, 179, 0, 0.2); background: rgba(15, 15, 15, 0.8); }

    body.page-maintenance .btn-super-action{
        background: linear-gradient(135deg, var(--brand-red), #cc0000); color: white; padding: 18px 40px; 
        font-size: 1.25rem; font-weight: 900; text-transform: uppercase; border-radius: 50px; border: none; cursor: pointer;
        display: inline-flex; align-items: center; justify-content: center; gap: 15px; width: 100%;
        box-shadow: 0 10px 30px var(--accent-glow); transition: all 0.4s ease;
    }
    body.page-maintenance .btn-super-action:hover{
        transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 40px rgba(230, 0, 0, 0.6);
        background: linear-gradient(135deg, #ff1a1a, var(--brand-red));
    }

    body.page-maintenance .reveal{ opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
    body.page-maintenance .reveal.active{ opacity: 1; transform: translateY(0); }

/* ===== reseaux.php ===== */
body.page-reseaux{
        --brand-red: #E60000;
        --brand-gold: #FFB300;
        --brand-dark: #050505;
        --accent-glow: rgba(230, 0, 0, 0.4);
        --gold-glow: rgba(255, 179, 0, 0.4);
    }

    body.page-reseaux{ background-color: var(--brand-dark); color: #f3f4f6; }

    body.page-reseaux .service-page-header{
        background: radial-gradient(circle at top right, rgba(230,0,0,0.15) 0%, #000000 60%);
        padding: 8rem 1rem 5rem 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    body.page-reseaux .service-page-title{ font-size: 3.5rem; font-weight: 900; color: white; margin-bottom: 1rem; letter-spacing: -1px; }

    body.page-reseaux .glass-card{
        background: rgba(20, 20, 20, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,0.05); border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }

    body.page-reseaux .feature-item{
        background: rgba(25, 25, 25, 0.6); border: 1px solid rgba(255,255,255,0.05);
        border-radius: 16px; padding: 2.5rem 2rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative; overflow: hidden; text-align: center; backdrop-filter: blur(10px);
    }
    body.page-reseaux .feature-item:hover{
        transform: translateY(-10px); border-color: rgba(255, 179, 0, 0.4);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px var(--gold-glow);
    }
    body.page-reseaux .feature-item i{ transition: transform 0.5s ease; filter: drop-shadow(0 0 10px rgba(255,255,255,0.1)); }
    body.page-reseaux .feature-item:hover i{ transform: scale(1.15); color: var(--brand-gold) !important; filter: drop-shadow(0 0 15px var(--gold-glow)); }
    body.page-reseaux .feature-item h3{ color: white; font-weight: 800; font-size: 1.5rem; margin-bottom: 1rem; }
    body.page-reseaux .feature-item p{ color: #a1a1aa; line-height: 1.6; font-size: 1.05rem; }

    body.page-reseaux .btn-super-action{
        background: linear-gradient(135deg, var(--brand-red), #cc0000);
        color: white; padding: 16px 40px; font-size: 1.25rem; font-weight: 900; text-transform: uppercase;
        border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 15px;
        box-shadow: 0 10px 30px var(--accent-glow); transition: all 0.4s ease; border: 2px solid transparent;
    }
    body.page-reseaux .btn-super-action:hover{
        transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 40px rgba(230, 0, 0, 0.6);
        background: linear-gradient(135deg, #ff1a1a, var(--brand-red)); color: white;
    }

    body.page-reseaux .reveal{ opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
    body.page-reseaux .reveal.active{ opacity: 1; transform: translateY(0); }

/* ===== domotique.php ===== */
body.page-domotique{
        --brand-red: #E60000;
        --brand-gold: #FFB300;
        --brand-dark: #050505;
        --accent-glow: rgba(230, 0, 0, 0.4);
        --gold-glow: rgba(255, 179, 0, 0.4);
    }

    body.page-domotique{
        background-color: var(--brand-dark);
        color: #f3f4f6;
    }

    body.page-domotique .service-page-header{
        background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
        padding: 8rem 1rem 5rem 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        position: relative;
        overflow: hidden;
    }
    
    body.page-domotique .service-page-header::before{
        content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
        width: 60vw; height: 60vw; background: radial-gradient(circle, var(--gold-glow) 0%, transparent 60%);
        opacity: 0.2; z-index: 0; pointer-events: none; animation: pulse-glow 8s infinite alternate;
    }

    body.page-domotique .service-page-title{
        font-size: 3.5rem; font-weight: 900; color: white; margin-bottom: 1rem; position: relative; z-index: 1;
        letter-spacing: -1px;
    }

    body.page-domotique .glass-card{
        background: rgba(20, 20, 20, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,0.05); border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }

    body.page-domotique .feature-item{
        background: rgba(25, 25, 25, 0.6); border: 1px solid rgba(255,255,255,0.05);
        border-radius: 16px; padding: 1.5rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative; overflow: hidden; backdrop-filter: blur(10px);
    }
    body.page-domotique .feature-item:hover{
        transform: translateY(-10px); border-color: rgba(255, 179, 0, 0.4);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px var(--gold-glow);
    }
    body.page-domotique .feature-item i{ transition: transform 0.5s ease; }
    body.page-domotique .feature-item:hover i{ transform: scale(1.15) rotate(5deg); color: var(--brand-red) !important; }

    body.page-domotique .btn-super-action{
        background: linear-gradient(135deg, var(--brand-red), #cc0000);
        color: white; padding: 16px 40px; font-size: 1.25rem; font-weight: 900; text-transform: uppercase;
        border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 15px;
        box-shadow: 0 10px 30px var(--accent-glow); transition: all 0.4s ease; border: 2px solid transparent;
    }
    body.page-domotique .btn-super-action:hover{
        transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 40px rgba(230, 0, 0, 0.6);
        background: linear-gradient(135deg, #ff1a1a, var(--brand-red)); color: white;
    }

    body.page-domotique .reveal{ opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
    body.page-domotique .reveal.active{ opacity: 1; transform: translateY(0); }

/* ===== estimate.php ===== */
body.estimate-page{ background: transparent; font-family: "Inter", sans-serif; color: #f8fafc; }
        body.estimate-page .glass-panel{ background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1); }
        body.estimate-page .range-slider{ -webkit-appearance: none; width: 100%; height: 8px; border-radius: 5px; background: #334155; outline: none; }
        body.estimate-page .range-slider::-webkit-slider-thumb{ -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #3b82f6; cursor: pointer; border: 4px solid #fff; box-shadow: 0 0 10px rgba(59, 130, 246, 0.5); }
        body.estimate-page .form-input{ width: 100%; background: rgba(30, 41, 59, 0.6); border: 1px solid rgba(255,255,255,0.1); color: white; padding: 12px 15px; border-radius: 12px; outline: none; transition: all 0.3s; font-size: 0.9rem; }
        body.estimate-page .form-input:focus{ border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
        body.estimate-page .case-label{ display: block; font-size: 0.75rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; margin-bottom: 6px; letter-spacing: 0.05em; }
        body.estimate-page .custom-scroll::-webkit-scrollbar{ width: 4px; } body.estimate-page .custom-scroll::-webkit-scrollbar-thumb{ background: #cbd5e1; border-radius: 10px; }

/* ========================================================================== 
   PAGES SERVICES — STRUCTURE RESPONSIVE COMMUNE
   ========================================================================== */
body.page-service .service-page-header {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
body.page-service .service-page-title {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.08;
    overflow-wrap: anywhere;
}
body.page-service .service-content { width: 100%; min-width: 0; }
body.page-service .service-content > *,
body.page-service .glass-card,
body.page-service .feature-item,
body.page-service .portfolio-item,
body.page-service .card-reassurance { min-width: 0; }
body.page-service .service-content iframe { max-width: 100%; }
body.page-securite .estimate-iframe { display: block; width: 100%; min-height: 900px; border: 0; background: #0f172a; }

/* Les grilles inline avec minmax(300/320px) ne doivent jamais dépasser l'écran. */
body.page-service [style*="grid-template-columns"] { min-width: 0; }
body.page-service .btn-super-action,
body.page-service .btn-outline-white,
body.page-service .btn-portfolio { text-align: center; line-height: 1.25; }

/* Maintenance : éléments ciblés qui étaient entièrement en style inline. */
body.page-maintenance #live-toast { max-width: min(440px, calc(100vw - 2rem)); }
body.page-maintenance #audit-form form > div,
body.page-maintenance #audit-form form > div > div { min-width: 0; }
body.page-maintenance textarea.form-input { resize: vertical; min-height: 110px; }

/* Estimate standalone / iframe. */
body.estimate-page { min-height: 100%; overflow-x: hidden; }
body.estimate-page .glass-panel { min-width: 0; }
body.estimate-page input,
body.estimate-page select,
body.estimate-page textarea,
body.estimate-page button { min-width: 0; }
body.estimate-page .form-input { min-height: 46px; }
body.estimate-page input[type="file"] { font-size: 16px; }

@media (max-width: 900px) {
    body.page-service .service-page-header {
        min-height: 300px;
        padding: 6rem 1rem 3.5rem !important;
    }
    body.page-service .service-page-title { font-size: clamp(2rem, 7vw, 3rem) !important; }
    body.page-service .service-content { padding: 3rem 1rem !important; }
    body.page-service .glass-card { padding: 2.25rem 1.5rem !important; }
    body.page-service [style*="grid-template-columns: repeat(auto-fit, minmax(300px"],
    body.page-service [style*="grid-template-columns: repeat(auto-fit, minmax(320px"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    body.page-maintenance .highlight-card { transform: none; }
}

@media (max-width: 700px) {
    body.page-service .service-page-header {
        min-height: 250px;
        padding: 4.75rem 1rem 3rem !important;
    }
    body.page-service .service-page-title {
        font-size: clamp(1.85rem, 9vw, 2.45rem) !important;
        letter-spacing: -.5px !important;
        margin-bottom: .75rem !important;
    }
    body.page-service .service-page-title i {
        display: block;
        margin: 0 auto .8rem !important;
    }
    body.page-service .service-page-header p {
        font-size: 1rem !important;
        line-height: 1.55;
        margin-top: .75rem !important;
    }
    body.page-service .service-content { padding: 2.5rem .85rem !important; }
    body.page-maintenance .service-content { padding-top: 1rem !important; }
    body.page-service .glass-card,
    body.page-service .cta-box { padding: 1.65rem 1rem !important; margin-bottom: 2.25rem !important; border-radius: 17px !important; }
    body.page-service .feature-item,
    body.page-service .portfolio-item,
    body.page-service .engagement-card,
    body.page-service .card-reassurance { padding: 1.5rem 1rem !important; border-radius: 15px !important; }
    body.page-service h2,
    body.page-service h3 { overflow-wrap: anywhere; }
    body.page-service h2[style*="font-size: 2.2rem"],
    body.page-service h3[style*="font-size: 2.2rem"],
    body.page-service h2[style*="font-size: 2.5rem"] {
        font-size: clamp(1.55rem, 7vw, 2rem) !important;
        line-height: 1.2 !important;
    }
    body.page-service p[style*="font-size: 1.15rem"],
    body.page-service p[style*="font-size: 1.3rem"] { font-size: 1rem !important; }
    body.page-service [style*="grid-template-columns"],
    body.page-service .portfolio-grid,
    body.page-service .feature-list {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1rem !important;
    }
    body.page-service [style*="display: flex"][style*="gap: 15px"] {
        flex-wrap: wrap;
    }
    body.page-service .btn-super-action,
    body.page-service .btn-outline-white,
    body.page-service .btn-portfolio {
        width: 100%;
        max-width: 520px;
        min-height: 52px;
        justify-content: center;
        padding: .95rem 1rem !important;
        font-size: .98rem !important;
        border-radius: 16px !important;
    }
    body.page-service .feature-item:hover,
    body.page-service .portfolio-item:hover,
    body.page-service .engagement-card:hover,
    body.page-service .card-reassurance:hover,
    body.page-service .btn-super-action:hover { transform: none !important; }

    body.page-website .portfolio-grid { margin-top: 1rem; }
    body.page-website .portfolio-item h3 { font-size: 1.25rem; }

    body.page-securite #simulateur { padding-top: 0 !important; margin-bottom: 3rem !important; }
    body.page-securite .estimate-iframe { min-height: 1200px; }

    body.page-maintenance .service-page-header br { display: none; }
    body.page-maintenance .card-reassurance.highlight-card { transform: none !important; }
    body.page-maintenance #audit-form { margin-top: 0 !important; }
    body.page-maintenance #audit-form form { gap: 18px !important; }
    body.page-maintenance #audit-form form > div[style*="display: grid"],
    body.page-maintenance #audit-form form div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    body.page-maintenance #audit-form form div[style*="display: flex"][style*="gap: 10px"] {
        flex-wrap: wrap;
    }
    body.page-maintenance #adresse_input { flex-basis: calc(100% - 64px) !important; }
    body.page-maintenance #live-toast {
        top: calc(var(--nav-height) + .75rem) !important;
        right: .75rem !important;
        left: .75rem !important;
        width: auto;
        padding: .8rem 1rem !important;
    }

    body.estimate-page { padding: .5rem !important; }
    body.estimate-page > .max-w-6xl { gap: .75rem !important; }
    body.estimate-page .glass-panel { padding: 1rem !important; border-radius: 1rem !important; }
    body.estimate-page .sticky { position: static !important; top: auto !important; }
    body.estimate-page h2 { font-size: 1rem !important; }
    body.estimate-page h3 { font-size: 1rem !important; }
    body.estimate-page .grid-cols-2 { grid-template-columns: minmax(0, 1fr) !important; }
    body.estimate-page .sm\:grid-cols-2 { grid-template-columns: minmax(0, 1fr) !important; }
    body.estimate-page .form-input { font-size: 16px !important; padding: .75rem !important; }
    body.estimate-page .range-slider { height: 10px; }
    body.estimate-page .range-slider::-webkit-slider-thumb { width: 28px; height: 28px; }
    body.estimate-page #field-siret > div,
    body.estimate-page #date-picker + input,
    body.estimate-page div:has(> #date-picker) { min-width: 0; }
}

@media (max-width: 430px) {
    body.page-service .service-content { padding-left: .65rem !important; padding-right: .65rem !important; }
    body.page-service .glass-card,
    body.page-service .feature-item,
    body.page-service .portfolio-item,
    body.page-service .card-reassurance { padding-left: .85rem !important; padding-right: .85rem !important; }
    body.page-maintenance #audit-form form > div:first-of-type { flex-direction: column; }
    body.page-maintenance #btn-particulier,
    body.page-maintenance #btn-entreprise { width: 100%; flex: 0 0 auto !important; }
    body.estimate-page .flex.gap-2 { flex-wrap: wrap; }
    body.estimate-page #time-picker { width: 100% !important; }
}

/* ========================================================================== */
/* PERFORMANCE COMMERCIALE, PARCOURS NUMÉRIQUE & GESTION HÉBERGEMENTS — v3  */
/* ========================================================================== */
.performance-showcase,
.hosting-showcase {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 8vw, 7rem) var(--page-gutter);
}

.performance-showcase {
    background:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, .13), transparent 35%),
        radial-gradient(circle at 90% 80%, rgba(230, 0, 0, .12), transparent 36%),
        #07090f;
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.performance-showcase::before,
.hosting-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

.performance-showcase-inner,
.hosting-showcase-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.performance-showcase-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.performance-kicker {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .6rem 1rem;
    border-radius: 999px;
    background: rgba(255,179,0,.09);
    border: 1px solid rgba(255,179,0,.28);
    color: var(--brand-gold);
    font-size: .77rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
}

.performance-copy h2,
.hosting-heading h2,
body.page-hebergement .hosting-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.15rem, 5vw, 4.2rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 900;
}

.performance-copy > p,
.hosting-heading > p {
    color: #b8c0cf;
    font-size: clamp(1rem, 1.8vw, 1.17rem);
    line-height: 1.8;
    margin: 1.5rem 0 0;
}

.performance-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    margin: 2rem 0;
}

.performance-metric {
    min-width: 0;
    padding: 1.1rem;
    border-radius: 18px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.075);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.performance-metric strong {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.3rem);
    line-height: 1;
    font-weight: 900;
    margin-right: .3rem;
}

.performance-metric > span {
    color: var(--brand-gold);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.performance-metric small {
    display: block;
    color: #8f99aa;
    font-size: .72rem;
    line-height: 1.48;
    margin-top: .7rem;
}

.performance-actions,
.hosting-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    align-items: center;
}

.performance-actions .btn-super-action,
.performance-actions .btn-outline-gold,
.hosting-actions .btn-super-action,
.hosting-actions .btn-outline-gold {
    min-height: 54px;
    justify-content: center;
    padding: .9rem 1.35rem;
    font-size: .96rem;
}

.performance-note {
    color: #747f91 !important;
    font-size: .76rem !important;
    line-height: 1.5 !important;
    margin-top: 1rem !important;
}

.workflow-demo {
    position: relative;
    padding: 1.15rem;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(17,24,39,.96), rgba(4,7,13,.98));
    border: 1px solid rgba(96,165,250,.22);
    box-shadow: 0 35px 80px rgba(0,0,0,.45), 0 0 50px rgba(59,130,246,.08);
}

.workflow-demo::after {
    content: '';
    position: absolute;
    inset: 12% -10% -15% 15%;
    z-index: -1;
    background: radial-gradient(circle, rgba(59,130,246,.15), transparent 66%);
    filter: blur(20px);
}

.workflow-demo-head,
.hosting-dashboard-top {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #cbd5e1;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .55rem .45rem 1rem;
}

.workflow-demo-ref,
.hosting-sync {
    margin-left: auto;
    color: #64748b;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: normal;
}

.workflow-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 5px rgba(16,185,129,.12), 0 0 14px rgba(16,185,129,.7);
    animation: mms-live-pulse 1.9s ease-in-out infinite;
}

@keyframes mms-live-pulse {
    0%, 100% { transform: scale(.88); opacity: .7; }
    50% { transform: scale(1.15); opacity: 1; }
}

.workflow-progress {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    margin: 0 .45rem 1rem;
}

.workflow-progress span {
    display: block;
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3b82f6, #10b981, var(--brand-gold));
    box-shadow: 0 0 15px rgba(59,130,246,.45);
    transition: width .65s cubic-bezier(.22,.8,.26,1);
}

.workflow-step {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: .85rem;
    padding: .85rem;
    margin-top: .55rem;
    border-radius: 17px;
    border: 1px solid transparent;
    background: rgba(255,255,255,.022);
    opacity: .54;
    transform: translateX(0);
    transition: opacity .45s ease, transform .45s ease, border-color .45s ease, background .45s ease;
}

.workflow-step.is-active {
    opacity: 1;
    transform: translateX(7px);
    background: rgba(59,130,246,.09);
    border-color: rgba(96,165,250,.25);
    box-shadow: 0 10px 26px rgba(0,0,0,.2);
}

.workflow-step.is-complete { opacity: .78; }
.workflow-step.is-complete .workflow-step-icon { background: rgba(16,185,129,.16); color: #34d399; }

.workflow-step-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #93c5fd;
    background: rgba(59,130,246,.12);
    font-size: 1.05rem;
}

.workflow-step strong {
    display: block;
    color: #f8fafc;
    font-size: .88rem;
    font-weight: 850;
}

.workflow-step small {
    display: block;
    color: #7f8a9d;
    font-size: .7rem;
    line-height: 1.4;
    margin-top: .2rem;
}

.workflow-state {
    color: #94a3b8;
    font-size: .58rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .38rem .55rem;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    white-space: nowrap;
}

.workflow-step.is-active .workflow-state {
    color: #bfdbfe;
    background: rgba(59,130,246,.18);
}

.hosting-showcase {
    background:
        radial-gradient(circle at 12% 20%, rgba(16,185,129,.12), transparent 34%),
        radial-gradient(circle at 90% 70%, rgba(255,179,0,.09), transparent 35%),
        #030706;
}

.hosting-heading {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2.6rem;
}

.hosting-heading h2 { font-size: clamp(2rem, 5vw, 3.65rem); }
.hosting-heading > p { max-width: 790px; margin-left: auto; margin-right: auto; }

.hosting-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.hosting-card {
    position: relative;
    min-width: 0;
    padding: 1.55rem 1.25rem;
    border-radius: 21px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, background .35s ease;
}

.hosting-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    transform: scaleX(.22);
    transform-origin: left;
    background: linear-gradient(90deg, #10b981, var(--brand-gold));
    transition: transform .35s ease;
}

.hosting-card:hover {
    transform: translateY(-7px);
    border-color: rgba(16,185,129,.3);
    background: rgba(255,255,255,.052);
}
.hosting-card:hover::after { transform: scaleX(1); }

.hosting-card > i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.15rem;
    border-radius: 15px;
    background: rgba(16,185,129,.11);
    color: #34d399;
    font-size: 1.25rem;
}
.hosting-card:nth-child(2) > i { color: #60a5fa; background: rgba(59,130,246,.12); }
.hosting-card:nth-child(3) > i { color: var(--brand-gold); background: rgba(255,179,0,.1); }
.hosting-card:nth-child(4) > i { color: #c084fc; background: rgba(168,85,247,.11); }
.hosting-card h3 { color: #fff; margin: 0 0 .75rem; font-size: 1.1rem; font-weight: 850; }
.hosting-card p { color: #8f99aa; margin: 0; font-size: .87rem; line-height: 1.6; }

.hosting-dashboard-demo {
    width: min(900px, 100%);
    margin: 2.2rem auto 0;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(10,15,20,.82);
    border: 1px solid rgba(16,185,129,.18);
    box-shadow: 0 25px 60px rgba(0,0,0,.32);
}

.hosting-sync {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #34d399;
}
.hosting-sync.is-syncing i { animation: mms-spin .8s linear; }
@keyframes mms-spin { to { transform: rotate(360deg); } }

.hosting-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
}

.hosting-status-grid > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: .55rem;
    padding: .9rem;
    border-radius: 15px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.055);
}

.hosting-status-grid i { color: #cbd5e1; }
.hosting-status-grid span { color: #e2e8f0; font-size: .75rem; font-weight: 800; }
.hosting-status-grid strong { grid-column: 1 / -1; font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; }
.status-ok { color: #34d399; }
.status-watch { color: var(--brand-gold); }

.hosting-actions { justify-content: center; margin-top: 2rem; }

.service-domain-hosting {
    background: rgba(16,185,129,.09);
    border: 1px solid rgba(16,185,129,.28);
    padding: 2.5rem 1rem;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    transition: all .3s;
    display: block;
    backdrop-filter: blur(5px);
}
.service-domain-hosting i { font-size: 2.5rem; color: #34d399; margin-bottom: 15px; transition: transform .3s; }
.service-domain-hosting h3 { color: #fff; font-size: 1.15rem; margin: 0; font-weight: 700; }
.service-domain-hosting:hover { background: rgba(16,185,129,.16); border-color: #10b981; transform: translateY(-8px); box-shadow: 0 15px 30px rgba(16,185,129,.2); }

/* Multimédia : bloc dédié aux hébergements */
.hospitality-service-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    border-top: 4px solid #10b981 !important;
    background:
        radial-gradient(circle at 90% 10%, rgba(16,185,129,.11), transparent 38%),
        rgba(20,20,20,.72) !important;
}

.hospitality-service-copy h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    line-height: 1.15;
    margin: 0 0 1rem;
    font-weight: 900;
}
.hospitality-service-copy > p { color: #a1a1aa; font-size: 1.05rem; line-height: 1.75; }
.hospitality-checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.hospitality-checks li { display: flex; gap: .75rem; align-items: flex-start; color: #d4d4d8; line-height: 1.55; }
.hospitality-checks i { color: #34d399; margin-top: .25rem; }

.hospitality-mini-demo {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(2,6,23,.82);
    border: 1px solid rgba(52,211,153,.2);
    box-shadow: 0 25px 55px rgba(0,0,0,.38);
}
.hospitality-room {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .95rem;
    margin: .55rem 0;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.05);
    color: #cbd5e1;
    font-size: .82rem;
    font-weight: 800;
}
.hospitality-room strong { color: #34d399; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }

/* ========================================================================== */
/* PAGE GESTION HÉBERGEMENTS                                                   */
/* ========================================================================== */
body.page-hebergement { background: #040607; }
body.page-hebergement .hosting-hero {
    position: relative;
    min-height: min(760px, 88vh);
    padding: clamp(6rem, 12vw, 9rem) var(--page-gutter) clamp(4.5rem, 8vw, 7rem);
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 25%, rgba(16,185,129,.16), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(59,130,246,.13), transparent 36%),
        radial-gradient(circle at 55% 95%, rgba(255,179,0,.09), transparent 40%),
        linear-gradient(145deg, #020403, #07100d 55%, #020304);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
body.page-hebergement .hosting-hero::before {
    content: '';
    position: absolute;
    width: 580px;
    height: 580px;
    border-radius: 50%;
    border: 1px solid rgba(52,211,153,.1);
    right: -180px;
    top: -140px;
    box-shadow: 0 0 0 70px rgba(52,211,153,.018), 0 0 0 140px rgba(52,211,153,.012);
}

.hosting-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

body.page-hebergement .hosting-hero h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); }
body.page-hebergement .hosting-hero h1 span {
    display: block;
    background: linear-gradient(90deg, #34d399, #60a5fa, var(--brand-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hosting-hero-copy > p { color: #b4bfcc; font-size: clamp(1.04rem, 2vw, 1.25rem); line-height: 1.78; max-width: 720px; }
.hosting-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hosting-hero-actions a { min-height: 56px; justify-content: center; }

.hosting-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: .7rem;
    margin-top: 2rem;
}
.hosting-hero-stats div { padding: 1rem; border-radius: 17px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.075); }
.hosting-hero-stats strong { display: block; color: #fff; font-size: 1.45rem; font-weight: 900; }
.hosting-hero-stats span { display: block; color: #8190a1; font-size: .67rem; line-height: 1.4; margin-top: .35rem; }

.hosting-command-center {
    padding: 1rem;
    border-radius: 28px;
    background: rgba(6,12,15,.9);
    border: 1px solid rgba(52,211,153,.22);
    box-shadow: 0 35px 80px rgba(0,0,0,.5), 0 0 50px rgba(16,185,129,.08);
    transform: perspective(1000px) rotateY(-4deg) rotateX(1deg);
}
.hosting-command-title { display: flex; align-items: center; gap: .55rem; padding: .65rem .5rem 1rem; color: #cbd5e1; font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hosting-command-title span:last-child { margin-left: auto; color: #34d399; }
.hosting-command-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
.hosting-command-card { padding: 1rem; min-height: 112px; border-radius: 17px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.hosting-command-card i { color: #60a5fa; font-size: 1.15rem; }
.hosting-command-card:nth-child(2) i { color: #34d399; }
.hosting-command-card:nth-child(3) i { color: var(--brand-gold); }
.hosting-command-card:nth-child(4) i { color: #c084fc; }
.hosting-command-card strong { display: block; color: #f8fafc; font-size: .8rem; margin: .8rem 0 .35rem; }
.hosting-command-card small { color: #748096; font-size: .67rem; line-height: 1.45; }
.hosting-command-log { margin-top: .75rem; padding: .85rem; border-radius: 15px; background: rgba(16,185,129,.065); border: 1px solid rgba(16,185,129,.13); color: #a7f3d0; font-size: .7rem; line-height: 1.5; }

.hosting-page-section { padding: clamp(4rem, 8vw, 7rem) var(--page-gutter); }
.hosting-page-section.alt { background: #070a0d; border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }
.hosting-page-inner { width: min(1180px, 100%); margin: 0 auto; }
.hosting-section-heading { max-width: 820px; margin: 0 auto 2.7rem; text-align: center; }
.hosting-section-heading h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.08; margin: 0; font-weight: 900; letter-spacing: -.04em; }
.hosting-section-heading p { color: #94a3b8; font-size: 1.05rem; line-height: 1.75; }

.hosting-service-catalog { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.hosting-service-item { min-width: 0; padding: 1.55rem; border-radius: 21px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); transition: transform .35s ease, border-color .35s ease; }
.hosting-service-item:hover { transform: translateY(-7px); border-color: rgba(52,211,153,.3); }
.hosting-service-item i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #34d399; background: rgba(16,185,129,.1); font-size: 1.2rem; }
.hosting-service-item:nth-child(2) i, .hosting-service-item:nth-child(5) i { color: #60a5fa; background: rgba(59,130,246,.1); }
.hosting-service-item:nth-child(3) i, .hosting-service-item:nth-child(6) i { color: var(--brand-gold); background: rgba(255,179,0,.09); }
.hosting-service-item h3 { color: #fff; font-size: 1.12rem; margin: 1.05rem 0 .7rem; font-weight: 850; }
.hosting-service-item p { color: #8d98a8; font-size: .88rem; line-height: 1.65; margin: 0; }
.hosting-service-item ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.hosting-service-item li { color: #b8c1cc; font-size: .75rem; display: flex; gap: .5rem; }
.hosting-service-item li::before { content: '✓'; color: #34d399; font-weight: 900; }

.hosting-process-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .75rem; position: relative; }
.hosting-process-step { position: relative; min-width: 0; padding: 1.25rem 1rem; border-radius: 19px; background: rgba(255,255,255,.032); border: 1px solid rgba(255,255,255,.065); text-align: center; }
.hosting-process-step::after { content: ''; position: absolute; left: calc(100% + 1px); top: 36px; width: .75rem; height: 2px; background: linear-gradient(90deg, #34d399, rgba(52,211,153,.15)); }
.hosting-process-step:last-child::after { display: none; }
.hosting-process-number { width: 48px; height: 48px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #059669, #34d399); color: #fff; font-weight: 900; box-shadow: 0 8px 22px rgba(16,185,129,.22); }
.hosting-process-step h3 { color: #fff; font-size: .94rem; margin: 0 0 .55rem; }
.hosting-process-step p { color: #7f8b9d; font-size: .7rem; line-height: 1.5; margin: 0; }

.hosting-portal-showcase { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.hosting-portal-card { padding: 1.6rem; border-radius: 22px; background: linear-gradient(145deg, rgba(17,24,39,.83), rgba(7,10,15,.93)); border: 1px solid rgba(255,255,255,.075); }
.hosting-portal-card i { color: #60a5fa; font-size: 1.65rem; }
.hosting-portal-card:nth-child(2) i { color: #34d399; }
.hosting-portal-card:nth-child(3) i { color: var(--brand-gold); }
.hosting-portal-card h3 { color: #fff; font-size: 1.15rem; margin: 1rem 0 .65rem; }
.hosting-portal-card p { color: #8e9aac; font-size: .84rem; line-height: 1.6; }
.hosting-portal-card a { color: #bfdbfe; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.hosting-portal-card a:hover { color: #fff; }

.hosting-final-cta { text-align: center; padding: clamp(4.5rem, 10vw, 8rem) var(--page-gutter); background: radial-gradient(circle at center, rgba(16,185,129,.13), transparent 45%), #020403; border-top: 1px solid rgba(52,211,153,.16); }
.hosting-final-cta > div { width: min(850px, 100%); margin: 0 auto; }
.hosting-final-cta h2 { color: #fff; font-size: clamp(2.1rem, 5vw, 4rem); margin: 0 0 1rem; font-weight: 900; letter-spacing: -.04em; }
.hosting-final-cta p { color: #a5afbd; font-size: 1.07rem; line-height: 1.75; }
.hosting-final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Avis : styles statiques externalisés, variables dynamiques conservées dans avis.php */
body.page-avis { background-color: var(--bg-body, #0f172a); color: var(--text-main, #fff); transition: background-color .3s; }
body.page-avis .avis-container { max-width: 900px; margin: 20px auto 40px; padding: 20px; font-family: 'Inter', Tahoma, Geneva, Verdana, sans-serif; }
body.page-avis .lang-selector { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
body.page-avis .lang-btn { background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-main); padding: 8px 15px; border-radius: 50px; font-weight: bold; font-size: .8rem; cursor: pointer; transition: .2s; }
body.page-avis .lang-btn.active { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }
body.page-avis .avis-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 24px; padding: 40px; box-shadow: 0 20px 40px rgba(0,0,0,.2); margin-bottom: 40px; backdrop-filter: blur(10px); }
body.page-avis .admin-qr-card { background: var(--bg-card); border: 1px solid var(--accent-color); border-radius: 20px; padding: 30px; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
body.page-avis .form-group { margin-bottom: 25px; }
body.page-avis .form-group label { display: block; margin-bottom: 10px; font-weight: 800; color: var(--text-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; }
body.page-avis .form-control { width: 100%; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--border-color); background: var(--input-bg); color: var(--text-main); font-size: 1rem; transition: all .3s; font-weight: 500; }
body.page-avis .form-control:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 4px rgba(0,0,0,.05); }
body.page-avis .form-control::placeholder { color: var(--text-muted); opacity: .7; }
body.page-avis .form-control[readonly] { background: var(--bg-card); color: var(--accent-color); border-color: var(--accent-color); cursor: not-allowed; opacity: .8; font-weight: bold; }
body.page-avis .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 16px; padding: 20px; background: var(--input-bg); border-radius: 16px; border: 1px solid var(--border-color); }
body.page-avis .service-item { display: flex; flex-direction: column; gap: 8px; }
body.page-avis .service-item select { padding: 12px; border-radius: 8px; background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border-color); cursor: pointer; font-weight: bold; }
body.page-avis .btn-submit { background-color: var(--accent-color); color: #fff; border: none; padding: 18px 30px; font-size: 1.1rem; font-weight: 900; border-radius: 50px; cursor: pointer; width: 100%; transition: all .3s; text-transform: uppercase; letter-spacing: 2px; box-shadow: 0 10px 20px rgba(0,0,0,.2); }
body.page-avis .btn-submit:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,.3); filter: brightness(1.1); }
body.page-avis .btn-qr { background: #fbbf24; color: #0f172a; border: none; padding: 14px 24px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; border-radius: 12px; cursor: pointer; transition: .2s; }
body.page-avis .btn-qr:hover { background: #f59e0b; }
body.page-avis .review-display { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 25px; margin-bottom: 20px; transition: transform .3s; }
body.page-avis .review-display:hover { transform: translateY(-2px); border-color: var(--accent-color); }
body.page-avis .review-stars { color: #fbbf24; font-size: 1.2rem; letter-spacing: 2px; }
body.page-avis .review-service-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--input-bg); border: 1px solid var(--border-color); color: var(--text-muted); font-size: .75rem; font-weight: bold; padding: 6px 12px; border-radius: 8px; margin-right: 8px; margin-top: 12px; }
body.page-avis .social-share-box { background: var(--bg-card); border: 2px dashed var(--accent-color); border-radius: 20px; padding: 30px; text-align: center; margin-top: 25px; }
body.page-avis .social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 50px; color: #fff; font-weight: 900; text-transform: uppercase; font-size: .8rem; letter-spacing: 1px; text-decoration: none; margin: 8px; transition: all .3s; }
body.page-avis .social-btn:hover { transform: scale(1.05); color: #fff; }
body.page-avis .btn-facebook { background-color: #1877f2; box-shadow: 0 4px 15px rgba(24,119,242,.3); }
body.page-avis .btn-twitter { background-color: #000; border: 2px solid #333; box-shadow: 0 4px 15px rgba(0,0,0,.3); }
body.page-avis .btn-copy { background-color: var(--text-muted); cursor: pointer; border: none; box-shadow: 0 4px 15px rgba(51,65,85,.3); }
body.page-avis .experience-proof { position: relative; overflow: hidden; margin-bottom: 1.5rem; padding: 1.4rem; border-radius: 22px; background: linear-gradient(145deg, rgba(15,23,42,.94), rgba(2,6,23,.98)); border: 1px solid rgba(96,165,250,.18); box-shadow: 0 20px 45px rgba(0,0,0,.22); }
body.page-avis .experience-proof::before { content: ''; position: absolute; inset: -30% 45% 10% -20%; background: radial-gradient(circle, rgba(59,130,246,.23), transparent 65%); pointer-events: none; }
body.page-avis .experience-proof-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
body.page-avis .experience-proof h2 { color: #fff; margin: 0; font-size: clamp(1.25rem, 4vw, 2rem); font-weight: 900; }
body.page-avis .experience-proof p { color: #94a3b8; margin: .55rem 0 0; line-height: 1.55; font-size: .85rem; }
body.page-avis .experience-proof-flow { display: flex; align-items: center; gap: .55rem; }
body.page-avis .experience-proof-flow span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: rgba(59,130,246,.16); border: 1px solid rgba(96,165,250,.2); animation: experience-step 4s ease-in-out infinite; }
body.page-avis .experience-proof-flow span:nth-child(2) { animation-delay: .7s; }
body.page-avis .experience-proof-flow span:nth-child(3) { animation-delay: 1.4s; }
body.page-avis .experience-proof-flow span:nth-child(4) { animation-delay: 2.1s; }
@keyframes experience-step { 0%, 75%, 100% { transform: translateY(0); color: #94a3b8; } 12%, 32% { transform: translateY(-5px); color: #34d399; box-shadow: 0 8px 22px rgba(16,185,129,.18); } }

@media (max-width: 1000px) {
    .performance-showcase-inner,
    .hosting-hero-inner,
    .hospitality-service-card { grid-template-columns: minmax(0, 1fr); }
    .workflow-demo,
    .hosting-command-center { width: min(720px, 100%); margin: 0 auto; transform: none; }
    .hosting-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hosting-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hosting-service-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hosting-process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hosting-process-step::after { display: none; }
}

@media (max-width: 700px) {
    .performance-showcase,
    .hosting-showcase,
    .hosting-page-section { padding-left: .85rem; padding-right: .85rem; }
    .performance-metrics { grid-template-columns: minmax(0, 1fr); }
    .performance-metric { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; column-gap: .45rem; }
    .performance-metric small { grid-column: 1 / -1; }
    .performance-actions,
    .hosting-actions,
    .hosting-hero-actions,
    .hosting-final-actions { flex-direction: column; }
    .performance-actions a,
    .hosting-actions a,
    .hosting-hero-actions a,
    .hosting-final-actions a { width: 100%; }
    .workflow-demo { padding: .8rem; border-radius: 20px; }
    .workflow-step { grid-template-columns: 40px minmax(0,1fr); padding: .75rem .65rem; }
    .workflow-step-icon { width: 40px; height: 40px; border-radius: 12px; }
    .workflow-state { grid-column: 2; justify-self: start; }
    .workflow-step.is-active { transform: none; }
    .hosting-grid,
    .hosting-status-grid,
    .hosting-service-catalog,
    .hosting-process-grid,
    .hosting-portal-showcase,
    .hosting-command-grid { grid-template-columns: minmax(0,1fr); }
    .hosting-card:hover,
    .hosting-service-item:hover,
    .service-domain-hosting:hover { transform: none; }
    body.page-hebergement .hosting-hero { min-height: auto; padding-top: 5rem; }
    .hosting-hero-stats { grid-template-columns: minmax(0,1fr); }
    .hosting-command-center { padding: .75rem; }
    .hospitality-mini-demo { width: 100%; }
    body.page-avis .avis-container { padding: 12px; margin-top: 10px; }
    body.page-avis .avis-card,
    body.page-avis .admin-qr-card { padding: 1.25rem .9rem; border-radius: 18px; }
    body.page-avis .avis-card [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: minmax(0,1fr) !important; gap: 0 !important; }
    body.page-avis .services-grid { grid-template-columns: minmax(0,1fr); padding: .8rem; }
    body.page-avis .form-control { font-size: 16px; padding: .85rem; }
    body.page-avis .experience-proof-inner { grid-template-columns: minmax(0,1fr); }
    body.page-avis .experience-proof-flow { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .workflow-live-dot,
    body.page-avis .experience-proof-flow span { animation: none !important; }
    .workflow-step,
    .workflow-progress span,
    .hosting-sync i { transition: none !important; }
}
