/* ============================================================
   ADOCRAT × CODE18 — Site unifié
   Couleurs du logo : orange #FF8C1A · rouge #E81E2C · noir #0a0a0a
   ============================================================ */

:root {
    /* Site dark by design — signale aux navigateurs (scrollbars, formulaires, etc.) */
    color-scheme: dark;
    --orange: #FF8C1A;
    --orange-light: #FFB366;
    --orange-deep: #E07410;
    /* Rouge plus vif et pur (style logo) — moins de bleu, moins rosé */
    --red: #E81E2C;
    --red-light: #FF3845;
    --red-deep: #B5121E;
    --black: #0a0a0a;
    --black-2: #111114;
    --black-3: #16161b;
    --white: #ffffff;
    --gray: #8a8a96;
    --gray-light: #c7c7d1;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --gradient-brand: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
    --shadow-glow: 0 0 80px rgba(255, 140, 26, 0.25), 0 0 120px rgba(232, 30, 44, 0.18);
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .display { font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: padding .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.navbar.scrolled {
    padding: 12px 48px;
    border-bottom-color: var(--border);
    background: rgba(10, 10, 10, 0.85);
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-light);
    background: rgba(255, 255, 255, 0.04);
    transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
    white-space: nowrap;
}
.nav-phone:hover {
    color: var(--white);
    border-color: var(--orange);
    background: rgba(217, 119, 87, 0.12);
    transform: translateY(-1px);
}
.nav-phone svg {
    color: var(--orange);
    flex-shrink: 0;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.18rem;
    letter-spacing: -0.01em;
}
.nav-brand img { width: 36px; height: 36px; border-radius: 50%; }
.nav-brand em {
    font-style: normal;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    margin: 0 2px;
}
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--gray-light);
    position: relative;
    padding: 6px 0;
    transition: color .25s var(--ease);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-burger {
    display: none;
    background: none;
    border: 0;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
}
.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* ============================================================
   HERO — SPLIT SCREEN
   ============================================================ */
.defs-svg { position: absolute; width: 0; height: 0; pointer-events: none; }

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    /* Fond : noir + dégradé horizontal orange → rouge vif (la teinte du logo).
       Le rouge est plus saturé et avec une opacité plus forte sur la droite pour mieux ressortir. */
    background:
        linear-gradient(to right,
            rgba(255, 140, 26, 0.14) 0%,
            rgba(255, 140, 26, 0.10) 28%,
            rgba(220, 90,  55,  0.09) 50%,
            rgba(232, 30,  44,  0.16) 72%,
            rgba(232, 30,  44,  0.22) 100%
        ),
        var(--black);
}

/* Background grid */
.bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* Galaxy canvas — particules animées comme la voie lactée */
.galaxy {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: block;
    /* Le canvas est rendu en sous-résolution (dpr=0.7) ; on le ré-échantillonne en CSS
       pour conserver le rendu net. Le flou ajouté est cohérent avec un look « lacté ». */
    image-rendering: auto;
    will-change: transform;
}

/* Split halves — chacune occupe toute la largeur, le clipPath SVG dessine la courbe en S */
.split {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    z-index: 2;
    pointer-events: none; /* on n'a plus de clip-path ; les deux moitiés se chevauchent — laisse passer les clics */
}
.split-left { padding: 0 50vw 0 5vw; }
.split-right { padding: 0 5vw 0 50vw; justify-content: flex-end; }
/* Plus de teinte par moitié — le rendu vient uniquement des particules.
   Un voile uniforme très léger sur tout le hero pour éviter les "vallées" sombres. */
.split::before { content: none; }

.split-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    transition: transform .6s var(--ease-out), opacity .4s var(--ease);
}
.split-right .split-content { text-align: right; }

.split-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    margin-bottom: 22px;
    color: var(--white);
}
.split-left .split-eyebrow { color: var(--orange-light); border-color: rgba(255, 140, 26, 0.35); }
.split-right .split-eyebrow { color: var(--red-light); border-color: rgba(232, 30, 44, 0.35); }

.split-title {
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 18px;
    overflow-wrap: break-word;
}
.split-left .split-title { color: var(--white); }
.split-right .split-title { color: var(--white); }
.split-accent { color: var(--orange); }
.split-right .split-accent { color: var(--red); }

.split-tagline {
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    color: var(--gray-light);
    margin-bottom: 28px;
    font-weight: 300;
    line-height: 1.4;
}

.split-points {
    list-style: none;
    margin-bottom: 36px;
}
.split-points li {
    padding: 10px 0;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--gray-light);
    font-weight: 400;
    position: relative;
}
.split-points li:last-child { border-bottom: 1px solid var(--border); }

.split-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 24px;
    border-radius: 999px;
    transition: gap .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
    color: var(--white);
    pointer-events: auto; /* override du parent .split (qui est en pointer-events:none) */
}
.split-left .split-cta { background: var(--orange); }
.split-left .split-cta:hover { background: var(--orange-deep); gap: 18px; }
.split-right .split-cta { background: var(--red); }
.split-right .split-cta:hover { background: var(--red-deep); gap: 18px; }


/* Hero center logo */
.hero-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    pointer-events: none;
    /* Centre le logo et la baseline horizontalement, peu importe leur largeur respective */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-logo-wrap {
    position: relative;
    width: clamp(220px, 26vw, 360px);
    height: clamp(220px, 26vw, 360px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-logo {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
.hero-logo-glow {
    position: absolute;
    inset: -20%;
    background: conic-gradient(from 0deg, var(--orange), var(--red), var(--orange));
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    animation: pulse-glow 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none; /* le glow ne doit pas intercepter les clics sur le logo */
}

/* Zones cliquables sur le logo : moitié haut-gauche (Adocrat) + moitié bas-droite (Code18) */
.logo-zone {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 4; /* au-dessus de l'image (z-index 2) */
    cursor: pointer;
    pointer-events: auto; /* override du parent .hero-center qui est en pointer-events:none */
    transition: background .25s var(--ease);
}
.logo-zone-orange {
    /* Triangle haut-gauche, divisé sur la diagonale haut-droite → bas-gauche */
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
.logo-zone-red {
    /* Triangle bas-droite */
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
/* Pas de feedback visuel au hover — seulement le curseur change */
@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: scale(0.95); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.hero-baseline {
    margin-top: 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.95rem, 1.3vw, 1.15rem);
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.5;
    /* Ombre sombre pour ressortir face au glow coloré du logo derrière */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 12px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 6; /* au-dessus du glow (z-index 1 dans hero-logo-wrap) */
}
.hero-baseline span {
    color: var(--white);
    font-weight: 700;
    /* Ombre renforcée pour contraster avec le halo coloré du logo */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 0, 0, 0.45);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: bounce 2s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--white); }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   BRAND SECTIONS
   ============================================================ */
.brand {
    position: relative;
    padding: 140px 48px;
    overflow: hidden;
}
.brand-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.brand-adocrat {
    background: var(--black-2);
    border-top: 1px solid var(--border);
}
.brand-code18 {
    background: var(--black);
    border-top: 1px solid var(--border);
}

.brand-head {
    max-width: 720px;
    margin-bottom: 80px;
}
.brand-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}
.tag-orange { background: rgba(255, 140, 26, 0.12); color: var(--orange-light); border: 1px solid rgba(255, 140, 26, 0.3); }
.tag-red { background: rgba(232, 30, 44, 0.12); color: var(--red-light); border: 1px solid rgba(232, 30, 44, 0.3); }
.tag-gradient {
    background: linear-gradient(135deg, rgba(255, 140, 26, 0.15), rgba(232, 30, 44, 0.15));
    color: var(--white);
    border: 1px solid var(--border-strong);
}

.brand-head h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 24px;
    font-weight: 700;
}
.brand-lead {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--gray-light);
    line-height: 1.65;
    font-weight: 300;
}
.brand-lead strong {
    color: var(--white);
    font-weight: 600;
}

/* Cards (Adocrat) */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}
.card {
    position: relative;
    padding: 40px 32px;
    background: var(--black-3);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 140, 26, 0.3);
    background: #1a1a20;
}
.card:hover::before { transform: scaleX(1); }
.card-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 16px;
    letter-spacing: 0.15em;
}
.card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--white);
}
.card p {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.quote {
    margin-top: 40px;
    padding: 48px 56px;
    border-left: 4px solid var(--orange);
    background: linear-gradient(90deg, rgba(255, 140, 26, 0.06), transparent);
    border-radius: 0 20px 20px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    color: var(--white);
}
.quote cite {
    display: block;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--orange-light);
    font-style: normal;
    font-weight: 500;
}

/* Services grid (Code18) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 80px;
}
.service {
    position: relative;
    padding: 22px 24px;
    background: var(--black-3);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
    cursor: default;
    overflow: hidden;
}
.service::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(232, 30, 44, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity .3s var(--ease);
    pointer-events: none;
}
.service:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 30, 44, 0.4);
    background: #1a1a20;
}
.service:hover::after { opacity: 1; }
.service span {
    position: relative;
    z-index: 1;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stat {
    text-align: center;
}
.stat strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}
.stat span {
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    position: relative;
    padding: 140px 48px;
    background: var(--black-2);
    border-top: 1px solid var(--border);
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: conic-gradient(from 180deg at 50% 50%, rgba(255, 140, 26, 0.1), rgba(232, 30, 44, 0.1), rgba(255, 140, 26, 0.1));
    filter: blur(120px);
    pointer-events: none;
}
.contact-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}
.contact-head {
    text-align: center;
    margin-bottom: 64px;
}
.contact-head h2 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    margin-bottom: 16px;
    font-weight: 700;
}
.contact-head p {
    color: var(--gray-light);
    font-size: 1.1rem;
    font-weight: 300;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.contact-card {
    position: relative;
    padding: 40px 36px 36px;
    background: var(--black-3);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: transform .4s var(--ease), border-color .4s var(--ease);
    overflow: hidden;
    display: block;
}
.contact-card-bar {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
}
.adocrat-card .contact-card-bar { background: linear-gradient(90deg, var(--orange-light), var(--orange-deep)); }
.code18-card .contact-card-bar { background: linear-gradient(90deg, var(--red-light), var(--red-deep)); }

.contact-card:hover { transform: translateY(-6px); }
.adocrat-card:hover { border-color: rgba(255, 140, 26, 0.45); }
.code18-card:hover { border-color: rgba(232, 30, 44, 0.45); }

.contact-card-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
    color: var(--gray);
}
.contact-card h3 {
    font-size: 2rem;
    margin-bottom: 24px;
    font-weight: 700;
}
.adocrat-card h3 { color: var(--orange); }
.code18-card h3 { color: var(--red-light); }

.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--gray-light);
    font-size: 0.95rem;
    border-top: 1px solid var(--border);
}
.contact-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-row svg {
    flex-shrink: 0;
    color: var(--white);
    opacity: 0.7;
}

/* ============================================================
   CARTE CLIQUABLE (card -> autre page)
   ============================================================ */
a.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}
.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--orange-light);
    transition: gap .25s var(--ease), color .25s var(--ease);
}
a.card-link:hover .card-cta { gap: 12px; color: var(--white); }

/* ============================================================
   PAGE SERVICES TECHNIQUES
   ============================================================ */
body.page-services { background: var(--black); }

.services-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.services-head {
    padding: 40px 48px 60px;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 140, 26, 0.18), transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 30%, rgba(232, 30, 44, 0.10), transparent 70%);
}
.services-head-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.services-head .brand-tag { margin-bottom: 22px; }
.services-head h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 22px;
    letter-spacing: -0.02em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.services-lead {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.08rem;
    color: var(--gray-light);
    line-height: 1.7;
}
.services-lead strong { color: var(--white); font-weight: 600; }

.services-grid-wrap {
    padding: 32px 48px;
}
.services-grid-wrap-alt {
    background:
        linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.03) 30%, rgba(99, 102, 241, 0.05) 50%, rgba(99, 102, 241, 0.03) 70%, transparent);
}
.services-section-head {
    max-width: 1280px;
    margin: 0 auto 32px;
    text-align: center;
}
.services-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}
.services-section-tag svg { flex-shrink: 0; }
.services-section-tag .brand-logo-img {
    flex-shrink: 0;
    object-fit: contain;
    background: #fff;
    padding: 3px;
    border-radius: 6px;
    /* Fond blanc léger pour faire ressortir les logos couleur */
}

/* Disclaimer marques tierces — petit texte gris en bas de page */
.trademark-disclaimer {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 48px 40px;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--gray);
    text-align: center;
    font-style: italic;
}
@media (max-width: 700px) {
    .trademark-disclaimer { padding: 16px 22px 30px; font-size: 0.74rem; }
}
.services-section-tag.tag-claude {
    color: #c8b6ff;
    border-color: rgba(167, 139, 250, 0.4);
    background: rgba(167, 139, 250, 0.08);
}
.services-section-tag.tag-power {
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.4);
    background: rgba(96, 165, 250, 0.08);
}
.services-section-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.services-section-head p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--gray-light);
    line-height: 1.65;
    font-size: 0.98rem;
}

.services-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.svc-card-wide { grid-column: span 3; }

/* Variante Power Automate : accent bleu Microsoft */
.svc-card-power {
    background:
        linear-gradient(180deg, rgba(96, 165, 250, 0.04), rgba(96, 165, 250, 0) 60%),
        rgba(255, 255, 255, 0.025);
}
.svc-card-power::before { background: linear-gradient(90deg, #60a5fa, #a78bfa); }
.svc-card-power:hover {
    border-color: rgba(96, 165, 250, 0.4);
    background:
        linear-gradient(180deg, rgba(96, 165, 250, 0.08), rgba(96, 165, 250, 0) 60%),
        rgba(255, 255, 255, 0.04);
}
.svc-icon-power {
    background: rgba(96, 165, 250, 0.10) !important;
    color: #93c5fd !important;
    border-color: rgba(96, 165, 250, 0.22) !important;
}

.svc-card {
    position: relative;
    padding: 30px 28px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 140, 26, 0.04), rgba(255, 140, 26, 0) 60%),
        rgba(255, 255, 255, 0.025);
    transition: border-color .35s var(--ease), transform .35s var(--ease), background .35s var(--ease);
    overflow: hidden;
}
.svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity .35s var(--ease);
}
.svc-card:hover {
    border-color: rgba(255, 140, 26, 0.4);
    transform: translateY(-4px);
    background:
        linear-gradient(180deg, rgba(255, 140, 26, 0.08), rgba(255, 140, 26, 0) 60%),
        rgba(255, 255, 255, 0.04);
}
.svc-card:hover::before { opacity: 1; }

.svc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: rgba(255, 140, 26, 0.10);
    color: var(--orange-light);
    border: 1px solid rgba(255, 140, 26, 0.22);
}
.svc-icon svg { width: 26px; height: 26px; }

.svc-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.005em;
    line-height: 1.3;
}
.svc-card h3 em {
    font-style: normal;
    color: var(--orange-light);
    font-weight: 400;
}
.svc-card p {
    color: var(--gray-light);
    line-height: 1.65;
    font-size: 0.95rem;
}
.svc-card p strong { color: var(--white); font-weight: 600; }

/* CTA bas de page */
.services-cta {
    padding: 80px 48px 40px;
}
.services-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 56px 32px;
    border-radius: 24px;
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(ellipse at center, rgba(255, 140, 26, 0.12), transparent 70%),
        rgba(255, 255, 255, 0.025);
}
.services-cta-inner h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.services-cta-inner p {
    color: var(--gray-light);
    font-size: 1.05rem;
    margin-bottom: 28px;
}
.services-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--white);
    transition: gap .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.btn-primary.btn-orange { background: var(--orange); }
.btn-primary.btn-orange:hover { background: var(--orange-deep); gap: 16px; }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    color: var(--white);
    font-weight: 500;
    font-size: 0.98rem;
    transition: background .25s var(--ease), gap .25s var(--ease);
}
.btn-secondary:hover { background: rgba(255,255,255,0.06); gap: 12px; }

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-card-wide { grid-column: span 2; }
}
@media (max-width: 700px) {
    .services-head { padding: 24px 22px 40px; }
    .services-grid-wrap { padding: 24px 22px; }
    .services-cta { padding: 60px 22px 30px; }
    .services-grid { grid-template-columns: 1fr; }
    .svc-card-wide { grid-column: auto; }
    .svc-card { padding: 26px 22px; }
}

/* ============================================================
   PAGE NOS VALEURS — Section ORIGINES + timeline
   ============================================================ */
.origins {
    padding: 70px 48px 30px;
    background:
        radial-gradient(ellipse 70% 60% at 20% 30%, rgba(255, 140, 26, 0.08), transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(232, 30, 44, 0.06), transparent 70%);
}
.origins-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: start;
}
.origins-eyebrow {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--orange-light);
    margin-bottom: 16px;
}
.origins-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: -0.01em;
    color: var(--white);
}
.origins-text p {
    color: var(--gray-light);
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 16px;
}
.origins-text p strong { color: var(--white); font-weight: 600; }

.origins-quote {
    grid-column: 1 / -1;            /* s'étire sur toute la largeur de la grille */
    margin: 36px 0 0 0;
    padding: 28px 36px;
    border: 1px solid rgba(255, 140, 26, 0.25);
    border-left: 3px solid var(--orange);
    background:
        linear-gradient(90deg, rgba(255, 140, 26, 0.10), rgba(232, 30, 44, 0.06) 70%, transparent);
    border-radius: 0 14px 14px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
    color: var(--white);
    font-style: italic;
    text-align: center;
}
.origins-quote strong {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    font-style: normal;
}

/* --- Timeline verticale --- */
.timeline {
    list-style: none;
    padding: 8px 0 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.timeline-step {
    position: relative;
    padding: 0 0 28px 36px;
    border-left: 2px solid var(--border-strong);
}
.timeline-step:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline-step::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--black);
    border: 2px solid var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 140, 26, 0.12);
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.timeline-step-current::before {
    background: var(--orange);
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 140, 26, 0.25), 0 0 16px rgba(255, 140, 26, 0.5);
}
.timeline-year {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.timeline-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}
.timeline-content p {
    color: var(--gray-light);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 1024px) {
    .origins-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 700px) {
    .origins { padding: 50px 22px 20px; }
    .timeline-step { padding-left: 28px; padding-bottom: 24px; }
    .timeline-year { font-size: 1.25rem; }
}

/* ============================================================
   PAGE NOS VALEURS — sections explicatives + cartes valeurs
   ============================================================ */
.values-explain {
    padding: 60px 48px 40px;
}
.values-explain-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}
.values-explain-text h2,
.values-why h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
    color: var(--white);
}
.values-explain-text p {
    color: var(--gray-light);
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 16px;
}
.values-explain-text p strong { color: var(--white); font-weight: 600; }
.values-explain-text em { color: var(--orange-light); font-style: italic; }

.values-explain-aside {
    padding: 28px 26px;
    border-radius: 18px;
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(ellipse at top right, rgba(255, 140, 26, 0.10), transparent 70%),
        rgba(255, 255, 255, 0.025);
    position: sticky;
    top: 100px;
}
.values-explain-aside h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--orange-light);
    margin-bottom: 18px;
    font-weight: 600;
}
.values-explain-aside ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.values-explain-aside li {
    color: var(--gray-light);
    line-height: 1.55;
    font-size: 0.94rem;
    padding-left: 18px;
    position: relative;
}
.values-explain-aside li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-brand);
}
.values-explain-aside li strong { color: var(--white); font-weight: 600; }

.values-why {
    padding: 40px 48px 60px;
    background:
        radial-gradient(ellipse 60% 100% at 50% 50%, rgba(232, 30, 44, 0.06), transparent 70%);
}
.values-why-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.values-why-inner p {
    color: var(--gray-light);
    line-height: 1.75;
    font-size: 1.05rem;
    margin-bottom: 16px;
}
.values-why-inner p strong { color: var(--white); font-weight: 600; }

/* Cartes Valeurs — design distinctif avec grand numéro */
.values-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.value-card {
    position: relative;
    padding: 36px 32px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 140, 26, 0.05), rgba(232, 30, 44, 0.03) 70%, transparent),
        rgba(255, 255, 255, 0.025);
    transition: border-color .35s var(--ease), transform .35s var(--ease);
    overflow: hidden;
}
.value-card:hover {
    border-color: rgba(255, 140, 26, 0.4);
    transform: translateY(-4px);
}
.value-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 4px;
    letter-spacing: -0.04em;
}
.value-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.value-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 26, 0.10);
    color: var(--orange-light);
    border: 1px solid rgba(255, 140, 26, 0.22);
    flex-shrink: 0;
}
.value-icon svg { width: 22px; height: 22px; }
.value-title-row h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
}
.value-card p {
    color: var(--gray-light);
    line-height: 1.7;
    font-size: 0.97rem;
}
.value-card p strong { color: var(--white); font-weight: 600; }

@media (max-width: 1024px) {
    .values-grid { grid-template-columns: 1fr; max-width: 720px; }
    .values-explain-inner { grid-template-columns: 1fr; }
    .values-explain-aside { position: static; }
}
@media (max-width: 700px) {
    .values-explain { padding: 40px 22px 30px; }
    .values-why { padding: 30px 22px 50px; }
    .value-card { padding: 30px 24px; }
    .value-num { font-size: 3.5rem; }
}

/* ============================================================
   LEGAL PAGE (vie privée, mentions, etc.)
   ============================================================ */
body.page-legal { background: var(--black); }

.legal {
    padding: 140px 48px 80px;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 140, 26, 0.10), transparent 70%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(232, 30, 44, 0.08), transparent 70%),
        var(--black);
    min-height: 100vh;
}
.legal-inner {
    max-width: 820px;
    margin: 0 auto;
}
.legal-head {
    margin-bottom: 56px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}
.legal-head .brand-tag { margin-bottom: 18px; }
.legal-head h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 18px;
    letter-spacing: -0.02em;
}
.legal-intro {
    font-size: 1.05rem;
    color: var(--gray-light);
    line-height: 1.65;
    max-width: 720px;
}
.legal-intro strong { color: var(--white); font-weight: 600; }
.legal-meta {
    margin-top: 18px;
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
/* Note bilingue Loi 96 — visible uniquement en mode EN */
.legal-note {
    display: none;
    margin-top: 20px;
    padding: 18px 22px;
    border-radius: 12px;
    border: 1px solid rgba(255, 140, 26, 0.3);
    background: rgba(255, 140, 26, 0.06);
    color: var(--gray-light);
    line-height: 1.65;
    font-size: 0.95rem;
}
.legal-note strong { color: var(--white); }
.legal-note a { color: var(--orange-light); text-decoration: underline; }
html[lang="en"] .legal-note { display: block; }

.legal-content section {
    padding: 32px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.legal-content .legal-h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--orange-light);
    margin: 22px 0 10px;
    letter-spacing: -0.005em;
}
.legal-content section ul ul {
    margin-top: 4px;
    margin-bottom: 8px;
}
.legal-content section ul ul li::before { background: var(--orange); }
.legal-content p {
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 0.97rem;
}
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul {
    list-style: none;
    margin: 12px 0;
    padding: 0;
}
.legal-content ul li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: var(--gray-light);
    line-height: 1.7;
    font-size: 0.97rem;
}
.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-brand);
}
.legal-content ul li strong { color: var(--white); font-weight: 600; }
.legal-content a {
    color: var(--orange-light);
    text-decoration: underline;
    text-decoration-color: rgba(255, 179, 102, 0.35);
    text-underline-offset: 3px;
    transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}
.legal-content a:hover {
    color: var(--white);
    text-decoration-color: var(--white);
}
.legal-external {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: rgba(255,255,255,0.03);
    text-decoration: none !important;
    margin-top: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.92rem;
}
.legal-external:hover {
    border-color: rgba(255, 140, 26, 0.4);
    background: rgba(255, 140, 26, 0.06);
}
.legal-contact {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px !important;
    margin: 12px 0 !important;
}
.legal-contact li::before { display: none; }
.legal-contact li {
    padding: 4px 0 !important;
}
.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 56px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 500;
    transition: gap .25s var(--ease), background .25s var(--ease);
}
.legal-back:hover {
    background: rgba(255,255,255,0.06);
    gap: 14px;
}
@media (max-width: 700px) {
    .legal { padding: 110px 22px 60px; }
    .legal-content h2 { font-size: 1.18rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--black);
    border-top: 1px solid var(--border);
    padding: 56px 48px 32px;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    padding: 6px;
    margin: -6px;
    border-radius: 12px;
    transition: background .25s var(--ease);
}
.footer-brand:hover { background: rgba(255,255,255,0.04); }
.footer-brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: transform .35s var(--ease);
}
.footer-brand:hover img { transform: rotate(-8deg) scale(1.05); }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: color .25s var(--ease);
}
.footer-brand:hover strong {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.footer-brand span {
    font-size: 0.85rem;
    color: var(--gray);
}
.footer-links {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 130px;
}
.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--white);
    margin-bottom: 6px;
}
.footer-col a {
    font-size: 0.9rem;
    color: var(--gray-light);
    transition: color .25s var(--ease);
}
.footer-col a:hover { color: var(--white); }
/* Lien Boutique externe (Square) en rouge — même teinte que la navbar */
.footer-col a[href*="square.site"] {
    color: var(--red-light);
}
.footer-col a[href*="square.site"]:hover { color: var(--white); }
.footer-col a[href*="square.site"]::after {
    content: ' ↗';
    opacity: 0.7;
    font-size: 0.85em;
}
.footer-copy {
    max-width: 1280px;
    margin: 24px auto 0;
    font-size: 0.85rem;
    color: var(--gray);
    text-align: center;
}

/* Bouton de bascule de langue FR/EN dans la navbar */
.lang-toggle {
    margin-left: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.lang-toggle:hover {
    background: rgba(255, 140, 26, 0.15);
    border-color: var(--orange);
    color: var(--orange-light);
}

/* Lien externe dans la navbar : rouge Code18 + indicateur ↗ après le texte */
.nav-links a.nav-external {
    color: var(--red-light);
}
.nav-links a.nav-external:hover {
    color: var(--white);
}
.nav-external::after {
    content: '↗';
    display: inline-block;
    margin-left: 4px;
    font-size: 0.75em;
    opacity: 0.85;
    transform: translateY(-1px);
}

/* Pastille Avis Google sous les cartes contact */
/* ============================================================
   CARTE GOOGLE MAPS — chargée sur clic (Loi 25)
   ============================================================ */
.contact-map {
    margin-top: 48px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 18px;
    text-align: center;
}
.contact-map-head { margin-bottom: 18px; }
.contact-map-head h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}
.contact-map-head p { color: var(--gray-light); font-size: 0.95rem; }

.contact-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}
.contact-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    /* Légère désaturation pour s'harmoniser avec le thème dark */
    filter: invert(0.92) hue-rotate(180deg) saturate(0.85);
}
.contact-map-frame.is-loaded { background: transparent; }

.contact-map-load {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--gray-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    transition: background .2s var(--ease), color .2s var(--ease);
    text-align: center;
    font-family: inherit;
}
.contact-map-load:hover {
    background: rgba(255, 140, 26, 0.06);
    color: var(--white);
}
.contact-map-load svg { color: var(--orange); }
.contact-map-load strong { font-size: 1rem; font-weight: 600; }
.contact-map-load em {
    font-style: normal;
    font-size: 0.82rem;
    color: var(--gray);
    max-width: 420px;
    line-height: 1.55;
}
.contact-map-load em a { color: var(--orange-light); text-decoration: underline; }
.contact-map-load em a:hover { color: var(--orange); }

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.92rem;
    color: var(--orange-light);
    transition: color .2s var(--ease);
}
.contact-map-link:hover { color: var(--orange); }
.contact-map-link svg { transition: transform .2s var(--ease); }
.contact-map-link:hover svg { transform: translateX(3px); }

@media (max-width: 700px) {
    .contact-map { padding: 18px; }
    .contact-map-frame { aspect-ratio: 4 / 3; }
    .contact-map-load { padding: 16px; gap: 10px; }
    .contact-map-load em { font-size: 0.78rem; }
}

.contact-extra {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}
.google-reviews {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    color: var(--white);
    transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.google-reviews:hover {
    border-color: rgba(66, 133, 244, 0.5);
    background: rgba(66, 133, 244, 0.08);
    transform: translateY(-2px);
}
.google-reviews .g-icon { flex-shrink: 0; }
.google-reviews .g-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    text-align: left;
}
.google-reviews .g-text strong {
    font-size: 0.95rem;
    font-weight: 600;
}
.google-reviews .g-text em {
    font-style: normal;
    font-size: 0.78rem;
    color: var(--gray);
}
.google-reviews .g-arrow {
    color: var(--gray-light);
    transition: transform .25s var(--ease), color .25s var(--ease);
}
.google-reviews:hover .g-arrow {
    color: var(--white);
    transform: translate(2px, -2px);
}

/* ============================================================
   PAGE BLOGUE — index + articles
   ============================================================ */
body.page-blog { background: var(--black); }

/* ----- Index : grille de cartes ----- */
.blog-grid-wrap {
    padding: 32px 48px 48px;
}
.blog-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
/* Message de chargement (rendu dynamique depuis blog-posts.json) */
.blog-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
    padding: 60px 20px;
    font-style: italic;
}
.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;
    transition: border-color .35s var(--ease), transform .35s var(--ease);
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    border-color: rgba(255, 140, 26, 0.4);
    transform: translateY(-4px);
}
.blog-card-banner {
    position: relative;
    height: 110px;
    display: flex;
    align-items: flex-end;
    padding: 14px 18px;
}
.blog-banner-loi25 {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}
.blog-banner-copilot {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}
.blog-banner-cyber {
    background: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
}
.blog-cat {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.blog-card-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}
.blog-meta {
    display: flex;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--gray);
    font-family: 'Space Grotesk', sans-serif;
}
.blog-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.005em;
    color: var(--white);
    margin: 0;
}
.blog-card-excerpt {
    color: var(--gray-light);
    line-height: 1.6;
    font-size: 0.93rem;
    flex-grow: 1;
}
.blog-card-excerpt strong { color: var(--white); font-weight: 600; }
.blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--orange-light);
    transition: gap .25s var(--ease), color .25s var(--ease);
}
.blog-card:hover .blog-card-cta { gap: 12px; color: var(--white); }

/* ----- Page article ----- */
.blog-post {
    padding: 120px 48px 80px;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 140, 26, 0.08), transparent 70%),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(232, 30, 44, 0.06), transparent 70%);
    min-height: 100vh;
}
.blog-post-inner {
    max-width: 760px;
    margin: 0 auto;
}
.blog-breadcrumb {
    margin-bottom: 26px;
}
.blog-breadcrumb a {
    color: var(--orange-light);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color .25s var(--ease);
}
.blog-breadcrumb a:hover { color: var(--white); }

.blog-post-head {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}
.blog-post-head .blog-cat {
    display: inline-block;
    margin-bottom: 18px;
}
.blog-cat-loi25 {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}
.blog-cat-copilot {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}
.blog-cat-cyber {
    background: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
}
.blog-post-head h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 18px;
    letter-spacing: -0.02em;
    color: var(--white);
}
.blog-post-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.92rem;
    color: var(--gray-light);
}
.blog-post-meta strong { color: var(--white); font-weight: 600; }

.blog-post-content {
    color: var(--gray-light);
    line-height: 1.75;
    font-size: 1.04rem;
}
.blog-post-content p { margin-bottom: 18px; }
.blog-post-content p strong, .blog-post-content li strong { color: var(--white); font-weight: 600; }
.blog-post-content em { color: var(--orange-light); font-style: italic; }
.blog-post-content .blog-lead {
    font-size: 1.14rem;
    line-height: 1.7;
    color: var(--white);
    border-left: 3px solid var(--orange);
    padding-left: 18px;
    margin-bottom: 32px;
}
.blog-post-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--white);
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.blog-post-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--orange-light);
    margin-top: 28px;
    margin-bottom: 12px;
}
.blog-post-content ul, .blog-post-content ol {
    margin: 0 0 18px 0;
    padding-left: 22px;
}
.blog-post-content ul li, .blog-post-content ol li {
    margin-bottom: 10px;
    line-height: 1.7;
}
.blog-post-content ul li::marker { color: var(--orange); }
.blog-post-content ol li::marker { color: var(--orange); font-weight: 700; }
.blog-post-content a {
    color: var(--orange-light);
    text-decoration: underline;
    text-decoration-color: rgba(255, 179, 102, 0.35);
    text-underline-offset: 3px;
    transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}
.blog-post-content a:hover { color: var(--white); text-decoration-color: var(--white); }

/* Encadré CTA en milieu / fin d'article */
.blog-callout {
    margin: 36px 0;
    padding: 28px 32px;
    border-radius: 18px;
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(ellipse at top right, rgba(255, 140, 26, 0.10), transparent 70%),
        radial-gradient(ellipse at bottom left, rgba(232, 30, 44, 0.08), transparent 70%),
        rgba(255, 255, 255, 0.025);
}
.blog-callout h3 {
    color: var(--white);
    margin-top: 0 !important;
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
}
.blog-callout p {
    margin-bottom: 18px;
    color: var(--gray-light);
}
.blog-callout .btn-primary {
    margin-top: 4px;
}

.blog-post-footer {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    text-align: center;
}

@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .blog-grid-wrap { padding: 24px 22px 30px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-post { padding: 100px 22px 60px; }
    .blog-post-content .blog-lead { font-size: 1.05rem; padding-left: 14px; }
    .blog-callout { padding: 22px 22px; }
}

/* ============================================================
   SECTION AVIS GOOGLE — note + carrousel infini
   ============================================================ */
.reviews {
    padding: 120px 48px;
    background:
        radial-gradient(ellipse 60% 80% at 30% 50%, rgba(255, 140, 26, 0.06), transparent 70%),
        radial-gradient(ellipse 60% 80% at 70% 50%, rgba(232, 30, 44, 0.05), transparent 70%),
        var(--black);
    overflow: hidden;
}
.reviews-inner {
    max-width: 1280px;
    margin: 0 auto;
}

/* En-tête : titre + pastille Google + note moyenne + lien */
.reviews-head {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "text rating"
        "link rating";
    gap: 32px 48px;
    align-items: center;
    margin-bottom: 56px;
}
.reviews-head-text { grid-area: text; }
.reviews-rating { grid-area: rating; }
.reviews-cta-link { grid-area: link; }

.reviews-google-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(66, 133, 244, 0.4);
    background: rgba(66, 133, 244, 0.08);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #93c5fd;
    margin-bottom: 18px;
}
.reviews-head-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0;
}

/* Bloc note moyenne — visible et imposant */
.reviews-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
    padding: 20px 28px;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 140, 26, 0.08), rgba(232, 30, 44, 0.06));
    backdrop-filter: blur(10px);
}
.rev-rating-stars {
    display: flex;
    gap: 2px;
    color: #ffd54f;
}
.rev-rating-score {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: 'Space Grotesk', sans-serif;
}
.rev-rating-score strong {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.rev-rating-score span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}
.rev-rating-count {
    font-size: 0.84rem;
    color: var(--gray-light);
}
.rev-rating-count strong { color: var(--white); font-weight: 600; }

.reviews-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap .25s var(--ease), color .25s var(--ease);
    width: fit-content;
}
.reviews-cta-link:hover { color: var(--white); gap: 12px; }

/* Carrousel infini horizontal — scroll continu, pause au survol */
.reviews-carousel {
    position: relative;
    overflow: hidden;
    /* Fade sur les bords pour donner l'illusion d'un défilement infini propre */
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.reviews-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: rev-scroll 90s linear infinite;
    will-change: transform;
}
.reviews-carousel:hover .reviews-track { animation-play-state: paused; }
@keyframes rev-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .reviews-track { animation-duration: 240s; }
}

/* Carte témoignage */
.rev-card {
    flex-shrink: 0;
    width: 360px;
    padding: 28px 26px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.rev-card:hover {
    border-color: rgba(255, 140, 26, 0.3);
    transform: translateY(-3px);
}
.rev-card-stars {
    display: flex;
    gap: 2px;
    color: #ffd54f;
}
.rev-card-text {
    color: var(--gray-light);
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}
.rev-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.rev-card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.rev-card-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.rev-card-meta strong {
    font-size: 0.92rem;
    color: var(--white);
    font-weight: 600;
}
.rev-card-meta span {
    font-size: 0.78rem;
    color: var(--gray);
}

@media (max-width: 900px) {
    .reviews { padding: 80px 22px; }
    .reviews-head {
        grid-template-columns: 1fr;
        grid-template-areas:
            "text"
            "rating"
            "link";
        gap: 24px;
    }
    .reviews-rating { align-items: flex-start; text-align: left; }
    .rev-card { width: 300px; padding: 24px 22px; }
}

/* ============================================================
   COOKIE CONSENT MODULE — conforme Loi 25
   ============================================================ */

/* --- Bandeau bas (premier visite) --- */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    padding: 16px 24px;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--border-strong);
    transform: translateY(100%);
    transition: transform .35s var(--ease-out);
}
.cookie-banner.cookie-visible { transform: translateY(0); }
.cookie-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.cookie-banner-text { flex: 1 1 420px; min-width: 0; }
.cookie-banner-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--white);
}
.cookie-banner-text p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--gray-light);
    margin: 0;
}
.cookie-banner-text a {
    color: var(--orange-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner-text a:hover { color: var(--white); }
.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* --- Boutons (banner + modal) --- */
.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
}
.cookie-btn:hover { background: rgba(255,255,255,0.06); border-color: var(--white); }
.cookie-btn-primary {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    font-weight: 600;
}
.cookie-btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.cookie-btn-ghost { border-color: rgba(255,255,255,0.25); }

/* --- Modale (préférences détaillées) --- */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.cookie-modal-overlay.cookie-visible { opacity: 1; }
body.cookie-modal-open { overflow: hidden; }

.cookie-modal {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--black-2);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(12px);
    transition: transform .35s var(--ease-out);
}
.cookie-modal-overlay.cookie-visible .cookie-modal { transform: translateY(0); }

.cookie-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.cookie-modal-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}
.cookie-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.cookie-modal-close:hover { background: rgba(255,255,255,0.06); border-color: var(--white); }
.cookie-modal-intro {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 24px;
}
.cookie-modal-intro strong { color: var(--white); font-weight: 600; }

/* --- Catégories de cookies --- */
.cookie-cats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 28px;
}
.cookie-cat {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.cookie-cat:last-child { border-bottom: 0; }
.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
}
.cookie-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-toggle-track {
    flex-shrink: 0;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--border-strong);
    position: relative;
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.cookie-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white);
    transition: transform .25s var(--ease);
}
.cookie-toggle input:checked + .cookie-toggle-track {
    background: var(--orange);
    border-color: var(--orange);
}
.cookie-toggle input:checked + .cookie-toggle-track .cookie-toggle-thumb {
    transform: translateX(20px);
}
.cookie-toggle input:disabled + .cookie-toggle-track {
    opacity: 0.6;
    cursor: not-allowed;
}
.cookie-cat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--white);
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.cookie-cat-required {
    font-style: normal;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 140, 26, 0.12);
    color: var(--orange-light);
    border: 1px solid rgba(255, 140, 26, 0.3);
    font-weight: 500;
}
.cookie-cat-desc {
    margin: 8px 0 0 58px;
    color: var(--gray-light);
    font-size: 0.88rem;
    line-height: 1.55;
}

.cookie-modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* --- Bouton flottant pour ré-ouvrir le module --- */
.cookie-reopen {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--orange-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
    opacity: 0.8;
}
.cookie-reopen:hover {
    opacity: 1;
    transform: scale(1.08);
    border-color: var(--orange);
    color: var(--white);
    background: rgba(255, 140, 26, 0.18);
}

@media (max-width: 700px) {
    .cookie-banner { padding: 14px 16px; }
    .cookie-banner-inner { gap: 14px; }
    .cookie-banner-actions { width: 100%; }
    .cookie-banner-actions .cookie-btn { flex: 1 1 auto; }
    .cookie-modal { padding: 22px; border-radius: 16px; max-height: 95vh; }
    .cookie-modal-actions { flex-direction: column-reverse; }
    .cookie-modal-actions .cookie-btn { width: 100%; }
    .cookie-cat-desc { margin-left: 0; margin-top: 12px; }
    .cookie-reopen { bottom: 14px; left: 14px; width: 40px; height: 40px; }
}

/* ============================================================
   ANIMATIONS — REVEAL ON SCROLL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .navbar { padding: 16px 28px; }
    .navbar.scrolled { padding: 12px 28px; }
    .brand, .contact { padding: 100px 28px; }
    .footer { padding: 40px 28px; }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }

    /* Stack split halves vertically on mobile (override absolute positioning) */
    .hero {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }
    .split {
        position: relative !important;
        top: auto !important; left: auto !important;
        height: auto !important;
        min-height: 80vh;
        clip-path: none !important;
        width: 100%;
        padding: 60px 28px !important;
    }
    .split-left { padding-top: 100px !important; }
    .split-right { padding-bottom: 80px !important; }
    .split-content {
        text-align: left !important;
        max-width: 100%;
        margin: 0 !important;
    }
    .hero-center {
        position: relative;
        top: auto; left: auto;
        transform: none;
        margin: 0;
        order: 0;
        padding: 60px 28px;
        /* Centrage vertical du logo dans la première vue mobile (mirroir du desktop) */
        min-height: 85vh;
        min-height: 85svh; /* svh prend en compte la barre d'URL mobile */
        justify-content: center;
    }
    /* Limiter la galaxy + grille à la zone du logo pour que son centre visuel
       coïncide exactement avec le logo (sinon elle s'étirait sur les 3 sections empilées) */
    .galaxy, .bg-grid {
        height: 85vh;
        height: 85svh;
    }
    .hero-scroll { display: none; }

    /* Reorder: logo first, then adocrat, then code18 */
    .split-left { order: 2; }
    .hero-center { order: 1; }
    .split-right { order: 3; }
}

@media (max-width: 600px) {
    .navbar { padding: 14px 20px; }
    .nav-brand span { display: none; }
    .nav-left { gap: 12px; }
    .nav-phone { padding: 6px 10px; font-size: 0.82rem; gap: 6px; }
    .nav-phone svg { width: 14px; height: 14px; }
    .brand, .contact { padding: 80px 20px; }
    .brand-head { margin-bottom: 50px; }
    .quote { padding: 32px 28px; }
    .contact-card { padding: 32px 24px; }
    .footer { padding: 36px 20px 20px; }
    .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; gap: 28px; }
    .footer-links { gap: 28px; width: 100%; }
    .footer-col { min-width: 120px; }
    .footer-copy { text-align: left; margin-top: 16px; }
    .google-reviews { padding: 12px 18px; }
    .google-reviews .g-text strong { font-size: 0.88rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
