/* ==========================================================================
   KED — feuille de style
   Direction artistique : fond noir, texte blanc, Sequel 100 Black.
   Rouge #E9131B et cyan #51AEDA utilisés en touches très discrètes.
   ========================================================================== */

@font-face {
  font-family: "Sequel 100";
  src: url("../fonts/Sequel100Black-45.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sequel 100";
  src: url("../fonts/Sequel100Black-55.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sequel 100";
  src: url("../fonts/Sequel100Black-75.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --bg-2: #0a0a0b;
  --bg-3: #111113;
  --fg: #fff;
  --fg-2: rgba(255, 255, 255, 0.74);
  --fg-3: rgba(255, 255, 255, 0.54);
  --line: rgba(255, 255, 255, 0.14);
  --line-2: rgba(255, 255, 255, 0.32);
  --red: #e9131b;
  --cyan: #51aeda;

  --font: "Sequel 100", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
  color-scheme: dark;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.25em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- typographie ---------- */

h1, h2, h3 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.7rem, 4.3vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.3rem, 2.7vw, 2.15rem); line-height: 1.15; }
h3 { font-size: 1.05rem; line-height: 1.3; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
}

.lead { font-size: clamp(0.95rem, 1.3vw, 1.08rem); line-height: 1.8; color: var(--fg-2); max-width: 58ch; }
.muted { color: var(--fg-3); }

/* ---------- boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: transparent; color: var(--fg); }
.btn--ghost { border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--fg); background: transparent; color: var(--fg); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- en-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.brand { display: block; flex-shrink: 0; }
.brand img { height: 28px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-2);
  padding-block: 6px;
  background: linear-gradient(var(--fg), var(--fg)) left bottom / 0 1px no-repeat;
  transition: color 0.2s ease, background-size 0.25s ease;
}
.nav a:hover { color: var(--fg); background-size: 100% 1px; }

.lang { display: flex; gap: 4px; align-items: center; }
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--fg-3);
  border-bottom: 2px solid transparent;
}
.lang a:hover { color: var(--fg); }
.lang a[aria-current="true"] { color: var(--fg); border-bottom-color: var(--red); }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding-inline: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary i, .menu summary i::before {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--fg);
  position: relative;
}
.menu summary i::before { content: ""; position: absolute; top: 6px; left: 0; }
.menu[open] summary i { transform: rotate(45deg); }
.menu[open] summary i::before { top: 0; transform: rotate(90deg); }
.menu nav {
  position: absolute;
  right: 0;
  top: 50px;
  min-width: 240px;
  padding: 10px 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.menu nav a { padding: 14px 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.menu nav a:hover { background: var(--bg-3); }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu { display: block; }
  .header-actions { display: flex; align-items: center; gap: 8px; }
}
@media (min-width: 1101px) {
  .header-actions { display: flex; align-items: center; }
}

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: min(820px, calc(100svh - var(--header-h)));
  padding-block: clamp(40px, 6vw, 88px);
}
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero-copy .lead { max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.hero-visual { position: relative; margin-inline: calc(var(--gutter) * -1); }
.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 54% 50%;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 55% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 55% 50%, #000 55%, transparent 100%);
  animation: float 9s ease-in-out infinite alternate;
}
@keyframes float {
  from { transform: translateY(-8px); }
  to { transform: translateY(10px); }
}

.hero-crown {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-crown img { height: 44px; width: auto; }
.hero-crown span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding-left: 14px;
  border-left: 1px solid var(--line-2);
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { order: -1; margin-inline: calc(var(--gutter) * -1); }
  .hero-visual img { aspect-ratio: 1 / 1; max-height: 62svh; }
}

/* ---------- sections ---------- */

.section { padding-block: clamp(72px, 10vw, 140px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { max-width: 62ch; }

/* produit */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.product-card { display: grid; gap: 20px; align-content: start; }
.product-card figure { margin: 0; overflow: hidden; background: var(--bg-2); }
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.product-card:hover img { transform: scale(1.035); }
.product-card .name { display: flex; align-items: center; gap: 12px; }
.product-card .name::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.product-card p { color: var(--fg-2); max-width: 44ch; }
.product-card--zero .name h3::after,
.product-card--original .name h3::after { content: none; }

@media (max-width: 700px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* produit : une photo unique fondue dans le noir */

.product-visual {
  width: 60%;
  margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 52%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 62% at 50% 52%, #000 62%, transparent 100%);
}
.product-visual img { width: 100%; aspect-ratio: 2000 / 1342; object-fit: cover; }
.product-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 56px);
  max-width: 720px;
  margin: clamp(8px, 1.5vw, 20px) auto 0;
  text-align: center;
}
.product-line { display: grid; gap: 10px; justify-items: center; }
.product-line h3 { font-size: 0.95rem; }
.product-line p { color: var(--fg-2); max-width: 30ch; }
@media (max-width: 760px) {
  .product-visual { width: 82%; }
  .product-visual img { aspect-ratio: 4 / 3; object-position: 50% 58%; }
}
@media (max-width: 560px) { .product-lines { grid-template-columns: 1fr; } }

.point-note { font-size: 13px; color: var(--fg-2); padding-left: 12px; border-left: 2px solid var(--cyan); }

/* pourquoi KED */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.why-item {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease;
}
.why-item:hover { background: var(--bg-2); }
.why-item svg { width: 40px; height: 40px; color: var(--fg); fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { font-size: 0.95rem; }
.why-item p { color: var(--fg-2); font-size: 14px; }

@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- carte interactive ---------- */

.locator {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}

.map {
  position: relative;
  width: min(100%, calc(80svh * 1330 / 1820));
  aspect-ratio: 1330 / 1820;
  margin-inline: auto;
  user-select: none;
  -webkit-user-select: none;
}
.map svg { width: 100%; height: 100%; overflow: hidden; touch-action: manipulation; }
.map-img { transition: opacity 0.6s ease; }
.map.is-zoomed .map-img { opacity: 0.2; }

.outline {
  fill: none;
  stroke: rgba(255, 255, 255, 0.34);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.5s ease, stroke 0.3s ease;
  pointer-events: none;
}
.map.is-zoomed .outline { opacity: 1; }
.outline.is-active { stroke: var(--fg); stroke-width: 2.2; }

.canton {
  fill: transparent;
  stroke: transparent;
  stroke-width: 12;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill 0.25s ease;
  outline: none;
}
.canton:hover { fill: rgba(255, 255, 255, 0.09); }
.canton:focus-visible { fill: rgba(81, 174, 218, 0.16); stroke: var(--cyan); stroke-width: 3; vector-effect: non-scaling-stroke; }
.map.is-zoomed .canton { fill: rgba(0, 0, 0, 0.5); }
.map.is-zoomed .canton:hover { fill: rgba(255, 255, 255, 0.07); }
.map.is-zoomed .canton.is-active { fill: rgba(255, 255, 255, 0.045); cursor: default; }

.pin { fill: var(--fg); stroke: #000; transition: fill 0.2s ease; }
.pin-hit { fill: transparent; cursor: pointer; outline: none; }
.pin-group:hover .pin, .pin-group:focus-within .pin { fill: var(--cyan); }
.pin-group:focus-visible .pin { stroke: var(--cyan); }
.pin-group.is-selected .pin { fill: var(--red); }
.pin-group.is-hover .pin { fill: var(--cyan); }
.pin-group.is-dim { opacity: 0.28; }
.pin-group { transition: opacity 0.4s ease; }
.pin-label {
  fill: var(--fg);
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.02em;
  stroke: #000;
  paint-order: stroke;
  stroke-linejoin: round;
  pointer-events: none;
}
.pin-group { outline: none; cursor: pointer; }
.pin-group:focus-visible .pin-ring { opacity: 1; }
.pin-ring { fill: none; stroke: var(--cyan); opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.pin-pulse { fill: none; stroke: var(--red); opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; }
.pin-group.is-selected .pin-pulse { animation: pulse 2.2s ease-out infinite; }
@keyframes pulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.2); }
}

.map-tip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  padding: 8px 12px;
  background: #000;
  border: 1px solid var(--line-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 12px));
  transition: opacity 0.15s ease;
}
.map-tip.is-on { opacity: 1; }
.map-tip small { display: block; margin-top: 2px; font-size: 10.5px; letter-spacing: 0.06em; color: var(--fg-3); text-transform: none; font-weight: 400; }

/* panneau */

.panel { display: grid; gap: 18px; align-content: start; }
.panel:focus { outline: none; }
.panel-head { display: grid; gap: 8px; }
.panel h3.panel-title { font-size: clamp(1rem, 1.6vw, 1.25rem); }
.panel-title:focus { outline: none; }
.panel-count { color: var(--fg-3); font-size: 13px; }
.notice {
  padding: 12px 16px;
  border: 1px dashed var(--line-2);
  color: var(--fg-2);
  font-size: 12.5px;
  line-height: 1.6;
}
.back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.back:hover { color: var(--fg); }
.back svg { width: 16px; height: 16px; }

.list { display: grid; border-top: 1px solid var(--line); }
.list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; border-top: 0; }
.list--grid .list-item:nth-child(-n+2) { border-top: 1px solid var(--line); }
.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 4px;
  font-size: 12.5px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: padding-left 0.25s ease, background-color 0.25s ease;
}
.list-item:hover, .list-item:focus-visible { padding-left: 14px; background: var(--bg-2); }
.list-item .t { font-weight: 700; letter-spacing: 0.02em; }
.list-item .s { display: block; color: var(--fg-3); font-size: 11.5px; font-weight: 400; }
.list-item .c {
  flex-shrink: 0;
  min-width: 24px;
  padding: 0 6px;
  border: 1px solid var(--line-2);
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
}
.list-item.is-empty .t { color: var(--fg-3); }
.list-item.is-empty .c { border-color: var(--line); color: var(--fg-3); }

.detail { display: grid; gap: 24px; }
.chip {
  justify-self: start;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.detail address { font-style: normal; color: var(--fg-2); }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fg-3); }
.status.is-open::before { background: var(--cyan); }
.hours { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.hours th { color: var(--fg-3); width: 44%; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--fg); font-weight: 700; }
.hours td { font-variant-numeric: tabular-nums; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .locator { grid-template-columns: 1fr; }
  .map { width: min(100%, calc(72svh * 1330 / 1820)); }
  .panel { min-height: 0; }
}

noscript .notice { margin-top: 16px; }
@media (max-width: 420px) { .list--grid { grid-template-columns: 1fr; } .list--grid .list-item:nth-child(2) { border-top: 0; } }

/* ---------- événements ---------- */

.events { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.events-notice { justify-self: start; }
.event {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: border-color 0.3s ease;
}
.event:hover { border-color: var(--line-2); }
.event figure { margin: 0; overflow: hidden; }
.event img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.event:hover img { transform: scale(1.03); }
.event-body {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  padding: clamp(24px, 4vw, 56px);
}
.event-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.event-date span { color: var(--fg-3); padding-left: 14px; border-left: 1px solid var(--line-2); }
.event h3 { font-size: clamp(1.25rem, 2.4vw, 1.9rem); }
.event-place { color: var(--fg-2); }
.event--noimg { grid-template-columns: 1fr; }
.events-empty {
  padding: clamp(28px, 4vw, 48px);
  border: 1px dashed var(--line-2);
  color: var(--fg-2);
  max-width: 70ch;
}
@media (max-width: 760px) { .event { grid-template-columns: 1fr; } }

/* ---------- frise partenaires ---------- */

.partners { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); overflow: hidden; }
.partners-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  background: none;
  cursor: pointer;
}
.pause:hover { border-color: var(--fg); }
.pause svg { width: 14px; height: 14px; fill: currentColor; }
.pause .i-play { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }
.pause[aria-pressed="true"] .i-pause { display: none; }

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee-track,
.marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex-shrink: 0; align-items: center; }
.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding-inline: clamp(36px, 5vw, 72px);
  opacity: 0.78;
  transition: opacity 0.25s ease;
}
.marquee-item:hover { opacity: 1; }
.marquee-item img { height: 58px; width: auto; max-width: 190px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- pied de page ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px) 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.footer-brand img { width: min(320px, 80%); height: auto; }
.footer-col a.social { display: inline-flex; align-items: center; gap: 10px; border-bottom: 0; padding-bottom: 0; }
.footer-col a.social svg { width: 20px; height: 20px; flex-shrink: 0; }
.footer-col a.social span { border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.footer-col a.social:hover span { border-bottom-color: var(--fg); }
@media (max-width: 800px) { .footer-brand img { width: 170px; } }
.footer-col h2 { font-size: 11px; letter-spacing: 0.2em; color: var(--fg-3); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.footer-col a:hover { border-bottom-color: var(--fg); }
.footer-bottom {
  display: grid;
  gap: 8px;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.7;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- pages légales ---------- */

.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .back-link { display: inline-block; margin-bottom: 32px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--fg-2); }
.legal .back-link:hover { color: var(--fg); }
.legal-body { max-width: 78ch; display: grid; gap: 16px; margin-top: 40px; }
.legal-body h2 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { font-size: 0.95rem; margin-top: 12px; }
.legal-body p, .legal-body li { color: var(--fg-2); font-size: 14px; }
.legal-body ul { display: grid; gap: 8px; padding-left: 20px; list-style: square; }
.legal-body li::marker { color: var(--fg-3); }

/* ---------- apparition au défilement ---------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .pause { display: none; }
}
