/* Maintenance Tremblant — components. Uses only the custom properties defined in tokens.css.
   Modernist rules: flat, radius 0, visible 2px grid (drawn by 2px grid gaps), flush-left labels. */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

/* ══════════════════════════════════════════════════════════════════════════
   Components — Modernist design system base, built with the tokens in tokens.css.
   Plain CSS on plain HTML, no build step. The site layer further down overrides
   sizes for this site (body 17px; reading text never below 16px on phones).
   Short UI labels (kickers, step numbers, footer titles, photo captions) stay at
   13–14px semibold on purpose: they are one-to-four-word labels, not reading text,
   and pass contrast at that size.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-border); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 4px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 8px 12px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }


/* ---------- site layer ---------- */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); font-size: 17px; line-height: 1.55; }
main { display: block; }
main:focus { outline: none; }
a { color: var(--color-accent); }
a:hover { color: var(--color-action-hover); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
img { max-width: 100%; }

.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: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--color-text); color: var(--color-bg); padding: 12px 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- type ---------- */
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-700); }
.num { font-size: 14px; font-weight: 600; color: var(--color-accent-700); }
.h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.025em; line-height: 1.12; }
.h2--who { font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -.03em; line-height: 1; }
.h2-sm { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.02em; line-height: 1.1; max-width: 22ch; }
.h2-detail { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.025em; line-height: 1.05; }
.h3 { font-size: 28px; letter-spacing: -.02em; line-height: 1.12; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 34ch; color: var(--color-text-muted); text-wrap: pretty; }
.lead--wide { max-width: 40ch; }
.lead--quote { max-width: 52ch; }
.muted { color: var(--color-text-muted); }
.tagline { font-size: 21px; font-weight: 600; line-height: 1.35; max-width: 30ch; }
.tagline--lg { font-size: clamp(20px, 1.8vw, 24px); }
.signature { font-weight: 600; }
.measure-44 { max-width: 44ch; text-wrap: pretty; }
.measure-46 { max-width: 46ch; text-wrap: pretty; }
.measure-48 { max-width: 48ch; text-wrap: pretty; }
.measure-50 { max-width: 50ch; text-wrap: pretty; }
.measure-52 { max-width: 52ch; text-wrap: pretty; }
.measure-56 { max-width: 56ch; text-wrap: pretty; }

.stack-10, .stack-12, .stack-18, .stack-20 { display: flex; flex-direction: column; }
.stack-10 { gap: 8px; } .stack-12 { gap: 12px; } .stack-18 { gap: 16px; } .stack-20 { gap: 20px; }

/* ---------- buttons & links ---------- */
.btn { justify-content: flex-start; }
.btn-primary, .btn-primary:hover, .btn-primary:active { color: var(--color-on-action); }
.btn-secondary { border-width: 2px; color: var(--color-text); }
.btn-secondary:hover { color: var(--color-text); }
.btn-nav { min-height: 44px; padding: 12px 16px; font-size: 15px; }
.btn-lg { min-height: 52px; padding: 16px 24px; font-size: 16px; gap: 12px; }
.btn-md { min-height: 48px; padding: 12px 20px; font-size: 16px; }
.btn-phone { gap: 8px; }
.btn-self { align-self: flex-start; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.actions--tight { padding-top: 0; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; align-self: flex-start; }
.arrow { transition: transform var(--motion-micro) ease-out; flex: none; }
a:hover > .arrow, a:focus-visible > .arrow, button:hover > .arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { background: var(--color-bg); border-bottom: 2px solid var(--color-border); }
.header-row { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--color-logo-text); margin-right: auto; }
.brand:hover { color: var(--color-logo-text); }
.brand .mark { flex: none; }
.wordmark { display: flex; flex-direction: column; font-weight: 800; font-size: 13px; line-height: 1.25; letter-spacing: .2em; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.main-nav a { position: relative; color: var(--color-text); text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 0 8px; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--color-accent); }
.nav-ind { position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--color-accent); view-transition-name: nav-indicator; }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.lang-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 600; font-size: 15px; color: var(--color-text); }
.lang-link:hover { color: var(--color-action); }
.narrow-only { display: none; }

/* Below one-line width: brand + actions on the first row, nav on its own ruled row. */
@media (max-width: 1023px) {
  .header-row { gap: 12px 16px; padding-bottom: 0; }
  .header-actions { order: 2; gap: 8px; }
  .main-nav { order: 3; gap: 8px 24px; border-top: 2px solid var(--color-border); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); width: calc(100% + var(--gutter) * 2); }
}
/* Phones: the hero, every page's closing band and the footer carry the quote action. */
@media (max-width: 559px) {
  .main-nav { gap: 8px 20px; }
  .header-row { column-gap: 12px; }
  .site-header .brand { gap: 8px; }
  .site-header .mark { width: 40px; height: 26px; }
  .site-header .wordmark { font-size: 12px; letter-spacing: .14em; }
  .header-actions { gap: 8px; }
  .btn-nav { padding: 12px 12px; }
  .wide-only { display: none; }
  .narrow-only { display: inline; }
}

/* ---------- ruled grids (2px rules drawn by the gap) ---------- */
.ruled { display: grid; gap: 2px; background: var(--color-border); }
.ruled > .cell { background: var(--color-bg); }
.rule-y { border-top: 2px solid var(--color-border); border-bottom: 2px solid var(--color-border); }
.rule-b { border-bottom: 2px solid var(--color-border); }

/* Two columns once each column can be ≥ 420px. Inner-side padding only applies when side by side,
   so stacked cells stay flush with the page edge; on one column, photos lead their text. */
.split { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); container: split / inline-size; }
.split > .media { order: -1; }
@container split (min-width: 842px) {
  .split > .media { order: 0; }
  .pad-start { padding-right: var(--inner, 32px); }
  .pad-end { padding-left: var(--inner, 32px); }
}

/* Three-up strips: one column, then straight to three (never an orphaned 2 + 1). */
.tri { grid-template-columns: 1fr; }
@media (min-width: 860px) { .tri { grid-template-columns: repeat(3, 1fr); } }

.bar { height: 6px; }
.bar-1 { background: var(--teal-dark); }
.bar-2 { background: var(--teal-mid); }
.bar-3 { background: var(--teal-light); }

.frame { border: 2px solid var(--color-border); overflow: hidden; }
.ratio-1-1, .ratio-3-2, .ratio-3-4, .ratio-4-3, .ratio-4-5 { overflow: hidden; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-1-1 > img, .ratio-3-2 > img, .ratio-3-4 > img, .ratio-4-3 > img, .ratio-4-5 > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media { position: relative; min-height: 360px; }
.media--tall { min-height: 380px; }
.media.ratio-1-1 { min-height: 0; }
.media > img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.section-top { padding-top: var(--section); }
.section-pad { padding: var(--section) 0; }

/* ---------- home ---------- */
.hero { border-bottom: 2px solid var(--color-border); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.hero-copy { padding: clamp(48px, 8vw, 112px) clamp(0px, 4vw, 56px) clamp(40px, 6vw, 72px) 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; }
.hero-title { font-size: clamp(44px, 6.6vw, 96px); line-height: .98; letter-spacing: -.03em; max-width: 11ch; text-wrap: balance; }
.hero-fig { margin: 0; position: relative; min-height: 440px; border-left: 2px solid var(--color-border); }
.hero-fig > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cap-tab { position: absolute; left: 0; bottom: 0; margin: 0; background: var(--color-bg); color: var(--color-text); font-size: 13px; font-weight: 600; padding: 12px 16px; border-top: 2px solid var(--color-border); border-right: 2px solid var(--color-border); }
@media (max-width: 559px) {
  .hero-fig { min-height: 0; aspect-ratio: 4 / 3; border-left: 0; margin: 0 calc(var(--gutter) * -1); border-top: 2px solid var(--color-border); }
  /* Phones: the headline, lead and button use the full width instead of a narrow column. */
  .hero-copy { padding-right: 0; }
  .hero-title { max-width: none; font-size: clamp(36px, 11.5vw, 60px); }
  .hero .lead { max-width: none; }
  .hero .actions .btn { flex: 1 1 100%; justify-content: space-between; }
}

.facts { border-bottom: 2px solid var(--color-border); }
.fact { padding: 24px 0 32px; display: flex; flex-direction: column; gap: 8px; }
.fact-value { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.fact-label { max-width: 28ch; color: var(--color-text-muted); }
@media (min-width: 860px) {
  .fact { padding-right: 24px; }
  .cell + .cell > .fact { padding-left: 24px; }
}

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 28px; }
.svc-card { display: flex; flex-direction: column; }
.svc-card-body { padding-top: 24px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 8px; }
.svc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px 48px; padding: 28px 0 32px; border-bottom: 2px solid var(--color-border); }
.rule-left { border-left: 6px solid var(--teal-light); padding-left: 20px; }

.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }

.teaser { padding-top: 36px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; --inner: 36px; }
.teaser-title { font-family: var(--font-body); font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.robi-plate { background: var(--color-logo-plate); border: 2px solid var(--color-border); }
.robi-plate img { width: 100%; height: auto; display: block; }
.robi-plate--sm { align-self: flex-start; max-width: 320px; width: 100%; }

/* ---------- inner pages ---------- */
.page-head { border-bottom: 2px solid var(--color-border); }
.page-head-grid { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 64px; align-items: end; }
.page-head--plain > .wrap { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(32px, 4vw, 48px); }
.page-title { font-size: clamp(48px, 7vw, 104px); line-height: .95; letter-spacing: -.035em; }
.page-title--quote { font-size: clamp(44px, 6vw, 88px); line-height: .98; max-width: 14ch; }

.detail { padding-top: var(--cell-pad); padding-bottom: var(--cell-pad); display: flex; flex-direction: column; gap: 16px; --inner: var(--cell-pad); }
.detail--center { justify-content: center; }
.eco-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 64px; padding: clamp(32px, 4vw, 56px) 0; border-bottom: 2px solid var(--color-border); }
.eco-head { display: flex; flex-direction: column; gap: 12px; border-top: 6px solid var(--teal-light); padding-top: 20px; }
.eco-body { align-self: end; max-width: 46ch; display: flex; flex-direction: column; gap: 12px; }
.eco-body > p:first-child { font-size: 20px; line-height: 1.45; text-wrap: pretty; }
.eco-note { color: var(--color-text-muted); text-wrap: pretty; }

.pandemic { scroll-margin-top: 24px; }
.cov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px clamp(32px, 5vw, 80px); }
.h2-cov { font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -.03em; line-height: 1.02; max-width: 16ch; text-wrap: balance; }
.cov-lead { font-size: 20px; font-weight: 800; line-height: 1.4; max-width: 40ch; }
.cov-fig { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cap { margin: 0; font-size: 13px; color: var(--color-text-subtle); }
.cov-facts { list-style: none; margin: 48px 0 0; padding: 0; border-top: 2px solid var(--color-border); border-bottom: 2px solid var(--color-border); }
.cov-facts p { padding: 20px 0 24px; font-size: 20px; font-weight: 800; line-height: 1.3; }
@media (min-width: 860px) {
  .cov-facts p { padding-right: 20px; }
  .cov-facts .cell + .cell p { padding-left: 20px; }
}
.cov-cta { padding-top: 32px; }

.robi { padding: clamp(48px, 7vw, 96px) 0; }
.robi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.robi-plate--lg { padding: clamp(24px, 5vw, 64px) clamp(16px, 3vw, 40px); }
.robi-title { font-size: clamp(40px, 5.2vw, 72px); line-height: 1; letter-spacing: -.03em; max-width: 14ch; text-wrap: balance; }
.robi-sub { font-size: 19px; font-weight: 600; }

/* ---------- quote form ---------- */
.quote-main { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); --inner: var(--cell-pad); }
.quote-aside { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 24px; --inner: var(--cell-pad); }
.aside-photo { width: 100%; max-width: 340px; }
.quote-form { display: flex; flex-direction: column; gap: 24px; }
.form-pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 20px; }
.field > label, .choices legend { display: block; font-size: 16px; font-weight: 600; color: var(--color-text); margin-bottom: 4px; }
.req { font-weight: 400; color: var(--color-text-subtle); }
.quote-form .input { min-height: 48px; font-size: 16px; border-width: 2px; background: var(--color-surface-raised); transition: border-color .15s ease, box-shadow .15s ease; }
.quote-form textarea.input { min-height: 140px; }
.quote-form .input:focus { border-color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.quote-form .input[aria-invalid="true"] { border-color: var(--color-error); animation: mt-shake .3s ease-in-out; }
.field-error { margin: 8px 0 0; font-size: 16px; font-weight: 600; color: var(--color-error); animation: mt-drop .22s ease-out; }
.field-error[hidden] { display: none; }
.hint { margin: 0 0 8px; font-size: 16px; color: var(--color-text-subtle); }
.choices { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 8px; }
.choices .field-error { margin: 0; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; border: 2px solid var(--color-border); padding: 8px 16px; background: var(--color-surface-raised); }
.choice:hover { border-color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.choice:has(input:checked) { border-color: var(--color-accent); }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-accent); flex: none; }
.choices[data-invalid] .choice { border-color: var(--color-error); }
.submit-row { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.submit-row .hint { margin: 0; max-width: 48ch; }

.sent { border: 2px solid var(--color-accent); background: var(--color-accent-100); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; animation: mt-drop .3s ease-out; }
.sent:focus { outline: none; }
.sent[hidden] { display: none; }
.sent-title { font-size: 32px; letter-spacing: -.02em; }
.check { stroke-dasharray: 1; stroke-dashoffset: 1; animation: mt-draw .45s .2s ease-out forwards; }

.direct { margin: 0; border-top: 2px solid var(--color-border); }
.direct > div { padding: 16px 0; border-bottom: 2px solid var(--color-border); display: flex; flex-direction: column; gap: 2px; }
.direct dt { font-size: 16px; font-weight: 600; color: var(--color-text-subtle); }
.direct dd { margin: 0; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.direct dd > a { display: inline-flex; align-items: center; min-height: 44px; }
/* Opening hours on the quote page, in the same three groups as the footer:
   days on the left and hours on the right when the column allows it, otherwise hours under the days. */
.hours { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-direction: column; gap: 10px; max-width: 400px; container: quote-hours / inline-size; }
.hours li { display: flex; flex-direction: column; font-size: 16px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.hours li > span { white-space: nowrap; }
.direct .hours li > span + span { font-weight: 600; }
.direct .hours li > span:first-child { font-weight: 400; }
@container quote-hours (min-width: 300px) {
  .hours:lang(fr) li { flex-direction: row; justify-content: space-between; gap: 16px; }
}
@container quote-hours (min-width: 380px) {
  .hours:lang(en) li { flex-direction: row; justify-content: space-between; gap: 16px; }
}
.sent-next { font-weight: 600; }

/* ---------- closing band ---------- */
.band { color: var(--color-band-text); margin-top: var(--section); background: var(--color-band); }
.band-inner { padding-top: var(--section); padding-bottom: var(--section); display: grid; grid-template-columns: 1fr; align-items: center; gap: 32px clamp(32px, 5vw, 80px); }
.band-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.band-note { font-size: 17px; max-width: 40ch; }
.band-fig { margin: 0; width: 160px; aspect-ratio: 3 / 4; overflow: hidden; border: 2px solid var(--color-border); }
.band-fig > img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 760px) {
  .band-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .band-fig { width: clamp(220px, 24vw, 340px); }
}
.band-title { font-size: clamp(44px, 7vw, 104px); line-height: .95; letter-spacing: -.035em; max-width: 12ch; }
.btn-band { background: var(--color-action); color: var(--color-on-action); border: 2px solid var(--color-action); }
.btn-band:hover { background: var(--color-action-hover); border-color: var(--color-action-hover); color: var(--color-on-action); }
.band :focus-visible { outline-color: var(--color-band-text); }

/* ---------- footer ---------- */
.site-footer { background: var(--color-footer); color: var(--color-on-footer); }
.site-footer--gap { margin-top: var(--section); }
.footer-inner { padding-top: clamp(48px, 6vw, 80px); padding-bottom: 32px; display: flex; flex-direction: column; gap: clamp(40px, 5vw, 56px); }

/* Columns: 1, 2 or 4, never 3. Explicit breakpoints set by what the content needs:
   - 720px: two columns are wide enough for the 33-character email (271px) with room to spare;
   - 1100px: four columns fit the email, the privacy link and the grouped hours side by side. */
.footer-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 720px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 4vw, 56px); }
}
@media (min-width: 1100px) {
  .footer-cols { grid-template-columns: minmax(120px, .7fr) minmax(280px, 1.2fr) minmax(220px, .9fr) minmax(240px, 1.4fr); }
}
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer-title { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--color-on-footer-muted); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--color-on-footer); font-size: 16px; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--color-footer-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.footer-area { font-size: 16px; min-height: 44px; display: flex; align-items: center; color: var(--color-on-footer-muted); }

/* The email address always stays on one line (footer and quote page). */
.footer-email, .direct dd > a[href^="mailto"] { white-space: nowrap; }
/* The address is 33 characters: on the narrowest phones it sets the type size and the page gutter. */
.direct dd > a[href^="mailto"] { font-size: clamp(16px, 4.6vw, 18px); }
@media (max-width: 360px) {
  :root { --gutter: 16px; }
}
/* below the narrowest real phones (320px), the footer address steps down one pixel so it still fits on one line */
@media (max-width: 319px) {
  .footer-col .footer-email { font-size: 15px; }
}

/* Opening hours, grouped: days and hours stacked, or side by side (hours on the right) when the column allows it. */
.footer-hours { container: footer-hours / inline-size; }
.hours-groups { margin: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
.hours-groups > div { display: flex; flex-direction: column; gap: 0; }
.hours-groups dt, .hours-groups dd { margin: 0; font-size: 16px; line-height: 1.5; white-space: nowrap; }
.hours-groups dt { color: var(--color-on-footer-muted); }
.hours-groups dd { font-variant-numeric: tabular-nums; }
@container footer-hours (min-width: 300px) {
  .hours-groups:lang(fr) > div { flex-direction: row; justify-content: space-between; gap: 24px; }
}
@container footer-hours (min-width: 380px) {
  .hours-groups:lang(en) > div { flex-direction: row; justify-content: space-between; gap: 24px; }
}

.site-footer a:hover { color: var(--color-footer-accent); }
.site-footer :focus-visible { outline-color: var(--color-footer-accent); }

/* Logo, copyright and studio credit, below a soft divider. */
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: 32px; border-top: 1px solid var(--color-footer-rule); }
.brand--light, .brand--light:hover { color: var(--color-on-footer); margin-right: 0; }
.copyright { font-size: 16px; color: var(--color-on-footer-muted); }
.footer-legal { display: flex; flex-direction: column; gap: 4px; }
.legal-sep { display: none; color: var(--color-on-footer-muted); }
@media (min-width: 700px) {
  /* one line on wider screens: copyright first, then the studio credit */
  .footer-legal { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
  .legal-sep { display: inline; font-size: 16px; }
}
.footer-legal p { margin: 0; }
.credit { font-size: 16px; color: var(--color-on-footer-muted); }
.credit a { color: var(--color-on-footer); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- privacy + 404 ---------- */
.privacy { display: flex; flex-direction: column; max-width: 960px; }
.priv-row { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 24px 0; border-bottom: 2px solid var(--color-border); }
.priv-h { flex: 1 1 220px; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.priv-p { flex: 3 1 360px; max-width: 62ch; text-wrap: pretty; }
.nf-en { margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--color-border); display: flex; flex-direction: column; gap: 8px; }

/* ---------- motion ---------- */
html[data-motion] [data-reveal="bar"] { transform: scaleX(0); transform-origin: left center; transition: transform var(--motion-reveal) var(--ease-out); }
html[data-motion] [data-reveal="img"] { clip-path: inset(0 100% 0 0); transition: clip-path var(--motion-reveal) var(--ease-wipe); }
html[data-motion] [data-reveal][data-in] { transform: none; clip-path: inset(0 0 0 0); }

@keyframes mt-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
@keyframes mt-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes mt-draw { to { stroke-dashoffset: 0; } }

/* Page-to-page: the nav underline slides to the new item (browsers with cross-document view transitions). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-group(nav-indicator) { animation-duration: var(--motion-ui); animation-timing-function: var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .check { stroke-dashoffset: 0; }
  @view-transition { navigation: none; }
}
.quote-form[hidden] { display: none; }

.mark .m1 { fill: var(--teal-light); } .mark .m2 { fill: var(--teal-mid); } .mark .m3 { fill: var(--teal-dark); }

/* ---------- quote form: Firebase pattern (honeypot, preview, no-JS, reCAPTCHA) ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error:empty { display: none; }
.form-preview { font-weight: 600; color: var(--color-warning); }
.form-note.is-error { font-weight: 600; color: var(--color-error); }
html:not(.js) .quote-form button[type="submit"] { display: none; }
.quote-form .btn:disabled { opacity: .6; cursor: progress; }
.sent-icon { color: var(--color-success); }
.grecaptcha-badge { visibility: hidden; }

/* ---------- satisfaction survey (unlisted: /sondage/, /en/survey/) ---------- */
.survey-layout { display: grid; grid-template-columns: minmax(0, 760px); gap: 64px; align-items: start; }
.survey-shell { min-width: 0; padding-bottom: var(--section); }
.survey-aside { display: none; margin: 0; }
@media (min-width: 1024px) {
  .survey-layout { grid-template-columns: minmax(0, 760px) minmax(240px, 360px); justify-content: space-between; }
  .survey-aside { display: block; position: sticky; top: 32px; margin-top: 32px; }
}
.survey-progress { position: sticky; top: 0; z-index: 2; background: var(--color-bg); padding: 16px 0; margin-bottom: 32px; border-bottom: 2px solid var(--color-border); }
.survey-count { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 12px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.survey-count-name { color: var(--color-text-subtle); text-align: right; }
.survey-bar { height: 8px; background: color-mix(in srgb, var(--color-text) 12%, transparent); overflow: hidden; }
.survey-fill { display: block; height: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left center; transition: transform var(--motion-ui) var(--ease-out); }
html:not(.js) .survey-progress, html:not(.js) .survey-nav { display: none; }
.survey-form { gap: 32px; }
.survey-step { display: flex; flex-direction: column; gap: 24px; animation: mt-drop var(--motion-ui) var(--ease-out); }
.survey-step[hidden] { display: none; }
html:not(.js) .survey-step + .survey-step { border-top: 2px solid var(--color-border); padding-top: 32px; }
.survey-h { margin: 0; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; text-wrap: balance; }
.survey-h:focus { outline: none; }
.survey-form .choices legend { font-size: 18px; line-height: 1.4; text-wrap: pretty; margin-bottom: 12px; }
.choice-text { flex: 1; }
.rating .choice { min-height: 52px; }
.rating-num { flex: none; min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--color-border); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color-text-subtle); }
.rating .choice:has(input:checked) .rating-num { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-action); }
.choice--na { margin-top: 8px; }
.survey-fix[hidden] { display: none; }
.survey-fix { animation: mt-drop var(--motion-ui) var(--ease-out); }
.survey-notes { display: flex; flex-direction: column; gap: 8px; }
.survey-notes .hint { margin: 0; max-width: 60ch; }
.survey-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 24px; border-top: 2px solid var(--color-border); }
.survey-nav [data-next], .survey-nav [data-submit] { margin-left: auto; }
.survey-nav [hidden] { display: none; }
.survey-form .btn:disabled { opacity: .6; cursor: progress; }
@media (max-width: 480px) {
  .survey-nav .btn-lg { flex: 1 1 auto; justify-content: space-between; }
}
