/* =========================================================================
   ROI MANUFACTURE — Blog · surcouche de marque
   Calibré sur le design system v2 «Ink & Ivoire / Signal» de roimanufacture.com
   (source de vérité : /docker/roi-manufacture-v2/html/assets/roi.css).

   Chargée après built/screen.css. SOURCE UNIQUE du custom : ne rien remettre
   dans le code injection de Ghost, il s'applique après et écraserait ce
   fichier. Ne pas toucher à built/screen.css (build gulp de screen.css).

   Territoire : base ivoire éditoriale + théâtres sombres (hero, footer).
   ========================================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
    /* couleurs de marque — identiques à roi.css */
    --ink: #0A0B0D;
    --ink-soft: #12141A;
    --ink-lift: #191C24;
    --paper: #F4F2ED;
    --paper-hi: #FBFAF8;
    --signal: #2447FF;      /* bleu électrique — l'IA, le système */
    --signal-hi: #7B90FF;   /* version lisible sur fond sombre */
    --signal-pale: #DDE3FF;
    --ember: #FF5A26;       /* héritage ROI Manufacture — la chaleur, le résultat */
    --ember-hi: #FF8A5C;
    --mint: #29D3A2;

    /* tokens sémantiques — basculés dans .om-theater */
    --fg: var(--ink);
    --fg-80: #2C3038;
    --fg-60: #5B6069;
    --fg-40: #8A8F98;
    --fg-25: #B4B8C0;
    --line: rgb(10 11 13 / 0.12);
    --line-soft: rgb(10 11 13 / 0.07);
    --accent: var(--signal);
    --card: rgb(255 255 255 / 0.66);
    --card-line: rgb(10 11 13 / 0.10);

    /* typo */
    --font-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
    --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-serif-alt: 'Instrument Serif', Georgia, serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

    /* rythme */
    --r: 18px;
    --r-sm: 12px;
    --r-lg: 28px;

    /* motion */
    --ease: cubic-bezier(0.16, 0.84, 0.24, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

    /* remappage des variables du thème Source sur la charte */
    --color-darker-gray: var(--ink);
    --color-primary-text: var(--ink);
    --color-secondary-text: var(--fg-60);
    --color-border: var(--line);
    --color-lighter-gray: rgb(10 11 13 / 0.05);
    --color-dark-border: var(--fg-40);
}

/* Le théâtre sombre : hero et footer. Bascule les mêmes tokens que .theater
   sur le site, plus ceux du thème Source, pour que tout le contenu hérité
   (liens, méta, bordures) suive sans avoir à le cibler un par un. */
.om-theater {
    --fg: #F3F4F6;
    --fg-80: #D6D9E0;
    --fg-60: #9BA1AD;
    --fg-40: #6E747F;
    --fg-25: #464C57;
    --line: rgb(255 255 255 / 0.14);
    --line-soft: rgb(255 255 255 / 0.07);
    --accent: var(--signal-hi);
    --card: rgb(255 255 255 / 0.04);
    --card-line: rgb(255 255 255 / 0.10);

    --color-darker-gray: #F3F4F6;
    --color-primary-text: #F3F4F6;
    --color-secondary-text: #9BA1AD;
    --color-border: rgb(255 255 255 / 0.14);
    --color-lighter-gray: rgb(255 255 255 / 0.08);

    background-color: var(--ink);
    color: var(--fg);
}

/* ---------- 2. BASE ---------- */
body {
    font-family: var(--font-sans);
    font-size: 1.7rem;
    line-height: 1.58;
    letter-spacing: -0.006em;
    color: var(--ink);
}

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

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

/* Titres en display, comme roimanufacture.com */
h1, h2, h3, h4,
.gh-card-title,
.gh-article-title,
.gh-container-title,
.om-hero-title,
.om-lead-title {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.038em;
}

/* Le trait de section : équivalent de .rule sur le site. */
hr { border: 0; height: 1px; background: var(--line-soft); }

/* ---------- 3. NAV — pill flottante ---------- */

#gh-navigation {
    position: sticky;
    top: 14px;
    z-index: 100;
    height: auto;
    background: transparent;
    border: 0;
}

#gh-navigation .gh-navigation-inner {
    max-width: 1320px;
    min-height: 58px;
    padding: 9px 10px 9px 18px;
    border: 1px solid rgb(10 11 13 / 0.10);
    border-radius: 999px;
    background: rgb(244 242 237 / 0.72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    column-gap: 6px;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
                box-shadow 0.4s var(--ease), color 0.4s var(--ease);
}

/* La nav passe en sombre quand elle survole un théâtre — même bascule que
   sur le site (classe posée par assets/js/roi-blog.js). */
#gh-navigation.is-dark .gh-navigation-inner {
    background: rgb(10 11 13 / 0.68);
    border-color: rgb(255 255 255 / 0.14);
    color: #F3F4F6;
    box-shadow: 0 12px 40px rgb(0 0 0 / 0.35);
}

/* Les fonds opaques du thème casseraient le flou de la pill. */
#gh-navigation .gh-navigation-actions,
#gh-navigation.has-accent-color .gh-navigation-actions { background: transparent; }

#gh-navigation .gh-navigation-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.028em;
}

/* L'orbe de marque : dégradé conique bleu → braise, en rotation lente. */
#gh-navigation .gh-navigation-logo:not(:has(img))::before {
    content: '';
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: conic-gradient(from 210deg, var(--signal), var(--ember), var(--signal));
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.4) inset, 0 0 16px rgb(36 71 255 / 0.45);
    animation: om-orb-spin 7s linear infinite;
}

@keyframes om-orb-spin { to { transform: rotate(360deg); } }

#gh-navigation .gh-navigation-menu { font-size: 1.45rem; font-weight: 400; }

#gh-navigation .nav { gap: 2px; }

#gh-navigation .nav a {
    display: inline-block;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--fg-60);
    transition: color 0.25s, background 0.25s;
}

#gh-navigation .nav a:hover {
    opacity: 1;
    color: var(--ink);
    background: rgb(10 11 13 / 0.05);
}

#gh-navigation.is-dark .nav a { color: rgb(255 255 255 / 0.72); }

#gh-navigation.is-dark .nav a:hover { color: #fff; background: rgb(255 255 255 / 0.09); }

/* Le CTA de la nav est encré (pas bleu) : c'est le bouton .nav-cta du site. */
.gh-navigation-actions .om-nav-cta {
    padding: 11px 18px;
    font-size: 1.45rem;
    font-weight: 500;
    white-space: nowrap;
    background: var(--ink);
    color: var(--paper);
    box-shadow: none;
    transition: transform 0.3s var(--ease);
}

.gh-navigation-actions .om-nav-cta:hover { transform: translateY(-1px); opacity: 1; }

#gh-navigation.is-dark .om-nav-cta { background: #F3F4F6; color: var(--ink); }

#gh-navigation .gh-search:hover { opacity: 0.7; }

/* ---------- 4. BOUTONS ---------- */

/* .gh-button = le .btn--accent du site : fond signal, remplissage encre au
   survol par le bas. */
.gh-button {
    position: relative;
    overflow: hidden;
    padding: 16px 26px;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    background: var(--signal);
    color: #fff;
    box-shadow: 0 14px 40px rgb(36 71 255 / 0.28);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.gh-button > * { position: relative; z-index: 1; }

.gh-button::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--ink);
    transform: translateY(101%);
    transition: transform 0.45s var(--ease-out);
}

.gh-button:hover { opacity: 1; transform: translateY(-2px); }
.gh-button:hover::after { transform: translateY(0); }

/* Sur fond sombre, l'encre ne se verrait pas : on remplit en ivoire. */
.om-theater .gh-button::after { background: var(--paper); }
.om-theater .gh-button:hover { color: var(--ink); }

/* ---------- 5. HERO — théâtre sombre ---------- */

.om-hero {
    position: relative;
    margin-top: -72px;              /* la pill flotte par-dessus le théâtre */
    padding-top: clamp(126px, 12vw, 178px);
    padding-bottom: clamp(60px, 7vw, 104px);
    overflow: hidden;
}

/* Double glow bleu + braise, en dérive lente — celui du hero du site. */
.om-hero::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 50%;
    top: -34%;
    translate: -50% 0;
    width: min(1500px, 150vw);
    aspect-ratio: 1.4;
    pointer-events: none;
    background:
        radial-gradient(42% 38% at 42% 44%, rgb(36 71 255 / 0.30), transparent 68%),
        radial-gradient(38% 34% at 66% 56%, rgb(255 90 38 / 0.20), transparent 66%);
    filter: blur(34px);
    animation: om-glow-drift 16s ease-in-out infinite alternate;
}

@keyframes om-glow-drift {
    from { transform: translate3d(-3%, 0, 0) scale(1); }
    to   { transform: translate3d(3%, 2%, 0) scale(1.07); }
}

.om-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 26px;
}

/* L'eyebrow du site : pastille mono cerclée d'accent, avec point pulsé. */
.om-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.om-orb {
    display: inline-block;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    animation: om-dot-pulse 2.4s infinite;
}

@keyframes om-dot-pulse {
    0%       { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); }
    70%,100% { box-shadow: 0 0 0 9px transparent; }
}

.om-hero-title {
    max-width: 24ch;
    font-size: clamp(3.2rem, 2.6vw + 2rem, 5.6rem);
    font-weight: 500;
    line-height: 0.99;
    letter-spacing: -0.038em;
    text-wrap: balance;
}

.om-hero-cta { margin-top: 6px; }

/* ---------- 6. FEED ---------- */

/* Le thème resserre le contenu sur 12 des 16 colonnes ; la grille magazine a
   besoin de toute la largeur pour tenir 3 colonnes. */
.gh-container.om-feed:not(.has-sidebar) :is(.gh-container-title, .gh-main, .gh-more) {
    grid-column: 1 / -1;
}

.gh-container.om-feed { margin-top: clamp(56px, 7vw, 96px); }

/* Le feed pleine largeur tiendrait 4 colonnes (auto-fit minmax(248px)) : à 4,
   les titres display cassent sur 4 lignes. On force la grille 3 colonnes du
   site. La classe .is-grid du thème est plus spécifique : il faut la reprendre. */
@media (min-width: 1000px) {
    .gh-container.is-grid.om-feed .gh-feed { grid-template-columns: repeat(3, 1fr); }
}

/* Titre de section = le .mono du site : petites capitales espacées, filet. */
.om-section-title,
.gh-container-title {
    margin-bottom: calc(var(--grid-gap) / 2);
    padding-bottom: 12px;
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-40);
    border-bottom: 1px solid var(--line-soft);
}

.om-lead + .om-section-title { margin-top: calc(var(--grid-gap) * 1.4); }

/* ---------- 7. ARTICLE À LA UNE ---------- */

.om-lead {
    position: relative;
    padding: 18px;
    border: 1px solid var(--card-line);
    border-radius: var(--r-lg);
    background: var(--card);
    backdrop-filter: blur(8px);
    transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}

.om-lead:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    box-shadow: 0 22px 60px rgb(10 11 13 / 0.10);
}

.om-lead-link {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
}

.om-lead-link:hover { opacity: 1; }

.om-lead-image {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--r);
    overflow: hidden;
}

.om-lead-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.om-lead:hover .om-lead-image img { transform: scale(1.03); }

.om-lead-body { padding-right: 12px; }

.om-lead-title {
    margin-top: 12px;
    font-size: clamp(2.4rem, 1.3vw + 2rem, 3.6rem);
    line-height: 1.02;
    text-wrap: balance;
}

.om-lead:hover .om-lead-title { opacity: 1; }

.om-lead-excerpt {
    display: -webkit-box;
    overflow-y: hidden;
    margin-top: 16px;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--fg-60);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (max-width: 900px) {
    .om-lead-link { grid-template-columns: 1fr; }
    .om-lead-body { padding-right: 0; }
}

/* ---------- 8. CARTES ---------- */

.gh-card {
    padding: 16px;
    border: 1px solid var(--card-line);
    border-radius: var(--r);
    background: var(--card);
    backdrop-filter: blur(8px);
    transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}

.gh-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    box-shadow: 0 22px 60px rgb(10 11 13 / 0.10);
}

/* Les séparateurs du thème font double emploi avec les bordures de carte. */
.gh-container.is-grid .gh-card::before,
.gh-container.is-grid .gh-card::after { display: none; }

.gh-card-image { border-radius: var(--r-sm); overflow: hidden; }

.gh-card-image img { transition: transform 0.6s var(--ease); }

.gh-card:hover .gh-card-image img { transform: scale(1.03); }

/* Le tag de carte : le .card__n du site, en accent. */
.gh-card-tag {
    display: block;
    margin-bottom: 7px;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.gh-card-title {
    font-weight: 500;
    letter-spacing: -0.032em;
    line-height: 1.08;
    color: var(--fg);
}

.om-feed .gh-card-title { font-size: 2rem; }

.gh-card-link:hover .gh-card-title { opacity: 1; }

.om-feed .gh-card-link { gap: 16px; }

.gh-card-excerpt { margin-top: 10px; color: var(--fg-60); }

/* Méta de carte : mono discret, pas l'accent criard du thème. On reste en
   --fg-60 et non --fg-40 (le token des libellés décoratifs du site) : à 11px,
   fg-40 sur ivoire tombe à ~2,9:1 et l'auteur/la date sont de l'information. */
.gh-card-meta {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--fg-60);
}

/* Lien « voir tous les articles » = le .tlink du site. */
.gh-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 3px;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}

.gh-more a:hover { opacity: 1; gap: 14px; border-color: var(--accent); }

/* ---------- 9. PAGE ARTICLE ---------- */

.gh-article-header { padding-top: clamp(32px, 3.5vw, 56px); }

/* Le tag de l'article reprend la pastille cerclée du hero. En enfant de la
   grille .gh-canvas, un inline-flex s'étirerait sur toute la colonne : il faut
   justify-self pour que la pastille garde la largeur de son texte. */
.gh-article-tag {
    display: inline-flex;
    justify-self: start;
    width: fit-content;
    align-items: center;
    padding: 6px 13px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.gh-article-title {
    margin-top: 20px;
    font-weight: 500;
    line-height: 0.99;
    letter-spacing: -0.038em;
}

.gh-article-excerpt {
    font-size: clamp(1.7rem, 0.23vw + 1.61rem, 1.95rem);
    line-height: 1.5;
    color: var(--fg-60);
}

.gh-article-meta {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
}

.gh-article-author-name { font-family: var(--font-sans); font-size: 1.45rem; font-weight: 500; }

.gh-article-meta-content {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-60);
}

.gh-article-image img,
.gh-article .kg-image { border-radius: var(--r); }

/* --- corps de texte --- */

.gh-content {
    --content-font-size: 1.8rem;
    color: var(--fg-80);
    letter-spacing: -0.008em;
}

.gh-content > h2 { font-size: clamp(2.2rem, 1vw + 1.9rem, 3rem); letter-spacing: -0.036em; }
.gh-content > h3 { font-size: clamp(1.8rem, 0.6vw + 1.6rem, 2.2rem); letter-spacing: -0.03em; }
.gh-content > :is(h2, h3, h4) { color: var(--fg); }

.gh-content a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    transition: border-color 0.25s;
}

.gh-content a:hover { opacity: 1; border-color: var(--accent); }

.gh-content strong { color: var(--fg); font-weight: 600; }

/* La citation du site : Instrument Serif italique, en accent. */
.gh-content blockquote:not([class]) {
    padding-left: clamp(20px, 3vw, 34px);
    border-left: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.9rem, 1vw + 1.7rem, 2.6rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--fg-80);
}

.gh-content :is(code, pre) { font-family: var(--font-mono); font-size: 0.88em; }

.gh-content :not(pre) > code {
    padding: 0.15em 0.4em;
    border-radius: 5px;
    background: color-mix(in srgb, var(--accent) 9%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
    color: var(--fg);
}

.gh-content pre {
    padding: 20px 22px;
    border-radius: var(--r-sm);
    background: var(--ink);
    color: #E9EBEF;
    line-height: 1.55;
}

.gh-content hr { background: var(--line-soft); }

/* Callout d'accent (le CTA de fin d'article) : Ghost le remplit en couleur
   d'accent, donc un lien en accent y devient invisible. On repasse en encre
   sur signal, comme le .btn--accent du site. */
.gh-content .kg-callout-card {
    border-radius: var(--r);
    background: var(--card);
    border: 1px solid var(--card-line);
}

.gh-content .kg-callout-card-accent {
    background: var(--signal);
    border-color: transparent;
    box-shadow: 0 14px 40px rgb(36 71 255 / 0.22);
}

.gh-content .kg-callout-card-accent .kg-callout-text { color: #fff; }

.gh-content .kg-callout-card-accent a {
    color: #fff;
    font-weight: 600;
    border-bottom-color: rgb(255 255 255 / 0.45);
}

.gh-content .kg-callout-card-accent a:hover { border-bottom-color: #fff; }

/* Boutons éditoriaux (kg-button-card) : mêmes pill que le reste du site. */
.gh-content .kg-btn {
    border-radius: 999px;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.gh-content .kg-btn-accent {
    background: var(--signal);
    color: #fff;
    box-shadow: 0 14px 40px rgb(36 71 255 / 0.28);
}

.gh-content .kg-btn:hover { opacity: 1; background: var(--ink); color: var(--paper); }

.gh-content figcaption {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    color: var(--fg-40);
}

/* ---------- 10. FOOTER — théâtre sombre ---------- */

.gh-footer {
    margin-top: clamp(72px, 9vw, 128px);
    padding-block: clamp(40px, 5vw, 64px);
    border-top: 0;
}

.gh-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.028em;
}

.gh-footer-logo:not(:has(img))::before {
    content: '';
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: conic-gradient(from 210deg, var(--signal), var(--ember), var(--signal));
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.35) inset;
}

.gh-footer-menu a,
.gh-footer-copyright {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-40);
}

.gh-footer-menu a:hover { opacity: 1; color: var(--signal-hi); }
.gh-footer-copyright a { color: var(--fg-60); }

/* ---------- 11. MOBILE ---------- */

@media (max-width: 767px) {
    #gh-navigation { top: 10px; }

    #gh-navigation .gh-navigation-inner {
        min-height: 52px;
        padding: 7px 7px 7px 14px;
        gap: 0;
    }

    #gh-navigation .gh-navigation-brand { height: 52px; }
    #gh-navigation .gh-navigation-logo { font-size: 1.5rem; }
    #gh-navigation .gh-navigation-logo:not(:has(img))::before { width: 17px; height: 17px; }

    /* Menu plein écran : le .mmenu encré du site. Le fond doit être porté par
       #gh-navigation (qui passe en position:fixed inset:0) et non par .inner,
       sinon il s'arrête aux marges de la grille .gh-outer et laisse voir
       l'ivoire sur les bords. */
    .is-open#gh-navigation {
        background: var(--ink);
        color: #F3F4F6;
    }

    .is-open#gh-navigation .gh-navigation-inner {
        border-radius: 0;
        border-color: transparent;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        color: #F3F4F6;
    }

    .is-open#gh-navigation .nav a {
        font-family: var(--font-display);
        font-weight: 500;
        font-size: 2.2rem;
        letter-spacing: -0.035em;
        color: #F3F4F6;
    }

    .is-open#gh-navigation .om-nav-cta { background: #F3F4F6; color: var(--ink); }

    .om-hero { margin-top: -62px; padding-top: 124px; }
}

/* ---------- 12. MOUVEMENT RÉDUIT ---------- */

@media (prefers-reduced-motion: reduce) {
    .om-hero::before,
    #gh-navigation .gh-navigation-logo::before,
    .om-orb { animation: none; }

    .gh-card, .om-lead, .gh-button, .gh-card-image img, .om-lead-image img { transition: none; }
    .gh-card:hover, .om-lead:hover, .gh-button:hover { transform: none; }
}
