/* ==========================================================
   Cyclo Story — feuille de style unique (sans framework)
   ========================================================== */

@font-face { font-family: "Archivo Narrow"; src: url("../fonts/archivo-narrow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url("../fonts/archivo-narrow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #171312;
  --brown: #2f2725;
  --brown-2: #3b322f;
  --gold: #c0a375;          /* sur fond sombre */
  --gold-text: #7f6338;     /* or lisible sur fond clair (AA) */
  --paper: #f3f1ee;
  --white: #fff;
  --text: #2b2523;
  --muted: #6b625e;
  --line: #e2ddd7;
  --line-dark: rgba(255,255,255,.12);
  --todo: #ff7a00;

  --f-head: "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.45rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -.15em; }
mark.todo { background: var(--todo); color: #000; padding: 0 .35em; font-weight: 600; border-radius: 2px; }

/* ---------- Typo utilitaires ---------- */
.kicker { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; color: var(--gold-text); margin: 0 0 .9rem; }
.dark .kicker, .page-hero .kicker, .hero .kicker { color: var(--gold); }
.two-tone .t1 { color: var(--gold-text); display: block; }
.dark .two-tone .t1 { color: var(--gold); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46em; }
.rule { width: 48px; height: 3px; background: var(--gold); border: 0; margin: 1.2rem 0 1.6rem; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .85em 1.5em; background: var(--gold); color: var(--ink); font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; text-decoration: none; border: 2px solid var(--gold); border-radius: var(--radius); transition: background .2s, color .2s; cursor: pointer; }
.btn:hover { background: transparent; color: inherit; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-small { padding: .55em 1em; font-size: .85rem; }
.btn .icon { width: 1em; height: 1em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; text-decoration: none; color: var(--gold-text); }
.dark .link-arrow { color: var(--gold); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow .icon { transition: transform .2s; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(23,19,18,.96); color: var(--white); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 104px; height: auto; }
.brand-tag { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--gold); border-left: 1px solid var(--line-dark); padding-left: 12px; }
.nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.nav-link { display: flex; align-items: center; white-space: nowrap; padding: 10px 12px; font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; text-decoration: none; cursor: pointer; list-style: none; position: relative; }
.nav-link::-webkit-details-marker { display: none; }
summary.nav-link::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 8px; opacity: .7; }
.nav-link:hover, .nav-link.is-active, details[open] > .nav-link { color: var(--gold); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 8px 0; min-width: 230px; background: var(--ink); border: 1px solid var(--line-dark); border-top: 2px solid var(--gold); }
.sub a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 18px; text-decoration: none; font-size: .95rem; }
.sub a:hover, .sub a[aria-current] { background: var(--brown); color: var(--gold); }
.sub .icon { width: .85em; height: .85em; opacity: .55; }
.nav-extra { display: flex; align-items: center; gap: 18px; }
.nav-tel { font-family: var(--f-head); font-weight: 700; letter-spacing: .05em; text-decoration: none; color: var(--gold); white-space: nowrap; }
.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-dark); transition: background .2s, border-color .2s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.social .icon { width: 18px; height: 18px; }
.burger { display: none; }

@media (min-width: 1081px) {
  .sub { position: absolute; top: calc(100% + 8px); left: 0; }
}
@media (max-width: 1180px) { .nav-tel { display: none; } }
@media (max-width: 1080px) {
  .burger { display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; background: none; border: 1px solid var(--line-dark); color: var(--white); cursor: pointer; border-radius: var(--radius); }
  .burger-bars, .burger-bars::before, .burger-bars::after { content: ""; display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .25s, background .25s; }
  .burger-bars::before { position: absolute; top: -7px; }
  .burger-bars::after { position: absolute; top: 7px; }
  .burger[aria-expanded="true"] .burger-bars { background: transparent; }
  .burger[aria-expanded="true"] .burger-bars::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; justify-content: space-between; padding: 16px var(--gutter) 32px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; margin: 0; }
  .nav-item { border-bottom: 1px solid var(--line-dark); }
  .nav-link { padding: 16px 4px; font-size: 1.35rem; }
  summary.nav-link { display: flex; justify-content: space-between; align-items: center; }
  .sub { border: 0; background: transparent; padding: 0 0 12px 12px; }
  .sub a { padding: 10px 4px; font-size: 1.05rem; }
  .nav-extra { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 24px; }
  .nav-tel { display: block; font-size: 1.4rem; }
  .brand-tag { display: none; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Héros accueil ---------- */
.hero { position: relative; background: #000; color: var(--white); overflow: hidden; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: min(78vh, 760px); min-height: 460px; object-fit: cover; object-position: center 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 32%, rgba(0,0,0,0) 52%), linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.8) 100%); }
@media (max-width: 760px) { .hero-media::after { background: linear-gradient(180deg, rgba(0,0,0,.1) 20%, rgba(0,0,0,.92) 72%); } }
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(24px, 5vw, 56px); z-index: 2; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 6vw, 4.6rem); margin: 0 0 .3em; max-width: 13ch; }
.hero h1 .t1 { color: var(--gold); display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-strip { background: var(--ink); color: #ddd5cf; border-top: 1px solid var(--line-dark); }
.hero-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-strip .cell { padding: 22px 24px 22px 0; display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; }
.hero-strip .cell + .cell { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-strip strong { display: block; color: var(--white); font-family: var(--f-head); text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; }
.hero-strip .icon { color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }
.hero-strip a { text-decoration: none; }
.hero-strip .big { font-family: var(--f-head); font-size: 1.6rem; color: var(--gold); font-weight: 700; letter-spacing: .03em; }
@media (max-width: 860px) {
  .hero-strip .wrap { grid-template-columns: 1fr; }
  .hero-strip .cell, .hero-strip .cell + .cell { padding: 18px 0; border-left: 0; }
  .hero-strip .cell + .cell { border-top: 1px solid var(--line-dark); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.paper { background: var(--paper); }
.dark { background: var(--brown); color: #e7e0da; }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark .lead { color: #d6cdc6; }
.video-note a { color: inherit; }
.ink { background: var(--ink); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media img { width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Turbo Levo */
.feature-media { position: relative; }
.feature-media img { margin: 0 auto; max-height: 640px; width: auto; }

/* Brand store */
.brandstore { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.brandstore-media { position: relative; min-height: 420px; }
.brandstore-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brandstore-body { padding: clamp(48px, 7vw, 96px) var(--gutter); max-width: 760px; }
.brandstore .plan { margin: 32px 0; border: 1px solid var(--line-dark); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; margin-top: 40px; }
.pillar h3 { font-size: 1.3rem; color: var(--gold); }
.pillar p { font-size: .97rem; }
@media (max-width: 960px) { .brandstore { grid-template-columns: 1fr; } .brandstore-media { min-height: 0; height: 52vw; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Gamme */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.card { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease, opacity .3s; opacity: .9; }
.card:hover img { transform: scale(1.04); opacity: 1; }
.card-body { padding: 20px 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card h3 { color: var(--white); margin: 0; font-size: 1.35rem; }
.card a { text-decoration: none; }
.card a::after { content: ""; position: absolute; inset: 0; }
.card .icon { color: var(--gold); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Mosaïque photo */
.mosaic img { width: 100%; height: auto; }

/* Vidéo (chargée au clic, sans cookie avant) */
.video { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.video > img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-btn { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; background: rgba(0,0,0,.45); color: var(--white); border: 0; cursor: pointer; font: inherit; width: 100%; padding: 16px; }
.video-btn .play { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; transition: transform .2s; }
.video-btn .play .icon { width: 38px; height: 38px; }
.video-btn:hover .play { transform: scale(1.08); }
.video-note { font-size: .82rem; max-width: 36em; text-align: center; opacity: .85; }

/* Réseaux */
.networks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.networks a { display: flex; align-items: center; gap: 16px; padding: 26px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background .2s; background: var(--white); }
.networks a:hover { border-color: var(--gold); }
.networks .icon { width: 40px; height: 40px; color: var(--ink); }
.networks strong { display: block; font-family: var(--f-head); text-transform: uppercase; font-size: 1.3rem; letter-spacing: .04em; }
.networks span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .networks { grid-template-columns: 1fr; } }

/* ---------- Héros pages intérieures ---------- */
.page-hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,19,18,.85) 0%, rgba(23,19,18,.2) 100%); }
.page-hero-content { position: relative; z-index: 2; padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(56px, 8vw, 100px); }
.page-hero h1 { color: var(--white); margin: 0; }
.page-hero h1 .t1 { color: var(--gold); }
.page-hero .lead { color: #e5ddd6; margin-top: 1rem; }
.page-hero.compact .page-hero-content { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 64px); }
.page-hero.compact h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; margin: 0; padding: 0; }
.gallery li.is-wide { grid-column: span 2; grid-row: span 2; }
.gallery a { display: block; height: 100%; overflow: hidden; background: var(--ink); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery li.is-wide img { aspect-ratio: auto; }
.gallery a:hover img { transform: scale(1.04); opacity: .9; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery li.is-wide { grid-column: span 2; grid-row: auto; } .gallery li.is-wide img { aspect-ratio: 4/3; } }

/* Visionneuse */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(10,8,8,.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(92vw, 1400px); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: #cfc6bf; text-align: center; padding-top: 12px; font-size: .9rem; }
.lightbox button { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.5); color: #fff; cursor: pointer; }
.lightbox button:hover { background: var(--gold); color: var(--ink); }
.lightbox .icon { width: 26px; height: 26px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Magasins / horaires ---------- */
.shops { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shop-card { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); }
.shop-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--gold); padding-bottom: 12px; }
.shop-card h3 small { font-family: var(--f-body); font-weight: 500; font-size: .85rem; letter-spacing: .05em; color: var(--muted); text-transform: none; }
.shop-addr { display: flex; gap: 10px; }
.shop-addr .icon { color: var(--gold-text); margin-top: 4px; }
.shop-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.hours { margin: 0; display: grid; gap: 2px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; color: var(--muted); }
@media (max-width: 760px) { .shops { grid-template-columns: 1fr; } }

/* Infos-boxes */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 40px 0 0; }
.facts li { border-top: 2px solid var(--gold); padding-top: 18px; }
.facts strong { display: block; font-family: var(--f-head); text-transform: uppercase; font-size: 1.25rem; letter-spacing: .03em; margin-bottom: 6px; color: var(--ink); }
.dark .facts strong { color: var(--white); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

.prose-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.logo-partner { margin: 8px 0 24px; max-width: 220px; }

/* Encadré tarifs */
.notice { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--ink); color: #e7e0da; padding: clamp(24px, 4vw, 40px); margin-top: 48px; }
.notice h3 { color: var(--white); margin: 0 0 6px; }
.notice p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.contact-tile { background: var(--ink); color: #e7e0da; padding: clamp(24px, 4vw, 40px); display: flex; gap: 18px; align-items: flex-start; }
.contact-tile .icon { color: var(--gold); width: 28px; height: 28px; }
.contact-tile h2 { color: var(--white); font-size: 1.5rem; margin-bottom: .3em; }
.contact-tile a { color: var(--gold); font-weight: 600; text-decoration: none; }
.contact-tile a:hover { text-decoration: underline; }
.contact-tile .big { font-family: var(--f-head); font-size: 2rem; letter-spacing: .03em; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Pages légales ---------- */
.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 120px); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .92rem; border-left: 2px solid var(--gold); padding-left: 18px; }
.toc p { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--gold-text); margin-bottom: .6em; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.4em 0 .7em; padding-top: .4em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 .5em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--gold-text); font-weight: 500; }
.prose .box { background: var(--paper); border-left: 3px solid var(--gold); padding: 20px 24px; margin: 1.5em 0; font-size: .96rem; }
.prose .box p:last-child { margin-bottom: 0; }
.prose dl.id { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0 0 1.5em; }
.prose dl.id dt { font-weight: 600; }
.prose dl.id dd { margin: 0; }
.updated { color: var(--muted); font-size: .9rem; margin-top: 3em; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .toc { position: static; } }
@media (max-width: 520px) { .prose dl.id { grid-template-columns: 1fr; gap: 0; } .prose dl.id dd { margin-bottom: 10px; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #bfb5ae; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand img { width: 120px; margin-bottom: 16px; }
.footer-brand .hashtag { color: var(--gold); font-family: var(--f-head); letter-spacing: .06em; }
.footer-title { color: var(--white); font-size: 1.15rem; letter-spacing: .1em; margin-bottom: 1em; }
.site-footer address { font-style: normal; margin-bottom: 1em; color: #e2dad4; }
.hours-compact div { border-bottom-color: var(--line-dark); padding: 5px 0; font-size: .86rem; }
.hours-compact dd { color: #bfb5ae; }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: 4px; }
.footer-contact a { color: #e2dad4; text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.footer-tel a { font-family: var(--f-head); font-size: 1.4rem; color: var(--white) !important; letter-spacing: .03em; }
.footer-legal { border-top: 1px solid var(--line-dark); background: #100d0c; }
.footer-legal-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 20px; padding-bottom: 20px; font-size: .85rem; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: #e2dad4; }
.footer-legal a:hover { color: var(--gold); }
.footer-legal p { margin: 0; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .big { font-family: var(--f-head); font-size: clamp(6rem, 20vw, 12rem); color: var(--gold); line-height: 1; font-weight: 700; }

@media print {
  .site-header, .site-footer, .toc, .lightbox { display: none !important; }
  .legal-layout { display: block; }
  body { font-size: 11pt; }
}
.notfound .lead { margin-inline: auto; }
@media (min-width: 761px) { .hero-content { top: clamp(56px, 13vh, 130px); bottom: auto; } }
/* backdrop-filter crée un bloc conteneur : on le retire en mobile pour que le menu plein écran fonctionne */
@media (max-width: 1080px) { .site-header { backdrop-filter: none; background: var(--ink); } }
