:root {
  --black: #000;
  --ink: #111;
  --muted: #5a5a5a;
  --line: #e4e4e4;
  --paper: #fff;
  --soft: #f4f4f4;
  --gold: #ffd14a;
  --todo: #fff0a8;
  --wrap: 1100px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 30; background: var(--gold); color: #000; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin-inline: auto; }

/* Barre du haut */
.bar { position: sticky; top: 0; z-index: 20; background: var(--black); color: #fff; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .lang { border: 1px solid #666; border-radius: 3px; padding: 3px 8px; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 24px; height: 2px; background: #fff; }
.menu .nav { position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; align-items: flex-start; gap: 0; background: #000; padding: 4px 16px 16px; }
.menu .nav a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid #222; font-size: 14px; }
.menu .nav .lang { border: 0; }

/* Accueil */
.hero { position: relative; background: #9ec7f2; overflow: hidden; }
.hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; min-height: 340px; }
.hero h1 { position: absolute; inset: 5% 0 auto; text-align: center; color: #fff; font-size: clamp(30px, 6.4vw, 84px); text-shadow: 0 3px 0 #2b1845, 0 0 22px rgba(43, 24, 69, .55); }
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: #000; color: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; align-items: center; }
.phone { border: 9px solid #111; border-radius: 34px; overflow: hidden; background: #111; box-shadow: 0 18px 44px rgba(0, 0, 0, .22); }
h2 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 20px; }
.lead { font-size: 19px; color: #333; margin: 0 0 26px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-block; background: #000; color: #fff; padding: 12px 20px; border-radius: 4px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.pill.gold { background: var(--gold); color: #000; }
.pill.gold:hover { background: #000; color: var(--gold); }
.pill.line { background: transparent; color: inherit; border: 2px solid currentColor; }
.note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
#telecharger, #download, .doc details { scroll-margin-top: 70px; }
code { font-size: 13px; overflow-wrap: anywhere; }
.video { background: #000; }
.video video { width: 100%; aspect-ratio: 1280 / 549; object-fit: cover; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 36px; }
.card h3 { font-size: 21px; margin: 22px 0 10px; }
.card p { margin: 0; color: #333; }
.card .phone { max-width: 280px; margin-inline: auto; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: 22px; overflow-x: auto; padding: 8px 16px 24px; scroll-snap-type: x proximity; }
.strip figure { margin: 0; scroll-snap-align: center; }
.strip figcaption { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: center; margin-top: 10px; }
.strip-head { margin-bottom: 26px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0 0 8px; }
.cta p { margin: 0; color: #ccc; }

/* Pages de texte */
.page-head { background: #000; color: #fff; padding: 56px 0 44px; }
.page-head h1 { font-size: clamp(32px, 5.4vw, 56px); }
.page-head p { margin: 12px 0 0; color: #bbb; font-size: 15px; }
.doc { width: min(780px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 72px; }
.doc h2 { font-size: 22px; margin: 42px 0 12px; }
.doc h3 { font-size: 16px; margin: 26px 0 8px; }
.doc p, .doc li { color: #222; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc a { font-weight: 600; }
.doc .callout { background: var(--soft); border-left: 4px solid #000; padding: 16px 18px; margin: 22px 0; }
.doc details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.doc summary { cursor: pointer; font-weight: 700; }
.doc details p { margin: 10px 0 4px; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 14px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
th { background: var(--soft); }
mark.todo { background: var(--todo); padding: 1px 5px; font-weight: 700; }

/* Pied de page */
.foot { background: #000; color: #bbb; padding: 44px 0; font-size: 14px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 22px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--gold); text-decoration: underline; }
.foot p { margin: 0; }

@media (max-width: 860px) {
  .bar .nav.wide { display: none; }
  .menu { display: block; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split .phone { max-width: 280px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr; gap: 48px; }
  .section { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
