/* =========================================================
   Mon site — feuille de style unique
   Thème sombre, accent cyan. Aucune dépendance externe.
   ========================================================= */

:root {
  --bg: #0b0f14;
  --surface: #121821;
  --surface-2: #18202b;
  --border: #243041;
  --text: #e6edf3;
  --muted: #9aa7b5;
  --accent: #22d3ee;
  --accent-strong: #67e8f9;
  --accent-ink: #04212a;
  --accent-glow: rgba(34, 211, 238, 0.18);

  --radius: 14px;
  --radius-sm: 8px;
  --max: 1100px;
  --gutter: clamp(16px, 4vw, 32px);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;

  color-scheme: dark;
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

main { flex: 1; }

img { max-width: 100%; display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p  { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.6em 1em;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- En-tête et navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.brand-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.header-inner { position: relative; }

/* Bouton hamburger : trois barres qui deviennent une croix */
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.15s;
}
.nav-toggle:hover { border-color: var(--accent); }

.burger { display: grid; gap: 5px; width: 20px; }
.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Panneau du menu, déroulé sous l'en-tête */
.site-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: var(--gutter);
  width: min(280px, calc(100vw - 2 * var(--gutter)));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
}

.nav-list a {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  font-weight: 550;
  transition: color 0.15s, background 0.15s;
}
.nav-list a:hover { color: var(--text); background: var(--surface-2); }
.nav-list a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-glow);
}

/* ---------- Héros / en-têtes de page ---------- */

.hero {
  position: relative;
  padding-block: clamp(4rem, 12vw, 8rem) clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 70vw; height: 70vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  pointer-events: none;
}
.hero > .container { position: relative; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.lead {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--muted);
  max-width: 60ch;
}

.accent { color: var(--accent); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.tag {
  font-size: 0.875rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
}

.page-head {
  padding-block: clamp(3rem, 8vw, 5rem) 2rem;
  border-bottom: 1px solid var(--border);
}

.section { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section + .section { border-top: 1px solid var(--border); }
.section-head { margin-bottom: 1.75rem; }
.section-head p { color: var(--muted); margin: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:active { transform: translateY(1px); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Cartes ---------- */

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card-wide { grid-column: 1 / -1; }
.card .video-frame { border-radius: var(--radius-sm); overflow: hidden; }

/* Bloc Strava (page Passions) */
.strava {
  --strava: #fc4c02;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(252, 76, 2, 0.16), transparent 60%),
    var(--surface);
}
.strava-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(110deg, #fc4c02, #ff7a33 55%, #ff9a4d);
  color: #fff;
}
.strava-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.strava-icon svg { width: 26px; height: 26px; }
.strava-titles { flex: 1 1 180px; }
.strava-titles h3 { margin: 0; font-size: 1.25rem; color: #fff; }
.strava-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
}
.strava-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: strava-pulse 1.8s ease-out infinite;
}
@keyframes strava-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
  100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
}
@media (prefers-reduced-motion: reduce) { .strava-dot { animation: none; } }
.strava-btn {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #c23a00;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}
.strava-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.strava-body {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
}
.strava-panel { display: flex; flex-direction: column; gap: 0.6rem; width: 280px; max-width: 100%; }
.strava-label { font-family: var(--mono); font-size: 0.8rem; color: var(--strava); }
.strava-frame {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border-top: 4px solid var(--strava);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  line-height: 0;
}
.strava-frame iframe { border: 0; max-width: 100%; }
.strava-note { color: var(--muted); font-size: 0.85rem; margin: 0.25rem 0 0; }

.card-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-link a { color: var(--text); text-decoration: none; }
.card-link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link .arrow { color: var(--accent); }

.card-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-glow);
  color: var(--accent);
  margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; }

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-check li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Passions ---------- */

.passion {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .passion { grid-template-columns: 1fr 1.4fr; align-items: start; }
}
.passion-intro p { color: var(--muted); }

/* ---------- Cadre vidéo (articles) ---------- */

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}
.video-frame iframe,
.video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* ---------- Page Vidéos ---------- */

.video-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.video {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}
.video-play::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 64px; height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%2304212a'/%3E%3C/svg%3E") center / 28px no-repeat;
  box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.25);
  transition: transform 0.15s;
}
.video-play:hover::after { transform: translate(-50%, -50%) scale(1.08); }
.video-body { padding: 1rem 1.25rem 1.25rem; }
.video-body h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.video-body p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.video-source { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); margin-bottom: 0.4rem !important; }

/* ---------- Musique : mes compositions ---------- */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.3rem; flex: 1 1 180px; }
.field label { font-size: 0.85rem; color: var(--muted); }
.field input,
.field select {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  min-height: 44px;
}
.field input:focus,
.field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-glow); }

.result-count { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.75rem; }

.tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.track {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: var(--surface);
}
.track + .track { border-top: 1px solid var(--border); }
.track:hover { background: var(--surface-2); }


.track-title { font-weight: 650; margin: 0; }
.track-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.track-style {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.track-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}
button.track-link { font-family: inherit; background: none; cursor: pointer; }
.track-link:hover { border-color: var(--accent); color: var(--accent); }

.track-player { grid-column: 1 / -1; margin-top: 0.75rem; }
.track-player iframe {
  display: block;
  width: 100%;
  max-width: 760px;
  height: 240px;
  border: 0;
  border-radius: var(--radius-sm);
}

@media (max-width: 560px) {
  .track { grid-template-columns: 1fr; padding: 0.85rem 1rem; }
  .track-link { justify-self: start; margin-top: 0.4rem; }
}

.notice {
  padding: 1rem 1.25rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}

/* ---------- Cartes d'articles (accueil et page Articles) ---------- */

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.posts {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.post {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.post:hover { border-color: var(--accent); transform: translateY(-2px); }

.post-media { background: var(--surface-2); }
.post-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.post-body { padding: 1rem 1.25rem 1.25rem; }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.post-cat {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.post-title { font-size: 1.05rem; margin: 0; }
.post-title a { color: var(--text); text-decoration: none; }
.post-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post:hover .post-title a { color: var(--accent); }

.post-excerpt { color: var(--muted); font-size: 0.95rem; margin: 0.6rem 0 0; }

/* ---------- Accueil : carrousel des publications ---------- */

.carousel-track {
  --per-view: 3;
  --gap: 1.25rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
@media (max-width: 900px) { .carousel-track { --per-view: 2; } }
@media (max-width: 600px) { .carousel-track { grid-auto-columns: 86%; } }

.carousel-slide { scroll-snap-align: start; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.carousel-btn {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-pause { margin-left: 0.5rem; }
.carousel-pause .icon-play,
.carousel.is-paused .carousel-pause .icon-pause { display: none; }
.carousel.is-paused .carousel-pause .icon-play { display: block; }

.carousel-dots { display: flex; gap: 0.25rem; }
.carousel-dot {
  width: 24px; height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.carousel-dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--border);
  transition: width 0.2s, background 0.2s;
}
.carousel-dot:hover::before { background: var(--muted); }
.carousel-dot[aria-current="true"]::before { width: 20px; background: var(--accent); }
.carousel-dot[hidden] { display: none; }

/* ---------- Page article ---------- */

.article { padding-block: clamp(2rem, 6vw, 3.5rem) clamp(3rem, 8vw, 5rem); }
.article-container { max-width: 780px; }

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.back-link:hover { color: var(--accent); }

.article-head { margin-bottom: 1.75rem; }
.article-head h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0.25rem 0 0; }

.article-cover { margin: 0 0 2rem; }
.article-cover img,
.article-body figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.article-body h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-top: 2.2em; }
.article-body p { color: #c9d4de; }
.article-body figure { margin: 2rem 0; }
.article-body figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.article-body ul { color: #c9d4de; padding-left: 1.25rem; }
.article-body li { margin: 0.5em 0; }
.article-body li::marker { color: var(--accent); }

.table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th,
.table-wrap td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.table-wrap th {
  background: var(--surface-2);
  color: var(--accent-strong);
  font-size: 0.875rem;
  font-weight: 600;
}
.table-wrap td { color: #c9d4de; }
.table-wrap td:first-child { color: var(--text); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }

.article-video {
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Bloc de code */
.article-body .code-block {
  margin: 2rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.article-body .code-block figcaption {
  margin: 0;
  padding: 0.5rem 1rem;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.code-block pre {
  margin: 0;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text);
  tab-size: 2;
}

/* Vidéo verticale (YouTube Shorts) */
.article-video.is-vertical {
  aspect-ratio: 9 / 16;
  width: min(100%, 360px);
  margin-inline: auto;
}

.countdown {
  margin: 2rem 0;
  padding: 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.countdown .countdown-label { margin: 0 0 0.25rem; color: var(--muted); }
.countdown .countdown-value {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 700;
  color: var(--accent);
}

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

.empty-state {
  text-align: center;
  padding: clamp(3rem, 10vw, 6rem) 1.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.empty-state p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

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

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* ---------- Mouvement réduit ---------- */

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