/* VOICE: institutionnel, chaleureux, précis — une entreprise de terrain qui rassure les décideurs.
   IDEA: le site se comporte comme la plaquette GESCO dépliée : des preuves, des photos réelles, des chiffres.
   PICTURE: une mosaïque de vraies photos d'équipes, bordée des triangles du symbole.
   COLOUR and TYPE: violet nuit dominant, blanc, accents des cinq couleurs du logo ; Lora + Open Sans (charte).
   LAYOUT: bandes pleine largeur alternées clair / violet nuit, contenu 1200 px, empilé sous 760 px. */
:root {
  color-scheme: light dark;
  --violet: #710E80; --bleu: #17BBDE; --rouge: #E60517; --jaune: #FEC002; --vert: #B4DA12;
  --nuit: #221533;
  --bg: light-dark(#FFFFFF, #17101F);
  --bg2: light-dark(#F4EFF6, #1F1629);
  --card: light-dark(#FFFFFF, #261B32);
  --ink: light-dark(#221533, #F2ECF6);
  --soft: light-dark(#4A4056, #CBBFD6);
  --line: light-dark(#E4DCEA, #3A2D48);
  --accent: light-dark(#710E80, #D9A6E4);
  --focus: #17BBDE;
}
:root[data-theme=light] { color-scheme: light; }
:root[data-theme=dark] { color-scheme: dark; }
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.6 'Open Sans', Arial, sans-serif; overflow-x: clip; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { font-family: 'Lora', Georgia, serif; font-weight: 500; line-height: 1.1; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 4.6vw, 54px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--nuit); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 max(5vw, 18px); }
.band { padding: clamp(56px, 7vw, 104px) 0; }
.alt { background: var(--bg2); }
.night { background: var(--nuit); color: #F2ECF6; }
.night h2, .night h3 { color: #fff; }
.night .lead, .night p { color: #D6CBE0; }
.lead { font-size: 18px; color: var(--soft); max-width: 62ch; }
.kick { font-size: 14px; font-weight: 600; color: var(--accent); margin: 0 0 10px; }
.night .kick { color: var(--vert); }
.stripe { height: 6px; background: linear-gradient(90deg, var(--violet) 0 20%, var(--bleu) 20% 40%, var(--rouge) 40% 60%, var(--vert) 60% 80%, var(--jaune) 80%); }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 2px solid transparent; font-size: 16px; cursor: pointer; }
.btn-main { background: var(--violet); color: #fff; }
.btn-main:hover { background: #5a0b66; }
.btn-sun { background: var(--jaune); color: var(--nuit); }
.btn-sun:hover { background: #e9ae00; }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }

/* en-tête */
header.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand img { height: 46px; width: auto; }
.brand .inv { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .brand .def { display: none; } :root:not([data-theme=light]) .brand .inv { display: block; } }
:root[data-theme=dark] .brand .def { display: none; } :root[data-theme=dark] .brand .inv { display: block; }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
nav.main a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 6px; }
nav.main a:hover { background: var(--bg2); }
nav.main .btn { color: #fff; margin-left: 8px; }
.menu-btn { display: none; min-height: 44px; min-width: 44px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 8px; font: 600 15px 'Open Sans', sans-serif; padding: 0 14px; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  nav.main { position: absolute; left: 0; right: 0; top: 76px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; padding: 10px max(5vw, 18px) 18px; }
  nav.main a { padding: 14px 8px; }
  nav.main .btn { margin: 8px 0 0; }
}

/* héros */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero p.lead { margin-bottom: 28px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.mosaic { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 38vw, 480px); position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.mosaic img:first-child { grid-row: 1 / 3; }
.hero .tri { position: absolute; left: -70px; bottom: 120px; width: 190px; opacity: .9; pointer-events: none; }
@media (max-width: 1100px) { .hero .tri { display: none; } }
.figures { margin-top: clamp(40px, 5vw, 64px); background: var(--nuit); color: #fff; }
.figures ul { list-style: none; margin: 0 auto; padding: 28px max(5vw, 18px); max-width: 1200px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.figures b { display: block; font: 500 clamp(30px, 3.4vw, 42px)/1 'Lora', Georgia, serif; color: var(--jaune); }
.figures span { font-size: 14px; color: #D6CBE0; }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .figures ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures li:last-child { grid-column: 1 / -1; }
}

/* métiers */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card .in { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card ul { margin: 0 0 18px; padding-left: 20px; color: var(--soft); }
.card a.more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: #fff; padding: 3px 10px; border-radius: 99px; margin-bottom: 12px; width: fit-content; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } .card img { aspect-ratio: 16 / 9; } }

/* détail métier */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split.rev > :first-child { order: 2; }
.split figure { margin: 0; position: sticky; top: 100px; }
.split figure img { border-radius: 12px; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
figcaption { font-size: 13px; color: var(--soft); margin-top: 8px; }
.night figcaption { color: #B9AAC7; }
.list { list-style: none; padding: 0; margin: 0 0 24px; }
.list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.night .list li { border-color: #3A2D48; }
.list b { display: block; font-size: 17px; }
.list span { color: var(--soft); font-size: 15.5px; }
.night .list span { color: #CBBFD6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 10px 14px; font-size: 15px; }
.chips b { display: block; font-family: 'Lora', Georgia, serif; font-weight: 500; font-size: 18px; }
.night .chips li { background: #2F2244; border-color: #3A2D48; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 8px; background: var(--nuit); color: #fff; display: grid; place-items: center; font: 500 18px 'Lora', serif; }
.formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 36px; }
.formules div { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--rouge); border-radius: 10px; padding: 18px 20px; }
.formules p { color: var(--soft); font-size: 15.5px; margin: 0; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } .split figure { position: static; } .formules { grid-template-columns: 1fr; } }

/* engagements */
.grid4 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
@media (max-width: 1100px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } }
.eng { background: #2F2244; border-radius: 12px; padding: 24px; border-top: 5px solid; }
.eng h3 { font-size: 20px; }
.eng p { font-size: 15.5px; margin: 0; }

/* références */
.refs { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .refs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.refs li { border: 1px solid var(--line); background: var(--card); border-radius: 10px; min-height: 86px; display: grid; place-items: center; text-align: center; padding: 12px; font-weight: 600; font-size: 16px; }

/* à propos */
.timeline { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.timeline li { border-top: 4px solid; padding-top: 10px; font-size: 15px; color: var(--soft); }
.timeline b { display: block; font: 500 24px 'Lora', serif; color: var(--ink); }
.founders { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); background: var(--nuit); color: #fff; border-radius: 14px; overflow: hidden; }
.founders img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 25%; min-height: 300px; }
.founders .in { padding: clamp(24px, 4vw, 44px); }
.founders .in p { color: #D6CBE0; }
.founders dl { margin: 18px 0 0; display: grid; gap: 14px; }
.founders dt { font-weight: 600; font-size: 18px; } .founders dd { margin: 0; color: #CBBFD6; }
@media (max-width: 860px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } .founders { grid-template-columns: 1fr; } }

/* galerie */
.gal-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.gal-ctl { display: flex; gap: 8px; }
.gal-ctl button { min-width: 48px; min-height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 20px; cursor: pointer; }
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 0 8px; scrollbar-width: thin; }
.gallery figure { flex: 0 0 min(420px, 82%); scroll-snap-align: start; margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* carrières */
.career { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.career img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .career { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 60px); }
.coords { list-style: none; padding: 0; margin: 0 0 24px; }
.coords li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.coords b { display: block; font-size: 14px; color: var(--soft); font-weight: 600; }
.coords a, .coords span { font-size: 17px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
form { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.req { color: var(--rouge); }
input, select, textarea { width: 100%; font: 16px 'Open Sans', Arial, sans-serif; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; min-height: 48px; }
textarea { min-height: 140px; resize: vertical; }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--rouge); }
.err { color: var(--rouge); font-size: 14px; margin-top: 4px; min-height: 0; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--soft); }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; }
.status { padding: 14px 16px; border-radius: 8px; background: var(--bg2); font-size: 15px; display: none; }
.status.show { display: block; }
@media (max-width: 760px) { .contact, .row2 { grid-template-columns: 1fr; } }

/* pied */
footer.foot { background: var(--nuit); color: #CBBFD6; padding: 48px 0 28px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot img { height: 64px; width: auto; margin-bottom: 14px; }
.foot h2 { font-size: 18px; color: #fff; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: #E9E1F0; text-decoration: none; } .foot a:hover { text-decoration: underline; }
.foot .legal { border-top: 1px solid #3A2D48; margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr; } }

.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; background: #128C4A; color: #fff; border-radius: 99px; padding: 12px 18px; min-height: 52px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa svg { width: 22px; height: 22px; }

/* page légale */
.doc { max-width: 820px; }
.doc h2 { font-size: 26px; margin-top: 1.6em; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15.5px; }
.doc td, .doc th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.doc th { width: 34%; font-weight: 600; }

/* ===================== ANIMATIONS ET DIAPORAMA ===================== */
.figures { margin-top: 0; }
.btn { transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(34,21,51,.18); }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }

/* barre de progression de lecture */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--violet), var(--bleu), var(--rouge), var(--vert), var(--jaune)); }

/* en-tête qui se resserre */
header.top { transition: box-shadow .3s ease, background-color .3s ease; }
header.top .wrap { transition: height .3s ease; }
header.top .brand img { transition: height .3s ease; }
header.top.scrolled { box-shadow: 0 6px 24px rgba(34,21,51,.12); }
header.top.scrolled .wrap { height: 64px; }
header.top.scrolled .brand img { height: 38px; }
nav.main a:not(.btn) { position: relative; }
nav.main a:not(.btn)::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
nav.main a:not(.btn):hover::after, nav.main a.active::after { transform: scaleX(1); }
@media (max-width: 980px) { nav.main { top: 100%; } }

/* diaporama d'accueil */
.hero-slider { position: relative; height: clamp(540px, 82vh, 780px); overflow: hidden; background: var(--nuit); color: #fff; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s ease-out; }
.slide.is-active img { transform: scale(1); }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34,21,51,.92) 0%, rgba(34,21,51,.72) 42%, rgba(34,21,51,.15) 78%), linear-gradient(0deg, rgba(34,21,51,.6), transparent 40%); }
.slide-txt { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.slide-txt .wrap { width: 100%; }
.slide-txt .kick, .slide-txt .htitle, .slide-txt .slead, .slide-txt .ctas { max-width: 640px; opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.slide.is-active .kick { opacity: 1; transform: none; transition-delay: .35s; }
.slide.is-active .htitle { opacity: 1; transform: none; transition-delay: .5s; }
.slide.is-active .slead { opacity: 1; transform: none; transition-delay: .7s; }
.slide.is-active .ctas { opacity: 1; transform: none; transition-delay: .9s; }
.slide-txt .kick { color: var(--vert); }
.htitle { font-family: 'Lora', Georgia, serif; font-weight: 500; font-size: clamp(36px, 5.2vw, 62px); line-height: 1.06; color: #fff; margin: 0 0 18px; text-wrap: balance; }
.slead { font-size: clamp(17px, 1.6vw, 20px); color: #E4DAEC; margin: 0 0 28px; }
.slide-txt .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-slider .tri { position: absolute; right: -90px; top: -80px; width: 340px; z-index: 3; opacity: .95; pointer-events: none; }
.spin { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.slider-ctl { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 4; }
.slider-ctl .wrap { display: flex; align-items: center; gap: 10px; }
.sbtn { min-width: 44px; min-height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(34,21,51,.35); color: #fff; font-size: 20px; cursor: pointer; display: inline-grid; place-items: center; transition: background-color .2s ease; }
.sbtn:hover { background: rgba(255,255,255,.2); }
.sbtn.pause { font-size: 13px; }
.sbtn .ico-play, .sbtn[aria-pressed=true] .ico-pause { display: none; }
.sbtn[aria-pressed=true] .ico-play { display: inline; }
.dots { display: flex; gap: 4px; }
.dot { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; padding: 0; }
.dot::before { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-radius: 99px; background: rgba(255,255,255,.45); transform: translate(-50%, -50%); transition: width .35s ease, background-color .35s ease; }
.dot.on::before { width: 30px; background: var(--jaune); }
.sbar { flex: 1; max-width: 220px; height: 3px; background: rgba(255,255,255,.25); border-radius: 3px; overflow: hidden; margin-left: 8px; }
.sbar i { display: block; height: 100%; width: 100%; background: var(--jaune); transform-origin: left; transform: scaleX(0); }
.sbar i.run { animation: bar var(--dur, 6.5s) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
@media (max-width: 760px) {
  .hero-slider { height: clamp(560px, 92vh, 720px); }
  .slide::after { background: linear-gradient(0deg, rgba(34,21,51,.95) 0%, rgba(34,21,51,.75) 55%, rgba(34,21,51,.25) 100%); }
  .slide-txt { align-items: flex-end; padding-bottom: 96px; }
  .hero-slider .tri { width: 180px; right: -60px; top: -50px; }
  .sbar { display: none; }
}

/* apparitions au défilement */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.from-left { transform: translateX(-40px); }
.js .reveal.from-right { transform: translateX(40px); }
.js .reveal.zoom { transform: scale(.94); }
.js .reveal.in { opacity: 1; transform: none; }

/* cartes et images vivantes */
.card { transition: transform .35s ease, box-shadow .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(34,21,51,.16); }
.card img, .split figure img, .career img, .gallery img, .founders img { transition: transform .8s ease; }
.card { isolation: isolate; }
.card:hover img { transform: scale(1.06); }
.split figure, .career > img, .gallery figure { overflow: hidden; border-radius: 12px; }
.split figure:hover img, .gallery figure:hover img { transform: scale(1.05); }
.eng { transition: transform .35s ease, background-color .35s ease; }
.eng:hover { transform: translateY(-6px); background: #36284d; }
.timeline li { transition: transform .3s ease; } .timeline li:hover { transform: translateY(-4px); }

/* références qui défilent */
.marquee { margin-top: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.refs-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .refs-track, .marquee:focus-within .refs-track { animation-play-state: paused; }
.refs-track li { flex: none; min-width: 230px; min-height: 92px; display: grid; place-items: center; padding: 12px 24px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; font-weight: 600; font-size: 17px; text-align: center; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* galerie */
.gal-pause { font-size: 13px !important; }

/* retour en haut */
.totop { position: fixed; right: 18px; bottom: 84px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; background: var(--nuit); color: #fff; display: grid; place-items: center; text-decoration: none; font-size: 20px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.wa { animation: pop .6s 1.5s both; }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.9); } }

/* mouvement réduit : tout est affiché, rien ne bouge */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .slide img, .slide.is-active img { transform: none; }
  .slide-txt .kick, .slide-txt .htitle, .slide-txt .slead, .slide-txt .ctas { opacity: 1; transform: none; }
  .refs-track { animation: none; flex-wrap: wrap; width: auto; }
  .refs-track li[aria-hidden] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
