/* ============================================================
   DIGISERVA — Site Vitrine
   Design Premium Dark + Or + Bleu électrique — v1.0
   ============================================================ */

/* === Variables globales === */
:root {
    --dark:          #080c14;
    --dark-2:        #0f172a;
    --dark-3:        #1e293b;
    --gold:          #f59e0b;
    --gold-light:    #fcd34d;
    --gold-dim:      rgba(245, 158, 11, 0.12);
    --gold-glow:     rgba(245, 158, 11, 0.30);
    --electric:      #0891b2;
    --electric-light:#22d3ee;
    --electric-dim:  rgba(8, 145, 178, 0.12);
    --electric-glow: rgba(8, 145, 178, 0.30);
    --white:         #f8fafc;
    --text:          #e2e8f0;
    --text-muted:    #94a3b8;
    --text-dim:      #64748b;
    --glass:         rgba(255, 255, 255, 0.04);
    --glass-hover:   rgba(255, 255, 255, 0.07);
    --border:        rgba(255, 255, 255, 0.08);
    --border-gold:   rgba(245, 158, 11, 0.30);
    --border-elec:   rgba(8, 145, 178, 0.30);
    --shadow-card:   0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold:   0 0 40px rgba(245, 158, 11, 0.20);
    --shadow-elec:   0 0 40px rgba(8, 145, 178, 0.20);
    --radius:        16px;
    --radius-sm:     8px;
    --radius-lg:     24px;
    --transition:    0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body:     'Inter', system-ui, -apple-system, sans-serif;
    --font-display:  'Poppins', system-ui, sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

/* === Utilitaires typographie === */
.text-gold    { color: var(--gold); }
.text-electric{ color: var(--electric-light); }
.text-muted-dv{ color: var(--text-muted); }

/* === Section label (badge catégorie) === */
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.section-label.blue {
    color: var(--electric-light);
    background: var(--electric-dim);
    border-color: var(--border-elec);
}

/* === Titres de sections === */
.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.section-title .gold   { color: var(--gold); }
.section-title .elec   { color: var(--electric-light); }
.section-title .ul-gold {
    position: relative;
    display: inline-block;
}
.section-title .ul-gold::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.85;
}

/* === Animations au scroll === */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-left {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }
.d7 { transition-delay: 0.56s; }
.d8 { transition-delay: 0.64s; }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn-dv {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 14px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn-gold-dv {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #0a0a0a;
    box-shadow: 0 4px 22px var(--gold-glow);
}
.btn-gold-dv:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px var(--gold-glow);
    color: #0a0a0a;
    text-decoration: none;
}

.btn-outline-dv {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border);
}
.btn-outline-dv:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
    transform: translateY(-3px);
    text-decoration: none;
}

.btn-electric-dv {
    background: linear-gradient(135deg, var(--electric) 0%, var(--electric-light) 100%);
    color: #fff;
    box-shadow: 0 4px 22px var(--electric-glow);
}
.btn-electric-dv:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px var(--electric-glow);
    color: #fff;
    text-decoration: none;
}

.btn-dv-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* Override Bootstrap 5 btn-outline-secondary pour pages légales */
.btn-outline-secondary {
    --bs-btn-color:              #0891b2;
    --bs-btn-border-color:       #0891b2;
    --bs-btn-hover-color:        #fff;
    --bs-btn-hover-bg:           #0891b2;
    --bs-btn-hover-border-color: #0891b2;
    --bs-btn-active-color:       #fff;
    --bs-btn-active-bg:          #0891b2;
    --bs-btn-active-border-color:#0891b2;
    font-weight: 500;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    box-shadow: 0 0 14px rgba(8, 145, 178, 0.35);
}

/* ============================================================
   NAVBAR STICKY
   ============================================================ */
.dv-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}
.dv-header.scrolled {
    background: rgba(8, 12, 20, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.dv-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.dv-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.dv-logo-img {
    height: 60px;
    width: auto;
    display: block;
}
.logo-mark {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}
.logo-d    { color: var(--gold); }
.logo-rest { color: var(--white); }
.logo-sub {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: 3px 8px;
    border-radius: 4px;
    display: none;
}
@media (min-width: 768px) { .logo-sub { display: block; } }

/* Nav links */
.dv-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}
.dv-nav-links li { list-style: none; }
.dv-nav-link {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 8px;
    transition: var(--transition);
    display: block;
}
.dv-nav-link:hover { color: var(--white); background: var(--glass); text-decoration: none; }

.nav-cta-wrap { margin-left: 8px; }

/* Hamburger */
.dv-toggler {
    display: none;
    background: var(--glass);
    border: 1px solid var(--border);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: var(--transition);
    flex-shrink: 0;
}
.dv-toggler:hover { background: var(--glass-hover); }
.toggler-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.dv-toggler.open .toggler-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dv-toggler.open .toggler-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.dv-toggler.open .toggler-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
    .dv-toggler { display: flex; }
    .dv-nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 20px 16px 28px;
        background: rgba(8, 12, 20, 0.98);
        backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border);
        gap: 4px;
    }
    .dv-nav-links.open { display: flex; }
    .dv-nav-link { padding: 14px 20px; border-radius: 10px; font-size: 0.95rem; }
    .nav-cta-wrap { margin-left: 0; }
    .nav-cta-wrap .btn-dv { width: 100%; justify-content: center; margin-top: 8px; border-radius: 10px; }
}

/* ============================================================
   HERO
   ============================================================ */
.dv-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 160px;
    background: var(--dark-2);
}

.hero-bg-grad {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 15% 40%, rgba(59, 82, 160, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 82% 65%, rgba(212, 168, 67, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(37, 99, 235, 0.09) 0%, transparent 50%),
        linear-gradient(145deg, #080c14 0%, #0f172a 55%, #080c14 100%);
    z-index: 0;
}

/* Grille technologique */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    z-index: 0;
}

/* Orbes animées */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}
.orb-1 {
    width: 480px; height: 480px;
    background: rgba(37, 99, 235, 0.1);
    top: -140px; left: -100px;
    animation: orbPulse 9s ease-in-out infinite;
}
.orb-2 {
    width: 340px; height: 340px;
    background: rgba(212, 168, 67, 0.08);
    bottom: -80px; right: 8%;
    animation: orbPulse 11s ease-in-out infinite reverse;
}
.orb-3 {
    width: 220px; height: 220px;
    background: rgba(59, 130, 246, 0.07);
    top: 45%; right: 18%;
    animation: orbPulse 7s ease-in-out infinite;
    animation-delay: -3s;
}
@keyframes orbPulse {
    0%, 100% { transform: scale(1) translate(0, 0); }
    33%       { transform: scale(1.08) translate(20px, -15px); }
    66%       { transform: scale(0.93) translate(-15px, 10px); }
}

/* Icônes tech flottantes en fond */
.hero-tech-icons {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.tech-icon {
    position: absolute;
    color: rgba(255,255,255,0.035);
    animation: techFloat 7s ease-in-out infinite;
}
.tech-icon:nth-child(1) { font-size: 2.8rem; top: 12%; left: 4%;  animation-delay: 0s;   }
.tech-icon:nth-child(2) { font-size: 4rem;   top: 22%; right: 6%; animation-delay: -2.5s; }
.tech-icon:nth-child(3) { font-size: 2rem;   bottom: 28%; left: 7%; animation-delay: -4.5s; }
.tech-icon:nth-child(4) { font-size: 3.5rem; bottom: 18%; right: 10%; animation-delay: -1.5s; }
.tech-icon:nth-child(5) { font-size: 2.2rem; top: 55%;  left: 2%;  animation-delay: -3.5s; }
@keyframes techFloat {
    0%, 100% { transform: translateY(0) rotate(0deg);   opacity: 0.035; }
    50%       { transform: translateY(-18px) rotate(8deg); opacity: 0.07;  }
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 30px;
    letter-spacing: 0.04em;
}
.hero-eyebrow i { font-size: 0.75rem; }

.hero-title {
    font-size: clamp(2.6rem, 5.8vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.20;
    margin-bottom: 28px;
    letter-spacing: -0.025em;
}
.hero-title .accent-gold { color: var(--gold); }
.hero-title .accent-elec {
    color: var(--electric-light);
    display: inline-block;
    position: relative;
}
.hero-title .accent-elec::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -4px;
    height: 3px;
    background: linear-gradient(90deg, var(--electric), transparent);
    border-radius: 2px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.85;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-trust {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}
.trust-item i { color: var(--electric-light); font-size: 0.85rem; }

/* Vague bas du hero */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 1;
    line-height: 0;
    height: 120px;
}
.hero-wave svg { height: 100%; }

.hero-wave-sep {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    line-height: 0;
    z-index: 2;
}
.hero-wave-sep svg {
    display: block;
    width: 100%;
    height: 120px;
}
.hero-wave-sep svg path { fill: #f5f8fc !important; }
.hero-wave svg { display: block; width: 100%; }

/* ============================================================
   SERVICES
   ============================================================ */
.dv-services {
    background: var(--dark);
    padding: 100px 0;
}

/* Variante fond clair pour la section Services */
.dv-services--light {
    background: #f5f8fc;
}
.dv-services--light .section-title {
    color: var(--dark);
}
.dv-services--light .section-sub {
    color: var(--text-dim);
}

.service-card {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--electric), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover {
    background: var(--dark-3);
    border-color: var(--border-elec);
    transform: translateY(-7px);
    box-shadow: 0 22px 60px rgba(0,0,0,0.45), var(--shadow-elec);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card.gold-card::before { background: linear-gradient(90deg, var(--gold), transparent); }
.service-card.gold-card:hover {
    border-color: var(--border-gold);
    box-shadow: 0 22px 60px rgba(0,0,0,0.45), var(--shadow-gold);
}

.svc-icon {
    width: 54px;
    height: 54px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 22px;
    transition: var(--transition);
    background: var(--electric-dim);
    border: 1px solid var(--border-elec);
    color: var(--electric-light);
}
.gold-card .svc-icon {
    background: var(--gold-dim);
    border-color: var(--border-gold);
    color: var(--gold);
}
.service-card:hover .svc-icon {
    background: var(--electric);
    color: #fff;
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 0 22px var(--electric-glow);
    border-color: transparent;
}
.gold-card:hover .svc-icon {
    background: var(--gold);
    color: #0a0a0a;
    box-shadow: 0 0 22px var(--gold-glow);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   POURQUOI DIGISERVA — Stats + arguments
   ============================================================ */
.dv-why {
    background: var(--dark-2);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.dv-why::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(212,168,67,0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Grille stats 4 colonnes */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 72px;
}
@media (max-width: 991px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.stat-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 22px;
    text-align: center;
    transition: var(--transition);
}
.stat-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}
.stat-num {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}
.stat-lbl {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.5;
}

/* Grille arguments 3 colonnes */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 991px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .why-grid { grid-template-columns: 1fr; } }

.why-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: var(--transition);
}
.why-card:hover {
    background: var(--glass-hover);
    border-color: var(--border-elec);
    transform: translateY(-3px);
}
.why-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--electric-dim);
    border: 1px solid var(--border-elec);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-light);
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.why-card:hover .why-icon {
    background: var(--electric);
    color: #fff;
    border-color: transparent;
}
.why-card h4 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}
.why-card p {
    font-size: 0.845rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   E-SERVICES — Produits DIGISERVA
   ============================================================ */
.dv-eservices {
    background: var(--dark);
    padding: 100px 0;
}

.eservice-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.eservice-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(212,168,67,0.06) 0%, transparent 55%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}
.eservice-card:hover {
    transform: translateY(-9px);
    border-color: var(--border-gold);
    box-shadow: 0 28px 80px rgba(0,0,0,0.55), var(--shadow-gold);
}
.eservice-card:hover::before { opacity: 1; }

.eservice-card.blue-card:hover {
    border-color: var(--border-elec);
    box-shadow: 0 28px 80px rgba(0,0,0,0.55), var(--shadow-elec);
}
.eservice-card.blue-card::before {
    background: radial-gradient(circle at 50% 0%, rgba(59,130,246,0.06) 0%, transparent 55%);
}

.eservice-logo {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    color: var(--gold);
    margin: 0 auto 28px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}
.blue-card .eservice-logo {
    background: var(--electric-dim);
    border-color: var(--border-elec);
    color: var(--electric-light);
}
.eservice-card:hover .eservice-logo {
    background: var(--gold);
    color: #0a0a0a;
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 0 0 32px var(--gold-glow);
    border-color: transparent;
}
.blue-card:hover .eservice-logo {
    background: var(--electric);
    color: #fff;
    box-shadow: 0 0 32px var(--electric-glow);
}

.eservice-tag {
    display: inline-block;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.blue-card .eservice-tag {
    color: var(--electric-light);
    background: var(--electric-dim);
    border-color: var(--border-elec);
}
.upcoming-tag {
    color: var(--text-muted);
    background: var(--glass);
    border-color: var(--border);
}

.eservice-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.eservice-card > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.eservice-features {
    text-align: left;
    margin-bottom: 32px;
    border-top: 1px solid var(--border);
    padding-top: 22px;
    position: relative;
    z-index: 1;
}
.eservice-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-muted);
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.eservice-features li:last-child { border-bottom: none; }
.eservice-features li i { color: var(--electric-light); font-size: 0.78rem; flex-shrink: 0; }
.eservice-card.gold-card .eservice-features li i { color: var(--gold); }

.eservice-cta { margin-top: auto; position: relative; z-index: 1; }

/* Carte "Bientôt" */
.eservice-card.upcoming {
    border-style: dashed;
    opacity: 0.72;
}
.upcoming-icon-wrap {
    font-size: 3rem;
    color: var(--text-dim);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* ============================================================
   PROCESSUS — Timeline 4 étapes
   ============================================================ */
.dv-process {
    background: var(--dark-2);
    padding: 100px 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 64px;
}
/* Ligne de connexion */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 38px;
    left: calc(12.5% + 18px);
    right: calc(12.5% + 18px);
    height: 2px;
    background: linear-gradient(90deg,
        var(--gold) 0%,
        var(--electric-light) 50%,
        var(--gold) 100%);
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 18px;
    position: relative;
    z-index: 1;
}

.step-bubble {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}
.step-bubble i { font-size: 1.5rem; color: var(--gold); transition: var(--transition); }
.step-num-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: #0a0a0a;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
}
.process-step:hover .step-bubble {
    border-color: var(--gold);
    background: var(--gold-dim);
    box-shadow: 0 0 30px var(--gold-glow);
}
.process-step:hover .step-bubble i { transform: scale(1.2); }

.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}
.process-step p {
    font-size: 0.845rem;
    color: var(--text-muted);
    line-height: 1.65;
}

@media (max-width: 767px) {
    .process-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .process-timeline::before { display: none; }
}
@media (max-width: 440px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.dv-testimonials {
    background: var(--dark);
    padding: 100px 0;
}

.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 38px 34px;
    height: 100%;
    transition: var(--transition);
    position: relative;
}
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 34px;
    right: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 0 0 2px 2px;
}
.testimonial-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.quote-icon-dv {
    font-size: 2.8rem;
    color: rgba(212, 168, 67, 0.22);
    line-height: 1;
    margin-bottom: 18px;
    display: block;
}
.stars-dv {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}
.stars-dv i { color: var(--gold); font-size: 0.82rem; }

.testimonial-txt {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 26px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.author-av {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--electric) 0%, var(--electric-light) 100%);
}
.author-av.gold-av {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #0a0a0a;
}
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--white); display: block; }
.author-role { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   BANDE CTA INTERMÉDIAIRE
   ============================================================ */
.dv-cta-band {
    background: linear-gradient(140deg, #0f172a 0%, #1a2540 50%, #0f172a 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}
.dv-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 65% 110% at 50% 50%, rgba(212,168,67,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.cta-band-body { position: relative; z-index: 1; }
.cta-band-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 24px;
    display: block;
    filter: drop-shadow(0 0 16px var(--gold-glow));
}

/* ============================================================
   CONTACT
   ============================================================ */
.dv-contact {
    background: var(--dark-2);
    padding: 100px 0;
}

.contact-sidebar { padding-right: 48px; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}
.ci-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: var(--electric-dim);
    border: 1px solid var(--border-elec);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-light);
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.contact-info-item:hover .ci-icon {
    background: var(--electric);
    color: #fff;
    border-color: transparent;
}
.ci-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
.ci-value {
    font-size: 0.93rem;
    color: var(--white);
    font-weight: 500;
}
.ci-value a { color: var(--white); transition: var(--transition); }
.ci-value a:hover { color: var(--gold); text-decoration: none; }

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 34px;
}
.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
}
.social-btn:hover {
    background: var(--gold-dim);
    border-color: var(--border-gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* Formulaire */
.form-wrap {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 50px 44px;
}

.f-group { margin-bottom: 22px; }
.f-label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.f-label .req { color: var(--gold); margin-left: 2px; }

.f-control {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 13px 17px;
    color: var(--white);
    font-size: 0.93rem;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.f-control::placeholder { color: var(--text-dim); }
.f-control:focus {
    border-color: var(--electric);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 0 3px var(--electric-glow);
}
textarea.f-control { resize: vertical; min-height: 138px; }

.f-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 575px) { .f-row { grid-template-columns: 1fr; } }

.f-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.f-check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    accent-color: var(--electric);
    flex-shrink: 0;
    margin-top: 3px;
    cursor: pointer;
}
.f-check a { color: var(--electric-light); transition: color var(--transition); }
.f-check a:hover { color: var(--gold); }

/* Alertes */
.dv-alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    line-height: 1.6;
}
.dv-alert i { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.dv-alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}
.dv-alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}
.dv-alert ul { margin: 8px 0 0 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.dv-footer {
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}

.footer-wordmark {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: inline-block;
    margin-bottom: 12px;
    line-height: 1;
}
.fw-d    { color: var(--gold); }
.fw-rest { color: var(--white); }

.footer-tagline {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 22px;
    line-height: 1.6;
}

.footer-head {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.footer-nav a:hover { color: var(--gold); padding-left: 5px; }

.footer-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0 26px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-dim);
    flex-wrap: wrap;
}
.footer-bottom a { color: var(--text-dim); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--text-muted); }

/* ============================================================
   BOUTON RETOUR EN HAUT
   ============================================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0a0a;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 6px 24px var(--gold-glow);
}
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px var(--gold-glow);
}

/* ============================================================
   RESPONSIVE — ajustements globaux
   ============================================================ */
@media (max-width: 991px) {
    .contact-sidebar { padding-right: 0; margin-bottom: 50px; }
    .dv-hero { padding: 130px 0 80px; }
}
@media (max-width: 767px) {
    .dv-services, .dv-why, .dv-eservices, .dv-process,
    .dv-testimonials, .dv-contact, .dv-cta-band { padding: 72px 0; }
    .hero-cta .btn-dv { width: 100%; justify-content: center; }
    .hero-trust { gap: 16px; }
    .form-wrap { padding: 34px 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .dv-hero { padding: 120px 0 70px; }
    .hero-title { font-size: 2.4rem; }
    .hero-sub { font-size: 1rem; }
    .eservice-card { padding: 38px 26px; }
}
