/* =====================================================
   MAACO INVEST — main.css
   Design system v2 — Dark Theme
   Noir #020202 (65%) · Violet #61398F (25%) · Blanc #F0EEEE (10%)
   Montserrat ExtraBold/Bold (titres) · Montserrat Medium (corps) · Caveat (script)
   ===================================================== */

/* =====================================================
   1. VARIABLES
   ===================================================== */
:root {
    /* === COULEURS PRINCIPALES === */

    /* Noir — fond dominant (65%) */
    --noir:     #020202;
    --noir-100: #0a0a0a;
    --noir-200: #111111;
    --noir-300: #1a1a1a;   /* cards sur fond noir */
    --noir-400: #242424;   /* hover cards */
    --noir-500: #333333;   /* bordures sur fond noir */

    /* Violet — accent marque (25%) */
    --violet:        #61398F;   /* PRINCIPAL */
    --violet-dark:   #4d2a72;
    --violet-medium: #7a4db0;
    --violet-light:  #9670c8;
    --violet-pale:   #c4aee4;

    /* Blanc cassé — sections claires (10%) */
    --blanc:    #F0EEEE;   /* TEXTE PRINCIPAL + FOND CLAIR */
    --blanc-80: rgba(240, 238, 238, 0.80);
    --blanc-60: rgba(240, 238, 238, 0.60);
    --blanc-40: rgba(240, 238, 238, 0.40);
    --blanc-20: rgba(240, 238, 238, 0.20);
    --blanc-10: rgba(240, 238, 238, 0.10);
    --blanc-05: rgba(240, 238, 238, 0.05);

    /* Utilitaires */
    --rouge: #e83d4d;
    --vert:  #22c55e;
    --jaune: #f59e0b;

    /* === ALIASES RÉTROCOMPATIBILITÉ (vues existantes) === */
    --beige-100: #020202;   /* remappé → fond dark */
    --beige-200: #0a0a0a;
    --beige-300: #333333;
    --beige-400: #484848;
    --beige-50:  #111111;

    --gris-900: var(--blanc);
    --gris-700: var(--blanc-80);
    --gris-600: var(--blanc-60);
    --gris-500: var(--blanc-40);
    --gris-400: var(--blanc-20);
    --gris-300: var(--blanc-10);
    --gris-200: var(--blanc-05);
    --gris-100: rgba(240, 238, 238, 0.03);

    --violet-900: #3d2160;
    --violet-800: #4d2c78;
    --violet-700: var(--violet);
    --violet-600: var(--violet-medium);
    --violet-500: var(--violet-light);
    --violet-400: var(--violet-pale);
    --violet-300: #d4bfec;
    --violet-200: rgba(97, 57, 143, 0.30);
    --violet-100: rgba(97, 57, 143, 0.15);
    --violet-50:  rgba(97, 57, 143, 0.08);

    /* === CHARTE LIGHT — design system clair premium (verrouillé) ===
       Blanc pur #FFFFFF + gris doux #F5F4F8 alternés · violet rare ·
       encre titres #1B1726. Utilisés pour les sections passées en clair. */
    --c-surface:        #FFFFFF;              /* section principale + cartes */
    --c-surface-alt:    #F5F4F8;              /* section alternée (séparation) */
    --c-ink:            #1B1726;              /* titres */
    --c-body:           #56525F;              /* corps de texte */
    --c-muted:          #8B8794;              /* légendes / méta */
    --c-hairline:       rgba(27,23,38,0.08);  /* bordures de cartes */
    --c-hairline-soft:  rgba(27,23,38,0.06);  /* séparations de section */
    --c-violet-veil:    rgba(97,57,143,0.07); /* cartes accent / chips d'icônes */
    --c-violet-deep:    #512F77;              /* hover boutons violets */
    --c-violet-section: linear-gradient(160deg, #5B357F 0%, #3E2660 100%);
    --c-card-shadow:       0 1px 2px rgba(27,23,38,0.04), 0 10px 30px rgba(27,23,38,0.06);
    --c-card-shadow-hover: 0 18px 44px rgba(97,57,143,0.14);

    /* === GRADIENTS === */
    --gradient-violet:       linear-gradient(135deg, #61398F 0%, #7a4db0 50%, #61398F 100%);
    --gradient-violet-light: linear-gradient(135deg, rgba(97,57,143,0.2) 0%, rgba(97,57,143,0.05) 100%);
    --gradient-bouton:       linear-gradient(135deg, #61398F 0%, #7a4db0 100%);
    --gradient-rouge:        linear-gradient(135deg, #e83d4d 0%, #c92738 100%);
    --gradient-dark:         linear-gradient(135deg, #020202 0%, #0d0d0d 100%);
    --gradient-hero:         linear-gradient(160deg, #020202 0%, #08020f 100%);
    --gradient-beige:        linear-gradient(135deg, #020202 0%, #0a0a0a 100%); /* compat */
    --gradient-beige-violet: linear-gradient(135deg, #020202 0%, rgba(97,57,143,0.2) 100%);

    /* === OMBRES (glow violet pour dark theme) === */
    --shadow-sm:          0 2px 8px  rgba(97, 57, 143, 0.12);
    --shadow-md:          0 4px 20px rgba(97, 57, 143, 0.18);
    --shadow-lg:          0 8px 40px rgba(97, 57, 143, 0.22);
    --shadow-xl:          0 16px 60px rgba(97, 57, 143, 0.28);
    --shadow-glow:        0 0 60px rgba(97, 57, 143, 0.45);
    --shadow-glow-strong: 0 0 80px rgba(97, 57, 143, 0.65), 0 0 30px rgba(97, 57, 143, 0.40);

    /* === TYPOGRAPHIE === */
    --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-body:    'Montserrat', system-ui, -apple-system, sans-serif;
    --font-script:  'Caveat', cursive;
    --font-num:     'Montserrat', sans-serif;

    /* Échelle */
    --text-display-xl: clamp(48px, 7vw, 72px);
    --text-display-lg: clamp(40px, 5.5vw, 56px);
    --text-display-md: clamp(32px, 4.5vw, 40px);
    --text-h1:         clamp(28px, 3.5vw, 32px);
    --text-h2:         24px;
    --text-h3:         20px;
    --text-body-lg:    18px;
    --text-body:       16px;
    --text-body-sm:    14px;
    --text-caption:    12px;

    /* Espacements (système 4px/8px) */
    --space-1:  4px;
    --space-2:  8px;
    --space-3:  12px;
    --space-4:  16px;
    --space-5:  24px;
    --space-6:  32px;
    --space-7:  48px;
    --space-8:  64px;
    --space-9:  96px;
    --space-10: 128px;

    /* Rayons */
    --radius-xs:   4px;
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --radius-2xl:  40px;
    --radius-full: 999px;

    /* Container */
    --container-width:   1200px;
    --container-padding: 32px;

    /* Transitions */
    --transition-fast:   150ms ease;
    --transition-base:   200ms ease;
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:   500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   2. RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    font-weight: 500; /* Montserrat Medium */
    font-size: var(--text-body);
    color: var(--blanc);
    background: var(--noir);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-pale); text-decoration: none; transition: color var(--transition-base); }
a:hover { color: var(--blanc); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--violet); color: #fff; }

*:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 3px;
    border-radius: 4px;
}

/* =====================================================
   3. TYPOGRAPHIE
   ===================================================== */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 800; /* Montserrat ExtraBold */
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--blanc);
}
h1 { font-size: var(--text-display-md); }
h2 { font-size: var(--text-display-md); }
h3 { font-size: var(--text-h1); font-weight: 700; }
h4 { font-size: var(--text-h2); font-weight: 700; }

.accent { color: var(--violet-pale); }

.script {
    font-family: var(--font-script);
    font-weight: 700;
    color: var(--violet-pale);
    font-size: 1.15em;
}

/* Mot script dans un titre (class sur <span>) */
.script-word {
    font-family: var(--font-script);
    font-weight: 700;
    color: var(--violet-pale);
    font-size: 1.1em;
}

.script-underline {
    position: relative;
    display: inline-block;
}
.script-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--violet);
    transform: skewX(-12deg);
    opacity: 0.7;
    border-radius: 2px;
}

/* Gradient text */
.gradient-text {
    background: var(--gradient-bouton);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eyebrow {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--violet-pale);
}

.lead {
    font-size: var(--text-body-lg);
    color: var(--blanc-80);
    line-height: 1.6;
}

/* =====================================================
   4. CONTAINER & SECTIONS
   ===================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}
@media (max-width: 600px) {
    .container { padding: 0 20px; }
}

.section    { padding: var(--space-9) 0; }
.section-sm { padding: var(--space-7) 0; }
.section-lg { padding: var(--space-10) 0; }

.section-header { max-width: 800px; margin: 0 auto var(--space-7); text-align: center; }
.section-eyebrow {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--violet-pale);
    font-weight: 700;
    margin-bottom: var(--space-3);
    display: block;
}
.section-title {
    font-size: var(--text-display-md);
    line-height: 1.1;
    margin-bottom: var(--space-4);
    color: var(--blanc);
}
.section-subtitle {
    font-size: var(--text-body-lg);
    color: var(--blanc-60);
    max-width: 700px;
    margin: 0 auto;
}

/* Sections — fonds */
.section-dark    { background: var(--noir);   color: var(--blanc); }
.section-noir    { background: var(--noir);   color: var(--blanc); }
.section-beige   { background: var(--noir);   color: var(--blanc); } /* remappé */
.section-violet  { background: var(--violet); color: var(--blanc); }
.section-lavande { background: var(--violet); color: var(--blanc); } /* alias */
.section-blanc   { background: var(--blanc);  color: var(--noir);  }

/* Headings sur section claire → noir */
.section-blanc h1,
.section-blanc h2,
.section-blanc h3,
.section-blanc h4,
.section-blanc h5,
.section-blanc .section-title,
.section-blanc .section-eyebrow { color: var(--noir); }
.section-blanc .section-subtitle { color: rgba(2, 2, 2, 0.65); }
.section-blanc .section-eyebrow  { color: var(--violet); }
.section-blanc a { color: var(--violet); }
.section-blanc a:hover { color: var(--violet-dark); }

/* Headings sur violet */
.section-violet h1,
.section-violet h2,
.section-violet h3,
.section-lavande h1,
.section-lavande h2,
.section-lavande h3 { color: var(--blanc); }

/* =====================================================
   5. HEADER — v5 "capsule flottante" (light theme)
   ===================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    padding: 14px 0;
    transition: padding 0.3s ease;
}
.site-header.scrolled { padding: 8px 0; }

/* La capsule */
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    background: #ffffff;
    border: 1px solid rgba(2,2,2,0.06);
    border-radius: var(--radius-full);
    padding: 8px 8px 8px 24px;
    box-shadow: 0 6px 28px rgba(2,2,2,0.08);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled .header-bar {
    box-shadow: 0 10px 36px rgba(2,2,2,0.12);
}

/* ── Logo ── */
.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
/* Logo image (SVG) — horizontal sur desktop, logomark compact sur mobile */
.site-logo-full { height: 32px; width: auto; display: block; }
.site-logo-mark { display: none; }
@media (max-width: 600px) { .site-logo-full { height: 28px; } }

/* ── Navigation ── */
.header-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0; padding: 0;
}
.header-nav ul li { position: relative; }
.header-nav ul li a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: rgba(2,2,2,0.6);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.header-nav ul li a:hover {
    color: #020202;
    background: rgba(2,2,2,0.05);
}
/* Lien actif : pill violette pleine */
.header-nav ul li a.nav-active {
    background: var(--violet);
    color: #ffffff;
    font-weight: 700;
}

/* Chevron */
.nav-chevron { width: 12px; height: 12px; opacity: 0.5; transition: transform 0.2s ease; }
.has-submenu:hover .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* ── Sous-menu premium ── */
.has-submenu { position: relative; }
/* Pont invisible : couvre le gap nav↔menu (sinon le survol se coupe avant le clic) */
.has-submenu::after {
    content: '';
    position: absolute;
    top: 100%; left: -10px; right: -10px;
    height: 24px;
    z-index: 109;
}
.submenu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.97);
    transform-origin: top center;
    background: #ffffff;
    border: 1px solid rgba(27,23,38,0.07);
    border-radius: 18px;
    box-shadow: 0 26px 60px rgba(27,23,38,0.16), 0 4px 14px rgba(27,23,38,0.06);
    padding: 10px;
    width: 384px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1), visibility 0.2s;
    z-index: 110;
    pointer-events: none;
}
/* Becquet pointant vers l'onglet */
.submenu::before {
    content: '';
    position: absolute;
    top: -7px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px; height: 14px;
    background: #ffffff;
    border-left: 1px solid rgba(27,23,38,0.07);
    border-top: 1px solid rgba(27,23,38,0.07);
    border-radius: 4px 0 0 0;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}
/* Item riche : icône + texte + flèche */
.submenu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 13px;
    text-decoration: none;
    transition: background 0.18s ease;
}
.submenu-item:hover { background: rgba(97,57,143,0.07); }
.submenu-ico {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(97,57,143,0.10);
    color: var(--violet);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.submenu-ico svg { width: 22px; height: 22px; }
.submenu-item:hover .submenu-ico { background: var(--violet); color: #fff; transform: scale(1.05); }
.submenu-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.submenu-txt strong {
    font-family: var(--font-display);
    font-size: 14.5px; font-weight: 700;
    color: #1B1726; letter-spacing: -0.01em;
}
.submenu-txt small { font-size: 12px; color: rgba(27,23,38,0.50); font-weight: 500; }
.submenu-arrow {
    flex-shrink: 0;
    color: rgba(27,23,38,0.22);
    display: flex;
    transition: transform 0.2s ease, color 0.2s ease;
}
.submenu-arrow svg { width: 18px; height: 18px; }
.submenu-item:hover .submenu-arrow { color: var(--violet); transform: translateX(4px); }
.submenu-foot {
    display: block;
    text-align: center;
    margin-top: 6px;
    padding: 13px;
    border-top: 1px solid rgba(27,23,38,0.07);
    font-family: var(--font-display);
    font-size: 13px; font-weight: 700;
    color: var(--violet);
    text-decoration: none;
    border-radius: 0 0 12px 12px;
    transition: background 0.18s ease, gap 0.18s ease;
}
.submenu-foot:hover { background: rgba(97,57,143,0.06); }

/* ── Actions (CTA + hamburger) ── */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-cta { flex-shrink: 0; }
/* Icône RDV (mobile uniquement) */
.header-cta-icon {
    display: none;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border-radius: 11px;
    background: rgba(97,57,143,0.10);
    color: var(--violet);
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}
.header-cta-icon svg { width: 19px; height: 19px; }
.header-cta-icon:hover { background: var(--violet); color: #fff; }

/* Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 9px;
    background: rgba(2,2,2,0.05);
    border: 1px solid rgba(2,2,2,0.08);
    border-radius: 10px;
    cursor: pointer;
    z-index: 120;
    flex-shrink: 0;
}
.mobile-menu-toggle span {
    width: 20px; height: 2px;
    background: #020202;
    border-radius: 2px;
    display: block;
    transition: transform 0.3s ease, opacity 0.2s ease;
}
body.menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive ── */
@media (max-width: 1000px) {
    .header-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .header-actions .header-cta { display: none !important; }  /* bouton texte masqué */
    .header-cta-icon { display: flex; }                        /* icône RDV affichée */
}
@media (max-width: 480px) {
    .header-bar { padding: 8px 10px 8px 18px; }
}

@media (max-width: 900px) {
    .hero { padding: 60px 0 50px; }
    .hero-title { font-size: clamp(36px, 9vw, 56px); }
    .hero-cta-row .btn { width: 100%; justify-content: center; }
    .hero-meta { gap: 6px; }
    .hero-meta .pill { font-size: 11px; padding: 5px 12px; }
}

/* =====================================================
   MOBILE MENU OVERLAY
   ===================================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--noir);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth), visibility var(--transition-smooth);
    overflow-y: auto;
    padding: 100px 32px 40px;
    display: none;
}
@media (max-width: 1000px) { .mobile-menu { display: block; } }
body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
body.menu-open { overflow: hidden; }

/* ══════════════════════════════════════════════
   Menu mobile — v3 premium
   ══════════════════════════════════════════════ */
.mobile-menu { background: #FFFFFF; }
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 140px);
}
.mm-nav { display: flex; flex-direction: column; }

/* ── Entrée échelonnée ── */
.mm-link,
.mm-label,
.mm-service,
.mm-services-all,
.mm-divider {
    opacity: 0;
    transform: translateY(10px);
}
body.menu-open .mm-link,
body.menu-open .mm-label,
body.menu-open .mm-service,
body.menu-open .mm-services-all,
body.menu-open .mm-divider {
    animation: mmIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.045s + 0.06s);
}
@keyframes mmIn { to { opacity: 1; transform: translateY(0); } }

/* ── Liens principaux ── */
.mm-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(27,23,38,0.06);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(22px, 6vw, 26px);
    letter-spacing: -0.025em;
    color: #1B1726;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}
/* indicateur page active — trait violet à gauche */
.mm-link--active {
    color: var(--violet);
}
.mm-link--active::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 22px;
    background: var(--violet);
    border-radius: 999px;
}
.mm-link span { transition: color 0.2s ease; }
.mm-link:hover span,
.mm-link:hover { color: var(--violet); }
.mm-link svg {
    width: 18px; height: 18px;
    color: rgba(27,23,38,0.2);
    transition: transform 0.22s ease, color 0.2s ease;
    flex-shrink: 0;
}
.mm-link:hover svg,
.mm-link--active svg { color: var(--violet); transform: translateX(3px); }

/* ── Label de section ── */
.mm-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--violet);
    margin: var(--space-5) 0 12px;
}
.mm-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(97,57,143,0.15);
    border-radius: 1px;
}

/* ── Cartes services ── */
.mm-services { display: flex; flex-direction: column; gap: 7px; }
.mm-service {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 13px;
    background: rgba(97,57,143,0.04);
    border: 1px solid rgba(97,57,143,0.10);
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.mm-service:hover,
.mm-service--active {
    background: rgba(97,57,143,0.09);
    border-color: rgba(97,57,143,0.22);
    box-shadow: 0 4px 16px rgba(97,57,143,0.08);
}
.mm-service-ico {
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 11px;
    background: #fff;
    color: var(--violet);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(27,23,38,0.07);
    transition: box-shadow 0.18s ease;
}
.mm-service:hover .mm-service-ico { box-shadow: 0 4px 14px rgba(97,57,143,0.16); }
.mm-service-ico svg { width: 20px; height: 20px; }
.mm-service-txt {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.mm-service-txt strong {
    font-family: var(--font-display);
    font-size: 14.5px; font-weight: 700;
    color: #1B1726;
    line-height: 1.2;
}
.mm-service-txt small { font-size: 11.5px; color: rgba(27,23,38,0.45); }
.mm-service-arr {
    flex-shrink: 0;
    color: rgba(97,57,143,0.4);
    transition: color 0.18s ease, transform 0.18s ease;
}
.mm-service-arr svg { width: 16px; height: 16px; display: block; }
.mm-service:hover .mm-service-arr {
    color: var(--violet);
    transform: translateX(2px);
}

/* ── Lien "Voir tous nos services" ── */
.mm-services-all {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 11px 2px 4px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--violet);
    text-decoration: none;
    transition: gap 0.2s ease, opacity 0.2s ease;
}
.mm-services-all span { border-bottom: 1px solid rgba(97,57,143,0.25); padding-bottom: 1px; }
.mm-services-all svg { width: 14px; height: 14px; transition: transform 0.2s ease; flex-shrink: 0; }
.mm-services-all:hover svg { transform: translateX(3px); }
.mm-services-all--active { font-weight: 700; }

/* ── Séparateur discret ── */
.mm-divider {
    height: 1px;
    background: rgba(27,23,38,0.06);
    margin: 6px 0;
    border-radius: 1px;
}

/* ── Footer du menu ── */
.mm-footer {
    margin-top: auto;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(27,23,38,0.06);
}
.mm-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 16px 20px;
    background: linear-gradient(135deg, #6A3F9C 0%, #4A2C72 100%);
    color: #fff;
    border-radius: var(--radius-full);
    font-family: var(--font-display); font-weight: 700; font-size: 15.5px;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(97,57,143,0.32);
    transition: box-shadow 0.22s ease, transform 0.18s ease;
}
.mm-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(97,57,143,0.38); }
.mm-cta svg { width: 18px; height: 18px; }

.mm-contact {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin-top: 12px;
}
.mm-contact a {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 11px 10px;
    background: rgba(27,23,38,0.03);
    border: 1px solid rgba(27,23,38,0.07);
    border-radius: 12px;
    font-family: var(--font-display); font-weight: 600; font-size: 13px;
    color: #1B1726; text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.mm-contact a:hover { background: rgba(97,57,143,0.06); border-color: rgba(97,57,143,0.18); }
.mm-contact a svg { width: 15px; height: 15px; color: var(--violet); flex-shrink: 0; }

.mm-socials {
    display: flex; justify-content: center; gap: 22px;
    margin-top: var(--space-5);
    padding-bottom: var(--space-2);
}
.mm-socials a {
    color: rgba(27,23,38,0.35);
    transition: color 0.2s ease, transform 0.18s ease;
}
.mm-socials a svg { width: 20px; height: 20px; display: block; }
.mm-socials a:hover { color: var(--violet); transform: translateY(-2px); }

/* =====================================================
   6. BOUTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 1.5px solid transparent;
    white-space: nowrap;
}

/* Tailles */
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-md { padding: 12px 24px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 20px 40px; font-size: 17px; }

/* Variantes */
.btn-primary {
    background: var(--gradient-bouton);
    color: var(--blanc);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(97, 57, 143, 0.35);
}
.btn-primary:hover {
    color: var(--blanc);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(97, 57, 143, 0.55);
}

.btn-outline {
    background: transparent;
    color: var(--blanc);
    border-color: var(--blanc-40);
}
.btn-outline:hover {
    background: var(--blanc-10);
    color: var(--blanc);
    border-color: var(--blanc);
    transform: translateY(-2px);
}

/* Outline violet (sur sections claires) */
.btn-outline-violet {
    background: transparent;
    color: var(--violet);
    border-color: var(--violet);
}
.btn-outline-violet:hover {
    background: var(--violet);
    color: var(--blanc);
    transform: translateY(-2px);
}

.btn-ghost {
    background: var(--violet-100);
    color: var(--violet-pale);
    border-color: var(--violet-200);
}
.btn-ghost:hover {
    background: var(--violet-50);
    color: var(--blanc);
}

.btn-accent {
    background: var(--gradient-rouge);
    color: var(--blanc);
    box-shadow: 0 4px 12px rgba(232, 61, 77, 0.30);
}
.btn-accent:hover {
    color: var(--blanc);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 61, 77, 0.50);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
    background: #1da851;
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background: var(--blanc);
    color: var(--noir);
    border-color: transparent;
}
.btn-white:hover {
    background: var(--violet-pale);
    color: var(--noir);
    transform: translateY(-2px);
}

/* =====================================================
   7. PILLS & BADGES
   ===================================================== */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--blanc-80);
    background: var(--blanc-05);
    border: 1px solid var(--blanc-10);
}
.pill-lavande { background: var(--violet-100); color: var(--violet-pale); border-color: var(--violet-200); }
.pill-noir    { background: var(--blanc);      color: var(--noir);        border-color: var(--blanc); }
.pill-vert    { background: rgba(34, 197, 94, 0.15);  color: #4ade80; border-color: rgba(34, 197, 94, 0.3); }
.pill-rouge   { background: rgba(232, 61, 77, 0.15);  color: #f87171; border-color: rgba(232, 61, 77, 0.3); }
.pill-jaune   { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border-color: rgba(245, 158, 11, 0.3); }

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =====================================================
   8. CARDS
   ===================================================== */
.card {
    background: var(--noir-300);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    border: 1px solid var(--blanc-10);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--violet);
}
.card-icon {
    width: 56px;
    height: 56px;
    background: var(--violet-100);
    color: var(--violet-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: var(--space-4);
    border: 1px solid var(--violet-200);
}
.card h3 { margin-bottom: var(--space-3); font-size: var(--text-h2); color: var(--blanc); }
.card p { color: var(--blanc-60); font-size: var(--text-body-sm); margin-bottom: var(--space-4); line-height: 1.6; }
.card-link {
    color: var(--violet-pale);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition-base), color var(--transition-base);
}
.card:hover .card-link { gap: 10px; color: var(--blanc); }

/* Card sur section claire */
.section-blanc .card {
    background: white;
    border-color: rgba(2, 2, 2, 0.1);
}
.section-blanc .card h3 { color: var(--noir); }
.section-blanc .card p  { color: rgba(2, 2, 2, 0.6); }

/* Card pricing */
.card-pricing {
    background: var(--gradient-violet);
    color: var(--blanc);
    border: none;
    box-shadow: var(--shadow-glow);
}
.card-pricing .card-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.75;
    margin-bottom: var(--space-3);
}
.card-pricing .pricing-amount {
    font-family: var(--font-num);
    font-weight: 800;
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.03em;
}
.card-pricing .pricing-amount .unit { font-size: 28px; opacity: 0.8; }
.card-pricing .pricing-label { font-size: 14px; margin-top: var(--space-3); opacity: 0.85; }

/* =====================================================
   9. FORMULAIRES
   ===================================================== */
.form-group { margin-bottom: var(--space-4); }
.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--blanc-80);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.form-group label .required { color: var(--rouge); }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--noir-300);
    border: 1.5px solid var(--blanc-20);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--blanc);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--blanc-40); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 4px var(--violet-100);
}
.form-input.is-invalid {
    border-color: var(--rouge);
    box-shadow: 0 0 0 4px rgba(232, 61, 77, 0.15);
}
.form-select { cursor: pointer; }
.form-textarea { min-height: 120px; resize: vertical; }
.form-error {
    color: var(--rouge);
    font-size: 12px;
    margin-top: 4px;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Radio cards */
.radio-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
@media (max-width: 700px) { .radio-cards { grid-template-columns: 1fr; } }
.radio-cards input[type="radio"] { display: none; }
.radio-cards label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1.5px solid var(--blanc-20);
    border-radius: var(--radius-sm);
    background: var(--noir-300);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--blanc-60);
}
.radio-cards label:hover { border-color: var(--violet-pale); color: var(--blanc); }
.radio-cards input:checked + label {
    border-color: var(--violet);
    background: var(--violet-100);
    color: var(--violet-pale);
}

/* =====================================================
   10. ALERTS
   ===================================================== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-bottom: var(--space-4);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-left: 4px solid;
}
.alert-success { background: rgba(34, 197, 94, 0.12);  color: #4ade80; border-color: var(--vert); }
.alert-error   { background: rgba(232, 61, 77, 0.12);  color: #f87171; border-color: var(--rouge); }
.alert-warning { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border-color: var(--jaune); }
.alert-info    { background: var(--violet-100); color: var(--violet-pale); border-color: var(--violet); }

/* =====================================================
   11. HERO (commun — spécialisé dans home.css)
   ===================================================== */
.hero {
    padding: 100px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(97, 57, 143, 0.20) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: heroFloat 20s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 61, 77, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: heroFloat 25s ease-in-out infinite reverse;
}
@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 850px; margin: 0 auto; }
.hero-eyebrow {
    display: inline-block;
    background: var(--violet-100);
    color: var(--violet-pale);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: var(--space-5);
    border: 1px solid var(--violet-200);
}
.hero-title {
    font-size: var(--text-display-xl);
    line-height: 1.05;
    margin-bottom: var(--space-5);
    color: var(--blanc);
}
.hero-title .script { font-size: 1.1em; display: block; margin-top: 8px; }
.hero-tagline {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--blanc-60);
    margin-bottom: var(--space-7);
    line-height: 1.6;
}
.hero-cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}
.hero-meta {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   12. SERVICES GRID (accueil)
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
@media (max-width: 800px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
    background: var(--noir-300);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    border: 1px solid var(--blanc-10);
    color: var(--blanc);
    display: block;
    text-decoration: none;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--violet);
    color: var(--blanc);
}
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--violet-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: var(--space-4);
    transition: transform var(--transition-smooth);
    border: 1px solid var(--violet-200);
    color: var(--violet-pale);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }
.service-card h3 { font-size: var(--text-h2); margin-bottom: var(--space-3); color: var(--blanc); }
.service-card p { color: var(--blanc-60); font-size: 14px; margin-bottom: var(--space-4); line-height: 1.6; }
.service-link {
    color: var(--violet-pale);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
}
.service-card:hover .service-link { color: var(--blanc); }

/* =====================================================
   13. FOOTER — v4 light theme
   ===================================================== */
.site-footer {
    background: #F0EEEE;
    color: rgba(2,2,2,0.65);
    padding: 0 0 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(2,2,2,0.06);
}

/* Orbs d'ambiance */
.footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
}
.footer-orb-1 { top: 0; right: -60px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(97,57,143,0.12), transparent 70%); }
.footer-orb-2 { bottom: 60px; left: -80px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(97,57,143,0.07), transparent 70%); }

/* Watermark */
.footer-watermark {
    position: absolute;
    bottom: 30px;
    right: -20px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(120px, 16vw, 260px);
    line-height: 0.85;
    color: rgba(2,2,2,0.03);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
    z-index: 0;
}

/* ---- Bande CTA supérieure ---- */
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5) var(--space-7);
    padding: clamp(var(--space-7), 5vw, var(--space-9)) 0;
    border-bottom: 1px solid rgba(2,2,2,0.08);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

/* Phrase animée « Pour + [mot qui défile] » — sur une ligne */
.footer-pitch {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 0.3em;
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(27px, 4vw, 48px);
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #1B1726;
    min-width: 0;
}
.footer-pitch .fp-pre { color: #1B1726; }
.footer-pitch .fp-plus {
    color: var(--violet);
    font-weight: 900;
    transform: translateY(0.02em);
}
.footer-pitch .fp-rotate {
    font-weight: 900;
    letter-spacing: -0.035em;
    background: linear-gradient(96deg, #5B2E96 0%, #7E45BE 52%, #A867DC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--violet); /* fallback */
    white-space: nowrap;
}
.footer-pitch .fp-cursor {
    margin-left: 0.04em;
    color: var(--violet);
    font-weight: 300;
    animation: footerCaret 0.85s step-end infinite;
}
@keyframes footerCaret {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

/* CTA "Contactez-nous" — clôt la phrase */
.footer-top-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.footer-cta-btn {
    box-shadow: 0 12px 30px rgba(97,57,143,0.30);
    font-size: 16px;
}

/* Tablette : phrase + CTA centrés, sentiment de continuité */
@media (max-width: 860px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-5);
    }
    .footer-pitch { justify-content: center; font-size: clamp(26px, 6.4vw, 40px); }
    .footer-top-right { width: 100%; justify-content: center; }
    .footer-cta-btn { width: 100%; max-width: 340px; justify-content: center; }
}
@media (max-width: 380px) {
    .footer-pitch { font-size: 24px; }
}

/* ---- Grille colonnes ---- */
.footer-inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr 1fr;
    gap: var(--space-7);
    padding: var(--space-9) 0;
    border-bottom: 1px solid rgba(2,2,2,0.07);
    position: relative;
    z-index: 1;
}
@media (max-width: 1100px) { .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (max-width: 700px)  { .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-5); padding: var(--space-7) 0; } }
@media (max-width: 480px)  { .footer-inner { grid-template-columns: 1fr; } }

/* ---- Colonne brand ---- */
.footer-brand { display: flex; flex-direction: column; gap: var(--space-5); }

.footer-logo {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}
.footer-logo-img { height: 42px; width: auto; display: block; }
.footer-tagline {
    font-size: 13.5px;
    color: rgba(2,2,2,0.55);
    line-height: 1.65;
    max-width: 270px;
    margin: 0;
}

/* ---- Icônes réseaux — nues, sans fond ni bordure ---- */
.footer-social {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(2,2,2,0.45);
    text-decoration: none;
    transition: all 0.22s ease;
    flex-shrink: 0;
    padding: 0;
    background: none;
    border: none;
}
.footer-social-btn svg { width: 20px; height: 20px; }
.footer-social-btn:hover { transform: translateY(-3px); }

/* Couleurs hover par réseau */
.footer-social-btn--ig:hover { color: #e1306c; }
.footer-social-btn--fb:hover { color: #1877f2; }
.footer-social-btn--li:hover { color: #0a66c2; }
.footer-social-btn--tt:hover { color: #020202; }
.footer-social-btn--wa:hover { color: #25d366; }

/* ---- Titres colonnes ---- */
.site-footer h5 {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #020202;
    margin: 0 0 var(--space-4);
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(97,57,143,0.45);
    display: inline-block;
    width: 100%;
}

/* ---- Liens navigation ---- */
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.site-footer ul li { padding: 5px 0; }
.site-footer a {
    color: rgba(2,2,2,0.6);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color var(--transition-base), padding-left var(--transition-base);
    display: inline-block;
}
.site-footer a:hover { color: var(--violet); padding-left: 5px; }

/* ---- Contact avec icônes ---- */
.footer-contact-list { gap: 0 !important; }
.footer-contact-list li {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0 !important;
}
.footer-contact-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--violet);
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-contact-icon svg {
    width: 16px;
    height: 16px;
}
.footer-contact-list span,
.footer-contact-list a {
    font-size: 13px;
    color: rgba(2,2,2,0.6);
    line-height: 1.55;
    padding-left: 0 !important;
}
.footer-contact-list a:hover { color: var(--violet); padding-left: 0 !important; }

/* ---- Badge disponibilité (dépréciée) ---- */
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-6);
    padding: 8px 16px;
    background: rgba(22,163,74,0.1);
    border: 1px solid rgba(22,163,74,0.25);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    letter-spacing: 0.3px;
}
.footer-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.2);
    animation: pulseDot 2s infinite;
    flex-shrink: 0;
}

/* ---- Barre du bas ---- */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
    padding: var(--space-5) 0 var(--space-6);
    position: relative;
    z-index: 1;
}
.footer-bottom-copy {
    font-size: 12px;
    color: rgba(2,2,2,0.4);
    margin: 0;
}
.footer-bottom-links {
    display: flex;
    gap: var(--space-5);
}
.footer-bottom-links a {
    font-size: 12px;
    color: rgba(2,2,2,0.4);
    text-decoration: none;
    padding-left: 0 !important;
    transition: color var(--transition-base);
}
.footer-bottom-links a:hover { color: rgba(2,2,2,0.75); padding-left: 0 !important; }
.footer-bottom-made {
    font-size: 12px;
    color: rgba(2,2,2,0.3);
    margin: 0;
    font-family: var(--font-display);
    letter-spacing: 0.3px;
}
@media (max-width: 700px) {
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
    .footer-bottom-made { display: none; }
}

/* Compatibilité ancienne classe */
.social-links { display: flex; flex-direction: column; gap: 4px; }

/* =====================================================
   14. WHATSAPP FLOTTANT
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    z-index: 99;
    transition: all var(--transition-base);
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(-8deg); color: white; }
.wa-icon { font-size: 28px; }
.wa-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.4;
    animation: pulseWA 2s infinite;
    z-index: -1;
}
@keyframes pulseWA {
    0%   { transform: scale(1);   opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* =====================================================
   15. BANNER COOKIES
   ===================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 560px;
    margin: 0 auto;
    background: var(--noir-300);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-5);
    z-index: 1000;
    display: none;
    border: 1px solid var(--blanc-10);
}
.cookie-banner.visible { display: block; animation: slideUp 0.4s ease-out; }
@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}
.cookie-banner h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--blanc);
}
.cookie-banner p {
    font-size: 13px;
    color: var(--blanc-60);
    margin-bottom: var(--space-4);
    line-height: 1.5;
}
.cookie-banner .cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .btn { flex: 1; font-size: 13px; padding: 10px 16px; }

/* =====================================================
   16. LOADING SCREEN
   ===================================================== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--noir);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loading-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 32px;
    letter-spacing: -0.03em;
    color: var(--blanc);
    animation: loadingPulse 1.5s ease-in-out infinite;
}
.loading-logo span { color: var(--violet-pale); }
@keyframes loadingPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.97); }
    50%       { opacity: 1;   transform: scale(1); }
}

/* =====================================================
   17. ANIMATIONS REVEAL (Intersection Observer)
   ===================================================== */
html.js .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
html.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =====================================================
   18. UTILS
   ===================================================== */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Accessibilité : visible uniquement pour les lecteurs d'écran */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center   { align-items: center; }
.justify-center { justify-content: center; }
.justify-between{ justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.mt-3 { margin-top: var(--space-3); }
.mt-5 { margin-top: var(--space-5); }
.mt-7 { margin-top: var(--space-7); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-7 { margin-bottom: var(--space-7); }

/* Glow violet (signature) */
.glow-violet        { box-shadow: var(--shadow-glow); }
.glow-violet-strong { box-shadow: var(--shadow-glow-strong); }

/* Curseur custom (desktop uniquement) */
@media (hover: hover) and (pointer: fine) {
    body.custom-cursor-active { cursor: none; }
    .custom-cursor {
        position: fixed;
        width: 10px;
        height: 10px;
        background: var(--violet);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transition: width 0.2s, height 0.2s, background 0.2s;
        transform: translate(-50%, -50%);
        mix-blend-mode: screen;
    }
    .custom-cursor.hover {
        width: 28px;
        height: 28px;
        background: var(--violet-pale);
    }
}

/* Print */
@media print {
    .site-header, .site-footer, .whatsapp-float, .cookie-banner { display: none !important; }
    body { background: white; color: black; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =====================================================
   PROMOS — Bannière top-bar + Popup
   ===================================================== */

/* Variable utilisée pour décaler le header quand la bannière est visible */
:root { --promo-banner-h: 0px; }

/* ---- Bannière ---- */
#site-promo-banner {
    position: relative;
    z-index: 200;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 48px 8px 16px;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity .35s ease, transform .35s ease;
}
#site-promo-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.promo-banner-inner {
    flex: 1;
    text-align: center;
}
.promo-banner-text {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    color: inherit;
}
.promo-banner-text:hover { text-decoration: underline; }

.promo-banner-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,.15);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    flex-shrink: 0;
    transition: background .2s;
}
.promo-banner-close:hover { background: rgba(0,0,0,.3); }
.promo-banner-close svg   { width: 12px; height: 12px; }

/* Décaler le header sticky quand la bannière est affichée */
.site-header { top: var(--promo-banner-h); }

/* ---- Popup ---- */
#site-promo-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(2, 2, 2, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
    backdrop-filter: blur(4px);
}
#site-promo-popup-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.promo-popup-card {
    position: relative;
    background: var(--noir-300);
    border-radius: var(--radius-xl);
    overflow: hidden;
    max-width: 540px;
    width: 100%;
    box-shadow: 0 32px 80px rgba(0,0,0,.7);
    transform: scale(.92) translateY(16px);
    transition: transform .4s cubic-bezier(0.34, 1.3, 0.64, 1);
}
#site-promo-popup-overlay.is-visible .promo-popup-card {
    transform: scale(1) translateY(0);
}

.promo-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    background: rgba(2,2,2,.55);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background .2s;
}
.promo-popup-close:hover { background: rgba(2,2,2,.85); }
.promo-popup-close svg   { width: 12px; height: 12px; }

.promo-popup-img-link { display: block; }
.promo-popup-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
}

.promo-popup-footer {
    padding: 16px 20px;
    text-align: center;
    background: var(--noir-200);
}

/* =====================================================
   UNIVERSAL PORTFOLIO CARD — image haut, infos bas
   Partagé sur home, social, branding, digital
   ===================================================== */
.pf-uni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}
@media (max-width: 960px) { .pf-uni-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px)  { .pf-uni-grid { grid-template-columns: 1fr; } }

.pf-uni-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    color: #F0EEEE;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.pf-uni-card:hover {
    transform: translateY(-6px);
    border-color: rgba(97,57,143,0.45);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    color: #F0EEEE;
}

/* Visuel */
.pf-uni-card-visual {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0a2e 0%, #080210 100%);
    flex-shrink: 0;
}
.pf-uni-card-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.pf-uni-card:hover .pf-uni-card-visual img { transform: scale(1.05); }
.pf-uni-card-type {
    position: absolute;
    top: 12px; left: 12px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #fff;
    background: rgba(97,57,143,0.72);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* Corps */
.pf-uni-card-body {
    padding: var(--space-4) var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1;
}
.pf-uni-card-client {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    margin: 0 0 4px;
    line-height: 1.3;
}
.pf-uni-card-client span {
    font-weight: 400;
    color: rgba(255,255,255,0.4);
}
.pf-uni-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #F0EEEE;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0;
}
.pf-uni-card-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.48);
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}
.pf-uni-card-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: auto;
}
.pf-uni-card-cta {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    transition: color 0.2s ease;
}
.pf-uni-card:hover .pf-uni-card-cta { color: var(--violet-300); }

/* =====================================================
   PORTFOLIO CARD EXTRAS — partial partagé
   Affiché sur toutes les pages où aparaît un portfolio card.
   Mode "card"    : fond sombre, texte clair (services-digital)
   Mode "overlay" : intégré dans la carte fond-image (social, branding, home)
   ===================================================== */

/* ── KPIs ── */
.pf-extras-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pf-extras-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(97,57,143,0.18);
    border: 1px solid rgba(97,57,143,0.28);
    border-radius: 8px;
    padding: 6px 12px;
    min-width: 60px;
    text-align: center;
}
.pf-extras-stat strong {
    font-family: var(--font-num);
    font-size: 16px;
    font-weight: 700;
    color: var(--violet-300);
    line-height: 1.1;
}
.pf-extras-stat span {
    font-family: var(--font-display);
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    text-align: center;
}
/* Overlay : stats sur fond blanc semi-transparent */
.pf-extras-stats--overlay .pf-extras-stat {
    background: rgba(0,0,0,0.55);
    border-color: rgba(255,255,255,0.15);
}

/* ── Témoignage ── */
.pf-extras-testimonial {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 10px;
}
.pf-extras-quote {
    font-family: var(--font-display);
    font-size: 13px;
    font-style: italic;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin: 0 0 6px;
}
.pf-extras-author {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    margin: 0;
}
.pf-extras-author span {
    font-weight: 400;
    margin-left: 4px;
    color: rgba(255,255,255,0.3);
}
/* Overlay : texte légèrement plus lumineux */
.pf-extras-testimonial--overlay .pf-extras-quote  { color: rgba(255,255,255,0.82); }
.pf-extras-testimonial--overlay .pf-extras-author { color: rgba(255,255,255,0.6);  }

/* ── Lien externe ── */
.pf-extras-link {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--violet-300);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 8px;
}
.pf-extras-link--overlay { color: rgba(255,255,255,0.75); }

/* =====================================================
   HARMONISATION ESPACEMENT SECTIONS — GLOBAL
   Règle : desktop = 112px, mobile ≤768px = 64px.
   Le hero conserve ses propres valeurs (clearance header fixe).
   ===================================================== */

/* ── Mobile : réduction universelle ── */
@media (max-width: 768px) {

    /* Sections de contenu standard */
    .home-about, .home-services, .home-why,
    .home-portfolio, .home-stats, .home-reviews,
    .home-clients, .home-clients-dark, .home-blog,
    .about-essence, .about-values, .about-results,
    .about-team, .about-difference,
    .about-quote, .about-cta,
    .srvd-solutions, .srvd-portfolio, .srvd-edge,
    .srvd-pricing, .srvd-backend,
    .srvs-work, .srvs-pillars, .srvs-platforms,
    .srvs-pricing, .srvs-cases, .srvs-faq,
    .srvb-channels, .srvb-method, .srvb-invest, .srvb-faq,
    .contact-channels, .contact-main, .contact-faq, .contact-location,
    .blog-articles,
    .ptfio-grid-section,
    .ptshow-content, .ptshow-kpis, .ptshow-gallery,
    .ptshow-testimonial, .ptshow-cta, .ptshow-related,
    .rdv-main, .rdv-secondary,
    .srv-hub-expertises, .srv-hub-clients, .srv-hub-process,
    .srv-hub-faq, .srv-hub-cta {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    /* Sections CTA finales */
    .home-cta-final, .blog-cta-final,
    .ptfio-cta-final, .ptshow-cta { padding-top: 72px; padding-bottom: 72px; }

    /* Process / FAQ internes — espacements légèrement réduits */
    .home-process { padding-top: 64px; padding-bottom: 48px; }
}

/* =====================================================
   PORTFOLIO — blocs alternés "DMA" (PARTAGÉ)
   Partial: partials/portfolio-dma.php · conteneur .dma-list
   Affiché sur : accueil, réalisations, services digital/social/branding
   ===================================================== */
.dma-list {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 4vw, 48px);
    margin-top: var(--space-7);
}

/* ── Bloc projet ── */
.dma-item {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: #FFFFFF;
    border: 1px solid rgba(27,23,38,0.08);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 65px -38px rgba(27,23,38,0.30);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.dma-item:hover {
    box-shadow: 0 44px 90px -40px rgba(74,44,114,0.40);
}
.dma-item:nth-child(even) .dma-visual { order: 2; } /* alternance gauche/droite */

/* ── Visuel (mockup plein) ── */
.dma-visual {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    background: #F5F4F8; /* fond clair (plus de dégradé sombre) */
}
/* image en absolu inset:0 → remplit TOUJOURS la cellule (évite le bug height:100% en grid) */
.dma-visual img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2,0.7,0.2,1);
}
.dma-item:hover .dma-visual img { transform: scale(1.04); }
.dma-visual-empty {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 14px; font-weight: 700;
    color: #8B8794; letter-spacing: 1.5px; text-transform: uppercase;
}

/* ── Contenu ── */
.dma-content {
    display: flex;
    flex-direction: column;
    padding: clamp(30px, 4vw, 56px);
}
.dma-meta {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-display); font-size: 12px; font-weight: 700;
    letter-spacing: 1.5px; color: #8B8794;
    margin-bottom: clamp(22px, 4vw, 44px);
}
.dma-eyebrow {
    font-family: var(--font-display); font-size: 11.5px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; color: var(--violet);
    margin: 0 0 14px;
}
.dma-title {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(28px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -0.025em;
    color: #1B1726; margin: 0 0 22px;
}
.dma-divider { height: 1px; background: rgba(27,23,38,0.10); margin: 0 0 22px; }
.dma-desc {
    font-size: 15.5px; line-height: 1.65; color: #56525F;
    margin: 0 0 24px; max-width: 50ch;
}
.dma-kpis { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0 0 24px; }
.dma-kpi strong {
    display: block; font-family: var(--font-display); font-weight: 800;
    font-size: 24px; line-height: 1; letter-spacing: -0.03em; color: #1B1726;
}
.dma-kpi span { display: block; font-size: 12px; color: #8B8794; margin-top: 5px; font-weight: 600; }
.dma-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: clamp(24px, 4vw, 36px); }
.dma-tag {
    font-family: var(--font-display); font-size: 11.5px; font-weight: 700;
    letter-spacing: 0.5px; text-transform: uppercase; color: #56525F;
    border: 1px solid rgba(27,23,38,0.16);
    padding: 8px 16px; border-radius: 999px;
}
.dma-actions { margin-top: auto; }
.dma-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px;
    background: #1B1726; color: #FFFFFF;
    font-family: var(--font-display); font-weight: 700; font-size: 15px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.dma-btn:hover {
    background: var(--violet);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(97,57,143,0.55);
}
.dma-btn svg { width: 16px; height: 16px; }

/* ── Responsive ── */
@media (max-width: 860px) {
    .dma-item { grid-template-columns: 1fr; border-radius: 22px; }
    .dma-item:nth-child(even) .dma-visual { order: 0; } /* mockup toujours en haut */
    .dma-visual { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 460px) {
    .dma-visual { aspect-ratio: 4 / 3; }
}
