/* ==========================================================================
   Roulelibre — feuille de style commune
   Direction : showroom éditorial. Papier chaud, encre, accent orange
   (repris de la molette de pliage du 360).
   ========================================================================== */

:root {
  --paper: #EFEDE6;
  --paper-2: #E6E3DA;
  --surface: #FAF9F5;
  --white: #FFFFFF;
  --ink: #121412;
  --ink-2: #2B2E2B;
  --muted: #5C605B;
  --muted-2: #8A8D86;
  --line: #D9D5CA;
  --line-soft: #E7E4DC;
  --accent: #FF5A1F;
  --accent-ink: #1A0A03;
  --accent-soft: #FFE6DA;
  --ok: #1F6B45;
  --ok-soft: #E1EFE6;

  --f-display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --f-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', monospace;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 0 rgba(18,20,18,.04), 0 12px 32px -12px rgba(18,20,18,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typographie ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.eyebrow--plain::before { display: none; }

.display, h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(42px, 6.2vw, 88px); line-height: .95; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin: 0; }
.muted { color: var(--muted); }
.fine { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.mono { font-family: var(--f-mono); }
.hl { color: var(--accent); }

/* ---------- Boutons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #FF7240; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #2A2E2A; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--accent); color: var(--accent-ink); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent); }

/* ---------- Bandeau d'indépendance ---------- */
.notice {
  background: var(--ink); color: #D9DBD5;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em;
}
.notice .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.notice__fr { display: inline-flex; align-items: center; gap: 8px; color: var(--white); white-space: nowrap; }
.notice__fr i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 720px) { .notice__txt-long { display: none; } .notice { font-size: 10.5px; letter-spacing: .02em; } .notice .wrap { min-height: 30px; padding-block: 6px; } }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(239, 237, 230, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 36px; height: 36px; flex: none; display: block; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b { font-family: var(--f-display); font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.brand__txt small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  height: 40px; padding: 0 12px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.nav a[aria-current="page"] small { color: var(--accent); }
.header__cta { flex: none; }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--ink); background: transparent; position: relative; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger::before { top: 15px; } .burger span { top: 20px; } .burger::after { top: 25px; }
.burger[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }

.nav .nav__cta { display: none; }
@media (max-width: 1280px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    max-height: calc(100vh - 72px); overflow-y: auto;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(18,20,18,.25);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { height: 58px; border-radius: 0; border-bottom: 1px solid var(--line-soft); font-size: 18px; padding: 0 4px; }
  .nav a:not(.btn):hover { background: transparent; color: var(--accent); }
  .nav a[aria-current="page"] { background: transparent; color: var(--ink); font-weight: 700; }
  .nav .nav__cta { display: inline-flex; margin-top: 20px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--white { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink .eyebrow, .section--ink .muted { color: #A9ADA6; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > div { display: flex; flex-direction: column; gap: 18px; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; max-width: 46ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Scène produit (fond studio réutilisable) ---------- */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 18%, #FFFFFF 0%, #F6F4EF 42%, #E9E6DE 100%);
  border-radius: var(--radius-lg);
}
.stage::after { /* ombre au sol */
  content: ""; position: absolute; z-index: -1;
  left: 12%; right: 12%; bottom: 7%; height: 9%;
  background: radial-gradient(closest-side, rgba(18,20,18,.22), transparent);
  filter: blur(6px);
}
.stage img { position: relative; object-fit: contain; }
.stage--grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; mix-blend-mode: multiply;
  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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Pastilles ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .03em;
  background: var(--white); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap;
}
.tag--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tag--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tag--ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }

/* ---------- Mentions prix ---------- */
.price-note { font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 90ch; margin: 0; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: #C9CBC5; }
.footer__top { padding-block: 72px 48px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer .brand__mark rect { fill: var(--white); }
.footer .brand__mark .needle { stroke: var(--ink); }
.footer .brand__mark .hub { fill: var(--ink); }
.footer .brand__txt b { color: var(--white); }
.footer .brand__txt small { color: #8E918A; }
.footer h4 { margin: 0 0 16px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8E918A; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 15px; }
.footer ul li { min-height: 32px; display: flex; align-items: center; }
.footer a, .footer button.linklike { display: inline-flex; align-items: center; min-height: 32px; color: #E7E8E3; background: none; border: 0; padding: 0; text-align: left; font-size: 15px; }
.footer a:hover, .footer button.linklike:hover { color: var(--accent); }
.footer__about { max-width: 34ch; margin: 18px 0 0; font-size: 15px; line-height: 1.6; }
.footer__legal { border-top: 1px solid #2A2D2A; padding-block: 28px 40px; display: grid; gap: 10px; font-size: 13px; line-height: 1.6; color: #9EA19A; }
.footer__legal p { margin: 0; max-width: 110ch; }
.footer__badge { display: inline-flex; align-self: start; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--white); border: 1px solid #3A3D3A; border-radius: 999px; padding: 6px 12px; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Cookies ---------- */
.cookie {
  position: fixed; z-index: 60; left: 20px; bottom: 20px;
  width: min(440px, calc(100vw - 40px));
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); box-shadow: 0 24px 60px -16px rgba(18,20,18,.35), 0 0 0 1px rgba(18,20,18,.06);
  padding: 22px; display: grid; gap: 16px;
  animation: rise .4s var(--ease) both;
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 20px; letter-spacing: -.01em; }
.cookie p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie__prefs { display: grid; gap: 10px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.cookie__prefs[hidden] { display: none; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.switch-row small { display: block; color: var(--muted); font-size: 12.5px; }
.cookie__more { justify-self: center; background: none; border: 0; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }

/* Interrupteur */
.toggle { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .2s var(--ease); margin: 0; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.toggle:checked { background: var(--ink); }
.toggle:checked::after { transform: translateX(18px); }
.toggle:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Animations d'entrée ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Lien d'évitement ---------- */
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 600; }
.skip:focus { top: 12px; }

/* ==========================================================================
   Composants partagés par les 3 pages (cohérence visuelle)
   ========================================================================== */

/* Étiquette de donnée (petites capitales mono) */
.label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }

/* Carte */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 32px);
}
.card--white { background: var(--white); }
.card--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.card--ink .label, .card--ink .muted { color: #A9ADA6; }

/* Chiffre clé : <div class="stat"><span class="label">Autonomie</span><b class="stat__v">70<small>km</small></b></div> */
.stat { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat__v { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.stat__v small { font-family: var(--f-body); font-size: .45em; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: .25em; }
.card--ink .stat__v small { color: #A9ADA6; }

/* Emplacement d'image produit sur scène studio (ratio fixe, produit centré et posé).
   <figure class="stage img-slot" style="--ratio: 4/3"><img ...></figure> */
.img-slot { aspect-ratio: var(--ratio, 4 / 3); display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 8% 8% 9%; margin: 0; }
.img-slot img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; object-position: center bottom; }

/* Prix */
.price { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -.025em; white-space: nowrap; }
.price small { font-family: var(--f-body); font-size: .42em; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: .2em; }

/* Liste à coches */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6B45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Contrôle segmenté (boutons radio stylés) */
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--paper-2); border-radius: 999px; }
.segmented button, .segmented label { min-height: 44px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 14px; color: var(--ink-2); display: grid; place-items: center; text-align: center; padding: 0 10px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.segmented [aria-pressed="true"], .segmented [aria-checked="true"], .segmented input:checked + label { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(18,20,18,.12), 0 4px 12px -6px rgba(18,20,18,.25); }
.segmented [disabled], .segmented [aria-disabled="true"] { color: var(--muted-2); cursor: not-allowed; }

/* En-tête resserré entre le menu mobile et le grand écran (évite tout débordement) */
@media (min-width: 1281px) and (max-width: 1599px) {
  .header .wrap { gap: 16px; }
  .nav { gap: 0; }
  .nav a { padding: 0 10px; }
  .nav a small { display: none; }
  .header__cta { padding: 0 16px; }
}

/* ---------- Bandeau vidéos YouTube (lecteur chargé au clic) ---------- */
.videos .section-head p { color: #A9ADA6; }
.videos__track {
  list-style: none; margin: 0; padding: 0 0 12px;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 420px); gap: clamp(16px, 2vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: #3A3D39 transparent;
}
.video { scroll-snap-align: start; display: flex; flex-direction: column; background: #1C1F1C; border: 1px solid #2A2D29; border-radius: var(--radius-lg); overflow: hidden; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: #0B0C0B; }
.video__frame iframe, .video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { padding: 0; margin: 0; background: none; cursor: pointer; display: block; }
.video__play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease), opacity .3s var(--ease); opacity: .9; }
.video__play:hover img { transform: scale(1.03); opacity: 1; }
.video__play:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.video__btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #1A0A03; box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); transition: transform .25s var(--ease); }
.video__btn svg { margin-left: 3px; }
.video__play:hover .video__btn { transform: scale(1.08); }
.video__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.video__title { font-size: 18px; line-height: 1.3; color: var(--white); margin: 4px 0 0; text-wrap: pretty; }
.video__channel { margin: 0; font-size: 14px; color: #A9ADA6; }
.video__yt { margin-top: auto; padding-top: 6px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--white); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.video__yt:hover { color: var(--accent); }
.videos__note { margin: 18px 0 0; max-width: 80ch; font-size: 12.5px; line-height: 1.5; color: #8E928B; }
@media (max-width: 560px) { .videos__track { grid-auto-columns: 86%; } }
.video__frame--short .video__play img { object-fit: cover; object-position: center 30%; }
.videos__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 18px; }
.videos__foot .videos__note { margin: 0; }
.videos__all { flex: none; }

/* Lecteur intégré (dialog) */
.player { width: min(1080px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); background: #121412; color: var(--white); box-shadow: 0 40px 120px -20px rgba(0,0,0,.7); overflow: auto; }
.player::backdrop { background: rgba(10,11,10,.82); backdrop-filter: blur(4px); }
.player__box { display: flex; flex-direction: column; gap: 14px; padding: clamp(14px, 2vw, 22px); }
.player__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.player__meta { margin: 0 0 4px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #A9ADA6; }
.player__title { margin: 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.2; color: var(--white); text-wrap: pretty; }
.player__close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3A3D39; background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer; }
.player__close:hover { background: #2A2D29; }
.player__stage { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.player__stage--short { aspect-ratio: 9 / 16; height: min(72dvh, 720px); width: auto; margin-inline: auto; }
.player__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.player__nav { color: var(--white); border-color: #3A3D39; }
.player__nav:hover { background: #2A2D29; }
.player__nav[hidden] { display: none; }
.player__yt { color: var(--white); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.player__yt:hover { color: var(--accent); }
@media (max-width: 560px) { .player__foot { justify-content: center; } .player__yt { order: -1; width: 100%; justify-content: center; } }

/* Page Vidéos : grille et filtres */
.videos--page { padding-top: clamp(40px, 5vw, 64px); }
.videos__filters { border: 0; padding: 0; margin: 0 0 clamp(24px, 3vw, 36px); max-width: 640px; }
.videos__filters .segmented { background: #1C1F1C; }
.videos__filters .segmented label { color: #C9CCC5; }
.videos__filters .segmented input:checked + label { background: var(--white); color: var(--ink); }
.videos__filters .segmented input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.videos__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.videos__grid .video[hidden] { display: none; }
@media (max-width: 560px) {
  .videos__filters .segmented { grid-auto-flow: row; grid-template-columns: 1fr 1fr; border-radius: 22px; }
}

/* Carrousel des vidéos (accueil) : glisser au doigt, flèches à la souris */
.carousel { position: relative; }
.carousel .videos__track { scrollbar-width: none; scroll-behavior: smooth; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.carousel .videos__track::-webkit-scrollbar { display: none; }
.carousel__btn {
  position: absolute; top: calc((min(420px, 100%) * 9 / 16) / 2); transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--white); color: var(--ink);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.7); transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.carousel__btn:hover { transform: translateY(-50%) scale(1.06); }
.carousel__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
.carousel__btn--prev { left: -18px; }
.carousel__btn--next { right: -18px; }
.carousel__btn[hidden] { display: none; }
/* Écrans tactiles : pas de flèches, on fait glisser. */
@media (hover: none), (pointer: coarse) { .carousel__btn { display: none !important; } }
@media (max-width: 1100px) { .carousel__btn--prev { left: 6px; } .carousel__btn--next { right: 6px; } }

/* Bandeau offres (haut de page) */
.notice__promo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; min-height: 34px; color: #E7E8E3; text-decoration: none; font-family: var(--f-body); font-size: 13px; letter-spacing: 0; }
.notice__promo b { color: var(--white); font-weight: 600; }
.notice__promo:hover { color: var(--white); }
.notice__promo:hover .notice__arr { transform: translateX(3px); }
.notice__tag { flex: none; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #1A0A03; background: var(--accent); border-radius: 999px; padding: 2px 8px; }
.notice__arr { color: var(--accent); transition: transform .2s var(--ease); }
@media (max-width: 720px) {
  .notice__promo { font-size: 12px; gap: 8px; min-height: 30px; }
  .notice__tag { display: none; }
}
@media (max-width: 480px) { .notice__fr { display: none; } }
.videos__grid:empty { min-height: 100vh; } /* réserve la place avant l’affichage des cartes (évite le décalage de mise en page) */
