/* Webup Space: refonte 2026
   Couleurs : le jaune et l'encre du logo, le pétrole des murs des bureaux.
   Typo : Big Shoulders (signalétique des portes) + Atkinson Hyperlegible Next (lecture). */

:root {
  --yellow: #F6CC42;
  --yellow-strong: #E0B21E;
  --yellow-soft: #FDF3CF;
  --ink: #1D1D1B;
  --ink-2: #2A2B29;
  --paper: #F4F6F7;
  --white: #FFFFFF;
  --muted: #56606B;
  --muted-dark: #B9C2CA;
  --petrol: #006983;
  --petrol-soft: #E3F0F3;
  --line: #D5DBDF;
  --line-strong: #7A848D;
  --line-dark: rgba(255, 255, 255, 0.16);
  --error: #B42318;

  --font-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --font-text: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;

  --fs-hero: clamp(2.75rem, 1.55rem + 4.4vw, 5.5rem);
  --fs-h2: clamp(2.4rem, 1.6rem + 3vw, 4.25rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.55vw, 1.4rem);
  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --fs-small: 0.875rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  --container: 1280px;
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --header-h: 72px;
  --radius: 6px;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-paint: cubic-bezier(0.7, 0, 0.2, 1);
  --focus: var(--petrol);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  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-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 0.98;
  letter-spacing: -0.005em;
}

.section-head {
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.section-head__text {
  max-width: 36rem;
  margin-top: 1rem;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.12s var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 44px; padding: 0.55rem 1.1rem; }
.btn--block { width: 100%; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-strong); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--ghost-dark { border-color: var(--line-dark); color: var(--white); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  transition: text-underline-offset 0.2s var(--ease-out);
}
.link-arrow:hover { text-underline-offset: 0.45em; }

.round-btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.round-btn:hover { background: var(--ink); color: var(--white); }
.round-btn:disabled { opacity: 0.3; cursor: default; background: transparent; color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand { display: flex; align-items: center; min-height: 48px; }
.brand img { width: 152px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 0.25rem; }
.nav__list a {
  display: block;
  padding: 0.6rem 0.8rem;
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-size: 0 3px;
  background-position: 0.8rem calc(100% - 0.35rem);
  background-repeat: no-repeat;
  transition: background-size 0.25s var(--ease-out);
}
.nav__list a:hover, .nav__list a[aria-current="true"] { background-size: calc(100% - 1.6rem) 3px; }
.header-intranet {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.25s;
}
.header-intranet:hover { border-color: var(--ink); }
.header-intranet .icon { width: 1.05em; height: 1.05em; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
}
.menu-toggle .icon { width: 28px; height: 28px; }

.menu-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--white);
  --focus: var(--yellow);
}
.menu-mobile[hidden] { display: none; }
.menu-mobile li a {
  display: block;
  padding: 0.65rem 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 9vw, 3.25rem);
  line-height: 1.05;
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}
.menu-mobile__actions { display: grid; gap: 0.75rem; }

@media (max-width: 1399px) {
  .site-header__inner { gap: 1rem; }
  .nav__list { gap: 0; }
  .nav__list a { padding-inline: 0.55rem; background-position: 0.55rem calc(100% - 0.35rem); }
  .nav__list a:hover, .nav__list a[aria-current="true"] { background-size: calc(100% - 1.1rem) 3px; }
}

/* Le menu complet (6 liens, Intranet, bouton) ne tient pas sur une ligne en dessous de 1280 px */
@media (max-width: 1279px) {
  .nav, .header-cta, .header-intranet { display: none; }
  .menu-toggle { display: grid; }
}

/* ---------- Hero ---------- */

.hero { position: relative; background: var(--ink); }
.hero__media {
  position: relative;
  height: clamp(560px, calc(100svh - var(--header-h)), 960px);
  overflow: hidden;
}
.hero__poster, .hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
}
/* the poster only shows until the video starts: the video sits above it and fades in */
.hero__poster { z-index: 0; }
.hero__video { z-index: 1; opacity: 0; transition: opacity 0.8s ease; }
.hero__video.is-playing { opacity: 1; }

.video-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 1.25rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(29, 29, 27, 0.72);
  color: var(--white);
  --focus: var(--yellow);
  transition: background-color 0.2s;
}
.video-toggle:hover { background: var(--ink); }
.video-toggle .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.video-toggle .icon--play { display: none; }
.video-toggle[aria-pressed="true"] .icon--play { display: block; }
.video-toggle[aria-pressed="true"] .icon--pause { display: none; }

.hero__wall { background: var(--yellow); }
.hero__wall-inner { padding: 2.25rem var(--gutter) 2.5rem; }
.hero__place {
  font-weight: 700;
  font-size: var(--fs-small);
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-hero);
  line-height: 0.95;
  letter-spacing: -0.01em;
  max-width: 13ch;
}
.hero__lead {
  margin-top: 1rem;
  font-size: var(--fs-lead);
  font-weight: 600;
  max-width: 26ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}
.hero__facts {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 2px solid rgba(29, 29, 27, 0.18);
  font-size: 0.95rem;
  font-weight: 600;
}
.hero__facts li { display: flex; align-items: center; gap: 0.6rem; }
.hero__facts .icon { width: 1.1em; height: 1.1em; }

@media (min-width: 1200px) {
  /* the panel sits over the bright windows, leaving the real yellow logo wall visible on the left */
  .hero__wall {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(1.5rem, 5vh, 4.5rem);
    z-index: 2;
    width: min(620px, 43vw);
    border-radius: 2px;
  }
  .hero--wall .video-toggle { left: var(--gutter); right: auto; }
  .hero__wall-inner { padding: clamp(1.75rem, 2.4vw, 3rem); }
  .hero__place { margin-bottom: 0.75rem; }
  /* the headline also scales with the screen height so the wall never outgrows the video */
  .hero__title { font-size: clamp(2.75rem, min(4.6vw, 8.4vh), 5.5rem); max-width: 14ch; }
  .hero__lead { margin-top: 0.75rem; }
  .hero__actions { margin-top: clamp(1rem, 2.4vh, 1.75rem); }
  .hero__facts {
    grid-template-columns: repeat(3, auto);
    gap: 0.5rem 1.25rem;
    margin-top: clamp(1rem, 2.4vh, 1.75rem);
    padding-top: clamp(0.75rem, 1.8vh, 1.25rem);
    font-size: 0.875rem;
  }
}
@media (min-width: 1200px) {
  /* entrance video: the logo wall sits mid-frame, so the frame is shifted left to keep it clear of the panel */
  .hero--entree .hero__video, .hero--entree .hero__poster { inset: 0 auto 0 -16%; width: 116%; max-width: none; object-position: 50% 55%; }
}
@media (min-width: 1360px) {
  .hero__wall { right: calc((100vw - var(--container)) / 2); }
  .hero--wall .video-toggle { left: calc((100vw - var(--container)) / 2); }
}
@media (max-width: 1199px) {
  .hero__media { height: min(62svh, 560px); }
  .hero__video, .hero__poster { object-position: 30% 50%; }
}
@media (min-width: 700px) and (max-width: 1199px) {
  .hero__wall-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 5vw, 4rem);
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-block: 3rem;
  }
  .hero__wall-inner > * { grid-column: 1; }
  .hero__facts {
    grid-column: 2;
    grid-row: 2 / span 3;
    align-self: end;
    margin: 0;
    padding: 0 0 0 1.5rem;
    border-top: 0;
    border-left: 2px solid rgba(29, 29, 27, 0.18);
    gap: 0.75rem;
  }
}

/* the one orchestrated moment: the yellow wall paints itself in */
.js .hero__wall { clip-path: inset(100% 0 0 0); }
.js .hero__wall-inner > * { opacity: 0; transform: translateY(14px); }
.is-loaded .hero__wall {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.9s var(--ease-paint);
}
.is-loaded .hero__wall-inner > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.is-loaded .hero__wall-inner > *:nth-child(1) { transition-delay: 0.55s; }
.is-loaded .hero__wall-inner > *:nth-child(2) { transition-delay: 0.62s; }
.is-loaded .hero__wall-inner > *:nth-child(3) { transition-delay: 0.72s; }
.is-loaded .hero__wall-inner > *:nth-child(4) { transition-delay: 0.82s; }
.is-loaded .hero__wall-inner > *:nth-child(5) { transition-delay: 0.9s; }

/* ---------- Hero 4 : la photo (maquette validée) ---------- */

.hero--photo { position: relative; overflow: hidden; color: var(--white); --focus: var(--yellow); }
.hero-photo__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero-photo__scrim {
  position: absolute;
  inset: 0;
  /* keeps the white text readable on the dark wall side, lets the yellow wall shine on the right */
  background:
    linear-gradient(90deg, rgba(20, 20, 19, 0.86) 0%, rgba(20, 20, 19, 0.7) 30%, rgba(20, 20, 19, 0.18) 52%, rgba(20, 20, 19, 0) 64%),
    linear-gradient(0deg, rgba(20, 20, 19, 0.72) 0%, rgba(20, 20, 19, 0) 26%);
}
.hero-photo__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(2.5rem, 6vh, 4.5rem);
  min-height: clamp(560px, calc(100svh - var(--header-h) - 110px), 720px);
  padding-top: clamp(3rem, 8vh, 6rem);
  padding-bottom: 1.5rem;
}
.hero-photo__copy { max-width: 36rem; }
.hero-photo__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 1.6rem + 4.6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.hero-photo__eyebrow {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-text);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.hero-photo__line { display: block; }
.hero-photo__line--yellow { color: var(--yellow); }
.hero-photo__lead { margin-top: 1.25rem; max-width: 28rem; font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.92); }
.hero-photo__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 2rem; }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.85); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }
.hero-photo__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.hero-photo__facts li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.25rem 1rem;
  font-weight: 600;
  font-size: 1.05rem;
}
.hero-photo__facts li:first-child { justify-content: flex-start; padding-left: 0; }
.hero-photo__facts li + li { border-left: 1px solid rgba(255, 255, 255, 0.3); }
.hero-photo__facts .icon { width: 30px; height: 30px; stroke-width: 1.6; }
@media (max-width: 799px) {
  .hero-photo__bg { object-position: 32% 50%; }
  .hero-photo__scrim { background: linear-gradient(0deg, rgba(20, 20, 19, 0.92) 0%, rgba(20, 20, 19, 0.74) 55%, rgba(20, 20, 19, 0.35) 100%); }
  .hero-photo__inner { min-height: 0; padding-top: 4rem; gap: 2.5rem; }
  .hero-photo__actions .btn { flex: 1 1 100%; }
  .hero-photo__facts { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .hero-photo__facts li { justify-content: flex-start; padding: 0; font-size: 1rem; }
  .hero-photo__facts li + li { border-left: 0; }
  .hero-photo__facts .icon { width: 24px; height: 24px; }
}
.js .hero--photo .hero-photo__copy > * { opacity: 0; transform: translateY(16px); }
.is-loaded .hero--photo .hero-photo__copy > * { opacity: 1; transform: none; transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out); }
.is-loaded .hero--photo .hero-photo__copy > :nth-child(2) { transition-delay: 0.1s; }
.is-loaded .hero--photo .hero-photo__copy > :nth-child(3) { transition-delay: 0.2s; }

/* ---------- Hero 2 : l'entrée (vidéo plein écran, texte blanc) ---------- */

.hero--cinema .hero__media { height: clamp(600px, calc(100svh - var(--header-h)), 980px); }
.hero--cinema .hero__video, .hero--cinema .hero__poster { object-position: 50% 50%; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* functional: keeps the white text readable over the bright room */
  background:
    linear-gradient(90deg, rgba(20, 20, 19, 0.8) 0%, rgba(20, 20, 19, 0.5) 38%, rgba(20, 20, 19, 0) 68%),
    linear-gradient(0deg, rgba(20, 20, 19, 0.55) 0%, rgba(20, 20, 19, 0) 45%);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.5rem, 7vh, 5.5rem);
}
.hero--cinema .hero__copy { max-width: 40rem; color: var(--white); --focus: var(--yellow); }
.hero--cinema .hero__title { font-size: clamp(2.9rem, min(5.4vw, 9vh), 6rem); max-width: 13ch; }
.hero--cinema .hero__lead { color: rgba(255, 255, 255, 0.9); }
.hero--cinema .hero__place { color: rgba(255, 255, 255, 0.85); }
.hero--cinema .link-arrow { color: var(--white); }
.hero--cinema .hero__facts { border-top-color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.88); }
.hero--cinema .video-toggle { z-index: 4; }
@media (min-width: 1100px) {
  .hero--cinema .hero__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.9rem; }
  .hero--cinema .hero__facts li { white-space: nowrap; }
}
@media (max-width: 799px) {
  .hero__scrim { background: linear-gradient(0deg, rgba(20, 20, 19, 0.88) 0%, rgba(20, 20, 19, 0.6) 55%, rgba(20, 20, 19, 0.15) 85%); }
  .hero--cinema .hero__video, .hero--cinema .hero__poster { object-position: 62% 50%; }
  .hero--cinema .hero__media { height: max(640px, calc(100svh - var(--header-h))); }
}

/* ---------- Hero 3 : la vitrine (fond noir, vidéo derrière la porte vitrée) ---------- */

.hero--vitrine {
  padding-block: clamp(2.5rem, 5vh, 4.5rem) clamp(3rem, 7vh, 6rem);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  --focus: var(--yellow);
}
.hero__split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1100px) {
  .hero__split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; min-height: calc(100svh - var(--header-h) - 8rem); }
}
.hero--vitrine .hero__title { font-size: clamp(2.9rem, min(5vw, 9vh), 5.75rem); max-width: 13ch; color: var(--white); }
.hero--vitrine .hero__place, .hero--vitrine .hero__lead { color: var(--muted-dark); }
.hero--vitrine .link-arrow { color: var(--white); }
.hero--vitrine .hero__facts { border-top-color: var(--line-dark); color: var(--muted-dark); }
@media (min-width: 1100px) { .hero--vitrine .hero__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.875rem; } .hero--vitrine .hero__facts li { white-space: nowrap; } }
.hero__window { position: relative; padding: 0 0 2.5rem 2.5rem; }
.hero__frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - var(--header-h) - 8rem);
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--line-dark);
}
.hero__frame .hero__video, .hero__frame .hero__poster { object-position: 32% 50%; }
.hero__sign {
  position: absolute;
  top: 0; right: 1.25rem;
  z-index: 2;
  writing-mode: vertical-rl;
  padding: 1.1rem 0.55rem;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  line-height: 1;
}
.hero__frame .video-toggle { right: 1rem; left: auto; bottom: 1rem; z-index: 3; }
.hero__bars { position: absolute; left: 0; bottom: 0; z-index: 3; width: clamp(110px, 13vw, 200px); height: auto; }
.hero__bar { transform-box: fill-box; transform-origin: 50% 100%; }
@media (max-width: 1099px) {
  .hero__frame { aspect-ratio: 4 / 3; max-height: none; }
  .hero__window { padding: 0 0 1.5rem 1.5rem; }
}

/* entrances of heroes 2 and 3: the copy rises, the glass bars grow like on the meeting-room door */
.js .hero--cinema .hero__copy > *, .js .hero--vitrine .hero__copy > * { opacity: 0; transform: translateY(16px); }
.is-loaded .hero--cinema .hero__copy > *, .is-loaded .hero--vitrine .hero__copy > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out);
}
.is-loaded .hero--cinema .hero__copy > :nth-child(2), .is-loaded .hero--vitrine .hero__copy > :nth-child(2) { transition-delay: 0.08s; }
.is-loaded .hero--cinema .hero__copy > :nth-child(3), .is-loaded .hero--vitrine .hero__copy > :nth-child(3) { transition-delay: 0.16s; }
.is-loaded .hero--cinema .hero__copy > :nth-child(4), .is-loaded .hero--vitrine .hero__copy > :nth-child(4) { transition-delay: 0.24s; }
.is-loaded .hero--cinema .hero__copy > :nth-child(5), .is-loaded .hero--vitrine .hero__copy > :nth-child(5) { transition-delay: 0.32s; }
.js .hero__bar { transform: scaleY(0); }
.is-loaded .hero__bar { transform: scaleY(1); transition: transform 0.9s var(--ease-paint) calc(0.3s + var(--i) * 70ms); }

/* sélecteur de hero (aperçu uniquement) */
.hero-switch {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.3rem 0.3rem 0.9rem;
  background: var(--ink);
  color: var(--muted-dark);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  font-size: 0.875rem;
  font-weight: 700;
  --focus: var(--yellow);
}
.hero-switch span:first-child { margin-right: 0.35rem; }
.hero-switch a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.hero-switch a:hover { background: var(--ink-2); }
.hero-switch a[aria-current="page"] { background: var(--yellow); color: var(--ink); }
@media (max-width: 1023px) { .hero-switch { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* ---------- Une journée ---------- */

.day {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background: var(--ink);
  color: var(--paper);
  --focus: var(--yellow);
}
.day__body {
  display: grid;
  grid-template-areas: "head" "stage" "info" "time";
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
.day__head { grid-area: head; }
.day__stage { grid-area: stage; }
.day__info { grid-area: info; container-type: inline-size; }
.day .timeline { grid-area: time; }
@media (min-width: 1100px) {
  .day__body {
    grid-template-areas: "head stage" "info stage" "time time";
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 1.5rem clamp(2.5rem, 4vw, 4.5rem);
  }
  .day__info { align-self: end; }
}
.day__title {
  font-size: clamp(2.1rem, 1.5rem + 2vw, 3.5rem);
  max-width: 12ch;
}
.day__intro {
  margin-top: 0.75rem;
  color: var(--muted-dark);
  max-width: 30rem;
}
.day__stage {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
}

/* scroll-driven mode (added by JS): the section is pinned and scrolling walks through the day */
.day.is-scroll { height: 340svh; padding: 0; }
.day.is-scroll .day__sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.day.is-scroll .day__body {
  height: 100%;
  padding-block: clamp(1rem, 3.5vh, 2.75rem);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}
.day.is-scroll .day__stage { aspect-ratio: auto; min-height: 0; height: 100%; }
@media (min-width: 1100px) {
  .day.is-scroll .day__body { grid-template-rows: auto minmax(0, 1fr) auto; }
}
@media (max-width: 1023px) {
  /* the mobile action bar covers the bottom 72px */
  .day.is-scroll .day__sticky { height: calc(100svh - var(--header-h) - 72px); }
  .day.is-scroll .day__intro { display: none; }
}
.day.is-scroll .timeline__fill,
.day.is-scroll .timeline__handle { transition: box-shadow 0.2s; }
.day__frame {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 1.6s var(--ease-out);
}
.day__frame.is-active { opacity: 1; transform: scale(1); }

.day__mood {
  font-family: var(--font-display);
  font-weight: 900;
  /* sized from its own column so "Conviviale" never gets cut */
  font-size: min(5.75rem, 21cqi);
  line-height: 0.9;
  white-space: nowrap;
  color: var(--yellow);
  height: 1em;
  overflow: hidden;
}
@media (max-width: 1099px) { .day__mood { font-size: min(4rem, 15cqi); } }
.day__mood-word { display: inline-block; transition: transform 0.35s var(--ease-out), opacity 0.35s; }
.day__mood-word.is-leaving { transform: translateY(-60%); opacity: 0; }
.day__mood-word.is-entering { transform: translateY(60%); opacity: 0; transition: none; }

.day__panels { margin-top: 0.75rem; min-height: 4.5rem; }
.day__panel h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.75rem);
  line-height: 1.1;
}
.day__panel p { margin-top: 0.35rem; color: var(--muted-dark); }
.day__panel.is-active { animation: panel-in 0.45s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }

.timeline { position: relative; padding-top: 0.5rem; }
.timeline__track {
  position: relative;
  height: 4px;
  margin: 0 calc(10% - 0px);
  background: var(--line-dark);
  border-radius: 2px;
  cursor: pointer;
  touch-action: none;
}
.timeline__track::before {
  content: "";
  position: absolute;
  inset: -18px 0;
}
.timeline__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--yellow);
  border-radius: 2px;
}
.timeline__handle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(246, 204, 66, 0.22);
  cursor: grab;
  transition: box-shadow 0.2s;
}
.timeline.is-dragging .timeline__handle { cursor: grabbing; box-shadow: 0 0 0 10px rgba(246, 204, 66, 0.28); }
.timeline:not(.is-dragging) .timeline__fill,
.timeline:not(.is-dragging) .timeline__handle { transition: left 0.45s var(--ease-out), width 0.45s var(--ease-out), box-shadow 0.2s; }
.timeline__stops {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 0.75rem;
}
.timeline__stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-height: 56px;
  padding: 0.5rem 0.25rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted-dark);
  transition: color 0.2s;
}
.timeline__stop:hover { color: var(--white); }
.timeline__stop[aria-selected="true"] { color: var(--white); }
.timeline__stop[aria-selected="true"] .timeline__time { color: var(--yellow); }
.timeline__time {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1;
  transition: color 0.2s;
}
.timeline__name { font-size: 0.875rem; }
@media (max-width: 600px) {
  .timeline__name { font-size: 0.75rem; }
}

/* ---------- Formules ---------- */

.offers { padding-block: var(--section); }

.tax-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  isolation: isolate;
}
.tax-toggle__btn {
  position: relative;
  z-index: 1;
  min-width: 72px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
}
.tax-toggle__thumb {
  position: absolute;
  z-index: 0;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--yellow);
  transition: transform 0.3s var(--ease-out);
}
.tax-toggle[data-mode="ttc"] .tax-toggle__thumb { transform: translateX(100%); }

.offers__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 760px) and (max-width: 1099px) {
  .offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers__grid .offer:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .offers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.offer__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.offer__img--right { object-position: 70% 50%; }
.offer:hover .offer__img { transform: scale(1.035); }
.offer__sign {
  position: absolute;
  top: 0; left: 1rem;
  z-index: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 0.9rem 0.45rem;
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.02em;
  border-radius: 0 0 2px 2px;
  transition: padding 0.35s var(--ease-out);
}
.offer:hover .offer__sign { padding-top: 1.4rem; }
.offer__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}
.offer__body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1;
}
.offer__body > p:not(.offer__price) { margin-top: 0.75rem; color: var(--muted); }
.offer__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem 0.4rem;
  margin-top: 1.5rem;
}
.offer__from { font-weight: 700; color: var(--muted); }
.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.offer__price .price { font-size: clamp(3.5rem, 2.8rem + 2vw, 4.5rem); line-height: 0.9; }
.price__unit { font-weight: 700; }
.price--inline { font-family: inherit; font-weight: 700; }
.offer__list {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.offer__list li { position: relative; padding-left: 1.4rem; }
.offer__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 0.65rem; height: 0.65rem;
  background: var(--yellow);
  border-radius: 1px;
}
.offer__body .btn { margin-top: auto; }

.carte { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.carte__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h3);
  margin-bottom: 1rem;
}
.carte__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.carte__list li:last-child { border-bottom: 1px solid var(--line); }
.carte__name { font-weight: 700; }
.carte__detail { color: var(--muted); font-size: 0.95rem; }
.carte__price { font-weight: 700; }
.carte__price .price { font-size: 1.6rem; }
@media (min-width: 760px) {
  .carte__list li { grid-template-columns: 14rem minmax(0, 1fr) auto; align-items: baseline; gap: 1.5rem; }
  .carte__price { text-align: right; }
}

/* ---------- Le lieu (visite) ---------- */

.place { padding-block: var(--section); background: var(--white); }
.carousel-controls { display: flex; gap: 0.75rem; }

.tour {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
@media (min-width: 1360px) {
  .tour { scroll-padding-inline: calc((100vw - var(--container)) / 2); }
}
.tour::-webkit-scrollbar { display: none; }
.tour.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.tour.is-dragging * { pointer-events: none; }
.tour:focus-visible { outline-offset: -3px; }
.tour__list {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: max-content;
  padding-inline: var(--gutter);
}
@media (min-width: 1360px) {
  .tour__list { padding-inline: calc((100vw - var(--container)) / 2); }
}
.room {
  position: relative;
  width: clamp(260px, 38vw, 540px);
  scroll-snap-align: start;
}
.room img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  user-select: none;
  -webkit-user-drag: none;
}
.room__sign {
  position: absolute;
  top: 0; right: 1rem;
  writing-mode: vertical-rl;
  padding: 1rem 0.5rem;
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  line-height: 1;
  border-radius: 0 0 2px 2px;
  transition: padding 0.35s var(--ease-out);
}
.room:hover .room__sign { padding-top: 1.6rem; }
.room__text { margin-top: 0.85rem; color: var(--muted); max-width: 32ch; }

.tour-progress {
  height: 3px;
  margin-top: 2rem;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.tour-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: left;
  transition: transform 0.15s linear;
}

/* ---------- Inclus ---------- */

.included { padding-block: var(--section); }
.included__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) {
  .included__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4rem; }
  .included__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 2rem 2.5rem;
}
.feature .icon {
  width: 48px; height: 48px;
  padding: 11px;
  border-radius: 4px;
  background: var(--yellow);
  stroke-width: 1.75;
}
.feature h3 { margin-top: 1rem; font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.feature p { margin-top: 0.35rem; color: var(--muted); }

/* ---------- Avis ---------- */

.reviews { padding-block: var(--section); background: var(--white); }
.reviews__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) {
  .reviews__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 4rem; align-items: start; }
}
.reviews__stars { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; font-weight: 600; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--yellow-strong); }
.stars .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.reviews__people { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.reviews__people button {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  transition: border-color 0.2s, background-color 0.2s;
}
.reviews__people button:hover { border-color: var(--ink); }
.reviews__people button[aria-selected="true"] { border-color: var(--yellow); background: var(--yellow); }
.reviews__quotes { position: relative; }
.quote blockquote { margin: 0; position: relative; padding-top: 3.5rem; }
.quote blockquote::before {
  content: "“";
  position: absolute;
  top: -1.25rem; left: -0.25rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 8rem;
  line-height: 1;
  color: var(--yellow);
}
.quote p {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  line-height: 1.35;
  font-weight: 600;
}
.quote figcaption { margin-top: 1.5rem; font-weight: 700; }
.quote.is-active { animation: panel-in 0.45s var(--ease-out); }

/* ---------- Domiciliation ---------- */

.domi { padding-block: var(--section); background: var(--petrol-soft); }
.domi__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .domi__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 5rem; } }
.domi__text > p:first-of-type { margin-top: 1rem; font-size: var(--fs-lead); max-width: 36rem; }
.checklist { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: 0.6rem; align-items: start; }
.checklist .icon { margin-top: 0.15em; color: var(--petrol); stroke-width: 2.5; }
.domi__prices { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 1.75rem 0 1.25rem; }
.domi__price { display: flex; align-items: baseline; gap: 0.4rem; }
.domi__price small { display: block; font-size: var(--fs-small); font-weight: 400; color: var(--muted); }
.domi__price .price { font-size: 3.5rem; line-height: 0.9; }
.domi__legal { margin-top: 1rem; font-size: var(--fs-small); color: var(--muted); }

.label-card {
  position: relative;
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  padding-top: calc(92px + 2.75rem); /* like an envelope: stamp top right, address below */
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(0, 63, 79, 0.45);
  transform: rotate(-2deg);
  transition: transform 0.5s var(--ease-out);
}
.label-card:hover { transform: rotate(0deg); }
.label-card__stamp {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  display: grid;
  place-items: center;
  width: 92px; height: 92px;
  background: var(--yellow);
  border: 3px dashed rgba(29, 29, 27, 0.35);
  border-radius: 2px;
}
.label-card__stamp img { width: 72px; }
.label-card__to { color: var(--muted); font-weight: 600; }
.label-card__address {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem);
  line-height: 1;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--line);
  border-radius: 4px;
  background: transparent;
  font-weight: 600;
  transition: border-color 0.2s, background-color 0.2s;
}
.copy-btn:hover { border-color: var(--ink); }
.copy-btn .icon--done { display: none; color: var(--petrol); }
.copy-btn.is-done { border-color: var(--petrol); background: var(--petrol-soft); }
.copy-btn.is-done .icon--copy { display: none; }
.copy-btn.is-done .icon--done { display: block; animation: pop 0.35s var(--ease-out); }
@keyframes pop { from { transform: scale(0.4); } }

/* ---------- Accès ---------- */

.access { padding-block: var(--section); }
.access__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .access__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; } }
.access__actions { margin-top: 1.75rem; }
.transit { display: grid; gap: 1rem; }
.transit li { display: flex; align-items: center; gap: 0.85rem; }
.transit__badge {
  display: grid;
  place-items: center;
  min-width: 44px; height: 44px;
  padding-inline: 0.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}
.transit__badge .icon { width: 20px; height: 20px; }
.nearby li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.nearby li:first-child { border-top: 1px solid var(--line); }
.nearby li span:last-child { font-weight: 700; white-space: nowrap; }

/* ---------- Visite + formulaire ---------- */

.visit {
  padding-block: var(--section);
  background: var(--ink);
  color: var(--paper);
  --focus: var(--yellow);
}
.visit__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .visit__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 5rem; align-items: start; } }
.visit__lead { margin-top: 1rem; font-size: var(--fs-lead); color: var(--muted-dark); max-width: 30rem; }
.steps { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.steps li { display: flex; gap: 1rem; }
.steps__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
}
.steps h3 { font-size: 1.15rem; font-weight: 700; }
.steps p { margin-top: 0.25rem; color: var(--muted-dark); }
.visit__call { display: grid; gap: 0.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.visit__call p { color: var(--muted-dark); }
.visit__call a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  text-decoration: none;
}
.visit__call a:hover { color: var(--yellow); }
.visit__call a span { font-family: var(--font-text); font-weight: 400; font-size: 1rem; color: var(--muted-dark); }
.visit__call .icon { width: 22px; height: 22px; }

.form {
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  --focus: var(--petrol);
}
.form__fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 600px) {
  .form__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full, .form__submit, .form__note { grid-column: 1 / -1; }
}
.field label { display: block; margin-bottom: 0.4rem; font-weight: 700; font-size: 0.95rem; }
.field__optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231D1D1B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(0, 105, 131, 0.25);
}
.field.is-invalid input { border-color: var(--error); }
.field.is-valid input { border-color: var(--petrol); }
.field__error { min-height: 0; margin-top: 0.35rem; font-size: var(--fs-small); color: var(--error); font-weight: 600; }
.field__error:empty { display: none; }
.form__submit { margin-top: 0.25rem; }
.form__submit.is-loading span { opacity: 0.5; }
.form__note { font-size: var(--fs-small); color: var(--muted); }
.form__success { padding: 2.5rem 0.5rem; text-align: center; }
.form__success:focus { outline: none; }
.form__success-icon {
  display: inline-grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pop 0.45s var(--ease-out);
}
.form__success-icon .icon { width: 36px; height: 36px; stroke-width: 2.5; }
.form__success h3 { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h3); }
.form__success p { margin-top: 0.5rem; color: var(--muted); }

/* ---------- Footer ---------- */

.footer {
  padding-block: 4rem 2rem;
  background: var(--ink);
  color: var(--muted-dark);
  border-top: 1px solid var(--line-dark);
  --focus: var(--yellow);
}
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand img { width: 168px; }
.footer__brand p { margin-top: 1rem; max-width: 22rem; }
.footer__title { font-family: var(--font-text); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; letter-spacing: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer ul { display: grid; gap: 0.25rem; }
.footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
.footer address + p { margin-top: 0.5rem; }
.footer address + p a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: var(--fs-small); }

/* ---------- Barre mobile ---------- */

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--ink);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease-out);
  --focus: var(--yellow);
}
.mobile-bar.is-visible { transform: none; }
@media (max-width: 1023px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 72px; }
}

/* ---------- Liens « voir plus » et compléments de l'accueil ---------- */

.section-more { margin-top: 2rem; }
.domi__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.offer__link { text-decoration: none; }
.offer__link::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.offer__link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.offer__actions { display: grid; gap: 0.5rem; justify-items: center; margin-top: auto; position: relative; z-index: 1; }
.offer__actions .btn { margin-top: 0; }
.offers__grid--two { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .offers__grid.offers__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .offers__grid--two .offer:last-child { grid-column: auto; } }
.carte__name { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.carte__name:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.menu-mobile__sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
  margin-top: 1rem;
}
.menu-mobile__sub a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted-dark);
  text-decoration: none;
  gap: 0.6rem;
  font-weight: 600;
}
.menu-mobile__sub .icon { width: 0.8em; height: 0.8em; flex: none; }
.menu-mobile__sub a:hover { color: var(--yellow); }
.menu-mobile [aria-current="page"] { color: var(--yellow); }

.footer__brand address { margin-top: 1.25rem; color: var(--paper); }
.footer__contact { display: grid; gap: 0; margin-top: 0.5rem; }
.footer__contact a { display: inline-flex; align-items: center; min-height: 40px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
.footer__bottom ul { display: flex; gap: 1.5rem; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Pages intérieures ---------- */

.page-hero {
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(3rem, 2rem + 3vw, 5rem);
  background: var(--paper);
}
.page-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; }
  .page-hero--text .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 1.7rem + 3.6vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  max-width: 16ch;
}
.page-hero--text h1 { max-width: 22ch; }
.page-hero__lead { margin-top: 1.25rem; font-size: var(--fs-lead); color: var(--muted); max-width: 34rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.page-hero__media { position: relative; }
.page-hero__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.page-hero__sign {
  position: absolute;
  top: 0; right: 1.25rem;
  writing-mode: vertical-rl;
  padding: 1.1rem 0.55rem;
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  line-height: 1;
}
/* the one moment on inner pages: the yellow wall slides in behind the photo */
.page-hero__media::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  z-index: -1;
  background: var(--yellow);
  border-radius: var(--radius);
}
.page-hero__media { isolation: isolate; }
.js .page-hero__media::before { transform: translate(-1.25rem, -1.25rem); }
.is-loaded .page-hero__media::before { transform: none; transition: transform 0.8s var(--ease-paint) 0.15s; }
@media (max-width: 999px) { .page-hero__media::before { inset: 0.75rem -0.75rem -0.75rem 0.75rem; } }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: var(--fs-small); color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; font-weight: 600; color: var(--ink); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.section--petrol { background: var(--petrol-soft); }

/* texte + encadré prix (pages d'offre) */
.detail { display: grid; gap: 3rem; }
@media (min-width: 1000px) {
  .detail { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 5rem; align-items: start; }
  .price-card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.prose { max-width: 40rem; }
.prose h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 1rem; }
.prose h2:not(:first-child) { margin-top: 3.5rem; }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.5rem; }
.prose p + p { margin-top: 1rem; }
.prose p { color: var(--ink); }
.prose .lead { font-size: var(--fs-lead); font-weight: 600; }
.prose ul:not(.checklist):not(.features):not(.members) { margin-top: 1rem; display: grid; gap: 0.5rem; }
.prose ul:not(.checklist):not(.features):not(.members) li { position: relative; padding-left: 1.4rem; }
.prose ul:not(.checklist):not(.features):not(.members) li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.6rem; height: 0.6rem; background: var(--yellow); border-radius: 1px; }
.prose a { font-weight: 700; text-underline-offset: 0.2em; }
.prose .features { margin-top: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }

.price-card {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.price-card__name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.price-card .tax-toggle__btn { min-width: 56px; }
.price-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.4rem; margin: 1.25rem 0; }
.price-card__price .price { font-size: clamp(3.75rem, 3rem + 2vw, 4.75rem); line-height: 0.9; }
.price-card__options { margin-bottom: 1.25rem; border-top: 1px solid var(--line); }
.price-card__options li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.price-card__options small { display: block; font-weight: 400; color: var(--muted); font-size: 0.875rem; }
.price-card__options .price { font-size: 1.15rem; }
.price-card .checklist { margin: 0 0 1.5rem; }
.price-card__alt { margin-top: 0.75rem; display: flex; justify-content: center; }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.5rem; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.gallery img:first-child { grid-column: 1 / -1; }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } .split--flip > :first-child { order: 2; } }
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

/* cartes de liens (services à la carte, pages liées) */
.link-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s var(--ease-out);
}
.link-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.link-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.link-card p { color: var(--muted); }
.link-card .link-card__price { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--ink); }
.link-card .link-card__price .price { font-size: 1.75rem; }

/* tableau comparatif */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare-wrap:focus-visible { outline-offset: 2px; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 0.9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.05; background: var(--paper); }
.compare thead th a { text-decoration: none; }
.compare thead th a:hover { text-decoration: underline; }
.compare tbody th { font-weight: 700; width: 10rem; color: var(--muted); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .price { font-size: 1.6rem; }
.compare td .btn { white-space: nowrap; }
.table-note { margin-top: 1rem; font-size: var(--fs-small); color: var(--muted); }

/* FAQ en accordéon */
.faq { padding-block: var(--section); background: var(--white); }
.faq__grid { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4rem; } }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); transition: transform 0.3s var(--ease-out); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 1px; }
.faq__icon::after { transform: rotate(90deg); transition: transform 0.3s var(--ease-out); }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 3rem 1.5rem 0; color: var(--muted); max-width: 44rem; }
.faq__answer p + p { margin-top: 0.75rem; }
.faq__answer a { color: var(--ink); font-weight: 700; }
.faq__item[open] .faq__answer { animation: panel-in 0.35s var(--ease-out); }

/* bandeau d'appel */
.cta-band { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); background: var(--ink); color: var(--paper); --focus: var(--yellow); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem 3rem; }
.cta-band p { margin-top: 0.75rem; color: var(--muted-dark); font-size: var(--fs-lead); max-width: 34rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* étapes et contacts sur fond clair */
.steps--light .steps__num { background: var(--ink); color: var(--yellow); }
.steps--light p { color: var(--muted); }
.visit__call--light { border-top-color: var(--line); }
.visit__call--light p, .visit__call--light a span { color: var(--muted); }
.visit__call--light a:hover { color: var(--petrol); }

/* messages après envoi */
.notice {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
}
.notice:focus { outline: none; }
.notice .icon { margin-top: 0.1em; }
.notice--ok { background: var(--petrol-soft); color: #00495C; }
.notice--warn { background: #FDECEA; color: var(--error); }
.form__note--demo { grid-column: 1 / -1; padding: 0.75rem 1rem; background: var(--yellow-soft); border-radius: 4px; color: var(--ink); }

/* coworkers */
.members { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); }
.member { position: relative; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--line); transition: transform 0.4s var(--ease-out); }
.member a { text-decoration: none; }
.member a::after { content: ""; position: absolute; inset: 0; }
.member:hover img { transform: translateY(-3px); }
.member h3 { margin-top: 0.75rem; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.member:hover h3 { text-decoration: underline; text-underline-offset: 0.2em; }
.member p { color: var(--muted); font-size: 0.95rem; }

.members--founders { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }

.profile { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 800px) { .profile { grid-template-columns: 280px minmax(0, 1fr); gap: 4rem; } }
.profile__photo { width: 100%; max-width: 280px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.profile__links { display: grid; gap: 0.25rem; margin-top: 1.5rem; }
.profile__links a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-weight: 700; word-break: break-all; }
.profile__empty { color: var(--muted); font-style: italic; }

/* page contact */
.contact-address { margin-top: 1rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); line-height: 1; }
.contact-hours { margin-top: 2rem; }
.contact-hours .icon { color: var(--petrol); }
.nearby__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }

/* blocs « à compléter » (pages légales) */
.todo { background: var(--yellow-soft); padding: 0 0.3em; border-radius: 2px; font-weight: 700; }

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .hero__wall { clip-path: none; }
  .js .hero__wall-inner > * { opacity: 1; transform: none; }
  .js .page-hero__media::before { transform: none; }
  .js .hero--cinema .hero__copy > *, .js .hero--vitrine .hero__copy > * { opacity: 1; transform: none; }
  .js .hero__bar { transform: none; }
  .js .hero--photo .hero-photo__copy > * { opacity: 1; transform: none; }
  .label-card { transform: none; }
}
