/* self-hosted, latin subset only: no request to Google, so no visitor IP sent there */
@font-face { font-family: "Red Hat Display"; font-weight: 900; font-display: swap; src: url("../fonts/red-hat-display-900-latin.woff2") format("woff2"); }
@font-face { font-family: "Red Hat Text"; font-weight: 400 500; font-display: swap; src: url("../fonts/red-hat-text-latin.woff2") format("woff2"); }

/* Colour chapters: every section is one flat field. Black text on every colour, off-white on black. */
:root {
  --bg: #ffffff;
  --surface: #f6f6f6;
  --ink: #000000;
  --ink-on-dark: #f4f4f4;
  --muted: #5f5f5f;
  --accent: #fe7141;
  --sage: #d1ddd3;
  --yellow: #ffcf33;

  --display: "Red Hat Display", "Arial Black", system-ui, sans-serif;
  --text: "Red Hat Text", system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --step-display: clamp(3.25rem, 8.3vw, 8rem);

  --m: clamp(16px, 2.5vw, 40px);   /* the one pair of page margins */
  --g: clamp(12px, 1.6vw, 24px);   /* grid gap */
  --pad: clamp(4.5rem, 10vw, 8rem); /* chapter padding */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, .12); }
a, button, label, input, textarea { touch-action: manipulation; }
/* the phone action bar and the sticky total must never hide the field in focus */
@media (max-width: 760px) { html { scroll-padding-bottom: 6rem; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 900; line-height: .92; letter-spacing: -.03em; text-transform: uppercase; }
h2 { font-size: var(--step-head); }
h3 { font-weight: 500; font-size: var(--step-lead); line-height: 1.2; }
p { text-wrap: pretty; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.estimate :focus-visible, .projects :focus-visible, .redo :focus-visible, .contact :focus-visible, .footer :focus-visible { outline-color: currentColor; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--m); top: 1rem; z-index: 100; padding: .5rem 1rem; background: var(--ink); color: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- controls: one button shape on the whole site ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.6rem;
  border: 0;
  background: var(--accent);
  color: var(--ink);
  font: 500 var(--step-body)/1.2 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { translate: 0 1px; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn--line { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.btn--line:hover { background: var(--ink); color: var(--bg); box-shadow: none; }
.link { font-weight: 500; text-decoration: underline; }
.link:hover { text-decoration-thickness: 4px; }

/* ---------- header: wordmark block, accent tab, one action ---------- */

.nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: max-content minmax(max-content, 1fr) 58%;
  align-items: stretch;
  min-height: 56px;
  font-weight: 500;
}
.home .nav { position: absolute; inset: 0 0 auto; }
.logo {
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-decoration: none;
}
/* the tab runs from the wordmark to 42% of the width */
.nav-tab { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); padding: 0 1.25rem; background: var(--accent); }
.nav-tab a, .nav-action { text-decoration: none; }
.nav-tab a:hover, .nav-action:hover { text-decoration: underline; }
.nav-action { justify-self: end; display: flex; align-items: center; padding: 0 var(--m); background: var(--bg); }
@media (max-width: 1100px) {
  .nav { grid-template-columns: max-content max-content 1fr; }
}
@media (max-width: 640px) {
  .nav-tab a:not([href$="#tarifs"]) { display: none; }
  .nav { grid-template-columns: max-content 1fr auto; font-size: 1rem; white-space: nowrap; }
  .home .nav { position: relative; }
  /* on a phone the orange tab would be a lone scrap of colour: plain links on white instead */
  .nav-tab { justify-content: flex-end; padding-inline: .6rem; background: var(--bg); }
  .logo { padding: 0 .6rem 0 16px; }
  .nav-action { padding: 0 16px 0 .6rem; }
  .logo { font-size: 1.125rem; }
}

/* ---------- hero: mosaic masthead, title on the 42% axis ---------- */

.hero { display: flex; flex-direction: column; min-height: 100svh; }
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-template-areas: "a a b c d e" "f g h i d j";
  height: 52svh;
  min-height: 300px;
}
.mosaic img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.m-boutique { grid-area: a; }
.m-orange { grid-area: b; background: var(--accent); }
.m-musique { grid-area: c; }
.m-sage { grid-area: d; background: var(--sage); }
.m-yellow { grid-area: e; background: var(--yellow); }
.m-ink { grid-area: f; background: var(--ink); }
.m-photo { grid-area: g; }
.m-vigne { grid-area: h; }
.m-yellow2 { grid-area: i; background: var(--yellow); }
.m-orange2 { grid-area: j; background: var(--accent); }

.hero-text {
  flex: 1;
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: start;
  align-content: center;
  padding: clamp(2rem, 5vh, 4rem) var(--m) clamp(2.5rem, 6vh, 4rem);
}
.hero-lead { max-width: 30ch; margin: 0; padding-right: var(--g); font-size: var(--step-lead); line-height: 1.35; }
.hero-title { font-size: var(--step-display); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: clamp(1.75rem, 4vh, 2.5rem); }

/* masked lines: each rises from behind its own baseline, once, on load */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; animation: rise .9s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 100ms); }
.load { animation: fade-up .7s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 350ms); }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 760px) {
  .hero { min-height: auto; }
  .mosaic { grid-template-columns: repeat(3, 1fr); grid-template-areas: "a a b" "f g d"; height: 38svh; min-height: 220px; }
  .mosaic .m-musique, .mosaic .m-vigne, .m-yellow, .m-yellow2, .m-orange2 { display: none; }
  .hero-text { display: flex; flex-direction: column-reverse; gap: 1.25rem; padding-top: 1.75rem; }
  .hero-title { font-size: 13vw; }
  .hero-lead { font-size: 1.0625rem; }
}

/* ---------- offers: specimens on colour tiles ---------- */

.offers {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--g);
  padding: var(--pad) var(--m);
  background: var(--sage);
}
.offers-head { grid-column: 1 / 4; }
.offers-head h2 { font-size: clamp(2.5rem, 1.6rem + 2vw, 3.25rem); }
.offers-head p { max-width: 30ch; margin: 1.25rem 0 0; }
.specimens {
  grid-column: 4 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.specimen--wide { grid-column: span 2; }
.specimen-tile { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; }
.specimen--wide .specimen-tile { aspect-ratio: 8 / 5; }
.specimen-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.specimen h3 { margin: 1rem 0 .35rem; font-size: 1.25rem; }
.specimen p { margin: 0; font-size: 1rem; }
.offer-price { font-weight: 500; white-space: nowrap; }

@media (max-width: 1100px) {
  .offers-head { grid-column: 1 / -1; }
  .specimens { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .specimens { grid-template-columns: 1fr 1fr; gap: 1.75rem 8px; }
  .specimen--wide { grid-column: 1 / -1; }
  .specimen--wide { order: -1; }
  .specimen h3 { font-size: 1.0625rem; }
  .specimen p { font-size: .9375rem; }
}

/* ---------- pricing: the simulator printed as a ticket ---------- */

.estimate { padding: var(--pad) var(--m); background: var(--ink); }
.ticket {
  --notch: 28px;
  position: relative;
  display: grid;
  grid-template-columns: 7fr 3fr;
  max-width: 1280px;
  margin: 0 auto;
}
/* half-round bites at the top and bottom of the tear line */
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  left: 70%;
  width: var(--notch);
  height: var(--notch);
  margin-left: calc(var(--notch) / -2);
  border-radius: 50%;
  background: var(--ink);
  z-index: 1;
}
.ticket::before { top: calc(var(--notch) / -2); }
.ticket::after { bottom: calc(var(--notch) / -2); }

.ticket-main { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--bg); }
.ticket-main h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.estimate-intro { max-width: 52ch; margin: 1rem 0 2rem; }
.estimate-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 3vw, 2.5rem); }
.estimate-form fieldset { margin: 0 0 1.75rem; padding: 0; border: 0; min-width: 0; }
.fs-type { grid-column: 1; grid-row: 1 / span 2; }
.fs-option { grid-column: 2; grid-row: 1 / span 2; }
.fs-monthly { grid-column: 1; }
.estimate-form legend { margin-bottom: .5rem; padding: 0; font-family: var(--display); font-weight: 900; font-size: 1.25rem; text-transform: uppercase; letter-spacing: -.01em; }

.choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: baseline;
  padding: .7rem .6rem;
  border-top: 2px solid var(--ink);
  cursor: pointer;
  transition: background-color .15s;
}
.choice:hover { background: var(--surface); }
.choice:has(:checked) { background: var(--yellow); }
.choice:has(:focus-visible) { outline: 3px solid var(--ink); outline-offset: -3px; }
.choice input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--ink); translate: 0 .15em; }
.choice-text strong { display: block; font-weight: 500; }
.choice-text small { display: block; color: var(--muted); font-size: var(--step-small); line-height: 1.4; }
.choice:has(:checked) small { color: var(--ink); }
.choice .price { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }

.promises { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 2rem; margin: .5rem 0 0; padding: 0; list-style: none; font-size: 1.0625rem; }

/* the stub: dotted perforation in the ground colour, the total, the action bar */
.ticket-stub {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 6px dotted var(--ink);
  background: var(--accent);
  text-align: center;
}
.stub-inner { position: sticky; top: 2rem; }
.total-label { margin: 0; font-weight: 500; }
.total-price { margin: .5rem 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.total-from { display: block; font-size: .35em; letter-spacing: 0; text-transform: uppercase; }
.total-monthly { margin: .75rem 0 0; font-weight: 500; }
.total-split { margin: .5rem 0 2rem; }
.total-cta { width: 100%; min-height: 56px; background: var(--ink); color: var(--bg); }
.total-cta:hover { background: var(--bg); color: var(--ink); }

@media (max-width: 900px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { top: auto; bottom: var(--stub-h, 0); left: auto; margin: 0 0 calc(var(--notch) / -2); }
  .ticket::before { left: calc(var(--notch) / -2); }
  .ticket::after { right: calc(var(--notch) / -2); }
  .estimate-form { grid-template-columns: 1fr; }
  .fs-type, .fs-option, .fs-monthly { grid-column: 1; grid-row: auto; }
  .promises { grid-template-columns: 1fr; }
  /* the stub sticks to the bottom of the screen while choices scroll past */
  .ticket-stub { position: sticky; bottom: 0; z-index: 2; padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); border-left: 0; border-top: 6px dotted var(--ink); text-align: left; }
  .stub-inner { position: static; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem; }
  .ticket::before, .ticket::after { display: none; }
  .total-label { display: none; }
  .total-price { grid-column: 1; margin: 0; font-size: 2.25rem; }
  .total-from { display: inline; font-size: .45em; }
  .total-monthly, .total-split { grid-column: 1; margin: 0; font-size: var(--step-small); }
  .total-cta { grid-column: 2; grid-row: 1 / span 3; width: auto; padding-inline: 1rem; }
}

/* ---------- work: giant title, uneven wall ---------- */

.projects { padding: var(--pad) var(--m); background: var(--accent); }
.projects-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; }
.projects-head h2 { font-size: clamp(4.5rem, 9vw, 8.5rem); }
.projects-intro { max-width: 52ch; margin: 1.25rem 0 2rem; }
.wall { display: flex; flex-wrap: wrap; gap: 2rem 8px; }
/* each tile's width follows its picture's ratio, rows have different heights, so edges never line up */
.project { flex: var(--r) 1 calc(var(--h) * var(--r)); min-width: 0; --h: 360px; }
.project:nth-child(n + 3) { --h: 300px; }
.shot, .mock { display: block; width: 100%; height: var(--h); overflow: hidden; background: var(--ink); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wall:has(.project:hover) .project:not(:hover) { opacity: .75; }
.project { transition: opacity .2s; }
.caption { display: flex; justify-content: space-between; gap: 1rem; margin: .6rem 0 0; font-size: var(--step-small); }
.caption strong { font-weight: 500; }

@media (max-width: 760px) {
  .projects-head h2 { font-size: 17vw; }
  .wall { display: grid; grid-template-columns: 62fr 38fr; gap: 1.5rem 6px; }
  .project:first-child { grid-column: 1 / -1; --h: 220px; }
  .project { --h: 150px; }
  .project:nth-child(4) { grid-column: 1 / -1; --h: 180px; }
  .caption { flex-direction: column; gap: 0; }
}

/* fake client sites, drawn in CSS. Each mock has its own palette: they're someone else's brand, not ours. */
.mock {
  --p-bg: #efe3cf;
  --p-ink: #4a2e1c;
  --p-accent: #b8733a;
  container-type: inline-size;
  background: var(--p-bg);
  color: var(--p-ink);
  font-family: Georgia, serif;
}
.mock-page {
  display: grid;
  grid-template: "logo nav" auto "title art" auto "btn art" auto "lines lines" auto / 1.2fr 1fr;
  align-content: start;
  gap: 3cqi 5cqi;
  padding: 4cqi 5cqi;
}
.mock-logo { grid-area: logo; font-size: 3cqi; }
.mock-nav { grid-area: nav; justify-self: end; align-self: center; display: flex; gap: 2cqi; }
.mock-nav i { width: 6cqi; height: .8cqi; border-radius: 1cqi; background: currentColor; opacity: .35; }
.mock-title { grid-area: title; align-self: end; margin-top: 6cqi; font-size: 6.5cqi; line-height: 1; letter-spacing: -.01em; }
.mock-btn { grid-area: btn; justify-self: start; align-self: start; padding: 1.2cqi 2.6cqi; border-radius: 999px; background: var(--p-accent); color: var(--p-bg); font: 1.8cqi system-ui, sans-serif; }
.mock-art { grid-area: art; height: 34cqi; margin-top: 6cqi; display: flex; align-items: flex-end; gap: 2cqi; }
.mock-art i { flex: 1; background: var(--p-accent); }
.mock-lines { grid-area: lines; display: grid; gap: 1.6cqi; padding-top: 6cqi; }
.mock-lines i { height: 1cqi; border-radius: 1cqi; background: currentColor; opacity: .14; }
.mock-lines i:nth-child(3n) { width: 70%; }
.mock-lines i:nth-child(3n + 2) { width: 88%; }
.mock--bakery .mock-art { align-items: center; justify-content: center; }
.mock--bakery .mock-art i { flex: none; height: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e8bd85, var(--p-accent) 55%, #7c4a24); }
.mock--ceramic { --p-bg: #ebe6dc; --p-ink: #3d3a35; --p-accent: #a9826a; }
.mock--ceramic .mock-art i { border-radius: 999px 999px 1cqi 1cqi; }
.mock--ceramic .mock-art i:nth-child(1) { height: 60%; opacity: .7; }
.mock--ceramic .mock-art i:nth-child(2) { height: 90%; }
.mock--ceramic .mock-art i:nth-child(3) { height: 72%; background: #8c9a82; }
.mock--garden { --p-bg: #e4ead9; --p-ink: #263a26; --p-accent: #4f7a45; }
.mock--garden .mock-art i { flex: 0 0 30%; aspect-ratio: 1; border-radius: 0 100% 0 100%; }
.mock--garden .mock-art i:nth-child(2) { flex-basis: 40%; background: #8fae6a; }
.mock--garden .mock-art i:nth-child(3) { flex-basis: 24%; background: #c9b458; }

/* ---------- redo: before / after ---------- */

.redo { padding: var(--pad) var(--m); background: var(--ink); color: var(--ink-on-dark); }
.redo-head { display: grid; grid-template-columns: 5fr 7fr; gap: var(--g); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.redo-head p { max-width: 52ch; margin: 0; }
.redo-figure { margin: 0; }
.redo-figure figcaption { padding-top: 1rem; font-size: var(--step-small); }
@media (max-width: 760px) { .redo-head { grid-template-columns: 1fr; } }

@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.compare {
  --pos: 50%;
  position: relative;
  container-type: inline-size;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
}
.compare.is-hinting { transition: --pos 1s var(--ease); }
.compare:has(:focus-visible) { outline: 3px solid var(--ink-on-dark); outline-offset: 4px; }
.compare-old, .compare-new { position: absolute; inset: 0; }
.compare-new { clip-path: inset(0 0 0 var(--pos)); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--accent); pointer-events: none; }
.compare-handle::after {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--accent);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: .2em;
  translate: -50% -50%;
}
.compare-tag { position: absolute; bottom: 1rem; padding: .25rem .75rem; background: var(--accent); color: var(--ink); font-size: var(--step-small); pointer-events: none; }
.compare-tag--old { left: 1rem; }
.compare-tag--new { right: 1rem; }
@media (max-width: 760px) {
  .compare { aspect-ratio: 4 / 3; }
  .compare-tag { bottom: .5rem; }
  .compare-tag--old { left: .5rem; }
  .compare-tag--new { right: .5rem; }
}

/* the "before": a typical 2013 small-business template, fixed width, Verdana, glossy nav */
.compare-old {
  display: flex;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #d9d9d9 0 2px, #cdcdcd 2px 6px);
  color: #333;
  font-family: Verdana, Tahoma, sans-serif;
  font-size: 1.2cqi;
}
.o-page { display: flex; flex-direction: column; width: 76%; height: 100%; background: #fff; box-shadow: 0 0 1cqi rgba(0, 0, 0, .4); }
.o-head { display: flex; align-items: baseline; gap: 2cqi; padding: 2.4cqi 2.5cqi; background: linear-gradient(#a8327a, #5e1546); color: #fff; }
.o-logo { font-family: Georgia, serif; font-style: italic; font-size: 4cqi; text-shadow: .2cqi .2cqi 0 rgba(0, 0, 0, .5); }
.o-tag { font-size: 1.1cqi; color: #f3c6e2; }
.o-nav { display: flex; background: linear-gradient(#f6f6f6, #cfcfcf); border-block: 1px solid #999; }
.o-nav span { padding: .8cqi 1.5cqi; border-right: 1px solid #aaa; font-size: 1.1cqi; font-weight: bold; color: #5e1546; }
.o-nav .is-on { background: linear-gradient(#a8327a, #5e1546); color: #fff; }
.o-cols { flex: 1; min-height: 0; overflow: hidden; display: grid; grid-template-columns: 24% 1fr; gap: 2cqi; padding: 2cqi 2.5cqi; }
.o-box { margin: 0; padding: .5cqi 1cqi; background: #5e1546; color: #fff; font-weight: bold; }
.o-side table { width: 100%; margin-bottom: 1.5cqi; border-collapse: collapse; font-size: 1cqi; }
.o-side td { padding: .5cqi .8cqi; border: 1px solid #ccc; }
.o-side tr:nth-child(odd) { background: #f6eaf1; }
.o-fb { margin: 0; padding: 1cqi; background: #3b5998; color: #fff; font-size: 1cqi; }
.o-main p { margin: 0 0 1.2cqi; line-height: 1.4; text-align: justify; }
.o-main .o-h1 { padding-bottom: .6cqi; border-bottom: 1px dotted #a8327a; color: #a8327a; font-size: 2cqi; font-weight: bold; text-align: left; }
.o-promo { position: relative; margin-bottom: 1.5cqi; padding: 1cqi 1cqi 1cqi 6cqi; border: 1px dashed #c00; background: #fff6d6; color: #c00; font-size: 1cqi; font-weight: bold; }
.o-burst { position: absolute; left: .6cqi; top: 50%; display: grid; place-items: center; width: 4.6cqi; height: 4.6cqi; translate: 0 -50%; background: #ffd400; color: #c00; font-size: 1.1cqi; clip-path: polygon(50% 0, 61% 18%, 82% 10%, 80% 32%, 100% 40%, 85% 56%, 96% 76%, 74% 78%, 68% 100%, 50% 86%, 32% 100%, 26% 78%, 4% 76%, 15% 56%, 0 40%, 20% 32%, 18% 10%, 39% 18%); }
.o-photo { float: right; width: 38%; margin: 0 0 1cqi 1.5cqi; padding: .5cqi; border: 1px solid #ccc; background: #f4f4f4; box-shadow: .3cqi .3cqi .6cqi rgba(0, 0, 0, .3); }
.o-photo img { display: block; width: 100%; height: auto; filter: saturate(1.35) contrast(1.1); }
.o-photo figcaption { padding-top: .4cqi; font-size: .95cqi; font-style: italic; text-align: center; color: #666; }
.o-main .o-new { color: #c00; font-weight: bold; text-align: left; }
.o-main .o-tel { clear: both; color: #5e1546; font-weight: bold; text-align: left; }
.o-foot { padding: 1cqi; border-top: 1px solid #ccc; background: #eee; color: #888; font-size: .95cqi; text-align: center; }

/* the "after": the salon's own identity, nothing to do with ours (dark green, blush, condensed type) */
/* the "after": a real salon site, cream and deep green, serif headline, the booking right there */
.compare-new {
  display: flex;
  flex-direction: column;
  background: #f4eee6;
  color: #1f3a32;
  font: 1.3cqi/1.45 system-ui, sans-serif;
}
.n-bar { display: flex; align-items: center; gap: 3cqi; padding: 2cqi 4cqi; border-bottom: 1px solid rgba(31, 58, 50, .15); }
.n-logo { font: italic 2.4cqi Georgia, serif; }
.n-links { display: flex; gap: 2.6cqi; margin-left: auto; }
.n-cta { padding: 1cqi 2cqi; background: #1f3a32; color: #f4eee6; }
.n-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; }
.n-photo { position: relative; overflow: hidden; }
.n-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.n-team { position: absolute; left: 2.5cqi; bottom: 2.5cqi; display: flex; align-items: center; gap: 1.2cqi; padding: .8cqi 1.6cqi .8cqi .8cqi; background: #f4eee6; font-size: 1.15cqi; }
.n-team img { width: 4.4cqi; height: 4.4cqi; object-fit: cover; }
.n-team b { font-weight: 600; }
.n-copy { display: flex; flex-direction: column; justify-content: center; padding: 3cqi 5cqi; }
.n-open { display: flex; align-items: center; gap: .8cqi; margin: 0 0 2cqi; font-size: 1.25cqi; }
.n-open i { width: 1cqi; height: 1cqi; border-radius: 50%; background: #3f8f5f; }
.n-title { margin: 0 0 2cqi; font: 4.6cqi/1.02 Georgia, serif; letter-spacing: -.02em; }
.n-text { max-width: 34ch; margin: 0 0 3cqi; font-size: 1.45cqi; }
.n-book { display: flex; flex-wrap: wrap; gap: .8cqi; padding: 2cqi; background: #fff; }
.n-book p { flex-basis: 100%; margin: 0 0 .4cqi; font-weight: 600; }
.n-book span { padding: .9cqi 1.4cqi; border: 1px solid rgba(31, 58, 50, .3); font-variant-numeric: tabular-nums; }
.n-book .is-on { border-color: #1f3a32; background: #1f3a32; color: #f4eee6; }
.n-book .n-go { flex-basis: 100%; margin-top: .6cqi; border: 0; background: #e9b9a7; color: #1f3a32; font-weight: 600; text-align: center; }
.n-prices { display: flex; justify-content: space-between; padding: 1.8cqi 4cqi; background: #1f3a32; color: #f4eee6; font-size: 1.3cqi; }
.n-prices b { margin-left: .6cqi; color: #e9b9a7; font-weight: 600; }

/* ---------- papers: output index, live sheet ---------- */

.papers {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--g);
  padding: 0 0 0 var(--m);
  background: var(--yellow);
}
.papers-index { grid-column: 1 / 6; display: flex; flex-direction: column; justify-content: center; padding: var(--pad) 0; }
.papers-index h2 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); letter-spacing: 0; }
.papers-tabs { display: grid; justify-items: start; margin: 1.5rem 0 2rem; }
.papers-tabs button {
  padding: .1em 0;
  border: 0;
  background: none;
  color: rgba(0, 0, 0, .45);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .15s;
}
.papers-tabs button:hover, .papers-tabs [aria-selected="true"] { color: var(--ink); }
.papers-index > p { max-width: 40ch; margin: 0; }

.papers-stage { grid-column: 7 / -1; position: relative; height: 88svh; min-height: 560px; overflow: hidden; background: var(--sage); }
.sheet {
  position: absolute;
  top: 72px;
  left: 64px;
  width: 560px;
  min-height: 720px;
  padding: 40px 44px;
  background: var(--bg);
  font-size: 15px;
  line-height: 1.45;
  transition: opacity .2s;
}
.sheet:not(.is-on) { opacity: 0; visibility: hidden; }
.sheet-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 32px; }
.sheet-head strong { font-family: var(--display); font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: -.02em; }
.sheet-head span { text-align: right; font-variant-numeric: tabular-nums; }
.sheet-to { margin: 0 0 24px; }
.sheet-to small, .sheet td small { display: block; color: var(--muted); font-size: 13px; }
.sheet table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { padding: 10px 0; border-bottom: 1px solid #d6d6d6; text-align: left; vertical-align: top; }
.sheet thead th { font-weight: 500; font-size: 13px; border-bottom-color: var(--ink); }
.sheet td:last-child, .sheet th:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; }
.sheet tfoot th { font-weight: 400; }
.sheet tfoot tr:first-child > * { font-weight: 500; border-top: 2px solid var(--ink); }
.sheet-note { margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.sheet-action { margin: 28px 0 0; }
.sheet-action span { display: block; padding: 14px; background: var(--accent); font-weight: 500; text-align: center; }
.sheet-stamp { display: inline-block; margin: 28px 0 0; padding: 6px 14px; border: 3px solid var(--ink); font-family: var(--display); font-weight: 900; font-size: 22px; text-transform: uppercase; rotate: -4deg; }
.sheet-bar { height: 10px; margin: 0 0 20px; background: var(--surface); }
.sheet-bar span { display: block; height: 100%; background: var(--accent); }
.sheet-checks, .fragment ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sheet-checks li, .fragment li { display: flex; gap: 10px; padding: 7px 10px; background: var(--surface); }
.sheet-checks li::before, .fragment li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border: 2px solid var(--ink); }
.sheet-checks .is-done::before, .fragment .is-done::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E") center / 100% no-repeat; }
.sheet-checks .is-done, .fragment .is-done { color: var(--muted); }
.sheet-comment { margin: 20px 0 0; padding: 14px 16px; background: var(--sage); }
.sheet-comment strong { display: block; font-weight: 500; }

@media (max-width: 900px) {
  .papers { display: block; padding: 0; }
  .papers-index { padding: var(--pad) var(--m) 2rem; }
  .papers-tabs { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 1rem 0 1.5rem; }
  .papers-tabs button { font-size: 1.375rem; min-height: 44px; }
  .papers-stage { height: 70svh; min-height: 460px; }
  .sheet { top: 16px; left: 16px; }
}

/* ---------- stages: drag through the four steps ---------- */

.stages { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; min-height: 88svh; }
.stages-text { padding: var(--pad) var(--m) 2rem; background: var(--accent); }
.stages-text h2 { font-size: var(--step-lead); letter-spacing: 0; }
.clause-title { max-width: 14ch; margin: 1.5rem 0 1rem; font-family: var(--display); font-weight: 900; font-size: clamp(2.5rem, 4.6vw, 4.75rem); line-height: .92; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; }
.clause p:last-child { max-width: 40ch; margin: 0; }
.clause:not(.is-on) { display: none; }
.clause.is-on { animation: swap .2s ease-out; }
@keyframes swap { from { opacity: 0; } }

.stages-ui { display: grid; place-items: center; padding: 3rem var(--m); background: var(--sage); }
.fragment { position: relative; width: min(440px, 100%); padding: 24px; background: var(--bg); font-size: 15px; }
.fragment-head { display: flex; justify-content: space-between; margin: 0 0 14px; }
.fragment-head strong { font-family: var(--display); font-weight: 900; font-size: 20px; text-transform: uppercase; }
.fragment li { transition: background-color .2s, color .2s; }
.fragment li.is-now { background: var(--yellow); }

.stages-control { grid-column: 1 / -1; padding: 1.5rem 28px 2rem; background: var(--ink); color: var(--ink-on-dark); }
.stage-range {
  --fill: 0%;
  display: block;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
}
.stage-range::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(to right, var(--ink-on-dark) var(--fill), #555 var(--fill)); }
.stage-range::-moz-range-track { height: 8px; background: linear-gradient(to right, var(--ink-on-dark) var(--fill), #555 var(--fill)); }
.stage-range::-webkit-slider-thumb { appearance: none; width: 32px; height: 32px; margin-top: -12px; border: 0; background: var(--accent); }
.stage-range::-moz-range-thumb { width: 32px; height: 32px; border: 0; border-radius: 0; background: var(--accent); }
.stage-range:focus-visible { outline: 3px solid var(--ink-on-dark); outline-offset: 4px; }
.stage-names { display: grid; grid-template-columns: repeat(4, 1fr); margin: .75rem 0 0; padding: 0; list-style: none; color: #9a9a9a; }
.stage-names li:nth-child(2) { text-align: center; translate: -16% 0; }
.stage-names li:nth-child(3) { text-align: center; translate: 16% 0; }
.stage-names li:last-child { text-align: right; }
.stage-names .is-on { color: var(--ink-on-dark); font-weight: 500; }

@media (max-width: 760px) {
  .stages { grid-template-columns: 1fr; grid-template-rows: auto; }
  .stages-ui { order: -1; min-height: 46svh; align-items: start; padding: 1.5rem 16px; overflow: hidden; }
  .stages-control { order: 0; padding: 1rem 20px 1.25rem; }
  .stage-range { height: 40px; }
  .stage-range::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; }
  .stage-range::-moz-range-thumb { width: 40px; height: 40px; }
  .stage-names { grid-template-columns: 1fr 1fr; gap: .25rem; font-size: .9375rem; }
  .stage-names li { text-align: left !important; translate: none !important; }
  .stages-text { order: 1; padding-top: 2.5rem; }
  .clause-title { font-size: 9vw; }
}

/* ---------- scrub: the section stays on screen while the scroll steps through it ---------- */

.scrub.is-on { height: calc(100svh + (var(--n) - 1) * 70svh); }
.scrub.is-on > section { position: sticky; top: 0; height: 100svh; min-height: 0; overflow: hidden; }
.scrub.is-on .papers-stage { height: 100%; min-height: 0; }
.scrub.is-on .stages { grid-template-rows: minmax(0, 1fr) auto; }
.scrub.is-on .stages-ui { overflow: hidden; }
.fragment ul { transition: transform .3s var(--ease); }
@media (max-width: 900px) {
  .scrub.is-on .papers { display: flex; flex-direction: column; }
  .scrub.is-on .papers-index { padding: 1.25rem var(--m) .5rem; }
  .scrub.is-on .papers-tabs { flex-wrap: nowrap; gap: .75rem; margin: .25rem 0 0; }
  .scrub.is-on .papers-tabs button { font-size: clamp(.9375rem, 4.2vw, 1.375rem); white-space: nowrap; }
  .scrub.is-on .papers-index > p { display: none; }
  .scrub.is-on .papers-stage { flex: 1; height: auto; }
}
/* phones: the document reflows to the screen width instead of being cropped */
@media (max-width: 640px) {
  .scrub.is-on .sheet { top: 12px; left: 12px; right: 12px; width: auto; min-height: 0; padding: 18px 16px; font-size: 13px; }
  .scrub.is-on .sheet-head { margin-bottom: 14px; }
  .scrub.is-on .sheet-head strong { font-size: 17px; }
  .scrub.is-on .sheet-to { margin-bottom: 10px; }
  .scrub.is-on .sheet th, .scrub.is-on .sheet td { padding: 6px 0; }
  .scrub.is-on .sheet td small { font-size: 12px; }
  .scrub.is-on .sheet-note { margin-top: 10px; }
  .scrub.is-on .sheet-action, .scrub.is-on .sheet-stamp { margin-top: 14px; }
  .scrub.is-on .sheet-action span { padding: 10px; }
  .scrub.is-on .sheet-bar { margin-bottom: 10px; }
  .scrub.is-on .sheet-checks li { padding: 3px 8px; }
  .scrub.is-on .sheet-comment { margin-top: 10px; padding: 10px 12px; }
}
@media (max-width: 760px) {
  .scrub.is-on .stages { display: flex; flex-direction: column; }
  .scrub.is-on .stages-ui { flex: 1; min-height: 0; padding: 12px 16px 0; }
  .scrub.is-on .fragment { max-height: 100%; overflow: hidden; padding: 14px; font-size: 13px; }
  /* the list slides under the header, never over it */
  .scrub.is-on .fragment-head { position: relative; z-index: 1; margin: -14px -14px 0; padding: 14px 14px 8px; background: var(--bg); }
  .scrub.is-on .fragment-head strong { font-size: 16px; }
  .scrub.is-on .fragment li { padding: 4px 8px; }
  .scrub.is-on .fragment li::before { width: 14px; height: 14px; }
  .scrub.is-on .stages-control { padding: .75rem 20px 1rem; }
  .scrub.is-on .stages-text { padding: 1rem 20px 1.25rem; }
  .scrub.is-on .stages-text h2 { display: none; }
  .scrub.is-on .clause-title { margin: 0 0 .5rem; font-size: 7.5vw; }
  .scrub.is-on .clause p:last-child { font-size: 1rem; }
}

/* ---------- duo: two columns, highlighted words ---------- */

.duo { padding: var(--pad) var(--m); }
.duo h2 { margin-bottom: 2rem; }
.duo-text {
  margin: 0;
  columns: 2;
  column-gap: 32px;
  color: #3d3d3d;
  font-size: clamp(1.375rem, 2.1vw, 2rem);
  line-height: 1.18;
  text-align: justify;
  hyphens: auto;
}
.duo-text strong { color: var(--ink); font-weight: 500; }
.hero-lead mark, .duo-text mark { padding: 0 .1em; color: var(--ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.duo-people { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: var(--g); margin-top: clamp(2.5rem, 5vw, 4rem); }
.duo-person { margin: 0; }
.duo-person img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
/* stand-in until the real photo: a plain head-and-shoulders silhouette */
.duo-shadow { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.duo-shadow::before, .duo-shadow::after { content: ""; position: absolute; background: #d9d9d9; }
.duo-shadow::before { top: 20%; left: 33%; width: 34%; aspect-ratio: 1; border-radius: 50%; }
.duo-shadow::after { left: 12%; bottom: -10%; width: 76%; height: 45%; border-radius: 50% 50% 0 0 / 60% 60% 0 0; }
.duo-person figcaption { margin-top: .6rem; font-size: 1rem; }
.duo-person strong { display: block; font-weight: 500; }
.hl-sage { background: var(--sage); }
.hl-yellow { background: var(--yellow); }
.hl-orange { background: var(--accent); }
.duo-end { padding: 0 .1em; background: var(--ink); color: var(--bg); text-decoration: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.duo-end:hover { background: var(--accent); color: var(--ink); }
@media (max-width: 760px) {
  .duo-text { columns: 1; font-size: 1.25rem; line-height: 1.25; text-align: left; }
  .duo-end { display: block; width: fit-content; margin-top: 24px; padding: .5rem .25rem; }
}

/* ---------- reviews (only once real reviews are approved) ---------- */

.reviews { padding: var(--pad) var(--m); background: var(--surface); }
.reviews-average { margin: 1rem 0 2rem; font-size: var(--step-lead); font-weight: 500; }
.reviews-average small { font-size: var(--step-small); font-weight: 400; }
.review-grid { columns: 3 280px; column-gap: var(--g); }
.review { break-inside: avoid; margin: 0 0 var(--g); padding: 1.5rem; background: var(--bg); }
.review-stars { margin: 0 0 .5rem; letter-spacing: .15em; }
.review blockquote { margin: 0 0 1rem; font-size: var(--step-lead); line-height: 1.3; }
.review figcaption { font-size: var(--step-small); }

/* ---------- faq: a band per question, answers always visible ---------- */

.faq-title {
  display: flex;
  align-items: flex-end;
  min-height: 40svh;
  padding: 2rem var(--m);
  background: var(--accent);
  font-size: clamp(3rem, 7vw, 7rem);
}
.band { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); padding: 56px var(--m); }
.band:nth-of-type(even) { background: var(--sage); }
.band h3 { grid-column: 1 / 6; font-weight: 500; font-size: clamp(1.375rem, 1.1rem + .8vw, 2rem); line-height: 1.2; }
.band p { grid-column: 7 / -1; max-width: 60ch; margin: 0; line-height: 1.5; }
@media (max-width: 760px) {
  .faq-title { min-height: 30svh; font-size: 13vw; }
  .band { display: block; padding: 32px 20px; }
  .band p { margin-top: .75rem; font-size: 1.0625rem; }
}

/* ---------- contact: the form as a coupon to cut out ---------- */

.contact { padding: var(--pad) var(--m); background: var(--ink); }
.coupon {
  --notch: 28px;
  position: relative;
  display: grid;
  grid-template-columns: 46fr 54fr;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--accent);
  /* notches bitten out of the top and bottom edges at the tear line */
  -webkit-mask: radial-gradient(circle at 46% 0, #0000 calc(var(--notch) / 2), #000 calc(var(--notch) / 2 + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at 46% 100%, #0000 calc(var(--notch) / 2), #000 calc(var(--notch) / 2 + .5px)) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 46% 0, #0000 calc(var(--notch) / 2), #000 calc(var(--notch) / 2 + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at 46% 100%, #0000 calc(var(--notch) / 2), #000 calc(var(--notch) / 2 + .5px)) bottom / 100% 51% no-repeat;
}
.coupon-text { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 48px; }
.coupon-text h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); }
.coupon-text p { max-width: 36ch; margin: 0; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.coupon .contact-form { padding: 48px; border-left: 5px dotted var(--ink); }
.field { display: grid; align-content: start; padding: .5rem .85rem .25rem; background: color-mix(in srgb, var(--accent) 45%, #fff); }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .9375rem; font-weight: 500; }
.field label small { font-size: inherit; font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  min-height: 40px;
  padding: .25rem 0 .4rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 1rem/1.4 var(--text);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; }
.field:focus-within { outline: 3px solid var(--ink); outline-offset: -3px; background: var(--bg); }
.check { display: flex; gap: .65rem; align-items: baseline; margin-top: .25rem; font-size: .9375rem; cursor: pointer; }
.check input { flex: none; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--ink); translate: 0 .15em; }
.form-estimate { font-weight: 500; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: grid; gap: .75rem; margin-top: .5rem; }
.btn--bar { width: 100%; min-height: 56px; background: var(--ink); color: var(--bg); }
.btn--bar:hover { background: var(--bg); color: var(--ink); }
.form-status { margin: 0; font-weight: 500; }
.form-status:empty { display: none; }
.field-error { grid-column: 1 / -1; margin: -4px 0 4px; padding: .3rem .6rem; background: var(--ink); color: var(--ink-on-dark); font-size: var(--step-small); }
.field[aria-invalid="true"], .field:has([aria-invalid="true"]) { box-shadow: inset 0 0 0 3px var(--ink); }

@media (max-width: 900px) {
  .contact { padding-inline: 12px; }
  .coupon {
    grid-template-columns: 1fr;
    -webkit-mask: radial-gradient(circle at 0 var(--tear, 50%), #0000 calc(var(--notch) / 2), #000 calc(var(--notch) / 2 + .5px)) left / 51% 100% no-repeat, radial-gradient(circle at 100% var(--tear, 50%), #0000 calc(var(--notch) / 2), #000 calc(var(--notch) / 2 + .5px)) right / 51% 100% no-repeat;
    mask: none;
  }
  .coupon-text { padding: 28px 20px; }
  .contact-form { grid-template-columns: 1fr; }
  .coupon .contact-form { padding: 24px 20px 28px; border-left: 0; border-top: 5px dotted var(--ink); }
  .field input { min-height: 44px; }
}

/* ---------- footer: the last two rows of a board ---------- */

.footer {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  padding: 8px;
  background: var(--ink);
}
.ft { margin: 0; padding: 20px; background: var(--bg); min-height: 220px; }
.ft a { text-decoration-thickness: 1px; }
.ft-statement { grid-column: 1 / 5; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.ft-statement p:first-child { margin: 0; font-size: var(--step-lead); line-height: 1.25; }
.ft-legal { margin: 0; font-size: var(--step-small); }
.ft-nav { grid-column: 5 / 8; display: grid; align-content: start; gap: .35rem; background: var(--sage); }
.ft-nav a { text-decoration: none; }
.ft-nav a:hover { text-decoration: underline; }
.ft-mail { grid-column: 8 / -1; display: flex; align-items: flex-end; font-size: 1.25rem; overflow-wrap: anywhere; }
.ft-mark {
  grid-column: 1 / 9;
  display: grid;
  place-items: center;
  min-height: 320px;
  background: #1a1a1a;
  color: var(--ink-on-dark);
  font-family: var(--display);
  font-weight: 900;
  font-size: 9vw;
  line-height: .9;
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-align: center;
}
.ft-call { grid-column: 9 / -1; position: relative; min-height: 320px; background: var(--accent); font-size: 1.75rem; font-weight: 500; line-height: 1.15; text-decoration: none; transition: background-color .15s; }
.ft-call:hover { background: var(--yellow); }
.ft-call svg { position: absolute; right: 20px; bottom: 20px; width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 4; }

@media (max-width: 760px) {
  .footer { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ft { min-height: 0; }
  .ft-mark { grid-column: 1 / -1; order: -2; min-height: 160px; font-size: 15vw; }
  .ft-call { grid-column: 1 / -1; order: -1; min-height: 160px; font-size: 1.375rem; }
  .ft-nav, .ft-mail { grid-column: span 1; }
  .ft-mail { align-items: flex-start; font-size: 1rem; }
  .ft-statement { grid-column: 1 / -1; }
  body:has(.mobile-cta) .footer { padding-bottom: 5.5rem; }
}

/* ---------- sticky actions on phones ---------- */

.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: var(--ink);
    transition: transform .3s var(--ease);
  }
  .mobile-cta .btn { min-height: 48px; padding: .6rem .5rem; font-size: .9375rem; }
  .mobile-cta .btn--line { color: var(--ink-on-dark); }
  .mobile-cta.is-hidden { transform: translateY(110%); }
}

/* ---------- trade pages (metier.php), booking, 404 ---------- */

.trade-hero { padding: clamp(3rem, 10vh, 6rem) var(--m) var(--pad); }
.trade-hero:has(.trade-pic) { display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(1.5rem, 4vw, 4rem); align-content: start; }
.trade-hero > * { grid-column: 1; }
.trade-pic { grid-column: 2; grid-row: 1 / span 4; align-self: start; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.trade-hero .hero-ctas { margin-top: 2rem; }
.trade-kicker { margin: 0 0 1rem; font-size: var(--step-lead); }
.trade-title { max-width: 18ch; margin-bottom: 1.5rem; font-size: clamp(2.5rem, 5.5vw, 5.5rem); }
@media (max-width: 760px) {
  .trade-hero:has(.trade-pic) { grid-template-columns: 1fr; }
  .trade-pic { grid-column: 1; grid-row: auto; order: -1; aspect-ratio: 16 / 9; margin-bottom: 1.5rem; }
  .trade-title { font-size: 8vw; }
}
.trade-intro { max-width: 52ch; margin: 0; font-size: var(--step-lead); line-height: 1.35; }
.trade-needs { padding: var(--pad) var(--m); background: var(--sage); }
.trade-needs h2, .trade-offer h2 { margin-bottom: 2.5rem; }
.needs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.need { padding: 1.5rem; background: var(--bg); }
.need h3 { margin-bottom: .5rem; }
.need p { margin: 0; }
.trade-offer { padding: var(--pad) var(--m); background: var(--ink); color: var(--ink-on-dark); }
.offer-card { max-width: 820px; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--accent); color: var(--ink); }
.offer-card ul { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.offer-card li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .8rem 0; border-top: 2px solid var(--ink); }
.offer-card li small { display: block; font-size: var(--step-small); }
.offer-card li > span:last-child { white-space: nowrap; font-weight: 500; }
.offer-total { margin: 0 0 1.5rem; font-size: var(--step-lead); }
.offer-total strong { font-family: var(--display); font-weight: 900; font-size: clamp(2.5rem, 5vw, 3.5rem); }
.offer-total small { display: block; font-size: var(--step-small); }
.offer-card .btn { background: var(--ink); color: var(--bg); }
.offer-card .btn:hover { background: var(--bg); color: var(--ink); }
.trade-example { padding: var(--pad) var(--m); background: var(--yellow); }
.trade-example .shot { max-width: 900px; height: auto; }
.trade-example .shot img { height: auto; }
.trade-example p { max-width: 52ch; margin: 1rem 0 0; font-size: var(--step-lead); }
.trade-cta { display: grid; gap: 1.5rem; padding: var(--pad) var(--m); background: var(--accent); }
.trade-cta h2 { font-size: var(--step-display); }
.trade-cta .btn { background: var(--ink); color: var(--bg); }
.trade-cta .btn:hover { background: var(--bg); color: var(--ink); }

.booking-form { display: grid; gap: 1.5rem; padding: 0 var(--m) var(--pad); max-width: 1100px; }
.booking-hero { padding-bottom: 2.5rem; }
.booking-hero .trade-pic { aspect-ratio: 3 / 2; }
.booking-form .field { background: var(--surface); }
.slots { grid-column: 1 / -1; margin: 0 0 1.5rem; padding: 0; border: 0; min-width: 0; }
.slots legend { margin-bottom: 1rem; padding: 0; font-family: var(--display); font-weight: 900; font-size: var(--step-lead); text-transform: uppercase; }
.slot-day { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; align-items: baseline; padding: .9rem 0; border-top: 2px solid var(--ink); }
.slot-date { margin: 0; font-weight: 500; }
.slot-times { display: flex; flex-wrap: wrap; gap: 6px; }
.slot input { position: absolute; opacity: 0; }
.slot span { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .9rem; background: var(--surface); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .15s; }
.slot:hover span { background: var(--sage); }
.slot input:checked + span { background: var(--ink); color: var(--bg); }
.slot input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.slot.is-taken span { color: var(--muted); text-decoration: line-through; cursor: default; background: transparent; }
.slot.is-taken small { text-decoration: none; }
.hint { margin: 0; color: var(--muted); font-size: var(--step-small); }
.booking .form-status { margin: 0; }
@media (max-width: 640px) {
  .slot-day { grid-template-columns: 1fr; gap: .5rem; }
}

/* ---------- legal pages ---------- */

.legal { max-width: 72ch; padding: clamp(3rem, 10vh, 6rem) var(--m) var(--pad); }
.legal h1 { margin-bottom: 2.5rem; font-size: clamp(2.6rem, 6vw, 4.5rem); }
.legal h2 { margin: 2.5rem 0 .75rem; font-size: var(--step-lead); letter-spacing: 0; }
.legal h3 { margin: 1.75rem 0 .5rem; font-size: 1.125rem; }
.legal p { margin: 0 0 1rem; }
.legal-form { margin: 1rem 0 0; padding: 1.25rem 1.5rem; background: var(--surface); }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}

/* static pages (legal, CGV): one row of tiles */
.footer--short { display: flex; flex-wrap: wrap; }
.footer--short > * { flex: 1 1 200px; padding: 20px; background: var(--bg); }
