/* Stadelmann Consulting — site v1
   Layout : zones de marque toujours sombres (en-tête, accueil, méthode, pied de page) qui encadrent
   des sections qui suivent le thème clair/sombre ; angles coupés repris des lames du symbole. */

@font-face { font-family: "Oswald"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/oswald-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/oswald-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Thème sombre par défaut, comme /claudio (couleurs échantillonnées sur le logo original) */
  --bg: #0E0E0E;
  --bg-alt: #131313;
  --card: #181818;
  --card-2: #1F1F1F;
  --line: #2A2A2A;
  --line-2: #3A3A3A;
  --text: #F8F8F8;
  --text-2: #CCCCCC;
  --muted: #A3A3A3;
  --red: #FF002E;
  --coral: #FF4851;
  --red-ink: #FF2A4D;
  --on-red: #FFFFFF;
  --red-hover: #FF1F49;
  --field: #0E0E0E;

  /* Zones de marque : toujours sombres, quel que soit le thème */
  --z-bg: #0E0E0E;
  --z-card: #171717;
  --z-line: #2A2A2A;
  --z-text: #F8F8F8;
  --z-text-2: #CCCCCC;
  --z-muted: #A3A3A3;
  --z-red: #FF002E;
  --z-coral: #FF4851;

  /* Les quatre lames du symbole */
  --blade-1: #FF002E;
  --blade-2: #CCCCCC;
  --blade-3: #999999;
  --blade-4: #666666;

  --display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: 20px;
  --header-h: 64px;
  --cut: 14px;
  --cut-lg: 26px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F4F4F2; --bg-alt: #EAEAE6; --card: #FFFFFF; --card-2: #F6F6F3;
  --line: #DEDEDA; --line-2: #C9C9C4;
  --text: #121212; --text-2: #3A3A3A; --muted: #5E5E5E;
  --red: #E4002B; --coral: #C70024; --red-ink: #D1002A; --on-red: #FFFFFF; --red-hover: #C80026;
  --field: #FFFFFF;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #F4F4F2; --bg-alt: #EAEAE6; --card: #FFFFFF; --card-2: #F6F6F3;
    --line: #DEDEDA; --line-2: #C9C9C4;
    --text: #121212; --text-2: #3A3A3A; --muted: #5E5E5E;
    --red: #E4002B; --coral: #C70024; --red-ink: #D1002A; --on-red: #FFFFFF; --red-hover: #C80026;
    --field: #FFFFFF;
    color-scheme: light;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--z-red); color: #fff; padding: .7rem 1rem; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.arr { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }

.wrap {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Zone de marque : redéfinit les jetons pour que tout ce qu'elle contient reste sombre */
.zone {
  --bg: var(--z-bg); --bg-alt: var(--z-bg); --card: var(--z-card); --card-2: #1F1F1F;
  --line: var(--z-line); --line-2: #3A3A3A;
  --text: var(--z-text); --text-2: var(--z-text-2); --muted: var(--z-muted);
  --red: var(--z-red); --coral: var(--z-coral); --red-ink: #FF2A4D; --red-hover: #FF1F49; --field: #0E0E0E;
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
}

/* Angles coupés (lames du symbole) */
.cut { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.cut-lg { clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%, 0 100%, 0 var(--cut-lg)); }
.cut-tl { clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-lg)); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8rem 1.35rem;
  font: 600 1.1875rem/1.2 var(--body);
  text-decoration: none; border: 0; cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color .15s ease, transform .1s ease;
}
.btn--primary { background: var(--red); color: var(--on-red); }
.btn--primary:hover { background: var(--red-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--on-red), inset 0 0 0 5px var(--red); }
.btn svg { width: 20px; height: 20px; }
.textlink {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; text-decoration: none; color: var(--text);
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.textlink:hover { color: var(--coral); }
.textlink svg { width: 18px; height: 18px; color: var(--red-ink); transition: transform .15s ease; }
.textlink:hover svg { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--z-line);
}
.header-bar { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { height: 21px; width: auto; }
.menu-toggle {
  display: none; align-items: center; justify-content: center; gap: .5rem;
  height: 44px; padding: 0 12px; background: none; border: 1px solid var(--line-2); cursor: pointer;
  font: 500 .875rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav__links { display: flex; gap: 22px; }
.nav__links a {
  font: 500 .9375rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--text-2); padding: 8px 0; border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--text); }
.nav__links a[aria-current="true"] { color: var(--text); border-bottom-color: var(--red); }
.nav__tools { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; border: 1px solid var(--line-2); }
.langs a { display: grid; place-items: center; min-width: 40px; height: 34px; padding: 0 8px; text-decoration: none; }
.langs a svg { width: 22px; height: 15px; display: block; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); opacity: .45; transition: opacity .15s ease; }
.langs a:hover { background: var(--card); }
.langs a:hover svg, .langs a[aria-current="page"] svg { opacity: 1; }
.langs a[aria-current="page"] { background: var(--card-2); box-shadow: inset 0 -2px 0 var(--red); }
.theme-toggle {
  display: grid; place-items: center; width: 36px; height: 36px;
  background: none; border: 1px solid var(--line-2); cursor: pointer; color: var(--text-2);
}
.theme-toggle:hover { color: var(--text); background: var(--card); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
.nav__cta { min-height: 44px; padding: .55rem 1rem; }

@media (max-width: 1119px) {
  .js .menu-toggle { display: inline-flex; }
  .nav {
    flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--z-bg); border-bottom: 1px solid var(--z-line);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 24px max(var(--gutter), env(safe-area-inset-left, 0px));
    max-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px)); overflow-y: auto;
  }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; font-size: 1.375rem; padding: 16px 0; border-bottom: 1px solid var(--z-line); color: var(--text); }
  .nav__links a[aria-current="true"] { border-bottom-color: var(--z-line); box-shadow: inset 3px 0 0 var(--red); padding-left: 14px; }
  .nav__tools { padding: 20px 0; justify-content: space-between; }
  .langs a { min-width: 56px; height: 44px; }
  .langs a svg { width: 26px; height: 18px; }
  .theme-toggle { width: 44px; height: 44px; }
  .nav__cta { width: 100%; min-height: 52px; }
  /* Sans JavaScript : le menu reste visible sous l'en-tête */
  html:not(.js) .nav { position: static; padding-inline: 0; border: 0; }
  html:not(.js) .header-bar { height: auto; flex-wrap: wrap; padding-block: 10px; }
}
@media (max-width: 380px) { .brand__word { height: 18px; } }

/* ---------- Accueil ---------- */
.hero {
  display: grid;
  grid-template-columns: [full-start] minmax(max(var(--gutter), env(safe-area-inset-left, 0px)), 1fr) [content-start] minmax(0, var(--wrap)) [content-end] minmax(max(var(--gutter), env(safe-area-inset-right, 0px)), 1fr) [full-end];
  overflow: hidden;
}
.hero__media { grid-column: full; position: relative; aspect-ratio: 4 / 3; max-height: 62vh; width: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0) 38%, rgba(14,14,14,.88) 76%, #0E0E0E 94%);
}
.hero__text { grid-column: content; position: relative; z-index: 1; margin-top: -36px; padding-bottom: 56px; }
.eyebrow-hero {
  font: 500 .8125rem/1.3 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--coral);
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow-hero::before { content: ""; width: 22px; height: 2px; background: var(--red); flex-shrink: 0; }
.hero h1 { margin-top: 18px; text-wrap: balance; }
.hero__a {
  display: block; font: 600 clamp(2.4rem, 1.5rem + 4.2vw, 4.75rem)/0.98 var(--display);
  text-transform: uppercase; letter-spacing: .005em;
}
.hero__b {
  display: block; margin-top: .35em; font: 500 clamp(1.5rem, 1.1rem + 1.7vw, 2.4rem)/1.12 var(--display);
  color: var(--coral);
}
.hero__sub { margin-top: 22px; font-size: 1.125rem; color: var(--text-2); max-width: 58ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.sectors { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--z-line); max-width: 60ch; }
.sectors__label { flex-basis: 100%; font: 500 .8125rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.sectors__list { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.sectors li { font-size: .9375rem; color: var(--text-2); }
.sectors li:not(:last-child)::after { content: "·"; color: var(--red); margin-left: 10px; }

@media (min-width: 960px) {
  .hero { grid-template-columns: [full-start] minmax(max(var(--gutter), env(safe-area-inset-left, 0px)), 1fr) [content-start] minmax(0, calc(var(--wrap) * .56)) [mid] minmax(0, calc(var(--wrap) * .44)) [content-end] minmax(max(var(--gutter), env(safe-area-inset-right, 0px)), 1fr) [full-end]; }
  .hero__media { grid-column: mid / full-end; grid-row: 1; aspect-ratio: auto; max-height: none; height: 100%; min-height: 560px; }
  .hero__media::after { background: linear-gradient(90deg, #0E0E0E 0%, rgba(14,14,14,.82) 16%, rgba(14,14,14,0) 52%), linear-gradient(0deg, rgba(14,14,14,.6) 0%, rgba(14,14,14,0) 30%); }
  .hero__media img { object-position: 46% 35%; }
  .hero__text { grid-column: content-start / mid; grid-row: 1; margin-top: 0; padding: 96px 40px 88px 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 3rem + 5vw, 120px); scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.section--alt { background: var(--bg-alt); }
.eyebrow {
  font: 500 .8125rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); flex-shrink: 0; }
.h2 { font: 600 clamp(2rem, 1.35rem + 2.5vw, 3.15rem)/1.05 var(--display); letter-spacing: .004em; text-wrap: balance; margin-top: 18px; max-width: 22ch; }
.lead { margin-top: 18px; font-size: 1.1875rem; color: var(--text-2); max-width: 60ch; }
.section-head { margin-bottom: clamp(32px, 2rem + 2vw, 56px); }

/* ---------- Défis ---------- */
.defis__grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .defis__grid { grid-template-columns: 1fr 1fr; } }
.defi { background: var(--card); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 16px; }
.defi__tag { display: flex; align-items: center; gap: 10px; font: 500 .8125rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.defi__tag::before { content: ""; width: 12px; height: 12px; background: var(--blade-1); clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%, 0 4px); }
.defi--d .defi__tag::before { background: var(--blade-3); }
.defi p { font-size: 1.1875rem; font-weight: 600; line-height: 1.45; }
.defis__close { margin-top: clamp(36px, 2rem + 2vw, 56px); display: grid; gap: 22px; align-items: end; }
@media (min-width: 900px) { .defis__close { grid-template-columns: 1fr auto; } }
.defis__close p { font: 500 clamp(1.4rem, 1.05rem + 1.4vw, 2rem)/1.25 var(--display); max-width: 38ch; text-wrap: balance; }
.defis__close strong { font-weight: 500; color: var(--coral); }

/* ---------- Services ---------- */
.pricing {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 10px 14px; background: var(--card); font-size: .9375rem; color: var(--text-2);
}
.pricing svg { width: 18px; height: 18px; color: var(--red-ink); }
.pillars { display: grid; gap: 48px; }
@media (min-width: 980px) { .pillars { grid-template-columns: 1fr 1fr; gap: 40px; } }
.pillar { min-width: 0; }
.pillar__img { aspect-ratio: 16 / 9; width: 100%; overflow: hidden; background: var(--card); }
.pillar__img img { width: 100%; height: 100%; object-fit: cover; }
.pillar__name {
  display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--text);
  font: 600 1.5rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em;
}
.pillar__name::before { content: ""; width: 16px; height: 16px; background: var(--blade-1); clip-path: polygon(5px 0, 100% 0, 100% 100%, 0 100%, 0 5px); }
.pillar--b .pillar__name::before { background: var(--blade-3); }
.svc { border-bottom: 1px solid var(--line); }
.svc summary {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 24px; gap: 4px 12px; align-items: start;
  padding: 20px 0; cursor: pointer; list-style: none;
}
.svc summary::-webkit-details-marker { display: none; }
.svc summary:focus-visible { outline-offset: -2px; }
.svc__n { font: 600 1.125rem/1.5 var(--display); color: var(--red-ink); font-variant-numeric: tabular-nums; }
.svc__t { display: block; font-weight: 600; font-size: 1.125rem; line-height: 1.35; }
.svc__l { display: block; color: var(--text-2); font-size: 1rem; margin-top: 4px; }
.svc__chev { width: 24px; height: 24px; margin-top: 2px; color: var(--muted); transition: transform .2s ease; }
.svc[open] .svc__chev { transform: rotate(45deg); color: var(--red-ink); }
.svc summary:hover .svc__t { color: var(--coral); }
.svc__body { padding: 0 0 22px 2.6rem; padding-left: calc(2.6rem + 12px); }
.svc__body dl { display: grid; gap: 10px; background: var(--card); padding: 16px 18px; }
.svc__body dl > div { display: grid; gap: 2px; }
@media (min-width: 560px) { .svc__body dl > div { grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; } }
.svc__body dt { font: 500 .8125rem/1.6 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svc__body dd { font-size: .98rem; }
.svc__body .is-proof dd { color: var(--coral); font-weight: 600; }
@media (max-width: 559px) { .svc__body { padding-left: 0; } }
.services__end { margin-top: clamp(40px, 2rem + 2vw, 64px); display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .services__end { grid-template-columns: minmax(0, 1fr) auto; } }
.services__end p { color: var(--text-2); max-width: 62ch; font-size: 1.0625rem; }

/* ---------- Méthode ---------- */
.method__grid { display: grid; }
.method__img { margin-top: 28px; aspect-ratio: 16 / 10; overflow: hidden; }
.method__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.steps { margin-top: 36px; }
@media (min-width: 1000px) {
  .method__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 72px; align-items: start; }
  .method__head { grid-column: 1; grid-row: 1; }
  .method__img { grid-column: 1; grid-row: 2; margin-top: 32px; aspect-ratio: 4 / 5; max-width: 420px; }
  .steps { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}
.steps { counter-reset: step; display: grid; }
.step { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding-bottom: 34px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 25px; top: 56px; bottom: 6px; width: 2px; background: var(--line-2);
}
.step:last-child::before { display: none; }
.step__mark {
  width: 52px; height: 52px; display: grid; place-items: center;
  font: 600 1.375rem/1 var(--display); color: #0E0E0E;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.step:nth-child(1) .step__mark { background: var(--blade-1); color: #fff; }
.step:nth-child(2) .step__mark { background: var(--blade-2); }
.step:nth-child(3) .step__mark { background: var(--blade-3); }
.step:nth-child(4) .step__mark { background: var(--blade-4); color: #fff; }
.step h3 { font: 600 1.625rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; padding-top: 10px; }
.step p { margin-top: 8px; color: var(--text-2); max-width: 52ch; }

/* ---------- Résultats ---------- */
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--text); }
.figure { padding: 22px 18px 24px 0; border-bottom: 1px solid var(--line); }
.figure:last-child { grid-column: 1 / -1; }
@media (min-width: 1000px) {
  .figures { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .figure { border-bottom: 0; padding-right: 24px; }
  .figure:last-child { grid-column: auto; }
  .figure + .figure { border-left: 1px solid var(--line); padding-left: 24px; }
}
.figure__v { display: block; font: 600 clamp(2.4rem, 1.7rem + 2.4vw, 3.6rem)/1 var(--display); color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.figure__l { display: block; margin-top: 10px; color: var(--text-2); font-size: .9688rem; line-height: 1.45; }
.cases { display: grid; gap: 18px; margin-top: clamp(40px, 2rem + 2vw, 64px); }
@media (min-width: 900px) { .cases { grid-template-columns: 1fr 1fr; } }
.case { background: var(--card); padding: 30px 28px 32px; }
.case h3 { font: 600 1.5rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.case dl { display: grid; gap: 16px; margin-top: 22px; }
.case dt { font: 500 .8125rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.case dd { margin-top: 6px; color: var(--text-2); }
.case .is-result { padding-top: 16px; border-top: 1px solid var(--line); }
.case .is-result dd { color: var(--text); font-weight: 600; }

/* ---------- À propos ---------- */
.about__grid { display: grid; gap: 40px; }
.about__grid { margin-top: 28px; }
@media (min-width: 1000px) { .about__grid { grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: start; } }
.person { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.portrait { width: 180px; height: 180px; border-radius: 50%; padding: 4px; background: var(--bg-alt); box-shadow: 0 0 0 3px var(--red); margin-bottom: 18px; }
.portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.person__name { font: 600 2.125rem/1.05 var(--display); }
.person__role { font-weight: 600; margin-top: 4px; }
.person__focus { color: var(--coral); font-weight: 600; font-size: .98rem; }
.about__text p { color: var(--text-2); max-width: 62ch; }
.about__text p + p { margin-top: 14px; }
.about__text p:first-child { font-size: 1.25rem; line-height: 1.5; color: var(--text); }
.facts { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 700px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts h3 { font: 500 .8125rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.facts--wide { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .9063rem; color: var(--text-2); border: 1px solid var(--line-2); padding: .32rem .75rem; }
.factlist li { padding: 10px 0; border-top: 1px solid var(--line); }
.factlist li:last-child { border-bottom: 1px solid var(--line); }
.factlist b { display: block; font-weight: 600; line-height: 1.4; }
.factlist span { display: block; color: var(--muted); font-size: .9375rem; margin-top: 2px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 28px; }
@media (min-width: 980px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; } }
.book { padding: 28px; }
.book.zone { background: var(--z-card); box-shadow: inset 0 3px 0 var(--z-red); }
.book h3, .form-card h3 { font: 600 1.5rem/1.15 var(--display); letter-spacing: .02em; }
.book p { color: var(--text-2); margin-top: 8px; }
.book .btn { margin-top: 22px; width: 100%; }
.book small { display: block; color: var(--muted); font-size: .875rem; margin-top: 10px; }
.direct { margin-top: 0; }
.direct h3 { font: 500 .8125rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.direct ul { display: grid; gap: 8px; }
.direct a {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--card);
  text-decoration: none; transition: background-color .15s ease;
}
.direct a:hover { background: var(--card-2); }
.direct__icon { width: 40px; height: 40px; display: grid; place-items: center; background: var(--bg); color: var(--red-ink); flex-shrink: 0; }
.direct__icon svg { width: 20px; height: 20px; }
.direct__text { min-width: 0; }
.direct__label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.direct__value { display: block; overflow-wrap: anywhere; }
.form-card { background: var(--card); padding: 28px; }
.form { display: grid; gap: 18px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9688rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 0;
  background: var(--field); color: var(--text); font: 400 1rem/1.4 var(--body);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 25%, transparent); }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form__note { font-size: .875rem; color: var(--muted); }
.form__note a, .linkbtn { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.form__status { font-weight: 600; }
.form__status.is-error { color: var(--coral); }
.form-done { margin-top: 20px; padding: 22px; background: var(--bg); border-left: 3px solid var(--red); }
.form-done b { display: block; font: 600 1.375rem/1.2 var(--display); }
.form-done p { color: var(--text-2); margin-top: 6px; }
.form-done small { display: block; color: var(--muted); margin-top: 10px; font-size: .8438rem; }

/* ---------- Sections repliables (téléphone : html.acc) ---------- */
.section-head--fold { margin-bottom: 0; }
.section-intro { margin-bottom: clamp(32px, 2rem + 2vw, 56px); }
.fold__n, .fold__chev { display: none; }
html:not(.acc) .fold__body, html:not(.acc) .fold__in { display: contents; }
html:not(.acc) .fold__h--sub { display: none; }
.acc .fold__btn { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.acc .fold__t { grid-column: 1; }
.acc .fold__n { display: block; grid-column: 1; margin-top: 10px; font: 400 .9375rem/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.acc .fold__chev {
  display: block; grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 42px; padding: 9px;
  border: 1px solid var(--line-2); background: var(--card); color: var(--red-ink); transition: transform .25s ease;
}
.acc .fold.is-open .fold__chev { transform: rotate(180deg); }
.acc .fold__body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s ease, visibility 0s linear .3s; }
.acc .fold.is-open .fold__body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s ease; }
.acc .fold__in { overflow: hidden; min-height: 0; }
.acc .fold.no-anim .fold__body, .acc .fold.no-anim .fold__chev { transition: none; }
.acc .section.fold { padding-block: 40px; border-top: 1px solid var(--line); }
.acc .section.fold.zone { border-top-color: var(--z-line); }
.acc .section.fold.is-open { padding-bottom: 64px; }
.acc .fold .section-intro, .acc .fold .lead:first-child { margin-top: 0; }
.acc .fold .section-intro { padding-top: 22px; }
.acc .fold--sub { margin-top: 32px; border-top: 1px solid var(--line); }
.acc .fold__h--sub { font: 600 1.375rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em; padding-top: 20px; }
.acc .fold--sub .cases { margin-top: 22px; }
.acc .fold--sub .about__text { padding-top: 22px; }
.acc .fold__btn:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .acc .fold__body, .acc .fold__chev { transition: none; } }

/* ---------- Agenda ---------- */
.booking { padding: 28px; margin-bottom: 28px; background: var(--z-card); box-shadow: inset 0 3px 0 var(--z-red); }
.booking__head h3 { font: 600 1.625rem/1.15 var(--display); letter-spacing: .02em; }
.booking__head p { color: var(--text-2); margin-top: 8px; max-width: 62ch; }
.booking__grid { display: grid; gap: 28px; margin-top: 26px; }
@media (min-width: 900px) { .booking__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; } }
.booking__pick, .booking__form { min-width: 0; }
.booking__step { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 500 .8125rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.booking__step span { width: 24px; height: 24px; display: grid; place-items: center; background: var(--red); color: #fff; letter-spacing: 0; clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px); }
.booking__days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.day {
  flex: none; width: 70px; display: grid; gap: 2px; padding: 10px 4px; text-align: center; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
}
.day small { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.day b { font: 600 1.375rem/1.1 var(--display); }
.day[aria-pressed="true"] { border-color: var(--red); background: color-mix(in srgb, var(--red) 18%, var(--bg)); }
.day[aria-pressed="true"] small { color: var(--text-2); }
.booking__tz { font-size: .875rem; color: var(--muted); margin: -4px 0 10px; }
.booking__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.slot { min-height: 46px; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font: 600 1rem/1 var(--body); font-variant-numeric: tabular-nums; cursor: pointer; }
.day:hover, .slot:hover { border-color: var(--text-2); }
.slot[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.slot { display: grid; place-content: center; gap: 3px; }
.slot small { font: 500 .6875rem/1 var(--body); }
.slot[disabled] { cursor: not-allowed; background: transparent; }
.slot[disabled]:hover { border-color: var(--line-2); }
/* trois états, l'heure barrée : pré-réservé (ambre, tirets), réservé (rouge), indisponible (gris, hachures) */
.booking { --st-held: #F5A524; --st-booked: var(--coral); --st-blocked: #8A8A8A; }
.slot--held, .slot--booked, .slot--blocked { color: var(--st); border-color: color-mix(in srgb, var(--st) 70%, transparent); }
.slot--held { --st: var(--st-held); border-style: dashed; }
.slot--booked { --st: var(--st-booked); }
.slot--blocked, .slot--blocked[disabled] { --st: var(--st-blocked); background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(255, 255, 255, .06) 5px 6px); }
.slot--held span, .slot--booked span, .slot--blocked span { text-decoration: line-through; text-decoration-thickness: 2px; }
.slot--held[disabled]:hover, .slot--booked[disabled]:hover, .slot--blocked[disabled]:hover { border-color: color-mix(in srgb, var(--st) 70%, transparent); }
.day.is-full { opacity: .55; }
.booking__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: .8125rem; color: var(--muted); }
.booking__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 16px; height: 12px; border: 1px solid var(--line-2); }
.lg--held { border: 1px dashed var(--st-held); background: color-mix(in srgb, var(--st-held) 25%, transparent); }
.lg--booked { border-color: var(--st-booked); background: color-mix(in srgb, var(--st-booked) 30%, transparent); }
.lg--blocked { border-color: var(--st-blocked); background: repeating-linear-gradient(135deg, transparent 0 3px, var(--st-blocked) 3px 4px); }
.booking__sel { font-weight: 600; margin-bottom: 4px; }
.booking__sel.is-empty { font-weight: 400; color: var(--muted); }
.booking__form { display: grid; gap: 14px; align-content: start; }
.booking__form .btn { justify-self: start; }
.booking__form .btn[disabled] { opacity: .45; cursor: not-allowed; }
.booking__msg { color: var(--text-2); font-size: .9375rem; }
.booking__done { margin-top: 22px; }

/* ---------- Pied de page ---------- */
.site-footer { padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--z-line); }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 240px minmax(0, 1fr) auto; gap: 56px; align-items: start; } }
.footer__logo { width: 200px; }
.footer__meta { display: grid; gap: 6px; color: var(--text-2); font-size: .9688rem; }
.footer__meta .uid { color: var(--muted); font-variant-numeric: tabular-nums; }
.footer__links { display: grid; gap: 10px; justify-items: start; }
.footer__links a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; font-size: .9688rem; }
.footer__links a:hover { color: var(--text); border-bottom-color: var(--red); }
.footer__bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--z-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .8438rem; }
.footer__langs { display: flex; gap: 14px; }
.footer__langs a { color: var(--muted); text-decoration: none; }
.footer__langs a:hover, .footer__langs a[aria-current="page"] { color: var(--text); }

/* ---------- Textes légaux (dialogues) ---------- */
.legal {
  width: min(760px, calc(100% - 32px)); max-height: min(86vh, 900px); padding: 0; border: 0;
  background: var(--card); color: var(--text); overflow: hidden;
}
.legal[open] { display: flex; flex-direction: column; }
.legal::backdrop { background: rgba(0, 0, 0, .72); }
.legal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.legal__head h2 { font: 600 1.5rem/1.1 var(--display); }
.legal__close { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; background: none; border: 1px solid var(--line-2); cursor: pointer; font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--text); }
.legal__close svg { width: 18px; height: 18px; }
.legal__body { overflow-y: auto; padding: 18px 22px 26px; }
.legal__body h3 { font: 600 1.0625rem/1.3 var(--body); margin-top: 20px; }
.legal__body p, .legal__body li { color: var(--text-2); font-size: .9688rem; margin-top: 6px; }
.legal__body ul { padding-left: 1.1rem; list-style: square; }
.legal__body dl { display: grid; gap: 12px; }
.legal__body dt { font-weight: 600; }
.legal__body dd { color: var(--text-2); font-size: .9688rem; }
.legal__body a { color: var(--text); }
/* Sans JavaScript : le lien #… ouvre le texte en superposition */
html:not(.js) .legal:target { display: flex; flex-direction: column; position: fixed; inset: 6vh 0 auto; margin-inline: auto; z-index: 100; box-shadow: 0 0 0 100vmax rgba(0,0,0,.72); }

/* ---------- Bandeau de prévisualisation ---------- */
.preview-bar { background: #FFD43B; color: #121212; font: 600 .875rem/1.4 var(--body); text-align: center; padding: 8px 16px; }

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