/* ==========================================================================
   Global Solutions Services — Identité « Sept pôles »
   ========================================================================== */

:root {
    --ink: #06112B;
    --navy: #0B1F4D;
    --navy-2: #13295E;
    --navy-3: #1C3675;
    --amber: #F2A900;
    --amber-2: #FFC23D;
    --paper: #F4F0E6;
    --paper-2: #EBE5D6;
    --card: #FBF8F1;

    --text: #0B1F4D;
    --muted: #5A6482;
    --line: rgba(11, 31, 77, .14);
    --line-strong: rgba(11, 31, 77, .32);
    --em: #A26F00;

    --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --mono: 'DM Mono', ui-monospace, SFMono-Regular, monospace;

    --gutter: clamp(16px, 4vw, 56px);
    --max: 1440px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Grain discret sur toute la page */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 200;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--amber); color: var(--ink); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.is-dark {
    background: var(--ink);
    color: var(--paper);
    --text: var(--paper);
    --muted: rgba(244, 240, 230, .62);
    --line: rgba(244, 240, 230, .14);
    --line-strong: rgba(244, 240, 230, .34);
    --em: var(--amber);
}

.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--amber); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Typographie ---------- */

.display, .h1, .h2, .h3 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.015em;
}
.display { font-size: clamp(3rem, 7.4vw, 8.4rem); line-height: .94; }
.h1 { font-size: clamp(2.9rem, 7.4vw, 7.6rem); line-height: .96; }
.h2 { font-size: clamp(2.2rem, 4.8vw, 4.6rem); line-height: 1.02; }
.h3 { font-size: clamp(1.55rem, 2.3vw, 2.1rem); line-height: 1.1; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; color: var(--em); }

.label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}
.label::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.label b { color: var(--em); font-weight: 500; }

.lead { font-size: clamp(1.08rem, 1.45vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 54ch; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* ---------- Emblème (logo) ---------- */

.mark { width: 100%; height: auto; overflow: visible; }
.mark .ray { fill: var(--amber); transition: fill .5s var(--ease), opacity .5s var(--ease); }
.mark .core { fill: currentColor; }
.mark .ray.is-dim { fill: currentColor; opacity: .16; }

/* ---------- Boutons ---------- */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: 1.05rem 1.55rem 1.05rem 1.7rem;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .005em;
    line-height: 1;
    overflow: hidden;
    isolation: isolate;
    white-space: nowrap;
    transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    transform: translateY(101%);
    transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn .arr { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber::before { background: var(--paper); }
.is-dark .btn--amber::before { background: var(--paper); }

.btn--ink { background: var(--navy); color: var(--paper); }
.btn--ink::before { background: var(--amber); }
.btn--ink:hover { color: var(--ink); }

.btn--line { border: 1px solid var(--line-strong); color: var(--text); }
.btn--line::before { background: var(--text); }
.btn--line:hover { color: var(--paper); border-color: transparent; }
.is-dark .btn--line:hover { color: var(--ink); }

.link {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    padding-bottom: 4px;
    transition: background-size .5s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .arr { width: 16px; height: 16px; }

/* ---------- Rideau de transition ---------- */

.curtain {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--paper);
    pointer-events: none;
    clip-path: inset(0 0 0 0);
}
html:not(.js) .curtain { display: none; }
.curtain .mark { width: 72px; animation: spin 2.4s var(--ease-io) infinite; }
body.is-loaded .curtain { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io) .1s; }
body.is-loaded .curtain .mark { opacity: 0; transition: opacity .3s; }
body.is-leaving .curtain { clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease-io); }
body.is-leaving .curtain .mark { opacity: 1; }

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

/* ---------- Navigation ---------- */

.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    height: 88px;
    display: flex;
    align-items: center;
    color: var(--paper);
    transition: height .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), box-shadow .5s;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.is-scrolled {
    height: 70px;
    color: var(--navy);
    background: rgba(244, 240, 230, .88);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(11, 31, 77, .1);
}
.nav.is-hidden { transform: translateY(-100%); }
body.menu-open .nav { color: var(--paper); background: transparent; box-shadow: none; transform: none; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 38px; transition: transform 1.2s var(--ease); }
.brand:hover .mark { transform: rotate(51.43deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand-text small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--amber); margin-top: 4px; }
.nav.is-scrolled .brand-text small { color: var(--em); }

.nav-links { display: flex; gap: 2.4rem; }
.nav-links a {
    position: relative;
    font-size: 14.5px;
    font-weight: 500;
    padding: 6px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); background: var(--amber); }

.nav-cta { padding: .8rem 1.2rem .8rem 1.35rem; font-size: 14px; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span {
    position: absolute;
    left: 10px; right: 10px;
    height: 1.5px;
    background: currentColor;
    transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
body.menu-open .nav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: var(--ink);
    color: var(--paper);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 110px var(--gutter) 40px;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .9s var(--ease-io);
    visibility: hidden;
}
body.menu-open .menu { clip-path: inset(0); visibility: visible; }
.menu ol { list-style: none; }
.menu li { border-top: 1px solid rgba(244, 240, 230, .14); overflow: hidden; }
.menu li a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 14px 0;
    font-family: var(--serif);
    font-size: clamp(2.4rem, 9vw, 4rem);
    line-height: 1;
    transform: translateY(100%);
    transition: transform .9s var(--ease);
}
.menu li a span { font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: .1em; }
body.menu-open .menu li a { transform: none; }
body.menu-open .menu li:nth-child(2) a { transition-delay: .06s; }
body.menu-open .menu li:nth-child(3) a { transition-delay: .12s; }
body.menu-open .menu li:nth-child(4) a { transition-delay: .18s; }
body.menu-open .menu li:nth-child(5) a { transition-delay: .24s; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 32px; color: rgba(244, 240, 230, .6); font-size: 14px; }

@media (max-width: 960px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .nav { height: 72px; }
}

/* ---------- Héros d'accueil ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: 128px;
    overflow: hidden;
}
.hero > .wrap { position: relative; z-index: 2; }
.hero-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}
.hero-meta .clock b { color: var(--paper); font-weight: 500; }
.hero-body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(32px, 5vh, 72px); padding-bottom: clamp(32px, 5vh, 64px); }
.hero-title { max-width: 13.5ch; }
.hero-foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 32px;
    margin-top: clamp(28px, 4.5vh, 56px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-emblem {
    position: absolute;
    z-index: 1;
    right: -24vw;
    top: 52%;
    width: min(78vw, 1040px);
    aspect-ratio: 1;
    translate: 0 -50%;
    color: var(--navy-2);
    pointer-events: none;
}
.hero-emblem .mark { animation: spin 140s linear infinite; }
.hero-emblem .ray { fill: #0F2352; animation: sweep 8.4s var(--ease) infinite; animation-delay: calc(var(--i) * 1.2s); }
.hero-emblem .core { fill: var(--amber); }
@keyframes sweep {
    0%, 4% { fill: #0F2352; }
    10%, 16% { fill: var(--amber); }
    30%, 100% { fill: #0F2352; }
}
.hero-emblem-inner { width: 100%; height: 100%; transition: transform 1.4s var(--ease); }

.scroll-cue { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.scroll-cue i { position: relative; width: 1px; height: 48px; background: var(--line-strong); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--amber); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.marquee {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
    overflow: hidden;
    padding: 22px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); font-style: italic; white-space: nowrap; }
.marquee-item .mark { width: 18px; color: var(--paper); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 760px) {
    .hero-foot { grid-template-columns: 1fr; }
    .scroll-cue { display: none; }
    .hero-meta .hide-sm { display: none; }
    .hero-emblem { right: -70vw; top: 62%; width: 130vw; opacity: .32; }
}

/* ---------- Bannière vidéo ---------- */

.reel {
    --nav-h: 88px;
    --bar-h: 76px;
    --ar: 1.7778;
    padding-top: var(--nav-h);
    background: var(--ink);
}
.reel.is-portrait { --ar: .5625; }
.reel-frame {
    position: relative;
    margin: 0 auto;
    width: min(100%, calc((100vh - var(--nav-h) - var(--bar-h)) * var(--ar)));
    width: min(100%, calc((100svh - var(--nav-h) - var(--bar-h)) * var(--ar)));
    aspect-ratio: var(--ar);
    background: #050F27;
    overflow: hidden;
}
.reel-video { width: 100%; height: 100%; object-fit: cover; }
.reel-bar {
    padding-right: calc(var(--gutter) + 76px);
    height: var(--bar-h);
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    border-bottom: 1px solid var(--line);
}
.reel-sound {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 0 18px 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .4s, color .4s, border-color .4s;
}
.reel-sound:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.reel-sound.is-blocked { background: var(--amber); color: var(--ink); border-color: var(--amber); animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(242, 169, 0, .5); } 35% { box-shadow: 0 0 0 10px rgba(242, 169, 0, 0); } }
.reel-eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.reel-eq i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .3s; }
.reel-sound[aria-pressed="true"] .reel-eq i { animation: eq .9s ease-in-out infinite alternate; }
.reel-sound[aria-pressed="true"] .reel-eq i:nth-child(2) { animation-delay: -.3s; }
.reel-sound[aria-pressed="true"] .reel-eq i:nth-child(3) { animation-delay: -.6s; }
.reel-sound[aria-pressed="true"] .reel-eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
.reel-progress { position: relative; flex: 1; height: 1px; background: var(--line-strong); }
.reel-progress i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(var(--p, 0)); }
.reel-time { color: var(--muted); white-space: nowrap; }
.reel .scroll-cue i { height: 28px; }

.hero--intro { min-height: 0; padding-top: clamp(72px, 9vw, 128px); }
.hero--intro .hero-body { padding-bottom: clamp(56px, 8vw, 112px); }

@media (max-width: 960px) { .reel { --nav-h: 72px; } }
@media (max-width: 600px) {
    .reel { --bar-h: 68px; }
    .reel-time, .reel .scroll-cue { display: none; }
}

/* ---------- Sections ---------- */

.section { position: relative; padding: clamp(88px, 12vw, 176px) 0; }
.section--tight { padding: clamp(64px, 8vw, 120px) 0; }
.section--paper2 { background: var(--paper-2); }

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 24px clamp(24px, 4vw, 64px);
    align-items: start;
    margin-bottom: clamp(48px, 6vw, 96px);
}
.section-head .label { padding-top: .9em; }
.section-head .lead { margin-top: 24px; }
@media (max-width: 860px) {
    .section-head { grid-template-columns: 1fr; }
    .section-head .label { padding-top: 0; }
}

/* ---------- Manifeste ---------- */

.manifesto-text {
    font-family: var(--serif);
    font-size: clamp(1.85rem, 3.7vw, 3.75rem);
    line-height: 1.1;
    letter-spacing: -.01em;
}
.manifesto-text .w { opacity: .14; transition: opacity .35s linear; }
.manifesto-text .w.on { opacity: 1; }
.manifesto-text em { font-style: italic; color: var(--em); }

.principles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 clamp(16px, 2.4vw, 40px);
    margin-top: clamp(56px, 7vw, 112px);
}
.principle { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.principle .mono { color: var(--em); }
.principle p { margin-top: 14px; font-size: 16.5px; line-height: 1.45; max-width: 24ch; }
@media (max-width: 860px) {
    .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}

/* ---------- Liste des 7 pôles ---------- */

.poles { border-top: 1px solid var(--line-strong); }
.pole {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 56px 56px minmax(0, 1.15fr) minmax(0, 1.25fr) 52px;
    align-items: center;
    gap: clamp(16px, 2.6vw, 44px);
    padding: clamp(24px, 2.6vw, 36px) 0;
    border-bottom: 1px solid var(--line-strong);
    transition: color .5s var(--ease);
}
.pole::before {
    content: '';
    position: absolute;
    inset: 0 calc(var(--gutter) * -1);
    z-index: -1;
    background: var(--navy);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .65s var(--ease);
}
.pole:hover, .pole:focus-visible { color: var(--paper); }
.pole:hover::before, .pole:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.pole-num { font-family: var(--mono); font-size: 13px; color: var(--muted); transition: color .5s; }
.pole .mark { width: 52px; color: var(--navy); transition: transform 1s var(--ease), color .5s; }
.pole:hover .mark, .pole:focus-visible .mark { transform: rotate(var(--r)); color: var(--paper); }
.pole-title { font-family: var(--serif); font-size: clamp(1.7rem, 2.9vw, 2.75rem); line-height: 1.02; letter-spacing: -.01em; }
.pole-desc { color: var(--muted); font-size: 15.5px; line-height: 1.5; transition: color .5s; }
.pole:hover .pole-desc, .pole:hover .pole-num { color: rgba(244, 240, 230, .7); }
.pole-go {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: grid;
    place-items: center;
    transition: background .5s var(--ease), border-color .5s, color .5s, transform .6s var(--ease);
}
.pole-go .arr { width: 20px; height: 20px; }
.pole:hover .pole-go { background: var(--amber); border-color: var(--amber); color: var(--ink); transform: rotate(-45deg); }
@media (max-width: 860px) {
    .pole { grid-template-columns: 40px minmax(0, 1fr) 44px; row-gap: 10px; }
    .pole .mark { display: none; }
    .pole-desc { grid-column: 2 / 4; grid-row: 2; }
    .pole-go { width: 44px; height: 44px; }
}

/* ---------- Chiffres ---------- */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 32px clamp(16px, 2vw, 32px) 0 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: clamp(16px, 2vw, 32px); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--serif); font-size: clamp(4rem, 9vw, 9rem); line-height: .9; letter-spacing: -.03em; }
.stat-num sup { font-size: .4em; color: var(--amber); vertical-align: top; position: relative; top: .25em; margin-left: .05em; }
.stat p { margin-top: 18px; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(3) { padding-left: 0; }
}

.offices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 48px);
    margin-top: clamp(64px, 8vw, 120px);
}
.office { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.office .mono { color: var(--amber); }
.office h3 { font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 400; line-height: 1.05; margin: 12px 0 14px; }
.office p { color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 860px) { .offices { grid-template-columns: 1fr; } }

/* ---------- Réalisations : défilement horizontal ---------- */

.hscroll-track { display: flex; flex-direction: column; gap: 24px; }
.case-intro { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.case-intro .h2 { max-width: 11ch; }
.case-progress { display: flex; align-items: center; gap: 16px; color: var(--muted); }
.case-progress i { position: relative; display: block; width: 160px; height: 1px; background: var(--line-strong); }
.case-progress i::after { content: ''; position: absolute; inset: 0; background: var(--em); transform-origin: left; transform: scaleX(var(--p, 0)); }

.case {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 72px);
    padding: clamp(28px, 4vw, 64px);
    background: var(--navy);
    color: var(--paper);
    border-radius: 6px;
    --muted: rgba(244, 240, 230, .64);
    --line: rgba(244, 240, 230, .16);
}
.case-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); }
.case-tag .mark { width: 22px; color: var(--paper); }
.case h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.2vw, 4.2rem); line-height: 1; letter-spacing: -.015em; margin: 22px 0 18px; }
.case-lede { color: var(--muted); max-width: 40ch; }
.case-metrics { display: flex; gap: clamp(20px, 3vw, 48px); margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.case-metrics strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; color: var(--amber); }
.case-metrics span { font-size: 13px; color: var(--muted); }
.case-body { display: flex; flex-direction: column; gap: 22px; }
.case-body div { border-top: 1px solid var(--line); padding-top: 14px; }
.case-body .mono { color: var(--amber); }
.case-body p, .case-body li { font-size: 15.5px; line-height: 1.55; color: rgba(244, 240, 230, .86); margin-top: 6px; }
.case-body ul { margin-top: 6px; }
.case-body li { position: relative; padding-left: 20px; margin-top: 4px; }
.case-body li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--amber); }

@media (min-width: 961px) {
    .hscroll { height: var(--hs-h, 300vh); }
    .hscroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
    .hscroll-track { flex-direction: row; align-items: stretch; gap: 28px; padding: 0 var(--gutter); will-change: transform; }
    .case-intro { flex: 0 0 min(30vw, 420px); padding: 24px 0; }
    .case { flex: 0 0 min(76vw, 1060px); min-height: min(72vh, 640px); }
}
@media (max-width: 960px) {
    .hscroll { padding: clamp(88px, 12vw, 160px) 0; }
    .hscroll-track { padding: 0 var(--gutter); }
    .case { grid-template-columns: 1fr; }
}

/* ---------- Accordéons (secteurs) ---------- */

.acc { border-top: 1px solid var(--line-strong); }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-item summary {
    list-style: none;
    display: grid;
    grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) 40px;
    align-items: center;
    gap: clamp(16px, 2.6vw, 44px);
    padding: clamp(22px, 2.4vw, 34px) 0;
    cursor: pointer;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .mono { color: var(--muted); }
.acc-item summary h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.9vw, 2.75rem); line-height: 1.02; }
.acc-item summary p { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.25rem; }
.acc-plus { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.acc-plus::before, .acc-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.acc-plus::after { rotate: 90deg; transition: rotate .5s var(--ease); }
.acc-item[open] .acc-plus { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.acc-item[open] .acc-plus::after { rotate: 0deg; }
.acc-body {
    display: grid;
    grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) 40px;
    gap: clamp(16px, 2.6vw, 44px);
    padding-bottom: 40px;
    animation: accIn .7s var(--ease);
}
.acc-body > :first-child { grid-column: 2; }
.acc-body p { color: var(--muted); max-width: 52ch; }
.acc-results { display: flex; gap: clamp(20px, 3vw, 44px); }
.acc-results strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; color: var(--em); }
.acc-results span { font-size: 13px; color: var(--muted); }
@keyframes accIn { from { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 860px) {
    .acc-item summary { grid-template-columns: 36px minmax(0, 1fr) 40px; }
    .acc-item summary p { grid-column: 2; grid-row: 2; font-size: 1.1rem; }
    .acc-item summary .acc-plus { grid-column: 3; grid-row: 1; }
    .acc-body { grid-template-columns: 1fr; }
    .acc-body > :first-child { grid-column: auto; }
}

/* ---------- Héros des pages intérieures ---------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(150px, 20vh, 220px) 0 clamp(56px, 8vw, 112px);
}
.page-hero .wrap { position: relative; z-index: 2; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.crumbs a:hover { color: var(--paper); }
.crumbs .sep { width: 18px; height: 1px; background: currentColor; opacity: .6; }
.page-hero .h1 { max-width: 14ch; }
.page-hero .lead { margin-top: clamp(20px, 3vw, 36px); }
.page-hero-foot {
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: clamp(48px, 7vw, 96px);
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}
.page-emblem {
    position: absolute;
    z-index: 1;
    right: -12vw;
    top: 50%;
    width: min(62vw, 720px);
    translate: 0 -38%;
    color: var(--navy-2);
    pointer-events: none;
}
.page-emblem .mark { transform: rotate(var(--r, 0deg)); transition: transform 2s var(--ease); }
.page-emblem .ray { fill: var(--navy-2); }
.page-emblem .ray.is-on { fill: var(--amber); }
.page-emblem .core { fill: var(--navy-3); }
.page-emblem.is-spinning .mark { animation: spin 160s linear infinite; }
html.js body:not(.is-loaded) .page-emblem .mark { transform: rotate(calc(var(--r, 0deg) + 90deg)); }
@media (max-width: 760px) { .page-emblem { right: -50vw; width: 120vw; opacity: .6; } }

/* ---------- Expertises : emblème collant ---------- */

.pole-scroller { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); }
.pole-sticky { position: sticky; top: 14vh; height: 72vh; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px; }
.pole-sticky .mark { width: min(100%, 420px); color: var(--navy); transform: rotate(var(--r, 0deg)); transition: transform 1.2s var(--ease); }
.pole-sticky .ray { fill: currentColor; opacity: .12; }
.pole-sticky .ray.is-on { fill: var(--amber); opacity: 1; }
.pole-sticky-label { text-align: center; }
.pole-sticky-label .mono { color: var(--em); }
.pole-sticky-label strong { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.pole-block { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 64px 0; border-top: 1px solid var(--line-strong); }
.pole-block:last-child { border-bottom: 1px solid var(--line-strong); }
.pole-block-num { font-family: var(--mono); font-size: 13px; color: var(--em); letter-spacing: .1em; }
.pole-block .h2 { margin: 18px 0 10px; }
.pole-block .tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.8vw, 1.6rem); color: var(--muted); }
.pole-block > p { margin-top: 22px; max-width: 52ch; }
.pole-block ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 32px 0 36px; }
.pole-block li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; display: flex; gap: 12px; }
.pole-block li span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); padding-top: 3px; }
@media (max-width: 960px) {
    .pole-scroller { grid-template-columns: 1fr; }
    .pole-sticky { display: none; }
    .pole-block { min-height: 0; }
    .pole-block ul { grid-template-columns: 1fr; }
}

/* ---------- Pages service ---------- */

.overview { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(24px, 4vw, 64px); }
.overview .h2 { max-width: 18ch; }
.overview-body { columns: 2; column-gap: clamp(24px, 3vw, 48px); margin-top: 36px; color: var(--muted); }
.overview-body p + p { margin-top: 1em; }
@media (max-width: 860px) { .overview { grid-template-columns: 1fr; } .overview-body { columns: 1; } }

.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 48px); }
.feat { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.feat .mono { color: var(--em); }
.feat h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.1; margin: 16px 0 12px; }
.feat p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feats { grid-template-columns: 1fr; } }

.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); padding-top: 44px; }
.steps::before, .steps::after { content: ''; position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.steps::after { background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .2s; }
.steps.is-in::after { transform: scaleX(1); }
.step { position: relative; }
.step::before { content: ''; position: absolute; top: -44px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1px solid var(--amber); }
.is-dark .step::before { background: var(--ink); }
.step .mono { color: var(--em); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.65rem; margin: 10px 0 8px; line-height: 1.1; }
.step p { font-size: 15px; color: var(--muted); }
@media (max-width: 960px) {
    .steps { grid-template-columns: 1fr; padding: 0 0 0 36px; gap: 36px; }
    .steps::before, .steps::after { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
    .steps::after { transform: scaleY(0); transform-origin: top; }
    .steps.is-in::after { transform: scaleY(1); }
    .step::before { top: 6px; left: -36px; }
}

.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.benefit { padding: 32px clamp(16px, 2vw, 32px) 8px 0; border-right: 1px solid var(--line); }
.benefit + .benefit { padding-left: clamp(16px, 2vw, 32px); }
.benefit:last-child { border-right: 0; }
.benefit strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 5.6vw, 5.6rem); line-height: .95; color: var(--amber); letter-spacing: -.02em; }
.benefit h3 { font-size: 16px; font-weight: 600; margin: 22px 0 8px; }
.benefit p { font-size: 15px; color: var(--muted); }
@media (max-width: 960px) {
    .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .benefit { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
    .benefit:nth-child(2) { border-right: 0; }
    .benefit:nth-child(3) { padding-left: 0; }
}
@media (max-width: 520px) {
    .benefits { grid-template-columns: 1fr; }
    .benefit, .benefit + .benefit { padding-left: 0; border-right: 0; }
}

.study { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.study > div { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.study .mono { color: var(--em); }
.study p, .study li { margin-top: 14px; color: var(--muted); }
.study ul { margin-top: 6px; }
.study li { position: relative; margin-top: 10px; padding-left: 22px; color: var(--text); }
.study li::before { content: ''; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--amber); }
@media (max-width: 860px) { .study { grid-template-columns: 1fr; } }

.pole-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.pole-nav a { position: relative; isolation: isolate; padding: clamp(40px, 5vw, 72px) var(--gutter); display: flex; flex-direction: column; gap: 12px; transition: color .5s var(--ease); }
.pole-nav a + a { border-left: 1px solid var(--line-strong); text-align: right; align-items: flex-end; }
.pole-nav a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.pole-nav a:hover { color: var(--paper); }
.pole-nav a:hover::before { transform: scaleY(1); }
.pole-nav .mono { color: var(--muted); }
.pole-nav strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 1.05; }
@media (max-width: 640px) { .pole-nav { grid-template-columns: 1fr; } .pole-nav a + a { border-left: 0; border-top: 1px solid var(--line-strong); } }

/* ---------- À propos ---------- */

.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); }
.story-text p { color: var(--muted); margin-top: 1.1em; max-width: 60ch; }
.story-text p:first-of-type { margin-top: 32px; font-size: clamp(1.15rem, 1.5vw, 1.35rem); color: var(--text); }
.story-stats { display: grid; grid-template-columns: 1fr 1fr; align-content: start; border-top: 1px solid var(--line-strong); }
.story-stats div { padding: 26px 0 26px; border-bottom: 1px solid var(--line-strong); }
.story-stats div:nth-child(odd) { border-right: 1px solid var(--line-strong); padding-right: 20px; }
.story-stats div:nth-child(even) { padding-left: 24px; }
.story-stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 5vw, 4.6rem); line-height: 1; }
.story-stats strong sup { font-size: .45em; color: var(--em); }
.story-stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .story { grid-template-columns: 1fr; } }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 112px); }
.mv > div { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.mv p { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.15; margin-top: 24px; letter-spacing: -.005em; }
@media (max-width: 860px) { .mv { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.value { border-top: 1px solid var(--line-strong); padding: 22px 0 48px; }
.value .mono { color: var(--em); }
.value h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; margin: 16px 0 12px; }
.value p { color: var(--muted); font-size: 15.5px; max-width: 34ch; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Secteurs ---------- */

.sector { padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line-strong); }
.sector:last-child { border-bottom: 1px solid var(--line-strong); }
.sector-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px clamp(24px, 4vw, 64px); align-items: baseline; }
.sector-head .mono { color: var(--em); }
.sector-head .tag { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: clamp(1.25rem, 1.8vw, 1.55rem); margin-top: 8px; }
.sector-cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); }
.sector-cols h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sector-cols p { color: var(--muted); }
.sector-cols li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.sector-results { display: grid; gap: 18px; }
.sector-results div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.sector-results strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1; color: var(--em); }
.sector-results span { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) {
    .sector-head, .sector-cols { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 128px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
    font: inherit;
    font-size: 17px;
    color: var(--text);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    padding: 10px 0 12px;
    outline: none;
    transition: border-color .4s;
    -webkit-appearance: none;
    appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F4D' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 18px;
    padding-right: 28px;
    cursor: pointer;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(11, 31, 77, .35); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-foot p { font-size: 14px; color: var(--muted); max-width: 40ch; }
.form-status { grid-column: 1 / -1; font-size: 15px; color: var(--em); min-height: 1.4em; }

.info-list > div { border-top: 1px solid var(--line-strong); padding: 22px 0; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }
.info-list > div:last-child { border-bottom: 1px solid var(--line-strong); }
.info-list .mono { color: var(--em); padding-top: 4px; }
.info-list p { font-size: 15.5px; line-height: 1.6; }
.info-list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.info-list a:hover { background-size: 100% 1px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .form { grid-template-columns: 1fr; }
    .info-list > div { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Pied de page ---------- */

.footer { position: relative; overflow: hidden; }
.footer-cta { padding: clamp(96px, 13vw, 200px) 0 clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--line); }
.footer-cta .h1 { max-width: 12ch; }
.footer-cta-row { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 32px; margin-top: clamp(36px, 5vw, 64px); }
.footer-cta-row .lead { max-width: 44ch; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 48px); padding: clamp(56px, 6vw, 88px) 0; }
.footer-grid h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.footer-grid p, .footer-grid li { font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.footer-grid a:hover { color: var(--paper); }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { max-width: 30ch; }
.footer-word {
    font-family: var(--serif);
    font-size: 15.4vw;
    line-height: .8;
    letter-spacing: -.035em;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(244, 240, 230, .16);
    text-align: center;
    user-select: none;
    padding-top: .06em;
    margin-bottom: -.1em;
}
.footer-word em { font-style: italic; -webkit-text-stroke-color: rgba(242, 169, 0, .5); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding: 26px 0 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom a { color: var(--paper); }
.footer-bottom button { white-space: nowrap; font-size: 13px; color: var(--paper); display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom button:hover { color: var(--amber); }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Bouton WhatsApp ---------- */

.wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 16px 0 15px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--paper);
    box-shadow: 0 10px 30px rgba(6, 17, 43, .28);
    transition: background .4s, color .4s, transform .5s var(--ease);
}
.wa svg { width: 24px; height: 24px; flex: none; }
.wa span { font-size: 14px; font-weight: 600; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .6s var(--ease); }
.wa:hover { background: var(--amber); color: var(--ink); }
.wa:hover span { max-width: 160px; }
body.menu-open .wa { transform: translateY(120px); }

/* ---------- Fenêtre de partage ---------- */

.share {
    margin: auto;
    width: min(560px, calc(100% - 32px));
    border: 0;
    border-radius: 8px;
    background: var(--paper);
    color: var(--text);
    padding: clamp(28px, 4vw, 44px);
}
.share::backdrop { background: rgba(6, 17, 43, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.share[open] { animation: shareIn .6s var(--ease); }
@keyframes shareIn { from { opacity: 0; transform: translateY(24px); } }
.share-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 22px; line-height: 1; }
.share h2 { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1.05; margin: 14px 0 8px; }
.share > p { color: var(--muted); font-size: 15px; }
.share-body { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; margin-top: 28px; }
.share-body img { width: 150px; height: 150px; object-fit: contain; background: #fff; border-radius: 6px; padding: 8px; }
.share-body ul { display: grid; gap: 8px; }
.share-body button { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 15px; font-weight: 500; transition: background .3s, color .3s; }
.share-body button:hover { background: var(--navy); color: var(--paper); }
.share-feedback { margin-top: 14px; font-size: 14px; color: var(--em); min-height: 1.4em; }
@media (max-width: 520px) { .share-body { grid-template-columns: 1fr; } }

/* ---------- Animations d'apparition ---------- */

html.js [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.1s var(--ease), transform 1.2s var(--ease);
    transition-delay: var(--d, 0s);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.sw > span { display: inline-block; }
html.js [data-split] .sw > span {
    transform: translateY(108%);
    transition: transform 1.2s var(--ease);
    transition-delay: calc(var(--i) * 45ms + var(--d, 0s));
}
html.js [data-split].is-in .sw > span { transform: none; }

html.js [data-line] { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
html.js [data-line].is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
    html.js [data-reveal], html.js [data-split] .sw > span { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
}
