/* ==========================================================================
   NEOFLUX Professional CSS - Modern Design System
   ========================================================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-red: #D42F2F;
    --primary-blue: #2563EB;
    --secondary-dark: #1E293B;
    --text-dark: #0F172A;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #D42F2F 0%, #EF4444 100%);
    --gradient-blue: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    --gradient-dark: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "century gothic",var(--font-primary);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(212, 47, 47, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(212, 47, 47, 0.5);
}

.btn-secondary {
    background: var(--gradient-blue);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-red);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-red);
}

/* ══════════════════════════════════════
   TOP BAR — Minimal Luxe
══════════════════════════════════════ */
.top-bar {
    background: #0c111f;
    color: rgba(255,255,255,.4);
    padding: .38rem 0;
    font-size: .69rem;
    letter-spacing: .25px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.top-bar a {
    color: rgba(255,255,255,.38);
    text-decoration: none;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: .38rem;
}
.top-bar a:hover { color: rgba(255,255,255,.85); }
.top-bar i { font-size: .6rem; color: #D42F2F; }

.social-links-top { display: flex; gap: .3rem; }
.social-links-top a {
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    font-size: .58rem;
    color: rgba(255,255,255,.3);
    transition: all .2s;
}
.social-links-top a:hover {
    background: #D42F2F;
    border-color: #D42F2F;
    color: #fff;
}

.language-switcher { display: flex; align-items: center; gap: .1rem; }
.language-switcher a {
    padding: .18rem .48rem;
    font-size: .65rem; font-weight: 700;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,.3);
    transition: color .2s;
    position: relative;
}
.language-switcher a.active { color: #D42F2F; }
.language-switcher a + a::before {
    content: '/';
    position: absolute;
    left: -.05rem;
    color: rgba(255,255,255,.12);
}
.language-switcher a:hover:not(.active) { color: rgba(255,255,255,.7); }

/* ══════════════════════════════════════
   MAIN HEADER — Minimal Luxe
══════════════════════════════════════ */
.main-header {
    background: transparent;                       /* ← transparent par défaut */
    border-bottom: 1px solid transparent;
    position: fixed;                               /* ← flotte par-dessus le hero */
    top: 35px;                                     /* ← sous la .top-bar (35px) : à 0 le header
                                                        fixe la recouvrait et masquait tél./email.
                                                        L'accueil surcharge à 33px (index.css). */
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background .35s ease, box-shadow .35s ease, border-color .35s ease, top .35s ease;
}

/* Fallback : pour les pages SANS hero/banner plein-écran en première section,
   on ajoute un offset pour ne pas masquer le contenu derrière le header fixe. */
body > main:not(.has-hero):first-of-type,
body > section:first-of-type:not(.hero-section):not(.page-banner):not(.ix-hero):not(.hero) {
    padding-top: 90px;
}

.main-header.scrolled {
    background: #ffffff;                           /* ← blanc au scroll */
    box-shadow: 0 2px 24px rgba(0,0,0,.08);
    border-bottom-color: transparent;
}

/* Une fois la .top-bar défilée (seuil JS : 80px), le header vient se coller en haut.
   L'accueil est exclu : sa top-bar est fixe (index.css), le header doit y rester dessous. */
body:not(.page-home) .main-header.scrolled {
    top: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .95rem 0;
    gap: 2rem;
    transition: padding .3s;
}
.main-header.scrolled .header-content { padding: .6rem 0; }

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: .85rem;
    flex-shrink: 0;
    position: relative;
}

/* ══════════════════════════════════════════
   BADGE ANNIVERSAIRE "58 ANS" — ruban suspendu à la barre du menu
   Le "slot" reste dans le flux et ne réserve que la largeur à côté du logo ;
   le ruban est en position:absolute afin de pendre sous le header SANS
   augmenter la hauteur de celui-ci.
══════════════════════════════════════════ */
.anniv-badge-slot {
    position: relative;
    width: 60px;
    flex-shrink: 0;
    align-self: stretch;      /* le slot épouse la hauteur du logo : ancrage fiable */
}

/* Variante PNG fournie : même ancrage/comportement que le ruban CSS */
.anniv-badge-img {
    position: absolute;
    left: 0;
    top: -.95rem;
    width: 70px;
    height: 98px;
    object-fit: contain;   /* width+height figés : évite que l'image soit étirée */
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 5px 12px rgba(212,47,47,.35));
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), filter .3s;
    animation: anniv-float 3.5s ease-in-out infinite;
}
.anniv-badge-img:hover {
    animation: none;
    transform: translateY(3px) scale(1.05);
    filter: drop-shadow(0 9px 20px rgba(212,47,47,.5));
}
/* État scrollé : largeur ET hauteur mises à l'échelle ensemble, pour garder
   le ratio 70:98 — sinon l'image serait letterboxée dans une boîte trop étroite. */
.main-header.scrolled .anniv-badge-img { top: -.6rem; width: 60px; height: 84px; }

/* Mobile : aucun override — le ruban suspendu est identique au desktop.
   (Possible depuis que .main-header est passé à top:35px : il ne recouvre plus
   la top-bar, donc le badge ne masque plus les horaires.) */

.anniv-badge {
    position: absolute;
    left: 0;
    top: -.95rem;             /* = padding haut de .header-content : le ruban part du bord de la barre */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 46px;
    min-height: 92px;         /* > hauteur du header : le ruban déborde en bas */
    padding: 13px 4px 0;
    /* Dégradé continu repris de l'artwork fourni : framboise → orange → jaune vif.
       Les arcs blancs décoratifs sont posés par-dessus en SVG. */
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 92' preserveAspectRatio='none'%3E%3Cellipse cx='23' cy='43' rx='25' ry='32' fill='none' stroke='white' stroke-width='1.1' opacity='.85'/%3E%3Cpath d='M-2 73 Q23 86 48 73' fill='none' stroke='white' stroke-width='1.1' opacity='.85'/%3E%3C/svg%3E") center / 100% 100% no-repeat,
        linear-gradient(180deg,
            #C8384A 0%,
            #D2503C 27%,
            #DE7A2A 52%,
            #ECA01F 76%,
            #F9E80F 100%);
    color: #ffffff;
    text-align: center;
    /* drop-shadow et non box-shadow : un clip-path découperait la box-shadow.
       Ombre neutre : le ruban finit en jaune, une ombre rouge jurerait en bas. */
    filter: drop-shadow(0 5px 12px rgba(0,0,0,.28));
    /* Forme ruban : encoche en V dans la queue dorée */
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
    cursor: default;
    user-select: none;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), filter .3s;
    animation: anniv-float 3.5s ease-in-out infinite;
}

/* Reflet satiné sur la gauche (effet ruban) */
.anniv-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(255,255,255,.24) 0%,
        rgba(255,255,255,.06) 40%,
        transparent 62%);
    pointer-events: none;
}

.anniv-badge:hover {
    animation: none;          /* sans ça, l'animation écraserait le transform du hover */
    transform: translateY(3px) scale(1.05);
    filter: drop-shadow(0 9px 20px rgba(212,47,47,.55));
}

/* Typo reprise de l'artwork : chiffre fin géométrique, libellé en minuscules à droite */
.anniv-num {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.72rem;
    font-weight: 300;
    line-height: .95;
    letter-spacing: -.02em;
    position: relative;
    z-index: 1;
}

.anniv-lbl {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: .6rem;
    font-weight: 300;
    text-transform: lowercase;   /* "ans" / "years" comme l'artwork */
    letter-spacing: .01em;
    margin-top: 1px;
    align-self: flex-end;
    margin-right: 5px;
    position: relative;
    z-index: 1;
}

/* Animation flottante subtile : le ruban "pend" (vertical, sans rotation) */
@keyframes anniv-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(3px); }
}

/* Compact au scroll (la barre devient plus fine) */
.main-header.scrolled .anniv-badge {
    top: -.6rem;
    min-height: 80px;
    padding: 10px 4px 0;
}
.main-header.scrolled .anniv-num { font-size: 1.32rem; }
.main-header.scrolled .anniv-lbl { font-size: .5rem; }

/* Mobile : aucun override — le ruban suspendu est strictement identique au desktop.
   L'ancienne étiquette compacte n'a plus lieu d'être depuis que .main-header est
   passé à top:35px (il ne recouvre plus la top-bar). */

.logo {
    height: 50px;
    width: auto;
    transition: height .3s ease, opacity .35s ease;
}
.main-header.scrolled .logo { height: 36px; }

/* ── Double logo : blanc par défaut, couleur au scroll ── */
.logo-wrapper a { position: relative; display: inline-flex; align-items: center; }
.logo-white { display: inline-block; }
.logo-color {
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    pointer-events: none;
}
.main-header.scrolled .logo-white {
    opacity: 0;
    pointer-events: none;
}
.main-header.scrolled .logo-color {
    position: static;
    opacity: 1;
    pointer-events: auto;
}
.main-header:not(.scrolled) .logo-color {
    position: absolute;
}
.main-header:not(.scrolled) .logo-white {
    position: relative;
    opacity: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all .3s ease;
}
.main-header.scrolled .logo-text { opacity: 0; max-width: 0; }

/* ── Couleurs du texte logo : blanc par défaut, couleurs originales au scroll ── */
.logo-text .since {
    font-size: .58rem; font-weight: 700;
    color: #ffffff;                /* blanc par défaut */
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: color .3s ease;
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.main-header.scrolled .logo-text .since {
    color: #D42F2F;                /* rouge au scroll */
    text-shadow: none;
}
.logo-text .tagline {
    font-size: .64rem;
    color: rgba(255,255,255,.85);  /* blanc clair par défaut */
    white-space: nowrap;
    font-style: italic;
    transition: color .3s ease;
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.main-header.scrolled .logo-text .tagline {
    color: #9ca3af;                /* gris au scroll */
    text-shadow: none;
}

/* ══ NAV — Minimal Luxe ══ */
.main-nav { flex: 1; }

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

/* Séparateurs verticaux fins */
.main-nav > ul > li {
    display: flex;
    align-items: center;
}
.main-nav > ul > li + li::before {
    content: '';
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,.25); /* blanc translucide par défaut */
    display: block;
    flex-shrink: 0;
    transition: background .3s ease;
}
.main-header.scrolled .main-nav > ul > li + li::before {
    background: #e9ecf0;               /* gris au scroll */
}

.main-nav > ul > li > a {
    color: #ffffff;                    /* BLANC par défaut */
    text-decoration: none;
    font-size: .79rem;
    font-weight: 500;
    letter-spacing: .35px;
    padding: .6rem 1.05rem;
    display: flex;
    align-items: center;
    gap: .28rem;
    transition: color .25s ease;
    position: relative;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0,0,0,.35); /* lisibilité sur fond image */
}

.main-header.scrolled .main-nav > ul > li > a {
    color: #5a6475;                    /* gris foncé/silver au scroll */
    font-weight: 400;
    text-shadow: none;
}

/* Underline qui glisse de gauche à droite */
.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 1.05rem;
    right: 1.05rem;
    height: 1px;
    background: #D42F2F;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}

.main-nav > ul > li > a:hover { color: #ffffff; }
.main-header.scrolled .main-nav > ul > li > a:hover { color: #111827; }
.main-nav > ul > li > a:hover::after { transform: scaleX(1); }

/* Active : couleur primaire + underline visible */
.main-nav > ul > li > a.active {
    color: #ffffff;
    font-weight: 600;
}
.main-header.scrolled .main-nav > ul > li > a.active {
    color: #D42F2F;
    font-weight: 500;
}
.main-nav > ul > li > a.active::after { transform: scaleX(1); }

.main-nav > ul > li > a .fa-chevron-down {
    font-size: .48rem;
    opacity: .35;
    margin-left: .05rem;
    transition: transform .2s;
}
.main-nav .dropdown:hover > a .fa-chevron-down { transform: rotate(180deg); }

/* ══ DROPDOWN — Minimal Luxe ══ */
.main-nav .dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 14px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all .22s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 16px 48px rgba(0,0,0,.09), 0 0 0 1px rgba(0,0,0,.03);
    padding: .5rem;
    display: flex;
    flex-direction: column;
    z-index: 999;
}

/* Petite flèche */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px; height: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-bottom: none;
    border-right: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li { margin: 0; width: 100%; }

.dropdown-menu a {
    padding: .52rem .8rem;
    display: flex;
    align-items: center;
    gap: .65rem;
    border-radius: 8px;
    font-size: .77rem;
    font-weight: 400;
    color: #4b5563;
    text-decoration: none;
    transition: all .15s;
    width: 100%;
}
.dropdown-menu a:hover {
    background: #f8fafc;
    color: #111827;
}
.dropdown-menu a:hover i { color: #D42F2F; }
.dropdown-menu i {
    color: #c4cad4;
    width: 15px;
    font-size: .7rem;
    flex-shrink: 0;
    transition: color .15s;
}

/* ══ HEADER ACTIONS ══ */
.header-actions {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-shrink: 0;
}

/* Ghost button pill rouge */
.btn-devis {
    background: #d42f2f96;
    color: #ffffff;
    padding: .52rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: .75rem;
    letter-spacing: .35px;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: all .25s ease;
}
.btn-devis:hover {
    background: #D42F2F;
    border-color: #D42F2F;
    color: #fff;
    box-shadow: 0 4px 18px rgba(212,47,47,.22);
}

/* ══ MOBILE TOGGLE ══ */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px; height: 32px;
    padding: 0;
}

.mobile-toggle span {
    display: block;
    height: 1.5px;
    background: #374151;
    border-radius: 2px;
    transition: all .25s;
}
.mobile-toggle span:nth-child(1) { width: 22px; }
.mobile-toggle span:nth-child(2) { width: 16px; }
.mobile-toggle span:nth-child(3) { width: 22px; }

/* Close button inside mobile panel — caché sur desktop */
.nav-close-btn { display: none; }

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    max-width: 600px;
    width: 90%;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: var(--font-size-2xl);
    border: none;
    border-radius: 50px;
    background: var(--white);
}

.search-close {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: var(--font-size-2xl);
    cursor: pointer;
    color: var(--text-light);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 650px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 650px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: var(--spacing-xxl) 0;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.hero-stats .stat-item i {
    font-size: var(--font-size-2xl);
    color: var(--primary-red);
}

.hero-stats .stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 700;
}

.hero-stats .stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* Hero Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Hero Controls */
.hero-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.hero-prev,
.hero-next {
    width: 50px;
    height: 50px;
    border: 2px solid var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.hero-dots {
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--primary-red);
    width: 30px;
    border-radius: 6px;
}

/* Section Styles */
section {
    padding: var(--spacing-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: var(--font-size-3xl);
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-card.featured ul li {
    color: var(--white);
}

.service-card.featured .service-link {
    color: var(--white);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.service-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.service-card.featured > p {
    color: rgba(255, 255, 255, 0.9);
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.service-features i {
    color: var(--primary-red);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
}

.service-price {
    margin: 1rem 0;
    padding: 0.75rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 8px;
    text-align: center;
    color: #92400e;
    font-size: 0.95rem;
}

.service-price strong {
    display: block;
    font-size: 1.3rem;
    color: #d97706;
    margin-top: 0.25rem;
}

/* Why Choose Us */
.why-choose-us {
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.why-features {
    margin: var(--spacing-xl) 0;
}

.why-feature {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.why-text h4 {
    margin-bottom: 0.5rem;
}

.why-text p {
    color: var(--text-light);
}

.why-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.why-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.why-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.image-badge i {
    font-size: var(--font-size-3xl);
    color: var(--primary-red);
}

.image-badge strong {
    display: block;
    font-size: var(--font-size-2xl);
    color: var(--text-dark);
}

.image-badge span {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

/* Counter Section */
.counter-section {
    position: relative;
    background: var(--gradient-dark);
    color: var(--white);
    padding: var(--spacing-xxl) 0;
}

.counter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.counter-item {
    text-align: center;
}

.counter-icon {
    font-size: var(--font-size-3xl);
    color: var(--primary-red);
    margin-bottom: var(--spacing-md);
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.counter-suffix {
    display: inline;
    font-size: 3.5rem;
    font-weight: 800;
}

.counter-label {
    font-size: var(--font-size-base);
    opacity: 0.9;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 0.95;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-content {
    text-align: center;
    color: var(--white);
    padding: var(--spacing-md);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-red);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-top: var(--spacing-md);
    transition: var(--transition);
}

.portfolio-link:hover {
    transform: scale(1.1);
}

.portfolio-cta {
    text-align: center;
}

/* Testimonials */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-item {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: #FCD34D;
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xxl) 0;
}

.cta-content h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.main-footer {
    background: var(--secondary-dark);
    color: var(--white);
}

.footer-top {
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
}

.footer-logo {
    height: 50px;
    margin-bottom: var(--spacing-md);
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-red);
}

.footer-col h4 {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-red);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    box-shadow: var(--shadow-xl);
    z-index: 999;
    animation: pulse 2s infinite;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .why-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    /* ── Top bar ── */
    .top-bar-left { display: none; }
    .top-bar-content { justify-content: center; }

    /* ── Overlay sombre derrière le panel ── */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, visibility .3s;
    }
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* ── Panel de navigation mobile ── */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        box-shadow: -4px 0 32px rgba(0,0,0,.13);
        transition: right .32s cubic-bezier(.4,0,.2,1);
        padding: 4.5rem 1.4rem 2rem;
        overflow-y: auto;
        z-index: 1100;
    }
    .main-nav.active { right: 0; }

    /* Bouton fermer (×) injecté par JS */
    .nav-close-btn {
        display: flex;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        cursor: pointer;
        color: #374151;
        font-size: 1rem;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background .2s;
    }
    .nav-close-btn:hover { background: #f1f5f9; }

    /* ── Liste de navigation ── */
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    /* Supprimer le flex + les séparateurs verticaux */
    .main-nav > ul > li {
        display: block;
        width: 100%;
    }
    .main-nav > ul > li + li::before { display: none; }

    /* Liens — sélecteur spécifique pour écraser le style desktop */
    .main-nav > ul > li > a {
        padding: .78rem .3rem;
        border-bottom: 1px solid #f1f5f9;
        font-size: .84rem;
        font-weight: 500;
        color: #374151;
        white-space: normal;
        justify-content: space-between;
        width: 100%;
    }
    .main-nav > ul > li > a::after { display: none; }
    .main-nav > ul > li > a:hover { color: #D42F2F; }

    /* Chevron dropdown */
    .main-nav > ul > li > a .fa-chevron-down {
        opacity: .5;
        font-size: .6rem;
        transition: transform .25s;
    }
    .main-nav .dropdown.open > a .fa-chevron-down { transform: rotate(180deg); }

    /* ── Dropdown mobile — caché par défaut, ouvert via JS ── */
    .dropdown-menu {
        display: none !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        border-radius: 8px;
        background: #f8fafc;
        padding: .3rem .25rem .3rem .8rem;
        margin: .15rem 0 .4rem;
        flex-direction: column;
    }
    .dropdown-menu.open { display: flex !important; }
    .dropdown-menu::before { display: none; }
    .dropdown-menu a {
        padding: .5rem .6rem;
        font-size: .79rem;
        border-bottom: 1px solid rgba(0,0,0,.05);
    }
    .dropdown-menu li:last-child a { border-bottom: none; }

    /* ── Hamburger → ✕ ── */
    .mobile-toggle { display: flex; }
    .mobile-toggle.active span:nth-child(1) {
        width: 22px;
        transform: translateY(6.5px) rotate(45deg);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .mobile-toggle.active span:nth-child(3) {
        width: 22px;
        transform: translateY(-6.5px) rotate(-45deg);
    }

    /* ── Logo compact ── */
    .logo { height: 38px; }
    .logo-text { display: none; }

    /* ── Bouton devis ── */
    .btn-devis {
        font-size: .72rem;
        padding: .42rem .85rem;
        letter-spacing: 0;
    }

    /* ── Contenu pages ── */
    .hero-content h1 { font-size: 2rem; }
    .hero-buttons,
    .hero-stats { flex-direction: column; }
    .services-grid,
    .portfolio-grid,
    .testimonials-slider { grid-template-columns: 1fr; }
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
    .whatsapp-float { left: 1rem; bottom: 5rem; }
}

/* ==========================================================================
   Scroll Reveal — système global d'animations au scroll
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal="up"]    { transform: translateY(50px); }
[data-reveal="down"]  { transform: translateY(-30px); }
[data-reveal="left"]  { transform: translateX(60px); }
[data-reveal="right"] { transform: translateX(-60px); }
[data-reveal="zoom"]  { transform: scale(0.85); }

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

/* Délais en cascade pour les éléments d'une même grille */
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }

/* Désactiver les animations pour les utilisateurs qui préfèrent pas de mouvement */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ═══════════════════════════════════════════════════
   RÉFÉRENCES — Carrousel infini (incluse sur plusieurs pages)
═══════════════════════════════════════════════════ */
.refs-section {
    background: #f5f5f0;
    padding: 3rem 0;
    overflow: hidden;
}
.refs-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.refs-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}
.refs-header p {
    color: #64748b;
    font-size: 1rem;
}
.refs-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.refs-wrapper::before,
.refs-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.refs-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f5f5f0, transparent);
}
.refs-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f5f5f0, transparent);
}
.refs-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    will-change: transform;
}
.refs-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, opacity 0.3s;
    cursor: default;
}
.refs-item:hover {
    transform: translateY(-3px);
}
.refs-item img {
    height: 80px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter 0.3s, opacity 0.3s;
}
.refs-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.refs-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: color 0.3s;
}
.refs-item:hover .refs-text {
    color: #D42F2F;
}
@media (max-width: 768px) {
    .refs-track { gap: 40px; }
    .refs-item img { height: 36px; }
    .refs-text { font-size: 0.9rem; }
}

/* ═══════════════════════════════════════════════════
   NOS VALEURS — Section auto-portée (incluse partout)
═══════════════════════════════════════════════════ */
.nv-section {
    background: #0f172a;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.nv-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}
.nv-section::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212,47,47,.1) 0%, transparent 65%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    pointer-events: none;
}
.nv-inner {
    position: relative;
    z-index: 1;
}
.nv-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.nv-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(212,47,47,.15);
    border: 1px solid rgba(212,47,47,.35);
    color: #f87171;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .4rem .9rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}
.nv-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: .8rem;
}
.nv-title span { color: #f87171; }
.nv-sub {
    font-size: 1rem;
    color: rgba(255,255,255,.55);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}
.nv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.nv-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}
.nv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,47,47,.06), transparent);
    opacity: 0;
    transition: opacity .35s ease;
    border-radius: 20px;
}
.nv-card:hover {
    border-color: rgba(212,47,47,.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(212,47,47,.15);
    background: rgba(255,255,255,.07);
}
.nv-card:hover::before { opacity: 1; }
.nv-num {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255,255,255,.04);
    line-height: 1;
    user-select: none;
    transition: color .35s;
}
.nv-card:hover .nv-num { color: rgba(212,47,47,.08); }
.nv-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(212,47,47,.12);
    border: 1px solid rgba(212,47,47,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f87171;
    font-size: 1.4rem;
    margin-bottom: 1.3rem;
    transition: all .35s ease;
    position: relative;
    z-index: 1;
}
.nv-card:hover .nv-icon {
    background: linear-gradient(135deg, #D42F2F, #ef4444);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(212,47,47,.4);
}
.nv-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .6rem;
    position: relative;
    z-index: 1;
}
.nv-card-desc {
    font-size: .87rem;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: color .35s;
}
.nv-card:hover .nv-card-desc { color: rgba(255,255,255,.75); }
.nv-card-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D42F2F, #ef4444);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    border-radius: 0 0 20px 20px;
}
.nv-card:hover .nv-card-bar { transform: scaleX(1); }
@media (max-width: 1024px) {
    .nv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .nv-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .nv-section { padding: 4rem 0; }
}

/* ==========================================================================
   Solution visuals — branded placeholder when product image is missing
   Painted behind the <img> (placeholder z:0, img z:1): a loaded image fully
   covers it; a missing/failed image (onerror display:none) reveals the
   placeholder instead of a flat empty box. The page-defined bottom-gradient
   overlay (::after) and the badge stay on top. Applies to all service pages
   + deploiement-de-reseaux, which share the .sol-visual markup.
   ========================================================================== */
.sol-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background:
        url("../images/logo-neoflux-blanc.png") center 42% / 150px auto no-repeat,
        radial-gradient(circle at 72% 18%, rgba(212, 47, 47, 0.18), transparent 55%),
        linear-gradient(155deg, #16263c 0%, #0a0f1c 100%);
}
.sol-visual img  { position: relative; z-index: 1; }
.sol-visual::after { z-index: 2; }