/* ============================================
   ELECMDV - Modern Premium Stylesheet
   Color Palette: Deep Slate (#0b0f19), Electric Blue (#1560BD), Vibrant Red (#D0021B), Crisp White, Subtle Gold (#F5A623)
   ============================================ */

/* --- CSS Variables & Tokens --- */
:root {
    --c-blue: #1560BD;
    --c-blue-dark: #0d3f85;
    --c-blue-light: #3b82f6;
    --c-red: #D0021B;
    --c-red-dark: #9b0014;
    --c-gold: #F5A623;
    
    --c-dark-900: #080b11;
    --c-dark-800: #0f172a;
    --c-dark-700: #1e293b;
    --c-dark-600: #334155;
    
    --c-light-100: #f8fafc;
    --c-light-200: #f1f5f9;
    --c-light-300: #e2e8f0;
    
    --c-text-main: #0f172a;
    --c-text-muted: #64748b;
    --c-text-light: #94a3b8;
    
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px -15px rgba(0,0,0,0.2);
    --shadow-blue: 0 10px 30px rgba(21,96,189,0.35);
    --shadow-red: 0 10px 30px rgba(208,2,27,0.3);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--c-text-main);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

body.intro-active {
    overflow: hidden !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   INTRO SPLASH SCREEN (FOND NOIR & LOGO ANIMÉ)
   ============================================ */
.intro-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: #05070c;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s;
}

.intro-screen.closing {
    opacity: 0;
    transform: scale(1.06);
    pointer-events: none;
    visibility: hidden;
}

.intro-bg-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(21, 96, 189, 0.25) 0%, rgba(208, 2, 27, 0.15) 45%, transparent 75%);
    animation: introGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes introGlowPulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.1); }
}

.intro-content {
    position: relative;
    z-index: 2;
    padding: 40px 24px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.intro-logo-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: clamp(4rem, 10vw, 7.5rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: -2px;
    animation: introLogoAppear 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.il-elec {
    color: var(--c-blue);
    text-shadow: 0 0 50px rgba(21, 96, 189, 0.8), 0 0 20px rgba(21, 96, 189, 0.4);
    display: inline;
}

.il-mdv {
    color: var(--c-red);
    text-shadow: 0 0 50px rgba(208, 2, 27, 0.8), 0 0 20px rgba(208, 2, 27, 0.4);
    display: inline;
}

@keyframes introLogoAppear {
    0% { opacity: 0; transform: translateY(-30px) scale(0.9); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.intro-logo-line {
    display: flex;
    width: 0;
    height: 5px;
    margin: 14px 0 16px;
    border-radius: 4px;
    overflow: hidden;
    animation: introLineExpand 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.ill-blue { flex: 1; background: var(--c-blue); }
.ill-white { flex: 1; background: #ffffff; }
.ill-red { flex: 1; background: var(--c-red); }

@keyframes introLineExpand {
    0% { width: 0%; opacity: 0; }
    100% { width: 100%; opacity: 1; }
}

.intro-logo-sub {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    font-weight: 800;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    animation: introSubFade 1s ease-out 1s both;
}

@keyframes introSubFade {
    0% { opacity: 0; letter-spacing: 2px; }
    100% { opacity: 1; letter-spacing: 8px; }
}

.intro-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: introPulseHint 2s infinite 1.5s;
}

@keyframes introPulseHint {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.intro-btn {
    background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-dark) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(21, 96, 189, 0.5), 0 0 0 0 rgba(21, 96, 189, 0.7);
    animation: introBtnPulse 2s infinite 1.8s, introSubFade 0.8s 1.4s both;
    transition: var(--transition);
}

.intro-btn:hover {
    transform: scale(1.06);
    background: linear-gradient(135deg, var(--c-blue-light) 0%, var(--c-blue) 100%);
    box-shadow: 0 15px 40px rgba(21, 96, 189, 0.7);
}

.ib-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.85rem;
    color: var(--c-gold);
}

@keyframes introBtnPulse {
    0% { box-shadow: 0 10px 30px rgba(21, 96, 189, 0.5), 0 0 0 0 rgba(21, 96, 189, 0.6); }
    70% { box-shadow: 0 10px 30px rgba(21, 96, 189, 0.5), 0 0 0 16px rgba(21, 96, 189, 0); }
    100% { box-shadow: 0 10px 30px rgba(21, 96, 189, 0.5), 0 0 0 0 rgba(21, 96, 189, 0); }
}

/* --- Global Section Utilities --- */
.section {
    padding: 100px 0;
    position: relative;
}

.bg-light { background-color: var(--c-light-100); }
.bg-white { background-color: #ffffff; }
.bg-dark { background-color: var(--c-dark-900); color: #ffffff; }
.bg-blue { background-color: var(--c-dark-800); color: #ffffff; }

.sec-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.sec-head.light h2,
.sec-head.light p {
    color: #ffffff;
}

.sec-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(21, 96, 189, 0.08);
    border: 1px solid rgba(21, 96, 189, 0.2);
    color: var(--c-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.sec-head.light .sec-tag {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--c-gold);
}

.sec-head h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--c-dark-900);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.sec-head h2 em {
    font-style: normal;
    color: var(--c-blue);
    position: relative;
}

.sec-head p {
    font-size: 1.1rem;
    color: var(--c-text-muted);
    line-height: 1.7;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
    background: var(--c-dark-900);
    color: var(--c-text-light);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tb-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tb-left, .tb-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.tb-left a {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.tb-left a i { color: var(--c-blue-light); }
.tb-left a:hover { color: #ffffff; }

.tb-right span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c-text-light);
}

.tb-pill {
    background: var(--c-blue);
    color: #ffffff !important;
    padding: 2px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   HEADER & NAVBAR
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO NAVBAR (Strictement sur une seule ligne) */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo-text-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
}

.logo-elec {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--c-blue);
    letter-spacing: -1px;
    font-style: italic;
    display: inline;
}

.logo-mdv {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--c-red);
    letter-spacing: -1px;
    font-style: italic;
    display: inline;
}

.logo-line {
    width: 100%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--c-blue) 0%, rgba(255,255,255,0.8) 50%, var(--c-red) 100%);
    margin: 3px 0 2px;
    border-radius: 2px;
}

.logo-tagline {
    font-size: 0.52rem;
    font-weight: 800;
    color: var(--c-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* NAVIGATION LINKS */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nl {
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-dark-700);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nl:hover, .nl.active {
    color: var(--c-blue);
    background: rgba(21, 96, 189, 0.06);
}

.has-sub {
    position: relative;
}

.has-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--c-light-200);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.sub-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-dark-700);
    border-radius: var(--radius-sm);
}

.sub-menu a i { color: var(--c-blue); font-size: 0.85rem; }
.sub-menu a:hover { background: var(--c-light-100); color: var(--c-blue); }

.nav-btn {
    background: var(--c-blue);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-blue);
}

.nav-btn:hover {
    background: var(--c-blue-dark);
    transform: translateY(-2px);
}

/* BURGER MENU */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger span {
    width: 26px;
    height: 2.5px;
    background-color: var(--c-dark-900);
    border-radius: 2px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* MOBILE DRAWER */
.drawer {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
}

.drawer.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.d-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-weight: 600;
    color: var(--c-dark-800);
    border-radius: var(--radius-sm);
    background: var(--c-light-100);
}

.d-link i { color: var(--c-blue); }

.d-cta {
    background: var(--c-blue);
    color: #ffffff;
    justify-content: center;
}
.d-cta i { color: #ffffff; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px;
    background: var(--c-dark-900);
    color: #ffffff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('hero_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    filter: scale(1.05);
    transition: transform 10s ease-out;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, var(--c-dark-900) 90%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,11,17,0.4) 0%, rgba(8,11,17,0.95) 100%);
}

.hero-body {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
}

/* HERO LOGO DISPLAY */
.hero-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.hero-logo-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: -2px;
}

.hl-elec { color: var(--c-blue); text-shadow: 0 0 40px rgba(21, 96, 189, 0.6); display: inline; }
.hl-mdv { color: var(--c-red); text-shadow: 0 0 35px rgba(208, 2, 27, 0.6); display: inline; }

.hero-logo-line {
    display: flex;
    width: 100%;
    height: 4px;
    margin: 8px 0;
    border-radius: 4px;
    overflow: hidden;
}

.hll-blue { flex: 1; background: var(--c-blue); }
.hll-white { flex: 1; background: #ffffff; }
.hll-red { flex: 1; background: var(--c-red); }

.hero-logo-sub {
    font-size: clamp(0.75rem, 1.5vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.hero-claim {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--c-gold);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* HERO STATS */
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 16px 40px;
    border-radius: var(--radius-full);
    margin-bottom: 40px;
}

.hstat {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.hstat-n {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
}

.hstat-u {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--c-blue-light);
}

.hstat-l {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 6px;
}

.hstat-sep {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
}

/* HERO CTAs */
.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-primary {
    background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-dark) 100%);
    color: #ffffff;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: var(--shadow-blue);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(21, 96, 189, 0.5);
}

.cta-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.05rem;
    backdrop-filter: blur(8px);
}

.cta-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-3px);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ============================================
   URGENCE BANNER
   ============================================ */
.urgence {
    background: linear-gradient(90deg, var(--c-red-dark) 0%, var(--c-red) 50%, var(--c-red-dark) 100%);
    color: #ffffff;
    padding: 18px 0;
}

.urgence-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.urgence-pulse {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.urgence strong {
    font-size: 1.15rem;
    font-weight: 800;
}

.urgence span {
    font-size: 0.95rem;
    opacity: 0.9;
}

.urgence-cta {
    background: #ffffff;
    color: var(--c-red);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.urgence-cta:hover {
    transform: scale(1.05);
    background: #fff;
    color: var(--c-red-dark);
}

/* ============================================
   SERVICES SECTION (Alignement 100% uniforme)
   ============================================ */
.srv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.srv-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-light-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

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

.srv-featured {
    border: 2px solid var(--c-blue);
    box-shadow: var(--shadow-blue);
}

.srv-feat-label {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background: var(--c-blue);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hauteur 100% identique pour les 3 conteneurs photos */
.srv-img {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: var(--c-dark-900);
    flex-shrink: 0;
}

.srv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s ease;
}

.srv-card:hover .srv-img img {
    transform: scale(1.08);
}

.srv-img-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(8, 11, 17, 0.85);
    backdrop-filter: blur(8px);
    color: var(--c-gold);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

.srv-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.srv-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--c-light-300);
    line-height: 1;
    margin-bottom: 8px;
}

.srv-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--c-dark-900);
    margin-bottom: 12px;
}

.srv-body p {
    color: var(--c-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.srv-body ul {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.srv-body ul li {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-dark-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.srv-body ul li::before {
    content: "✓";
    color: var(--c-blue);
    font-weight: 900;
}

.srv-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--c-blue);
    font-size: 0.95rem;
}

.srv-link:hover {
    gap: 12px;
    color: var(--c-blue-dark);
}

/* ============================================
   EXTRA SERVICES (DARK)
   ============================================ */
.xsrv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.xsrv {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
}

.xsrv:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(21, 96, 189, 0.5);
    transform: translateY(-4px);
}

.xsrv-icon {
    width: 48px;
    height: 48px;
    background: rgba(21, 96, 189, 0.2);
    color: var(--c-blue-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.xsrv h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.xsrv p {
    font-size: 0.9rem;
    color: var(--c-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.xsrv a {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--c-gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.xsrv a:hover { gap: 10px; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--c-dark-900);
    margin-bottom: 16px;
    line-height: 1.6;
}

.about-left p {
    color: var(--c-text-muted);
    margin-bottom: 24px;
}

.about-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 36px;
}

.pill {
    background: var(--c-light-100);
    border: 1px solid var(--c-light-200);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-dark-700);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pill i { color: var(--c-blue); }

.about-card {
    background: var(--c-dark-900);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(21, 96, 189, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.about-logo-display {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.about-logo-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1;
}

.al-elec { font-size: 2.8rem; font-weight: 900; font-style: italic; color: var(--c-blue); display: inline; }
.al-mdv { font-size: 2.8rem; font-weight: 900; font-style: italic; color: var(--c-red); display: inline; }
.al-line { width: 100%; height: 3px; background: linear-gradient(90deg, var(--c-blue), #fff, var(--c-red)); margin: 4px 0; }
.al-tag { font-size: 0.6rem; font-weight: 800; letter-spacing: 3px; color: rgba(255,255,255,0.6); }

.about-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.kpi {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px 12px;
}

.kpi-n {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--c-blue-light);
}

.kpi-l {
    font-size: 0.8rem;
    color: var(--c-text-light);
}

/* ============================================
   ENGAGEMENTS
   ============================================ */
.eng-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.eng-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    transition: var(--transition);
}

.eng-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.eng-n {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
}

.eng-card i {
    font-size: 1.8rem;
    color: var(--c-gold);
    margin-bottom: 20px;
    display: block;
}

.eng-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.eng-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ============================================
   RÉALISATIONS
   ============================================ */
.real-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.real-item {
    position: relative;
    height: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--c-dark-900);
}

.real-item.ri-tall {
    grid-row: span 2;
    height: 100%;
}

.real-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#ri-3 img {
    object-fit: cover;
    object-position: center 15%;
}

.real-item:hover img {
    transform: scale(1.06);
}

.ri-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 11, 17, 0.9) 0%, transparent 65%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #ffffff;
    opacity: 0.95;
    transition: var(--transition);
}

.ri-info h4 {
    font-size: 1.15rem;
    font-weight: 800;
}

.ri-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   TÉMOIGNAGES
   ============================================ */
.temo-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.temo-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.temo-item {
    min-width: 100%;
    background: var(--c-light-100);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--c-light-200);
    text-align: center;
}

.temo-stars {
    color: var(--c-gold);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.temo-item p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--c-dark-800);
    margin-bottom: 24px;
    line-height: 1.7;
}

.temo-author {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.temo-av {
    width: 44px;
    height: 44px;
    background: var(--c-blue);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.temo-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--c-dark-900);
}

.temo-author span {
    font-size: 0.8rem;
    color: var(--c-text-muted);
}

.temo-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.temo-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--c-light-300);
    background: #ffffff;
    color: var(--c-dark-800);
    cursor: pointer;
    transition: var(--transition);
}

.temo-nav button:hover {
    background: var(--c-blue);
    color: #ffffff;
    border-color: var(--c-blue);
}

/* ============================================
   CONTACT & DEVIS FORM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.ci {
    background: #ffffff;
    border: 1px solid var(--c-light-200);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ci-ico {
    width: 44px;
    height: 44px;
    background: rgba(21, 96, 189, 0.1);
    color: var(--c-blue);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.ci span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-text-muted);
}

.ci strong {
    font-size: 1rem;
    color: var(--c-dark-900);
}

.contact-social {
    display: flex;
    gap: 12px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-dark-900);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-social a:hover {
    background: var(--c-blue);
    transform: translateY(-3px);
}

/* FORM STYLING */
.form {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--c-light-200);
    box-shadow: var(--shadow-md);
}

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

.fg {
    margin-bottom: 20px;
}

.fg label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--c-dark-800);
    margin-bottom: 6px;
}

.fg input, .fg select, .fg textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--c-light-300);
    border-radius: var(--radius-sm);
    background: var(--c-light-100);
    color: var(--c-dark-900);
    outline: none;
    transition: var(--transition);
}

.fg input:focus, .fg select:focus, .fg textarea:focus {
    border-color: var(--c-blue);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(21, 96, 189, 0.1);
}

.form-submit {
    width: 100%;
    background: var(--c-blue);
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: var(--shadow-blue);
    transition: var(--transition);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.form-submit:hover {
    background: var(--c-blue-dark);
    transform: translateY(-2px);
}

.form-note {
    font-size: 0.8rem;
    color: var(--c-text-muted);
    text-align: center;
    margin-top: 12px;
}

/* ============================================
   FINAL CTA & FOOTER
   ============================================ */
.final-cta {
    background: var(--c-dark-900);
    color: #ffffff;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fca-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.fca-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

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

.fca-btns {
    display: flex;
    gap: 16px;
}

.cta-wa {
    background: #25d366;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-wa:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* FOOTER LOGO DISPLAY */
.footer-top {
    background: var(--c-dark-900);
    color: var(--c-text-light);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.footer-logo-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-logo-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
}

.fl-elec { font-size: 2rem; font-weight: 900; font-style: italic; color: var(--c-blue); display: inline; }
.fl-mdv { font-size: 2rem; font-weight: 900; font-style: italic; color: var(--c-red); display: inline; }
.fl-line { width: 100%; height: 2.5px; background: linear-gradient(90deg, var(--c-blue), #fff, var(--c-red)); margin: 3px 0; }
.fl-tag { font-size: 0.55rem; font-weight: 800; letter-spacing: 2px; color: rgba(255,255,255,0.5); }

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a, .footer-col span {
    font-size: 0.9rem;
    color: var(--c-text-light);
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-devis-btn {
    background: var(--c-blue);
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-align: center;
    margin-top: 8px;
}

.footer-bottom {
    background: #05070c;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

/* FLOATING BUTTONS */
.float-btns {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btns a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.fb-wa { background: #25d366; }
.fb-call { background: var(--c-blue); }

.fb-tip {
    position: absolute;
    right: 64px;
    background: var(--c-dark-900);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.float-btns a:hover .fb-tip { opacity: 1; }

.btt {
    position: fixed;
    bottom: 150px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--c-light-300);
    color: var(--c-dark-900);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.btt.visible {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .srv-grid, .xsrv-grid, .eng-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .nav-links { display: none; }
    .burger { display: flex; }
    .srv-grid, .xsrv-grid, .eng-grid, .real-grid {
        grid-template-columns: 1fr;
    }
    .srv-img, #depannage .srv-img {
        height: 240px;
    }
    .real-item.ri-tall {
        grid-row: auto;
        height: 260px;
    }
    .hero-stats {
        flex-direction: column;
        gap: 12px;
        padding: 20px 30px;
        border-radius: var(--radius-lg);
    }
    .hstat-sep { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .fca-inner { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
}
