/* ============================================================
   PAGE GRAND GROUPE — landing produit /grand-groupe/
   ============================================================
   Palette locale (aligne le brief tout en cohabitant avec le thème dark) :
     - Fond            #0A0F1C (couvert par le body global)
     - Surface carte   #0F172A + bord rgba(255,255,255,0.08)
     - Text primaire   #F5F7FA · secondaire #94A3B8
     - Accent          gradient #2563EB → #38BDF8
   Motion : reveal fade + translateY 16px @ 0.55s, cascade via --reveal-delay.
   Respect prefers-reduced-motion (fin de fichier). */

/* Les variables --gg-* sont partagées avec .page-pme (bloc Showcase réutilisé)
   et .gg-architecture (section réutilisée en homepage). */
.page-grand-groupe,
.page-pme,
.gg-architecture {
    --gg-bg:          #0A0F1C;
    --gg-surface:     #0F172A;
    --gg-border:      rgba(255, 255, 255, 0.08);
    --gg-border-hi:   rgba(255, 255, 255, 0.14);
    --gg-text:        #F5F7FA;
    --gg-text-sub:    #94A3B8;
    --gg-accent-a:    #2563EB;
    --gg-accent-b:    #38BDF8;

    position: relative;
    color: var(--gg-text);
}

/* Layout de page complète (bg + padding-top pour header fixe) — appliqué UNIQUEMENT
   sur ETI et PME. La homepage inclut section-steps.php (classe .gg-architecture)
   et ne doit PAS hériter d'un fond différent qui la ferait sortir du reste du site. */
.page-grand-groupe,
.page-pme {
    padding-top: 100px;
    background: var(--gg-bg);
}

.gg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Section base */
.gg-section {
    position: relative;
    padding: 128px 0;
}
@media (max-width: 900px) {
    .gg-section { padding: 88px 0; }
    .gg-container { padding: 0 20px; }
}

.gg-eyebrow {
    display: inline-block;
    color: var(--gg-accent-b);
    font-family: var(--osm-ff-heading);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 20px;
}

.gg-section__title {
    font-family: var(--osm-ff-heading);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 700;
    color: var(--gg-text);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 auto 48px;
    max-width: 820px;
    /* Tous les titres de section sont centrés par défaut */
    text-align: center;
}
/* Modifier ancien (conservé pour compat) */
.gg-section__title--centered { text-align: center; }
.gg-section__title span {
    /* Style unifié aligné sur .pricing-credits__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;
    display: inline-block;
    line-height: 1.15;
    filter: none;
}

/* Alternance de fond entre sections pour rythmer */
.gg-tension,
.gg-caps,
.gg-cta      { background: #0D1424; }

/* ─── Reveal on scroll ─── */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0s);
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════
   1. HERO
   ════════════════════════════════════════════════════════════ */
.gg-hero {
    position: relative;
    padding: 128px 0 96px;
    overflow: hidden;
    isolation: isolate;
    /* Fond très sombre uni (comme la référence) */
    background: #0A0F1C;
}

/* ── Data-grid background (rempli par data-grid-hero.js) ── */
.gg-hero__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    padding: 0;
    overflow: hidden;
    pointer-events: none; /* la souris passe à travers ; JS écoute window */
}
/* Cellule — teinte bleue subtile, bord fin.
   Le "mouvement" du pulse vient d'une box-shadow qui éclot en cyan puis
   se calme, avec un délai par cellule → onde radiale depuis le centre. */
.gg-hero__grid .grid-cell {
    background-color: rgba(30, 58, 138, 0.35);
    border: 1px solid rgba(147, 197, 253, 0.10);
    border-radius: 2px;
    opacity: var(--opacity-min, 0.30);
    box-shadow:
        0 0 0 0 rgba(56, 189, 248, 0),
        inset 0 0 0 0 rgba(147, 197, 253, 0);
    animation-name: gg-cell-pulse;
    animation-timing-function: cubic-bezier(.4, 0, .6, 1);
    animation-iteration-count: infinite;
    animation-direction: alternate;
    will-change: opacity, box-shadow;
}
@keyframes gg-cell-pulse {
    from {
        opacity: var(--opacity-min, 0.30);
        box-shadow:
            0 0 0 0 rgba(56, 189, 248, 0),
            inset 0 0 0 0 rgba(147, 197, 253, 0);
    }
    to {
        opacity: var(--opacity-max, 0.75);
        /* Halo extérieur cyan + inner-glow bleu clair → cellule qui "respire" */
        box-shadow:
            0 0 14px 2px rgba(56, 189, 248, 0.45),
            0 0 22px 4px rgba(37, 99, 235, 0.28),
            inset 0 0 6px 0 rgba(147, 197, 253, 0.35);
    }
}
/* Mouse-follow glow — gros halo cyan qui éclaire les cellules voisines
   (c'est ce qui donne toute la profondeur, comme sur la référence) */
.gg-hero__grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(56, 189, 248, 0.45) 0%,
                rgba(37, 99, 235, 0.28) 25%,
                rgba(37, 99, 235, 0.10) 50%,
                transparent 72%);
    opacity: var(--mouse-glow-opacity, 0);
    pointer-events: none;
    mix-blend-mode: screen;
    transition: opacity .3s ease;
}
/* Vignette légère aux 4 coins pour un rendu premium et centrer le regard */
.gg-hero__grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        transparent 40%,
        rgba(10, 15, 28, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Contenu par-dessus la grille */
.gg-hero__content {
    position: relative;
    z-index: 1;
}
.gg-hero .gg-container { max-width: 960px; text-align: center; }

@media (max-width: 780px) {
    .gg-hero__grid { padding: 20px; }
    .gg-hero__grid::after { background-size: 240px 240px; }
}
@media (prefers-reduced-motion: reduce) {
    .gg-hero__grid .grid-cell { animation: none !important; }
    .gg-hero__grid::after { opacity: 0 !important; }
}

.gg-hero__title {
    font-family: var(--osm-ff-heading);
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--gg-text);
    line-height: 1.05;
    letter-spacing: -0.028em;
    margin: 0 0 28px;
}
.gg-hero__title span {
    /* Style unifié aligné sur .pricing-credits__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;
    display: inline-block;
    line-height: 1.15;
    filter: none;
}
.gg-hero__lead {
    color: var(--gg-text-sub);
    font-size: 1.18rem;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 40px;
}
.gg-hero__actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
@media (max-width: 620px) {
    .gg-hero { padding: 96px 0 72px; }
    .gg-hero__lead { font-size: 1.05rem; }
    .gg-hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin: 0 auto; }
}

/* ════════════════════════════════════════════════════════════
   2. LE CONSTAT — tension cards
   ════════════════════════════════════════════════════════════ */
/* ═════ Bento grid ═════
   3 colonnes × auto-rows 22rem, cartes de tailles variables (span 1 ou 2).
   Hover : le contenu remonte de 40px + l'icône rétrécit à 75% + le CTA
   apparaît par le bas. */
.gg-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 22rem;
    gap: 16px;
    margin-top: 8px;
}
.gg-bento__card {
    position: relative;
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-radius: 14px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.10);
    /* Inset glow blanc depuis le bas (comme la référence Magic UI) */
    box-shadow: 0 -20px 80px -20px rgba(255, 255, 255, 0.12) inset;
    transform: translateZ(0);
    isolation: isolate;
}
.gg-bento__card--span-2 { grid-column: span 2; }

/* Background décoratif (SVG pattern) */
.gg-bento__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity .3s ease;
}
.gg-bento__card:hover .gg-bento__bg { opacity: 1; }
.gg-bento__bg-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Contenu : remonte de 40px au hover pour laisser place au CTA */
.gg-bento__content {
    position: relative;
    z-index: 2;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px;
    transition: transform .3s ease;
    transform: translateZ(0);
}
.gg-bento__card:hover .gg-bento__content {
    transform: translateY(-40px);
}

/* Icône : origine gauche, scale 75% au hover */
.gg-bento__icon {
    color: rgba(191, 219, 254, 0.85);
    margin-bottom: 8px;
    transform-origin: left center;
    transition: transform .3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}
.gg-bento__icon svg { width: 48px; height: 48px; }
.gg-bento__card:hover .gg-bento__icon { transform: scale(0.75); }

.gg-bento__title {
    font-family: var(--osm-ff-heading);
    font-size: 1.28rem;
    font-weight: 600;
    color: rgba(228, 228, 231, 1);
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0;
}
.gg-bento__desc {
    color: rgba(163, 163, 163, 1);
    font-size: 0.96rem;
    line-height: 1.55;
    max-width: 520px;
    margin: 0;
}

/* CTA : caché en bas au repos (translateY 40px + opacity 0),
   glisse en position au hover */
.gg-bento__cta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 16px;
    z-index: 3;
    transform: translateY(40px);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    pointer-events: none;
}
.gg-bento__card:hover .gg-bento__cta {
    transform: translateY(0);
    opacity: 1;
}
.gg-bento__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--osm-ff-heading);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: background .2s ease;
    pointer-events: auto;
}
.gg-bento__link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}
.gg-bento__link svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}
.gg-bento__link:hover svg { transform: translateX(3px); }

/* Overlay subtil qui s'assombrit au hover */
.gg-bento__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: transparent;
    transition: background .3s ease;
}
.gg-bento__card:hover .gg-bento__overlay {
    background: rgba(38, 38, 38, 0.12);
}

/* ═════ Spotlight border + dot-pattern reveal ═════
   Mêmes effets que sur les cards de la homepage (security-card, showcase-tab…),
   pilotés par card-spotlight.js qui set --mx / --my au mousemove. */
.gg-bento__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(320px 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;
}
.gg-bento__card:hover::before { opacity: 1; }

.gg-bento__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(260px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
    mask-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), black 10%, transparent 70%);
}
.gg-bento__card:hover::after { opacity: 1; animation: dot-pulse 3s ease-in-out infinite; }

/* Responsive : dessous 900px on stack tout en une colonne */
@media (max-width: 900px) {
    .gg-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .gg-bento__card,
    .gg-bento__card--span-2 { grid-column: 1; min-height: 320px; }
}

/* ════════════════════════════════════════════════════════════
   3. ARCHITECTURE — bloc signature
   ════════════════════════════════════════════════════════════ */
.gg-arch { position: relative; }

.gg-arch__flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
    margin-top: 8px;
}
/* Bloc Architecture (ETI) ET Accompagnement (section-steps) : centrage
   complet du header (eyebrow inline-block + titre + claim) via text-align
   sur le container direct. Le grid des cartes et le layout absolute du
   schéma restent indifférents (display: grid / position: absolute ignorent
   text-align). */
.gg-arch > .gg-container,
.gg-steps .gg-container {
    text-align: center;
}

/* Homepage : réduire l'espace entre bloc Sécurité et bloc Accompagnement.
   .gg-section a par défaut padding: 128px 0. On coupe le padding-top de
   .gg-steps sur la homepage uniquement (body.home) pour rapprocher visuellement
   la section-steps de la section-securite qui la précède. */
body.home .gg-steps {
    padding-top: 32px;
    padding-bottom: 80px;
}

/* Variante 4 étapes : grid 4 cartes + 3 connecteurs */
.gg-arch__flow--steps {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
}
@media (max-width: 1200px) {
    .gg-arch__flow--steps {
        grid-template-columns: 1fr auto 1fr;
        row-gap: 16px;
    }
    .gg-arch__flow--steps > .gg-arch__connector:nth-of-type(4) { display: none; }
}
@media (max-width: 960px) {
    .gg-arch__flow,
    .gg-arch__flow--steps {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 0;
    }
    .gg-arch__flow--steps > .gg-arch__connector:nth-of-type(4) { display: block; }
}

/* Cover step 4 (variant --d) — rose/violet warm accent */
.gg-arch__card--d .gg-arch__card-cover {
    background:
        radial-gradient(circle at 40% 30%, rgba(244, 114, 182, 0.55), transparent 60%),
        linear-gradient(135deg, #0F172A 0%, #831843 50%, #BE185D 100%);
}

/* ─── Schema (schéma animé) — plus utilisé mais gardé au cas où ─── */
.gg-schema {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    gap: 8px;
    margin: 32px auto 0;
    max-width: 1080px;
    padding: 40px 0 32px;
    color: var(--gg-accent-b);
}
@media (max-width: 900px) {
    .gg-schema {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ── Colonnes gauche & droite : cloud + logos flottants ── */
.gg-schema__side {
    position: relative;
    width: 100%;
    max-width: 260px;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.gg-schema__cloud {
    position: relative;
    width: 220px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45));
    animation: gg-schema-cloud-float 6s ease-in-out infinite;
}
.gg-schema__cloud svg { width: 100%; height: auto; display: block; }
@keyframes gg-schema-cloud-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.gg-schema__side--right .gg-schema__cloud { animation-delay: -3s; }

/* Logos flottants au-dessus du cloud */
.gg-schema__floaters {
    position: absolute;
    left: 0; right: 0;
    top: 0;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.gg-schema__logo {
    position: absolute;
    height: 42px;
    width: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
    animation: gg-schema-logo-bob 4s ease-in-out infinite;
}
/* Positions distinctes pour chaque logo */
.gg-schema__logo--f1 { left: 50%; top: 30px; transform: translateX(-50%); height: 56px; }

.gg-schema__logo--r1 { left: 18%; top: 8px;  height: 40px; }
.gg-schema__logo--r2 { left: 50%; top: 0;    transform: translateX(-50%); height: 46px; animation-delay: -0.8s; }
.gg-schema__logo--r3 { right: 18%; top: 8px; height: 40px; animation-delay: -1.6s; }
.gg-schema__logo--r4 { left: 32%; top: 56px; height: 34px; animation-delay: -2.4s; }
.gg-schema__logo--r5 { right: 32%; top: 56px; height: 34px; animation-delay: -3.2s; }

@keyframes gg-schema-logo-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.gg-schema__logo--f1,
.gg-schema__logo--r2 {
    animation-name: gg-schema-logo-bob-centered;
}
@keyframes gg-schema-logo-bob-centered {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-8px); }
}

/* Label sous le cloud */
.gg-schema__label {
    position: absolute;
    left: 0; right: 0;
    bottom: -32px;
    text-align: center;
    color: var(--gg-text);
    font-family: var(--osm-ff-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.gg-schema__label--main {
    color: var(--gg-accent-b);
    font-size: 1.05rem;
    bottom: -40px;
}

/* ── Flèches animées ── */
.gg-schema__arrow {
    color: var(--gg-accent-b);
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.55));
}
.gg-schema__arrow svg {
    width: 120px;
    height: 24px;
    display: block;
}
.gg-schema__arrow-line {
    animation: gg-schema-arrow-flow 1.6s linear infinite;
}
.gg-schema__arrow-head {
    animation: gg-schema-arrow-head 1.6s ease-in-out infinite;
}
@keyframes gg-schema-arrow-flow {
    from { stroke-dashoffset: 14; }
    to   { stroke-dashoffset: 0; }
}
@keyframes gg-schema-arrow-head {
    0%, 100% { opacity: 0.7; }
    50%      { opacity: 1; }
}
@media (max-width: 900px) {
    .gg-schema__arrow svg { transform: rotate(90deg); }
}

/* ── Cube central Osmose ── */
.gg-schema__center {
    position: relative;
    width: 280px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gg-schema__cube {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: gg-schema-cube-float 5s ease-in-out infinite;
}
@keyframes gg-schema-cube-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* Base cyan (piédestal) */
.gg-schema__cube-base {
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    width: 210px;
    height: 40px;
}
.gg-schema__cube-base-front {
    position: absolute;
    inset: 12px 0 0 0;
    background: linear-gradient(180deg, #38BDF8 0%, #0284C7 100%);
    border-radius: 4px;
    box-shadow: 0 30px 40px -10px rgba(56, 189, 248, 0.55);
}
.gg-schema__cube-base-right {
    position: absolute;
    inset: 0 0 0 6px;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.35), rgba(2, 132, 199, 0.15));
    border-radius: 4px;
    filter: blur(2px);
    z-index: -1;
}

/* Corps glass — box translucide avec highlight top */
.gg-schema__cube-glass {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(15, 23, 42, 0.35) 0%,
            rgba(30, 58, 138, 0.20) 40%,
            rgba(56, 189, 248, 0.10) 100%);
    border: 1.5px solid rgba(147, 197, 253, 0.35);
    border-top-color: rgba(191, 219, 254, 0.55);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow:
        inset 0 20px 40px -20px rgba(147, 197, 253, 0.35),
        inset 0 -8px 30px -10px rgba(56, 189, 248, 0.35),
        0 30px 60px -20px rgba(0, 0, 0, 0.60);
}

/* Molécule à l'intérieur */
.gg-schema__cube-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38BDF8;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.85));
}
.gg-schema__molecule {
    width: 140px;
    height: 140px;
    animation: gg-schema-molecule-rotate 12s linear infinite;
    transform-origin: 60px 60px;
}
@keyframes gg-schema-molecule-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
/* Chaque nœud pulse (animation delegated par nth-child) */
.gg-schema__molecule-nodes circle {
    animation: gg-schema-node-pulse 2.4s ease-in-out infinite;
    transform-origin: center;
}
.gg-schema__molecule-nodes circle:nth-child(1) { animation-delay: 0s; }
.gg-schema__molecule-nodes circle:nth-child(2) { animation-delay: 0.3s; }
.gg-schema__molecule-nodes circle:nth-child(3) { animation-delay: 0.6s; }
.gg-schema__molecule-nodes circle:nth-child(4) { animation-delay: 0.9s; }
.gg-schema__molecule-nodes circle:nth-child(5) { animation-delay: 1.2s; }
.gg-schema__molecule-nodes circle:nth-child(6) { animation-delay: 1.5s; }
.gg-schema__molecule-nodes circle:nth-child(7) { animation-delay: 1.8s; }
@keyframes gg-schema-node-pulse {
    0%, 100% { opacity: 0.65; }
    50%      { opacity: 1; }
}

@media (max-width: 900px) {
    .gg-schema__side { max-width: 220px; height: 180px; }
    .gg-schema__cloud { width: 180px; }
    .gg-schema__center { width: 240px; height: 220px; }
    .gg-schema__cube { width: 170px; height: 170px; }
    .gg-schema__molecule { width: 120px; height: 120px; transform-origin: 60px 60px; }
}

@media (prefers-reduced-motion: reduce) {
    .gg-schema__cloud,
    .gg-schema__logo,
    .gg-schema__cube,
    .gg-schema__molecule,
    .gg-schema__arrow-line,
    .gg-schema__arrow-head,
    .gg-schema__molecule-nodes circle { animation: none; }
}

/* ─── WorkflowBuilderCard adaptée aux 3 briques architecture ─── */
.gg-arch__card {
    position: relative;
    background: var(--gg-surface);
    border: 1px solid var(--gg-border);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    transition: transform .3s cubic-bezier(.25, 1, .5, 1), box-shadow .3s ease;
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.35);
}
.gg-arch__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.55);
}

/* Cover (image) */
.gg-arch__card-cover {
    position: relative;
    height: 144px;
    width: 100%;
    overflow: hidden;
}
.gg-arch__card--a .gg-arch__card-cover {
    background:
        radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.55), transparent 60%),
        linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #2563EB 100%);
}
.gg-arch__card--b .gg-arch__card-cover {
    background:
        radial-gradient(circle at 70% 40%, rgba(139, 92, 246, 0.55), transparent 60%),
        linear-gradient(135deg, #0F172A 0%, #4C1D95 50%, #7C3AED 100%);
}
.gg-arch__card--c .gg-arch__card-cover {
    background:
        radial-gradient(circle at 50% 20%, rgba(147, 197, 253, 0.60), transparent 60%),
        linear-gradient(135deg, #0F172A 0%, #1E40AF 50%, #38BDF8 100%);
}
.gg-arch__card-cover-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.30) 0%, transparent 60%);
    pointer-events: none;
}
.gg-arch__card-cover-num {
    position: absolute;
    top: 12px;
    left: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--osm-ff-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Body : header + details */
.gg-arch__card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.gg-arch__card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.gg-arch__card-heading { display: flex; flex-direction: column; min-width: 0; }
.gg-arch__card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gg-text-sub);
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gg-arch__card-sep { opacity: 0.5; }
.gg-arch__card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.gg-arch__card-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22C55E;                     /* green-500 pour "Actif" */
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.55);
}
.gg-arch__cardTitle {
    font-family: var(--osm-ff-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gg-text);
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 4px 0 0;
}
.gg-arch__card-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--gg-text-sub);
    cursor: pointer;
    flex-shrink: 0;
    transition: color .2s ease, background .2s ease;
}
.gg-arch__card-more:hover {
    color: var(--gg-text);
    background: rgba(255, 255, 255, 0.05);
}

/* Details : hidden by default, expand au hover
   grid-template-rows 0fr → 1fr = animation smooth de la hauteur */
.gg-arch__card-details {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
    transition: grid-template-rows .3s ease, opacity .3s ease, margin-top .3s ease;
}
.gg-arch__card-details-inner { min-height: 0; overflow: hidden; }
.gg-arch__card:hover .gg-arch__card-details {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 12px;
}
.gg-arch__cardDesc {
    color: var(--gg-text-sub);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 0 10px;
}
.gg-arch__card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.gg-arch__card-tag {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: var(--gg-text);
    font-family: var(--osm-ff-heading);
    font-size: 0.72rem;
    font-weight: 500;
}

/* Footer : avatars + actions */
.gg-arch__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--gg-border);
}
.gg-arch__card-avatars,
.gg-arch__card-actions {
    display: flex;
    align-items: center;
}
.gg-arch__card-avatars > * + *,
.gg-arch__card-actions > * + * {
    margin-left: -8px;                          /* overlap type stack Slack */
}
.gg-arch__card-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--gg-surface);
    background: linear-gradient(135deg, #2563EB, #6366F1);
    color: #FFFFFF;
    font-family: var(--osm-ff-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.gg-arch__card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--gg-surface);
    color: #FFFFFF;
    /* background défini inline par carte */
}
.gg-arch__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

/* Badge générique (réutilisé dans architecture + trust) */
.gg-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--gg-border);
    border-radius: 999px;
    color: var(--gg-text);
    font-family: var(--osm-ff-heading);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.gg-badge--flag {
    background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(56,189,248,0.10));
    border-color: rgba(56, 189, 248, 0.40);
    color: var(--gg-text);
}

/* Connecteur animé — desktop horizontal / mobile vertical */
.gg-arch__connector {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    padding: 0 12px;
}
.gg-arch__connector::before {
    content: "";
    position: absolute;
    left: 12px; right: 12px;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(to right,
        rgba(37, 99, 235, 0.10),
        rgba(56, 189, 248, 0.55) 20%,
        rgba(56, 189, 248, 0.55) 80%,
        rgba(37, 99, 235, 0.10));
}
.gg-pulse {
    position: absolute;
    top: 50%; left: 12px;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #38BDF8 0%, rgba(56,189,248,0.4) 55%, transparent 75%);
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.85));
    animation: gg-pulse-h 2.4s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes gg-pulse-h {
    0%   { left: 12px;                       opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
    10%  {                                    opacity: 1; transform: translate(-50%, -50%) scale(1); }
    90%  {                                    opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { left: calc(100% - 12px);           opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
}
@media (max-width: 960px) {
    .gg-arch__connector {
        width: 100%;
        height: 80px;
        padding: 12px 0;
    }
    .gg-arch__connector::before {
        left: 50%;
        right: auto;
        top: 12px;
        bottom: 12px;
        width: 2px;
        height: auto;
        transform: translateX(-50%);
        background: linear-gradient(to bottom,
            rgba(37, 99, 235, 0.10),
            rgba(56, 189, 248, 0.55) 20%,
            rgba(56, 189, 248, 0.55) 80%,
            rgba(37, 99, 235, 0.10));
    }
    .gg-pulse {
        top: 12px;
        left: 50%;
        animation-name: gg-pulse-v;
    }
    @keyframes gg-pulse-v {
        0%   { top: 12px;                       opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
        10%  {                                    opacity: 1; transform: translate(-50%, -50%) scale(1); }
        90%  {                                    opacity: 1; transform: translate(-50%, -50%) scale(1); }
        100% { top: calc(100% - 12px);           opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
    }
}

/* ─── Schéma d'architecture Osmose : image + 3 bulles ancrées ────────
       Le layout desktop utilise position:absolute pour ancrer chaque
       bulle sur son point d'intérêt (nuage haut-gauche, cube central,
       nuage bas-droite). En mobile (< 900px), tout devient flex column :
       image en haut, bulles empilées dessous avec numéros. */
.gg-arch__schema {
    position: relative;
    max-width: 1180px;
    margin: 32px auto 0;
    padding: 0 8px;
}
.gg-arch__schema-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    user-select: none;
    -webkit-user-drag: none;
    /* Glow subtil derrière l'image pour l'intégrer au fond dark */
    filter: drop-shadow(0 30px 60px rgba(37, 99, 235, 0.18)) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

/* Bulles = même design que les badges de PME connectivité :
   fond #030712 + border cyan + inset glow cyan.
   Ajoute maintenant les MÊMES effets d'hover que les autres cartes du site
   (bord lumineux spotlight ::before + dot pattern reveal ::after — voir dock-item,
   metier-card, gg-bento__card, glow-card). Piloté par card-spotlight.js qui
   met à jour --mx/--my au mouvement de la souris. */
.gg-arch__bubble {
    position: absolute;
    z-index: 3;
    width: min(320px, 30vw);
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: #030712;
    border: 1px solid rgba(147, 197, 253, 0.25);
    border-radius: 12px;
    box-shadow:
        0 24px 48px -20px rgba(0, 0, 0, 0.55),
        0 8px 20px -12px rgba(56, 189, 248, 0.30),
        inset 0 0 30px rgba(56, 189, 248, 0.08);
    text-align: left;
    isolation: isolate;
    overflow: hidden;
}

/* Bord lumineux spotlight qui suit la souris (::before) */
.gg-arch__bubble::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;
}
.gg-arch__bubble:hover::before,
.gg-arch__bubble:focus-visible::before { opacity: 1; }

/* Dot pattern qui apparaît autour du curseur (::after) */
.gg-arch__bubble::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%);
}
.gg-arch__bubble:hover::after,
.gg-arch__bubble:focus-visible::after { opacity: 1; }

/* Les enfants passent au-dessus des pseudo-elements */
.gg-arch__bubble > * { position: relative; z-index: 2; }

/* Trait de connexion — remplace l'ancien ::before qui hébergeait le trait.
   C'est maintenant un vrai <span class="gg-arch__bubble-line"> injecté dans
   le markup PHP → libère ::before pour le spotlight border. */
.gg-arch__bubble-line {
    position: absolute;
    display: block;
    z-index: 1;
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--gg-accent-b));
    opacity: 0.6;
    pointer-events: none;
}

/* Reveal on scroll — override pour bulles positionnées absolute :
   les .gg-arch__bubble--* ont chacune un transform positionnel (translateX(-50%)
   pour --c, translateY(-50%) pour --tl). Le reveal-on-scroll générique écraserait
   ces transforms avec translateY(16px→0) → bulles mal placées. On force donc un
   reveal opacity-only qui ne touche pas au transform. Overflow visible pour que
   le trait de connexion (.gg-arch__bubble-line) déborde de la bulle. */
.gg-arch__bubble {
    overflow: visible;                    /* trait de connexion doit sortir */
}
.gg-arch__bubble.reveal-on-scroll,
.gg-arch__bubble.reveal-on-scroll.is-visible {
    transform: unset;                    /* les règles --tl/--c/--br écrivent leur propre transform */
}
.gg-arch__bubble.reveal-on-scroll             { opacity: 0; transition: opacity .55s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0s); }
.gg-arch__bubble.reveal-on-scroll.is-visible  { opacity: 1; }
/* Line de connexion : SVG-like via ::before qui dessine un trait
   vers le point d'ancrage. On l'oriente selon l'anchor. */
.gg-arch__bubble::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--gg-accent-b));
    opacity: 0.6;
}

.gg-arch__bubble-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gg-accent-a), var(--gg-accent-b));
    color: #FFFFFF;
    font-family: var(--osm-ff-heading);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 6px 16px -6px rgba(56, 189, 248, 0.6);
}

.gg-arch__bubble-body { min-width: 0; }
.gg-arch__bubble-loc {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gg-accent-b);
    margin-bottom: 4px;
    font-weight: 600;
}
.gg-arch__bubble-title {
    font-family: var(--osm-ff-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--gg-text);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.gg-arch__bubble-desc {
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--gg-text-sub);
    margin: 0 0 10px;
}
.gg-arch__bubble-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.gg-arch__bubble-tag {
    font-size: 0.7rem;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--gg-text-sub);
    letter-spacing: 0.02em;
}

/* ─── Ancrage bulle 1 (EN DESSOUS du nuage haut-gauche, dans la moitié inférieure gauche) ─── */
.gg-arch__bubble--tl {
    top: 55%;
    left: -40px;
    transform: translateY(-50%);
}
/* Trait de connexion pointant vers le HAUT (vers le nuage haut-gauche) */
.gg-arch__bubble--tl .gg-arch__bubble-line {
    top: -55px;
    right: 42px;
    transform: rotate(20deg);
    transform-origin: bottom;
    background: linear-gradient(0deg, transparent, var(--gg-accent-b));
}

/* ─── Ancrage bulle 2 (AU-DESSUS du cube central) ─── */
.gg-arch__bubble--c {
    top: -12px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}
/* Trait vertical pointant vers le BAS (vers le cube).
   top:100% → point de départ au bord bas EXACT de la bulle, zéro chevauchement. */
.gg-arch__bubble--c .gg-arch__bubble-line {
    top: 100%;
    bottom: auto;
    left: 50%;
    height: 60px;
    width: 2px;
    background: linear-gradient(180deg, var(--gg-accent-b), transparent);
    transform: translateX(-50%);
}

/* ─── Ancrage bulle 3 (bottom-right → inchangé) ─── */
.gg-arch__bubble--br {
    bottom: -12px;
    right: -40px;
}
.gg-arch__bubble--br .gg-arch__bubble-line {
    top: -55px;
    left: 42px;
    transform: rotate(25deg);
    transform-origin: bottom;
}

/* ─── Animation « respiration » de l'image et pulse cyan des bulles ───
       Les bulles gardent aussi la même animation reveal-on-scroll que les
       autres cartes du site (fade + translateY, gérée par reveal-on-scroll.js).
       Ici on ajoute juste, une fois révélées, une pulsation subtile du glow
       cyan sur box-shadow — n'entre pas en conflit avec les transform
       positionnels de chaque anchor. */
@keyframes gg-arch-float-img {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.gg-arch__schema-img {
    animation: gg-arch-float-img 5s ease-in-out infinite;
}

/* Pulse cyan bien visible : shadow blue plus intense + inset glow, border cyan. */
@keyframes gg-arch-bubble-pulse {
    0%, 100% {
        box-shadow:
            0 24px 48px -20px rgba(0, 0, 0, 0.55),
            0 8px 20px -12px rgba(56, 189, 248, 0.25),
            inset 0 0 20px rgba(56, 189, 248, 0.05);
        border-color: rgba(147, 197, 253, 0.25);
    }
    50% {
        box-shadow:
            0 24px 48px -20px rgba(0, 0, 0, 0.55),
            0 18px 40px -8px rgba(56, 189, 248, 0.75),
            inset 0 0 30px rgba(56, 189, 248, 0.20);
        border-color: rgba(56, 189, 248, 0.65);
    }
}
/* Ne démarre la pulsation qu'une fois révélé (is-visible ajouté par
   reveal-on-scroll.js), avec délais échelonnés pour un effet asynchrone.
   animation-delay > 0 laisse le temps à la transition reveal (0.55s) de
   finir d'abord — évite tout conflit visuel avec le fade-in initial. */
.gg-arch__bubble.reveal-on-scroll.is-visible {
    animation: gg-arch-bubble-pulse 2.4s ease-in-out infinite;
    animation-delay: 0.6s;
}
.gg-arch__bubble--c.reveal-on-scroll.is-visible  { animation-delay: 1.6s; }
.gg-arch__bubble--br.reveal-on-scroll.is-visible { animation-delay: 2.4s; }

@media (prefers-reduced-motion: reduce) {
    .gg-arch__schema-img,
    .gg-arch__bubble.reveal-on-scroll.is-visible { animation: none; }
}

/* Responsive : sous 1100px on rentre les bulles dans le container */
@media (max-width: 1100px) {
    .gg-arch__bubble--tl { left: 0; }
    .gg-arch__bubble--br { right: 0; }
    .gg-arch__bubble     { width: min(300px, 32vw); }
}
/* Mobile : bulles empilées sous l'image, plus de position absolute */
@media (max-width: 900px) {
    .gg-arch__schema {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 640px;
    }
    .gg-arch__schema-img { margin: 0 auto; max-width: 90%; }
    .gg-arch__bubble {
        position: static;
        width: 100%;
        transform: none;
    }
    .gg-arch__bubble::before { display: none; }
}

.gg-arch__claim {
    text-align: center;
    max-width: 780px;
    margin: 56px auto 0;
    padding: 26px 32px;
    background: linear-gradient(135deg, rgba(37,99,235,0.10), rgba(56,189,248,0.06));
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 18px;
    color: var(--gg-text-sub);
    font-family: var(--osm-ff-heading);
    font-size: 1.08rem;
    line-height: 1.5;
    letter-spacing: 0.005em;
}
.gg-arch__claim strong {
    color: var(--gg-text);
    font-weight: 700;
}

/* ════════════════════════════════════════════════════════════
   4. CAPACITÉS — 6 briques autour de l'image
   ════════════════════════════════════════════════════════════ */
/* Layout desktop : grid 3 colonnes × 2 rangées.
   Image dans la colonne du milieu, span 2 rows → centrée verticalement.
     ┌────────┬────────┬────────┐
     │ Cap 1  │ IMAGE  │ Cap 2  │
     ├────────┤ (span  ├────────┤
     │ Cap 3  │  2)    │ Cap 4  │
     └────────┴────────┴────────┘ */
.gg-caps__layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    align-items: stretch;
    max-width: 1240px;
    margin: 0 auto;
}
.gg-caps__layout > .gg-cap:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.gg-caps__layout > .gg-cap:nth-of-type(2) { grid-column: 3; grid-row: 1; }
.gg-caps__layout > .gg-cap:nth-of-type(3) { grid-column: 1; grid-row: 2; }
.gg-caps__layout > .gg-cap:nth-of-type(4) { grid-column: 3; grid-row: 2; }

/* Image centrale — span 2 rows, centrée verticalement */
.gg-caps__image {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    isolation: isolate;
}
.gg-caps__image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-width: 440px;
    object-fit: contain;
    animation: gg-visu-float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(37, 99, 235, 0.35));
}
.gg-caps__image-halo {
    position: absolute;
    inset: 6%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(37, 99, 235, 0.32) 0%,
        rgba(56, 189, 248, 0.20) 35%,
        transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    animation: gg-visu-halo 8s ease-in-out infinite;
}
@keyframes gg-visu-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes gg-visu-halo {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%      { opacity: 0.9; transform: scale(1.06); }
}

/* Carte capacité */
.gg-cap {
    padding: 28px 26px;
    background: var(--gg-surface);
    border: 1px solid var(--gg-border);
    border-radius: 18px;
    transition: border-color .3s ease, transform .3s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.gg-cap:hover {
    border-color: var(--gg-border-hi);
    transform: translateY(-2px);
}
.gg-cap__head {
    display: flex;
    align-items: baseline;
    gap: 14px;
}
.gg-cap__num {
    font-family: var(--osm-ff-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gg-accent-b);
    letter-spacing: 0.18em;
    flex-shrink: 0;
}
.gg-cap__title {
    font-family: var(--osm-ff-heading);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--gg-text);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0;
}
.gg-cap__tag {
    color: var(--gg-text-sub);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0;
    margin-left: 4px;
}
.gg-cap__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gg-cap__list li {
    position: relative;
    padding-left: 22px;
    color: var(--gg-text-sub);
    font-size: 0.94rem;
    line-height: 1.55;
}
.gg-cap__list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gg-accent-a), var(--gg-accent-b));
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.45);
}
.gg-cap__list strong { color: var(--gg-text); font-weight: 600; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .gg-caps__layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 20px;
    }
    .gg-caps__layout > .gg-cap:nth-of-type(1) { grid-column: 1; grid-row: 1; }
    .gg-caps__layout > .gg-cap:nth-of-type(2) { grid-column: 2; grid-row: 1; }
    .gg-caps__image                            { grid-column: 1 / -1; grid-row: 2; padding: 0; }
    .gg-caps__image img                        { max-width: 380px; }
    .gg-caps__layout > .gg-cap:nth-of-type(3) { grid-column: 1; grid-row: 3; }
    .gg-caps__layout > .gg-cap:nth-of-type(4) { grid-column: 2; grid-row: 3; }
}
@media (max-width: 620px) {
    .gg-caps__layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gg-caps__layout > * {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    .gg-caps__image img { max-width: 280px; }
    .gg-cap { padding: 22px 20px; }
    .gg-cap__title { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
    .gg-caps__image img,
    .gg-caps__image-halo { animation: none; }
}

/* ════════════════════════════════════════════════════════════
   5. SHOWCASE — mockup tilté 3D + strip partenaires
   Adaptation vanilla du hero Tailark : perspective 3D + skewX +
   masks fade + radial glows rotés.
   ════════════════════════════════════════════════════════════ */
.gg-showcase {
    position: relative;
    padding: 128px 0 0;
    overflow: hidden;
    isolation: isolate;
    background: #0D1424;
}

/* Radial glows en fond, rotés -45deg, positionnés top-left */
.gg-showcase__glows {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
    contain: strict;
}
.gg-showcase__glows::before,
.gg-showcase__glows::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
}
.gg-showcase__glows::before {
    width: 35rem;
    height: 80rem;
    transform: translateY(-350px) rotate(-45deg);
    background: radial-gradient(68.54% 68.72% at 55.02% 31.46%,
        rgba(147, 197, 253, 0.12) 0%,
        rgba(56, 189, 248, 0.04) 50%,
        rgba(147, 197, 253, 0) 80%);
}
.gg-showcase__glows::after {
    width: 14rem;
    height: 80rem;
    transform: translate(3%, -50%) rotate(-45deg);
    background: radial-gradient(50% 50% at 50% 50%,
        rgba(147, 197, 253, 0.10) 0%,
        rgba(147, 197, 253, 0.03) 80%,
        transparent 100%);
}
@media (max-width: 900px) { .gg-showcase__glows { display: none; } }

/* Intro (titre + lead + CTA) */
.gg-showcase__intro {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 720px;
    padding-top: 0;
}
.gg-showcase__title {
    /* Aligné sur .gg-section__title (référence "Trois formats pour former") */
    font-family: var(--osm-ff-heading);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 700;
    color: var(--gg-text);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 auto 24px;
    text-align: center;
}
.gg-showcase__title span {
    /* Style unifié aligné sur .pricing-credits__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;
    display: inline-block;
    line-height: 1.15;
    filter: none;
}
.gg-showcase__lead {
    color: var(--gg-text-sub);
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0 auto 32px;
    max-width: 620px;
}

/* Mockup wrapper — fade-to-transparent en bas */
.gg-showcase__mockup {
    position: relative;
    z-index: 5;
    max-width: 88rem;
    margin: -4rem auto 0;
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
            mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

/* Perspective + fade-to-transparent à droite */
.gg-showcase__perspective {
    perspective: 1200px;
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
            mask-image: linear-gradient(to right, black 50%, transparent 100%);
    margin-right: -14rem;
    padding-left: 14rem;
}
@media (max-width: 1200px) {
    .gg-showcase__perspective { margin-right: -6rem; padding-left: 6rem; }
}
@media (max-width: 900px) {
    .gg-showcase__perspective { margin-right: 0; padding-left: 0; }
}

/* Bascule 3D verticale */
.gg-showcase__tilt { transform: rotateX(20deg); }

/* Shear horizontal .36rad ≈ 20.6° (skewX) */
.gg-showcase__skew {
    position: relative;
    height: 44rem;
    transform: skewX(0.36rad);
}
@media (max-width: 1200px) { .gg-showcase__skew { height: 34rem; } }
@media (max-width: 900px)  { .gg-showcase__skew { height: 22rem; transform: none; } }
@media (max-width: 900px)  { .gg-showcase__tilt { transform: rotateX(8deg); } }

.gg-showcase__skew img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    border: 1px solid rgba(147, 197, 253, 0.18);
    box-shadow:
        0 40px 100px -20px rgba(37, 99, 235, 0.35),
        0 -20px 80px -20px rgba(255, 255, 255, 0.08) inset;
    background: var(--gg-surface);
}

/* ═════ AnimatedCard (dataviz avec animations au hover) ═════
   Positionnée en bas-gauche entre le mockup et les trust cards.
   Toutes les animations utilisent le cubic-bezier (0.6, 0.6, 0, 1)
   de la référence, durée 500ms. */
.gg-showcase__insight {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: flex-start;
    padding: 32px 40px 0;
    /* Remonte la carte franchement pour qu'elle chevauche le bas du mockup
       et limite l'espace entre l'image et les 5 trust cards en dessous. */
    margin-top: -20rem;
}
@media (max-width: 900px) { .gg-showcase__insight { justify-content: center; padding: 24px 20px 0; margin-top: -10rem; } }

.animated-card {
    --acard-main: #38BDF8;                    /* cyan theme */
    --acard-sec:  #8B5CF6;                    /* violet (bout du dégradé bouton) */
    --acard-grid: rgba(147, 197, 253, 0.10);
    position: relative;
    width: 356px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #000000;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.animated-card__visual {
    position: relative;
    height: 180px;
    width: 356px;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

/* Layer 1 — barres, translate -50% au hover */
.animated-card__layer1 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    transform: translateX(0);
    transition: transform .5s cubic-bezier(.6, .6, 0, 1);
    will-change: transform;
}
.animated-card__layer1 svg { display: block; width: 712px; }
.animated-card:hover .animated-card__layer1 { transform: translateX(-50%); }

/* Layer 2 — line + area + fade droite (translate +100% au hover) */
.animated-card__layer2 {
    position: absolute;
    top: 0;
    left: -1px;
    height: 100%;
    width: 356px;
}
.animated-card__layer2 svg { display: block; height: 100%; width: 356px; }
.animated-card__fade {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(to right, transparent 0%, #000000 15%);
    transition: transform .5s cubic-bezier(.6, .6, 0, 1);
    will-change: transform;
}
.animated-card:hover .animated-card__fade { transform: translateX(100%); }

/* Layer 3 — badges top-right (fade au hover) */
.animated-card__layer3 {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 6px;
}
.animated-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 1;
    transition: opacity .3s ease;
}
.animated-card__badge span:last-child {
    margin-left: 4px;
    color: #FFFFFF;
    font-family: var(--osm-ff-heading);
    font-size: 10px;
    line-height: 1;
}
.animated-card__dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.animated-card:hover .animated-card__badge { opacity: 0; }

/* Layer 4 — popup infobulle (slide depuis -100% au hover) */
.animated-card__layer4 {
    position: absolute;
    inset: 0;
    z-index: 7;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px;
    transform: translateY(-100%);
    transition: transform .5s cubic-bezier(.6, .6, 0, 1);
    will-change: transform;
    pointer-events: none;
}
.animated-card:hover .animated-card__layer4 { transform: translateY(0); }

.animated-card__popup {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .5s cubic-bezier(.6, .6, 0, 1) .1s;
}
.animated-card:hover .animated-card__popup { opacity: 1; }
.animated-card__popup-title {
    margin: 0 0 3px;
    color: #FFFFFF;
    font-family: var(--osm-ff-heading);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}
.animated-card__popup-desc {
    margin: 0;
    color: rgba(163, 163, 163, 1);
    font-size: 11px;
    line-height: 1.25;
}

/* Ellipse gradient */
.animated-card__ellipse {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Grid pattern avec masque radial */
.animated-card__grid {
    position: absolute;
    inset: 0;
    z-index: 4;
    background:
        linear-gradient(to right,  var(--acard-grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--acard-grid) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center;
    opacity: 0.7;
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
            mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
    pointer-events: none;
}

/* Body : titre + description */
.animated-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.animated-card__title {
    margin: 0;
    color: #FFFFFF;
    font-family: var(--osm-ff-heading);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.animated-card__desc {
    margin: 0;
    color: rgba(163, 163, 163, 1);
    font-size: 0.85rem;
    line-height: 1.45;
}

/* ═════ Trust cards — même pattern que .securite-card / .gg-bento__card
   (spotlight border + dot pattern reveal, piloté par card-spotlight.js) ═════ */
.gg-showcase__trust {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding: 24px 40px 96px;
    /* Tout petit espace entre le graphique animé et les 5 cartes trust */
    margin-top: 20px;
}
@media (max-width: 1024px) { .gg-showcase__trust { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  {
    .gg-showcase__trust { grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 16px 40px; margin-top: 12px; }
    /* Cartes trust compactes sur mobile : le min-height 220px triplait la
       hauteur du bloc (5 cartes × 220 = long scroll). On dimensionne au contenu. */
    .gg-showcase__trust .glow-card { min-height: 0; padding: 16px 14px; gap: 8px; }
}

.glow-card {
    position: relative;
    padding: 26px 22px;
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.15), rgba(15, 19, 48, 0.55));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    isolation: isolate;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.glow-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.30);
    box-shadow: 0 30px 60px -20px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.glow-card > * { position: relative; z-index: 2; }

/* Spotlight border (::before) — même règle que .securite-card */
.glow-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(280px 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;
}
.glow-card:hover::before { opacity: 1; }

/* Dot pattern reveal (::after) — même règle que .securite-card */
.glow-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: radial-gradient(circle at 2px 2px, rgba(59, 130, 246, 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%);
}
.glow-card:hover::after { opacity: 1; animation: dot-pulse 3s ease-in-out infinite; }

/* Halo bloc désormais inutile (compat markup) — on le neutralise */
.glow-card__halo { display: none; }

/* Contenu interne (icône + texte) */
.glow-card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}
.glow-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.20), rgba(139, 92, 246, 0.25));
    border: 1px solid rgba(139, 92, 246, 0.30);
    color: #93C5FD;
    flex-shrink: 0;
}
.glow-card__icon svg { width: 22px; height: 22px; }
.glow-card__text { display: flex; flex-direction: column; gap: 6px; }
.glow-card__title {
    font-family: var(--osm-ff-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--gg-text);
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0;
}
.glow-card__desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--gg-text-sub);
    margin: 0;
}

/* ════════════════════════════════════════════════════════════
   5. AVANT / APRÈS (règles héritées — plus utilisées mais gardées
   au cas où un vieux markup y ferait référence)
   ════════════════════════════════════════════════════════════ */
.gg-cmp {
    max-width: 960px;
    margin: 0 auto;
    background: var(--gg-surface);
    border: 1px solid var(--gg-border);
    border-radius: 22px;
    overflow: hidden;
}
.gg-cmp__row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.15fr;
    align-items: stretch;
    border-bottom: 1px solid var(--gg-border);
}
.gg-cmp__row:last-child { border-bottom: 0; }

.gg-cmp__row--head {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(37, 99, 235, 0.12));
    font-family: var(--osm-ff-heading);
    font-weight: 700;
    color: var(--gg-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}
.gg-cmp__cell {
    padding: 20px 24px;
    color: var(--gg-text-sub);
    font-size: 0.96rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 10px;
}
.gg-cmp__cell--label {
    color: var(--gg-text);
    font-family: var(--osm-ff-heading);
    font-weight: 600;
}
.gg-cmp__cell--con {
    color: var(--gg-text-sub);
    opacity: 0.85;
}
.gg-cmp__cell--hero {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(56, 189, 248, 0.08));
    color: var(--gg-text);
    font-weight: 500;
    border-left: 1px solid rgba(56, 189, 248, 0.20);
}
.gg-cmp__row--head .gg-cmp__cell--hero {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.28), rgba(56, 189, 248, 0.20));
    color: #FFFFFF;
}
.gg-cmp__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    font-family: var(--osm-ff-heading);
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
}
.gg-cmp__mark--x {
    background: rgba(148, 163, 184, 0.12);
    color: #94A3B8;
}
.gg-cmp__mark--v {
    background: linear-gradient(135deg, var(--gg-accent-a), var(--gg-accent-b));
    color: #FFFFFF;
}
@media (max-width: 780px) {
    .gg-cmp__row { grid-template-columns: 1fr; }
    .gg-cmp__row--head { display: none; }
    .gg-cmp__cell {
        border-bottom: 1px solid var(--gg-border);
        padding: 14px 20px;
    }
    .gg-cmp__cell--label {
        padding-top: 20px;
        border-bottom: 0;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: var(--gg-accent-b);
    }
    .gg-cmp__cell--hero {
        border-left: 0;
        border-top: 1px solid rgba(56, 189, 248, 0.20);
    }
    .gg-cmp__row:last-child .gg-cmp__cell:last-child { border-bottom: 0; }
}

/* ════════════════════════════════════════════════════════════
   MESH HERO — Shader Showcase pattern (audit-et-formation)
   Port vanilla shadcnblocks : MeshGradient CSS animé + PulsingBorder
   + rotating text + filtres SVG (glass/gooey/glow). Palette Osmose.
   ════════════════════════════════════════════════════════════ */
.mesh-hero {
    position: relative;
    display: block;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #1e1b4b;                           /* violet-950 comme .audit-section */
    margin-top: -100px;
    padding-top: 0;
    color: #FFFFFF;
}
.mesh-hero__defs {
    position: absolute;
    inset: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ─── Photo de fond (couche 0, derrière tout) ─── */
/* Très fondue : blur épais + désaturation + brightness basse. La photo
   devient une texture ambiante, presque invisible. Ce sont les couleurs
   du mesh qui portent le hero. */
.mesh-hero__photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        url('/wp-content/uploads/osmose/Octogone-72.png') center/cover no-repeat;
    filter: brightness(0.35) saturate(0.3) blur(24px);
    /* transform scale pour masquer les bords que le blur rend transparents */
    transform: scale(1.12);
    opacity: 0.55;
    pointer-events: none;
}

/* ─── Mesh gradient CSS animé (couche solide) ─── */
.mesh-hero__mesh {
    position: absolute;
    inset: 0;
    z-index: 1;                                    /* au-dessus de la photo */
    pointer-events: none;
}
.mesh-hero__mesh--solid {
    /* Couleurs à pleine opacité qui portent le hero. Plus de multiply
       qui assombrissait tout, plus d'atténuation d'opacité. Rayons
       agrandis pour du color-bleeding plus étalé et hypnotique. */
    background:
        radial-gradient(circle at 20% 30%,  #8B5CF6 0%, transparent 55%),   /* violet-500 */
        radial-gradient(circle at 80% 40%,  #6366F1 0%, transparent 50%),   /* indigo-500 */
        radial-gradient(circle at 60% 80%,  #38BDF8 0%, transparent 55%),   /* cyan accent */
        radial-gradient(circle at 30% 70%,  #A855F7 0%, transparent 60%),   /* violet-500 clair */
        radial-gradient(circle at 90% 90%,  #2563EB 0%, transparent 55%);   /* blue-600 */
    background-size: 220% 220%;
    animation: mh-mesh-move 14s ease-in-out infinite;
    filter: blur(50px) saturate(1.2);
    mix-blend-mode: screen;
    opacity: 1;
}
/* Deuxième couche de mesh qui bouge en contre-sens → mouvement + riche */
.mesh-hero__mesh--solid::after {
    content: '';
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 70% 20%, #C084FC 0%, transparent 45%),    /* violet-400 */
        radial-gradient(circle at 20% 80%, #22D3EE 0%, transparent 45%),    /* cyan-400 */
        radial-gradient(circle at 50% 50%, #6366F1 0%, transparent 50%);    /* indigo-500 */
    background-size: 180% 180%;
    animation: mh-mesh-move-reverse 18s ease-in-out infinite;
    filter: blur(60px);
    mix-blend-mode: screen;
    opacity: 0.85;
}
.mesh-hero__mesh--wire {
    background:
        linear-gradient(rgba(56, 189, 248, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.08) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px;
    opacity: 0.40;
    animation: mh-wire-drift 40s linear infinite;
    mix-blend-mode: screen;
}
@keyframes mh-mesh-move {
    0%, 100% { background-position: 0% 50%,   100% 50%,   50% 0%,   0% 100%,   50% 50%; }
    25%      { background-position: 100% 30%, 20% 60%,    80% 80%,  40% 20%,   0% 80%;  }
    50%      { background-position: 100% 50%, 0% 50%,     50% 100%, 100% 0%,   80% 30%; }
    75%      { background-position: 30% 100%, 70% 20%,    20% 40%,  90% 90%,   50% 100%;}
}
@keyframes mh-mesh-move-reverse {
    0%, 100% { background-position: 100% 100%, 0% 0%,    50% 50%; }
    50%      { background-position: 0% 0%,    100% 100%, 50% 50%; }
}
@keyframes mh-wire-drift {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 60px 60px, 60px 60px; }
}

/* ─── Header interne : logo + nav + login gooey ─── */
.mesh-hero__header {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px clamp(20px, 4vw, 48px);
    padding-top: 124px;                            /* évite le header WP global */
    color: #FFFFFF;
}
.mesh-hero__logo {
    display: inline-flex;
    align-items: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: transform .3s ease, filter .3s ease;
}
.mesh-hero__logo:hover {
    transform: scale(1.06);
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.65));
}
.mesh-hero__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mesh-hero__nav a {
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--osm-ff-heading);
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}
.mesh-hero__nav a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}
/* Gooey login button (2 boutons qui se rejoignent via feGaussianBlur+ColorMatrix) */
.mesh-hero__login-group {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 32px;
}
.mesh-hero__login,
.mesh-hero__login-arrow {
    background: #FFFFFF;
    color: #000000;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--osm-ff-heading);
    font-size: 0.75rem;
    font-weight: 400;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease, transform .3s ease;
}
.mesh-hero__login { padding: 0 24px; z-index: 2; position: relative; }
.mesh-hero__login-arrow {
    position: absolute;
    right: 0;
    padding: 0 10px;
    transform: translateX(-40px);
    z-index: 1;
}
.mesh-hero__login-group:hover .mesh-hero__login-arrow { transform: translateX(-76px); }
.mesh-hero__login-group:hover .mesh-hero__login,
.mesh-hero__login-group:hover .mesh-hero__login-arrow { background: rgba(255, 255, 255, 0.92); }

/* ─── Contenu principal bas-gauche (aligné à gauche) ─── */
.mesh-hero__main {
    position: absolute;
    bottom: 40px;
    left: clamp(20px, 4vw, 48px);
    right: clamp(20px, 4vw, 48px);
    max-width: 720px;
    z-index: 20;
    text-align: left;
}
/* Titre H1 blanc, aligné à gauche, sans soulignement gradient */
.mesh-hero__title {
    font-family: var(--osm-ff-heading);
    font-size: clamp(2.25rem, 4.8vw, 4rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    text-align: left;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.65);
    opacity: 0;
    animation: mh-fade-up .8s ease .40s forwards;
}

/* Description */
.mesh-hero__desc {
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.72);
    max-width: 640px;
    margin: 0 0 32px;
    opacity: 0;
    animation: mh-fade-up .6s ease .80s forwards;
}

/* Actions : réutilise .btn.btn-primary et .btn.btn-secondary du site
   (mêmes styles rectangulaires 12px, dégradé bleu→cyan, verre translucide) */
.mesh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    opacity: 0;
    animation: mh-fade-up .6s ease 1s forwards;
}
/* Override site-wide .btn-primary / .btn-secondary pour le contexte mesh-hero */
.mesh-hero__actions .btn.btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(56, 189, 248, 0.55);
    border-radius: 12px;
    padding: 14px 30px;
    font-family: var(--osm-ff-heading);
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px -8px rgba(37, 99, 235, 0.55), 0 4px 12px -4px rgba(56, 189, 248, 0.35);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.mesh-hero__actions .btn.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);
    color: #FFFFFF !important;
}
.mesh-hero__actions .btn.btn-secondary {
    background: rgba(255, 255, 255, 0.10) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 14px 30px;
    font-family: var(--osm-ff-heading);
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.mesh-hero__actions .btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(56, 189, 248, 0.50);
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* ─── Pulsing border + rotating text (bas-droite) ─── */
.mesh-hero__pulse {
    position: absolute;
    bottom: 40px;
    right: clamp(20px, 4vw, 48px);
    width: 96px;
    height: 96px;
    z-index: 30;
}
.mesh-hero__pulse-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background:
        conic-gradient(from 0deg, #06B6D4, #0891B2, #8B5CF6, #38BDF8, #F97316, #FFD700, #FFFFFF, #06B6D4);
    animation: mh-pulse-spin 3s linear infinite, mh-pulse-scale 2s ease-in-out infinite;
    filter: blur(2px);
}
.mesh-hero__pulse-inner {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #1e1b4b;                           /* raccord fond violet */
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.65);
}
@keyframes mh-pulse-spin {
    from { transform: translate(-50%, -50%) rotate(0deg);   }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes mh-pulse-scale {
    0%, 100% { filter: blur(2px); }
    50%      { filter: blur(4px); }
}

.mesh-hero__rotating {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: mh-text-rotate 20s linear infinite;
    transform: scale(1.6);
}
.mesh-hero__rotating-text {
    font-family: var(--osm-ff-heading);
    font-size: 4px;                                /* petit relatif à viewBox 100 */
    fill: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.02em;
}
@keyframes mh-text-rotate {
    from { transform: scale(1.6) rotate(0deg);   }
    to   { transform: scale(1.6) rotate(360deg); }
}

/* Shared fade-up animation */
@keyframes mh-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* Responsive */
@media (max-width: 768px) {
    .mesh-hero__nav { display: none; }
    .mesh-hero__pulse { width: 76px; height: 76px; bottom: 24px; }
    .mesh-hero__pulse-core { width: 48px; height: 48px; }
    .mesh-hero__main { bottom: 128px; }
}

@media (prefers-reduced-motion: reduce) {
    .mesh-hero__mesh--solid,
    .mesh-hero__mesh--wire,
    .mesh-hero__line--gradient,
    .mesh-hero__pulse-core,
    .mesh-hero__rotating { animation: none; }
    .mesh-hero__badge,
    .mesh-hero__headline,
    .mesh-hero__desc,
    .mesh-hero__actions { opacity: 1; animation: none; transform: none; }
    .mesh-hero__btn:hover,
    .mesh-hero__logo:hover { transform: none; }
}

/* ════════════════════════════════════════════════════════════
   PATHS HERO — legacy 4 SVG patterns (conservé pour usage éventuel)
   ════════════════════════════════════════════════════════════ */
.paths-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    margin-top: -100px;                            /* absorbe padding-top: 100px de .page-grand-groupe */
    padding-top: 100px;
    color: var(--osm-cyan);                        /* utilisé comme currentColor pour les SVG */
}

/* ─── Container SVG + patterns individuels ─── */
.paths-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.paths-hero__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease;
    pointer-events: none;
}
.paths-hero__svg[data-pattern="neural"].is-active     { opacity: 0.30; }
.paths-hero__svg[data-pattern="flow"].is-active       { opacity: 0.45; }
.paths-hero__svg[data-pattern="geometric"].is-active  { opacity: 0.35; }
.paths-hero__svg[data-pattern="spiral"].is-active     { opacity: 0.40; }

/* Neural : lignes qui se dessinent + noeuds pulsants */
.paths-hero__line {
    stroke: currentColor;
    stroke-width: 0.6;
    fill: none;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: paths-draw 6s ease-in-out infinite;
}
.paths-hero__node {
    fill: currentColor;
    opacity: 0.5;
    animation: paths-pulse 4s ease-in-out infinite;
}
@keyframes paths-draw {
    0%   { stroke-dashoffset: 200;  opacity: 0;   }
    50%  { stroke-dashoffset: 0;    opacity: 0.9; }
    100% { stroke-dashoffset: -200; opacity: 0;   }
}
@keyframes paths-pulse {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.9; }
}

/* Flow : courbes sinusoïdales fluides */
.paths-hero__flow-path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-dasharray: 800;
    animation: paths-flow 15s ease-in-out infinite;
}
@keyframes paths-flow {
    0%   { stroke-dashoffset: 800;  opacity: 0;   }
    30%  { opacity: 0.5; }
    50%  { stroke-dashoffset: 0;    opacity: 0.7; }
    100% { stroke-dashoffset: -800; opacity: 0;   }
}

/* Geometric : rectangles de grille qui s'illuminent */
.paths-hero__grid-path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    stroke-dasharray: 200;
    animation: paths-grid 8s ease-in-out infinite;
}
@keyframes paths-grid {
    0%   { stroke-dashoffset: 200;  opacity: 0;   }
    50%  { stroke-dashoffset: 0;    opacity: 0.75; }
    100% { stroke-dashoffset: -200; opacity: 0;   }
}

/* Spiral : spirales tournantes */
.paths-hero__spiral-path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 3000;
    animation: paths-spiral 12s ease-in-out infinite;
}
@keyframes paths-spiral {
    0%   { stroke-dashoffset: 3000;  opacity: 0;   }
    50%  { stroke-dashoffset: 0;     opacity: 0.85; }
    100% { stroke-dashoffset: -3000; opacity: 0;   }
}

/* Voile dégradé haut/bas pour améliorer la lisibilité du texte */
.paths-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.60) 0%, transparent 40%, transparent 60%, rgba(15, 23, 42, 0.60) 100%);
    z-index: 5;
    pointer-events: none;
}

/* ─── Pattern indicator (4 dots haut-droite) ─── */
.paths-hero__indicator {
    position: absolute;
    top: 124px;                                    /* sous le header fixe */
    right: 32px;
    display: flex;
    gap: 8px;
    z-index: 20;
}
.paths-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.35);         /* slate-400 / 35 */
    transition: background .3s ease, transform .3s ease, opacity .3s ease;
    display: inline-block;
}
.paths-hero__dot.is-active {
    background: #FFFFFF;
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

/* ─── Content (centré, z-index au-dessus des SVG) ─── */
.paths-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1120px;
    padding: 0 clamp(16px, 4vw, 40px);
    width: 100%;
}

/* Titre lettre par lettre avec gradient bleu→cyan→violet */
.paths-hero__title {
    font-family: var(--osm-ff-heading);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0 0 32px;
    perspective: 800px;                            /* pour rotateX des lettres */
}
.paths-hero__letter {
    display: inline-block;
    opacity: 0;
    animation: paths-letter-in 0.8s cubic-bezier(.34, 1.56, .64, 1) forwards;
    transform-origin: bottom center;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), color .3s ease;
    background: linear-gradient(135deg, #FFFFFF 0%, #38BDF8 40%, #6366F1 70%, #8B5CF6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    cursor: default;
}
.paths-hero__letter:hover {
    transform: scale(1.08) translateY(-6px);
    background: linear-gradient(135deg, #38BDF8 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
@keyframes paths-letter-in {
    from { opacity: 0; transform: translateY(100%) rotateX(-90deg); }
    to   { opacity: 1; transform: translateY(0)   rotateX(0);       }
}

/* Subtitle */
.paths-hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.32rem);
    line-height: 1.6;
    font-weight: 300;
    color: rgba(203, 213, 225, 0.85);              /* slate-300 / 85 */
    max-width: 720px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: paths-fade-in 1s ease 1s forwards;
    letter-spacing: 0.005em;
}

/* ─── CTA avec gradient border (blue→purple→pink Osmose) ─── */
.paths-hero__cta-wrap {
    display: inline-block;
    opacity: 0;
    animation: paths-cta-in 0.8s cubic-bezier(.34, 1.56, .64, 1) 1.5s forwards;
}
.paths-hero__cta {
    display: inline-block;
    padding: 2px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6, #EC4899);
    border-radius: 16px;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.paths-hero__cta:hover {
    background: linear-gradient(90deg, #2563EB, #7C3AED, #DB2777);
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -12px rgba(139, 92, 246, 0.45);
}
.paths-hero__cta-inner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 44px;
    background: #0F172A;
    border-radius: 14px;
    color: #FFFFFF;
    font-family: var(--osm-ff-heading);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.005em;
    transition: background .3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.paths-hero__cta:hover .paths-hero__cta-inner { background: #1E293B; }
.paths-hero__cta-text { position: relative; }
.paths-hero__cta-underline {
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    transition: width .3s ease;
}
.paths-hero__cta:hover .paths-hero__cta-underline { width: 100%; }
.paths-hero__cta-arrow {
    font-size: 1.35rem;
    animation: paths-arrow-bob 2s ease-in-out infinite;
}
@keyframes paths-arrow-bob {
    0%, 100% { transform: translateX(0);  }
    50%      { transform: translateX(4px); }
}

/* Label du motif actif (bas, monospace) */
.paths-hero__pattern-name {
    margin: 48px 0 0;
    font-family: monospace;
    font-size: 0.82rem;
    color: rgba(148, 163, 184, 0.7);
    letter-spacing: 0.14em;
    opacity: 0;
    animation: paths-fade-in 1s ease 2s forwards;
    text-transform: uppercase;
}
.paths-hero__pattern-name span {
    color: rgba(226, 232, 240, 0.95);
    font-weight: 700;
    text-transform: capitalize;
}

/* Floating decorative dots (blur blue + purple) */
.paths-hero__float {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    z-index: 6;
    pointer-events: none;
}
.paths-hero__float--1 {
    top: 25%; left: 25%;
    width: 16px; height: 16px;
    background: rgba(59, 130, 246, 0.25);          /* blue-500 / 25 */
    animation: paths-float-1 6s ease-in-out infinite;
}
.paths-hero__float--2 {
    top: 75%; right: 33%;
    width: 24px; height: 24px;
    background: rgba(139, 92, 246, 0.25);          /* purple-500 / 25 */
    animation: paths-float-2 8s ease-in-out infinite 2s;
}
@keyframes paths-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1);   opacity: 0.35; }
    50%      { transform: translate(10px, -20px) scale(1.2); opacity: 0.75; }
}
@keyframes paths-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1);   opacity: 0.55; }
    50%      { transform: translate(-15px, 15px) scale(0.85); opacity: 0.85; }
}

/* Shared animations */
@keyframes paths-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes paths-cta-in {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1);   }
}

@media (prefers-reduced-motion: reduce) {
    .paths-hero__letter,
    .paths-hero__subtitle,
    .paths-hero__cta-wrap,
    .paths-hero__pattern-name {
        opacity: 1;
        animation: none;
        transform: none;
    }
    .paths-hero__line,
    .paths-hero__node,
    .paths-hero__flow-path,
    .paths-hero__grid-path,
    .paths-hero__spiral-path,
    .paths-hero__float,
    .paths-hero__cta-arrow { animation: none; }
    .paths-hero__cta:hover { transform: none; }
    .paths-hero__letter:hover { transform: none; }
}

/* ════════════════════════════════════════════════════════════
   AUDIT — Objectif + Déroulé (3 étapes) + Livrables (4 rows)
   Page /audit-et-formation/ (dark violet gradient theme).
   ════════════════════════════════════════════════════════════ */
.audit-section {
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 40%, #1e1b4b 100%);
    padding: 96px 0;
}
.audit-block { margin-bottom: 72px; }
.audit-block:last-child { margin-bottom: 0; }

/* Eyebrow "AUDIT" centré comme celui de FORMATION */
.audit-section > .gg-container > .gg-eyebrow {
    display: block;
    text-align: center;
}

/* Variante centrée pour le bloc Objectif (Déroulé/Livrables restent alignés à gauche) */
.audit-block--center { text-align: center; }
.audit-block--center .audit-block__title { text-align: center; }
.audit-block--center .audit-objectif {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.audit-block__title {
    /* Aligné sur .gg-section__title (référence "Trois formats pour former") */
    font-family: var(--osm-ff-heading);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin: 0 0 24px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* ─── Objectif ─── */
.audit-objectif {
    max-width: 960px;
}
.audit-objectif__lead {
    color: rgba(191, 219, 254, 0.95);
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0 0 12px;
    font-weight: 500;
}
.audit-objectif__body {
    color: rgba(191, 219, 254, 0.95);
    font-family: var(--osm-ff-heading);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    line-height: 1.55;
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.005em;
}
.audit-objectif__body strong,
.audit-objectif__lead strong { font-weight: 600; }

/* ─── Déroulé — Timeline pattern (port vanilla Aceternity Timeline) ─── */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
    padding-bottom: 20px;
}
.timeline__entries { position: relative; }
.timeline__entry {
    display: flex;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 40px;
    position: relative;
    /* Animation d'entrée (fade + slide-up) déclenchée quand .is-visible */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.timeline__entry.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Dot animation : scale-in avec petit ressort quand entry devient visible */
.timeline__entry .timeline__dot {
    transform: scale(0);
    transition: transform .6s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: .1s;
}
.timeline__entry.is-visible .timeline__dot { transform: scale(1); }

/* Titre gauche : slide-in depuis la gauche */
.timeline__entry .timeline__title-left {
    transform: translateX(-30px);
    opacity: 0;
    transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
    transition-delay: .2s;
}
.timeline__entry.is-visible .timeline__title-left {
    transform: translateX(0);
    opacity: 1;
}

/* Card contenu : slide-in depuis la droite */
.timeline__entry .timeline__content .timeline__list {
    transform: translateX(30px);
    opacity: 0;
    transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
    transition-delay: .3s;
}
.timeline__entry.is-visible .timeline__content .timeline__list {
    transform: translateX(0);
    opacity: 1;
}

/* Titre mobile : fade-in */
.timeline__entry .timeline__title-mobile {
    opacity: 0;
    transition: opacity .5s ease;
    transition-delay: .2s;
}
.timeline__entry.is-visible .timeline__title-mobile { opacity: 1; }

/* Chaque item de la liste apparaît en cascade (stagger) une fois l'entry visible */
.timeline__entry .timeline__list li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.timeline__entry.is-visible .timeline__list li { opacity: 1; transform: translateX(0); }
.timeline__entry.is-visible .timeline__list li:nth-child(1) { transition-delay: .40s; }
.timeline__entry.is-visible .timeline__list li:nth-child(2) { transition-delay: .48s; }
.timeline__entry.is-visible .timeline__list li:nth-child(3) { transition-delay: .56s; }
.timeline__entry.is-visible .timeline__list li:nth-child(4) { transition-delay: .64s; }
.timeline__entry.is-visible .timeline__list li:nth-child(5) { transition-delay: .72s; }
.timeline__entry.is-visible .timeline__list li:nth-child(6) { transition-delay: .80s; }

@media (prefers-reduced-motion: reduce) {
    .timeline__entry,
    .timeline__entry .timeline__dot,
    .timeline__entry .timeline__title-left,
    .timeline__entry .timeline__content .timeline__list,
    .timeline__entry .timeline__title-mobile,
    .timeline__entry .timeline__list li {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
@media (min-width: 768px) {
    .timeline__entry { padding-top: 120px; gap: 40px; }
}

/* Colonne gauche : titre sticky (desktop) avec dot alignée */
.timeline__sticky {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: flex-start;
    max-width: 320px;
    z-index: 30;
    padding-left: 60px;
    position: relative;
}
@media (min-width: 768px) {
    .timeline__sticky {
        position: sticky;
        top: 160px;
        max-width: 420px;
        width: 100%;
    }
}
/* Dot circle marker (aligné sur la ligne verticale) */
.timeline__dot {
    position: absolute;
    left: 8px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 27, 75, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 40;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.timeline__dot-inner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.30);
}
/* Titre gauche massif (visible desktop only) */
.timeline__title-left {
    display: none;
    font-family: var(--osm-ff-heading);
    font-size: clamp(1.6rem, 3.6vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0;
    padding-left: 40px;
}
@media (min-width: 768px) { .timeline__title-left { display: block; padding-left: 60px; } }

/* Colonne droite : contenu */
.timeline__content {
    position: relative;
    padding-left: 60px;
    padding-right: 16px;
    width: 100%;
    z-index: 20;
}
@media (min-width: 768px) { .timeline__content { padding-left: 16px; } }
/* Titre mobile (au-dessus du contenu) */
.timeline__title-mobile {
    font-family: var(--osm-ff-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}
@media (min-width: 768px) { .timeline__title-mobile { display: none; } }

.timeline__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(30, 27, 75, 0.35);
    border: 1px solid rgba(147, 197, 253, 0.20);
    border-radius: 20px;
    padding: 24px 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.timeline__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.5;
}
.timeline__list .audit-check {
    color: #38BDF8;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Ligne verticale à gauche + mask fade + gradient fill piloté par JS */
.timeline__line {
    position: absolute;
    top: 0;
    left: 28px;
    width: 2px;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.18) 10%, rgba(255, 255, 255, 0.18) 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}
.timeline__fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 2px;
    height: 0;
    opacity: 0;
    /* Fill dégradé violet → bleu (comme le React `from-purple-500 via-blue-500`) */
    background: linear-gradient(to top, #8B5CF6 0%, #3B82F6 10%, transparent 100%);
    border-radius: 999px;
    will-change: height, opacity;
}
@media (prefers-reduced-motion: reduce) {
    .timeline__fill { opacity: 1; height: 100% !important; }
}

/* ─── Livrables — Animated Tabs (port vanilla de framer-motion layoutId) ─── */
.audit-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    max-width: 900px;
    margin-inline: auto;
    width: 100%;
}

/* Barre d'onglets : glassmorphism sombre + pill qui glisse */
.audit-tabs__list {
    position: relative;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 6px;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    align-self: flex-start;
}
/* Pill animée qui suit l'onglet actif — c'est le layoutId de framer */
.audit-tabs__indicator {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    background: rgba(17, 17, 17, 0.85);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.5, 1),
                width 0.55s cubic-bezier(0.34, 1.4, 0.5, 1);
    z-index: 1;
    pointer-events: none;
    /* Initial : width 0 pour éviter un flash — JS positionne au load */
    width: 0;
}
.audit-tabs__tab {
    position: relative;
    z-index: 2;
    padding: 10px 18px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--osm-ff-heading, 'Poppins', sans-serif);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    outline: none;
    transition: color .25s ease, opacity .25s ease;
    opacity: 0.7;
}
.audit-tabs__tab:hover { opacity: 0.95; }
.audit-tabs__tab.is-active { opacity: 1; }
.audit-tabs__tab:focus-visible {
    outline: 2px solid #38BDF8;
    outline-offset: 2px;
}

/* Panneau de contenu : glassmorphism sombre, bordé */
.audit-tabs__panels {
    position: relative;
    padding: 28px;
    background: rgba(17, 17, 17, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    color: #ffffff;
    min-height: 360px;
}
.audit-tabs__panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    /* Animation d'entrée : équivalent des animate/initial de framer */
    opacity: 0;
    transform: translateX(-12px) scale(0.96);
    filter: blur(10px);
    transition: opacity .55s cubic-bezier(.2,.7,.2,1),
                transform .55s cubic-bezier(.2,.7,.2,1),
                filter .55s cubic-bezier(.2,.7,.2,1);
}
.audit-tabs__panel[hidden] { display: none; }
.audit-tabs__panel.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}
@media (max-width: 780px) {
    .audit-tabs__panel { grid-template-columns: 1fr; }
    .audit-tabs__panels { padding: 20px; }
}

/* Illustration SVG à gauche */
.audit-tabs__illust {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.18) 0%, rgba(56, 189, 248, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) inset;
    aspect-ratio: 3 / 2;
}
.audit-tabs__illust svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Texte à droite */
.audit-tabs__body { display: flex; flex-direction: column; gap: 12px; }
.audit-tabs__title {
    font-family: var(--osm-ff-heading, 'Poppins', sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.25;
}
.audit-tabs__desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
.audit-tabs__items {
    list-style: none;
    padding: 0;
    margin: 6px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.audit-tabs__items li {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.5;
    padding-left: 24px;
    position: relative;
}
.audit-tabs__items li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 8px;
    border-left: 2px solid #38BDF8;
    border-bottom: 2px solid #38BDF8;
    transform: rotate(-45deg);
    transform-origin: bottom left;
}

@media (prefers-reduced-motion: reduce) {
    .audit-tabs__indicator,
    .audit-tabs__panel {
        transition: none;
    }
    .audit-tabs__panel {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* ════════════════════════════════════════════════════════════
   FORMATION — 3 cartes numérotées (page Audit et formation)
   ════════════════════════════════════════════════════════════ */
/* Eyebrow "Formation" centré comme le titre + le bandeau Qualiopi de la section */
.gg-formation > .gg-container > .gg-eyebrow {
    display: block;
    text-align: center;
}

/* Grid des cards — pattern FeaturesSectionWithCardGradient (4 cols au large) */
.gg-formation__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 40px;
    max-width: 1280px;
    margin-inline: auto;
}
@media (max-width: 1100px) { .gg-formation__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 600px)  { .gg-formation__grid { grid-template-columns: 1fr; gap: 24px; } }

/* Section-steps (homepage) : passe en flex pour intercaler les 3 connectors
   animés entre les 4 cards. Scope limité à .gg-steps — n'affecte pas la
   section formation de /audit-et-formation/. */
.gg-steps .gg-formation__grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 1400px;
}
.gg-steps .gg-formation__card {
    flex: 1 1 0;
    min-width: 0;
}
@media (max-width: 1100px) {
    .gg-steps .gg-formation__grid {
        flex-direction: column;
        gap: 0;
    }
    /* Les connectors passent en vertical grâce à leur propre @media (déjà
       présent dans grand-groupe.css l.1034 : hauteur 80px, pulse gg-pulse-v). */
}

/* Card = surface dégradée neutre + rounded-3xl + grid overlay décoratif */
.gg-formation__card {
    position: relative;
    padding: 26px;
    background: linear-gradient(to bottom, #171717 0%, #0a0a0a 100%);
    border-radius: 24px;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
    /* Cards flex column + body qui remplit → boutons "Voir le détail"
       alignés au bas quel que soit le volume de contenu au-dessus. */
    display: flex;
    flex-direction: column;
}
.gg-formation__card:hover {
    transform: translateY(-4px);
}

/* ─── Grid overlay décoratif (port vanilla de <Grid /> ) ───
   Wrapper .gg-formation__card-grid : mask fade linear top→transparent bottom
   Inner .gg-formation__card-grid-inner : mask radial fade centré en haut
   Le tout par-dessus la carte avec pointer-events: none. */
.gg-formation__card-grid {
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: -8px;
    margin-left: -80px;
    height: 100%;
    width: 100%;
    z-index: 0;
    -webkit-mask-image: linear-gradient(white, transparent);
            mask-image: linear-gradient(white, transparent);
}
.gg-formation__card-grid-inner {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(24, 24, 27, 0.30) 0%,
        rgba(24, 24, 27, 0.30) 100%);
    -webkit-mask-image: radial-gradient(farthest-side at top, white, transparent);
            mask-image: radial-gradient(farthest-side at top, white, transparent);
    opacity: 1;
}
.gg-formation__card-grid-inner svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: overlay;
    fill: rgba(255, 255, 255, 0.10);
    stroke: rgba(255, 255, 255, 0.10);
}

/* Contenu de la carte — au-dessus de l'overlay (z-index 2)
   flex-column + flex:1 pour occuper toute la hauteur disponible et laisser
   le margin-top:auto du CTA le pousser en bas. */
.gg-formation__body {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.gg-formation__title {
    font-family: var(--osm-ff-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px;
    letter-spacing: -0.015em;
    line-height: 1.3;
}
.gg-formation__meta {
    font-size: 0.78rem;
    color: rgba(56, 189, 248, 0.85);
    margin: 0 0 12px;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.gg-formation__sep { opacity: 0.5; }
.gg-formation__desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 14px;
}
.gg-formation__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gg-formation__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    line-height: 1.5;
}
.gg-formation__list svg {
    color: #38BDF8;
    flex-shrink: 0;
    margin-top: 4px;
}

/* ─── Bouton "Voir le détail" en pied de chaque carte formation ─── */
.gg-formation__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* auto = poussé tout en bas dans le body flex-column ;
       le 20px de marge min est conservé pour laisser de l'air quand
       le contenu remplit déjà la card. */
    margin-top: auto;
    padding: 10px 18px;
    background: linear-gradient(135deg, #2563EB, #38BDF8);
    color: #ffffff;
    font-family: var(--osm-ff-heading);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    align-self: flex-start;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    box-shadow: 0 6px 20px -8px rgba(37, 99, 235, 0.6);
}
.gg-formation__cta:hover,
.gg-formation__cta:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 10px 26px -8px rgba(56, 189, 248, 0.7);
    color: #ffffff;
}
.gg-formation__cta svg {
    transition: transform .25s ease;
}
.gg-formation__cta:hover svg { transform: translateX(3px); }

/* ─── Bandeau Qualiopi (logo réel + texte) — sans cadre, juste inline ─── */
.gg-formation__qualiopi {
    max-width: 780px;
    margin: 0 auto 32px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.gg-formation__qualiopi-logo {
    flex-shrink: 0;
    width: 130px;
    height: auto;
    display: block;
    /* Le SVG a déjà son propre fond blanc arrondi intégré à l'artwork ;
       aucun wrapper visuel supplémentaire. */
    background: transparent;
    padding: 0;
    border-radius: 0;
}
.gg-formation__qualiopi-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
    text-align: left;
    max-width: 520px;
}
.gg-formation__qualiopi-text strong {
    color: #ffffff;
    font-weight: 700;
}
@media (max-width: 640px) {
    .gg-formation__qualiopi {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .gg-formation__qualiopi-text { text-align: center; }
}

/* Section 6 — Bandeau confiance : remplacé par les GlowCards intégrées
   dans .gg-showcase__trust (cf. section 5 plus haut). */

/* ════════════════════════════════════════════════════════════
   7. CTA FINAL
   ════════════════════════════════════════════════════════════ */
.gg-cta__card {
    max-width: 880px;
    margin: 0 auto;
    padding: 72px 48px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(56, 189, 248, 0.10)),
        var(--gg-surface);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 40px 100px -30px rgba(37, 99, 235, 0.45);
}
.gg-cta__title {
    /* Aligné sur .gg-section__title (référence "Trois formats pour former") */
    font-family: var(--osm-ff-heading);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 700;
    color: var(--gg-text);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 auto 20px;
    text-align: center;
}
.gg-cta__title span {
    /* Style unifié aligné sur .pricing-credits__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;
    display: inline-block;
    line-height: 1.15;
    filter: none;
}
.gg-cta__lead {
    color: var(--gg-text-sub);
    font-size: 1.08rem;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 32px;
}
@media (max-width: 620px) {
    .gg-cta__card { padding: 48px 24px; }
}

/* ════════════════════════════════════════════════════════════
   Bouton "cta" (variant plus large que .btn de base)
   ════════════════════════════════════════════════════════════ */
.page-grand-groupe .btn-cta { padding: 18px 40px; font-size: 1.05rem; }

/* ════════════════════════════════════════════════════════════
   CHIFFRES CLÉS — Impact stats (grid 4 chiffres accent)
   Utilisé sur PME (5h/sem, 51%, -25%, 40% plus vite) et
   ETI/grand-groupe (127M$, 67%, +670K$, -20%).
   ════════════════════════════════════════════════════════════ */
.impact-stats {
    padding: 96px 0;
    text-align: center;
}
.impact-stats .gg-eyebrow { display: block; text-align: center; }

.impact-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 1200px;
    margin-inline: auto;
}
@media (max-width: 900px) { .impact-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 480px) { .impact-stats__grid { grid-template-columns: 1fr; gap: 28px; } }

.impact-stats__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 12px;
    cursor: help;
}

/* Chiffre en très gros — texte peint en dégradé bleu → cyan */
.impact-stats__num {
    font-family: var(--osm-ff-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    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-flex;
    align-items: baseline;
    gap: 4px;
}
/* Unité inline (% / h/sem / M$ / plus vite) plus petite, garde le dégradé */
.impact-stats__unit {
    font-size: 0.42em;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.impact-stats__desc {
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--osm-ff-heading);
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0;
    max-width: 240px;
    font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   TÉMOIGNAGES — port vanilla du TestimonialsSection (marquee)
   ════════════════════════════════════════════════════════════ */
.testimonials {
    text-align: center;
    /* Espace réduit avec la section Formation au-dessus (48px vs 96px) */
    padding: 48px 0 96px;
    overflow: hidden;
}
.testimonials__header {
    max-width: 720px;
    margin: 0 auto 48px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.testimonials__title {
    /* Aligné sur .gg-section__title (référence "Trois formats pour former") */
    font-family: var(--osm-ff-heading);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 700;
    color: var(--gg-text);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0;
}
.testimonials__title span {
    /* Style unifié aligné sur .pricing-credits__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;
    display: inline-block;
}
.testimonials__desc {
    color: var(--gg-text-sub);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

/* ─── Marquee — piste qui scroll horizontalement ─── */
.testimonials__marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.testimonials__track {
    display: flex;
    gap: 16px;
    padding: 8px 0;
    width: max-content;
    animation: testimonials-scroll 60s linear infinite;
}
/* Group hover pauses (équivalent group-hover:animation-play-state:paused) */
.testimonials__marquee:hover .testimonials__track {
    animation-play-state: paused;
}
@keyframes testimonials-scroll {
    /* On duplique le set 4× dans le HTML — donc translater de -25% ramène
       la 2ème copie au point de départ de la 1ère → boucle sans discontinuité. */
    from { transform: translateX(0); }
    to   { transform: translateX(-25%); }
}

/* ─── Carte témoignage ─── */
.testimonial-card {
    flex-shrink: 0;
    width: 340px;
    padding: 24px;
    background: rgba(30, 27, 75, 0.35);
    border: 1px solid rgba(147, 197, 253, 0.16);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    color: #ffffff;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.35);
}
.testimonial-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 14px 32px -12px rgba(56, 189, 248, 0.35);
}
.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: var(--osm-ff-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08) inset;
    flex-shrink: 0;
}
.testimonial-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: -46px;
    padding-left: 52px;
    min-height: 46px;
    justify-content: center;
}
/* On sort l'avatar de la coulée : on utilise grid pour aligner proprement */
.testimonial-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 12px;
}
.testimonial-card__avatar { grid-column: 1; grid-row: 1; }
.testimonial-card__meta {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-top: 0;
    padding-left: 0;
    min-height: 0;
}
.testimonial-card__text {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.5;
}
.testimonial-card__name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.2;
}
.testimonial-card__handle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.3;
}

/* ─── Fade edges — masque le raccord de la boucle ─── */
.testimonials__edge {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    pointer-events: none;
    z-index: 2;
}
.testimonials__edge--left {
    left: 0;
    background: linear-gradient(to right,
        var(--gg-bg, #0b0b1e) 0%,
        rgba(11, 11, 30, 0.85) 40%,
        transparent 100%);
}
.testimonials__edge--right {
    right: 0;
    background: linear-gradient(to left,
        var(--gg-bg, #0b0b1e) 0%,
        rgba(11, 11, 30, 0.85) 40%,
        transparent 100%);
}
@media (max-width: 640px) {
    .testimonials { padding: 64px 0; }
    .testimonials__header { margin-bottom: 40px; }
    .testimonial-card { width: 280px; padding: 20px; }
    .testimonials__edge { width: 12%; }
}

/* ════════════════════════════════════════════════════════════
   Accessibilité — motion
   ════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .gg-pulse { animation: none; opacity: 0.6; }
    /* Marquee stoppé en accessibilité motion */
    .testimonials__track { animation: none; }
}


/* ============================================================
   RESET text-shadow sur spans à dégradé — voir theme-dark.css.
   Répété ici pour dominer même si theme-dark.css est chargé avant. */
h1 span, h2 span, h3 span,
[class*="title"] span {
    text-shadow: none !important;
}

/* ── CTAs de fin de section (bouton centré, style .btn.btn-primary hérité) ── */
.gg-caps__cta,
.gg-arch__cta {
    display: flex;
    justify-content: center;
    margin: 48px auto 0;
}
@media (min-width: 768px) {
    .gg-caps__cta,
    .gg-arch__cta { margin-top: 64px; }
}


/* ═════════════════════════════════════════════════════════════
   SAVOIR-FAIRE — utilisé sur /a-propos/ ET homepage (dupliqué de
   propos.css pour être dispo sur la homepage sans charger propos.css).
   Toute modif ici doit être répliquée dans propos.css et inversement.
   ═════════════════════════════════════════════════════════════ */
.propos-savoir { padding: 96px 0; text-align: center; }
.propos-savoir .gg-eyebrow { display: block; text-align: center; }
.propos-savoir__lead {
    max-width: 780px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}
.propos-savoir__lead p { margin: 0 0 16px; }
.propos-savoir__lead strong { color: #ffffff; font-weight: 600; }
.propos-savoir__punch {
    margin-top: 24px !important;
    color: #ffffff !important;
    font-family: var(--osm-ff-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}
.propos-savoir__punch em {
    background: linear-gradient(135deg, #2563EB, #38BDF8);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-weight: 700;
    font-style: normal;
}
.propos-savoir .gg-bento { margin-top: 48px; }
