/* Coiffure Carnot · aperçu v3 « Le cuir »
   Même marque que v1 : porcelaine, corne, cuir ; Bodoni Moda + Libre Franklin.
   Ce qui change : un cuir à rasoir comme colonne vertébrale, et un registre de coutelier. */

:root {
  --porcelain: #F5F3EE;
  --porcelain-2: #ECE8E0;
  --horn: #17140F;
  --horn-2: #4A443C;
  --cuir: #9A3F17;
  --cuir-deep: #7E3211;
  --cuir-light: #D9885A;
  --on-dark: #F5F3EE;
  --on-dark-2: #B9B2A6;
  --rule: rgb(23 20 15 / .16);
  --rule-strong: rgb(23 20 15 / .55);
  --focus: #9A3F17;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", "Bodoni MT", Georgia, serif;
  --text: "Libre Franklin", "Franklin Gothic Book", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(1rem, 4vw, 3rem);
  --gap: clamp(.75rem, 2vw, 1.5rem);
  --header-h: 3.75rem;
  --rail: 0px;
  --strip: 26px;
}
@media (min-width: 1000px) { :root { --rail: 92px; --strip: 0px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--strip) + 1rem);
  hanging-punctuation: first allow-end;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0; background: var(--porcelain); color: var(--horn);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.6;
  font-kerning: normal; font-optical-sizing: auto; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
::selection { background: var(--cuir); color: var(--porcelain); }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, fieldset, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
sup { font-size: .55em; line-height: 0; vertical-align: .8em; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: inherit; }
p, li, dd, blockquote { text-wrap: pretty; hyphens: auto; }
.tnum, table { font-variant-numeric: tabular-nums lining-nums; }
.on-dark { --focus: #D9885A; color: var(--on-dark); background: var(--horn); }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 1px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--horn); color: var(--porcelain); padding: .75rem 1rem; font-weight: 600; text-decoration: none; --focus: #D9885A; }
.skip:focus { top: 1rem; }

.g12 {
  width: min(100% - 2 * var(--gutter), 78rem); margin-inline: auto;
  display: grid; grid-template-columns: [ledger-start] repeat(7, minmax(0, 1fr)) [ledger-end] minmax(0, 1fr) [margin-start] repeat(3, minmax(0, 1fr)) [margin-end] minmax(0, 1fr);
  column-gap: var(--gap);
}
.g12 > * { grid-column: ledger; min-width: 0; }
.g12 > .margin { grid-column: margin; }

.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 1.5rem + 1.6vw, 3.25rem); line-height: .95; letter-spacing: -.02em; }
.fn { font-size: .8125rem; line-height: 1.5; color: var(--horn-2); max-width: 54ch; }
.on-dark .fn { color: var(--on-dark-2); }
.tbc { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--horn-2); font-size: .9em; }
.on-dark .tbc { color: var(--on-dark-2); }
.tag { display: inline-block; margin-inline: .2rem .3rem; font-weight: 700; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; padding: .1rem .45rem; border: 1px solid currentColor; vertical-align: .1em; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.3rem; border: 1px solid transparent; border-radius: 0;
  font-weight: 600; font-size: .9375rem; letter-spacing: .02em; line-height: 1.15; text-align: center; text-decoration: none;
  touch-action: manipulation; user-select: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 2.75rem; padding: .5rem 1rem; font-size: .875rem; }
.btn--cuir { background: var(--cuir); color: var(--porcelain); }
.btn--line { border-color: var(--horn); color: var(--horn); }
.btn--ghost { border-color: rgb(23 20 15 / .35); color: var(--horn); background: transparent; }
.btn--porcelain { background: var(--porcelain); color: var(--horn); }
@media (hover: hover) and (pointer: fine) {
  .btn--cuir:hover { background: var(--cuir-deep); }
  .btn--line:hover, .btn--ghost:hover { background: var(--horn); border-color: var(--horn); color: var(--porcelain); }
  .btn--porcelain:hover { background: #FFFFFF; }
}

/* ---------- bandeau aperçu ---------- */
.apercu { background: var(--horn); color: var(--on-dark); font-size: .875rem; line-height: 1.45; --focus: #D9885A; }
.apercu__in { width: min(100% - 2 * var(--gutter), 86rem); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding-block: .6rem; }
.apercu p { max-width: 74ch; }
.apercu__tag { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1rem; color: var(--cuir-light); margin-right: .3rem; }
.apercu__txt { color: var(--on-dark-2); }
.apercu__links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.apercu__link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; text-decoration: underline; text-decoration-color: rgb(245 243 238 / .4); }
@media (hover: hover) and (pointer: fine) { .apercu__link:hover { text-decoration-color: currentColor; } }

/* ---------- en-tête ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgb(245 243 238 / .95); border-bottom: 1px solid var(--rule); }
@supports (backdrop-filter: blur(8px)) {
  .top { background: rgb(245 243 238 / .84); backdrop-filter: saturate(1.1) blur(10px); -webkit-backdrop-filter: saturate(1.1) blur(10px); }
}
.top__in { width: min(100% - 2 * var(--gutter), 86rem); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; gap: 1rem; }
.top__mark { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; min-height: 2.75rem; text-decoration: none; }
.top__name { font-family: var(--display); font-weight: 600; font-size: 1.375rem; letter-spacing: -.01em; line-height: 1; }
.top__sub { font-weight: 600; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--horn-2); padding-left: .6rem; border-left: 1px solid var(--rule-strong); line-height: 1.2; }
.top__tel { display: none; align-items: center; min-height: 2.75rem; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.top__menu { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; background: none; border: 0; transition: transform 160ms var(--ease-out); }
.top__menu:active { transform: scale(.97); }
.top__menu-icon { position: relative; width: 22px; height: 11px; }
.top__menu-icon::before, .top__menu-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 220ms var(--ease-out); }
.top__menu-icon::before { top: 0; }
.top__menu-icon::after { bottom: 0; }
.top__menu[aria-expanded="true"] .top__menu-icon::before { transform: translateY(4.75px) rotate(45deg); }
.top__menu[aria-expanded="true"] .top__menu-icon::after { transform: translateY(-4.75px) rotate(-45deg); }
@media (hover: hover) and (pointer: fine) { .top__tel:hover { text-decoration: underline; } }
@media (max-width: 999px) { .top__sub { display: none; } .top__in { gap: .6rem; } }
.strop__nav { display: none; }
@media (min-width: 1000px) {
  .top__tel { display: inline-flex; }
  .top__menu { display: none; }
  .apercu, .top, .foot { padding-left: var(--rail); }
  .hero .hero__main { grid-column: 1 / margin-start; }
  .apercu__in, .top__in { width: min(100% - 2 * var(--gutter), 78rem); }
  /* fiche 7 : la seule qui sort du registre, sur toute la largeur */
  .fiche--todo .fiche__head, .fiche--todo .blank, .fiche--todo .todo__cta { grid-column: 1 / -1; }

  .strop__nav { grid-column: 2; display: flex; flex-direction: column; }
  .strop__nav .strop__list { flex: 1; }
}
.fiche--todo .h2 { font-size: clamp(2.6rem, 1.2rem + 4vw, 5.25rem); }

.menu {
  position: fixed; top: var(--menu-top, var(--header-h)); inset-inline: 0; bottom: 0; z-index: 39;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  background: var(--porcelain); padding: 1rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  opacity: 0; transform: translateY(-8px); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.menu.is-open { opacity: 1; transform: none; }
.menu__list a { display: flex; align-items: baseline; gap: 1rem; padding-block: .5rem; border-bottom: 1px solid var(--rule); font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.05; letter-spacing: -.02em; text-decoration: none; }
.menu__n { font-style: italic; font-size: 1rem; color: var(--cuir); min-width: 1.2rem; }
.menu__foot { display: grid; gap: .2rem; padding-top: 1.5rem; color: var(--horn-2); }
.menu__foot a { font-weight: 600; font-size: 1.25rem; color: var(--horn); text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; }

/* ---------- le cuir à rasoir ---------- */
.shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }
.shell > main { min-width: 0; }
.strop {
  position: sticky; top: var(--header-h); z-index: 30; align-self: start;
  background:
    linear-gradient(90deg, rgb(0 0 0 / .12), rgb(255 255 255 / .05) 38%, rgb(255 255 255 / 0) 62%, rgb(0 0 0 / .14)),
    var(--cuir);
}
.strop__ring { display: none; }
.strop__body { position: relative; }
.strop__list { display: none; }
.strop__lane { position: absolute; inset: 0; pointer-events: none; }
.strop__razor { position: absolute; width: 22px; height: 78px; will-change: transform; }

@media (min-width: 1000px) {
  .strop { height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; padding: 6px 0 14px; }
  .strop__ring { display: block; width: 46px; margin: 0 auto 4px; }
  .strop__body {
    flex: 1; margin-inline: 9px; display: grid; grid-template-columns: 26px minmax(0, 1fr);
    border: 1.5px dashed rgb(245 243 238 / .5); border-radius: 3px;
  }
  .strop__lane { inset: 6px auto 6px 2px; width: 22px; }
  .strop__razor { left: 0; top: 0; }
  .strop__list { display: flex; flex-direction: column; justify-content: space-around; align-items: center; grid-column: 2; padding-block: 10px; }
  .strop__list a {
    display: flex; align-items: center; justify-content: center; min-width: 44px; padding: 6px 0;
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-weight: 500; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
    color: var(--porcelain); text-shadow: 0 -1px 0 rgb(0 0 0 / .35); --focus: #F5F3EE;
    transition: transform 160ms var(--ease-out);
  }
  .strop__list a[aria-current] { font-weight: 700; }
  .strop__list a[aria-current]::after { content: ""; width: 2px; height: 1.1rem; margin-top: .5rem; background: var(--porcelain); }
  .strop__list a:active { transform: rotate(180deg) scale(.96); }
}
@media (min-width: 1000px) and (hover: hover) and (pointer: fine) {
  .strop__list a:not([aria-current]):hover::after { content: ""; width: 2px; height: 1.1rem; margin-top: .5rem; background: var(--porcelain); opacity: .5; }
}
@media (min-width: 1200px) {
  .fiche--todo .blank { columns: 2; column-gap: calc(var(--gap) * 2); column-rule: 1px solid rgb(245 243 238 / .2); }
  .fiche--todo .blank li { break-inside: avoid; }
}
@media (max-width: 999px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .strop { height: var(--strip); }
  .strop__body { height: 100%; }
  .strop__body::before, .strop__body::after { content: ""; position: absolute; left: 0; right: 0; border-top: 1.5px dashed rgb(245 243 238 / .5); }
  .strop__body::before { top: 4px; }
  .strop__body::after { bottom: 4px; }
  .strop__lane { inset: 0 8px; }
  .strop__razor { left: 28px; top: -26px; transform: rotate(-90deg); }
}

/* ---------- héros ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero .g12 { align-items: end; row-gap: 2rem; }
.hero__main { display: grid; gap: 1.1rem; justify-items: start; }
.hero__addr { font-weight: 600; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--horn-2); }
.h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 1rem + 4.2vw, 5rem); line-height: .92; letter-spacing: -.03em; }
.now { display: grid; gap: .5rem; margin-top: .25rem; }
.now__mask { display: block; clip-path: inset(-.3em -.5em 0 -.3em); padding-bottom: .16em; margin-bottom: -.16em; }
.now__main { display: block; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(3.1rem, 1rem + 6.6vw, 7rem); line-height: .9; letter-spacing: -.03em; }
.now__sub { font-family: var(--display); font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.25; color: var(--horn-2); max-width: 34ch; }
.now.is-open .now__main::after { content: ""; display: inline-block; width: .16em; height: .16em; margin-left: .18em; border-radius: 50%; background: var(--cuir); vertical-align: .12em; }
.middot { font-weight: 600; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .35rem .7rem; border: 1px solid var(--horn); font-size: .875rem; font-weight: 500; }
.chips sup { color: var(--cuir); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.js .now__main { transform: translateY(calc(100% + .3em)); }
.is-ready .now__main { transform: none; transition: transform 700ms var(--ease-out) 120ms; }

/* notes de marge */
.margin { display: grid; gap: 1.1rem; align-content: start; }
.mnote { font-family: var(--display); font-style: italic; font-size: 1rem; line-height: 1.45; color: var(--horn-2); padding-left: .9rem; border-left: 1px solid var(--cuir); }
.mnote__k { display: block; font-family: var(--text); font-style: normal; font-weight: 700; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--horn); margin-bottom: .15rem; }
.mnote a { color: var(--horn); font-style: normal; font-family: var(--text); font-weight: 600; display: inline-flex; align-items: center; min-height: 2.75rem; }
.on-dark .mnote { color: var(--on-dark-2); border-left-color: var(--cuir-light); }
.on-dark .mnote__k { color: var(--on-dark); }
.hero__margin { align-self: end; }

/* ---------- le fil ---------- */
.ticker { background: var(--cuir); color: var(--porcelain); overflow: hidden; position: relative; display: flex; align-items: center; }
.ticker__vp { flex: 1; min-width: 0; overflow: hidden; }
.ticker__btn {
  flex: none; position: relative; z-index: 1; width: 2.75rem; height: 2.75rem; margin-inline: .4rem .6rem; display: grid; place-items: center;
  background: var(--cuir); border: 1.5px solid rgb(245 243 238 / .6); border-radius: 50%; --focus: #F5F3EE;
  transition: transform 160ms var(--ease-out), border-color 200ms ease;
}
.ticker__btn:active { transform: scale(.95); }
.ticker__ico { width: 10px; height: 12px; border-inline: 3px solid var(--porcelain); }
.ticker__btn[aria-pressed="true"] .ticker__ico { width: 0; height: 0; border-inline: 0; border-left: 10px solid var(--porcelain); border-block: 6px solid transparent; margin-left: 3px; }
.ticker.is-paused .ticker__track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .ticker__btn:hover { border-color: var(--porcelain); } }
.ticker::before, .ticker::after { content: ""; position: absolute; left: 0; right: 0; border-top: 1.5px dashed rgb(245 243 238 / .5); }
.ticker::before { top: 5px; }
.ticker::after { bottom: 5px; }
.ticker__track { display: flex; width: max-content; animation: fil 70s linear infinite; }
.ticker p { flex: none; white-space: nowrap; padding: .85rem 0; font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); }
.ticker p span { font-style: normal; margin-inline: .6em; opacity: .8; }
@keyframes fil { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .ticker:hover .ticker__track { animation-play-state: paused; } }

/* ---------- les fiches ---------- */
.fiche { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.fiche + .fiche::before {
  content: ""; position: absolute; top: -3px; left: 0; right: 0; height: 6px;
  background: radial-gradient(circle at 3px 3px, #C9C1B3 2px, transparent 2.6px) 0 0 / 12px 6px repeat-x;
}
.fiche--band { background: var(--porcelain-2); }
.fiche .g12 { row-gap: 1.5rem; }
.fiche__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: .7rem 1rem; margin-bottom: clamp(.75rem, 2vw, 1.5rem); padding-bottom: .7rem; border-bottom: 1px solid var(--horn); }
.fiche__head .fiche__note { grid-column: 1 / -1; }
.on-dark .fiche__head { border-bottom-color: rgb(245 243 238 / .4); }
.fiche__head .fiche__no { align-self: center; }
.fiche__no {
  font-weight: 700; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--horn); color: var(--porcelain); padding: .3rem .65rem .25rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
  padding-right: 1.1rem;
}
.on-dark .fiche__no { background: var(--porcelain); color: var(--horn); }
.fiche__note { font-size: .9375rem; color: var(--horn-2); max-width: 60ch; }
.fiche__note strong { color: var(--horn); font-weight: 600; }
.on-dark .fiche__note { color: var(--on-dark-2); }

/* le registre */
.grp { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; row-gap: .5rem; align-items: start; }
.grp + .grp { margin-top: 1.75rem; }
.grp__t { grid-column: ledger; font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--horn-2); padding-bottom: .4rem; border-bottom: 2px solid var(--horn); }
.grp > .ledger { grid-column: ledger; }
.grp__note { grid-column: margin; grid-row: 1 / span 2; }
.row { position: relative; display: grid; grid-template-columns: auto minmax(1.5rem, 1fr) auto auto auto; align-items: baseline; column-gap: .75rem; min-height: 3.5rem; padding-block: .55rem; border-bottom: 1px solid var(--rule); }
.row__k { font-family: var(--display); font-weight: 500; font-size: 1.3125rem; line-height: 1.2; }
.row__k .tbc { font-size: .8125rem; margin-left: .35rem; }
.row__dots { position: relative; align-self: stretch; }
.row__dots::after { content: ""; position: absolute; left: .1rem; right: .1rem; bottom: .95rem; border-bottom: 1.5px dotted var(--horn-2); transform-origin: left center; }
.row__d { font-size: .875rem; color: var(--horn-2); }
.row__v { font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.row__book {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding-left: .5rem;
  font-weight: 600; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cuir-deep); text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.row__book::after { content: "→"; margin-left: .35rem; transition: transform 200ms var(--ease-out); }
.row__book:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .row__book:hover { text-decoration: underline; }
  .row__book:hover::after { transform: translateX(3px); }
}
.js [data-reveal="ledger"] .row__dots::after { transform: scaleX(0); }
[data-reveal="ledger"].is-in .row__dots::after { transform: none; transition: transform 600ms var(--ease-out) calc(var(--i, 0) * 45ms); }

/* fiche 2 : le salon */
.quote p { font-family: var(--display); font-style: italic; font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem); line-height: 1.1; letter-spacing: -.015em; text-indent: -.42em; hanging-punctuation: none; max-width: 24ch; }
.quote footer { margin-top: .8rem; font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--horn-2); }
.ledger--dl .row { grid-template-columns: 9rem minmax(0, 1fr); column-gap: 1rem; }
.ledger--dl .row__k { font-family: var(--text); font-weight: 700; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--horn-2); padding-top: .35rem; }
.row__v2 { font-family: var(--display); font-size: 1.25rem; line-height: 1.3; }
.row__v2 .tbc { display: block; font-size: .875rem; }
.row__v2 a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-block: -.6rem; font-family: var(--text); font-weight: 600; font-size: 1.0625rem; }
.fiche .margin { grid-row: 2 / span 3; }

/* fiche 3 : horaires */
table.ledger { width: 100%; border-collapse: collapse; }
.ledger--hours tr { display: table-row; }
.ledger--hours th, .ledger--hours td { padding-block: .7rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: baseline; }
.ledger--hours th { white-space: nowrap; padding-right: .75rem; }
.ledger--hours .row__dots { width: 100%; }
.ledger--hours .row__dots::after { bottom: .9rem; }
.ledger--hours .row__v { padding-left: .75rem; text-align: right; }
.wk__pause { display: inline-block; margin-inline: .5rem; font-family: var(--display); font-style: italic; font-weight: 400; color: var(--horn-2); }
.wk--off .row__v em { font-family: var(--display); font-weight: 400; color: var(--horn-2); }
.wk.is-today th { color: var(--cuir-deep); }
.wk.is-today th, .wk.is-today .row__v { font-family: var(--display); font-style: italic; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 500; line-height: 1.1; }
.wk.is-today .row__v { color: var(--horn); }
.wk.is-today .wk__pause { display: block; margin: 0; font-size: .875rem; }
.wk.is-today .wk__today { display: block; margin: .1rem 0 0; }
.wk__today { display: inline-block; margin-left: .5rem; font-family: var(--text); font-weight: 700; font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cuir-deep); vertical-align: .2em; }

/* fiche 4 : la note, comme un total */
.total .row { grid-template-columns: auto minmax(1.5rem, 1fr) auto; }
.total__line { border-bottom: 4px double var(--horn); padding-block: .8rem 1rem; }
.total__line .row__k { font-style: italic; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }
.total__n { font-family: var(--display); font-weight: 600; font-size: clamp(3.5rem, 2rem + 6vw, 7.5rem); line-height: .85; letter-spacing: -.03em; }
.total__of { font-size: .32em; font-weight: 500; letter-spacing: 0; color: var(--horn-2); }
.total__n sup { font-size: .25em; color: var(--cuir); vertical-align: 1.6em; }
.total__line .row__dots::after { bottom: 1.4rem; }

/* fiche 5 : réserver */
.nojs { padding: 1.25rem; border: 1px solid var(--horn); }
.book__pick { display: grid; gap: .1rem; margin-bottom: 1.25rem; padding: .75rem .9rem; background: var(--porcelain-2); border-left: 3px solid var(--cuir); font-size: .9375rem; }
.book__pick span { font-weight: 600; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--horn-2); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1.75rem; border-top: 1px solid var(--horn); }
.steps__b {
  display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; width: 100%; min-height: 3.5rem; padding: .55rem .5rem .55rem 0;
  background: none; border: 0; border-top: 3px solid transparent; margin-top: -2px;
  font-weight: 500; font-size: .8125rem; color: var(--horn-2); text-align: left;
  transition: transform 160ms var(--ease-out), color 200ms ease, border-color 200ms ease;
}
.steps__b:active:not(:disabled) { transform: scale(.97); }
.steps__b:disabled { cursor: default; opacity: .55; }
.steps__b[aria-current="step"] { color: var(--horn); border-top-color: var(--cuir); font-weight: 600; }
.steps__n { font-family: var(--display); font-style: italic; font-size: 1.25rem; line-height: 1; color: var(--horn); }
.panel { transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.panel.is-enter { opacity: 0; transform: translateX(14px); transition: none; }
.panel.is-enter-back { opacity: 0; transform: translateX(-14px); transition: none; }
.panel__t { font-family: var(--display); font-weight: 500; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.05; letter-spacing: -.015em; outline-offset: 6px; }
.panel__note { margin-top: .5rem; font-size: .875rem; color: var(--horn-2); }
.panel__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 1.75rem; }
.panel__nav .btn--cuir:only-child { margin-left: auto; }
.err { margin-top: .6rem; font-size: .875rem; font-weight: 600; color: var(--cuir-deep); }
.err::before { content: "— "; }
.opts { margin-top: 1.25rem; border-top: 1px solid var(--rule-strong); }
.opt { position: relative; display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) auto; align-items: center; gap: .9rem; min-height: 3.75rem; padding: .6rem .75rem .6rem .5rem; border-bottom: 1px solid var(--rule); cursor: pointer; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.opt:active { transform: scale(.99); }
.opt input, .day input, .slot input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.opt__box { width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 1.5px solid var(--horn); display: grid; place-items: center; }
.opt__box::after { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--cuir); transform: scale(.4); opacity: 0; transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out); }
.opt__name { font-family: var(--display); font-size: 1.25rem; font-weight: 500; line-height: 1.15; }
.opt__name small { display: block; margin-top: .15rem; font-family: var(--text); font-size: .8125rem; font-weight: 500; color: var(--horn-2); }
.opt__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.opt:has(input:checked) { background: var(--porcelain-2); }
.opt:has(input:checked) .opt__box::after { transform: scale(1); opacity: 1; }
.opt:has(input:focus-visible) { outline: 2.5px solid var(--focus); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .opt:hover { background: rgb(236 232 224 / .6); } }
.days { display: flex; gap: .5rem; margin-top: 1.25rem; padding: .35rem .35rem 1rem; margin-inline: -.35rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: .35rem; overscroll-behavior-x: contain; }
.day { flex: 0 0 4.4rem; scroll-snap-align: start; cursor: pointer; }
.day, .slot { position: relative; }
@media (min-width: 640px) { .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; } }
.day > span { display: grid; justify-items: center; gap: .1rem; padding: .55rem .25rem .6rem; min-height: 5.25rem; background: var(--porcelain); border: 1px solid var(--rule-strong); transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.day:active > span { transform: scale(.97); }
.day__w { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--horn-2); }
.day__d { font-family: var(--display); font-size: 1.75rem; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums; }
.day__m { font-size: .75rem; font-weight: 500; color: var(--horn-2); }
.day input:checked + span { background: var(--horn); border-color: var(--horn); color: var(--porcelain); }
.day input:checked + span .day__w, .day input:checked + span .day__m { color: var(--on-dark-2); }
.day input:disabled + span { background: transparent; border-style: dashed; color: var(--horn-2); cursor: not-allowed; }
.day input:disabled + span .day__d { text-decoration: line-through; text-decoration-thickness: 1px; opacity: .7; }
.day:has(input:disabled) { cursor: not-allowed; }
.day input:focus-visible + span { outline: 2.5px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .day input:not(:disabled):not(:checked) + span:hover { border-color: var(--horn); } }
.slots { margin-top: 1.25rem; display: grid; gap: 1.25rem; }
.slots__g h4 { font-family: var(--display); font-style: italic; font-size: 1.125rem; margin-bottom: .5rem; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr)); gap: .5rem; }
.slot { cursor: pointer; }
.slot > span { display: grid; place-items: center; min-height: 2.9rem; background: var(--porcelain); border: 1px solid var(--rule-strong); font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.slot:active > span { transform: scale(.97); }
.slot input:checked + span { background: var(--cuir); border-color: var(--cuir); color: var(--porcelain); }
.slot input:disabled + span { background: transparent; color: var(--horn-2); border-style: dashed; text-decoration: line-through; font-weight: 400; cursor: not-allowed; }
.slot:has(input:disabled) { cursor: not-allowed; }
.slot input:focus-visible + span { outline: 2.5px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .slot input:not(:disabled):not(:checked) + span:hover { border-color: var(--horn); } }
.slots__empty { padding: 1rem; border: 1px dashed var(--rule-strong); }
.fields { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .875rem; }
.field input { width: 100%; min-height: 3.25rem; padding: .6rem .8rem; background: var(--porcelain); border: 1px solid var(--horn); border-radius: 0; font-size: 1.0625rem; }
.field input::placeholder { color: #6E675E; opacity: 1; }
.field input:focus-visible { outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--cuir-deep); box-shadow: inset 3px 0 0 var(--cuir); }
.hint { font-size: .8125rem; color: var(--horn-2); }
.recap { display: grid; gap: .15rem; margin-top: 1.5rem; padding: 1rem 1.1rem; background: var(--porcelain-2); border-top: 2px solid var(--horn); font-size: .9375rem; }
.recap:empty { display: none; }
.recap strong { font-family: var(--display); font-weight: 500; font-size: 1.375rem; }
.recap small { color: var(--horn-2); font-size: .8125rem; }
.recap .recap__price { color: var(--cuir); font-weight: 600; }
.done__t { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); font-style: italic; }
.done__when { margin-top: .75rem; font-size: 1.125rem; max-width: 46ch; }
.done__sim { margin-top: 1rem; padding: .9rem 1rem; border: 1px dashed var(--rule-strong); font-size: .9375rem; max-width: 56ch; }

/* l’étiquette */
.tag-sum { display: none; }
.tag-sum__string { position: relative; z-index: 1; display: block; width: 120px; height: 70px; margin: 0 0 -22px calc(50% - 14px); }
.tag-sum__card {
  --cut: 22px;
  position: relative; isolation: isolate; padding: 2.6rem 1.35rem 1.35rem;
  background: var(--horn);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
}
.tag-sum__card::before {
  content: ""; position: absolute; inset: 1.5px; z-index: -1; background: var(--porcelain);
  clip-path: polygon(calc(var(--cut) - .6px) 0, calc(100% - var(--cut) + .6px) 0, 100% calc(var(--cut) - .6px), 100% 100%, 0 100%, 0 calc(var(--cut) - .6px));
}
.tag-sum__hole { position: absolute; top: .8rem; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 1.5px solid var(--horn); background: var(--porcelain); box-shadow: inset 0 0 0 3px var(--porcelain-2); }
.tag-sum__brand { text-align: center; font-family: var(--display); font-weight: 600; font-size: 1.375rem; line-height: 1; }
.tag-sum__t { margin-top: .4rem; text-align: center; font-weight: 700; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--horn-2); padding-bottom: .7rem; border-bottom: 1px solid var(--rule-strong); }
.ts__row { display: grid; grid-template-columns: 1fr; padding-top: .6rem; }
.ts__row dt { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--horn-2); }
.ts__row dd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 .4rem; min-height: 2.75rem; border-bottom: 1px dotted var(--horn-2); }
.ts__v { font-family: var(--display); font-style: italic; font-size: 1.1875rem; line-height: 1.2; padding-bottom: .25rem; }
.tag-sum__price { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; padding: .7rem .8rem; background: var(--cuir); color: var(--porcelain); }
.tag-sum__price span:first-child { font-weight: 600; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.ts__price { font-family: var(--display); font-weight: 600; font-size: 1.75rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.sum-edit { flex: none; min-height: 2.75rem; padding: 0 .1rem; background: none; border: 0; font-size: .75rem; font-weight: 600; color: var(--cuir-deep); text-decoration: underline; text-underline-offset: .2em; transition: transform 160ms var(--ease-out); }
.sum-edit:active { transform: scale(.97); }

/* fiche 6 : venir */
.venir { display: grid; gap: 1.5rem; }
.venir__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* fiche 7 : à compléter, les lignes blanches */
.blank { border-top: 1px solid rgb(245 243 238 / .4); }
.blank li { display: grid; grid-template-columns: auto minmax(2rem, 1fr) auto; align-items: baseline; column-gap: .75rem; padding-block: 1rem; border-bottom: 1px solid rgb(245 243 238 / .14); }
.blank__k { font-family: var(--display); font-size: 1.375rem; line-height: 1.2; }
.blank__line { align-self: end; margin-bottom: .55rem; border-bottom: 1.5px dashed rgb(245 243 238 / .45); }
.blank__v { font-family: var(--display); font-style: italic; color: var(--on-dark-2); text-align: right; max-width: 30ch; }
.todo__cta { justify-self: start; margin-top: 1rem; }

/* fiche 8 : questions */
.faq { border-top: 2px solid var(--horn); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 3.75rem; padding-block: .9rem; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); line-height: 1.2; transition: transform 160ms var(--ease-out); }
.faq summary:active { transform: scale(.99); }
.faq summary::-webkit-details-marker { display: none; }
.faq__i { flex: none; position: relative; width: 1.75rem; height: 1.75rem; border: 1px solid var(--horn); border-radius: 50%; transition: transform 220ms var(--ease-out), background-color 200ms ease; }
.faq__i::before, .faq__i::after { content: ""; position: absolute; left: 50%; top: 50%; width: .7rem; height: 1.5px; background: var(--horn); transform: translate(-50%, -50%); }
.faq__i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__i { transform: rotate(45deg); }
.faq__a { padding-bottom: 1.1rem; max-width: 64ch; color: var(--horn-2); }
.faq__a a { color: var(--horn); font-weight: 600; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover .faq__i { background: var(--porcelain-2); } }

/* ---------- pied ---------- */
.foot { padding-block: clamp(3.5rem, 7vw, 5.5rem) calc(2rem + env(safe-area-inset-bottom)); }
.foot .g12 { row-gap: 1.75rem; }
.foot .g12 > * { grid-column: 1 / -1; }
.foot__wm { font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 1rem + 9vw, 9rem); line-height: .86; letter-spacing: -.03em; }
.foot__h { font-weight: 700; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: .35rem; }
.foot__col a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-block: -.6rem; }
.foot__mute { color: var(--on-dark-2); }
.foot__legal { display: grid; gap: .5rem; font-size: .875rem; color: var(--on-dark-2); padding-top: 1.25rem; border-top: 1px solid rgb(245 243 238 / .2); max-width: 82ch; }
.foot__legal strong { color: var(--on-dark); }
.foot__legal a { color: var(--on-dark); font-weight: 600; display: inline-block; padding-block: .7rem; }
.foot__sep { margin-inline: .5rem; }
.foot__colo { font-family: var(--display); font-style: italic; }
@media (min-width: 900px) {
  .foot .g12 > .foot__col { grid-column: span 4; }
}

/* ---------- barre mobile ---------- */
.bar { display: none; }
@media (max-width: 899px) {
  .bar {
    display: grid; grid-template-columns: 1fr 1.25fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--porcelain); border-top: 1px solid var(--horn);
    transform: translateY(110%); transition: transform 280ms var(--ease-drawer);
  }
  .bar.is-on { transform: none; }
  .bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 3.25rem; text-decoration: none; font-weight: 600; line-height: 1.15; transition: transform 160ms var(--ease-out); }
  .bar a:active { transform: scale(.97); }
  .bar__call { border: 1px solid var(--horn); font-size: .875rem; }
  .bar__k { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--horn-2); }
  .bar__book { background: var(--cuir); color: var(--porcelain); font-size: 1.0625rem; }
}

/* ---------- grands écrans : registre + marge ---------- */
@media (min-width: 1000px) {
  .tag-sum { display: block; max-width: 18rem; grid-column: margin-start / -1; grid-row: 1 / span 3; align-self: start; position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .fiche--book .fiche__head { grid-row: 1; }
  .fiche--book .book { grid-row: 2; }
  .book__pick { display: none; }
}

/* ---------- moyens et petits écrans ---------- */
@media (max-width: 999px) {
  .g12 { grid-template-columns: [ledger-start margin-start] minmax(0, 1fr) [ledger-end margin-end]; }
  .grp__note, .fiche .margin { grid-row: auto; }
  .grp__note { grid-column: 1 / -1; margin-top: .5rem; }
  .hero__margin { align-self: start; }
}
@media (max-width: 639px) {
  .apercu { font-size: .8125rem; }
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k v" "d book"; row-gap: 0; padding-block: .6rem .1rem; }
  .row__k { grid-area: k; }
  .row__v { grid-area: v; }
  .row__d { grid-area: d; align-self: center; }
  .row__book { grid-area: book; justify-self: end; }
  .grp .row__dots { display: none; }
  .ledger--dl .row { grid-template-columns: 1fr; row-gap: .1rem; grid-template-areas: none; }
  .ledger--dl .row__k { grid-area: auto; }
  .total .row { grid-template-columns: auto minmax(1rem, 1fr) auto; grid-template-areas: none; }
  .total .row__k, .total .row__v { grid-area: auto; }
  .total .row__dots { display: block; }
  .wk__pause { display: block; margin: 0; font-size: .875rem; }
  .blank li { grid-template-columns: 1fr; row-gap: .2rem; }
  .blank__line { display: none; }
  .blank__v { text-align: left; }
  .panel__nav .btn { flex: 1 1 auto; }
  .ledger--dl .row { padding-block: .6rem .7rem; }
  .steps__b { font-size: .75rem; }
  .wk__today { display: block; margin: .1rem 0 0; }
}

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .now__main, .is-ready .now__main { transform: none; transition: none; }
  .ticker__track { animation: none; }
  .ticker__btn { display: none; }
  .js [data-reveal="ledger"] .row__dots::after { transform: none; transition: none; }
  .panel, .panel.is-enter, .panel.is-enter-back { transform: none; transition: opacity 160ms ease; }
  .menu { transform: none; transition: opacity 160ms ease; }
  .bar { transition: none; }
  .faq__i, .top__menu-icon::before, .top__menu-icon::after, .row__book::after { transition: none; }
}

@media print {
  .apercu, .top, .menu, .bar, .book, .tag-sum, .strop, .ticker { display: none !important; }
  .shell { display: block; }
  .on-dark { background: none; color: #000; }
}
