/* ==========================================================
   ATELIER LEVALLOIS — Feuille de style principale
   Refonte 2026 : grotesque large (Archivo), gris béton neutre,
   rouge de marque unique, rythme suisse. Même structure HTML.
   ========================================================== */

/* ----------------------------------------------------------
   1. Design tokens
   ---------------------------------------------------------- */
:root {
  /* Marque : un seul accent, le rouge de l'enseigne */
  --color-red:        #D7263D;
  --color-red-ink:    #C81E36;   /* texte rouge sur fond clair (AA) */
  --color-red-deep:   #B81A31;   /* survol / pression */
  --color-red-glow:   #FF5A6E;   /* rouge néon, uniquement sur fond nuit */
  --color-red-bright: #F0364F;   /* rouge sur photo sombre (hero) */
  --color-red-soft:   rgba(215, 38, 61, 0.09);
  --color-red-shadow: rgba(184, 26, 49, 0.30);

  /* Neutres : une seule famille de gris, légèrement froide (béton) */
  --color-white:      #FCFCFA;
  --color-paper:      #F5F5F2;   /* fond de page */
  --color-cream:      #EBEBE7;   /* teinte de section */
  --color-stone:      #DEDED9;
  --color-line:       rgba(17, 18, 20, 0.12);
  --color-line-strong: rgba(17, 18, 20, 0.24);
  --color-gray-200:   #D2D3D0;
  --color-gray-400:   #9A9CA1;
  --color-gray-500:   #5F6166;
  --color-gray-700:   #3A3C40;
  --color-anthracite: #111214;
  --color-night:      #0F1012;
  --color-night-2:    #17181B;

  /* Texte sur fond nuit */
  --on-night:      #EDEDEA;
  --on-night-2:    #A5A7AC;
  --on-night-line: rgba(237, 237, 234, 0.14);

  /* Typographie */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-sans:    'Archivo', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-serif:   var(--font-display); /* alias conservé pour boutique.css / covering.css */
  --stretch-display: 116%;

  /* Espacements */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  20px;
  --s-6:  24px;
  --s-8:  32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;
  --section-y: clamp(80px, 9vw, 136px);

  /* Mise en page */
  --max-w: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 72px;

  /* Formes : pilule pour ce qui se clique, 14 px pour les surfaces,
     8 px pour les champs, 22 px pour les grands panneaux. */
  --r-pill: 999px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --radius-image: var(--r-md);

  /* Ombres teintées (jamais de noir pur) */
  --shadow-sm: 0 1px 2px rgba(17, 18, 20, 0.06), 0 2px 8px -2px rgba(17, 18, 20, 0.08);
  --shadow-md: 0 18px 40px -18px rgba(17, 18, 20, 0.28);
  --shadow-lg: 0 40px 90px -30px rgba(10, 11, 12, 0.55);

  /* Calques */
  --z-header: 100;
  --z-dropdown: 101;
  --z-menu: 110;
  --z-drawer: 120;
  --z-modal: 200;
  --z-skip: 300;

  /* Mouvement */
  --ease-out:  cubic-bezier(0.22, 0.8, 0.24, 1);
  --ease-emph: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root { --ease-out: linear; --ease-emph: linear; }
}

/* ----------------------------------------------------------
   2. Reset & base
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-anthracite);
  background: var(--color-paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-image); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; padding: 0; color: inherit; }
ul, ol { list-style: none; }
hr { border: 0; border-top: 1px solid var(--color-line); margin: 0; }
::selection { background: var(--color-red); color: #fff; }

/* ----------------------------------------------------------
   3. Typographie
   ---------------------------------------------------------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--color-anthracite);
  text-wrap: balance;
}
.display { font-size: clamp(2.3rem, 4.8vw, 4.4rem); }
h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 620; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }

/* Mise en valeur : couleur de marque, jamais d'italique d'une autre famille */
.acc, .accent { color: var(--color-red-ink); font-style: normal; }
:where(h1, h2, h3, .display) [style*="italic"] { font-style: normal !important; color: var(--color-red-ink) !important; }

.italic { font-style: italic; }
.serif  { font-family: var(--font-display); }
.sans   { font-family: var(--font-sans); }

/* Les sur-titres en capitales espacées au-dessus de chaque section sont
   retirés : le titre suffit. Seuls les blocs métiers gardent le leur,
   rendu comme une rubrique (voir section 11). */
.eyebrow { display: none; }

.lede {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.55;
  color: var(--color-gray-700);
  max-width: 56ch;
}

p { color: var(--color-gray-700); max-width: 64ch; text-wrap: pretty; }

/* Décor éditorial retiré (libellés verticaux, grands numéros détourés) */
.vlabel, .big-num { display: none; }

/* ----------------------------------------------------------
   4. Layout helpers
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.page-section { padding: var(--section-y) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 96px) 0; }
.section--dark { background: var(--color-night); color: var(--on-night); }
.section--dark .display, .section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-night); }
.section--dark p { color: var(--on-night-2); }
.section--cream { background: var(--color-cream); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ----------------------------------------------------------
   5. Boutons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 0.9375rem; line-height: 1;
  letter-spacing: -0.005em;
  text-transform: none;
  white-space: nowrap;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  position: relative;
  will-change: transform;
}
.btn .arrow { display: inline-flex; transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.985); }

.btn--primary {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-red-deep);
  border-color: var(--color-red-deep);
  box-shadow: 0 14px 30px -12px var(--color-red-shadow);
}

/* Bouton secondaire sur photo ou fond nuit */
.btn--ghost,
.btn--ghost-light {
  background: rgba(12, 13, 15, 0.3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover, .btn--ghost:focus-visible,
.btn--ghost-light:hover, .btn--ghost-light:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Bouton secondaire sur fond clair */
.btn--outline {
  background: transparent;
  color: var(--color-anthracite);
  border-color: var(--color-line-strong);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--color-anthracite);
  border-color: var(--color-anthracite);
  color: var(--color-white);
}

/* Bouton clair sur fond rouge ou nuit */
.btn--white {
  background: var(--color-white);
  color: var(--color-anthracite);
  border-color: var(--color-white);
}
.btn--white:hover, .btn--white:focus-visible {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.45);
}

.btn--full { width: 100%; }

.btn--icon {
  width: 48px; height: 48px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn--icon svg { width: 20px; height: 20px; }

.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* Aimant : le bouton suit légèrement le curseur (géré en JS) */
.magnetic { display: inline-block; will-change: transform; }

/* ----------------------------------------------------------
   6. Header — transparent sur la photo, papier au défilement
   ---------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex; align-items: center;
  color: #fff;
  background: transparent;
  isolation: isolate;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), height 0.35s var(--ease-out);
}
/* voile dégradé pour garder le menu lisible sur n'importe quelle photo */
.header::before {
  content: '';
  position: absolute; inset: 0 0 -32px;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.6), rgba(8, 9, 10, 0));
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.35s var(--ease-out);
}
.header.is-condensed { height: 64px; }
.header > .container { width: 100%; }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px, 2vw, 32px);
  flex-wrap: nowrap;
  max-width: var(--max-w);
}
.header__brand {
  position: relative;
  display: inline-block;
  color: inherit;
  line-height: 0;
  flex-shrink: 0;
}
.header__logo {
  height: clamp(30px, 2.5vw, 38px);
  width: auto;
  aspect-ratio: 587 / 130;
  max-width: none;
  display: block;
  object-fit: contain;
  border-radius: 0;
  transition: opacity 0.3s var(--ease-out);
}
@media (max-width: 767px) { .header__logo { height: 30px; } }

.header__logo--light { position: relative; }
.header__logo--dark {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  opacity: 0;
}

/* Navigation */
.nav-list { display: none; align-items: center; gap: clamp(14px, 1.5vw, 26px); }
@media (min-width: 1280px) { .nav-list { display: flex; } }

.nav-link {
  position: relative;
  display: inline-flex; align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  padding: 8px 0;
  color: inherit;
  white-space: nowrap;
  opacity: 0.88;
  transition: opacity 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { opacity: 1; }
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 1px;
  height: 2px; border-radius: 2px; background: var(--color-red);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.dropdown { position: relative; }
.dropdown > .nav-link { gap: 7px; }
.dropdown > .nav-link::before {
  content: '';
  order: 1;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s var(--ease-out);
}
.dropdown:hover > .nav-link::before,
.dropdown:focus-within > .nav-link::before { transform: translateY(1px) rotate(-135deg); }

.dropdown__menu {
  position: absolute; top: calc(100% + 10px); left: -14px;
  min-width: 232px;
  z-index: var(--z-dropdown);
  background: var(--color-white);
  padding: 6px;
  border: 1px solid var(--color-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
}
/* pont invisible pour ne pas perdre le survol entre le lien et le menu */
.dropdown__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dropdown:hover .dropdown__menu, .dropdown:focus-within .dropdown__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__menu a {
  display: block;
  padding: 10px 12px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: -0.005em;
  color: var(--color-anthracite);
  border-radius: var(--r-sm);
  transition: background-color 0.2s, color 0.2s;
}
.dropdown__menu a:hover, .dropdown__menu a:focus-visible { background: var(--color-paper); color: var(--color-red-ink); }

.header__cta { display: none; align-items: center; gap: 10px; flex-shrink: 0; }
@media (min-width: 1280px) { .header__cta { display: inline-flex; } }
.header__cta .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}
.header__phone { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 0.875rem; font-weight: 500; color: inherit; }
.header__phone svg { width: 14px; height: 14px; }

/* Bouton contour du header : lisible sur la photo */
.header:not(.is-light) .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.04);
}
.header:not(.is-light) .btn--outline:hover,
.header:not(.is-light) .btn--outline:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Burger */
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: inherit;
  border-radius: var(--r-pill);
  transition: background-color 0.2s;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.1); }
.menu-toggle svg { width: 24px; height: 24px; }
@media (min-width: 1280px) { .menu-toggle { display: none; } }

/* État clair : après défilement, ou d'emblée sur les pages sans photo en tête */
.header.is-light,
body:not(:has(main > .hero:first-child)) .header {
  background: rgba(245, 245, 242, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  color: var(--color-anthracite);
  box-shadow: 0 1px 0 var(--color-line);
}
.header.is-light::before,
body:not(:has(main > .hero:first-child)) .header::before { opacity: 0; }
.header.is-light .header__logo--light,
body:not(:has(main > .hero:first-child)) .header .header__logo--light { opacity: 0; }
.header.is-light .header__logo--dark,
body:not(:has(main > .hero:first-child)) .header .header__logo--dark { opacity: 1; }
.header.is-light .menu-toggle:hover,
body:not(:has(main > .hero:first-child)) .header .menu-toggle:hover { background: rgba(17, 18, 20, 0.06); }
body:not(:has(main > .hero:first-child)) .header .btn--outline {
  color: var(--color-anthracite);
  border-color: var(--color-line-strong);
  background: transparent;
}

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--color-paper);
  padding: calc(var(--header-h) + 8px) var(--gutter) var(--gutter);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease-emph), visibility 0.5s;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu__close {
  position: fixed; top: 14px; right: 14px;
  width: 44px; height: 44px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-anthracite);
  border-radius: var(--r-pill);
  background: var(--color-cream);
}
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-menu__list { display: flex; flex-direction: column; margin-top: var(--s-4); }
.mobile-menu__list a.top {
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: 620;
  letter-spacing: -0.025em;
  font-size: clamp(1.6rem, 6.4vw, 2.2rem);
  line-height: 1.1;
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
}
.mobile-menu__sub { padding: 10px 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-menu__sub a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--color-gray-700);
  padding: 8px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--r-pill);
  background: var(--color-white);
}
.mobile-menu__cta { display: flex; flex-direction: column; align-items: stretch; gap: var(--s-3); margin-top: auto; padding-top: var(--s-10); }

/* ----------------------------------------------------------
   7. HERO — photo pleine page, texte en surimpression
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  background: var(--color-night);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 1023px) { .hero { isolation: unset; } }

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img,
.hero__bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.06);
  animation: hero-img 1.6s var(--ease-out) 0.1s forwards;
}
.hero__bg video { transform: none; animation: none; }
@keyframes hero-img { to { transform: scale(1); } }

.hero__bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 11, 12, 0.55) 0%, rgba(10, 11, 12, 0.18) 38%, rgba(10, 11, 12, 0.72) 100%),
    linear-gradient(90deg, rgba(10, 11, 12, 0.82) 0%, rgba(10, 11, 12, 0.45) 48%, rgba(10, 11, 12, 0.12) 100%);
}

.hero__content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--header-h) + 56px) var(--gutter) clamp(48px, 6vw, 88px);
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
}
/* Texte vertical dans la marge gauche du hero */
.hero__vlabel {
  position: absolute; top: 50%; left: clamp(8px, 1.2vw, 18px);
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  pointer-events: none;
}
/* accueil : le contenu est déjà dans un .container, on remonte dans la gouttière */
.hero__inner .hero__vlabel { left: calc(-1 * var(--gutter) + clamp(8px, 1.2vw, 18px)); }
@media (max-width: 899px) { .hero__vlabel { display: none; } }

.hero__copy { position: relative; max-width: 780px; }

/* Surtitre du hero : capitales rouges et point rouge lumineux qui clignote */
.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; line-height: 1.9; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-red-bright);
  margin-bottom: var(--s-5);
}
.hero__eyebrow .dot {
  display: inline-block;
  vertical-align: 0.05em;
  margin-right: 0.7em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 0 0 3px rgba(215, 38, 61, 0.22), 0 0 12px 2px rgba(255, 77, 99, 0.75);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.35; box-shadow: 0 0 0 1px rgba(215, 38, 61, 0.1), 0 0 4px rgba(255, 77, 99, 0.3); } }
@media (prefers-reduced-motion: reduce) { .hero__eyebrow .dot { animation: none; } }

.hero__title {
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 680;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: hero-rise 1s var(--ease-emph) 0.1s forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.22s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.34s; }
.hero__title .accent { color: var(--color-red-bright); }
@keyframes hero-rise { to { transform: translateY(0); } }

.hero__lede {
  margin-top: var(--s-6);
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  max-width: 50ch;
  opacity: 0; animation: hero-fade 0.9s var(--ease-out) 0.5s forwards;
}
@keyframes hero-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero__cta {
  margin-top: var(--s-8);
  display: flex; flex-wrap: wrap;
  gap: var(--s-3);
  opacity: 0; animation: hero-fade 0.9s var(--ease-out) 0.65s forwards;
}
/* indication « faites défiler » et pastille tournante retirées */
.hero__sign, .hero__badge { display: none !important; }

.blob { display: none; }

/* accueil : pas de double marge (le .container porte déjà la gouttière) */
.hero__inner .hero__content { padding-left: 0; padding-right: 0; }
/* petits écrans de bureau : l'assistant occupe 408 px, le titre se resserre */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__inner .hero__title { font-size: 4.3vw; }
  .hero__inner .hero__lede { font-size: 1rem; }
}

@media (max-width: 899px) {
  .hero__content { justify-content: flex-end; padding-bottom: var(--s-12); }
  .hero__title { font-size: clamp(2.3rem, 10vw, 3.4rem); }
  .hero__lede { max-width: 42ch; }
}

/* ----------------------------------------------------------
   8. Bandeau logos clients
   ---------------------------------------------------------- */
.trust {
  position: relative;
  background: var(--color-paper);
  padding: clamp(64px, 7vw, 112px) 0 clamp(56px, 6vw, 96px);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}
.trust__head {
  margin-bottom: clamp(32px, 4vw, 56px);
  text-align: center;
}
.trust__title {
  margin: 0;
  font-size: clamp(1.35rem, 5.4vw, 3.2rem);
  white-space: nowrap;
  text-wrap: nowrap;
}

/* Défilement : 4 copies de la liste, la piste glisse de la moitié pour boucler sans saut */
.trust__marquee {
  --tile-w: clamp(176px, 17vw, 236px);
  --tile-h: clamp(104px, 9.6vw, 136px);
  --tile-gap: clamp(10px, 1.1vw, 16px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.trust__track {
  display: flex;
  width: max-content;
  animation: trust-scroll 56s linear infinite;
  will-change: transform;
}
.trust__marquee:hover .trust__track { animation-play-state: paused; }
.trust__set {
  display: flex; gap: var(--tile-gap);
  margin: 0; padding: 0 var(--tile-gap) 0 0;
  list-style: none;
}
.trust__item {
  position: relative;
  display: grid; place-items: center;
  width: var(--tile-w); height: var(--tile-h);
  flex-shrink: 0;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-md);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.trust__logo {
  grid-area: 1 / 1;
  display: block;
  height: calc(var(--h, 80px) * var(--logo-scale, 1));
  width: auto;
  max-width: 84%;
  object-fit: contain;
  opacity: 0.78;
  transition: opacity 0.35s ease;
}
.trust__logo--color { opacity: 0; }
@media (hover: hover) {
  .trust__item:hover { border-color: var(--color-line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
  .trust__item:hover .trust__logo { opacity: 1; }
  .trust__item:hover .trust__logo:not(.trust__logo--color):has(+ .trust__logo--color) { opacity: 0; }
  .trust__item:hover .trust__logo--color { opacity: 1; }
}
@media (max-width: 1199px) { .trust__marquee { --logo-scale: 0.86; } }
@media (max-width: 699px)  { .trust__marquee { --logo-scale: 0.74; } }
@keyframes trust-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trust__track { animation: none; width: auto; }
  .trust__set { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .trust__set[aria-hidden="true"] { display: none; }
  .trust__marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ----------------------------------------------------------
   8bis. Présentation — bloc « nuit », néons suspendus + totems
   (seul bloc sombre de la page, avec le pied de page)
   ---------------------------------------------------------- */
.presentation {
  position: relative;
  overflow: hidden;
  background: var(--color-night);
  color: var(--on-night);
  isolation: isolate;
}
.presentation::after {
  /* sol légèrement éclairé par les néons */
  content: '';
  position: absolute; inset: auto 0 0 0; height: 45%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(215, 38, 61, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.presentation__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(148px, 14vw, 200px);
  padding-bottom: clamp(112px, 14vw, 196px);
}
.presentation__head { max-width: 920px; margin-bottom: clamp(40px, 5vw, 72px); }
.presentation__head .display {
  color: var(--on-night);
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}
.presentation__head .display .acc { color: var(--color-red-glow); }
.presentation__head .presentation__lede { margin-top: var(--s-6); }

.presentation__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.presentation__copy p,
.presentation__side p,
.presentation__process p { color: var(--on-night-2); margin-bottom: var(--s-6); }
.presentation__copy > p:last-child,
.presentation__side > p:last-child { margin-bottom: 0; }
.presentation__lede {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--on-night) !important;
  max-width: 60ch;
}
.presentation__cta {
  margin: var(--s-8) 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
}
.presentation__subtitle {
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 620;
  color: var(--on-night);
  margin-top: var(--s-10);
  margin-bottom: var(--s-4);
  letter-spacing: -0.02em;
}
.presentation__subtitle:first-child { margin-top: 0; }
.presentation__list,
.presentation__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-6);
  display: grid;
  gap: var(--s-2);
}
.presentation__list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: var(--s-8); row-gap: 10px; }
.presentation__steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); column-gap: var(--s-6); row-gap: var(--s-4); }
.presentation__list li,
.presentation__steps li {
  position: relative;
  padding-left: 22px;
  color: var(--on-night);
  line-height: 1.5;
  font-size: 0.975rem;
}
.presentation__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.58em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--color-red-glow);
}
.presentation__steps { counter-reset: step; }
.presentation__steps li {
  counter-increment: step;
  padding: 16px 16px 16px 16px;
  border: 1px solid var(--on-night-line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
}
.presentation__steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-red-glow);
  line-height: 1;
}

.presentation__process {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(36px, 4.5vw, 56px);
  border-top: 1px solid var(--on-night-line);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.presentation__process-head { max-width: 40ch; }
.presentation__process-head p:last-child { margin-bottom: 0; }
.presentation__process .presentation__steps { margin-bottom: 0; }

.presentation__outro {
  max-width: 880px;
  margin: clamp(56px, 7vw, 88px) auto 0;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--on-night-line);
  text-align: center;
}
.presentation__outro .presentation__lede { color: var(--on-night) !important; margin: 0 auto var(--s-6); }
.presentation__sign {
  font-size: 0.95rem;
  color: var(--on-night-2) !important;
  margin: 0 auto;
}
.presentation__sign strong { font-weight: 600; color: var(--on-night); }

.presentation__figure { margin: 0 0 var(--s-10); }
.presentation__figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1195 / 896;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.presentation__figure figcaption {
  margin-top: var(--s-3);
  font-size: 0.85rem;
  color: var(--on-night-2);
}

/* --- Scène décorative --- */
.presentation__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.presentation__stage.reveal { opacity: 1; transform: none; transition: none; }

/* Enseignes néon suspendues : le câble est ancré au plafond de la section,
   il se « déroule » pendant la chute. Le pivot du balancier est ce point d'ancrage. */
.neon { position: absolute; top: var(--cable); }
.neon__rig { transform: translateY(calc(-100% - var(--cable) - 40px)); }
.neon__swing { position: relative; transform-origin: 50% calc(var(--cable) * -1); }
.neon__cable {
  position: absolute;
  bottom: 100%;
  width: 1px;
  height: 1200px;
  background: linear-gradient(to top,
    rgba(237, 237, 234, 0.5) 0,
    rgba(237, 237, 234, 0.26) 110px,
    rgba(237, 237, 234, 0.12) 300px,
    rgba(237, 237, 234, 0.06) 100%);
}
.neon__cable--l { left: 20%; }
.neon__cable--r { right: 20%; }
.neon__panel {
  position: relative;
  display: block;
  padding: 12px 20px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: var(--neon-size, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-red-glow);
  background: rgba(12, 13, 15, 0.78);
  border: 1px solid rgba(255, 90, 110, 0.45);
  border-radius: 6px;
  text-shadow:
    0 0 4px rgba(255, 90, 110, 0.95),
    0 0 14px rgba(215, 38, 61, 0.8),
    0 0 32px rgba(215, 38, 61, 0.5);
  box-shadow:
    0 0 22px rgba(215, 38, 61, 0.28),
    inset 0 0 14px rgba(215, 38, 61, 0.16);
}
.neon__panel::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 260%; height: 420%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(215, 38, 61, 0.18), transparent 65%);
  z-index: -1;
}
.neon--1 { left: 5%;  --cable: 50px;  --neon-size: 0.74rem; }
.neon--2 { left: 24%; --cable: 94px;  --neon-size: 0.9rem; }
.neon--3 { left: 45%; --cable: 66px;  --neon-size: 0.78rem; }
.neon--4 { left: 66%; --cable: 110px; --neon-size: 0.96rem; }
.neon--5 { right: 4%; --cable: 44px;  --neon-size: 0.76rem; }

/* Totems signalétique sortant du sol */
.totem {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  transform: translateY(102%);
}
.totem__panel {
  width: 100%;
  height: var(--totem-h);
  border: 1px solid rgba(237, 237, 234, 0.12);
  border-radius: 6px 6px 0 0;
  background:
    linear-gradient(180deg, var(--color-red) 0 10px, transparent 10px),
    repeating-linear-gradient(180deg, rgba(237, 237, 234, 0.08) 0 1px, transparent 1px 28px),
    var(--color-night-2);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}
.totem__mast {
  width: 14px;
  height: 70px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1D1E21, var(--color-night-2));
}
.totem--1 { left: 1.5%; width: 96px; --totem-h: 172px; }
.totem--2 { left: 7.5%; width: 70px; --totem-h: 112px; }
.totem--3 { right: 2.5%; width: 80px; --totem-h: 146px; }

/* Chute (gravité) -> le câble claque -> oscillation amortie -> balancement.
   Le néon reste éteint pendant la chute et s'allume en grésillant à l'impact. */
.presentation__stage.is-visible .neon__rig { animation: neon-drop 1.15s forwards; }
.presentation__stage.is-visible .neon__swing {
  animation:
    neon-settle 4.2s ease-out 0.72s forwards,
    neon-idle 5s ease-in-out 4.92s infinite;
}
.presentation__stage.is-visible .neon__panel { animation: neon-ignite 2.4s steps(1, end) forwards; }

.presentation__stage.is-visible .neon--2 .neon__rig,
.presentation__stage.is-visible .neon--2 .neon__panel { animation-delay: 0.14s; }
.presentation__stage.is-visible .neon--2 .neon__swing { animation-delay: 0.86s, 5.06s; animation-duration: 4.6s, 5.8s; }
.presentation__stage.is-visible .neon--3 .neon__rig,
.presentation__stage.is-visible .neon--3 .neon__panel { animation-delay: 0.3s; }
.presentation__stage.is-visible .neon--3 .neon__swing { animation-delay: 1.02s, 5.22s; animation-duration: 3.9s, 4.4s; }
.presentation__stage.is-visible .neon--4 .neon__rig,
.presentation__stage.is-visible .neon--4 .neon__panel { animation-delay: 0.46s; }
.presentation__stage.is-visible .neon--4 .neon__swing { animation-delay: 1.18s, 5.38s; animation-duration: 4.9s, 6.2s; }
.presentation__stage.is-visible .neon--5 .neon__rig,
.presentation__stage.is-visible .neon--5 .neon__panel { animation-delay: 0.62s; }
.presentation__stage.is-visible .neon--5 .neon__swing { animation-delay: 1.34s, 5.54s; animation-duration: 3.6s, 4.9s; }

.presentation__stage.is-visible .totem { animation: totem-rise 1.5s var(--ease-emph) 0.4s forwards; }
.presentation__stage.is-visible .totem--2 { animation-delay: 0.72s; }
.presentation__stage.is-visible .totem--3 { animation-delay: 0.56s; }

@keyframes neon-drop {
  0%   { transform: translateY(calc(-100% - var(--cable) - 40px)); animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.32); }
  62%  { transform: translateY(0); animation-timing-function: cubic-bezier(0.3, 0, 0.35, 1); }
  74%  { transform: translateY(-9%); }
  84%  { transform: translateY(0); }
  92%  { transform: translateY(-3%); }
  100% { transform: translateY(0); }
}
@keyframes neon-settle {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(9deg); }
  25%  { transform: rotate(-6.8deg); }
  40%  { transform: rotate(5deg); }
  55%  { transform: rotate(-3.6deg); }
  70%  { transform: rotate(2.8deg); }
  85%  { transform: rotate(-2.3deg); }
  100% { transform: rotate(2deg); }
}
@keyframes neon-idle {
  0%   { transform: rotate(2deg); }
  50%  { transform: rotate(-2deg); }
  100% { transform: rotate(2deg); }
}
@keyframes neon-ignite {
  0%, 29%   { filter: brightness(0.12) saturate(0.35); }
  31%       { filter: brightness(1); }
  34%       { filter: brightness(0.12) saturate(0.35); }
  38%       { filter: brightness(1.15); }
  41%       { filter: brightness(0.14) saturate(0.35); }
  47%       { filter: brightness(1); }
  50%       { filter: brightness(0.42); }
  56%       { filter: brightness(1.18); }
  60%       { filter: brightness(0.2) saturate(0.5); }
  66%, 100% { filter: brightness(1); }
}
@keyframes totem-rise {
  0%   { transform: translateY(104%); }
  70%  { transform: translateY(-2.5%); }
  85%  { transform: translateY(1%); }
  100% { transform: translateY(0); }
}

@media (min-width: 900px) {
  .presentation__grid { grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 6vw, 96px); }
  .presentation__process { grid-template-columns: 0.8fr 1.2fr; }
}
@media (max-width: 1200px) {
  .totem--2 { display: none; }
  .neon--3 { display: none; }
}
@media (max-width: 860px) {
  .neon--2, .neon--4 { display: none; }
  .neon--1 { left: 5%;  --cable: 44px; --neon-size: 0.68rem; }
  .neon--5 { right: 5%; --cable: 70px; --neon-size: 0.68rem; }
  .neon__panel { padding: 9px 14px; letter-spacing: 0.22em; }
  .totem--1 { left: -10px; width: 68px; --totem-h: 128px; }
  .totem--3 { right: -12px; width: 58px; --totem-h: 104px; }
  .presentation__inner { padding-top: clamp(132px, 20vw, 168px); padding-bottom: clamp(104px, 18vw, 152px); }
}
@media (max-width: 600px) {
  .totem--1, .totem--3 { display: none; }
  .presentation__inner { padding-top: clamp(116px, 26vw, 148px); padding-bottom: clamp(72px, 14vw, 110px); }
}
@media (prefers-reduced-motion: reduce) {
  .neon__rig, .totem { transform: none; }
  .presentation__stage.is-visible .neon__rig,
  .presentation__stage.is-visible .neon__swing,
  .presentation__stage.is-visible .neon__panel,
  .presentation__stage.is-visible .totem { animation: none; }
}

/* ----------------------------------------------------------
   9. Manifeste — vidéo d'atelier + trois piliers
   ---------------------------------------------------------- */
.manifesto {
  background: var(--color-paper);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.manifesto__inner { position: relative; max-width: 1240px; margin: 0 auto; }
.manifesto__num, .manifesto__vlabel { display: none; }
.manifesto__video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--color-anthracite);
  display: block;
}
.manifesto__sign {
  display: flex; align-items: center; gap: var(--s-3);
  margin-top: var(--s-4);
  font-size: 0.875rem;
  color: var(--color-gray-500);
}
.manifesto__sign strong { color: var(--color-anthracite); font-weight: 600; }

.manifesto__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(56px, 7vw, 96px);
  max-width: 1240px;
  margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .manifesto__pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding-top: var(--s-5); border-top: 2px solid var(--color-anthracite); }
.pillar__num {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: var(--s-4);
  font-family: var(--font-mono);
  font-size: 0.8rem; font-weight: 500;
  color: var(--color-gray-500);
}
.pillar__num b { color: var(--color-red-ink); font-weight: 500; }
.pillar h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin-bottom: var(--s-3); }
.pillar p { font-size: 0.975rem; }

/* ----------------------------------------------------------
   10. Pages — hero interne
   ---------------------------------------------------------- */
.hero--page {
  min-height: 82vh; min-height: 82dvh;
  align-items: center;
}
.hero--page .hero__content {
  justify-content: flex-end;
  min-height: 82vh; min-height: 82dvh;
  padding-top: calc(var(--header-h) + 64px);
}
.hero--page .hero__title { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
@media (max-width: 899px) {
  .hero--page .hero__title { font-size: clamp(2.3rem, 10vw, 3.4rem); }
}

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(72px, 10vw, 128px)) 0 clamp(64px, 8vw, 104px);
  background: var(--color-cream);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; border-radius: 0; }
.page-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--color-cream) 60%, rgba(235, 235, 231, 0.3) 100%); }
.page-hero__container { display: grid; grid-template-columns: 1fr; gap: var(--s-10); align-items: end; }
@media (min-width: 900px) { .page-hero__container { grid-template-columns: 2fr 1fr; } }
.page-hero__nav {
  font-size: 0.875rem; font-weight: 500;
  color: var(--color-gray-500);
  margin-bottom: var(--s-6);
  display: flex; align-items: center; gap: var(--s-2);
}
.page-hero__nav a { color: var(--color-red-ink); }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
.page-hero h1 .acc { color: var(--color-red-ink); }
.page-hero__lede { font-size: 1.1rem; color: var(--color-gray-700); }
.page-hero__meta {
  border-top: 1px solid var(--color-line-strong);
  padding-top: var(--s-6);
  font-size: 0.9rem; color: var(--color-gray-700);
}
.page-hero__meta strong { display: block; font-size: 0.8rem; font-weight: 600; color: var(--color-red-ink); margin-bottom: var(--s-2); }

/* ----------------------------------------------------------
   10.5 — Aides de section & sections des pages internes
   ---------------------------------------------------------- */
.page-section__head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 60ch; }
.page-section__head .display { margin: 0 0 var(--s-5); }
.page-section__head .lede { margin: 0; }

/* Familles / types */
.types { background: var(--color-paper); }
.types__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
}
@media (min-width: 640px) { .types__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .types__grid { grid-template-columns: repeat(3, 1fr); } }

.type-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.type-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-line-strong);
  box-shadow: var(--shadow-md);
}
.type-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-cream);
  border-radius: 0;
}
.type-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.02);
  transition: transform 0.8s var(--ease-out);
}
.type-card:hover .type-card__media img { transform: scale(1.06); }
.type-card__num { display: none; }
.type-card__content { padding: var(--s-6); }
.type-card__content h3 { font-size: 1.3rem; margin-bottom: var(--s-2); }
.type-card__content p { font-size: 0.95rem; color: var(--color-gray-700); }

/* Matériaux */
.materials { background: var(--color-cream); }
.materials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 640px) { .materials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .materials__grid { grid-template-columns: repeat(3, 1fr); } }
.material-card {
  padding: var(--s-8) var(--s-6);
  background: var(--color-paper);
  border-radius: 0 !important;
  transition: background-color 0.3s var(--ease-out);
}
.material-card:hover { background: var(--color-white); }
.material-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: var(--color-red);
  font-size: 1.25rem;
  margin-bottom: var(--s-4);
}
.material-card h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.material-card p { font-size: 0.95rem; color: var(--color-gray-700); }

/* ----------------------------------------------------------
   11. Blocs métiers (enseigne, covering, signalétique…)
   ---------------------------------------------------------- */
.product {
  position: relative;
  padding: var(--section-y) 0;
  background: var(--color-paper);
  overflow: hidden;
}
/* « dark » devient une teinte béton : la page garde un seul thème clair */
.product--dark { background: var(--color-cream); }
.product--dark + .product:not(.product--dark),
.product:not(.product--dark) + .product:not(.product--dark) { border-top: 1px solid var(--color-line); }

.product__num, .product__vlabel, .product__media-tag { display: none; }

.product__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (min-width: 900px) { .product__grid { grid-template-columns: 1fr 1fr; } }
.product__grid--reverse .product__media,
.product__grid--reverse .daynight { order: -1; }

.product__content { position: relative; }
/* La rubrique du métier : seul sur-titre conservé, en casse normale */
.product .eyebrow,
.product__content .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: var(--s-5);
  font-family: var(--font-sans);
  font-size: 0.9375rem; font-weight: 600;
  letter-spacing: -0.005em; text-transform: none;
  color: var(--color-red-ink);
}
.product .eyebrow::before,
.product__content .eyebrow::before {
  content: '';
  width: 18px; height: 2px; border-radius: 2px;
  background: currentColor;
}
.product__content h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); max-width: 18ch; }
.product__content h2 .acc { color: var(--color-red-ink); }
.product__content > p { margin-top: var(--s-5); font-size: 1.0625rem; line-height: 1.6; }

/* Liste des prestations : grille en deux colonnes, un filet par groupe */
.feature-list {
  display: grid; grid-template-columns: 1fr;
  gap: var(--s-5) var(--s-8);
  margin-top: var(--s-8);
}
@media (min-width: 640px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li {
  display: grid; grid-template-columns: 1fr; gap: 6px; align-content: start;
  padding-top: var(--s-4);
  border-top: 1px solid var(--color-line-strong);
}
.feature-list__num {
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 500;
  color: var(--color-red-ink);
  line-height: 1;
}
.feature-list strong {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  color: var(--color-anthracite);
}
.feature-list span:not(.feature-list__num) { display: block; margin-top: 2px; font-size: 0.925rem; line-height: 1.5; color: var(--color-gray-500); }

.product__cta { margin-top: var(--s-8); display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
/* Dans les blocs teintés, le bouton clair redevient le bouton principal */
.product--dark .btn--white {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}
.product--dark .btn--white:hover,
.product--dark .btn--white:focus-visible {
  background: var(--color-red-deep);
  border-color: var(--color-red-deep);
  box-shadow: 0 14px 30px -12px var(--color-red-shadow);
}

/* Visuel */
.product__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--color-stone);
}
@media (max-width: 899px) { .product__media { aspect-ratio: 4 / 3; } }
.product__media img,
.product__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.03);
  transition: transform 1s var(--ease-out);
  will-change: transform;
}
.product__media:hover img,
.product__media:hover video { transform: scale(1.0); }
.product__media--tall {
  aspect-ratio: 9 / 16;
  width: min(100%, 360px);
  justify-self: center;
  align-self: center;
}

/* Variante empilée : visuel panoramique au-dessus, texte en deux colonnes.
   Casse l'alternance gauche/droite des blocs métiers. */
.product--stacked .product__grid { grid-template-columns: 1fr; gap: clamp(32px, 4vw, 56px); }
.product--stacked .product__media { order: -1; aspect-ratio: 21 / 9; }
@media (max-width: 899px) { .product--stacked .product__media { aspect-ratio: 4 / 3; } }
@media (min-width: 900px) {
  .product--stacked .product__content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: auto auto auto auto 1fr;
    column-gap: clamp(40px, 6vw, 96px);
    align-items: start;
  }
  .product--stacked .product__content > * { grid-column: 1; }
  .product--stacked .product__content > .eyebrow { justify-self: start; }
  .product--stacked .feature-list { grid-column: 2; grid-row: 1 / span 5; margin-top: 0; }
}

/* Jour / nuit */
.daynight {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--color-night);
}
@media (max-width: 899px) { .daynight { aspect-ratio: 4 / 3; } }
.daynight__images { position: absolute; inset: 0; }
.daynight__images img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; border-radius: 0; transition: opacity 0.7s var(--ease-out); }
.daynight__images img.is-active { opacity: 1; }
.daynight__controls {
  position: absolute; bottom: var(--s-5); left: 50%; transform: translateX(-50%);
  display: inline-flex; gap: 2px;
  padding: 4px;
  background: rgba(15, 16, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 2;
}
.daynight__controls button {
  min-width: 76px;
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.875rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--r-pill);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.daynight__controls button.is-active { background: #fff; color: var(--color-anthracite); }

/* ----------------------------------------------------------
   12. Chiffres
   ---------------------------------------------------------- */
.stats {
  background: var(--color-cream);
  padding: clamp(72px, 8vw, 112px) 0;
}
.stats__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 56px) var(--s-6);
  align-items: start;
}
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.stat { position: relative; padding: 0; }
@media (min-width: 900px) {
  .stat { padding: 0 clamp(20px, 2.6vw, 40px); }
  .stat:first-child { padding-left: 0; }
  .stat + .stat::before {
    content: ''; position: absolute; left: 0; top: 6px; bottom: 6px;
    width: 1px; background: var(--color-line-strong);
  }
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: 680;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  color: var(--color-anthracite);
}
.stat__num .accent { color: inherit; }
.stat__num .sub { display: inline-block; font-size: 0.5em; color: var(--color-red); vertical-align: top; margin-left: 4px; letter-spacing: -0.02em; }
.stat__label { display: block; margin-top: var(--s-5); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--color-anthracite); }
.stat__desc { display: block; margin-top: 4px; font-size: 0.925rem; color: var(--color-gray-500); max-width: 26ch; }

.stats--dark { background: var(--color-night); color: var(--on-night); }
.stats--dark .stat__num, .stats--dark .stat__label { color: var(--on-night); }
.stats--dark .stat__desc { color: var(--on-night-2); }
.stats--dark .stat + .stat::before { background: var(--on-night-line); }

/* ----------------------------------------------------------
   13. Méthode — frise en quatre temps
   ---------------------------------------------------------- */
.process {
  background: var(--color-paper);
  padding: var(--section-y) 0;
}
/* en-tête empilé : un message, pas de colonne flottante */
.process__head,
.engagements__head,
.works__head,
.faq__head {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: var(--s-5);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.process__head h2,
.engagements__head h2,
.works__head h2,
.faq__head h2 { max-width: 16em; }
.process__head p,
.engagements__head p,
.works__head p,
.faq__head p { max-width: 54ch; font-size: 1.0625rem; }

.process__grid {
  position: relative;
  display: grid; grid-template-columns: 1fr;
  gap: var(--s-8);
  counter-reset: step;
}
.process__grid::before {
  content: '';
  position: absolute;
  left: 19px; top: 20px; bottom: 20px;
  width: 1px;
  background: var(--color-line-strong);
}
.step { position: relative; padding: 0 0 0 64px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-paper);
  border: 1px solid var(--color-line-strong);
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 500;
  color: var(--color-red-ink);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.step:hover::before { background: var(--color-red); border-color: var(--color-red); color: #fff; }
.step h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  margin: 4px 0 var(--s-3);
}
.step p { font-size: 0.975rem; }
@media (min-width: 900px) {
  .process__grid { grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
  .process__grid::before { left: 0; right: 0; top: 20px; bottom: auto; width: auto; height: 1px; }
  .step { padding: 64px 0 0; }
}

/* ----------------------------------------------------------
   14. Appel à l'action — panneau rouge
   ---------------------------------------------------------- */
.arch {
  background: var(--color-paper);
  padding: clamp(24px, 4vw, 48px) 0 var(--section-y);
  position: relative;
}
.arch > .container {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--max-w) - 2 * var(--gutter));
  padding: clamp(56px, 8vw, 112px) clamp(28px, 6vw, 96px);
  background: var(--color-red);
  color: #fff;
  border-radius: var(--r-lg);
}
/* texture de tôle brossée, très discrète */
.arch > .container::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 7px);
}
.arch__num { display: none; }
.arch h2 {
  color: #fff;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 0.98;
  max-width: 14ch;
}
.arch h2 em { font-style: normal; color: var(--color-night); }
.arch p { color: rgba(255, 255, 255, 0.88); margin-top: var(--s-6); font-size: 1.125rem; max-width: 46ch; }
.arch__cta { margin-top: var(--s-10); display: flex; gap: var(--s-3); flex-wrap: wrap; }
.arch .btn--ghost { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }
.arch .btn--ghost:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }

/* ----------------------------------------------------------
   15. Engagements — mosaïque 1 + 2
   ---------------------------------------------------------- */
.engagements {
  background: var(--color-paper);
  padding: var(--section-y) 0 clamp(48px, 6vw, 88px);
}
.engagements__grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 900px) {
  .engagements__grid { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; }
  .engagement:first-child { grid-row: 1 / span 2; }
}
.engagement {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.engagement:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.engagement:nth-child(2) { background: var(--color-cream); border-color: transparent; }
.engagement:first-child {
  background: var(--color-anthracite);
  border-color: transparent;
  color: var(--on-night);
  min-height: 340px;
}
.engagement:first-child h3 { margin-top: auto; color: var(--on-night); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.engagement:first-child p { color: var(--on-night-2); font-size: 1.0625rem; max-width: 40ch; }
.engagement:first-child .engagement__icon { color: var(--color-red-glow); width: 52px; height: 52px; }
.engagement__icon { width: 36px; height: 36px; color: var(--color-red); margin-bottom: var(--s-8); flex-shrink: 0; }
.engagement h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); margin-bottom: var(--s-3); }
.engagement p { font-size: 0.975rem; }

/* ----------------------------------------------------------
   16. Réalisations — défilement horizontal
   ---------------------------------------------------------- */
.works {
  background: var(--color-paper);
  padding: var(--section-y) 0;
  overflow: hidden;
  border-top: 1px solid var(--color-line);
}
.works__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 30vw, 400px);
  align-items: start;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  padding: 0 var(--gutter) var(--s-8);
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--color-anthracite) var(--color-stone);
}
@media (min-width: 1440px) {
  .works__track { padding-left: calc((100vw - var(--max-w)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--max-w)) / 2 + var(--gutter)); }
}
.works__track::-webkit-scrollbar { height: 4px; }
.works__track::-webkit-scrollbar-track { background: var(--color-stone); border-radius: 4px; }
.works__track::-webkit-scrollbar-thumb { background: var(--color-anthracite); border-radius: 4px; }
.work {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.work--wide { grid-column: span 1; }
.work__media {
  aspect-ratio: 4 / 5;
  background: var(--color-stone);
  overflow: hidden;
  border-radius: var(--r-md);
}
.work--wide .work__media { aspect-ratio: 4 / 3; }
.work__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transform: scale(1.02); transition: transform 0.9s var(--ease-out); }
.work:hover .work__media img { transform: scale(1.07); }
.work__meta { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.work__num { display: none; }
.work__title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--color-anthracite); }
.work__title::first-letter { text-transform: uppercase; }
.work__cat { font-size: 0.875rem; color: var(--color-gray-500); }

/* ----------------------------------------------------------
   17. FAQ — intro collante à gauche, questions à droite
   ---------------------------------------------------------- */
.faq {
  padding: var(--section-y) 0;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
}
@media (min-width: 1024px) {
  .faq > .container {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(48px, 6vw, 112px);
    align-items: start;
  }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
  .faq__head h2 { font-size: clamp(2.2rem, 3.4vw, 3.3rem); }
}
.accordion { max-width: 1100px; border-top: 1px solid var(--color-line-strong); }
.accordion__item { border-bottom: 1px solid var(--color-line-strong); }
.accordion__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-6);
  width: 100%; text-align: left;
  padding: clamp(20px, 2.2vw, 28px) 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-anthracite);
  transition: color 0.25s var(--ease-out);
}
.accordion__trigger:hover, .accordion__trigger:focus-visible { color: var(--color-red-ink); }
.accordion__num { display: none; }
.accordion__text { flex: 1; }
.accordion__icon {
  width: 36px; height: 36px; flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--color-line-strong);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.accordion__icon::before, .accordion__icon::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.5px; border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out);
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__item.is-open .accordion__icon { background: var(--color-anthracite); border-color: var(--color-anthracite); color: #fff; }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__body {
  min-height: 0;
  overflow: hidden;
  padding: 0 56px 0 0;
  color: var(--color-gray-700);
  max-width: 68ch;
  transition: padding-bottom 0.45s var(--ease-out);
}
.accordion__item.is-open .accordion__body { padding-bottom: clamp(20px, 2.4vw, 32px); }

/* ----------------------------------------------------------
   18. Contact
   ---------------------------------------------------------- */
.contact {
  background: var(--color-cream);
  padding: var(--section-y) 0;
  position: relative;
}
.contact__grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 0.9fr 1.1fr; } }

.contact__info h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.contact__info h2 .acc { color: var(--color-red-ink); }
.contact__info > p { margin-top: var(--s-5); max-width: 44ch; font-size: 1.0625rem; }

.contact__details { display: flex; flex-direction: column; margin-top: var(--s-10); border-top: 1px solid var(--color-line-strong); }
/* libellé à gauche, valeur(s) à droite sur une seule colonne de texte */
.contact__detail { position: relative; padding: var(--s-5) 0 var(--s-5) 128px; border-bottom: 1px solid var(--color-line); color: var(--color-gray-500); }
.contact__detail strong { position: absolute; left: 0; top: calc(var(--s-5) + 3px); font-size: 0.875rem; font-weight: 500; color: var(--color-gray-500); display: block; }
@media (max-width: 479px) {
  .contact__detail { padding-left: 0; padding-top: calc(var(--s-5) + 26px); }
  .contact__detail strong { top: var(--s-5); }
}
.contact__detail a, .contact__detail span { color: var(--color-anthracite); font-size: 1.0625rem; font-weight: 500; }
.contact__detail a { text-decoration: underline; text-decoration-color: var(--color-line-strong); text-underline-offset: 4px; transition: color 0.2s, text-decoration-color 0.2s; }
.contact__detail a:hover { color: var(--color-red-ink); text-decoration-color: currentColor; }

.contact__form-wrap {
  background: var(--color-white);
  padding: clamp(24px, 3.4vw, 48px);
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.contact__form-wrap h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: var(--s-2); }
.contact__form-wrap > p { font-size: 0.975rem; margin-bottom: var(--s-8); }

/* Champs : libellé au-dessus, en casse normale */
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
.form-row + .form-row { margin-top: var(--s-5); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.form-field { position: relative; display: flex; flex-direction: column; gap: var(--s-2); }
.form-field label {
  display: block;
  font-size: 0.875rem; font-weight: 600; letter-spacing: -0.005em; text-transform: none;
  color: var(--color-anthracite);
}
.form-field label .req { color: var(--color-red-ink); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--r-sm);
  background: var(--color-paper);
  font-family: var(--font-sans); font-size: 1rem;
  color: var(--color-anthracite);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.form-field select {
  -webkit-appearance: none; appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--color-gray-500); opacity: 0.8; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: rgba(17, 18, 20, 0.4); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 0;
  border-color: var(--color-red);
  background: #fff;
  box-shadow: 0 0 0 4px var(--color-red-soft);
}
/* Erreur visible seulement après une tentative d'envoi (formulaires classiques)
   ou après saisie (assistant, qui valide en continu) */
form:not(#wizardForm) .form-field [aria-invalid="true"],
.quote-wizard__form .form-field :is(input, select, textarea):user-invalid { border-color: var(--color-red); background: #fff; }
.form-field textarea { resize: vertical; min-height: 120px; }

.form-consent { display: flex; align-items: flex-start; gap: var(--s-3); margin-top: var(--s-6); }
.form-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--color-red); flex-shrink: 0; }
.form-consent label { font-size: 0.9rem; color: var(--color-gray-700); }

.form-submit { margin-top: var(--s-8); display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.form-error,
.quote-wizard__error {
  margin-top: var(--s-5);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--color-red-soft);
  color: var(--color-red-deep);
  font-size: 0.925rem;
  font-weight: 500;
  max-width: none;
}
.quote-wizard__error { margin: 0 var(--s-6) var(--s-3); }
.form-submit > span:not(.magnetic) { color: var(--color-gray-500) !important; font-size: 0.875rem !important; }

/* Carte */
.map {
  margin-top: clamp(40px, 5vw, 64px);
  aspect-ratio: 21 / 8;
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--color-stone);
}
@media (max-width: 767px) { .map { aspect-ratio: 4 / 3; } }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.02); }

/* ----------------------------------------------------------
   19. Pied de page
   ---------------------------------------------------------- */
.footer {
  background: var(--color-night);
  color: var(--on-night);
  padding: clamp(56px, 7vw, 96px) 0 0;
  position: relative;
  overflow: hidden;
}
.footer__divider { height: 1px; background: var(--on-night-line); }

.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-10) var(--s-6); padding-bottom: clamp(40px, 5vw, 72px); }
.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: var(--s-5); }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}
.footer__brand img { height: 48px; width: auto; object-fit: contain; border-radius: 0; align-self: flex-start; }
.footer__brand p { color: var(--on-night-2); font-size: 0.95rem; max-width: 36ch; }

.footer__title {
  font-family: var(--font-sans); font-stretch: 100%;
  font-weight: 600; font-size: 0.875rem; letter-spacing: -0.005em; text-transform: none;
  color: var(--on-night);
  margin-bottom: var(--s-4);
}
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__list a { color: var(--on-night-2); font-size: 0.95rem; transition: color 0.2s var(--ease-out); }
.footer__list a:hover, .footer__list a:focus-visible { color: #fff; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-6) 0;
  border-top: 1px solid var(--on-night-line);
  font-size: 0.85rem; color: var(--on-night-2);
  flex-wrap: wrap; gap: var(--s-3);
}
.footer__bottom a { text-decoration: underline; text-decoration-color: var(--on-night-line); text-underline-offset: 4px; }
.footer__bottom a:hover { color: #fff; text-decoration-color: currentColor; }

/* Signature géante, détourée, rognée par le bas de page */
.footer__monogram {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(2.6rem, 8.6vw, 11rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 237, 234, 0.22);
  text-align: center;
  white-space: nowrap;
  margin: clamp(8px, 2vw, 24px) 0 -0.12em;
  user-select: none;
}
.footer__monogram .acc { color: transparent; -webkit-text-stroke-color: rgba(255, 90, 110, 0.55); }

/* ----------------------------------------------------------
   Visuel client — deux choix égaux sur les cartes produit
   ---------------------------------------------------------- */
.shop-card__upload {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--color-line);
}
.shop-card__upload-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-anthracite);
  margin-bottom: var(--s-2);
}
.shop-card__upload-row { display: flex; gap: var(--s-3); align-items: stretch; }
@media (max-width: 767px) { .shop-card__upload-row { flex-direction: column; } }
.shop-card__upload-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  color: var(--color-anthracite);
  background: transparent;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--r-pill);
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  cursor: pointer;
}
.shop-card__upload-btn:hover, .shop-card__upload-btn:focus-visible { background: var(--color-paper); }
.shop-card__upload-btn.is-active { background: var(--color-anthracite); color: var(--color-white); border-color: var(--color-anthracite); }
.shop-card__upload-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.shop-card__upload-input { display: none; }
.shop-card__upload-file { font-size: 0.85rem; color: var(--color-gray-500); margin-top: var(--s-2); word-break: break-all; }
.shop-card__upload-error { font-size: 0.85rem; color: var(--color-red-ink); margin-top: var(--s-1); }

/* ----------------------------------------------------------
   20. Apparitions au défilement
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-emph);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .daynight__images img { transition: opacity 0.05s; }
  .hero__bg-img { animation: none; transform: none; }
  .hero__title .line > span, .hero__lede, .hero__cta { animation: none !important; opacity: 1; transform: none; }
  .accordion__panel, .accordion__body { transition: none; }
}

/* ----------------------------------------------------------
   21. Accessibilité : lien d'évitement, focus
   ---------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute; top: -48px; left: 12px;
  background: var(--color-anthracite); color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  z-index: var(--z-skip);
  transition: top 0.2s;
  font-size: 0.875rem; font-weight: 600;
}
.skip-link:focus { top: 12px; }
*:focus-visible { outline: 2px solid var(--color-red); outline-offset: 3px; }
.btn:focus-visible { outline-offset: 3px; }

/* ----------------------------------------------------------
   22. Assistant de devis — étapes
   ---------------------------------------------------------- */
.quote-wizard {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: flex; justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  color: var(--color-anthracite);
  transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
}
.quote-wizard[aria-hidden="false"] { visibility: visible; opacity: 1; }
.quote-wizard[inert] { pointer-events: none; }
.quote-wizard[aria-hidden="false"] { pointer-events: auto; }

.quote-wizard__overlay {
  position: absolute; inset: 0;
  background: rgba(10, 11, 12, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.quote-wizard__panel {
  position: relative;
  width: 100%; max-width: 640px;
  height: 100%;
  background: var(--color-white);
  color: var(--color-anthracite);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-emph);
  box-shadow: -24px 0 64px rgba(0, 0, 0, 0.3);
}
.quote-wizard[aria-hidden="false"] .quote-wizard__panel { transform: translateX(0); }

@media (min-width: 768px) {
  .quote-wizard__panel { width: 55vw; max-width: 720px; border-radius: var(--r-lg) 0 0 var(--r-lg); }
}

/* Bureau : l'assistant est intégré à droite du hero d'accueil */
@media (min-width: 1024px) {
  .hero__inner {
    display: flex;
    align-items: center;
    gap: clamp(32px, 4vw, 64px);
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 48px;
    min-height: 100vh; min-height: 100dvh;
  }
  .hero__inner .hero__content {
    flex: 1;
    min-height: 0;
    padding: 0;
    justify-content: center;
  }
  .hero__inner .hero__copy { max-width: 720px; }

  .quote-wizard {
    position: relative;
    inset: auto;
    width: 408px;
    height: min(calc(100vh - 168px), 700px);
    height: min(calc(100dvh - 168px), 700px);
    z-index: 5;
    visibility: visible;
    opacity: 1;
    display: flex;
    justify-content: flex-end;
    pointer-events: auto;
    flex-shrink: 0;
    animation: hero-fade 0.9s var(--ease-out) 0.45s both;
  }
  .quote-wizard[aria-hidden="true"],
  .quote-wizard[aria-hidden="false"] { visibility: visible; opacity: 1; pointer-events: auto; }
  .quote-wizard__overlay { display: none; }
  .quote-wizard__panel {
    position: relative;
    width: 100%;
    max-width: none;
    height: 100%;
    transform: none;
    border-radius: var(--r-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    overflow: hidden;
  }
  .quote-wizard__close { display: none; }
}

.quote-wizard__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-anthracite);
  border-radius: 50%;
  background: var(--color-paper);
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.quote-wizard__close:hover, .quote-wizard__close:focus-visible { background: var(--color-anthracite); color: #fff; }
.quote-wizard__close svg { width: 20px; height: 20px; }
@media (min-width: 1024px) { .quote-wizard__close { display: none; } }

/* Progression : barre segmentée en quatre */
.quote-wizard__progress {
  padding: var(--s-6) var(--s-6) var(--s-4);
  flex-shrink: 0;
}
.quote-wizard__progress-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em;
}
@media (max-width: 1023px) { .quote-wizard__progress-top { padding-right: 52px; } }
.quote-wizard__step-label { color: var(--color-gray-500); }
.quote-wizard__step-percent { color: var(--color-red-ink); }
.quote-wizard__progress-bar {
  position: relative;
  height: 4px;
  background: transparent;
  overflow: hidden;
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 calc(25% - 3px), transparent calc(25% - 3px) 25%);
  mask-image: repeating-linear-gradient(90deg, #000 0 calc(25% - 3px), transparent calc(25% - 3px) 25%);
}
.quote-wizard__progress-bar::before { content: ''; position: absolute; inset: 0; background: var(--color-stone); }
.quote-wizard__progress-fill {
  position: relative;
  height: 100%;
  background: var(--color-red);
  transition: width 0.45s var(--ease-emph);
}

.quote-wizard__form {
  flex: 1;
  overflow-y: auto;
  padding: var(--s-4) var(--s-6) var(--s-5);
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.quote-wizard__step {
  display: none;
  animation: wizard-fade-in 0.35s var(--ease-out) forwards;
  border: 0; padding: 0; margin: 0; min-width: 0;
}
.quote-wizard__step.is-active { display: block; }
@keyframes wizard-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.quote-wizard__legend {
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-anthracite);
  margin-bottom: 6px;
  padding: 0;
}
.quote-wizard__legend-icon { display: none; }
.quote-wizard__step > .quote-wizard__fields { margin-top: var(--s-5); }
.quote-wizard__subtitle {
  font-size: 0.95rem;
  color: var(--color-gray-500);
  margin-bottom: var(--s-5);
  max-width: 48ch;
}

/* Choix du type de projet */
.quote-wizard__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .quote-wizard__cards { grid-template-columns: 1fr; } }
.quote-wizard__card { position: relative; cursor: pointer; }
.quote-wizard__card input { position: absolute; opacity: 0; width: 0; height: 0; }
.quote-wizard__card-content {
  display: flex; flex-direction: column; gap: 10px;
  padding: 8px 8px 12px;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--r-md);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  height: 100%;
}
.quote-wizard__card:hover .quote-wizard__card-content { border-color: var(--color-line-strong); background: #fff; transform: translateY(-1px); }
.quote-wizard__card input:focus-visible + .quote-wizard__card-content { outline: 2px solid var(--color-red); outline-offset: 2px; }
.quote-wizard__card input:checked + .quote-wizard__card-content {
  border-color: var(--color-red);
  background: #fff;
  box-shadow: 0 0 0 1px var(--color-red), 0 10px 24px -14px var(--color-red-shadow);
}
.quote-wizard__card-img {
  aspect-ratio: 16 / 10;
  width: 100%;
  display: block;
  object-fit: cover;
  background: var(--color-stone);
  border-radius: 9px;
}
.quote-wizard__card-title {
  padding: 0 4px;
  font-family: var(--font-sans);
  font-size: 0.95rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em;
}
.quote-wizard__card-check {
  position: absolute; top: 14px; right: 14px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px #fff;
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.quote-wizard__card-check::before { content: '✓'; font-size: 0.8rem; font-weight: 700; }
.quote-wizard__card input:checked + .quote-wizard__card-content .quote-wizard__card-check { opacity: 1; transform: scale(1); }

/* Champs de l'assistant */
.quote-wizard__form .form-field { margin-bottom: var(--s-5); }
.quote-wizard__form .form-field:last-child { margin-bottom: 0; }
.quote-wizard__form .form-row { margin-bottom: var(--s-5); gap: var(--s-4); }
.quote-wizard__form .form-row .form-field { margin-bottom: 0; }
.quote-wizard__form .form-row + .form-row { margin-top: 0; }
.quote-wizard__form .form-field label {
  display: flex; align-items: center; gap: var(--s-2);
  margin-bottom: 0;
  font-size: 0.85rem; font-weight: 600; letter-spacing: -0.005em; text-transform: none;
  color: var(--color-anthracite);
}
.quote-wizard__form .form-field input,
.quote-wizard__form .form-field select,
.quote-wizard__form .form-field textarea { background-color: var(--color-paper); }
.quote-wizard__form .form-field select:invalid { color: var(--color-gray-500); }
.quote-wizard__hint { font-size: 0.85rem; color: var(--color-gray-500); margin-top: 6px; }

/* Infobulle */
.quote-wizard__tooltip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-cream); color: var(--color-gray-700);
  font-size: 0.7rem; font-weight: 700;
  cursor: help;
  position: relative;
}
.quote-wizard__tooltip::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) scale(0.96);
  width: 220px;
  padding: 10px 12px;
  background: var(--color-anthracite); color: #fff;
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  line-height: 1.4;
  border-radius: var(--r-sm);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0.2s;
  pointer-events: none;
  z-index: 5;
}
.quote-wizard__tooltip:hover::after,
.quote-wizard__tooltip:focus-visible::after { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }

/* Dépôt de fichiers */
.quote-wizard__dropzone {
  position: relative;
  padding: var(--s-5);
  border: 1.5px dashed var(--color-line-strong);
  border-radius: var(--r-md);
  background: var(--color-paper);
  text-align: center;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
  cursor: pointer;
}
.quote-wizard__dropzone:hover,
.quote-wizard__dropzone.is-dragover { border-color: var(--color-red); background: var(--color-red-soft); }
.quote-wizard__dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.quote-wizard__dropzone-text { font-size: 0.9rem; color: var(--color-gray-700); pointer-events: none; }

/* Navigation */
.quote-wizard__nav {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-6) var(--s-5);
  border-top: 1px solid var(--color-line);
  background: var(--color-white);
  flex-shrink: 0;
}
.quote-wizard__nav .btn { min-width: 120px; }
.quote-wizard__nav .quote-wizard__next { flex: 1; }
.quote-wizard__nav .btn--primary:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
@media (max-width: 480px) {
  .quote-wizard__nav { flex-direction: column-reverse; }
  .quote-wizard__nav .btn { width: 100%; }
}

/* Confirmation */
.quote-wizard__success { text-align: center; padding-top: var(--s-12); }
.quote-wizard__success-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--s-6);
  border-radius: 50%;
  background: var(--color-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; font-weight: 700;
}
.quote-wizard__success .quote-wizard__legend { justify-content: center; }
.quote-wizard__success .quote-wizard__subtitle { margin-left: auto; margin-right: auto; }
.quote-wizard__success-close { margin-top: var(--s-6); }

@media (prefers-reduced-motion: reduce) {
  .quote-wizard, .quote-wizard__panel, .quote-wizard__progress-fill, .quote-wizard__step, .quote-wizard__card-content, .quote-wizard__card-check { transition: none; animation: none; }
}

/* ==========================================================
   Boutique, panier, fiche produit, modale de rendez-vous
   (styles historiques, repris sur les nouveaux tokens)
   ========================================================== */
/* ----------------------------------------------------------
   Boutique — extension type-card + panier Stripe
   ---------------------------------------------------------- */
.type-card__cta {
  display: inline-flex;
  margin-top: var(--s-4);
}
.type-card__cta.btn {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.875rem;
  letter-spacing: 0;
}

/* Cart toggle in header */
.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: inherit;
  background: transparent;
  border-radius: 8px;
  transition: background-color 0.3s var(--ease-out);
}
.cart-toggle:hover,
.cart-toggle:focus-visible {
  background: rgba(237, 237, 234, 0.12);
}
.cart-toggle svg {
  width: 22px;
  height: 22px;
}
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header.is-light .cart-toggle:hover,
.header.is-light .cart-toggle:focus-visible {
  background: rgba(17, 18, 20, 0.06);
}

/* Cart overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 12, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
  z-index: 110;
}
.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  height: 100dvh;
  background: var(--color-paper);
  box-shadow: -12px 0 40px rgba(10, 11, 12, 0.18);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-emph);
  z-index: 120;
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-6) var(--s-8);
  border-bottom: 1px solid var(--color-stone);
}
.cart-drawer__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-anthracite);
}
.cart-drawer__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s;
}
.cart-drawer__close:hover,
.cart-drawer__close:focus-visible {
  background: var(--color-stone);
}
.cart-drawer__close svg {
  width: 20px;
  height: 20px;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: var(--s-6) var(--s-8);
  list-style: none;
}
.cart-drawer__empty {
  text-align: center;
  color: var(--color-gray-500);
  font-style: normal;
  padding: var(--s-12) 0;
}

.cart-drawer__item {
  display: grid;
  grid-template-columns: 56px 1fr auto 24px;
  gap: var(--s-3);
  align-items: center;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--color-stone);
}
.cart-drawer__thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--color-stone);
}
.cart-drawer__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cart-drawer__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-anthracite);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-drawer__price {
  font-size: 0.8rem;
  color: var(--color-gray-500);
}

.cart-drawer__visual {
  display: block;
  font-size: 0.8rem;
  color: var(--color-gray-500);
  font-style: normal;
}

.cart-drawer__qty {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cart-drawer__qty-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-stone);
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1;
  color: var(--color-anthracite);
  transition: background-color 0.2s, border-color 0.2s;
}
.cart-drawer__qty-btn:hover,
.cart-drawer__qty-btn:focus-visible {
  border-color: var(--color-red);
}
.cart-drawer__qty-input {
  width: 40px;
  height: 28px;
  text-align: center;
  border: 1px solid var(--color-stone);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--color-anthracite);
  -moz-appearance: textfield;
}
.cart-drawer__qty-input::-webkit-outer-spin-button,
.cart-drawer__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-drawer__remove {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  font-size: 1.2rem;
  line-height: 1;
  transition: color 0.2s;
}
.cart-drawer__remove:hover,
.cart-drawer__remove:focus-visible {
  color: var(--color-red);
}

.cart-drawer__footer {
  padding: var(--s-6) var(--s-8);
  border-top: 1px solid var(--color-stone);
  background: var(--color-cream);
}
.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: var(--s-4);
  color: var(--color-anthracite);
}
.cart-drawer__total strong {
  color: var(--color-red);
}
.cart-drawer__checkout {
  width: 100%;
}
.cart-drawer__note {
  margin-top: var(--s-3);
  font-size: 0.75rem;
  color: var(--color-gray-500);
  text-align: center;
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw;
  }
  .cart-drawer__item {
    grid-template-columns: 48px 1fr auto 24px;
  }
  .cart-drawer__thumb {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-drawer,
  .cart-overlay {
    transition: none;
  }
}

/* ==========================================================
   Boutique — e-commerce layout
   ========================================================== */

/* Hero */
.shop-hero {
  padding: clamp(120px, 16vw, 200px) 0 clamp(48px, 6vw, 80px);
  background: var(--color-paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.shop-hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-red); margin-bottom: var(--s-6);
}
.shop-hero__eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--color-red); display: inline-block;
}
.shop-hero__title {
  font-family: var(--font-serif);
  font-style: normal; font-weight: 500;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 0.95; letter-spacing: -0.02em;
  margin-bottom: var(--s-6);
}
.shop-hero__title .acc { color: var(--color-red); font-style: normal; }
.shop-hero__lede {
  font-family: var(--font-serif); font-style: normal;
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  color: var(--color-gray-700); max-width: 54ch; margin: 0 auto;
}

/* Sticky category nav */
.shop-nav {
  position: sticky; top: 0; z-index: 90;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-line);
  padding: var(--s-3) 0;
}
.shop-nav__list {
  display: flex; align-items: center; gap: var(--s-2);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shop-nav__list::-webkit-scrollbar { display: none; }
.shop-nav__link {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-anthracite);
  background: transparent;
  border: 1px solid var(--color-line);
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.shop-nav__link:hover,
.shop-nav__link:focus-visible {
  border-color: var(--color-red); color: var(--color-red);
}
.shop-nav__link.is-active {
  background: var(--color-red); color: var(--color-white); border-color: var(--color-red);
}

/* Main shop layout */
.shop-layout { background: var(--color-paper); }
.shop-category { padding: clamp(60px, 8vw, 120px) 0; }
.shop-category:nth-child(even) { background: var(--color-cream); }
.shop-category__head { margin-bottom: var(--s-8); }
.shop-category__eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-red); margin-bottom: var(--s-4);
}
.shop-category__eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--color-red); display: inline-block; }
.shop-category__title {
  font-family: var(--font-serif); font-style: normal; font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.5rem); line-height: 0.95; letter-spacing: -0.02em;
}

/* Product grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}
@media (min-width: 1024px) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }

/* Product card */
.shop-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-image);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(17, 18, 20, 0.12);
}
.shop-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-anthracite);
}
.shop-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1);
  transition: transform 0.6s var(--ease-out);
}
.shop-card:hover .shop-card__media img { transform: scale(1.03); }
.shop-card__num {
  position: absolute; top: var(--s-4); left: var(--s-4);
  font-family: var(--font-serif); font-style: normal;
  font-size: 0.85rem; color: var(--color-cream);
  background: var(--color-red); padding: 6px 10px;
}
.shop-card__content { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.shop-card__title {
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; line-height: 1.2;
  margin-bottom: var(--s-2); color: var(--color-anthracite);
}

.shop-card__stock {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-gray-700);
  margin-bottom: var(--s-3);
}
.shop-card__stock::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-red);
}
.shop-card__desc {
  font-size: 0.85rem; color: var(--color-gray-700); line-height: 1.5;
  margin-bottom: var(--s-4); flex: 1;
}

.shop-card__config {
  margin-bottom: var(--s-4);
}

.shop-card__fields {
  display: grid;
  gap: var(--s-3);
}

.shop-card__fields--surface {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 360px) {
  .shop-card__fields--surface {
    grid-template-columns: 1fr;
  }
}

.shop-card__field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gray-700);
  margin-bottom: 4px;
}

.shop-card__input,
.shop-card__select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  font-size: 0.95rem;
  color: var(--color-anthracite);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.shop-card__input:focus,
.shop-card__select:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-soft);
}

.shop-card__error {
  grid-column: 1 / -1;
  min-height: 1.4em;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-red);
}

.shop-card__hint {
  grid-column: 1 / -1;
  margin: 0 0 var(--s-2);
  font-size: 0.75rem;
  font-style: normal;
  color: var(--color-gray-500);
  transition: opacity 0.2s var(--ease-out), max-height 0.2s var(--ease-out);
}
.shop-card__hint.is-hidden {
  opacity: 0;
  max-height: 0;
  margin: 0;
  pointer-events: none;
}

.shop-catalogue-error {
  background: var(--color-red-soft);
  border: 1px solid var(--color-red);
  color: var(--color-red-deep);
  padding: var(--s-4) var(--s-6);
  margin: var(--s-6) 0;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.shop-catalogue-error p { margin: 0; color: inherit; }
.shop-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3); flex-wrap: wrap;
  padding-top: var(--s-4); border-top: 1px solid var(--color-line);
  margin-top: auto;
}
.shop-card__price {
  font-family: var(--font-serif); font-style: normal;
  font-size: 1.35rem; font-weight: 500; color: var(--color-red);
}
.shop-card__cta {
  padding: 10px 18px;
  font-size: 0.7rem; letter-spacing: 0.1em;
}
.shop-card__cta:disabled {
  opacity: 0.5; cursor: not-allowed;
}

/* Focus states for accessibility */
.shop-card:focus-visible { outline: 2px solid var(--color-red); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .shop-card, .shop-card__media img, .shop-nav__link { transition: none; }
}

/* Payment status banner shown after Stripe redirect */
.payment-status {
  margin-top: var(--s-8);
  padding: var(--s-4) var(--s-6);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  text-align: center;
}
.payment-status--success {
  background: rgba(215, 38, 61, 0.08);
  color: var(--color-red-deep);
  border: 1px solid rgba(215, 38, 61, 0.18);
}
.payment-status--cancel {
  background: var(--color-stone);
  color: var(--color-anthracite);
  border: 1px solid var(--color-gray-200);
}
.payment-status[hidden] {
  display: none;
}

/* ==========================================================
   BOUTIQUE PREMIUM — redesign overrides
   ========================================================== */

/* Boutique page hero — dark, immersive, premium */
.shop-hero {
  position: relative;
  min-height: 75vh;
  min-height: 75dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-night);
  color: var(--color-cream);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(140px, 16vw, 220px) 0 clamp(64px, 8vw, 120px);
}

.shop-hero__bg,
.shop-hero__bg::before,
.shop-hero__bg::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.shop-hero__bg {
  background:
    radial-gradient(circle at 20% 30%, rgba(215, 38, 61, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(215, 38, 61, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(215, 38, 61, 0.12) 0%, transparent 55%),
    linear-gradient(135deg, rgba(17, 18, 20, 0.95) 0%, rgba(10, 11, 12, 0.88) 100%);
  filter: saturate(0.7) contrast(1.05);
  transform: scale(1.05);
  animation: shop-hero-zoom 12s ease-in-out infinite alternate;
}

/* Boutique hero image variant */
.shop-hero--image {
  min-height: auto;
  padding: 0;
  overflow: hidden;
}

.shop-hero--image .shop-hero__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

@keyframes shop-hero-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.06); }
}

.shop-hero__bg::before {
  content: '';
  background:
    linear-gradient(180deg, rgba(10, 11, 12, 0.78) 0%, rgba(10, 11, 12, 0.25) 40%, rgba(10, 11, 12, 0.68) 100%),
    linear-gradient(90deg, rgba(10, 11, 12, 0.85) 0%, rgba(10, 11, 12, 0.2) 60%, rgba(10, 11, 12, 0.35) 100%);
}

.shop-hero__bg::after {
  content: '';
  background-image:
    radial-gradient(rgba(237, 237, 234, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.shop-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.shop-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red-glow);
  margin-bottom: var(--s-6);
  opacity: 0;
  transform: translateY(20px);
  animation: shop-reveal-up 0.8s var(--ease-emph) 0.2s forwards;
}

.shop-hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--color-red-glow);
}

.shop-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--color-cream);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  max-width: 14ch;
  opacity: 0;
  transform: translateY(30px);
  animation: shop-reveal-up 0.9s var(--ease-emph) 0.35s forwards;
}

.shop-hero__title .acc {
  color: var(--color-red);
  font-style: normal;
}

.shop-hero__lede {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  line-height: 1.45;
  color: rgba(237, 237, 234, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  max-width: 56ch;
  margin-top: var(--s-8);
  opacity: 0;
  transform: translateY(30px);
  animation: shop-reveal-up 0.9s var(--ease-emph) 0.5s forwards;
}

@keyframes shop-reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shop-hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-8);
  margin-top: var(--s-10);
  opacity: 0;
  transform: translateY(30px);
  animation: shop-reveal-up 0.9s var(--ease-emph) 0.65s forwards;
}

.shop-hero__stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.shop-hero__stat strong {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--color-cream);
  line-height: 1;
}

.shop-hero__stat span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(237, 237, 234, 0.6);
}

/* Floating badge in boutique hero */
.shop-hero__badge {
  position: absolute;
  top: clamp(140px, 16vw, 180px);
  right: clamp(24px, 6vw, 80px);
  transform: none;
  width: clamp(120px, 14vw, 170px);
  height: clamp(120px, 14vw, 170px);
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.4;
  animation: shop-rotate 30s linear infinite;
  z-index: 2;
  box-shadow: 0 24px 60px -16px rgba(215, 38, 61, 0.55);
}

.shop-hero__badge::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(237, 237, 234, 0.35);
  border-radius: 50%;
}

@keyframes shop-rotate {
  to { transform: rotate(360deg); }
}

@media (max-width: 1279px) {
  .shop-hero__badge { display: none; }
}

/* Sticky category navigation — premium glass effect */
.shop-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 18, 20, 0.08);
  padding: var(--s-4) 0;
  transition: box-shadow 0.3s var(--ease-out);
}

.shop-nav.is-stuck {
  box-shadow: 0 8px 32px rgba(10, 11, 12, 0.06);
}

.shop-nav__list {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--s-2);
}

.shop-nav__list::-webkit-scrollbar { display: none; }

.shop-nav__link {
  flex-shrink: 0;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gray-700);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.shop-nav__link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-emph);
  z-index: -1;
  border-radius: 100px;
}

.shop-nav__link:hover,
.shop-nav__link:focus-visible {
  color: var(--color-red);
  border-color: rgba(215, 38, 61, 0.2);
}

.shop-nav__link.is-active {
  color: var(--color-cream);
  border-color: var(--color-red);
}

.shop-nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Boutique layout alternating backgrounds */
.shop-category {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}

.shop-category:nth-child(odd) {
  background: var(--color-paper);
}

.shop-category:nth-child(even) {
  background: var(--color-cream);
}

.shop-category__head {
  margin-bottom: var(--s-12);
  max-width: 800px;
}

.shop-category__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: var(--s-4);
}

.shop-category__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-red);
}

.shop-category__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-anthracite);
}

.shop-category__lede {
  margin-top: var(--s-4);
  font-family: var(--font-serif);
  font-style: normal;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--color-gray-700);
  max-width: 60ch;
}

/* Premium product grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}

@media (min-width: 1024px) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }


/* Mid-size desktop header CTA spacing to prevent crowding */
@media (min-width: 1024px) and (max-width: 1180px) {
  .page-boutique .header__cta {
    gap: var(--s-3);
  }
  .page-boutique .header__cta .btn {
    padding: 14px 18px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
  .page-boutique .header__cta .btn--outline {
    display: none;
  }
}

/* Trust strip in boutique */
.shop-trust {
  padding: clamp(40px, 5vw, 64px) 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-stone);
  border-bottom: 1px solid var(--color-stone);
}

.shop-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}

@media (min-width: 768px) {
  .shop-trust__grid { grid-template-columns: repeat(4, 1fr); }
}

.shop-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: 12px;
  transition: background-color 0.3s var(--ease-out);
}

.shop-trust__item:hover {
  background: var(--color-paper);
}

.shop-trust__item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-anthracite);
  flex-shrink: 0;
}

.shop-trust__item h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-anthracite);
  margin-bottom: var(--s-1);
}

.shop-trust__item p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--color-gray-500);
  max-width: none;
}

/* --------------------------------------------
   Cal.com booking modal
   -------------------------------------------- */
.cal-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 11, 12, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

.cal-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cal-modal__container {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 80vh;
  max-height: 680px;
  background: var(--color-paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(16px) scale(0.96);
  transition: transform 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.cal-modal.is-open .cal-modal__container {
  transform: translateY(0) scale(1);
}

.cal-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-paper);
  flex-shrink: 0;
}

.cal-modal__title {
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  letter-spacing: -0.02em;
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--color-anthracite);
  margin: 0;
}

.cal-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--color-anthracite);
  cursor: pointer;
  transition: background 0.2s;
}

.cal-modal__close:hover,
.cal-modal__close:focus-visible {
  background: var(--color-line);
}

.cal-modal__close svg {
  width: 20px;
  height: 20px;
}

.cal-modal__body {
  flex: 1;
  position: relative;
  min-height: 0;
}

.cal-modal__iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cal-modal__loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-anthracite);
  background: var(--color-paper);
  transition: opacity 0.3s, visibility 0.3s;
}

.cal-modal__loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cal-modal__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-gray-200);
  border-top-color: var(--color-anthracite);
  border-radius: 50%;
  animation: cal-spin 0.8s linear infinite;
}

@keyframes cal-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .cal-modal {
    padding: 0;
  }
  .cal-modal__container {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
  }
}
/* ==========================================================
   Product detail page — generic fiche produit (appended)
   ========================================================== */

/* Product page needs top padding because the fixed header has no hero to sit over */
.page-product .product-page { padding-top: 170px; }

@media (max-width: 767px) {
  .page-product .product-page { padding-top: 120px; }
}

.product-page .page-section {
  padding: clamp(80px, 10vw, 120px) 0;
}

.product-detail__back {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-8);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gray-500);
  transition: color 0.25s var(--ease-out);
}

.product-detail__back:hover,
.product-detail__back:focus-visible {
  color: var(--color-red);
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

@media (min-width: 900px) {
  .product-detail__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.product-detail__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-image);
  overflow: hidden;
  background: var(--color-anthracite);
}

.product-detail__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__content {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

.product-detail__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.product-detail__desc {
  color: var(--color-gray-700);
  max-width: 54ch;
}

.product-detail__config {
  margin-top: var(--s-4);
}

.product-detail__fields {
  display: grid;
  gap: var(--s-4);
}

.product-detail__fields--surface {
  grid-template-columns: 1fr 1fr;
  max-width: 360px;
}

.product-detail__fields--grid {
  grid-template-columns: 1fr 1fr;
  max-width: 460px;
}

.product-detail__field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.product-detail__field label,
.product-detail__field input,
.product-detail__field select {
  font-family: var(--font-sans);
}

.product-detail__field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray-700);
}

.product-detail__input,
.product-detail__select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  font-size: 1rem;
  color: var(--color-anthracite);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.product-detail__input:focus,
.product-detail__select:focus {
  outline: 0;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-soft);
}

.product-detail__error {
  grid-column: 1 / -1;
  min-height: 1.4em;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-red);
}

.product-detail__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-6);
  margin-top: var(--s-4);
  padding-top: var(--s-6);
  border-top: 1px solid var(--color-line);
}

.product-detail__price {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--color-anthracite);
}

.product-detail__cta {
  min-width: 220px;
}

.product-detail__cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .product-detail__fields--surface,
  .product-detail__fields--grid {
    grid-template-columns: 1fr;
  }

  .product-detail__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-detail__cta {
    width: 100%;
  }
}


/* ==========================================================
   Responsive shop navigation tabs
   Mobile styles remain untouched; desktop tabs adapt to width.
   ========================================================== */

@media (min-width: 640px) and (max-width: 1023px) {
  .shop-nav__link {
    padding: 8px 14px;
    font-size: clamp(0.68rem, 1.4vw, 0.76rem);
    letter-spacing: 0.05em;
  }
}

@media (min-width: 1024px) {
  .shop-nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s-3) var(--s-4);
    padding-bottom: var(--s-4);
  }

  .shop-nav__link {
    flex: 1 1 180px;
    max-width: 320px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding: 10px 18px;
    font-size: 0.76rem;
  }
}

@media (min-width: 1280px) {
  .shop-nav__list {
    gap: var(--s-4) var(--s-6);
  }

  .shop-nav__link {
    flex: 1 1 200px;
    max-width: 340px;
    min-height: 52px;
    padding: 12px 22px;
    font-size: 0.8rem;
  }
}

@media (min-width: 1600px) {
  .shop-nav__list {
    flex-wrap: nowrap;
    gap: var(--s-6);
  }

  .shop-nav__link {
    flex: 0 0 auto;
    min-height: 56px;
    white-space: nowrap;
    padding: 14px 28px;
    font-size: 0.84rem;
  }
}

/* ==========================================================
   Image-sections grid (marquage-textile, totems, etc.)
   ========================================================== */
.media-sections {
  background: var(--color-cream);
  padding: clamp(80px, 10vw, 140px) 0;
}
.media-sections__head {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}
.media-sections__head .display {
  margin-bottom: var(--s-3);
}
.media-sections__head .lede {
  color: var(--color-gray-700);
}
.media-sections__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
}
@media (min-width: 640px) {
  .media-sections__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
.media-section {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-image);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.media-section:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(17, 18, 20, 0.12);
}
.media-section__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-anthracite);
}
.media-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.8s var(--ease-out);
}
.media-section:hover .media-section__media img {
  transform: scale(1.0);
}
.media-section__title {
  padding: var(--s-5) var(--s-6);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-anthracite);
}
.media-section__caption {
  display: block;
  padding: 0 var(--s-6) var(--s-5);
  font-size: 0.9rem;
  color: var(--color-gray-700);
}

/* ==========================================================
   Rounded cards & frames
   ========================================================== */
.type-card,
.material-card,
.work,
.engagement,
.step,
.contact__form-wrap,
.quote-wizard__card-content,
.quote-wizard__dropzone,
.shop-card,
.product__media,
.daynight,
.work__media,
.type-card__media,
.shop-card__media {
  border-radius: var(--radius-image);
  overflow: hidden;
}



/* ----------------------------------------------------------
   Design upload UI for shop cards and product detail
   ---------------------------------------------------------- */
.shop-card__upload,
.product-detail__upload {
  margin-top: var(--s-4);
  padding: var(--s-4);
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-image);
  background: var(--color-paper);
}

.shop-card__upload-title,
.product-detail__upload-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gray-700);
  margin-bottom: var(--s-3);
}

.shop-card__radio,
.product-detail__radio {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-2);
  font-size: 0.9rem;
  cursor: pointer;
}

.shop-card__radio input,
.product-detail__radio input {
  accent-color: var(--color-red);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.shop-card__file-wrap,
.product-detail__file-wrap {
  display: none;
  margin-top: var(--s-3);
}

.shop-card__file-wrap.is-active,
.product-detail__file-wrap.is-active {
  display: block;
}

.shop-card__file,
.product-detail__file {
  width: 100%;
  padding: var(--s-2) 0;
  font-size: 0.9rem;
  color: var(--color-anthracite);
}

.shop-card__file-hint,
.product-detail__file-hint {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  margin-top: var(--s-2);
}

.shop-card__upload-error,
.product-detail__error {
  color: var(--color-red);
  font-size: 0.85rem;
  margin-top: var(--s-2);
}

.product-detail__upload {
  margin-top: var(--s-6);
  padding: var(--s-6);
}

/* ------------------------------------------------------------
   BOUTIQUE — page transitoire « ouverture prochaine »
   Structure du composant Coming Soon de 21st : badge, titre,
   capture e-mail, mentions. Rendu avec les tokens du site.
   ------------------------------------------------------------ */
.soon {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-paper);
  padding: clamp(120px, 15vw, 180px) 0 clamp(64px, 8vw, 96px);
}
.soon__inner {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 3vw, 34px);
}

/* Badge : carré bordé, comme le composant d'origine */
.soon__badge {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--color-stone);
  background: rgba(17, 18, 20, 0.03);
  color: var(--color-red);
}
.soon__badge svg { width: 24px; height: 24px; }

.soon__head { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.soon__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}
.soon__title .acc { color: var(--color-red); font-style: normal; }
.soon__lede {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  color: var(--color-gray-700);
  max-width: 50ch;
}

/* Capture e-mail : champ + bouton, empilés sur mobile */
.soon__form {
  display: flex;
  gap: var(--s-3);
  width: 100%;
  max-width: 440px;
}
.soon__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 var(--s-4);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-anthracite);
  background: var(--color-white);
  border: 1px solid var(--color-stone);
  border-radius: 2px;
  transition: border-color 0.3s var(--ease-out);
}
.soon__input::placeholder { color: var(--color-gray-400); }
.soon__input:focus {
  outline: none;
  border-color: var(--color-red);
}
.soon__submit { flex-shrink: 0; height: 48px; }

.soon__hint {
  font-size: 0.78rem;
  color: var(--color-gray-500);
  margin-top: calc(-1 * var(--s-4));
}
.soon__note {
  font-size: 0.92rem;
  color: var(--color-gray-500);
  max-width: 46ch;
}
.soon__cta { display: inline-flex; gap: var(--s-4); flex-wrap: wrap; justify-content: center; }
.soon__contact { font-size: 0.85rem; color: var(--color-gray-500); }
.soon__contact a {
  color: var(--color-gray-700);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.soon__contact a:hover { color: var(--color-red); }

@media (max-width: 560px) {
  .soon__form { flex-direction: column; }
  .soon__submit, .soon__cta .btn { width: 100%; }
}

/* ==========================================================
   Pages de texte (mentions légales, confidentialité, recrutement)
   ========================================================== */
.section--tight h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
.section--tight p + h2,
.section--tight ul + h2 { margin-top: var(--s-10) !important; }
.section--tight p { margin-bottom: var(--s-3); }
.section--tight p a { color: var(--color-red-ink) !important; text-decoration: underline; text-underline-offset: 3px; }

/* Page « boutique bientôt » : titre sur deux lignes */
.soon__inner { max-width: 860px; }
.soon__lede, .soon__note { margin-left: auto; margin-right: auto; }

/* Page de confirmation de commande */
.page-section > .trust { width: 100%; }
