/* ============================================================
   Osmose IA — Dark Theme
   Override total de la palette + typo par-dessus app.css.
   Palette : bleu nuit → bleu roi → cyan lumineux.
   Effets : glassmorphism, orbes, badges pill.
   ============================================================ */

:root {
    /* ─── Fonds ─────────────────────────────────────────── */
    --osm-night-1:   #0A0E27;   /* fond le plus sombre */
    --osm-night-2:   #0F1330;
    --osm-night-3:   #141B3C;   /* fond de section clair */
    --osm-navy:      #1A2246;   /* légèrement plus haut */

    /* ─── Bleus (accents / dégradés) ─────────────────────── */
    --osm-royal:     #1E3A8A;   /* bleu roi profond */
    --osm-electric:  #2563EB;   /* bleu électrique */
    --osm-sky:       #60A5FA;   /* bleu clair lumineux */
    --osm-sky-light: #93C5FD;
    --osm-cyan:      #38BDF8;   /* accent cyan principal */
    --osm-cyan-alt:  #5EB3E4;

    /* ─── Textes ────────────────────────────────────────── */
    --osm-white:     #FFFFFF;
    --osm-fog:       #E2E8F0;
    --osm-gray:      #94A3B8;   /* secondaire */
    --osm-gray-2:    #64748B;

    /* ─── Bordures / séparateurs (glassmorphism) ─────────── */
    --osm-border:      rgba(255, 255, 255, 0.08);
    --osm-border-hi:   rgba(56, 189, 248, 0.30);
    --osm-glass:       rgba(255, 255, 255, 0.04);
    --osm-glass-2:     rgba(30, 58, 138, 0.20);

    /* ─── Radius / effets ────────────────────────────────── */
    --osm-radius:      20px;
    --osm-radius-lg:   24px;
    --osm-radius-sm:   14px;

    /* ─── Typo ───────────────────────────────────────────── */
    /* Titres et corps unifiés sur Poppins (seule Google Font chargée).
       Auparavant --osm-ff-body pointait sur Inter (jamais chargée) puis
       retombait sur Montserrat locale, ce qui créait deux typographies
       différentes sur les mêmes pages. */
    --osm-ff-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --osm-ff-body:    'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================================
   RESET GLOBAL (surcharge app.css)
   ============================================================ */

html, body {
    background: var(--osm-night-1);
    color: var(--osm-white);
    font-family: var(--osm-ff-body);
    /* FIX GLOBAL sticky : app.css (COQPIT) applique `overflow-x: hidden`
       qui CASSE `position: sticky` partout dans le site. On override en
       `overflow-x: clip` — même effet visuel (bloque le débordement
       horizontal) mais compatible avec sticky. Support: Chrome 90+,
       Firefox 81+, Safari 16+ (~95 %). */
    overflow-x: clip !important;
}

/* ════════════════════════════════════════════════════════════
   PERF GLOBAL — skip du rendu des sections hors viewport.

   `content-visibility: auto` + `contain-intrinsic-size` disent au
   navigateur : "ne calcule ni layout ni paint pour cette section
   tant qu'elle est loin du viewport ; réserve juste ~1200px de
   place." Effet : scroll ~2-3× plus fluide sur les longues pages,
   les animations CSS `infinite` sont aussi pausées côté browser.

   Exclusions : hero (toujours visible), tout élément avec sticky
   descendant (portal PME, stack use-case, home-sticky, hero-home)
   car content-visibility: auto casse les stickies internes.
   ════════════════════════════════════════════════════════════ */
main > section:not(:first-child):not(.home-sticky-area):not(.pme-sphere-portal):not(.uc-stack):not(.audit-stack):not(.audit-hpin):not(:has(.pme-sphere-portal)):not(:has(.uc-stack)):not(:has(.audit-stack)):not(:has(.audit-hpin)),
main > .pme-sphere-portal + section,
main > section + section {
    content-visibility: auto;
    contain-intrinsic-size: auto 1200px;
}
/* Le pattern `main > *` est aussi couvert pour les <div> utilisés
   comme wrappers de sections en dehors du <section> pur */
main > div:not(:first-child):not(.home-sticky-area):not(.pme-sphere-portal):not(.uc-stack):not(.audit-stack):not(.audit-hpin):not(:has(.pme-sphere-portal)):not(:has(.uc-stack)):not(:has(.audit-stack)):not(:has(.audit-hpin)) {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}
body {
    background:
        radial-gradient(ellipse 1200px 800px at 20% -10%, rgba(37, 99, 235, 0.18), transparent 50%),
        radial-gradient(ellipse 900px 600px at 90% 10%, rgba(56, 189, 248, 0.10), transparent 60%),
        radial-gradient(ellipse 1000px 700px at 50% 110%, rgba(30, 58, 138, 0.25), transparent 55%),
        linear-gradient(180deg, var(--osm-night-1) 0%, var(--osm-night-2) 40%, var(--osm-night-1) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

/* ─── Noise SVG global : grain subtil qui donne un feel "premium" ─── */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.035;
    pointer-events: none;
    z-index: 1000;
    mix-blend-mode: overlay;
}

/* ─── Points tech subtils (fade vers les bords) ─── */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(56, 189, 248, 0.28) 1.4px, transparent 1.6px);
    background-size: 28px 28px;
    background-position: 0 0;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 75%);
            mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 75%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

/* ─── Typographie globale ─────────────────────────────── */
body,
p, span, li, td, th, label, input, textarea, button, a {
    font-family: var(--osm-ff-body);
    color: var(--osm-white);
}

h1, h2, h3, h4, h5, h6,
.title, .overtitle {
    font-family: var(--osm-ff-heading);
    color: var(--osm-white);
    letter-spacing: -0.01em;
    line-height: 1.15;
    font-weight: 700;
}
/* FIX RESPONSIVE GLOBAL : app.css (base COQPIT) applique `width: max-content`
   sur .title (et h2) → tous les titres se dimensionnent à leur plus longue
   ligne et DÉBORDENT / sont COUPÉS sur mobile. On rétablit un dimensionnement
   normal (le titre se contraint à son conteneur et wrappe). Les max-width des
   règles spécifiques (800px, etc.) continuent de gérer la lisibilité desktop. */
.title {
    width: auto !important;
    max-width: 100%;
    overflow-wrap: break-word;
}
/* Sur mobile/tablette : filet de sécurité sur TOUS les titres (classes thème
   gg-section__title, gg-cta__title, *__title, etc. qui héritent aussi du
   width:max-content de app.css) → forcés à se contraindre au conteneur. */
@media (max-width: 900px) {
    h1, h2, h3, h4,
    .title,
    [class*="__title"],
    [class*="-title"] {
        width: auto !important;
        max-width: 100% !important;
        overflow-wrap: break-word;
    }
}
h1, .homepage-banner h1 { font-weight: 800; }
h1 span,
.homepage-banner h1 span {
    background: linear-gradient(135deg, var(--osm-sky), var(--osm-cyan));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overtitle {
    color: var(--osm-cyan) !important;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    font-weight: 600;
}

p, li { color: var(--osm-gray); line-height: 1.65; }
strong { color: var(--osm-white); }
em     { color: var(--osm-sky); font-style: normal; font-weight: 500; }

a { color: var(--osm-cyan); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--osm-sky-light); }

/* ─── Chiffres statistiques (grands) ──────────────────── */
.stat-number,
.stat .value,
[data-role="stat"] {
    font-family: var(--osm-ff-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--osm-cyan), var(--osm-sky));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

/* ============================================================
   HEADER + MENU
   ============================================================ */

/* Header fixe pleine largeur + glass — override total des règles COQPIT */
#header-site,
#header-site:not(.opened) {
    background: rgba(10, 14, 39, 0.35) !important;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.35) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    z-index: 100;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    transition: background .3s ease;
}

/* Container du header : full-width, pas de pill, pas de shadow, pas de background.
   Layout : logo → nav aligné à gauche → CTA poussé à droite via margin-left: auto. */
#header-site:not(.opened) .container,
#header-site .container {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: none !important;
    width: 100%;
    padding: 14px 40px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 40px;
    justify-content: flex-start !important;
}
#header-site .container > .logo { flex-shrink: 0; }
#header-site .container > .btn-header { margin-left: auto; flex-shrink: 0; }
#header-site .container > .header-actions {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}
#header-site .container > .header-actions > .btn-header { margin-left: 0; }

/* Lien "Espace client" — ghost / discret, sans le fond du bouton primaire */
#header-site .header-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--osm-ff-heading, 'Poppins', sans-serif);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
    border-bottom: 1px solid transparent;
}
#header-site .header-link:hover,
#header-site .header-link:focus-visible {
    color: #38BDF8;
    border-bottom-color: rgba(56, 189, 248, 0.5);
}
#header-site .header-link svg { flex-shrink: 0; opacity: 0.85; }

/* Sur mobile : "Espace client" cassé pour éviter le débordement à côté du burger */
@media (max-width: 900px) {
    #header-site .header-link { display: none; }
}

/* Menu burger ouvert (mobile) */
#header-site.opened {
    background: rgba(10, 14, 39, 0.92) !important;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
}

/* Réserve la hauteur du header fixe pour la première section */
body { padding-top: 0; margin: 0; }
.homepage-banner { padding-top: 100px; }
#header-site .logo img { filter: brightness(0) invert(1); }

/* ── Navigation principale ────────────────────────────────────
   IMPORTANT : app.css contient une règle à spécificité (0,1,6) :
     #header-site:not(.opened) .container .main-navigation .main-menu li a
   qui force font-size:14px + padding:15px sur les <a>.
   On matche ce sélecteur pour égaliser la spécificité — comme theme-dark.css
   charge APRÈS app.css, mes règles gagnent au tie-break. */
#header-site:not(.opened) .container .main-navigation .main-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
#header-site:not(.opened) .container .main-navigation .main-menu > li {
    position: relative;
    display: inline-flex;
    align-items: center;
}
/* Applique le MÊME style aux liens <a> (Accueil / Tarifs / À propos) et au
   trigger <button> (Solution) — visuellement indistinguables. */
#header-site:not(.opened) .container .main-navigation .main-menu li a,
#header-site:not(.opened) .container .main-navigation .main-menu li .menu-item__trigger {
    color: var(--osm-fog);
    font-family: var(--osm-ff-heading);
    font-weight: 500;
    font-size: 1.08rem;
    letter-spacing: 0.005em;
    padding: 10px 14px;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-style: normal;
    transition: color .2s ease;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}
#header-site:not(.opened) .container .main-navigation .main-menu li a:hover,
#header-site:not(.opened) .container .main-navigation .main-menu li .menu-item__trigger:hover,
#header-site:not(.opened) .container .main-navigation .main-menu li.current-menu-item > a,
#header-site:not(.opened) .container .main-navigation .main-menu li.menu-item--has-dropdown:hover .menu-item__trigger {
    color: var(--osm-white);
}

/* Chevron du dropdown */
.menu-item__chevron {
    transition: transform .2s ease;
    stroke: currentColor;
}
.menu-item--has-dropdown:hover .menu-item__chevron,
.menu-item--has-dropdown:focus-within .menu-item__chevron {
    transform: rotate(180deg);
}

/* Menu déroulant "Solution" */
.menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding: 10px;
    margin-top: 8px;
    background: rgba(10, 14, 39, 0.94);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(147, 197, 253, 0.20);
    border-radius: 16px;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.55);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    z-index: 120;
}
.menu-item--has-dropdown:hover .menu-dropdown,
.menu-item--has-dropdown:focus-within .menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.menu-dropdown li { display: block; }
.menu-dropdown a {
    display: flex !important;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px !important;
    border-radius: 10px;
    font-size: 0.95rem !important;
    transition: background .2s ease, color .2s ease;
}
.menu-dropdown a:hover {
    background: rgba(56, 189, 248, 0.10);
    color: var(--osm-white) !important;
}
.menu-dropdown__label {
    color: var(--osm-white);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.005em;
}
.menu-dropdown__desc {
    color: var(--osm-gray);
    font-size: 0.82rem;
    font-weight: 400;
    font-family: var(--osm-ff-body);
}

@media (max-width: 900px) {
    #header-site .container { gap: 20px; padding: 12px 20px !important; }
    /* Nav cachée tant que le burger n'est pas ouvert */
    #header-site:not(.opened) .main-navigation { display: none; }

    /* ── MENU MOBILE OUVERT — overlay plein écran ─────────────
       Le burger toggle #header-site.opened. On affiche alors la nav
       en colonne, avec le dropdown "Solution" DÉPLIÉ (le :hover ne
       marche pas au toucher → toutes les pages doivent être visibles). */
    #header-site.opened {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        z-index: 200;
        background: rgba(10, 14, 39, 0.97) !important;
        backdrop-filter: blur(22px) saturate(180%);
        -webkit-backdrop-filter: blur(22px) saturate(180%);
    }
    #header-site.opened .container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 80px 28px 40px !important;
        min-height: 100%;
    }
    #header-site.opened .logo {
        align-self: flex-start;
        margin-bottom: 32px;
    }
    /* Nav ré-affichée en colonne */
    #header-site.opened .main-navigation {
        display: block !important;
        width: 100%;
    }
    #header-site.opened .main-menu {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    #header-site.opened .main-menu > li {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    /* Liens + trigger "Solution" : pleine largeur, gros tap targets */
    #header-site.opened .main-menu li a,
    #header-site.opened .main-menu li .menu-item__trigger {
        display: flex !important;
        width: 100%;
        box-sizing: border-box;
        padding: 18px 4px !important;
        font-family: var(--osm-ff-heading);
        font-size: 1.15rem !important;
        font-weight: 500;
        color: var(--osm-white) !important;
        background: transparent;
        border: 0;
        text-align: left;
        justify-content: flex-start;
        align-items: center;
        cursor: pointer;
    }
    /* Le "Solution" n'est qu'un intitulé de groupe sur mobile → chevron masqué */
    #header-site.opened .menu-item__chevron { display: none; }
    #header-site.opened .menu-item__trigger {
        font-size: 0.8rem !important;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--osm-gray) !important;
        padding-bottom: 6px !important;
        cursor: default;
    }
    /* Dropdown Solution → toujours déplié (statique) sur mobile */
    #header-site.opened .menu-dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column;
        min-width: 0;
        width: 100%;
        margin: 0 0 6px !important;
        padding: 0 0 12px 12px !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    #header-site.opened .menu-dropdown a {
        padding: 14px 4px !important;
        font-size: 1.05rem !important;
    }
    #header-site.opened .menu-dropdown__label {
        font-size: 1.05rem !important;
    }
    #header-site.opened .menu-dropdown__desc { display: none; }

    /* Header actions (Contact + Espace client) affichés dans le menu ouvert */
    #header-site.opened .header-actions {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-top: 32px;
        width: 100%;
    }
    #header-site.opened .header-link {
        display: inline-flex !important;
        justify-content: center;
        padding: 14px;
        font-size: 1rem;
        color: var(--osm-fog) !important;
    }
    #header-site.opened .btn-header {
        width: 100%;
        justify-content: center;
    }
    /* Burger reste au-dessus de l'overlay, cliquable pour refermer */
    #header-site.opened .burger {
        position: fixed;
        top: 22px;
        right: 16px;
        z-index: 210;
    }
}

/* ─── Boutons corner-frame (4 crochets aux angles → dégradé au hover) ─── */
.btn, .btn-header, .btn-product-card {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--osm-white) !important;
    font-family: var(--osm-ff-heading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    overflow: visible;
    transition: transform .15s ease;
}
/* Crochets aux 4 coins (visibles au repos) — 8 gradients pour 4 L-shapes */
.btn::before,
.btn-header::before,
.btn-product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(to right,  var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to right,  var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to left,   var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to left,   var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to bottom, var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to bottom, var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to top,    var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to top,    var(--osm-white) 1.5px, transparent 1.5px);
    background-position:
        0 0, 0 100%, 100% 0, 100% 100%,
        0 0, 100% 0, 0 100%, 100% 100%;
    background-size: 15px 15px;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity .2s ease;
}
/* Dégradé plein (indigo → violet → rose) qui apparaît au hover */
.btn::after,
.btn-header::after,
.btn-product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: linear-gradient(to right, #2563EB, #6366F1, #8B5CF6);
    opacity: 0;
    transition: opacity .3s ease;
}
/* Interaction : crochets fade + dégradé plein visible */
.btn:hover::before,
.btn-header:hover::before,
.btn-product-card:hover::before,
.btn:focus-visible::before,
.btn-header:focus-visible::before,
.btn-product-card:focus-visible::before { opacity: 0; }

.btn:hover::after,
.btn-header:hover::after,
.btn-product-card:hover::after,
.btn:focus-visible::after,
.btn-header:focus-visible::after,
.btn-product-card:focus-visible::after { opacity: 1; }

.btn:active,
.btn-header:active,
.btn-product-card:active { transform: scale(0.98); }

.btn:focus-visible,
.btn-header:focus-visible,
.btn-product-card:focus-visible { outline: none; }

.burger { color: var(--osm-white); }
.burger svg path { stroke: var(--osm-white); }

/* ============================================================
   HERO — homepage-banner
   ============================================================ */

.homepage-banner {
    background: transparent !important;
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
    isolation: isolate; /* pour que le blend/z-index reste local */
}

/* ─── Vidéo en fond du hero ─── */
.homepage-banner .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    pointer-events: none;
    /* léger dim pour améliorer la lisibilité du texte */
    filter: saturate(115%) brightness(0.85);
}

/* Overlay sombre + dégradé bas pour la transition vers la section suivante */
.homepage-banner .hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 900px 700px at 50% 30%, rgba(10, 14, 39, 0.25), rgba(10, 14, 39, 0.55) 60%, rgba(10, 14, 39, 0.85) 100%),
        linear-gradient(180deg, rgba(10, 14, 39, 0.30) 0%, rgba(10, 14, 39, 0.15) 30%, rgba(10, 14, 39, 0.55) 75%, var(--osm-night-1) 100%);
}

/* Orbes lumineuses par-dessus la vidéo — animées pour un feel vivant */
.homepage-banner.has-video-bg::before,
.homepage-banner.has-video-bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
    mix-blend-mode: screen;
    will-change: transform, opacity;
}
.homepage-banner.has-video-bg::before {
    top: -15%; left: -10%;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.55), transparent 65%);
    animation: orb-drift-a 22s ease-in-out infinite;
}
.homepage-banner.has-video-bg::after {
    bottom: -20%; right: -12%;
    width: 580px; height: 580px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45), transparent 70%);
    animation: orb-drift-b 28s ease-in-out infinite;
}

@keyframes orb-drift-a {
    0%, 100% { transform: translate(0, 0) scale(1);   opacity: 0.55; }
    33%      { transform: translate(90px, 40px) scale(1.15); opacity: 0.75; }
    66%      { transform: translate(-40px, 80px) scale(0.92); opacity: 0.65; }
}
@keyframes orb-drift-b {
    0%, 100% { transform: translate(0, 0) scale(1);    opacity: 0.55; }
    50%      { transform: translate(-80px, -60px) scale(1.10); opacity: 0.72; }
}

/* Fallback : orbes seules si pas de vidéo */
.homepage-banner:not(.has-video-bg)::before,
.homepage-banner:not(.has-video-bg)::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.homepage-banner:not(.has-video-bg)::before {
    top: -20%; left: -10%;
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.55), transparent 65%);
}
.homepage-banner:not(.has-video-bg)::after {
    bottom: -25%; right: -15%;
    width: 680px; height: 680px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.40), transparent 70%);
}

.homepage-banner .container { position: relative; z-index: 1; }

/* Ombre légère sous le texte pour la lisibilité sur la vidéo */
.homepage-banner.has-video-bg h1.title,
.homepage-banner.has-video-bg .overtitle,
.homepage-banner.has-video-bg .text,
.homepage-banner.has-video-bg p {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

/* Contenu du hero : aligné à gauche */
.homepage-banner .container {
    align-items: flex-start !important;
    text-align: left;
    max-width: 1240px;
    padding-left: 40px;
    padding-right: 40px;
    min-height: calc(100vh - 100px);
    justify-content: center !important;
}
.homepage-banner .container > * { text-align: left !important; }

.homepage-banner .overtitle {
    color: var(--osm-cyan);
    text-align: left !important;
    margin-bottom: 12px;
    display: inline-block;
    padding: 6px 14px;
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.30);
    border-radius: 999px;
    font-size: 0.72rem;
}

.homepage-banner h1.title {
    font-size: clamp(2.6rem, 5.5vw, 4.6rem);
    color: var(--osm-white);
    max-width: 900px;
    text-align: left !important;
    line-height: 1.10;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.homepage-banner .text,
.homepage-banner p.text,
.homepage-banner p {
    color: var(--osm-fog);
    font-size: 1.15rem;
    max-width: 620px;
    text-align: left !important;
}

/* Boutons du hero — primary + secondary */
.homepage-banner .buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
    justify-content: flex-start !important;
}
.homepage-banner .buttons .btn-primary {
    background: linear-gradient(135deg, var(--osm-electric), var(--osm-royal));
    color: var(--osm-white) !important;
    border: 1px solid rgba(96, 165, 250, 0.35);
    padding: 14px 30px;
    font-size: 0.98rem;
}
.homepage-banner .buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--osm-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.20);
    padding: 14px 30px;
    font-size: 0.98rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
}
.homepage-banner .buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(56, 189, 248, 0.50);
    transform: translateY(-2px);
}

/* ─── Boutons Hero — style unifié sur les 3 heros : homepage
       (.pme-hero__afterward-actions), PME (.spline-hero__actions) et
       ETI (.gg-hero__actions).

       PRIMARY : bleu → cyan filled + glow cyan.
       SECONDARY : verre translucide sur fond dark (override du blanc opaque d'app.css). */
.pme-hero__afterward-actions .btn-primary,
.spline-hero__actions .btn-primary,
.audit-blobs-hero__actions .btn-primary,
.propos-hero-shader__actions .btn-primary,
.gg-hero__actions .btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(56, 189, 248, 0.55);
    box-shadow:
        0 12px 24px -8px rgba(37, 99, 235, 0.55),
        0 4px 12px -4px rgba(56, 189, 248, 0.35);
    padding: 14px 30px;
    font-size: 0.98rem;
    font-weight: 600;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.pme-hero__afterward-actions .btn-primary:hover,
.spline-hero__actions .btn-primary:hover,
.audit-blobs-hero__actions .btn-primary:hover,
.propos-hero-shader__actions .btn-primary:hover,
.gg-hero__actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 16px 32px -8px rgba(37, 99, 235, 0.65),
        0 6px 16px -4px rgba(56, 189, 248, 0.55);
    filter: brightness(1.06);
}

.pme-hero__afterward-actions .btn-secondary,
.spline-hero__actions .btn-secondary,
.audit-blobs-hero__actions .btn-secondary,
.propos-hero-shader__actions .btn-secondary,
.gg-hero__actions .btn-secondary {
    background: rgba(255, 255, 255, 0.10) !important;
    color: var(--osm-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    padding: 14px 30px;
    font-size: 0.98rem;
    font-weight: 600;
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.pme-hero__afterward-actions .btn-secondary:hover,
.spline-hero__actions .btn-secondary:hover,
.audit-blobs-hero__actions .btn-secondary:hover,
.propos-hero-shader__actions .btn-secondary:hover,
.gg-hero__actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(56, 189, 248, 0.50);
    color: var(--osm-white) !important;
    transform: translateY(-2px);
}

/* Slider partenaires — breakout du .container pour prendre 100vw */
.homepage-banner .block-partners {
    opacity: 0.85;
    padding-top: 32px;
    padding-bottom: 20px;
    border-top: 1px solid var(--osm-border);
    margin-top: 60px;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.homepage-banner .block-partners .splide {
    padding: 0 40px;
}
.homepage-banner .block-partners .logo-container img {
    filter: brightness(0) invert(1) opacity(0.7);
}

/* ============================================================
   SECTIONS génériques
   ============================================================ */

.block-ecosysteme,
.block-product,
.block-use-case-vertical,
.block-contact,
.block-faq,
.top-page-banner {
    background: transparent !important;
    color: var(--osm-white);
    position: relative;
}

.block-ecosysteme .overtitle,
.block-product .overtitle,
.block-use-case-vertical .overtitle,
.block-contact .overtitle,
.block-faq .overtitle {
    color: var(--osm-cyan) !important;
}

.block-ecosysteme h2,
.block-ecosysteme .title,
.block-product h2,
.block-product .title,
.block-use-case-vertical h2,
.block-use-case-vertical .title,
.block-contact h2,
.block-contact .title,
.block-faq h2,
.block-faq .title {
    color: var(--osm-white);
    font-family: var(--osm-ff-heading);
}
.block-ecosysteme p,
.block-product p,
.block-use-case-vertical p,
.block-contact p,
.block-faq p {
    color: var(--osm-gray);
}

/* ─── Gallery4 (pattern shadcnblocks vanilla) — carousel Cas d'usage ─── */
.gallery4 {
    /* padding vertical réduit pour rapprocher du bloc sécurité qui suit */
    padding: 64px 0 56px;
    position: relative;
}
.gallery4__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}
.gallery4__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 56px;
}
.gallery4__intro { flex: 1 1 auto; max-width: 720px; }
/* Eyebrow harmonisé (comme .gg-eyebrow, plain-text cyan) */
.gallery4 .overtitle {
    display: inline-block;
    color: var(--osm-cyan) !important;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
}
.gallery4 .title {
    font-family: var(--osm-ff-heading);
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 700;
    color: var(--osm-white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.45), 0 4px 24px rgba(10,14,39,0.55);
}
.gallery4 .title span {
    /* Aligné sur .pricing-credits__title span — texte peint en dégradé bleu → cyan */
    background: linear-gradient(135deg, #2563EB, #38BDF8);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    display: inline-block;
    line-height: 1.15;
}
.gallery4__lead {
    color: var(--osm-gray);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    max-width: 560px;
}

/* Arrows navigation (desktop) */
.gallery4__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.gallery4__arrow {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: var(--osm-fog);
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.gallery4__arrow:hover:not(:disabled) {
    background: rgba(56, 189, 248, 0.10);
    border-color: rgba(56, 189, 248, 0.40);
    color: var(--osm-cyan);
}
.gallery4__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.gallery4__arrow:focus-visible {
    outline: 2px solid rgba(56, 189, 248, 0.55);
    outline-offset: 3px;
}

/* Track marquee — défilement CSS continu (boucle infinie).
   Les cards sont dupliquées 2× dans le PHP pour un loop seamless :
   quand translateX arrive à -50%, on est visuellement identique à 0%
   → repart de 0 sans à-coup. */
.gallery4__track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Fade doux aux extrémités pour l'illusion d'infini */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
}
.gallery4__track {
    display: flex;
    gap: 20px;
    padding: 8px 32px 24px;
    width: max-content;                             /* content-driven, pas de wrap */
    animation: gallery4-marquee 40s linear infinite;
    will-change: transform;
}
@keyframes gallery4-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
/* Pause au hover de tout le wrapper ou focus clavier d'une card */
.gallery4__track-wrapper:hover .gallery4__track,
.gallery4__track:focus-within {
    animation-play-state: paused;
}

/* Card */
.gallery4__card {
    flex-shrink: 0;
    width: min(360px, 82vw);
    height: 480px;
    scroll-snap-align: start;
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    isolation: isolate;
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.gallery4__card:hover { transform: translateY(-4px); }

.gallery4__card-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.gallery4__card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.gallery4__card:hover .gallery4__card-image { transform: scale(1.05); }

.gallery4__card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 15, 28, 0) 0%,
        rgba(10, 15, 28, 0.45) 45%,
        rgba(10, 15, 28, 0.92) 100%);
    z-index: 1;
    mix-blend-mode: multiply;
}

.gallery4__card-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px 28px 28px;
    z-index: 2;
    color: var(--osm-white);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gallery4__card-title {
    font-family: var(--osm-ff-heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.55);
}
.gallery4__card-desc {
    color: rgba(245, 247, 250, 0.85);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
    /* Line-clamp 3 lignes */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gallery4__card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--osm-cyan);
    margin-top: 4px;
}
.gallery4__card:hover .gallery4__card-cta svg {
    transform: translateX(4px);
}
.gallery4__card-cta svg { transition: transform .25s ease; }

/* Arrows + dots retirés du HTML (marquee = boucle continue).
   Sélecteurs conservés inertes au cas où le HTML les réintroduirait. */
.gallery4__nav,
.gallery4__dots { display: none; }

/* Responsive */
@media (max-width: 900px) {
    .gallery4 { padding: 48px 0 40px; }
    .gallery4__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 40px;
    }
    .gallery4__nav { display: none; }        /* Sur mobile : drag-only, pas d'arrows */
    .gallery4__card { height: 420px; }
    .gallery4__track { padding: 8px 20px 20px; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .gallery4__card,
    .gallery4__card-image,
    .gallery4__card-cta svg { transition: none; }
    .gallery4__track { animation: none; }        /* Stop la marquee */
    .gallery4__track-wrapper {
        overflow-x: auto;                        /* Scroll manuel de secours */
    }
}

/* ============================================================
   CARTES (glassmorphism)
   ============================================================ */

.product-card,
.use-case-card,
.faq-item,
.solution-card,
.plan-card {
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.18), rgba(15, 19, 48, 0.55));
    border: 1px solid var(--osm-border);
    border-radius: var(--osm-radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 20px 40px -20px rgba(0, 0, 0, 0.60),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.product-card:hover,
.use-case-card:hover,
.faq-item:hover,
.solution-card:hover {
    transform: translateY(-4px);
    border-color: var(--osm-border-hi);
    box-shadow:
        0 30px 60px -20px rgba(56, 189, 248, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.product-card h3,
.use-case-card h3,
.faq-item h3 {
    color: var(--osm-white);
    font-family: var(--osm-ff-heading);
    font-weight: 700;
}
.product-card .benefits li,
.use-case-card ul li {
    color: var(--osm-gray);
    line-height: 1.6;
}
.product-card .benefits li::marker { color: var(--osm-cyan); }

/* Placeholder/video-container (les zones d'image) */
.product-card .video-container,
.product-card .image-container,
.use-case-card .video-container,
.use-case-card .image-container {
    border-radius: var(--osm-radius);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}

/* ============================================================
   BADGES PILL
   ============================================================ */

.badge, .tag,
.wp-badge, .pill,
.plan-card .badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: var(--osm-ff-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, var(--osm-electric), var(--osm-cyan));
    color: var(--osm-white);
    box-shadow: 0 8px 20px -8px rgba(56, 189, 248, 0.55);
}
.badge--secondary,
.pill--secondary {
    background: transparent;
    border: 1px solid var(--osm-border-hi);
    color: var(--osm-cyan);
    box-shadow: none;
}

/* ============================================================
   FORMULAIRE CONTACT (Contact Form 7)
   ============================================================ */

.block-contact .container,
.wpcf7-form {
    color: var(--osm-white);
}
.wpcf7-form label,
.wpcf7-form .form-label {
    color: var(--osm-fog);
    font-family: var(--osm-ff-heading);
    font-weight: 500;
    font-size: 0.9rem;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    background: rgba(15, 19, 48, 0.60);
    border: 1px solid var(--osm-border);
    border-radius: 14px;
    color: var(--osm-white);
    padding: 14px 18px;
    font-family: var(--osm-ff-body);
    font-size: 0.95rem;
    transition: border-color .2s ease, background .2s ease;
    width: 100%;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--osm-cyan);
    background: rgba(15, 19, 48, 0.85);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder { color: var(--osm-gray-2); }

.wpcf7-form .wpcf7-submit,
.wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, var(--osm-electric), var(--osm-royal));
    color: var(--osm-white);
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    font-family: var(--osm-ff-heading);
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.60);
    transition: transform .2s ease, box-shadow .2s ease;
}
.wpcf7-form .wpcf7-submit:hover,
.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -10px rgba(56, 189, 248, 0.70);
}

/* ============================================================
   FAQ
   ============================================================ */

.block-faq { padding: 80px 0; position: relative; }
.block-faq::before {
    content: "";
    position: absolute;
    top: 30%; right: -10%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.faq-item {
    padding: 20px 28px;
    margin-bottom: 12px;
}
.faq-item h3, .faq-item .question {
    color: var(--osm-white);
    font-size: 1.05rem;
    font-weight: 600;
}
.faq-item .answer, .faq-item p {
    color: var(--osm-gray);
}

/* ─── FAQ Feature197 : accordion 2 colonnes + image switcher ─── */
.faq-feature .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.faq-feature__intro {
    text-align: center;
    max-width: 780px;
    /* +40px de respiration avant la première question (fix chevauchement) */
    margin: 0 auto 96px;
}
/* Eyebrow harmonisé (comme .gg-eyebrow) */
.faq-feature .overtitle {
    color: var(--osm-cyan) !important;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    display: inline-block;
}
.faq-feature .title {
    font-family: var(--osm-ff-heading);
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 700;
    color: var(--osm-white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.45), 0 4px 24px rgba(10,14,39,0.55);
}

/* Layout pleine largeur (image preview retirée) — 1 colonne desktop et mobile */
.faq-feature__grid {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

/* ── Colonne accordéon ── */
.faq-feature__accordion {
    display: flex;
    flex-direction: column;
}
.faq-feature__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color .25s ease;
}
.faq-feature__item.is-open {
    border-bottom-color: rgba(56, 189, 248, 0.35);
}
.faq-feature__trigger {
    all: unset;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 22px 0;
    cursor: pointer;
    transition: color .25s ease;
}
.faq-feature__question {
    margin: 0;
    font-family: var(--osm-ff-heading);
    font-size: 0.98rem;                     /* Réduit de 1.15rem → 0.98rem */
    font-weight: 600;
    line-height: 1.4;
    color: var(--osm-fog);
    transition: color .25s ease;
    letter-spacing: -0.005em;
    /* Une ligne sur desktop, wrap autorisé mobile via media query */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1 1 auto;
}
.faq-feature__item.is-open .faq-feature__question,
.faq-feature__trigger:hover .faq-feature__question {
    color: var(--osm-white);
}
.faq-feature__chevron {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--osm-cyan);
    transition: transform .3s cubic-bezier(.4,0,.2,1), background .25s ease;
}
.faq-feature__item.is-open .faq-feature__chevron {
    transform: rotate(180deg);
    background: rgba(56, 189, 248, 0.20);
}

/* Panel qui s'ouvre : max-height animée par JS */
.faq-feature__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.faq-feature__panel-inner {
    padding: 0 0 22px;
}
.faq-feature__answer {
    color: var(--osm-gray);
    font-size: 0.92rem;                     /* Réduit avec la question pour cohérence */
    line-height: 1.6;
    margin: 0;
}
/* Image preview + image mobile inline entièrement retirées visuellement.
   Elles restent dans le DOM (le JS les manipule sans erreur) mais sont cachées
   → layout pleine largeur, plus léger visuellement. */
.faq-feature__preview,
.faq-feature__mobile-img { display: none !important; }

/* Responsive : sur mobile on autorise le wrap des questions (parfois trop longues) */
@media (max-width: 900px) {
    .faq-feature__intro { margin-bottom: 64px; }
    .faq-feature__question {
        white-space: normal;                /* Wrap autorisé mobile */
        overflow: visible;
        text-overflow: clip;
        font-size: 0.95rem;
    }
}
@media (max-width: 560px) {
    .faq-feature__intro { margin-bottom: 48px; }
    .faq-feature__trigger { padding: 18px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .faq-feature__panel,
    .faq-feature__chevron,
    .faq-feature__preview-img,
    .faq-feature__question { transition: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */

/* ─── Footer7 (pattern shadcnblocks vanilla) ─────────────────────
       Bloc top : brand col + 3 sections
       Bloc mid : badges de confiance
       Bloc bot : copyright + crédit COQPIT (séparé par border-top) */
.footer7 {
    position: relative;
    background: linear-gradient(180deg, transparent, var(--osm-night-1) 60%);
    border-top: 1px solid var(--osm-border);
    color: var(--osm-fog);
    padding: 96px 0 40px;
}
.footer7__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ─── Bloc TOP : brand + sections ─── */
.footer7__top {
    display: flex;
    flex-direction: column;
    gap: 56px;
    justify-content: space-between;
}
@media (min-width: 900px) {
    .footer7__top {
        flex-direction: row;
        align-items: flex-start;
        gap: 80px;
    }
}

/* ─── Col gauche : brand ─── */
.footer7__brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 400px;
}
.footer7__logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--osm-white);
}
.footer7__logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.95);
}
.footer7__logo-title {
    font-family: var(--osm-ff-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--osm-white);
}
.footer7__description {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--osm-gray);
    max-width: 90%;
    margin: 0;
}
.footer7__socials {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer7__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    color: var(--osm-fog);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
    text-decoration: none;
}
.footer7__social-link:hover,
.footer7__social-link:focus-visible {
    color: var(--osm-cyan);
    background: rgba(56, 189, 248, 0.10);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
    outline: none;
}

/* ─── Col droite : 3 sections ─── */
.footer7__sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
}
@media (min-width: 640px) {
    .footer7__sections { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
@media (min-width: 1024px) {
    .footer7__sections { gap: 64px; }
}
.footer7__section-title {
    font-family: var(--osm-ff-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--osm-white);
    margin: 0 0 20px;
    letter-spacing: -0.005em;
}
.footer7__section-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer7__section-link {
    color: var(--osm-gray);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .25s ease;
}
.footer7__section-link:hover,
.footer7__section-link:focus-visible {
    color: var(--osm-cyan);
    outline: none;
}

/* ─── Badges de confiance ─── */
.footer7__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 64px 0 32px;
    padding: 32px 0;
    border-top: 1px solid var(--osm-border);
}
.footer7__trust-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    opacity: 0.75;
    transition: opacity .25s ease;
}
.footer7__trust-badge:hover { opacity: 1; }
.footer7__trust-badge img {
    max-height: 100%;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* ─── Bandeau bas : copyright + crédit ─── */
.footer7__bottom {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--osm-border);
    color: var(--osm-gray-2);
    font-size: 0.8rem;
    font-weight: 500;
}
@media (min-width: 640px) {
    .footer7__bottom { flex-direction: row; }
}
.footer7__copyright,
.footer7__credit { margin: 0; }
.footer7__credit-link {
    color: var(--osm-gray);
    text-decoration: none;
    margin-left: 6px;
    transition: color .25s ease;
}
.footer7__credit-link:hover,
.footer7__credit-link:focus-visible {
    color: var(--osm-cyan);
    outline: none;
}

/* ============================================================
   SLIDER PARTNERS
   ============================================================ */

.block-partners .slider-partners .splide__slide .logo-container img {
    filter: brightness(0) invert(1) opacity(0.65) !important;
    transition: opacity .2s ease;
}
.block-partners .slider-partners .splide__slide:hover .logo-container img {
    opacity: 1 !important;
}

/* ============================================================
   COOKIE NOTICE (CookieYes fallback)
   ============================================================ */

#cookie-notice,
.cky-consent-container,
.cky-consent-bar {
    background: rgba(10, 14, 39, 0.95) !important;
    color: var(--osm-white) !important;
    border-top: 1px solid var(--osm-border) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ============================================================
   SECTION "LA PLATEFORME" — Carousel 3 piliers
   ============================================================ */

.block-plateforme {
    position: relative;
    background: transparent;
    padding-bottom: 60px;
    overflow: hidden;
    isolation: isolate;
}

/* ─── Aurora blobs animés dans la section plateforme ─── */
.block-plateforme::before,
.block-plateforme::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: -1;
    will-change: transform, opacity;
    mix-blend-mode: screen;
}
.block-plateforme::before {
    top: 8%; left: -12%;
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 65%);
    animation: aurora-a 26s ease-in-out infinite;
}
.block-plateforme::after {
    top: 35%; right: -14%;
    width: 720px; height: 720px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.40), transparent 65%);
    animation: aurora-b 32s ease-in-out infinite;
}

@keyframes aurora-a {
    0%, 100% { transform: translate(0, 0) scale(1);       opacity: 0.55; }
    25%      { transform: translate(80px, 40px) scale(1.12); opacity: 0.75; }
    50%      { transform: translate(120px, -30px) scale(0.95); opacity: 0.60; }
    75%      { transform: translate(30px, 100px) scale(1.08); opacity: 0.80; }
}
@keyframes aurora-b {
    0%, 100% { transform: translate(0, 0) scale(1);       opacity: 0.50; }
    33%      { transform: translate(-100px, 60px) scale(1.10); opacity: 0.72; }
    66%      { transform: translate(-40px, -80px) scale(0.95); opacity: 0.62; }
}

/* Troisième aurora : sous les tabs pour souligner le showcase */
.pillars-showcase::before {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(96, 165, 250, 0.20), transparent 60%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    animation: aurora-c 24s ease-in-out infinite;
    will-change: transform, opacity;
}
@keyframes aurora-c {
    0%, 100% { transform: translateX(-50%) translateY(0)    scale(1);    opacity: 0.60; }
    50%      { transform: translateX(-40%) translateY(-30px) scale(1.15); opacity: 0.85; }
}

/* Respect prefers-reduced-motion : on stoppe toutes les animations décoratives */
@media (prefers-reduced-motion: reduce) {
    .homepage-banner.has-video-bg::before,
    .homepage-banner.has-video-bg::after,
    .block-plateforme::before,
    .block-plateforme::after,
    .pillars-showcase::before {
        animation: none;
    }
}

/* ─── App preview : image flottante qui se fond vers le titre section 2 ─── */
.block-plateforme .app-preview {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 0;
    z-index: 1;
    pointer-events: none;
}
.block-plateforme .app-preview__frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 40px 80px -30px rgba(0, 0, 0, 0.70),
        0 0 60px -20px rgba(56, 189, 248, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}
.block-plateforme .app-preview__frame img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 460px;
    object-fit: cover;
    object-position: center top;
}
/* Glow lumineux derrière l'image (orange gauche + bleu droite comme la reference) */
.block-plateforme .app-preview__glow {
    position: absolute;
    top: 20%;
    width: 40vw;
    height: 60vh;
    max-width: 700px;
    max-height: 500px;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}
.block-plateforme .app-preview__glow--left {
    left: -10%;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.55), transparent 65%);
}
.block-plateforme .app-preview__glow--right {
    right: -10%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.65), transparent 65%);
}
/* Fondu bas : dégradé transparent-vers-fond qui "avale" le bas de l'image */
.block-plateforme .app-preview__fade {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(180deg, transparent 0%, var(--osm-night-1) 100%);
    z-index: 3;
    pointer-events: none;
}
@media (max-width: 780px) {
    .block-plateforme .app-preview { padding: 40px 20px 0; }
    .block-plateforme .app-preview__frame img { max-height: 260px; }
    .block-plateforme .app-preview__fade { bottom: -20px; height: 120px; }
    .block-plateforme .app-preview__glow { opacity: 0.35; }
}

/* Intro (overtitle + titre) au-dessus du carousel */
.block-plateforme .zp-intro {
    position: relative;
    padding: 40px 0 40px;
    text-align: center;
    z-index: 2;
}
.block-plateforme .zp-intro .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}
/* Eyebrow harmonisé avec .gg-eyebrow (PME/ETI) : texte cyan simple,
   sans pilule / background / border. */
.block-plateforme .zp-intro .overtitle {
    color: var(--osm-cyan) !important;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-block;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
}
.block-plateforme .zp-intro .title {
    font-family: var(--osm-ff-heading);
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.20;
    letter-spacing: -0.02em;
    margin: 0;
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.45),
        0 4px 24px rgba(10, 14, 39, 0.55);
}
.block-plateforme .zp-intro .title span {
    /* Même gradient que le H1 du hero (sky → cyan) pour la cohérence globale */
    background: linear-gradient(135deg, var(--osm-sky), var(--osm-cyan));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.35));
}

/* ─── Showcase 3 piliers avec forme vidéo ─── */
.pillars-showcase {
    position: relative;
    padding: 20px 0 8px;
}
.pillars-showcase .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Frame : shape distinctive avec chamfers TR + BL */
.showcase-frame {
    position: relative;
    min-height: 560px;
    background: rgba(10, 14, 39, 0.60);
    /* Chamfers : gros coin coupé en haut-droite et bas-gauche */
    clip-path: polygon(
        24px 0,
        calc(100% - 120px) 0,
        100% 120px,
        100% calc(100% - 24px),
        calc(100% - 24px) 100%,
        120px 100%,
        0 calc(100% - 120px),
        0 24px
    );
    -webkit-clip-path: polygon(
        24px 0,
        calc(100% - 120px) 0,
        100% 120px,
        100% calc(100% - 24px),
        calc(100% - 24px) 100%,
        120px 100%,
        0 calc(100% - 120px),
        0 24px
    );
    overflow: hidden;
    isolation: isolate;
}

/* Zone qui contient les vidéos */
.showcase-shape {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.showcase-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
}
.showcase-video.is-active {
    opacity: 1;
}
/* Overlay sombre + tint bleu par-dessus la vidéo — renforcé pour lisibilité du texte */
.showcase-shape__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        /* Voile principal : quasi opaque à gauche (où sont les tabs + texte), s'éclaircit à droite */
        linear-gradient(90deg,
            rgba(10, 14, 39, 0.92) 0%,
            rgba(10, 14, 39, 0.78) 45%,
            rgba(10, 14, 39, 0.55) 100%),
        /* Grande zone sombre dans la moitié gauche pour appuyer le texte */
        radial-gradient(ellipse 1000px 700px at 20% 50%, rgba(10, 14, 39, 0.60), transparent 70%),
        /* Touche de bleu subtile */
        radial-gradient(ellipse 700px 500px at 80% 60%, rgba(37, 99, 235, 0.20), transparent 60%);
    pointer-events: none;
}

/* Contenu par-dessus (tabs + panels) */
.showcase-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    padding: 60px 60px 60px 60px;
    min-height: 560px;
    align-items: center;
}
@media (max-width: 1024px) {
    .showcase-content { grid-template-columns: 240px 1fr; padding: 48px; gap: 32px; }
}
@media (max-width: 780px) {
    .showcase-frame {
        min-height: 640px;
        clip-path: polygon(20px 0, calc(100% - 40px) 0, 100% 40px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 40px 100%, 0 calc(100% - 40px), 0 20px);
        -webkit-clip-path: polygon(20px 0, calc(100% - 40px) 0, 100% 40px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 40px 100%, 0 calc(100% - 40px), 0 20px);
    }
    .showcase-content { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; min-height: 640px; }
}

/* ─── Colonne gauche : tabs ─── */
.showcase-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (max-width: 780px) {
    .showcase-nav { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
    .showcase-nav::-webkit-scrollbar { display: none; }
}
.showcase-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(15, 19, 48, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: var(--osm-fog);
    cursor: pointer;
    text-align: left;
    font-family: var(--osm-ff-body);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    overflow: hidden;
    isolation: isolate;
}
/* Spotlight border qui suit le curseur */
.showcase-tab::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%),
                rgba(147, 197, 253, 0.90),
                rgba(139, 92, 246, 0.40) 30%,
                transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
}
.showcase-tab:hover::before { opacity: 1; }
/* Dot pattern qui apparaît autour du curseur */
.showcase-tab::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 2px 2px, rgba(147, 197, 253, 0.6) 1.5px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0;
    transition: opacity .5s ease;
    -webkit-mask-image: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
    mask-image: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
}
.showcase-tab:hover::after { opacity: 1; animation: dot-pulse 3s ease-in-out infinite; }
/* Enfants au-dessus des pseudo-elements */
.showcase-tab > * { position: relative; z-index: 2; }
.showcase-tab:hover {
    background: rgba(15, 19, 48, 0.75);
    border-color: rgba(56, 189, 248, 0.35);
    color: var(--osm-white);
}
.showcase-tab.is-active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(37, 99, 235, 0.30));
    border-color: rgba(56, 189, 248, 0.50);
    color: var(--osm-white);
    box-shadow: 0 12px 28px -10px rgba(56, 189, 248, 0.45);
}
.showcase-tab__icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--osm-gray);
    flex-shrink: 0;
    transition: background .3s ease, color .3s ease;
}
.showcase-tab__icon svg { width: 20px; height: 20px; }
.showcase-tab:hover .showcase-tab__icon,
.showcase-tab.is-active .showcase-tab__icon {
    background: rgba(56, 189, 248, 0.20);
    color: var(--osm-cyan);
}
.showcase-tab__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.showcase-tab__num {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--osm-gray-2);
    font-weight: 600;
}
.showcase-tab.is-active .showcase-tab__num { color: var(--osm-cyan); }
.showcase-tab__label {
    font-family: var(--osm-ff-heading);
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
}

/* ─── Dock features pleine largeur (juste sous le showcase) — 5 colonnes égales ─── */
.dock {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto 32px;         /* + 32px de respiration avant la marquee logos */
    padding: 8px 24px 0;
    position: relative;
    z-index: 3;
}
.dock-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 22px 16px 20px;
    background: rgba(15, 19, 48, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow:
        0 10px 24px -12px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--osm-fog);
    cursor: pointer;
    transform-origin: bottom center;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
    /* Le transform (scale + translateY) est piloté par JS pour la magnification — pas de transition dessus */
    will-change: transform;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
}
/* Spotlight border qui suit le curseur */
.dock-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
                rgba(147, 197, 253, 0.95),
                rgba(139, 92, 246, 0.45) 30%,
                transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
}
.dock-item:hover::before,
.dock-item:focus-visible::before { opacity: 1; }
/* Dot pattern qui apparaît autour du curseur */
.dock-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 2px 2px, rgba(147, 197, 253, 0.65) 1.5px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0;
    transition: opacity .5s ease;
    -webkit-mask-image: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
    mask-image: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
}
.dock-item:hover::after,
.dock-item:focus-visible::after { opacity: 1; animation: dot-pulse 3s ease-in-out infinite; }
/* Enfants au-dessus des pseudo-elements */
.dock-item > * { position: relative; z-index: 2; }
.dock-item:hover,
.dock-item:focus-visible {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.18), rgba(37, 99, 235, 0.24));
    border-color: rgba(56, 189, 248, 0.50);
    box-shadow:
        0 20px 40px -12px rgba(56, 189, 248, 0.50),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    outline: none;
}

.dock-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(37, 99, 235, 0.24));
    border: 1px solid rgba(56, 189, 248, 0.30);
    color: var(--osm-sky-light);
    flex-shrink: 0;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.dock-item__icon svg { width: 24px; height: 24px; }
.dock-item:hover .dock-item__icon {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(37, 99, 235, 0.45));
    border-color: rgba(56, 189, 248, 0.60);
    color: #FFFFFF;
}

.dock-item__label {
    font-family: var(--osm-ff-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--osm-fog);
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.01em;
    transition: color .25s ease;
}
.dock-item:hover .dock-item__label { color: var(--osm-white); }

@media (max-width: 900px) {
    .dock { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 560px) {
    .dock { grid-template-columns: repeat(2, 1fr); padding-top: 8px; }
    .dock-item { padding: 16px 12px 14px; }
    .dock-item__icon { width: 40px; height: 40px; }
    .dock-item__icon svg { width: 20px; height: 20px; }
    .dock-item__label { font-size: 0.72rem; }
}

/* ─── Marquee des logos partenaires — 2 rangées, sens opposés ─── */
.logos-marquee {
    position: relative;
    width: 100%;
    padding: 72px 0 64px;         /* + de respiration avant/après (dock + CTA) */
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.logos-marquee__row {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Fondu progressif aux extrémités */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logos-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-scroll 22s linear infinite;
    will-change: transform;
}
.logos-marquee__track--reverse {
    animation-direction: reverse;
    animation-duration: 26s;
}
/* Variante ligne unique : tous les logos fusionnés sur une seule rangée
   continue → durée allongée pour un défilement fluide (18 logos × 3 passes). */
.logos-marquee--single .logos-marquee__track {
    animation-duration: 45s;
}
.logos-marquee__item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    min-width: 100px;
    /* padding-right au lieu de gap → chaque item a le même écart y compris
       le dernier, ce qui rend le translateX(-50%) parfaitement seamless. */
    padding-right: 60px;
    pointer-events: none;
}
.logos-marquee__item img {
    max-height: 100%;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    /* -100%/3 = distance d'une seule passe (le contenu contient 3 passes identiques).
       En pixels : identique à l'ancien -50% avec 2 passes → vitesse visible inchangée. */
    to   { transform: translateX(calc(-100% / 3)); }
}

/* Respect prefers-reduced-motion : on stoppe le défilement */
@media (prefers-reduced-motion: reduce) {
    .logos-marquee__track { animation: none; }
}

@media (max-width: 780px) {
    .logos-marquee { padding: 48px 0 40px; gap: 16px; }
    .logos-marquee__item { height: 44px; min-width: 80px; padding-right: 40px; }
    .logos-marquee__item img { max-width: 120px; }
}

/* ─── CTA "grande entreprise" — corner-frame + filigrane glassmorphique ─── */
.grand-groupe-cta {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 48px auto 24px;      /* + 24px de respiration avec la marquee au-dessus */
    padding: 26px 40px;
    max-width: 900px;
    /* Filigrane : fond blanc translucide + blur pour faire ressortir le bouton
       (même approche que .btn-secondary du hero). */
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 0;
    border-radius: 0;
    text-decoration: none;
    color: inherit;
    /* Halo double : bleu + violet doux pour "pop" premium */
    box-shadow:
        0 10px 28px -10px rgba(37, 99, 235, 0.35),
        0 0 48px -12px rgba(139, 92, 246, 0.25);
    overflow: visible;
    transition: transform .15s ease, box-shadow .3s ease;
}
.grand-groupe-cta:hover {
    box-shadow:
        0 18px 44px -10px rgba(37, 99, 235, 0.55),
        0 0 72px -8px rgba(139, 92, 246, 0.35);
}
/* Crochets aux 4 coins (20px pour une bannière plus large) */
.grand-groupe-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(to right,  var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to right,  var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to left,   var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to left,   var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to bottom, var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to bottom, var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to top,    var(--osm-white) 1.5px, transparent 1.5px),
        linear-gradient(to top,    var(--osm-white) 1.5px, transparent 1.5px);
    background-position:
        0 0, 0 100%, 100% 0, 100% 100%,
        0 0, 100% 0, 0 100%, 100% 100%;
    background-size: 22px 22px;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity .2s ease;
}
/* Dégradé plein au hover (même palette electric → indigo → violet) */
.grand-groupe-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: linear-gradient(to right, #2563EB, #6366F1, #8B5CF6);
    opacity: 0;
    transition: opacity .3s ease;
}
.grand-groupe-cta:hover::before,
.grand-groupe-cta:focus-visible::before { opacity: 0; }
.grand-groupe-cta:hover::after,
.grand-groupe-cta:focus-visible::after  { opacity: 1; }
.grand-groupe-cta:active { transform: scale(0.99); }
.grand-groupe-cta:focus-visible { outline: none; }

.grand-groupe-cta__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}
.grand-groupe-cta__eyebrow {
    color: var(--osm-cyan);
    font-family: var(--osm-ff-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color .3s ease;
}
.grand-groupe-cta__title {
    color: var(--osm-white);
    font-family: var(--osm-ff-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
/* Au hover : eyebrow passe au blanc pour rester lisible sur dégradé plein */
.grand-groupe-cta:hover .grand-groupe-cta__eyebrow,
.grand-groupe-cta:focus-visible .grand-groupe-cta__eyebrow { color: rgba(255, 255, 255, 0.85); }

.grand-groupe-cta__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--osm-white);
    flex-shrink: 0;
    transition: transform .25s ease;
}
.grand-groupe-cta:hover .grand-groupe-cta__arrow { transform: translateX(6px); }

@media (max-width: 780px) {
    .grand-groupe-cta { padding: 22px 26px; gap: 16px; }
    .grand-groupe-cta__title { font-size: 1.05rem; }
    .grand-groupe-cta__arrow { width: 32px; height: 32px; }
    .grand-groupe-cta::before { background-size: 16px 16px; }
}

/* ─── Colonne droite : panels ─── */
.showcase-panels {
    position: relative;
    min-height: 300px;
}
.showcase-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 620px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .5s ease, transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.panel-eyebrow {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 999px;
    color: var(--osm-cyan);
    font-size: 0.70rem;
    font-family: var(--osm-ff-heading);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 24px;
    width: fit-content;
    backdrop-filter: blur(8px);
}
.panel-title {
    font-family: var(--osm-ff-heading);
    font-size: clamp(2.4rem, 4.6vw, 4rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
    /* Ombre en couches multiples pour un vrai relief lisible sur vidéo */
    text-shadow:
        0 1px 2px  rgba(0, 0, 0, 0.55),
        0 2px 10px rgba(0, 0, 0, 0.55),
        0 8px 32px rgba(10, 14, 39, 0.65);
}
.panel-title .accent {
    background: linear-gradient(135deg, #FFFFFF 0%, #60A5FA 60%, #38BDF8 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.panel-body {
    color: #F1F5F9;
    font-size: 1.10rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
    text-shadow:
        0 1px 2px  rgba(0, 0, 0, 0.60),
        0 2px 14px rgba(10, 14, 39, 0.60);
}
.panel-body strong {
    color: var(--osm-cyan);
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(56, 189, 248, 0.35), 0 1px 2px rgba(0, 0, 0, 0.60);
}
.panel-eyebrow {
    /* Renforcé pour contraste sur vidéo */
    background: rgba(10, 14, 39, 0.65);
    box-shadow: 0 4px 20px -6px rgba(0, 0, 0, 0.50);
}

/* ============================================================
   SECTION "MÉTIERS" — ROI par métier
   ============================================================ */

.block-metiers {
    position: relative;
    padding: 100px 0 100px;
    overflow: hidden;
    isolation: isolate;
}
.block-metiers::before {
    content: "";
    position: absolute;
    top: 20%; left: -10%;
    width: 700px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.20), transparent 65%);
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
    animation: aurora-a 30s ease-in-out infinite;
}
.block-metiers::after {
    content: "";
    position: absolute;
    bottom: 10%; right: -8%;
    width: 600px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.18), transparent 65%);
    filter: blur(90px);
    pointer-events: none;
    z-index: -1;
    animation: aurora-b 34s ease-in-out infinite;
}

.block-metiers .container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ─── Intro ─── */
.metiers-intro {
    text-align: center;
    max-width: 940px;
    margin: 0 auto 60px;
}
/* Eyebrow harmonisé avec .gg-eyebrow (PME/ETI) : texte cyan simple,
   sans pilule / background / border. */
.metiers-intro .overtitle {
    display: inline-block;
    color: var(--osm-cyan);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
}
.metiers-intro .title {
    font-family: var(--osm-ff-heading);
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.20;
    letter-spacing: -0.02em;
    margin: 0 auto;
    max-width: 100%;
    text-align: center !important;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.45),
        0 4px 24px rgba(10, 14, 39, 0.55);
}
.metiers-intro .title br { display: block; }
.metiers-intro .title span {
    background: linear-gradient(135deg, var(--osm-sky), var(--osm-cyan));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.35));
}

/* ─── Layout tab-list : menu vertical à gauche + panel détaillé à droite ─── */
.metiers-tabs {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    align-items: stretch;
}
@media (max-width: 900px) {
    .metiers-tabs { grid-template-columns: 1fr; gap: 20px; }
}

/* ─── Colonne gauche : menu ─── */
.metiers-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
.metiers-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.12), rgba(15, 19, 48, 0.40));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.metiers-list__item + .metiers-list__item {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.metier-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    color: var(--osm-fog);
    font-family: var(--osm-ff-body);
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
    position: relative;
}
.metier-tab::before {
    content: "";
    position: absolute;
    left: 0; top: 12px; bottom: 12px;
    width: 3px;
    background: transparent;
    border-radius: 0 4px 4px 0;
    transition: background .2s ease;
}
.metier-tab:hover {
    background: rgba(56, 189, 248, 0.06);
    color: var(--osm-white);
}
.metier-tab.is-active {
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.15), rgba(37, 99, 235, 0.05) 70%, transparent);
    color: var(--osm-white);
    padding-left: 26px;
}
.metier-tab.is-active::before {
    background: linear-gradient(180deg, var(--osm-cyan), var(--osm-sky));
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
}
.metier-tab__icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--osm-gray);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.metier-tab__icon svg { width: 20px; height: 20px; }
.metier-tab:hover .metier-tab__icon,
.metier-tab.is-active .metier-tab__icon {
    background: rgba(56, 189, 248, 0.16);
    border-color: rgba(56, 189, 248, 0.35);
    color: var(--osm-cyan);
}
.metier-tab__text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    line-height: 1.2;
}
.metier-tab__num {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--osm-gray-2);
    font-weight: 600;
    margin-bottom: 2px;
}
.metier-tab.is-active .metier-tab__num { color: var(--osm-cyan); }
.metier-tab__label {
    font-family: var(--osm-ff-heading);
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.metier-tab__arrow {
    display: inline-flex;
    align-items: center; justify-content: center;
    color: var(--osm-gray);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s ease, transform .2s ease, color .2s ease;
    flex-shrink: 0;
}
.metier-tab__arrow svg { width: 18px; height: 18px; }
.metier-tab:hover .metier-tab__arrow,
.metier-tab.is-active .metier-tab__arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--osm-cyan);
}

/* Carte total sous le menu — avec effet spotlight + dots au hover */
.metiers-total {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px 24px;
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.20) 0%, rgba(37, 99, 235, 0.28) 100%),
        radial-gradient(ellipse at top left, rgba(56, 189, 248, 0.15), transparent 70%);
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -20px rgba(56, 189, 248, 0.35);
    text-align: left;
    overflow: hidden;
    isolation: isolate;
    transition: transform .3s ease, border-color .35s ease;
}
.metiers-total:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.55);
}
.metiers-total::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%),
                rgba(147, 197, 253, 0.95),
                rgba(139, 92, 246, 0.45) 30%,
                transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
}
.metiers-total:hover::before { opacity: 1; }
.metiers-total::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 2px 2px, rgba(147, 197, 253, 0.65) 1.5px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0;
    transition: opacity .5s ease;
    -webkit-mask-image: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
    mask-image: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
}
.metiers-total:hover::after {
    opacity: 1;
    animation: dot-pulse 3s ease-in-out infinite;
}
.metiers-total > * { position: relative; z-index: 2; }
.metiers-total__label {
    color: var(--osm-cyan);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.metiers-total__value {
    font-family: var(--osm-ff-heading);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--osm-sky) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 22px rgba(96, 165, 250, 0.40));
    margin: 4px 0 2px;
}
.metiers-total__sub {
    color: var(--osm-fog);
    font-size: 0.82rem;
    font-weight: 500;
}

/* ─── Colonne droite : panels détaillés ─── */
.metiers-panels {
    position: relative;
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.18), rgba(15, 19, 48, 0.55));
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    padding: 40px 44px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
    min-height: 480px;
    overflow: hidden;
    isolation: isolate;
    transition: border-color .35s ease;
}
.metiers-panels:hover { border-color: rgba(139, 92, 246, 0.25); }
/* Spotlight border du gros panel */
.metiers-panels::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
                rgba(147, 197, 253, 0.85),
                rgba(139, 92, 246, 0.35) 30%,
                transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s ease;
}
.metiers-panels:hover::before { opacity: 1; }
/* Dot pattern reveal sur le gros panel */
.metiers-panels::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 2px 2px, rgba(59, 130, 246, 0.45) 1.5px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0;
    transition: opacity .5s ease;
    -webkit-mask-image: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
    mask-image: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
}
.metiers-panels:hover::after {
    opacity: 1;
    animation: dot-pulse 3s ease-in-out infinite;
}
@media (max-width: 640px) {
    .metiers-panels { padding: 28px 24px; }
}

.metier-panel {
    position: absolute;
    inset: 40px 44px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .45s ease, transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.metier-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
    inset: auto;
}
@media (max-width: 640px) {
    .metier-panel { inset: 28px 24px; }
    .metier-panel.is-active { inset: auto; }
}

.metier-panel__head { max-width: 640px; }
.metier-panel__eyebrow {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.30);
    border-radius: 999px;
    color: var(--osm-cyan);
    font-size: 0.70rem;
    font-family: var(--osm-ff-heading);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.metier-panel__title {
    font-family: var(--osm-ff-heading);
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 800;
    color: var(--osm-white);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
    background: linear-gradient(135deg, #FFFFFF, var(--osm-sky));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.metier-panel__desc {
    color: var(--osm-fog);
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0;
}
.metier-panel__desc strong { color: var(--osm-cyan); font-weight: 600; }

.metier-panel__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}
.metier-panel__label {
    color: var(--osm-gray);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
}

/* Stats — 3 lignes horizontales avec icon + gros chiffre + label */
.metier-panel__stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 780px) {
    .metier-panel__stats { grid-template-columns: 1fr; }
}
.metier-panel__stat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
    transition: background .25s ease, border-color .25s ease, transform .3s ease;
}
.metier-panel__stat:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-2px);
}

/* Spotlight border qui suit la souris */
.metier-panel__stat::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%),
                rgba(147, 197, 253, 0.85),
                rgba(139, 92, 246, 0.35) 30%,
                transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
}
.metier-panel__stat:hover::before { opacity: 1; }

/* Dot pattern qui apparaît autour du curseur */
.metier-panel__stat::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 2px 2px, rgba(59, 130, 246, 0.55) 1.5px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0;
    transition: opacity .5s ease;
    -webkit-mask-image: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
    mask-image: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
}
.metier-panel__stat:hover::after {
    opacity: 1;
    animation: dot-pulse 3s ease-in-out infinite;
}

/* Le contenu de la stat reste au-dessus */
.metier-panel__stat > * { position: relative; z-index: 3; }
.stat__icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.30);
    color: var(--osm-cyan);
}
.stat__icon svg { width: 18px; height: 18px; }
.metier-panel__stat--money .stat__icon {
    background: rgba(147, 197, 253, 0.16);
    border-color: rgba(147, 197, 253, 0.40);
    color: var(--osm-sky-light);
}
.stat__value {
    font-family: var(--osm-ff-heading);
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--osm-cyan), var(--osm-sky));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.25));
    white-space: nowrap;
}
.metier-panel__stat--money .stat__value {
    background: linear-gradient(135deg, #FFFFFF, var(--osm-sky-light));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 16px rgba(147, 197, 253, 0.35));
}
.stat__label {
    color: var(--osm-gray);
    font-size: 0.8rem;
    line-height: 1.35;
    font-weight: 500;
}

/* Benefits — pour les métiers qualitatifs (Dirigeant / Assistante) */
.metier-panel__benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (max-width: 780px) { .metier-panel__benefits { grid-template-columns: 1fr; } }
.metier-panel__benefit {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.20);
    border-radius: 14px;
    color: var(--osm-fog);
    font-size: 0.95rem;
    font-weight: 500;
    overflow: hidden;
    isolation: isolate;
    transition: background .25s ease, border-color .25s ease, transform .3s ease;
}
.metier-panel__benefit:hover {
    background: rgba(56, 189, 248, 0.10);
    border-color: rgba(139, 92, 246, 0.30);
    transform: translateY(-2px);
}
.metier-panel__benefit::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%),
                rgba(147, 197, 253, 0.85),
                rgba(139, 92, 246, 0.35) 30%,
                transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
}
.metier-panel__benefit:hover::before { opacity: 1; }
.metier-panel__benefit::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 2px 2px, rgba(59, 130, 246, 0.55) 1.5px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0;
    transition: opacity .5s ease;
    -webkit-mask-image: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
    mask-image: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
}
.metier-panel__benefit:hover::after {
    opacity: 1;
    animation: dot-pulse 3s ease-in-out infinite;
}
.metier-panel__benefit > * { position: relative; z-index: 3; }
.benefit__check {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 22px; height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.20);
    color: var(--osm-cyan);
}
.benefit__check svg { width: 14px; height: 14px; }

/* ============================================================
   SECTION "SÉCURITÉ" — 6 cards avec spotlight + dot pattern reveal
   ============================================================ */

.block-securite {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    isolation: isolate;
}
.block-securite::before {
    content: "";
    position: absolute;
    top: 10%; left: -10%;
    width: 700px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.18), transparent 65%);
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
    animation: aurora-a 30s ease-in-out infinite;
}
.block-securite::after {
    content: "";
    position: absolute;
    bottom: 5%; right: -12%;
    width: 640px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.15), transparent 65%);
    filter: blur(90px);
    pointer-events: none;
    z-index: -1;
    animation: aurora-b 34s ease-in-out infinite;
}
.block-securite .container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Canvas WebGL (shader plasma) injecté par shader-securite.js.
   Placé derrière .container (z-index 0) mais au-dessus des aurores (z-index -1). */
.securite-shader-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.securite-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 60px;
}
/* Eyebrow harmonisé avec .gg-eyebrow (PME/ETI) : texte cyan simple,
   sans pilule / background / border. */
.securite-intro .overtitle {
    display: inline-block;
    color: var(--osm-cyan);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
}
.securite-intro .title {
    font-family: var(--osm-ff-heading);
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 4px 24px rgba(10, 14, 39, 0.55);
}
.securite-intro .title span {
    background: linear-gradient(135deg, var(--osm-sky), var(--osm-cyan));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.35));
}
.securite-intro .subtitle { color: var(--osm-fog); font-size: 1.05rem; line-height: 1.65; margin: 0; }

/* ============================================================
   SÉCURITÉ — schéma animé à deux couches
   ============================================================ */
.securite-schema {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1140px;
    margin: 0 auto;
}

/* Container d'une couche (bord pointillé cyan) */
.securite-layer {
    position: relative;
    padding: 40px 32px 32px;
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.12), rgba(15, 19, 48, 0.30));
    border: 1.5px dashed rgba(147, 197, 253, 0.32);
    border-radius: 26px;
}

/* Badge en haut à gauche : bouclier + tag */
.securite-layer__badge {
    position: absolute;
    top: -22px;
    left: 32px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-right: 4px;
}
.securite-layer__shield {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #93C5FD;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.20), rgba(15, 19, 48, 0.85) 70%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
    animation: securite-shield-pulse 3s ease-in-out infinite;
}
.securite-layer__shield svg { width: 26px; height: 26px; }
.securite-layer__tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(180deg, rgba(15, 19, 48, 0.90), rgba(30, 58, 138, 0.85));
    border: 1px solid rgba(147, 197, 253, 0.45);
    border-radius: 999px;
    color: var(--osm-white);
    font-family: var(--osm-ff-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.securite-layer__tag sup { font-size: 0.65em; margin-right: 1px; }

@keyframes securite-shield-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(56, 189, 248, 0.30); transform: scale(1); }
    50%      { box-shadow: 0 0 30px rgba(56, 189, 248, 0.55); transform: scale(1.05); }
}

/* Grille des cartes à l'intérieur d'une couche */
.securite-layer__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 860px) { .securite-layer__cards { grid-template-columns: 1fr; } }

/* Carte interne (dashed pour reprendre le style layer) */
.securite-card {
    position: relative;
    padding: 26px 26px 24px;
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.20), rgba(15, 19, 48, 0.55));
    border: 1.5px dashed rgba(147, 197, 253, 0.28);
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    transition: transform .3s ease, border-color .3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.securite-card:hover {
    transform: translateY(-3px);
    border-color: rgba(196, 181, 253, 0.45);
}
.securite-card--app {
    background: linear-gradient(180deg, rgba(76, 29, 149, 0.20), rgba(15, 19, 48, 0.65));
}
.securite-card > * { position: relative; z-index: 2; }

/* Spotlight (bord lumineux) sur .securite-card via ::before */
.securite-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%),
                rgba(147, 197, 253, 0.85),
                rgba(139, 92, 246, 0.40) 30%,
                transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
}
.securite-card:hover::before { opacity: 1; }

/* Dot pattern reveal au hover via ::after */
.securite-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 2px 2px, rgba(147, 197, 253, 0.55) 1.5px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0;
    transition: opacity .5s ease;
    -webkit-mask-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
    mask-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
}
.securite-card:hover::after { opacity: 1; animation: dot-pulse 3s ease-in-out infinite; }

@keyframes dot-pulse {
    0%, 100% { background-image: radial-gradient(circle at 2px 2px, rgba(147, 197, 253, 0.55) 1.5px, transparent 2px); }
    50%      { background-image: radial-gradient(circle at 2px 2px, rgba(196, 181, 253, 0.65) 1.5px, transparent 2px); }
}

/* ── Couche 1 : cartes infra ── */
.securite-card--infra .securite-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
}
.securite-card--infra .securite-card__iconL {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.securite-card--infra .securite-card__iconL svg { width: 48px; height: 48px; }
/* Support des logos de marque (Azure / Scaleway) rendus en <img> à la place
   des SVG génériques — même bounding box + object-fit contain. */
.securite-card--infra .securite-card__iconL .securite-brand-img {
    max-width: 48px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.securite-card--infra .securite-card__lead {
    margin: 0;
    color: var(--osm-fog);
    font-size: 1rem;
    line-height: 1.4;
}
.securite-card--infra .securite-card__lead strong,
.securite-card--infra .securite-card__lead em {
    color: var(--osm-white);
    font-weight: 500;
    font-style: normal;
}
.securite-card--infra .securite-card__body { padding-right: 90px; }
.securite-card--infra .securite-card__key {
    margin: 0 0 4px 0;
    color: var(--osm-white);
    font-family: var(--osm-ff-heading);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.35;
    letter-spacing: -0.005em;
}
.securite-card--infra .securite-card__mono {
    margin: 0;
    color: var(--osm-gray);
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
}
.securite-card--infra .securite-card__decor {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 68px;
    height: 68px;
    z-index: 1;
    animation: securite-decor-float 6s ease-in-out infinite;
}
.securite-card--infra .securite-card__decor svg { width: 68px; height: 68px; }

@keyframes securite-decor-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* ── Couche 2 : cartes app ── */
.securite-card--app .securite-card__topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
}
.securite-card--app .securite-card__iconGroup {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.securite-card--app .securite-card__miniIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #38BDF8;
}
.securite-card--app .securite-card__miniIcon svg { width: 30px; height: 30px; }
.securite-card--app .securite-card__miniIcon--big { width: 44px; height: 44px; }
.securite-card--app .securite-card__miniIcon--big svg { width: 44px; height: 44px; }
/* Support des <img> de marque dans les mini-icônes (Osmose / Key Vault) */
.securite-card--app .securite-card__miniIcon .securite-brand-img {
    max-width: 30px;
    max-height: 30px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.securite-card--app .securite-card__miniIcon--big .securite-brand-img {
    max-width: 44px;
    max-height: 44px;
}
.securite-card--app .securite-card__title-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.securite-card--app .securite-card__h {
    margin: 0;
    color: var(--osm-white);
    font-family: var(--osm-ff-heading);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
}
.securite-card--app .securite-card__sub {
    margin: 0;
    color: var(--osm-fog);
    font-size: 0.95rem;
    line-height: 1.35;
}
.securite-card--app .securite-card__rgpd {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.securite-card--app .securite-card__rgpd svg { width: 44px; height: 44px; }

.securite-card--app .securite-card__pill {
    align-self: flex-start;
    padding: 8px 14px;
    background: linear-gradient(180deg, rgba(15, 19, 48, 0.85), rgba(30, 58, 138, 0.55));
    border: 1px solid rgba(147, 197, 253, 0.45);
    border-radius: 999px;
    color: var(--osm-white);
    font-family: var(--osm-ff-heading);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.securite-card--app .securite-card__paragraph {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.securite-card--app .securite-card__paragraph p {
    margin: 0;
    color: var(--osm-fog);
    font-size: 0.98rem;
    line-height: 1.55;
}
.securite-card--app .securite-card__paragraph strong {
    color: var(--osm-cyan);
    font-weight: 600;
}

/* Flèches animées entre les couches */
.securite-arrows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    padding: 24px 32px 24px;
    gap: 20px;
}
@media (max-width: 860px) {
    .securite-arrows { grid-template-columns: 1fr; }
    .securite-arrows > *:nth-child(2) { display: none; }
}
.securite-arrow-svg {
    width: 36px;
    height: 72px;
    color: #38BDF8;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.45));
}
.securite-arrow-line {
    animation: securite-arrow-flow 1.4s linear infinite;
}
.securite-arrow-head {
    animation: securite-arrow-head-pulse 1.4s ease-in-out infinite;
}
@keyframes securite-arrow-flow {
    from { stroke-dashoffset: 14; }
    to   { stroke-dashoffset: 0; }
}
@keyframes securite-arrow-head-pulse {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

/* Bandeau footer */
.securite-footer {
    margin-top: 32px;
    padding: 22px 32px;
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.15), rgba(76, 29, 149, 0.15));
    border: 1.5px dashed rgba(147, 197, 253, 0.28);
    border-radius: 18px;
}
.securite-footer p {
    margin: 0;
    color: var(--osm-cyan);
    font-family: var(--osm-ff-heading);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0.005em;
}

@media (max-width: 860px) {
    .securite-layer { padding: 40px 20px 24px; }
    .securite-layer__badge { left: 20px; }
    .securite-layer__cards { gap: 16px; }
    .securite-card { padding: 22px 20px; }
    .securite-card--infra .securite-card__decor { width: 48px; height: 48px; right: 12px; bottom: 12px; }
    .securite-card--infra .securite-card__decor svg { width: 48px; height: 48px; }
    .securite-card--infra .securite-card__body { padding-right: 60px; }
    .securite-card--app .securite-card__h { font-size: 1.3rem; }
    .securite-footer { padding: 18px 20px; }
    .securite-footer p { font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
    .securite-layer__shield,
    .securite-card--infra .securite-card__decor,
    .securite-arrow-line,
    .securite-arrow-head { animation: none; }
    .securite-card:hover::after { animation: none; }
}

/* ============================================================
   TITRES DE SECTION — accents span
   ============================================================
   Ancienne approche : texte en dégradé sky→cyan (peu lisible sur dark bg).
   Nouvelle approche : texte blanc + underline en dégradé identique aux boutons
   (electric blue → indigo → violet). Placée en fin de fichier pour override
   les règles précédentes par ordre de déclaration. */
h1 span,
.homepage-banner h1 span,
.block-plateforme .zp-intro .title span,
.metiers-intro .title span,
.securite-intro .title span {
    /* Aligné sur .pricing-credits__title span — texte peint en dégradé bleu → cyan,
       partagé par toutes les sections accentuées (home + intros parallax/metiers/securite). */
    background: linear-gradient(135deg, #2563EB, #38BDF8);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: none;
    display: inline-block;
    line-height: 1.15;
}

/* ============================================================
   RESET — text-shadow sur les spans à dégradé de titre
   Sans ce reset, le shadow du parent traverse le glyphe transparent
   (couleur:transparent + background-clip:text) et donne au dégradé
   un aspect gris foncé sale (visible sur "votre écosystème.", etc.)
   Placé en fin de feuille pour dominer les rules amont ; !important
   couvre les 5 titres qui hardcodent explicitement leur shadow. */
h1 span, h2 span, h3 span,
[class*="title"] span {
    text-shadow: none !important;
}

/* ============================================================
   CTAs contextuels (Sécurité PME/DSI + Steps global + Métiers)
   Les boutons eux-mêmes héritent du style .btn/.btn-primary/.btn-secondary
   du site (rectangulaire, crochets aux 4 coins). Ici on ne fait que
   positionner leurs conteneurs (centrage + marge + gap entre 2 boutons).
   ============================================================ */
/* Wrapper du bouton "Une application aussi pensée pour les DSI" (fin plateforme).
   Le bouton lui-même est un .btn.btn-primary standard (crochets aux 4 coins). */
.grand-groupe-cta-wrap {
    display: flex;
    justify-content: center;
    margin: 48px auto 24px;
}

.securite-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.metiers__cta {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

.gg-steps__global-cta {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}


/* ============================================================
   OSM CTA BANNER — composant partagé (homepage plateforme, a-propos
   filiation, éventuellement autres pages). Fond dégradé bleu-violet
   subtil sur dark, bordure discrète, motif pointillé décoratif.
   ============================================================ */
.osm-cta-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin: 72px auto 0;
    padding: 40px 36px;
    background:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.10), transparent 55%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, rgba(139, 92, 246, 0.16) 100%);
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 0;              /* rectangulaire — cohérent avec les .btn du site */
    box-shadow: 0 20px 50px -25px rgba(56, 189, 248, 0.28);
    transition:
        transform .35s cubic-bezier(.2,.7,.2,1),
        border-color .35s ease,
        box-shadow .35s ease;
    overflow: visible;             /* pour laisser sortir les crochets d'angle */
}
/* Motif pointillé subtil en fond (répliqué du screenshot) */
.osm-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(147, 197, 253, 0.10) 1px, transparent 1px);
    background-size: 14px 14px;
    pointer-events: none;
    z-index: 0;
}
/* Crochets aux 4 coins — même pattern que .btn (8 gradients pour 4 L-shapes)
   mais taille 22px pour être proportionnel à la banner (vs 15px sur les boutons). */
.osm-cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        linear-gradient(to right,  rgba(255, 255, 255, 0.85) 1.5px, transparent 1.5px),
        linear-gradient(to right,  rgba(255, 255, 255, 0.85) 1.5px, transparent 1.5px),
        linear-gradient(to left,   rgba(255, 255, 255, 0.85) 1.5px, transparent 1.5px),
        linear-gradient(to left,   rgba(255, 255, 255, 0.85) 1.5px, transparent 1.5px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 1.5px, transparent 1.5px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 1.5px, transparent 1.5px),
        linear-gradient(to top,    rgba(255, 255, 255, 0.85) 1.5px, transparent 1.5px),
        linear-gradient(to top,    rgba(255, 255, 255, 0.85) 1.5px, transparent 1.5px);
    background-position:
        0 0, 0 100%, 100% 0, 100% 100%,
        0 0, 100% 0, 0 100%, 100% 100%;
    background-size: 22px 22px;
    background-repeat: no-repeat;
    transition: opacity .35s ease;
}
/* Hover : la banner s'élève légèrement, shadow renforcée, crochets plus lumineux */
.osm-cta-banner:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow:
        0 30px 60px -20px rgba(56, 189, 248, 0.40),
        0 0 60px -10px rgba(139, 92, 246, 0.25);
}
.osm-cta-banner:hover::after { opacity: 1; }
@media (min-width: 768px) {
    .osm-cta-banner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 40px 48px;
        gap: 32px;
    }
}

.osm-cta-banner__copy {
    position: relative;
    z-index: 1;
    flex: 1;
}
.osm-cta-banner__title {
    font-family: var(--osm-ff-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin: 0 0 8px;
}
.osm-cta-banner__lead {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
    max-width: 780px;
}
.osm-cta-banner__lead strong { color: #ffffff; font-weight: 600; }

.osm-cta-banner__btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}


/* ── Lien "Intro" dans le menu principal : icon + label, accent cyan léger ── */
.menu-item--intro a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.menu-item--intro a svg {
    color: #38BDF8;
    opacity: 0.85;
    transition: opacity .25s ease, transform .5s ease;
}
.menu-item--intro a:hover svg {
    opacity: 1;
    transform: rotate(30deg);
}


/* ============================================================
   PAGES LÉGALES — mentions-legales / politique-de-confidentialite / c-g-v
   Layout minimal cohérent avec le reste du site (hero + article body).
   ============================================================ */
.page-legal {
    background: #0b0b1e;
    color: #ffffff;
    min-height: 60vh;
}

.legal-hero {
    position: relative;
    padding: 128px 0 48px;
    text-align: center;
    overflow: hidden;
}
.legal-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.20), transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.18), transparent 50%);
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}
.legal-hero__inner { position: relative; z-index: 1; }
.legal-hero__title {
    font-family: var(--osm-ff-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
}
.legal-hero__title span {
    background: linear-gradient(135deg, #2563EB, #38BDF8);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}
.legal-hero__lead {
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.02rem;
    line-height: 1.55;
}

.legal-body { padding: 32px 0 128px; }

.legal-article {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(147, 197, 253, 0.15);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
    line-height: 1.65;
}
@media (max-width: 640px) { .legal-article { padding: 28px 22px; } }

.legal-article h2 {
    font-family: var(--osm-ff-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 40px 0 12px;
}
.legal-article h2:first-child { margin-top: 0; }
.legal-article p { margin: 0 0 16px; }
.legal-article strong { color: #ffffff; font-weight: 600; }
.legal-article em { color: rgba(255, 255, 255, 0.65); font-style: italic; }
.legal-article ul {
    margin: 0 0 20px;
    padding-left: 22px;
    list-style: disc;
}
.legal-article ul li { margin: 0 0 8px; }
.legal-article a {
    color: #38BDF8;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}
.legal-article a:hover { color: #ffffff; }

/* ============================================================
   RESPONSIVE — pas d'override, on hérite du app.css
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   MOBILE — Réduction de la densité verticale.
   Sur desktop les sections respirent (padding 96-128px = 200-256px
   vertical). Sur mobile ça multiplie le scroll inutilement → on
   compacte l'espacement pour que l'utilisateur atteigne l'info plus vite.
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Sections génériques : 128px → 56px */
    .gg-section { padding: 56px 0 !important; }
    .propos-savoir,
    .testimonials,
    .gg-formation,
    .gg-cta,
    .block-faq,
    .block-securite,
    .block-plateforme,
    .block-ecosysteme,
    .block-product,
    .block-metiers,
    .pme-connectivity,
    .audit-section,
    .audit-livrables-cont { padding-top: 48px !important; padding-bottom: 48px !important; }

    /* Marges de titres/intros de section réduites */
    .gg-section__title,
    .zp-intro .title,
    .securite-intro .title,
    .metiers-intro .title { margin-bottom: 24px !important; }

    .gg-eyebrow, .overtitle { margin-bottom: 8px !important; }

    /* Intros de section : moins de marge basse */
    .pricing-unified__intro,
    .gg-showcase__intro { margin-bottom: 36px !important; }

    /* Grilles de cards : gap réduit */
    .impact-stats__grid { gap: 16px !important; }
}
