/* Caserne au Bois — feuille de style */

/* Polices hébergées avec le site (sous-ensemble latin) */
@font-face { font-family: "Anton"; src: url("fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0d130f;
  --ink-2: #151d17;
  --ink-3: #1d2820;
  --paper: #f3eee4;
  --paper-2: #e9e2d4;
  --cream: #f6f1e7;
  --text: #161c17;
  --muted: #5d645d;
  --muted-light: #a9b3a8;
  --line: rgba(22, 28, 23, .12);
  --line-light: rgba(246, 241, 231, .12);
  --amber: #f28a2e;
  --amber-2: #ffb066;
  --on-amber: #140c04;
  --moss: #3f6b4c;
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1240px;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }

img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .005em;
}

::selection { background: var(--amber); color: var(--on-amber); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 700px) { .container { padding: 0 32px; } }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 300;
  background: var(--amber);
  color: var(--on-amber);
  padding: 8px 14px;
  border-radius: 6px;
}
.skip-link:focus { left: 8px; }

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 18px;
}
.tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--cream);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.site-header.solid {
  background: rgba(13, 19, 15, .86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-light);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name {
  font-family: var(--display);
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .16em;
  opacity: .65;
  margin-top: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 999px;
  opacity: .8;
  transition: opacity .2s, background .2s;
}
.nav-links a:hover { opacity: 1; background: rgba(246, 241, 231, .08); }
.nav-links a[aria-current="page"] { opacity: 1; background: rgba(246, 241, 231, .12); }
.nav-links .btn { opacity: 1; margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: rgba(246, 241, 231, .06);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cream);
  margin: 5px auto;
  transition: transform .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 80px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--ink);
    padding: 16px 16px 28px;
    border-bottom: 1px solid var(--line-light);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; padding: 10px 12px; border-radius: 10px; }
  .nav-links .btn { margin: 12px 0 0; font-family: var(--sans); font-size: 1rem; text-transform: none; text-align: center; }
  body.menu-open .site-header { background: var(--ink); }
}

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.1;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), color .25s, border-color .25s, background .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--amber); color: var(--on-amber); }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--amber-2);
  transform: translateY(101%);
  transition: transform .35s var(--ease);
}
.btn-primary:hover::after { transform: none; }
.btn-ghost { border-color: rgba(246, 241, 231, .35); color: var(--cream); background: rgba(246, 241, 231, .04); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(246, 241, 231, .1); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--cream); }
.btn-small { padding: 11px 20px; font-size: .9rem; }

/* ---------- Héros d'accueil ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
  padding: 140px 0 48px;
}
.hero-bg {
  position: absolute;
  inset: -8% 0 0 0;
  background-size: cover;
  background-position: center 30%;
  transform-origin: center;
  animation: hero-zoom 14s var(--ease) both;
  will-change: transform;
}
@keyframes hero-zoom { from { scale: 1.15; } to { scale: 1; } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 19, 15, .55) 0%, rgba(13, 19, 15, .2) 35%, rgba(13, 19, 15, .92) 100%),
    linear-gradient(90deg, rgba(13, 19, 15, .75) 0%, rgba(13, 19, 15, 0) 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: end;
}
@media (min-width: 1040px) { .hero-grid { grid-template-columns: 1fr 360px; } }

.hero h1 {
  font-size: clamp(3.4rem, 11vw, 9.5rem);
  line-height: .94;
  letter-spacing: -.005em;
}
.hero h1 .line { display: block; overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--amber);
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

.hero-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35em;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  margin: 28px 0 0;
  color: rgba(246, 241, 231, .8);
  animation: fade-up .9s .35s var(--ease) both;
}
.rotator {
  position: relative;
  display: inline-grid;
  color: var(--amber-2);
  font-weight: 600;
}
.rotator span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(60%);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  white-space: nowrap;
}
.rotator span.on { opacity: 1; transform: none; }
.rotator span.off { opacity: 0; transform: translateY(-60%); }
@media (max-width: 560px) { .rotator span { white-space: normal; } }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  animation: fade-up .9s .5s var(--ease) both;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Carte « mission en cours » */
.mission {
  background: rgba(21, 29, 23, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 22px;
  animation: fade-up 1s .7s var(--ease) both, float 6s 2s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }
.mission-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--muted-light);
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7ee29a;
}
.live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(126, 226, 154, .7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(126, 226, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 226, 154, 0); } }
.mission h3 { font-size: 1.6rem; margin: 14px 0 4px; }
.mission p { margin: 0; color: var(--muted-light); font-size: .92rem; }
.bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(246, 241, 231, .1);
  margin: 18px 0 10px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: var(--p, 38%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  transform-origin: left;
  animation: grow 2.2s 1s var(--ease) both;
}
@keyframes grow { from { transform: scaleX(0); } }
.mission-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--muted-light);
}
.mission-foot b { color: var(--cream); font-weight: 500; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin-top: 56px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  animation: fade-up 1s .85s var(--ease) both;
}
.hero-stats div {
  background: rgba(13, 19, 15, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 18px 22px;
}
.hero-stats strong { display: block; font-family: var(--display); font-size: 2rem; font-weight: 400; line-height: 1; }
.hero-stats span { font-size: .85rem; color: var(--muted-light); }

.scroll-cue {
  position: absolute;
  right: 32px;
  bottom: 40px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--muted-light);
  display: none;
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  margin: 14px auto 0;
  background: linear-gradient(var(--amber), transparent);
  animation: drip 2s infinite;
}
@keyframes drip { from { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } to { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 1300px) { .scroll-cue { display: block; } }

/* ---------- Héros des pages intérieures ---------- */
.page-hero {
  position: relative;
  color: var(--cream);
  background: var(--ink);
  padding: 180px 0 80px;
  overflow: hidden;
}
.page-hero .hero-bg { animation-duration: 10s; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13, 19, 15, .7), rgba(13, 19, 15, .88));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 1em; line-height: .96; }
.page-hero h1 > span { display: inline-block; animation: rise 1s var(--ease) both; }
.page-hero-wrap { overflow: hidden; font-size: clamp(3rem, 9vw, 7rem); padding-top: .18em; margin-top: -.18em; }
.page-hero p {
  max-width: 38em;
  margin: 24px 0 0;
  font-size: 1.2rem;
  color: rgba(246, 241, 231, .78);
  animation: fade-up .9s .25s var(--ease) both;
}
.breadcrumb {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin: 0 0 22px;
}
.breadcrumb a { color: var(--cream); text-decoration: none; }

/* ---------- Bandeau défilant ---------- */
.marquee {
  background: var(--amber);
  color: var(--on-amber);
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid rgba(0, 0, 0, .15);
}
.tilt-wrap { overflow: hidden; padding: 28px 0; margin: -28px 0; position: relative; z-index: 3; }
.marquee.tilt { transform: rotate(-1.5deg); margin: 0 -20px; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 1.2em;
}
.marquee-track span::after { content: "✦"; padding-left: 1.2em; font-size: .7em; vertical-align: .15em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark .muted, .section-dark .section-head p { color: var(--muted-light); }
.section-paper-2 { background: var(--paper-2); }
.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
@media (min-width: 900px) { .section-head.split-head { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.section-head h2 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); line-height: .96; }
.section-head h2 em { font-style: normal; color: var(--amber); }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; max-width: 34em; }
.muted { color: var(--muted); }

/* ---------- Grille de services (bento) ---------- */
.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  grid-auto-rows: 320px;
}
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; }
  .bento .big { grid-column: span 2; grid-row: span 2; }
  .bento .wide { grid-column: span 2; }
}
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--cream);
  text-decoration: none;
  background: var(--ink-2);
  padding: 26px;
  isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .9s var(--ease), filter .5s;
  filter: saturate(.9);
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 19, 15, .05) 25%, rgba(13, 19, 15, .9) 100%);
  transition: background .4s;
}
.svc:hover { box-shadow: 0 30px 60px -25px rgba(13, 19, 15, .55); }
.svc:hover img { transform: scale(1.08); filter: saturate(1.1); }
.svc:hover::before { background: linear-gradient(180deg, rgba(13, 19, 15, .15) 10%, rgba(13, 19, 15, .95) 100%); }
.svc-num {
  position: absolute;
  top: 22px;
  left: 26px;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: rgba(246, 241, 231, .8);
}
.price {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(246, 241, 231, .92);
  color: var(--ink);
}
.svc h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.08; }
.svc.big h3 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.04; }
.svc p {
  margin: 10px 0 0;
  font-size: .95rem;
  color: rgba(246, 241, 231, .8);
  max-width: 30em;
}
.svc .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--amber-2);
}
.svc .go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc:hover .go svg { transform: translateX(5px); }

/* ---------- Bloc image + texte ---------- */
.split {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }
.photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.photo.landscape { aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-wrap { position: relative; }
.sticker {
  position: absolute;
  z-index: 2;
  background: var(--amber);
  color: var(--on-amber);
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.05;
  text-transform: uppercase;
  padding: 18px;
  right: -18px;
  bottom: 40px;
  animation: spin 22s linear infinite;
}
.sticker span { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; margin-top: 6px; }
@keyframes spin { to { rotate: 360deg; } }
@media (max-width: 700px) { .sticker { width: 120px; height: 120px; font-size: 1rem; right: 8px; bottom: 16px; } }

.checklist { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; }
.checklist li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
}
.checklist li:last-child { border-bottom: 1px solid var(--line-light); }
.checklist b { font-family: var(--mono); font-size: .8rem; color: var(--amber); font-weight: 500; padding-top: 4px; }
.checklist strong { display: block; font-size: 1.08rem; }
.checklist span { color: var(--muted-light); font-size: .97rem; }

.counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
}
.counters div { background: var(--ink-2); padding: 26px 22px; }
.counters strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--amber-2); }
.counters span { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted-light); }
.counters.light { background: var(--line); }
.counters.light div { background: var(--cream); }
.counters.light strong { color: var(--amber); }
.counters.light span { color: var(--muted); }

/* ---------- Méthode ---------- */
.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  overflow: hidden;
  transition: transform .4s var(--ease), background .4s;
}
.steps li:hover { transform: translateY(-6px); background: #fff; }
.steps .n {
  display: block;
  font-family: var(--display);
  font-size: 5.5rem;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--amber);
  margin-bottom: 26px;
}
.steps h3 { font-size: 1.9rem; }
.steps p { color: var(--muted); margin: 12px 0 0; }
.steps .fine {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--muted);
}

/* ---------- Zone ---------- */
.zone-photo { position: relative; }
.zone-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(13, 19, 15, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--cream);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}
@media (min-width: 700px) { .zone-card { left: auto; right: 24px; bottom: 24px; max-width: 330px; } }
.radar {
  position: relative;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(242, 138, 46, .5);
  background: radial-gradient(circle, rgba(242, 138, 46, .25) 0 6px, transparent 7px);
  overflow: hidden;
}
.radar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(242, 138, 46, .55), transparent 25%);
  animation: spin 3s linear infinite;
}
.zone-card strong { display: block; font-family: var(--display); font-size: 1.4rem; font-weight: 400; line-height: 1.05; }
.zone-card span { font-family: var(--mono); font-size: .72rem; color: var(--muted-light); letter-spacing: .06em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.chips li {
  font-size: .88rem;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  color: var(--muted-light);
  text-decoration: line-through;
  text-decoration-color: rgba(242, 138, 46, .7);
}
.chips li.main { background: var(--amber); border-color: var(--amber); color: var(--on-amber); text-decoration: none; font-weight: 600; }

/* ---------- Avis ---------- */
.rating {
  display: flex;
  align-items: center;
  gap: 18px;
}
.rating strong { font-family: var(--display); font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 400; line-height: .85; }
.rating .stars { font-size: 1.4rem; letter-spacing: 3px; color: var(--amber); }
.rating small { display: block; color: var(--muted); font-size: .9rem; }

.reviews {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 60s linear infinite;
  padding: 8px 0;
}
.reviews:hover .reviews-track { animation-play-state: paused; }
.review {
  width: min(380px, 82vw);
  flex: none;
  margin: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.review:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 24px 48px -28px rgba(13, 19, 15, .45); }
.review .stars { color: var(--amber); letter-spacing: 2px; }
.review p { margin: 14px 0 22px; flex: 1; font-size: 1.02rem; }
.review footer { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); }
.review footer .av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--amber-2);
  font-family: var(--display);
  font-size: 1.05rem;
}
.review footer strong { display: block; color: var(--text); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 0 24px;
  transition: background .3s;
}
.faq details[open] { background: var(--ink-3); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 22px 44px 22px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background:
    linear-gradient(var(--on-amber), var(--on-amber)) center / 12px 2px no-repeat,
    linear-gradient(var(--on-amber), var(--on-amber)) center / 2px 12px no-repeat,
    var(--amber);
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0 0 22px; color: var(--muted-light); }
.faq.light details { background: var(--cream); border-color: var(--line); }
.faq.light details[open] { background: #fff; }
.faq.light details p { color: var(--muted); }

/* ---------- Appel à l'action ---------- */
.cta {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
  padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px);
  isolation: isolate;
}
.cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(13, 19, 15, .94) 20%, rgba(13, 19, 15, .55));
}
.cta h2 { font-size: clamp(2.8rem, 7vw, 6rem); line-height: .9; max-width: 11em; }
.cta h2 em { font-style: normal; color: var(--amber); }
.cta p { color: rgba(246, 241, 231, .8); font-size: 1.15rem; max-width: 32em; margin: 22px 0 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Page services ---------- */
.subnav-wrap {
  position: sticky;
  top: 80px;
  z-index: 50;
  background: rgba(243, 238, 228, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  display: block;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
}
.subnav a:hover { border-color: var(--text); }
.subnav a.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.svc-row {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.svc-row:last-child { border-bottom: 0; }
@media (min-width: 960px) {
  .svc-row { grid-template-columns: 1fr 1fr; }
  .svc-row:nth-child(even) .photo-wrap { order: 2; }
}
.svc-row .photo { aspect-ratio: 5 / 4; }
.svc-row .photo-num {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 12px;
  font-family: var(--display);
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(246, 241, 231, .85);
}
.svc-row h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; }
.svc-row .intro { color: var(--muted); font-size: 1.1rem; margin: 20px 0 0; }
.feat {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
@media (min-width: 600px) { .feat { grid-template-columns: 1fr 1fr; } }
.feat li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .97rem;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.feat li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--amber);
  rotate: 45deg;
}
.svc-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}
.svc-foot .from { font-size: .9rem; color: var(--muted); }
.svc-foot .from strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--text); line-height: 1; }

/* ---------- Tarifs ---------- */
.plans {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  border-radius: 22px;
  padding: 34px 30px;
  transition: transform .4s var(--ease), border-color .4s;
}
.plan:hover { transform: translateY(-8px); border-color: rgba(242, 138, 46, .5); }
.plan.featured {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(242, 138, 46, .22), transparent 60%),
    var(--ink-3);
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 30px 80px -30px rgba(242, 138, 46, .45);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--amber);
  color: var(--on-amber);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan h3 { font-size: 2.2rem; }
.plan .plan-for { color: var(--muted-light); margin: 6px 0 24px; font-size: .95rem; }
.plan .amount { font-family: var(--display); font-size: 4rem; line-height: 1; }
.plan .amount small { font-family: var(--sans); font-size: .95rem; color: var(--muted-light); }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 12px; font-size: .97rem; }
.plan li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23140c04' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--amber);
}
.plan .btn { width: 100%; }
.plan .btn-outline { border-color: rgba(246, 241, 231, .4); color: var(--cream); }
.plan .btn-outline:hover { background: var(--cream); color: var(--ink); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
tbody tr { transition: background .2s; }
tbody tr:hover { background: #fff; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; }
td:last-child { white-space: nowrap; font-weight: 700; color: var(--amber); text-align: right; }
th:last-child { text-align: right; }
.thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.note { color: var(--muted); font-size: .9rem; margin: 18px 0 0; }

/* ---------- À propos ---------- */
.prose { max-width: 40em; }
.prose p { margin: 0 0 18px; font-size: 1.08rem; }
.prose h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 26px; }
.prose h3 { font-size: 1.5rem; margin: 30px 0 10px; }
.prose ul { padding-left: 22px; margin: 0 0 18px; }
.prose a { color: var(--amber); }

.values {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.values li {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 30px 28px;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s;
}
.values li:hover { transform: translateY(-6px); border-color: rgba(242, 138, 46, .5); }
.values .num { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; color: var(--amber); }
.values h3 { font-size: 2rem; margin-top: 14px; }
.values p { color: var(--muted-light); margin: 12px 0 0; }
.values .big-n {
  position: absolute;
  right: -6px;
  bottom: -26px;
  font-family: var(--display);
  font-size: 8rem;
  line-height: 1;
  color: rgba(246, 241, 231, .04);
}

.team {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.member {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .4s var(--ease);
}
.member:hover { transform: translateY(-6px) rotate(.4deg); }
.badge {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--amber-2);
  font-family: var(--display);
  font-size: 1.7rem;
  margin-bottom: 20px;
  rotate: -4deg;
}
.member h3 { font-size: 1.7rem; }
.member .role { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin: 8px 0 12px; }
.member p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.45fr .9fr; } }
.form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
}
.form h2 { font-size: 2.6rem; margin-bottom: 10px; }
.form > p { color: var(--muted); margin: 0 0 28px; }
.form-row { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.req { color: var(--amber); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(242, 138, 46, .18);
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 8px 0 26px; }
.check input { margin-top: 5px; accent-color: var(--amber); }
.check a { color: var(--amber); }
.form-status { margin: 16px 0 0; font-weight: 600; color: var(--moss); }

.info {
  background: var(--ink);
  color: var(--cream);
  border-radius: 24px;
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.info h3 { font-size: 2rem; margin-bottom: 24px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ic {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(242, 138, 46, .14);
  color: var(--amber-2);
}
.info-list .ic svg { width: 22px; height: 22px; }
.info-list span { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.info-list a, .info-list strong { color: var(--cream); text-decoration: none; font-weight: 600; }
.hours { width: 100%; margin-top: 28px; font-size: .95rem; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line-light); color: var(--muted-light); }
.hours td:last-child { text-align: right; color: var(--cream); font-weight: 500; }
.hours tr:last-child td { border-bottom: 0; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 90px 0 30px;
  font-size: .95rem;
  overflow: hidden;
}
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.site-footer .brand { color: var(--cream); }
.site-footer h4 {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--cream);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted-light); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--amber-2); }
.footer-tagline { margin: 18px 0 0; max-width: 22em; }
.footer-giant {
  font-family: var(--display);
  font-size: min(13vw, 10.4rem);
  line-height: .8;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 241, 231, .16);
  white-space: nowrap;
  margin: 70px 0 0;
  letter-spacing: -.01em;
  text-align: center;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-light);
  margin-top: 30px;
  padding-top: 24px;
  font-size: .85rem;
}

/* ---------- Animations au défilement ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].visible { opacity: 1; transform: none; }

.photo[data-reveal] img { transition: transform 1.6s var(--ease); transform: scale(1.18); }
.photo[data-reveal].visible img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .photo[data-reveal] img { transform: none; }
  .rotator span { opacity: 0; }
  .rotator span.on { opacity: 1; transform: none; }
}

/* =====================================================================
   Effets dynamiques (assets/fx.js)
   ===================================================================== */

/* ---------- Écran de chargement (accueil, une fois par session) ---------- */
.loader { display: none; }
html.loading .loader {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ink);
  color: var(--cream);
  /* sécurité si le script ne se charge pas */
  animation: loader-out .6s 3s var(--ease) forwards;
}
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
.loader-inner { width: min(420px, 80vw); }
.loader-count {
  display: block;
  font-family: var(--display);
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: .85;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.loader-label {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.loader-bar { height: 2px; background: var(--line-light); margin-top: 16px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; background: var(--amber); transform: scaleX(var(--p, 0)); transform-origin: left; }
html.loading .hero *, html.loading .hero { animation-play-state: paused !important; }
html.loading body { overflow: hidden; }

/* ---------- Rideau de transition entre pages ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--ink);
  transform: translateY(100%);
  pointer-events: none;
  display: grid;
  place-items: center;
}
.curtain svg { width: 64px; height: 64px; opacity: 0; transition: opacity .3s .2s; }
.leaving .curtain { transform: none; transition: transform .5s var(--ease); pointer-events: all; }
.leaving .curtain svg { opacity: 1; }

/* ---------- Barre de progression de lecture ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Curseur ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 800;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  border: 1.5px solid rgba(242, 138, 46, .8);
  pointer-events: none;
  display: grid;
  place-items: center;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s;
  mix-blend-mode: normal;
}
.cursor span {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--on-amber);
  opacity: 0;
  transition: opacity .2s;
}
.cursor.hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(242, 138, 46, .12); }
.cursor.label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--amber); border-color: var(--amber); }
.cursor.label span { opacity: 1; }
.cursor.hidden { opacity: 0; }

/* ---------- Halo qui suit la souris ---------- */
.spot { position: relative; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 138, 46, .16), transparent 45%);
  opacity: 0;
  transition: opacity .35s;
  z-index: 1;
}
.spot:hover::after { opacity: 1; }

.hero-glow {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 720px;
  height: 720px;
  margin: -360px 0 0 -360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 138, 46, .22), transparent 60%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .6s;
}
.hero:hover .hero-glow { opacity: 1; }

/* ---------- Titres découpés mot par mot ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .16em; margin-top: -.16em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Manifeste ---------- */
.manifesto { background: var(--paper); }
.manifesto-text {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  margin: 0;
  max-width: 17em;
}
.manifesto-text em { font-style: normal; color: var(--amber); }
.manifesto-text .mw { transition: color .2s; }
.manifesto-sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.manifesto-sign svg { width: 40px; height: 40px; }

/* ---------- Services en défilement horizontal ---------- */
.hs { background: var(--paper-2); padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.hs-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.hs-head h2 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); line-height: .96; }
.hs-head h2 em { font-style: normal; color: var(--amber); }
.hs-meta { min-width: 220px; }
.hs-count { font-family: var(--display); font-size: 3rem; line-height: 1; margin: 0; }
@media (max-width: 700px) { .hs-meta { min-width: 0; width: 100%; } .hs-count { font-size: 2rem; } }
.hs-count small { font-size: .5em; color: var(--muted); }
.hs-bar { height: 3px; background: var(--line); margin: 12px 0 10px; overflow: hidden; border-radius: 3px; }
.hs-bar i { display: block; height: 100%; background: var(--amber); transform-origin: left; transform: scaleX(.125); }
.hs-hint { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hs-track {
  --side: max(16px, calc((100vw - var(--max)) / 2 + 32px));
  position: relative;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--side);
  padding: 8px var(--side) 24px;
  scrollbar-width: none;
}
.hs-track::-webkit-scrollbar { display: none; }
@media (max-width: 700px) { .hs-track { --side: 16px; } }
.hs-track .svc { flex: none; width: min(420px, 84vw); height: min(560px, 66vh); min-height: 420px; scroll-snap-align: start; }
.hs-track .svc.big { width: min(640px, 88vw); }
.hs-track .svc.big h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
.hs.pinned { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 24px; }
.hs.pinned .hs-track { overflow: visible; scroll-snap-type: none; }
.hs.pinned .hs-head { margin-bottom: 28px; }

/* ---------- Centre de commandement ---------- */
.dash {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, 1fr);
}
.dash-card {
  grid-column: span 12;
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 22px;
  overflow: hidden;
  min-width: 0;
}
@media (min-width: 960px) {
  .dash-missions { grid-column: 1 / 8; grid-row: 1 / 3; }
  .dash-chart { grid-column: 8 / 13; }
  .dash-term { grid-column: 8 / 13; }
  .dash-kpi { grid-column: span 4; }
}
@media (min-width: 640px) and (max-width: 959px) { .dash-kpi { grid-column: span 4; } }
.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.dash-top b { color: var(--cream); font-weight: 500; }

.mrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line-light);
}
.mrow:first-of-type { border-top: 0; padding-top: 4px; }
.mrow strong { font-size: .98rem; font-weight: 600; }
.mrow small { display: block; color: var(--muted-light); font-size: .8rem; }
.pill {
  align-self: start;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(126, 226, 154, .12);
  color: #7ee29a;
}
.pill.warn { background: rgba(242, 138, 46, .14); color: var(--amber-2); }
.pill.bad { background: rgba(255, 99, 99, .14); color: #ff8a8a; animation: blink 1.2s steps(2) infinite; }
.pill.idle { background: rgba(246, 241, 231, .08); color: var(--muted-light); }
@keyframes blink { 50% { opacity: .35; } }
.mbar { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.mbar .track { flex: 1; height: 6px; border-radius: 6px; background: rgba(246, 241, 231, .08); overflow: hidden; }
.mbar .track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--amber-2)); transform-origin: left; transition: transform .8s var(--ease); }
.mbar span { font-family: var(--mono); font-size: .75rem; color: var(--muted-light); min-width: 54px; text-align: right; font-variant-numeric: tabular-nums; }

.chart-val { font-family: var(--display); font-size: 3.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.chart-val small { font-family: var(--sans); font-size: .9rem; color: var(--muted-light); }
.chart-delta { font-family: var(--mono); font-size: .75rem; color: #ff8a8a; margin-left: 8px; }
.chart svg { width: 100%; height: 110px; margin-top: 12px; overflow: visible; }

.term {
  margin: 0;
  font-family: var(--mono);
  font-size: .78rem;
  line-height: 1.75;
  color: #b6d8bf;
  height: 170px;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.term .warn { color: var(--amber-2); }
.term .err { color: #ff8a8a; }
.term .caret { display: inline-block; width: 8px; height: 1em; background: #b6d8bf; vertical-align: -2px; animation: blink 1s steps(2) infinite; }

.kpi-val { font-family: var(--display); font-size: 3.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi-val small { font-family: var(--sans); font-size: .95rem; color: var(--muted-light); }
.kpi-note { display: block; margin-top: 8px; font-size: .85rem; color: var(--muted-light); }
.meter { height: 8px; border-radius: 8px; background: rgba(246, 241, 231, .08); margin-top: 16px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff8a8a, var(--amber), #7ee29a); transform-origin: left; transition: transform 1s var(--ease); }
.uptime { display: flex; gap: 3px; margin-top: 16px; height: 34px; }
.uptime i { flex: 1; border-radius: 3px; background: #7ee29a; opacity: .85; }
.uptime i.o { background: var(--amber); }
.uptime i.r { background: #ff8a8a; }

/* ---------- Mise en page de l'accueil ---------- */
.photo.clip img { transform: scale(1.12); }

@media (prefers-reduced-motion: reduce) {
  .loader, html.loading .loader { display: none; }
  .cursor, .hero-glow, .progress { display: none; }
}
