/* ==========================================================================
   ARQ Architecte — feuille de style
   Lignes épurées inspirées d'Apple, dégradés « grès des Vosges » et « saumon »
   ========================================================================== */

:root {
  /* Couleurs de base */
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --bg: #ffffff;
  --surface: #f5f5f7;
  --night: #0b0b0d;
  --night-2: #1c1c1f;
  --on-night: #f5f5f7;
  --on-night-muted: #a1a1a6;

  /* Accent — grès rose des Vosges */
  --gres: #a63f2e;
  --gres-deep: #8e3424;
  --error: #c4231b;
  --success: #1d7a46;
  --focus: #8e3424;

  /* Dégradés d'une seule teinte (texte large uniquement : contraste ≥ 3:1 sur blanc) */
  --grad-gres: linear-gradient(100deg, #8a3122 0%, #c4583b 100%);       /* grès rose des Vosges */
  --grad-ciel: linear-gradient(100deg, #b84d35 0%, #d4704f 100%);       /* saumon (remplace le bleu) */
  --grad-aube: var(--grad-gres);
  --grad-aube-clair: linear-gradient(100deg, #f09a7c 0%, #ffd0bd 100%); /* grès clair, sur fond sombre */

  /* Typographie */
  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-display: clamp(2.125rem, 1.5rem + 2.8vw, 4rem);
  --fs-hero: clamp(2.375rem, 1.6rem + 3.6vw, 4.75rem);
  --fs-headline: clamp(1.75rem, 1.35rem + 1.8vw, 2.875rem);
  --fs-statement: clamp(1.375rem, 1.1rem + 1.4vw, 2.25rem);
  --fs-title: clamp(1.1875rem, 1.1rem + 0.45vw, 1.4375rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Espacements (échelle 8 px) */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --s7: 6rem;
  --s8: 8rem;
  --section: clamp(4rem, 2.75rem + 5vw, 7.5rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --max: 1280px;
  --max-narrow: 880px;

  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 64px;

  /* Mouvement */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 900ms;

  /* Plans */
  --z-header: 40;
  --z-menu: 50;
  --z-dialog: 100;
}

/* ---------------------------------------------------------------- Base */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
main:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: calc(var(--z-menu) + 1);
  padding: 0.75rem 1.25rem;
  background: var(--ink); color: #fff;
  border-radius: 999px;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: calc(var(--max-narrow) + var(--gutter) * 2); }
.center { text-align: center; }

/* ---------------------------------------------------------------- Typographie */

.display,
.headline,
.title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
  color: var(--ink);
}
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.035em; }
.display--hero { font-size: var(--fs-hero); color: #fff; }
.headline { font-size: var(--fs-headline); }
.title { font-size: var(--fs-title); letter-spacing: -0.015em; line-height: 1.2; }

.eyebrow {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gres);
  margin-bottom: var(--s2);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.85); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--muted);
  max-width: 44ch;
  margin-top: var(--s3);
  text-wrap: pretty;
}
.center .lead { margin-inline: auto; }
.lead--light { color: rgba(255, 255, 255, 0.86); }
.lead--tagline { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-title); max-width: none; letter-spacing: -0.015em; }

/* Texte en dégradé */
.grad {
  background-image: var(--grad-aube);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gres); /* repli */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.grad--gres { background-image: var(--grad-gres); }
.grad--ciel { background-image: var(--grad-ciel); }
.grad--aube-clair { background-image: var(--grad-aube-clair); color: #ffc2a8; }
@media (forced-colors: active) {
  .grad { -webkit-text-fill-color: currentColor; background: none; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--gres);
  font-weight: 600;
  min-height: 44px;
}
.text-link .icon { width: 1.1em; height: 1.1em; transition: transform var(--dur-fast) var(--ease-out); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link:hover { color: var(--gres-deep); }

.prose p + p { margin-top: var(--s3); }
.prose p { color: var(--ink-2); max-width: 65ch; text-wrap: pretty; }
.prose-lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink) !important; }

/* ---------------------------------------------------------------- Icônes */

.icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------------------------------------------------------------- Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.1rem; height: 1.1rem; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .icon { transform: translateX(2px); }
.btn--sm { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0.95rem 1.9rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e8e8ed; }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.04); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.btn[disabled] { opacity: 0.5; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.actions.center { justify-content: center; }

/* ---------------------------------------------------------------- En-tête */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s4); }

.brand { display: flex; align-items: center; min-height: 44px; color: var(--ink); }
.brand .logo { height: 26px; width: auto; }

.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: clamp(1rem, 2vw, 2.25rem); }
@media (max-width: 1179px) {
  .main-nav ul { gap: 1rem; }
  .header-cta { display: none; }
}
.main-nav a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--dur-fast);
  position: relative;
}
.main-nav a:hover,
.main-nav a[aria-current='page'] { color: var(--ink); }
.main-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gres);
}

.header-actions { display: flex; align-items: center; gap: var(--s2); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.lang-switch:hover { color: var(--ink); }
/* Sélecteur de langue */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  display: grid;
  min-width: 9.5rem;
  padding: 0.4rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}
.lang-panel a { padding: 0.6rem 0.75rem; border-radius: 8px; font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
.lang-panel a:hover { background: var(--surface); }
.lang-panel a[aria-current] { color: var(--gres); }
.lang-list { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.lang-list a { font-size: var(--fs-small); }
.lang-list a[aria-current] { color: var(--gres); font-weight: 600; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 0; background: transparent;
  border-radius: 50%;
  color: inherit;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .icon-open { display: none; }
.menu-toggle[aria-expanded='true'] .icon-close { display: block; }

/* En-tête posé sur le diaporama d'accueil */
.page-home .site-header { margin-bottom: calc(var(--header-h) * -1); }
.site-header--over:not(.is-solid) {
  background: transparent;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: #fff;
}
.site-header--over:not(.is-solid) .brand,
.site-header--over:not(.is-solid) .main-nav a,
.site-header--over:not(.is-solid) .lang-switch { color: #fff; }
.site-header--over:not(.is-solid) .main-nav a { opacity: 0.88; }
.site-header--over:not(.is-solid) .main-nav a:hover { opacity: 1; }
.site-header--over:not(.is-solid) .header-cta { background: #fff; color: var(--ink); }

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: var(--z-menu);
  background: var(--bg);
  color: var(--ink);
  padding: var(--s4) var(--gutter) var(--s5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: grid; gap: var(--s1); }
.mobile-menu nav a {
  display: block;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.mobile-menu nav a[aria-current='page'] { color: var(--gres); }
.mobile-menu-foot { display: grid; gap: var(--s2); margin-top: var(--s5); }
.mobile-phone { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-weight: 600; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--bg) !important; color: var(--ink) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } /* sans quoi le menu fixe est coupé à la hauteur de l'en-tête */
.menu-open .site-header .brand { color: var(--ink) !important; }

@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: menu-in var(--dur) var(--ease-out); }
  .mobile-menu:not([hidden]) nav li { animation: item-in 500ms var(--ease-out) both; }
  .mobile-menu:not([hidden]) nav li:nth-child(2) { animation-delay: 40ms; }
  .mobile-menu:not([hidden]) nav li:nth-child(3) { animation-delay: 80ms; }
  .mobile-menu:not([hidden]) nav li:nth-child(4) { animation-delay: 120ms; }
  .mobile-menu:not([hidden]) nav li:nth-child(5) { animation-delay: 160ms; }
}
@keyframes menu-in { from { opacity: 0; } }
@keyframes item-in { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 1023px) {
  .main-nav, .header-cta, .header-actions > .lang-menu { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}

/* ---------------------------------------------------------------- Sections */

.section { padding-block: var(--section); }
.section--tight { padding-top: calc(var(--section) * 0.4); }
.section--flush-top { padding-top: 0; }
.dark + .section--flush-top { padding-top: var(--section); }
.surface { background: var(--surface); }
.dark { background: var(--night); color: var(--on-night); }
.dark .display, .dark .headline { color: var(--on-night); }
.dark .grad--aube { background-image: var(--grad-aube-clair); }

.section-head {
  display: grid;
  gap: var(--s3);
  margin-bottom: var(--s6);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: var(--s6); }
}
.section-lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--muted); max-width: 40ch; }
.section-foot { margin-top: var(--s6); display: flex; justify-content: center; }

.headline + .steps,
.headline + .card-grid,
.headline + .value-grid,
.headline + .office-grid { margin-top: var(--s6); }

.split { display: grid; gap: var(--s4); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.25fr; gap: var(--s7); align-items: start; }
}

/* ---------------------------------------------------------------- Accueil — diaporama */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1200ms var(--ease-out);
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 24%),
    linear-gradient(90deg, rgba(5, 5, 8, 0.55) 0%, rgba(5, 5, 8, 0.25) 45%, rgba(5, 5, 8, 0) 70%),
    linear-gradient(0deg, rgba(5, 5, 8, 0.85) 0%, rgba(5, 5, 8, 0.4) 38%, rgba(5, 5, 8, 0) 70%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-slide img { transform: scale(1.06); transition: transform 9s linear; }
  .hero-slide.is-active img { transform: scale(1); }
}
.hero-content { pointer-events: none; }
.hero-content > * { pointer-events: auto; }
/* Texte calé sur le bord gauche de l'écran, à l'aplomb des 4 traits du diaporama */
.hero-content {
  max-width: none;
  margin-inline: 0;
  padding-top: calc(var(--header-h) + var(--s6));
  padding-bottom: clamp(7rem, 5rem + 6vw, 10rem);
}
.hero-content .display { max-width: 12ch; }
.hero-content .lead { max-width: 38ch; }

/* Signature verticale, à l'aplomb de la marge droite */
.hero-signature {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-display);
  font-size: clamp(0.8125rem, 0.7rem + 0.4vw, 1.0625rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 14px rgba(5, 5, 8, 0.45);
  pointer-events: none;
}
/* Sur téléphone, le texte s'arrête avant la signature */
@media (max-width: 640px) {
  .hero-content { padding-inline-end: calc(var(--gutter) + 2rem); }
}

.hero-caption {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  max-width: min(60vw, 420px);
  text-align: right;
  z-index: 1;
}
.hero-caption a {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.6rem;
  min-height: 44px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #fff;
}
.hero-caption-meta { font-weight: 400; color: rgba(255, 255, 255, 0.78); }
.hero-caption .icon { width: 1rem; height: 1rem; }
.hero-caption a:hover .hero-caption-meta { color: #fff; }

.hero-controls {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: var(--s2);
}
/* -8px : le trait (28px) est centré dans sa zone cliquable (44px), on le ramène sur la marge */
.hero-dots { display: flex; gap: 0.25rem; margin-left: -8px; }
.hero-dot {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; background: transparent; padding: 0;
}
.hero-dot span {
  display: block;
  width: 28px; height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  position: relative;
}
.hero-dot span::after {
  content: '';
  position: absolute; inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dot.is-active span::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .hero[data-playing='true'] .hero-dot.is-active span::after { animation: dot-progress var(--slide-ms, 6500ms) linear both; }
}
@keyframes dot-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color var(--dur-fast);
}
.hero-toggle:hover { background: rgba(255, 255, 255, 0.2); }
.hero-toggle .icon { width: 18px; height: 18px; }
.hero-toggle .icon-play { display: none; }
.hero[data-playing='false'] .hero-toggle .icon-play { display: block; }
.hero[data-playing='false'] .hero-toggle .icon-pause { display: none; }

@media (max-width: 640px) {
  .hero-caption { right: var(--gutter); left: auto; bottom: 5.25rem; max-width: calc(100% - var(--gutter) * 2); }
  .hero-caption-meta { display: none; }
  /* Sur téléphone : texte et boutons plus petits et plus hauts, pour laisser voir la photo */
  .hero-slide img { object-position: var(--cadrage, 50% 50%); }
  .hero-content { padding-bottom: 13.5rem; }
  .hero-content .eyebrow { font-size: 0.8125rem; }
  .hero-content .display--hero { font-size: 2rem; }
  .hero-content .lead { margin-top: var(--s1); font-size: 0.9375rem; line-height: 1.45; }
  .hero-content .actions { margin-top: var(--s2); gap: 0.5rem; }
  .hero-content .btn--lg { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.875rem; }
}

/* Entrée du texte du hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: rise 1100ms var(--ease-out) both; }
  .hero-content > :nth-child(2) { animation-delay: 120ms; }
  .hero-content > :nth-child(3) { animation-delay: 240ms; }
  .hero-content > :nth-child(4) { animation-delay: 360ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

/* ---------------------------------------------------------------- Page construction neuve — texte et dessin au trait */

.statement { padding-block: calc(var(--section) * 0.75); }
.statement .prose { margin-top: var(--s3); }
/* Texte à gauche (aligné sur les titres des autres sections), dessin au trait à droite */
.statement-grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 960px) { .statement-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--s7); } }
.statement-drawing { width: 100%; max-width: 520px; margin-inline: auto; }
.statement-side { display: flex; flex-direction: column; align-items: center; gap: var(--s4); }
.statement-drawing svg { display: block; width: 100%; height: auto; overflow: visible; }
.dw { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.dw--light { stroke: var(--muted); stroke-width: 0.9; }
.dw--accent { stroke: var(--gres); stroke-width: 1.4; }
.dw-label { font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; fill: var(--muted); }
/* tracé trait par trait quand le dessin arrive à l'écran */
@media (prefers-reduced-motion: no-preference) {
  .js .dw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-out) var(--d, 0ms); }
  .js .is-drawn .dw { stroke-dashoffset: 0; }
  .js .dw-label { opacity: 0; transition: opacity 0.8s var(--ease-out) 1.5s; }
  .js .is-drawn .dw-label { opacity: 1; }
}

/* ---------------------------------------------------------------- Projets */

.project-grid {
  display: grid;
  gap: var(--s6) var(--s4);
}
@media (min-width: 900px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid--featured .project-card--wide { grid-column: span 2; }
  .project-grid--featured .project-card--wide .project-media { aspect-ratio: 21 / 9; }
}
.project-card[hidden] { display: none; }
@media (min-width: 1200px) {
  .project-grid:not(.project-grid--featured) { grid-template-columns: repeat(3, 1fr); gap: var(--s5) var(--s3); }
}
.project-link--static .project-media img { transition: none; }
.project-link { display: block; border-radius: var(--radius); }
.project-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.project-link:hover .project-media img { transform: scale(1.035); }
.project-info {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 0.25rem var(--s2);
  padding-top: var(--s3);
}
.project-title {
  font-family: var(--font-display);
  font-size: var(--fs-title);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.project-meta { grid-column: 1; color: var(--muted); font-size: var(--fs-small); }
.project-arrow {
  grid-column: 2; grid-row: 1 / span 2;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.project-link:hover .project-arrow { background: var(--ink); color: #fff; border-color: var(--ink); }

.filters { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s6); }
.chip-btn {
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.chip-btn:hover { border-color: var(--ink); color: var(--ink); }
.chip-btn[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- Page projet */

.page-hero {
  padding-top: clamp(4rem, 2.5rem + 6vw, 8.5rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}
.page-hero--center { min-height: 70vh; display: flex; align-items: center; }
.page-hero--project { padding-bottom: var(--s5); }
.back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 44px;
  margin-bottom: var(--s3);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--muted);
}
.back-link:hover { color: var(--ink); }
.back-link .icon { width: 1rem; height: 1rem; }

.project-cover,
.wide-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.project-cover img,
.wide-media img { width: 100%; max-height: 82vh; object-fit: cover; }

.project-body { display: grid; gap: var(--s5); }
@media (min-width: 900px) {
  .project-body { grid-template-columns: minmax(240px, 1fr) 2fr; gap: var(--s7); }
}
.facts { display: grid; gap: 0; align-self: start; border-top: 1px solid var(--line); }
.facts > div {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.facts dt { color: var(--muted); font-size: var(--fs-small); }
.facts dd { font-weight: 500; text-align: right; }

.gallery { display: grid; gap: var(--s3); }
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery--three { grid-template-columns: repeat(3, 1fr); }
}
.gallery-open {
  display: block; width: 100%;
  padding: 0; border: 0; background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-open img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.gallery-open:hover img { transform: scale(1.03); }

.next-project { border-top: 1px solid var(--line-soft); }
.next-link { display: grid; gap: var(--s2); }
@media (min-width: 900px) {
  .next-link { grid-template-columns: 1fr 1fr; align-items: center; column-gap: var(--s6); }
  .next-link .eyebrow { grid-column: 1; align-self: end; margin: 0; }
  .next-title { grid-column: 1; }
  .next-media { grid-column: 2; grid-row: 1 / span 2; }
}
.next-title {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-display);
  font-size: var(--fs-headline);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.next-title .icon { width: 0.7em; height: 0.7em; transition: transform var(--dur) var(--ease-out); }
.next-link:hover .next-title .icon { transform: translateX(8px); }
.next-media { display: block; border-radius: var(--radius); overflow: hidden; }
.next-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 900ms var(--ease-out); }
.next-link:hover .next-media img { transform: scale(1.035); }

/* Visionneuse */
.lightbox {
  width: 100vw; height: 100vh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(8, 8, 10, 0.96);
  color: #fff;
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lightbox-figure { display: grid; justify-items: center; gap: var(--s2); padding: var(--s6) 0 var(--s4); height: 100vh; align-content: center; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; object-fit: contain; border-radius: 8px; }
.lightbox-figure figcaption { font-size: var(--fs-small); color: var(--on-night-muted); text-align: center; padding-inline: var(--s2); }
.lightbox-close,
.lightbox-nav {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  margin: var(--s2);
  transition: background-color var(--dur-fast);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox-close { position: absolute; top: 0; right: 0; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: menu-in var(--dur) var(--ease-out); }
}

/* ---------------------------------------------------------------- Le juste équilibre (accueil) */

.balance { background: var(--surface); }
.balance-grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 960px) { .balance-grid { grid-template-columns: 1fr 1.1fr; gap: var(--s7); } }
.balance-lead { margin-top: var(--s3); font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); max-width: 34ch; text-wrap: pretty; }
.balance-body { margin-top: var(--s3); color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }

.balance-diagram { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1; }
.balance-diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.balance-diagram svg * { vector-effect: non-scaling-stroke; }
.bal-construction { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 6; }
.bal-axis { fill: none; stroke: var(--line-soft); stroke-width: 1; stroke-dasharray: 2 6; }
.bal-diamond { fill: rgba(255, 255, 255, 0.55); stroke: var(--line); stroke-width: 1; }
.bal-target { stroke: var(--muted); stroke-width: 1; opacity: 0.6; }
.bal-line {
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 1;
  stroke-dasharray: 1 1;
  stroke-dashoffset: var(--draw, 0);
  transition: stroke 240ms var(--ease-out);
}
.bal-node { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; transition: fill 240ms var(--ease-out), stroke 240ms var(--ease-out); }
.bal-point { fill: var(--gres); transition: r 200ms var(--ease-out); }
/* Le point se laisse attraper : main ouverte sur le losange, main fermée quand on le tient */
.bal-handle { fill: transparent; pointer-events: none; touch-action: none; }
.balance-diagram.is-playable .bal-handle { pointer-events: auto; }
.balance-diagram.is-playable .bal-diamond { cursor: grab; }
.balance-diagram.is-grabbing,
.balance-diagram.is-grabbing * { cursor: grabbing !important; }
.balance-diagram.is-grabbing .bal-point { r: 11px; }
.bal-ring {
  fill: none;
  stroke: var(--gres);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4);
  transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out);
}
.balance.is-balanced .bal-ring { opacity: 0.7; transform: scale(1); }

.bal-label {
  position: absolute;
  transform: translate(-50%, calc(-100% - 16px));
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(0.9375rem, 0.85rem + 0.35vw, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 240ms var(--ease-out);
}
.bal-label--2 { transform: translate(-50%, 16px); }   /* pointe du bas : nom sous le point */
.bal-num { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.bal-center-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(var(--px, -50%), var(--py, 22px));
  white-space: nowrap;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gres);
  pointer-events: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface);
}

/* Survol d'une dimension : sa ligne, son point et son nom passent en couleur d'accent */
.balance[data-focus='0'] [data-balance-line='0'], .balance[data-focus='1'] [data-balance-line='1'],
.balance[data-focus='2'] [data-balance-line='2'], .balance[data-focus='3'] [data-balance-line='3'] { stroke: var(--gres); stroke-width: 2; }
.balance[data-focus='0'] [data-balance-node='0'], .balance[data-focus='1'] [data-balance-node='1'],
.balance[data-focus='2'] [data-balance-node='2'], .balance[data-focus='3'] [data-balance-node='3'] { fill: var(--gres); stroke: var(--gres); }
.balance[data-focus='0'] [data-balance-label='0'], .balance[data-focus='1'] [data-balance-label='1'],
.balance[data-focus='2'] [data-balance-label='2'], .balance[data-focus='3'] [data-balance-label='3'] { color: var(--gres); }

.balance-dims {
  display: grid;
  gap: var(--s4) var(--s4);
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
  counter-reset: none;
}
@media (min-width: 640px) { .balance-dims { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .balance-dims { grid-template-columns: repeat(4, 1fr); } }
.balance-dim { cursor: default; }
.balance-dim .bal-num { display: block; margin-bottom: var(--s1); }
.balance-dim-name { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; transition: color 240ms var(--ease-out); }
.balance-dim p { margin-top: var(--s1); font-size: var(--fs-small); color: var(--muted); }
.balance-dim:hover .balance-dim-name { color: var(--gres); }

.balance-closing {
  margin-top: var(--s6);
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--fs-headline);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ---------------------------------------------------------------- Logo ARQ évidé sur plan (accueil) */
/* La hauteur de la section (durée du défilement) est calculée par le script, réglages en haut de main.js */

.logo-reveal { position: relative; background: var(--night); }
html:not(.js) .logo-reveal { display: none; }
.logo-reveal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--night);
}
.logo-reveal-fond, .logo-reveal-svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* Les photos : taille et position pilotées par le scroll, réglages en haut de assets/js/main.js */
.lr-photos { position: absolute; inset: 0; perspective: 1500px; pointer-events: none; }
.lr-photo {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #1c1c20;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}
.lr-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lr-voile { position: absolute; inset: 0; background: var(--night); }
/* Phrase d'ouverture, au centre de l'écran avant la première photo */
.lr-phrase {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 5.4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-align: center;
  color: var(--on-night);
  opacity: 0;
}
.lr-phrase span { display: block; }
/* Le mot de chaque photo : il se trace sous la photo, puis la suit jusqu'à sa place */
.lr-mot {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  width: max-content;
  transform-origin: 50% 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--on-night);
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}
/* Traits de construction : ils suivent les bords de la photo jusqu'aux bords de l'écran */
.lr-guide { position: absolute; left: 0; top: 0; background: rgba(255, 255, 255, 0.22); opacity: 0; will-change: transform, opacity; }
.lr-guide--h { width: 100%; height: 1px; }
.lr-guide--v { width: 1px; height: 100%; }
@media (prefers-reduced-motion: reduce) { .lr-photos { display: none; } }
.lr-night { fill: var(--night); }
/* Cote d'architecte sous le logo : la phrase s'inscrit au milieu de la ligne de mesure */
.lr-dim line { stroke: var(--on-night); stroke-width: 1; stroke-linecap: square; }
.lr-dim line[data-dim^='ext'] { stroke: rgba(255, 255, 255, 0.45); }
.lr-dim-tick { stroke-width: 1.6 !important; }
.lr-dim-text {
  position: absolute;
  left: 50%;
  top: var(--dim-y, 80%);
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  transform: translate(-50%, -50%) translateY(calc((1 - var(--dim-o, 1)) * 10px));
  opacity: var(--dim-o, 1);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 0.85rem + 1.1vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--on-night);
  pointer-events: none;
  will-change: opacity, transform;
}
.lr-dim-text .grad { background-image: var(--grad-aube-clair); color: #ffc2a8; }

/* ---------------------------------------------------------------- Maison éclatée (accueil) */

/* Par défaut (sans JS ou « réduire les animations ») : image fixe de la vue éclatée finale */
.explode { --explode-h: 400vh; padding-block: var(--section); }
.explode-head { margin-bottom: var(--s5); }
.explode-stage {
  position: relative;
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--max);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.explode-still { width: 100%; height: 100%; object-fit: cover; }
.explode-canvas { display: none; }

/* Version animée : section haute, conteneur collant, image dessinée dans le canvas */
@media (prefers-reduced-motion: no-preference) {
  .js .explode { padding: 0; }
  .js .explode-track { height: var(--explode-h); position: relative; }
  .js .explode-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--s4);
  }
  .js .explode-head { margin: 0; }
  .js .explode-title {
    opacity: var(--title-o, 0);
    transform: translateY(calc((1 - var(--title-o, 0)) * 16px));
    will-change: opacity, transform;
  }
  .js .explode-still { display: none; }
  .js .explode-canvas { display: block; width: 100%; height: 100%; }

  /* Ouverture en cercle depuis le centre (rayon piloté par le scroll) */
  .js .explode.is-ready .explode-stage {
    clip-path: circle(var(--r, 0px) at 50% 50%);
    will-change: clip-path;
  }

  /* Écrans en paysage : image plein écran, titre posé sur le ciel */
  @media (min-aspect-ratio: 1/1) {
    .js .explode-stage {
      position: absolute;
      inset: 0;
      width: auto;
      max-width: none;
      aspect-ratio: auto;
      border-radius: 0;
      margin: 0;
      background: var(--bg);
    }
    .js .explode-head {
      position: absolute;
      top: calc(var(--header-h) + clamp(1.5rem, 1rem + 3vh, 4rem));
      left: 0; right: 0;
      z-index: 2;
    }
    .js .explode-title { max-width: 14ch; }
  }

  /* Écrans en portrait (mobile) : titre au-dessus, bandeau d'image arrondi */
  @media (max-aspect-ratio: 1/1) {
    .js .explode { --explode-h: 280vh; }
    .js .explode-stage { aspect-ratio: 4 / 3; }
  }
}

/* Les métiers de l'accueil : le fil du projet. Réglages en haut de assets/js/main.js */
.fil .section-head { position: relative; top: -1.5rem; }
.fil-zone { position: relative; }
.fil-trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
html:not(.js) .fil-trace { display: none; }
.fil-trace path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fil-ligne { stroke: var(--line); stroke-width: 1; }
.fil-actif { stroke: var(--gres); stroke-width: 1.5; }
.fil-noeud line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; transition: stroke var(--dur); }
.fil-noeud circle { fill: var(--surface); stroke: var(--muted); stroke-width: 1; transition: fill var(--dur), stroke var(--dur); }
.fil-noeud.is-on line { stroke: var(--gres); }
.fil-noeud.is-on circle { fill: var(--gres); stroke: var(--gres); }
.fil-point { fill: var(--gres); }
.fil-halo { fill: none; stroke: var(--gres); stroke-width: 1; opacity: 0.35; }
.fil-liste { position: relative; display: grid; gap: var(--s4); padding-inline-start: 2.75rem; margin: 0; list-style: none; }
.fil-etape a { display: block; color: inherit; }
.fil-titre { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; color: var(--ink); transition: color var(--dur); }
.fil-etape p { margin-top: 0.3rem; max-width: 30ch; color: var(--ink); font-size: var(--fs-small); }
@media (min-width: 900px) {
  /* Les textes alternent de part et d'autre de la courbe, chacun à l'aplomb de son point */
  .fil-liste { grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: auto 170px auto; gap: 0; padding-inline-start: 0; }
  .fil-etape { grid-column: span 2; }
  .fil-etape:nth-child(odd) { grid-row: 1; align-self: end; }
  .fil-etape:nth-child(even) { grid-row: 3; }
  .fil-etape:nth-child(1) { grid-column: 1 / span 2; }
  .fil-etape:nth-child(2) { grid-column: 2 / span 2; }
  .fil-etape:nth-child(3) { grid-column: 3 / span 2; }
  .fil-etape:nth-child(4) { grid-column: 4 / span 2; }
  .fil-etape:nth-child(5) { grid-column: 5 / span 2; }
  .fil-etape:nth-child(6) { grid-column: 6 / span 2; }
  .fil-etape a { padding-inline: 0.9rem 1rem; }
}
@media (hover: hover) and (pointer: fine) {
  .fil-etape a:hover .fil-titre { color: var(--gres); }
}

/* ---------------------------------------------------------------- Accueil — construire ou rénover */

.paths .container { position: relative; }
.paths-head { margin-bottom: var(--s6); }
.paths-grid { display: grid; gap: var(--s3); }
@media (min-width: 800px) { .paths-grid { grid-template-columns: 1fr 1fr; } }
.path {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night-2);
  color: #fff;
  isolation: isolate;
}
@media (min-width: 800px) { .path { aspect-ratio: 1 / 1; } }
.path:focus-visible { outline: 3px solid #ffb38f; outline-offset: 3px; }
.path-media { position: absolute; inset: 0; z-index: -1; }
.path-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.path--split .path-media img { object-position: 62% 40%; }
.path-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 8, 0.88) 0%, rgba(5, 5, 8, 0.55) 30%, rgba(5, 5, 8, 0) 62%);
}
/* Avant à gauche, après à droite : le trait s'ouvre à l'arrivée et glisse au survol pour montrer le résultat */
.path-top { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.path-line { position: absolute; inset: 0; transform: translateX(50%); pointer-events: none; }
.path-line::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: linear-gradient(180deg, #fff 52%, rgba(255, 255, 255, 0) 68%); }
.path-tag {
  position: absolute;
  top: var(--s2);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 20, 22, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: var(--fs-small);
  font-weight: 500;
}
.path-tag--left { left: var(--s2); }
.path-tag--right { right: var(--s2); }
.path-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: var(--s3) calc(var(--s3) + 4.5rem) var(--s3) var(--s3);
}
.path-kicker { display: block; font-size: var(--fs-small); font-weight: 500; color: #ffc2a8; }
.path-title {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
}
.path-sub { display: block; margin-top: var(--s1); color: rgba(255, 255, 255, 0.88); text-wrap: pretty; }
.path-credit { display: block; margin-top: 0.35rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.62); }
.path-go {
  position: absolute;
  right: var(--s3);
  bottom: var(--s3);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}
.path-go .icon { width: 24px; height: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .path-media > img, .path-go { transition: transform 600ms var(--ease-out); }
  .path-top { transition: clip-path 900ms var(--ease-out) 150ms; }
  .path-line { transition: transform 900ms var(--ease-out) 150ms; }
  .js .path--split:not(.is-visible) .path-top { clip-path: inset(0 12% 0 0); }
  .js .path--split:not(.is-visible) .path-line { transform: translateX(88%); }
  @media (hover: hover) and (pointer: fine) {
    .path:not(.path--split):hover .path-media > img { transform: scale(1.03); }
    .path--split:hover .path-top { clip-path: inset(0 76% 0 0); transition-delay: 0ms; }
    .path--split:hover .path-line { transform: translateX(24%); transition-delay: 0ms; }
    .path:hover .path-go { transform: translateX(4px); }
  }
}
@media (max-width: 639px) {
  .path-media::after { background: linear-gradient(0deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.72) 38%, rgba(5, 5, 8, 0) 72%); }
  .path-text { padding: var(--s2) calc(var(--s2) + 4rem) var(--s2) var(--s2); }
  .path-go { right: var(--s2); bottom: var(--s2); width: 48px; height: 48px; }
}

/* ---------------------------------------------------------------- Bandeau MaPrimeRénov' */

.renov-band { position: relative; overflow: hidden; }
.renov-band::before {
  content: '';
  position: absolute;
  inset: auto -20% -60% 30%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(255, 140, 110, 0.22), transparent 70%),
    radial-gradient(closest-side at 30% 40%, rgba(232, 140, 110, 0.14), transparent 70%);
  pointer-events: none;
}
.renov-band-grid { position: relative; display: grid; gap: var(--s6); }
@media (min-width: 1000px) {
  .renov-band-grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: var(--s8); }
}
.renov-band .btn { margin-top: var(--s4); }
.renov-audit-link { margin-top: var(--s3); font-size: var(--fs-small); }
.renov-audit-link a { display: inline-flex; align-items: center; gap: 0.4em; color: var(--on-night); text-decoration: underline; text-underline-offset: 3px; }
.renov-audit-link .icon { flex: none; width: 1.1em; height: 1.1em; }
.renov-points { display: grid; gap: var(--s2); }
.renov-points li {
  display: flex;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.renov-points h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.renov-points p { color: var(--on-night-muted); font-size: var(--fs-small); margin-top: 0.25rem; }
.renov-n { font-family: var(--font-display); font-weight: 600; color: #ffb38f; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--s3);
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--fs-small);
  font-weight: 600;
  color: #fff;
}
.badge .icon { width: 1rem; height: 1rem; color: #ffb38f; }
.badge--dark { margin: var(--s4) 0 0; background: var(--surface); border-color: var(--line-soft); color: var(--ink); }
.badge--dark .icon { color: var(--gres); }

/* ---------------------------------------------------------------- Étapes */

.steps { display: grid; gap: var(--s4); counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: var(--s3); }
  .steps--six { grid-template-columns: repeat(3, 1fr); gap: var(--s5) var(--s4); }
}
.step { padding-top: var(--s3); border-top: 1px solid var(--line); }
.surface .step { border-color: var(--line); }
.step-n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.6rem + 0.9vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--s3);
}
.step-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: var(--s1); }
.step p { color: var(--muted); font-size: var(--fs-small); }

/* ---------------------------------------------------------------- Agences */

.office-grid { display: grid; gap: var(--s3); }
@media (min-width: 800px) { .office-grid { grid-template-columns: repeat(2, 1fr); } }
.office-card {
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  background: var(--bg);
  border-radius: var(--radius);
}
.office-city {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.office-area { color: var(--muted); margin-top: var(--s1); }
.office-card address { margin: var(--s4) 0 var(--s2); font-size: 1.0625rem; line-height: 1.5; }
.office-card .eyebrow { margin-bottom: var(--s1); }

.zone { margin-top: var(--s6); }
.zone-title { font-size: var(--fs-small); font-weight: 600; color: var(--muted); margin-bottom: var(--s2); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
.chips li {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  font-size: var(--fs-small);
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- CTA final */

.cta-band { text-align: center; }
.cta-band .display { font-size: var(--fs-headline); }
.cta-band .lead { margin-inline: auto; }

/* ---------------------------------------------------------------- Services */

.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid;
  gap: var(--s3);
  padding-block: var(--s6);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .service { grid-template-columns: 120px 1.6fr 1fr; gap: var(--s6); }
}
.service-head { display: flex; align-items: center; gap: var(--s2); }
@media (min-width: 900px) { .service-head { flex-direction: column; align-items: flex-start; } }
.service-icon { width: 40px; height: 40px; color: var(--gres); stroke-width: 1.3; }
.service-n { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.service-title { font-family: var(--font-display); font-size: var(--fs-headline); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.service-short { display: inline; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-title); letter-spacing: -0.015em; line-height: 1.25; }
.service-main > p:not(.service-short) { color: var(--ink-2); margin-top: var(--s3); max-width: 60ch; }
.service-main .service-short + p { margin-top: var(--s3); }
.service-main .service-short { display: block; margin-top: var(--s2); }
.service-main .text-link { margin-top: var(--s2); }
.service-points { display: grid; gap: 0.75rem; align-self: center; }
.service-points li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink-2); }
.service-points .icon { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; color: var(--gres); }

/* ---------------------------------------------------------------- FAQ */

.faq { margin-top: var(--s5); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  min-height: 56px;
  padding: var(--s3) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 1.5rem; height: 1.5rem; color: var(--muted); transition: transform var(--dur) var(--ease-out); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body { padding-bottom: var(--s3); }
.faq-body p { color: var(--ink-2); max-width: 65ch; }
.faq-body p + p { margin-top: var(--s2); }

/* ---------------------------------------------------------------- Cartes & valeurs */

.card-grid { display: grid; gap: var(--s2); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .card-grid--four { grid-template-columns: repeat(4, 1fr); } }
.card { padding: var(--s4); border-radius: var(--radius); background: var(--bg); }
.card h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: var(--s1); }
.card p { color: var(--muted); font-size: var(--fs-small); }
.card-icon { width: 28px; height: 28px; color: var(--gres); margin-bottom: var(--s2); }
.card--dark { background: var(--night-2); }
.card--dark h3 { color: var(--on-night); }
.card--dark p { color: var(--on-night-muted); }

.note {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--s4);
  max-width: 75ch;
  font-size: var(--fs-small);
  color: var(--muted);
}
.note .icon { margin-top: 0.15rem; }
.note a { color: var(--gres); text-decoration: underline; text-underline-offset: 3px; }

.value-grid { display: grid; gap: var(--s5) var(--s4); }
@media (min-width: 700px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: var(--s2);
}
.value p { color: var(--ink-2); }

.duo { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: var(--s7); } }
.duo-media { border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .duo--portrait { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.portrait { border-radius: var(--radius); overflow: hidden; background: var(--surface); max-width: 520px; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.story-prose { margin-top: var(--s4); }
/* Vignette « Inscrit à l'Ordre des architectes » */
.ordre-badge { display: block; height: auto; mix-blend-mode: multiply; }
.ordre-badge--about { width: min(100%, 320px); margin-top: var(--s5); }
.ordre-badge--footer { width: 190px; margin-top: var(--s3); }
.duo-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.check-list { display: grid; gap: var(--s2); margin-top: var(--s4); }
.check-list li { display: flex; gap: 0.75rem; font-size: 1.0625rem; }
.check-list .icon { color: var(--gres); margin-top: 0.2rem; }

/* ---------------------------------------------------------------- Contact */

.contact-grid { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.5fr 1fr; gap: var(--s7); align-items: start; } }

.contact-form {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  background: var(--surface);
  border-radius: var(--radius);
  display: grid;
  gap: var(--s3);
}
.form-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s1); }
.form-required { font-size: var(--fs-xs); color: var(--muted); }
.field-row { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-size: var(--fs-small); font-weight: 600; }
.req { color: var(--error); }
.field input:not([type='checkbox']),
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.1rem;
  padding-right: 2.5rem;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field ::placeholder { color: #8e8e93; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #aeaeb2; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 4px rgba(166, 63, 46, 0.18);
  border-radius: 12px;
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--error); }
.field-error { font-size: var(--fs-small); color: var(--error); }
.field-error:empty { display: none; }

.field--check { grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: start; }
.field--check input {
  width: 24px; height: 24px;
  margin: 0.1rem 0 0;
  accent-color: var(--ink);
}
.field--check label { font-weight: 400; color: var(--ink-2); }
.field--check .field-error { grid-column: 2; }

.form-summary {
  padding: var(--s2) var(--s3);
  border-radius: 12px;
  background: #fff1f0;
  border: 1px solid #f5c2bf;
  color: var(--error);
  font-size: var(--fs-small);
}
.form-summary ul { margin-top: 0.4rem; list-style: disc; padding-left: 1.25rem; }
.form-summary a { text-decoration: underline; }
.form-status { font-size: var(--fs-small); font-weight: 500; min-height: 1.5em; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }
.form-privacy { font-size: var(--fs-xs); color: var(--muted); }
.form-privacy a { text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; }

.contact-aside { display: grid; gap: var(--s5); }
.contact-label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--s1);
}
.contact-label .icon { width: 1.1rem; height: 1.1rem; color: var(--gres); }
.contact-big {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.contact-big--sm { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); letter-spacing: -0.015em; }
.contact-big:hover { color: var(--gres); }
.hours > div { display: flex; justify-content: space-between; gap: var(--s2); padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft); }
.hours dt { color: var(--ink-2); }
.hours dd { font-weight: 500; }
.contact-office + .contact-office { margin-top: var(--s3); }
.contact-office address { color: var(--ink-2); }

/* ---------------------------------------------------------------- Encart vers la page « Faisabilité de terrain » */
.fz-teaser {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius); background: var(--surface);
  transition: box-shadow var(--dur) var(--ease-out);
}
.fz-teaser:hover { box-shadow: 0 0 0 1px var(--line); }
.fz-teaser-text { display: grid; gap: var(--s1); max-width: 60ch; }
.fz-teaser .eyebrow { margin-bottom: 0; }
.fz-teaser-title { font-family: var(--font-display); font-size: var(--fs-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.fz-teaser-lead { color: var(--muted); font-size: var(--fs-small); }
.fz-teaser-go { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.fz-teaser-go .icon { width: 1.1rem; height: 1.1rem; transition: transform var(--dur-fast); }
.fz-teaser:hover .fz-teaser-go .icon { transform: translateX(3px); }

/* Encart de la page d'accueil : vignette du plan + texte */
.fz-home {
  display: grid; gap: var(--s4); align-items: center;
  padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  border-radius: var(--radius); background: var(--surface);
  transition: box-shadow var(--dur) var(--ease-out);
}
@media (min-width: 900px) { .fz-home { grid-template-columns: 0.9fr 1.1fr; gap: var(--s6); } }
.fz-home:hover { box-shadow: 0 0 0 1px var(--line); }
.fz-home-media { display: block; border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.fz-home-media img { width: 100%; height: auto; transition: transform 900ms var(--ease-out); }
.fz-home:hover .fz-home-media img { transform: scale(1.03); }
.fz-home-text { display: grid; gap: var(--s2); justify-items: start; }
.fz-home .eyebrow { margin-bottom: 0; }
.fz-home-title { font-family: var(--font-display); font-size: var(--fs-headline); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.fz-home-lead { color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.45; max-width: 42ch; }
.fz-home .fz-teaser-go { margin-top: var(--s2); }
.fz-home:hover .fz-teaser-go .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- Accès au configurateur de projet */
.cfg-teaser {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: var(--s4); padding: 14px 18px 14px 14px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--bg);
  text-align: left; transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.cfg-teaser:hover { border-color: var(--gres); box-shadow: 0 12px 30px -20px rgba(166, 63, 46, 0.6); }
.cfg-teaser span { display: grid; }
.cfg-teaser strong { font-weight: 600; }
.cfg-teaser small { color: var(--muted); font-size: var(--fs-xs); }
.cfg-teaser-icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fbf4f2; color: var(--gres); }
.cfg-teaser-arrow { color: var(--gres); transition: transform var(--dur-fast); }
.cfg-teaser:hover .cfg-teaser-arrow { transform: translateX(3px); }
.cfg-teaser-wrap { margin-top: calc(var(--s5) * -1); margin-bottom: var(--s5); }
.cfg-teaser-wrap .cfg-teaser { margin-top: 0; }

/* ---------------------------------------------------------------- Mentions légales */

.legal h2 { font-family: var(--font-display); font-size: var(--fs-title); font-weight: 600; letter-spacing: -0.015em; margin: var(--s5) 0 var(--s2); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-2); max-width: 70ch; }
.legal p + p { margin-top: var(--s2); }
.legal a { color: var(--gres); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- Pied de page */

.site-footer {
  background: var(--surface);
  color: var(--ink-2);
  font-size: var(--fs-small);
  padding: var(--s7) 0 var(--s4);
  border-top: 1px solid var(--line-soft);
}
/* Rythme vertical commun, calé sur la colonne « Explorer » :
   un élément de liste tous les 34 px ; les blocs adresse et horaires sont compacts (lignes de 22 px). */
.site-footer {
  --f-line: 24px;                                   /* hauteur d'une ligne de liste */
  --f-gap: 10px;                                    /* espace entre deux éléments de liste */
  --f-row: calc(var(--f-line) + var(--f-gap));      /* pas d'« Explorer » : 34 px */
  --f-tight: 22px;                                  /* ligne serrée des adresses et des horaires */
  --f-logo: 72.75px;                                /* hauteur du logo à 150 px de large */
}
.footer-grid { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1.1fr 1.1fr; gap: var(--s5); } }
.footer-brand .logo--footer { display: block; width: 150px; height: var(--f-logo); color: var(--ink); }
/* le texte de présentation démarre sur la 3e ligne de la grille, comme « MaPrimeRénov’ » */
.footer-brand p { margin-top: calc(3 * var(--f-row) - var(--f-logo)); max-width: 34ch; line-height: var(--f-line); color: var(--muted); }
.footer-title { font-size: var(--fs-small); font-weight: 600; line-height: var(--f-line); color: var(--ink); margin-bottom: var(--f-gap); }
.footer-list { display: grid; gap: var(--f-gap); line-height: var(--f-line); }
.footer-list a { display: inline-block; }
.footer-list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-list strong { color: var(--ink); font-weight: 600; }
/* Agences : adresse en trois lignes serrées ; la 2e agence s'aligne sur la 4e ligne d'« Explorer » (« À propos ») */
.footer-offices { gap: calc(3 * var(--f-row) - 3 * var(--f-tight)); line-height: var(--f-tight); }
.footer-offices span { display: block; }
/* Horaires : bloc compact juste sous le contact, titre et lignes serrés */
/* « Horaires » : le bloc descend pour que sa dernière ligne (Dimanche) s'aligne sur « 67500 Haguenau » */
.footer-title--spaced { margin-top: calc(3 * var(--f-row) - var(--f-tight) - var(--f-line)); margin-bottom: 0; line-height: var(--f-tight); }
.footer-hours { gap: 0; line-height: var(--f-tight); }
.footer-hours li { display: flex; justify-content: space-between; gap: var(--s2); max-width: 250px; }
.socials { display: flex; gap: var(--s1); margin-top: var(--s3); }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.socials a:hover { border-color: var(--ink); color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s2);
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-xs);
}
.footer-bottom a:hover { color: var(--ink); text-decoration: underline; }

/* ---------------------------------------------------------------- Apparitions au défilement */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
    transition-delay: var(--delay, 0ms);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- Impression */

@media print {
  .site-header, .hero-controls, .hero-signature, .mobile-menu, .site-footer .socials { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
