/* =========================================================
   14 GSM — styles.css
   Hero "Dossier d'atelier" — palette industrielle épurée
   ========================================================= */

:root {
  --bg:        #EFEFEF;   /* gris béton clair */
  --ink:       #111111;   /* noir carbone */
  --accent:    #31F014;   /* vert signalétique franc */
  --accent-rgb: 49, 240, 20;
  --ink-50:    rgba(17,17,17,0.50);
  --ink-30:    rgba(17,17,17,0.30);
  --ink-12:    rgba(17,17,17,0.12);
  --ink-06:    rgba(17,17,17,0.06);

  --mono:      'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans:      'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --shell:     min(1400px, 100% - 48px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* =========================================================
   STATUS BAR (top strip)
   ========================================================= */
.status-bar {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
}
.status-bar__inner {
  width: var(--shell);
  margin: 0 auto;
  padding: 9px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 24px;
}
.status-bar__cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.status-bar__cell--mid { justify-content: center; }
.status-bar__cell--end { justify-content: flex-end; }
.status-bar__label { opacity: 0.55; }
.status-bar__value { font-weight: 600; }

.status-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6);
  animation: pulse 1.8s ease-out infinite;
  display: inline-block;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0    rgba(var(--accent-rgb), 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0);   }
  100% { box-shadow: 0 0 0 0    rgba(var(--accent-rgb), 0);   }
}

@media (max-width: 860px) {
  .status-bar__inner { grid-template-columns: 1fr; gap: 4px; padding: 8px 0; }
  .status-bar__cell, .status-bar__cell--mid, .status-bar__cell--end { justify-content: flex-start; }
}

/* =========================================================
   MASTHEAD (header)
   ========================================================= */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--ink);
}
.masthead__inner {
  width: var(--shell);
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand__mark {
  height: 48px;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  border-left: 1px solid var(--ink-12);
  padding-left: 14px;
  line-height: 1;
}
.brand__city { font-weight: 700; }
.brand__role { opacity: 0.6; }
.brand__divider {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--accent);
  transform: rotate(45deg);
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid transparent;
  transition: border-color .15s ease, background .15s ease;
}
.nav a:hover {
  border-color: var(--ink);
  background: rgba(var(--accent-rgb), 0.18);
}
.nav__num {
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
}
.nav__label { font-weight: 600; }

@media (max-width: 1060px) { .nav { display: none; } }
@media (max-width: 600px)  { .masthead__inner { grid-template-columns: 1fr auto; gap: 16px; } .brand__sub { display:none; } }

/* =========================================================
   CTA — Boutons custom "tampon" + ghost
   ========================================================= */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
}
.cta:hover { transform: translateY(-2px); }
.cta__bracket { color: var(--accent); font-weight: 700; }
.cta__arrow, .cta__chevron { transition: transform .2s ease; }
.cta:hover .cta__arrow { transform: translateX(4px); }
.cta:hover .cta__chevron { transform: translate(3px, 3px); }

.cta--stamp {
  padding: 10px 18px;
  font-size: 11px;
}

.cta--solid {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.cta--solid .cta__bracket { color: var(--ink); opacity: 0.5; }
.cta--solid:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--accent);
}
.cta--solid:hover .cta__bracket { color: var(--accent); opacity: 1; }

.cta--ghost {
  background: transparent;
  color: var(--ink);
}
.cta--ghost:hover { background: var(--ink); color: var(--bg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  padding: 24px 0 0;
  overflow: hidden; /* coupe ce qui dépasse sous le ticker (bas du ticket) */
  margin-bottom: 0;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--ink-06) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-06) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: start;
  padding: 0 0 32px;
}

.hero__copy {
  padding-top: 24px;
}

@media (max-width: 1060px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 24px 0 64px; }
  .hero__copy { padding-top: 0; }
}

/* ---------- mires de cadrage ---------- */
.crosshair {
  position: absolute;
  width: 22px; height: 22px;
  pointer-events: none;
  z-index: 2;
}
.crosshair::before,
.crosshair::after {
  content: '';
  position: absolute;
  background: var(--ink);
}
.crosshair::before { width: 22px; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.crosshair::after  { width: 1.5px; height: 22px; left: 50%; top: 0; transform: translateX(-50%); }
.crosshair--tl { top: 20px;    left: 20px; }
.crosshair--tr { top: 20px;    right: 20px; }
.crosshair--bl { bottom: 20px; left: 20px; }
.crosshair--br { bottom: 20px; right: 20px; }

/* ---------- COPIE GAUCHE ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  background: var(--bg);
  margin-bottom: 36px;
}
.tag__slashes { color: var(--accent); font-weight: 800; }

.hero__title {
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-size: clamp(48px, 7.4vw, 116px);
  margin: 0 0 28px;
  color: var(--ink);
}
.hero__title-mid {
  display: inline-block;
  font-style: italic;
  font-weight: 800;
  color: var(--accent);
  position: relative;
  z-index: 0; /* stacking context local pour les clones */
}

/* clones décalés en chromatic aberration — invisibles par défaut */
.hero__title-mid::before,
.hero__title-mid::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: -1; /* derrière le mot principal */
  font-style: italic;
  font-weight: 800;
  opacity: 0;
}
.hero__title-mid::before { color: var(--ink); }
.hero__title-mid::after  { color: var(--accent); }

/* glitch en burst court, ~7% du cycle de 5s — discret mais visible */
.hero__title-mid::before { animation: glitch-ink   5s steps(1) infinite; }
.hero__title-mid::after  { animation: glitch-lime  5s steps(1) infinite; }

@keyframes glitch-ink {
  0%, 91%, 100% { opacity: 0; transform: translate(0); clip-path: inset(0 0 0 0); }
  92%  { opacity: 0.95; transform: translate(-3px, 0);   clip-path: inset(8%  0 70% 0); }
  93%  { opacity: 0.95; transform: translate(2px,  1px); clip-path: inset(45% 0 30% 0); }
  94%  { opacity: 0.95; transform: translate(-2px,-1px); clip-path: inset(20% 0 55% 0); }
  95%  { opacity: 0.95; transform: translate(1px,  0);   clip-path: inset(65% 0 12% 0); }
  96%  { opacity: 0;    transform: translate(0); }
}

@keyframes glitch-lime {
  0%, 91%, 100% { opacity: 0; transform: translate(0); clip-path: inset(0 0 0 0); }
  92%  { opacity: 0.95; transform: translate(3px, 0);    clip-path: inset(20% 0 60% 0); }
  93%  { opacity: 0.95; transform: translate(-2px, -1px); clip-path: inset(55% 0 22% 0); }
  94%  { opacity: 0.95; transform: translate(2px,  1px); clip-path: inset(30% 0 50% 0); }
  95%  { opacity: 0.95; transform: translate(-1px, 0);   clip-path: inset(8%  0 75% 0); }
  96%  { opacity: 0;    transform: translate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-mid::before,
  .hero__title-mid::after { animation: none; opacity: 0; }
}
.hero__title-accent {
  position: relative;
  display: inline-block;
  color: var(--ink);
}
.hero__underline {
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  width: 100%;
  height: 14px;
  overflow: visible;
}

.hero__lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  max-width: 56ch;
  color: var(--ink);
  margin: 0 0 36px;
}
.hero__lead strong { font-weight: 700; }

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* ---------- WRAPPER COLONNE DROITE ---------- */
.hero__visual {
  position: relative;
}

/* ---------- TICKET — étiquette qui ressort d'en dessous du bandeau ---------- */
.ticket {
  --tilt: -6deg;
  position: absolute;
  right: clamp(8px, 1.5vw, 24px);
  bottom: 22px;
  width: 280px;
  font-family: var(--mono);
  transform-origin: top right;
  z-index: 1; /* derrière le ticker (z=5) */
  filter: drop-shadow(4px 7px 0 rgba(17,17,17,0.22));
  /* l'étiquette se balance doucement, comme suspendue par le haut */
  animation: ticket-sway 5.5s cubic-bezier(.45,.05,.55,.95) infinite;
}

@keyframes ticket-sway {
  0%, 100% { transform: rotate(calc(var(--tilt) - 1.5deg)) translateY(0); }
  50%      { transform: rotate(calc(var(--tilt) + 1deg))   translateY(-2px); }
}

@media (max-width: 1060px) {
  .ticket {
    --tilt: -5deg;
    right: 12px;
    bottom: 20px;
    width: 260px;
  }
}
@media (max-width: 600px) {
  .ticket {
    --tilt: -4deg;
    right: 8px;
    bottom: 14px;
    width: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticket {
    animation: none;
    transform: rotate(var(--tilt));
  }
}

/* =========================================================
   ÉLÉMENTS COMMUNS AUX SECTIONS SUIVANTES
   ========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 12px 6px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--bg);
}
.eyebrow::before {
  content: '//';
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0;
}
.eyebrow__num {
  color: var(--ink-50);
  font-weight: 700;
}
.eyebrow--invert {
  border-color: var(--bg);
  color: var(--bg);
  background: transparent;
}
.eyebrow--invert::before { color: var(--accent); }
.eyebrow--invert .eyebrow__num { color: rgba(239,239,239,0.55); }

.section__head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__head--center .eyebrow { margin-bottom: 28px; }

.section__title {
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.98;
  font-size: clamp(36px, 4.4vw, 64px);
  margin: 24px 0 18px;
  color: var(--ink);
}
.section__title em {
  font-style: italic;
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.section__lead {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 60ch;
  margin: 0;
}

/* lien ligne avec flèche, hover lime */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s, gap .2s;
}
.link-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 10px;
}
.link-inline {
  font-weight: 700;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
  transition: color .15s;
}
.link-inline:hover { color: var(--accent); }

/* CTA XL pour bouton final */
.cta--xl {
  padding: 20px 30px;
  font-size: 14px;
  letter-spacing: 0.10em;
}
.cta--ghost-invert {
  color: var(--bg);
  border-color: var(--bg);
}
.cta--ghost-invert:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

/* =========================================================
   SECTION 02 — MANIFESTE
   ========================================================= */
.manifesto {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: clamp(72px, 10vw, 140px) 0;
  background: var(--bg);
}
.manifesto__inner {
  width: var(--shell);
  margin: 0 auto;
  max-width: 1080px;
  text-align: center;
}
.manifesto__inner .eyebrow { margin-bottom: 36px; }

.manifesto__line {
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(34px, 5.4vw, 84px);
  margin: 0 0 28px;
  color: var(--ink);
}
.manifesto__line em {
  font-style: italic;
  color: var(--accent);
  font-weight: 800;
}
.manifesto__line .strike {
  position: relative;
  color: var(--ink-50);
  text-decoration: none;
  font-style: italic;
}
.manifesto__line .strike::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  top: 52%;
  height: 4px;
  background: var(--accent);
  transform: rotate(-2deg);
}

.manifesto__sub {
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 auto;
  color: var(--ink);
  opacity: 0.85;
}

/* =========================================================
   SECTION 03 — CATALOGUE DES INTERVENTIONS
   ========================================================= */
.services {
  border-bottom: 1px solid var(--ink);
  padding: clamp(80px, 9vw, 140px) 0;
}
.services__inner {
  width: var(--shell);
  margin: 0 auto;
}

/* ---- CATALOGUE : 2 colonnes (schéma + registre) ---- */
.catalog {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--ink);
  background: var(--bg);
  margin-top: 8px;
}

/* ---- SCHÉMA ANATOMIQUE (gauche) ---- */
.anatomy {
  margin: 0;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(var(--ink-06) 1px, transparent 1px) 0 0/24px 24px,
    linear-gradient(90deg, var(--ink-06) 1px, transparent 1px) 0 0/24px 24px,
    var(--bg);
  border-right: 1px solid var(--ink);
  position: relative;
}
.anatomy__head,
.anatomy__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.anatomy__head {
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}
.anatomy__foot {
  border-top: 1px solid var(--ink);
  color: var(--ink-50);
  font-weight: 500;
}
.anatomy__foot strong { color: var(--ink); font-weight: 700; }
.anatomy__scale { color: var(--ink-50); font-weight: 500; }
.anatomy__stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--ink);
  padding: 4px 10px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.18em;
  background: var(--accent);
}
.anatomy__svg {
  width: 100%;
  height: auto;
  max-height: 680px;
  display: block;
  margin: 0 auto;
  padding: 8px 12px 0;
  box-sizing: border-box;
}
/* annotations : pulsation discrète au survol des lignes du registre */
.anat circle { transition: transform .25s ease, fill .2s ease; transform-origin: center; transform-box: fill-box; }

/* ---- REGISTRE D'INTERVENTIONS (droite) ---- */
.registry {
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.registry__head {
  display: grid;
  grid-template-columns: 44px 1fr 104px 110px 44px;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  font-weight: 700;
}
.registry__h-num { text-align: center; }
.registry__h-time,
.registry__h-price { text-align: right; }

.registry__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.reg {
  display: grid;
  grid-template-columns: 44px 1fr 104px 110px 44px;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ink-12);
  position: relative;
  transition: background .15s ease;
}
.reg:last-child { border-bottom: none; }
.reg:hover { background: rgba(var(--accent-rgb), 0.10); }
.reg:hover .reg__num {
  background: var(--accent);
  color: var(--ink);
}
.reg:hover .reg__cta { background: var(--ink); color: var(--accent); }

.reg__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  transition: background .15s ease;
}
.reg__body { min-width: 0; }
.reg__name {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 3px;
  line-height: 1.2;
}
.reg__desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  opacity: 0.72;
  margin: 0;
}
.reg__delay {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
  text-align: right;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.01em;
}
.reg__delay small {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--ink-50);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 5px;
}
.reg__price {
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
  color: var(--ink-50);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}
.reg__price strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
  margin-top: 2px;
}
.reg__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.reg__cta:hover { transform: translateX(2px); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .catalog { grid-template-columns: 1fr; }
  .anatomy {
    border-right: none;
    border-bottom: 1px solid var(--ink);
  }
  .anatomy__svg { max-height: 620px; padding: 16px 24px 0; }
}
@media (max-width: 720px) {
  .registry__head { display: none; }
  .reg {
    grid-template-columns: 40px 1fr 1fr 40px;
    grid-template-areas:
      "num body body cta"
      "num delay price .";
    align-items: start;
    padding: 16px 16px;
    gap: 6px 12px;
  }
  .reg__num { grid-area: num; margin-top: 2px; }
  .reg__body { grid-area: body; }
  .reg__cta { grid-area: cta; margin-top: 0; }
  .reg__delay { grid-area: delay; text-align: left; font-size: 16px; }
  .reg__delay small { margin-top: 2px; font-size: 9px; }
  .reg__price { grid-area: price; text-align: left; }
  .reg__price strong { font-size: 15px; }
  .reg__name { font-size: 15.5px; }
  .reg__desc { font-size: 12.5px; }
  .anatomy__head, .anatomy__foot { padding: 10px 14px; font-size: 9.5px; }
}

.services__foot {
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
  margin: 40px 0 0;
  color: var(--ink-50);
  letter-spacing: 0.04em;
}

/* =========================================================
   SECTION 04 — PROTOCOLE (TRAJET HORODATÉ)
   ========================================================= */
.protocol {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(80px, 9vw, 140px) 0;
  position: relative;
}
.protocol__inner {
  width: var(--shell);
  margin: 0 auto;
}
.protocol .section__title { color: var(--bg); }
.protocol .section__title em { color: var(--accent); }
.protocol .section__lead { color: var(--bg); opacity: 0.8; }
.protocol .section__lead strong { color: var(--accent); }
.protocol .eyebrow {
  background: transparent;
  border-color: var(--bg);
  color: var(--bg);
}
.protocol .eyebrow__num { color: rgba(239,239,239,0.55); }

.track {
  list-style: none;
  padding: 0;
  margin: 60px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
/* ligne lime horizontale qui parcourt les 4 jalons */
.track::before {
  content: '';
  position: absolute;
  left: 40px;
  right: 40px;
  top: 56px;
  height: 2px;
  background: var(--accent);
  opacity: 0.35;
  z-index: 0;
}

.track__node {
  position: relative;
  z-index: 1;
  padding: 0 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.track__time {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  line-height: 1;
}
.track__day {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.track__hour {
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
  opacity: 0.75;
  letter-spacing: 0.04em;
}
.track__dot {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 3px solid var(--ink);
  border-radius: 50%;
  margin: 4px 0 8px;
}
.track__phase {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--bg);
}
.track__txt {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
  color: var(--bg);
  opacity: 0.78;
}

@media (max-width: 980px) {
  .track {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .track::before {
    left: 6px;
    right: auto;
    top: 30px;
    bottom: 30px;
    width: 2px;
    height: auto;
  }
  .track__node { padding-left: 28px; }
  .track__dot { position: absolute; left: 0; top: 30px; margin: 0; }
}

/* =========================================================
   SECTION 05 — REPRISE + BORDEREAU
   ========================================================= */
.trade {
  border-bottom: 1px solid var(--ink);
  padding: clamp(80px, 9vw, 140px) 0;
}
.trade__inner {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) {
  .trade__inner { grid-template-columns: 1fr; gap: 48px; }
}

.trade__copy .section__title {
  margin-top: 24px;
  font-size: clamp(34px, 4vw, 56px);
}
.trade__lead {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  margin: 0 0 24px;
}
.trade__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
}
.trade__bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-left: 0;
}
.trade__bullets li::before {
  content: '◢';
  color: var(--accent);
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 4px;
}

/* bordereau visuel */
.bordereau {
  border: 1.5px solid var(--ink);
  background: var(--bg);
  padding: 24px;
  position: relative;
  font-family: var(--mono);
  box-shadow: 8px 8px 0 var(--ink);
}
.bordereau::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--ink-30);
  pointer-events: none;
}
.bordereau__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.bordereau__num { color: var(--ink-50); }

.bordereau__rows {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bordereau__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  font-size: 12.5px;
  padding-bottom: 8px;
  border-bottom: 1px dotted var(--ink-12);
}
.bordereau__row dt {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 600;
}
.bordereau__row dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.bordereau__total {
  margin-top: 20px;
  padding: 16px;
  background: var(--ink);
  color: var(--accent);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.bordereau__total-lbl {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bg);
}
.bordereau__total-val {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}
.bordereau__total-val small {
  font-size: 22px;
  font-weight: 700;
  margin-left: 2px;
}
.bordereau__foot {
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-50);
  text-align: center;
}

/* =========================================================
   SECTION 06 — BOUTIQUE
   ========================================================= */
.shop {
  border-bottom: 1px solid var(--ink);
  padding: clamp(80px, 9vw, 140px) 0;
}
.shop__inner {
  width: var(--shell);
  margin: 0 auto;
}
.shop__cat {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 56px 0 28px;
  color: var(--ink);
}
.shop__cat:first-of-type { margin-top: 24px; }

.shop__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .shop__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .shop__grid { grid-template-columns: 1fr; } }

.prod {
  background: var(--bg);
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.prod:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}

.prod__media {
  position: relative;
  margin: 0;
  aspect-ratio: 1/1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, #FFFFFF 0%, #F6F6F4 70%, #EFEFEC 100%);
  border-bottom: 1px solid var(--ink);
  padding: 28px;
  box-sizing: border-box;
  isolation: isolate;
}
.prod__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .35s ease;
  filter: drop-shadow(0 14px 18px rgba(17,17,17,0.18));
}
.prod:hover .prod__media img { transform: scale(1.04); }

/* cornières techniques aux 4 angles */
.prod__media::before,
.prod__media::after {
  content: '';
  position: absolute;
  inset: 10px;
  pointer-events: none;
  z-index: 1;
  transition: background-color .25s ease;
}
.prod__media::before {
  background:
    linear-gradient(var(--ink), var(--ink)) top    left  / 16px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top    left  / 1.5px 16px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom right / 16px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom right / 1.5px 16px no-repeat;
}
.prod__media::after {
  background:
    linear-gradient(var(--ink), var(--ink)) top    right / 16px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top    right / 1.5px 16px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom left  / 16px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom left  / 1.5px 16px no-repeat;
}
.prod:hover .prod__media::before {
  background:
    linear-gradient(var(--accent), var(--accent)) top    left  / 22px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top    left  / 1.5px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 22px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 1.5px 22px no-repeat;
}
.prod:hover .prod__media::after {
  background:
    linear-gradient(var(--accent), var(--accent)) top    right / 22px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top    right / 1.5px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left  / 22px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left  / 1.5px 22px no-repeat;
}

.prod__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: var(--ink);
  color: var(--accent);
  padding: 5px 9px;
  text-transform: uppercase;
}

.prod__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.prod__ref {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-50);
}
.prod__name {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}
.prod__desc {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: var(--ink);
  opacity: 0.78;
  flex-grow: 1;
}
.prod__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--ink-30);
}
.prod__price {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* =========================================================
   SECTION 07 — ATELIER (Caen)
   ========================================================= */
.store-loc {
  border-bottom: 1px solid var(--ink);
  padding: clamp(80px, 9vw, 140px) 0;
}
.store-loc__inner {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .store-loc__inner { grid-template-columns: 1fr; gap: 40px; }
}

.store-loc__media {
  position: relative;
  margin: 0;
  border: 1.5px solid var(--ink);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.store-loc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05);
}
.store-loc__media .crosshair {
  position: absolute;
  z-index: 3;
  width: 20px; height: 20px;
}
.store-loc__media .crosshair::before,
.store-loc__media .crosshair::after { background: var(--bg); }
.store-loc__media .crosshair--tl { top: 12px; left: 12px; }
.store-loc__media .crosshair--br { bottom: 12px; right: 12px; }

.store-loc__cartouche {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  z-index: 2;
}
.store-loc__cart-key { opacity: 0.55; }
.store-loc__cart-val { font-weight: 700; }
.store-loc__cart-sep {
  width: 4px; height: 4px;
  background: var(--accent);
  transform: rotate(45deg);
  display: inline-block;
}

.store-loc__copy .section__title {
  margin-top: 24px;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 0.96;
}
.store-loc__lead {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  margin: 0 0 28px;
}

.store-loc__infos {
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--ink);
  background: var(--bg);
  font-family: var(--mono);
}
.store-loc__infos > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  font-size: 13px;
}
.store-loc__infos dt {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 700;
}
.store-loc__infos dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}
.store-loc__infos dd a {
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
}

/* =========================================================
   SECTION 08 — FAQ
   ========================================================= */
.faq {
  border-bottom: 1px solid var(--ink);
  padding: clamp(80px, 9vw, 140px) 0;
}
.faq__inner {
  width: var(--shell);
  max-width: 920px;
  margin: 0 auto;
}
.faq__list {
  border-top: 1px solid var(--ink);
}

.qa {
  border-bottom: 1px solid var(--ink);
  background: var(--bg);
  transition: background .15s;
}
.qa[open] { background: var(--bg); }

.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 16px;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 12px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover .qa__q { color: var(--accent); }

.qa__q-tag,
.qa__a-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.10em;
}
.qa__q {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: color .15s;
}
.qa__toggle {
  width: 22px; height: 22px;
  position: relative;
  border: 1.5px solid var(--ink);
  transition: background .2s, border-color .2s, transform .25s;
}
.qa__toggle::before,
.qa__toggle::after {
  content: '';
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transition: background .2s, transform .25s;
}
.qa__toggle::before { width: 10px; height: 1.75px; transform: translate(-50%, -50%); }
.qa__toggle::after  { width: 1.75px; height: 10px; transform: translate(-50%, -50%); }
.qa[open] .qa__toggle { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.qa[open] .qa__toggle::before,
.qa[open] .qa__toggle::after { background: var(--ink); }

.qa__a {
  padding: 0 16px 22px 64px;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  color: var(--ink);
  opacity: 0.85;
  position: relative;
}
.qa__a-tag {
  position: absolute;
  left: 16px;
  top: 0;
}

/* =========================================================
   SECTION 09 — CTA FINAL
   ========================================================= */
.cta-final {
  position: relative;
  background: var(--ink);
  color: var(--bg);
  padding: clamp(100px, 12vw, 180px) 0;
  text-align: center;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(239,239,239,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,239,239,0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.cta-final .crosshair {
  z-index: 2;
}
.cta-final .crosshair::before,
.cta-final .crosshair::after { background: var(--bg); }

.cta-final__inner {
  width: var(--shell);
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-final .eyebrow { margin-bottom: 36px; }

.cta-final__title {
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: clamp(38px, 5.5vw, 80px);
  margin: 0 0 20px;
  color: var(--bg);
}
.cta-final__title em {
  color: var(--accent);
  font-style: italic;
  font-weight: 800;
}
.cta-final__lead {
  font-size: clamp(15px, 1.2vw, 19px);
  margin: 0 0 40px;
  opacity: 0.8;
  max-width: 55ch;
}
.cta-final__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  background: var(--ink);
  color: var(--bg);
  padding: 64px 0 24px;
}
.foot__inner {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 980px) {
  .foot__inner { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 600px) {
  .foot__inner { grid-template-columns: 1fr; gap: 32px; }
}

.foot__col h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.foot__logo {
  width: 96px;
  height: auto;
  display: block;
  margin-bottom: 18px;
  filter: contrast(1.1);
}
.foot__pitch {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.78;
  max-width: 36ch;
}
.foot__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}
.foot__list a {
  position: relative;
  transition: color .15s;
}
.foot__list a:hover { color: var(--accent); }

.foot__bottom {
  width: var(--shell);
  margin: 64px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(239,239,239,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  opacity: 0.7;
}
.foot__ref { color: var(--accent); }
@media (max-width: 600px) {
  .foot__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}
.ticket__paper {
  position: relative;
  background: #F6F6F4;
  color: var(--ink);
  padding: 18px 22px 16px;
  /* bord supérieur perforé (effet ticket déchiré) */
  -webkit-mask:
    radial-gradient(circle 5px at 50% 0,  transparent 98%, #000 100%) top    / 14px 10px repeat-x,
    radial-gradient(circle 5px at 50% 100%, transparent 98%, #000 100%) bottom / 14px 10px repeat-x,
    linear-gradient(#000, #000);
  -webkit-mask-composite: source-over;
          mask:
    radial-gradient(circle 5px at 50% 0,  transparent 98%, #000 100%) top    / 14px 10px repeat-x,
    radial-gradient(circle 5px at 50% 100%, transparent 98%, #000 100%) bottom / 14px 10px repeat-x,
    linear-gradient(#000, #000);
  -webkit-mask-composite: source-over;
}
/* fine bordure latérale pour structurer */
.ticket__paper::before,
.ticket__paper::after {
  content: '';
  position: absolute;
  top: 12px; bottom: 12px;
  width: 1px;
  background: var(--ink-12);
}
.ticket__paper::before { left: 8px; }
.ticket__paper::after  { right: 8px; }

.ticket__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--ink-30);
}
.ticket__brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ticket__num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-50);
}
.ticket__num strong {
  color: var(--ink);
  font-weight: 700;
  margin-left: 2px;
}

.ticket__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.ticket__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  gap: 12px;
  font-size: 12px;
}
.ticket__key {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 600;
}
.ticket__val {
  font-weight: 600;
  color: var(--ink);
}
.ticket__val--hi { color: var(--accent); font-weight: 700; }

.ticket__steps {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  border-top: 1px dashed var(--ink-30);
  border-bottom: 1px dashed var(--ink-30);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
}
.ticket__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink-50);
  letter-spacing: 0.02em;
}
.ticket__box {
  display: inline-block;
  width: 11px; height: 11px;
  border: 1.25px solid var(--ink);
  background: transparent;
  position: relative;
  flex-shrink: 0;
}
.ticket__steps li.is-done { color: var(--ink); }
.ticket__steps li.is-done .ticket__box {
  background: var(--ink);
}
.ticket__steps li.is-done .ticket__box::after {
  content: '';
  position: absolute;
  inset: 1px 2px;
  border-right: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  transform: rotate(40deg) translate(-1px, -1px);
  transform-origin: center;
}
.ticket__steps li.is-now { color: var(--ink); }
.ticket__steps li.is-now .ticket__box {
  background: var(--accent);
  border-color: var(--accent);
  animation: ticket-blink 1.2s ease-in-out infinite;
}
.ticket__live {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  padding: 2px 6px;
  border: 1px solid var(--accent);
}
@keyframes ticket-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

.ticket__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--ink-50);
  text-transform: uppercase;
}
.ticket__sig {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .ticket__steps li.is-now .ticket__box { animation: none; }
}

/* ---------- BLUEPRINT (SVG nu, sans cadre) ---------- */
.blueprint {
  margin: 0;
  position: relative;
}
.blueprint__svg {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   TICKER (bas du hero)
   ========================================================= */
.ticker {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  position: relative;
  z-index: 5; /* masque le haut du ticket qui passe derrière */
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 0;
  white-space: nowrap;
  animation: ticker-roll 38s linear infinite;
}
.ticker__track span { display: inline-block; }
.ticker__dot { color: var(--accent); font-size: 10px; }
@keyframes ticker-roll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   SECTION 10 — CARTOGRAPHIE
   ========================================================= */
.cartography {
  background: var(--bg);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: clamp(80px, 9vw, 140px) 0;
}
.cartography__inner {
  width: var(--shell);
  margin: 0 auto;
}
.cartography .section__head { margin-bottom: 48px; }

.cartomap {
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 8px 8px 0 var(--ink);
}
.cartomap__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
}
.cartomap__ref { color: var(--accent); font-weight: 700; }
.cartomap__scale { color: rgba(239,239,239,0.75); font-weight: 500; }

.cartomap__svg {
  width: 100%;
  height: auto;
  display: block;
  background:
    radial-gradient(ellipse at center, rgba(49,240,20,0.04), transparent 70%),
    var(--bg);
}

/* Pulsation du marqueur central */
.map-pin circle:nth-child(1),
.map-pin circle:nth-child(2),
.map-pin circle:nth-child(3) {
  transform-origin: center;
  transform-box: fill-box;
  animation: map-pulse 3.6s ease-in-out infinite;
}
.map-pin circle:nth-child(2) { animation-delay: 0.6s; }
.map-pin circle:nth-child(3) { animation-delay: 1.2s; }
@keyframes map-pulse {
  0%, 100% { transform: scale(1);   opacity: var(--p, 0.6); }
  50%      { transform: scale(1.08); opacity: 0.15; }
}

.cartomap__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-top: 1px solid var(--ink);
  background: var(--bg);
}
.cartomap__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}
.cartomap__legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.legend-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.legend-dot--pin   {
  background: var(--accent);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.legend-dot--block {
  background: #FFFFFF;
  border: 1.2px solid #C5C0B5;
}
.legend-dot--green {
  background: #C8EDC0;
  border: 1px solid #9BD58C;
}
.legend-dot--water {
  background: #D8DDD5;
  border: 1px solid #A8B0A4;
}
.cartomap__cta {
  align-self: center;
}

@media (max-width: 760px) {
  .cartomap__head, .cartomap__foot { padding: 10px 14px; }
  .cartomap__head { font-size: 9.5px; flex-wrap: wrap; gap: 6px; }
  .cartomap__legend { gap: 12px; font-size: 9.5px; letter-spacing: 0.10em; }
  .cartomap { box-shadow: 5px 5px 0 var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin circle { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .status-dot { animation: none; }
}
