@import url("../fonts/fonts.css");

/* ==========================================================================
   ROBIN FAÇADE — système de design
   Éditorial sombre. Archivo (display) · Inter (texte) · JetBrains Mono (labels)
   ========================================================================== */

:root {
  /* --- Couleurs -------------------------------------------------------- */
  --ink:        #0B0E11;   /* fond */
  --ink-2:      #12161B;   /* surface */
  --ink-3:      #1A1F26;   /* surface élevée */
  --line:       #232A33;   /* filets */
  --line-soft:  #191E25;

  --paper:      #F4F7FA;   /* texte principal — 17:1 sur --ink */
  --paper-2:    #A3AEBA;   /* texte secondaire — 8.4:1 */
  --paper-3:    #7F8A96;   /* texte tertiaire — 5.2:1 */

  --blue:       #1E88CB;   /* bleu du logo — 4.8:1 */
  --blue-lite:  #4FC3F7;   /* soleil du logo — 9.3:1 */
  --stone:      #CDBFA8;   /* pierre — 10.5:1 */

  --focus:      #4FC3F7;

  /* --- Typo ------------------------------------------------------------ */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display-xl: clamp(2.9rem, 8.6vw, 9rem);
  --fs-display-l:  clamp(2.3rem, 5.6vw, 5.5rem);
  --fs-h2:         clamp(1.85rem, 3.6vw, 3.6rem);
  --fs-h3:         clamp(1.15rem, 1.5vw, 1.45rem);
  --fs-lead:       clamp(1.06rem, 1.5vw, 1.35rem);
  --fs-body:       1.0625rem;
  --fs-small:      0.875rem;
  --fs-label:      0.7rem;

  /* --- Espacement ------------------------------------------------------ */
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --section-y: clamp(5rem, 12vh, 11rem);
  --max: 1560px;

  /* --- Mouvement ------------------------------------------------------- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 260ms;
  --dur-slow: 900ms;

  --radius: 4px;
  /* L'en-tête reste au-dessus du menu : le bouton (qui devient une croix)
     doit rester atteignable une fois le menu ouvert. */
  --z-menu: 90;
  --z-header: 95;
  --z-lightbox: 120;

  color-scheme: dark;
}

/* ==========================================================================
   Réinitialisation
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
/* `clip` verrouille le panoramique horizontal sans transformer la racine en
   conteneur de défilement — contrairement à `hidden`, qui casserait les
   éléments en position: sticky. Repli sur `hidden` pour les navigateurs
   antérieurs à la prise en charge de `overflow: clip`. */
@supports (overflow: clip) {
  html { overflow-x: clip; }
}
/* Lenis pilote le défilement quand il est actif : on rend la main au JS. */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  font-variant-numeric: tabular-nums;
}
@supports (overflow: clip) {
  body { overflow-x: clip; }
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* <picture> ne doit pas créer de boîte : sinon un img en height:100% se
   résout contre une hauteur « auto » et ne remplit pas son conteneur. */
picture { display: contents; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--blue-lite); color: var(--ink); }

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

.skip-link {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--paper);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ==========================================================================
   Blocs de base
   ========================================================================== */

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * 0.62); }

.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* Intitulé de section : numéro mono + libellé */
.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-lite);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 2.25rem; height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--stone { color: var(--stone); }

/* Sur écran étroit, on resserre l'approche et on raccourcit le filet
   pour que l'intitulé tienne sur une ligne. */
@media (max-width: 520px) {
  .eyebrow { letter-spacing: 0.13em; gap: 0.55rem; }
  .eyebrow::before { width: 1.5rem; }
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(2.75rem, 6vw, 5.5rem);
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: end; }
}

.section-title { font-size: var(--fs-h2); }
.section-title em {
  font-style: normal;
  color: var(--paper-3);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--paper-2);
  max-width: 46ch;
}

.muted { color: var(--paper-2); }
.max-60 { max-width: 60ch; }

/* ==========================================================================
   Boutons
   ========================================================================== */

.btn {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.9rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border-radius: 100px;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blue-lite);
  transform: translateY(101%);
  transition: transform 420ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -12px rgba(79, 195, 247, 0.55); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost::after { background: var(--paper); }
.btn--ghost:hover { --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px transparent; }

.btn--sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.875rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Lien texte avec soulignement animé */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  padding-bottom: 2px;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 380ms var(--ease-out);
}
.link:hover::after { transform-origin: left; animation: link-sweep 560ms var(--ease-out); }
@keyframes link-sweep {
  0%   { transform: scaleX(1); transform-origin: right; }
  49%  { transform: scaleX(0); transform-origin: right; }
  50%  { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

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

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  padding-block: clamp(0.85rem, 2vw, 1.4rem);
  transition: padding var(--dur) var(--ease), background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.header::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11, 14, 17, 0.72), rgba(11, 14, 17, 0));
  opacity: 1;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.header.is-stuck {
  padding-block: 0.6rem;
  background: rgba(11, 14, 17, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 var(--line-soft);
}
.header.is-stuck::before { opacity: 0; }
.header.is-hidden { transform: translateY(-100%); }
.header { transition-property: transform, padding, background-color, box-shadow, backdrop-filter; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.brand img {
  width: auto;
  height: clamp(34px, 4vw, 46px);
  transition: height var(--dur) var(--ease);
}
.is-stuck .brand img { height: clamp(30px, 3.2vw, 38px); }
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.brand__name span { display: block; font-family: var(--mono); font-weight: 500;
  font-size: 0.58rem; letter-spacing: 0.2em; color: var(--paper-3); margin-top: 4px; }

.nav { display: none; }
@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.4rem); }
}
.nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--paper-2);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color var(--dur) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--blue-lite);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 380ms var(--ease-out);
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--paper); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 0.6rem; }
.header__phone { display: none; }
@media (min-width: 640px) { .header__phone { display: inline-flex; } }
.header__cta { display: none; }
@media (min-width: 1080px) { .header__cta { display: inline-flex; } }

/* Bouton menu (mobile) */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  border-radius: 100px;
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 1080px) { .burger { display: none; } }
.burger span {
  display: block; height: 1.5px; width: 100%;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 320ms var(--ease), opacity 200ms linear;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu plein écran */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--ink);
  padding: clamp(6rem, 14vh, 9rem) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 620ms var(--ease-out), visibility 620ms;
  visibility: hidden;
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__list { display: flex; flex-direction: column; gap: clamp(0.35rem, 1.4vh, 0.9rem); }
.menu__list a {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 8vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--paper);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out), color 200ms;
}
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu__list a:hover { color: var(--blue-lite); }
.menu__list a i {
  font-family: var(--mono); font-style: normal; font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.15em; color: var(--paper-3);
}
.menu__foot { display: grid; gap: 1.25rem; color: var(--paper-2); font-size: var(--fs-small); }
.menu__foot a { color: var(--paper); font-weight: 600; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: -8% 0 -8%;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top,
      var(--ink) 0%,
      rgba(11, 14, 17, 0.92) 14%,
      rgba(11, 14, 17, 0.66) 34%,
      rgba(11, 14, 17, 0.28) 62%,
      rgba(11, 14, 17, 0.55) 100%),
    linear-gradient(to right, rgba(11, 14, 17, 0.66), rgba(11, 14, 17, 0) 66%);
}

.hero__inner {
  width: 100%;
  padding-bottom: clamp(3.5rem, 9vh, 7rem);
  padding-top: clamp(8rem, 20vh, 12rem);
}

.hero__title {
  font-size: var(--fs-display-xl);
  letter-spacing: -0.045em;
  line-height: 0.86;
  text-transform: uppercase;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 15ch;
}
.hero__title .thin { font-weight: 600; color: var(--paper-2); }

.hero__bottom {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: end;
}
@media (min-width: 900px) {
  .hero__bottom { grid-template-columns: minmax(0, 1fr) auto; }
}
.hero__desc { max-width: 44ch; color: var(--paper-2); font-size: var(--fs-lead); line-height: 1.55; }

.hero__cue {
  position: absolute;
  left: var(--gutter); bottom: 1.5rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-3);
}
@media (min-width: 900px) { .hero__cue { display: flex; } }
.hero__cue i {
  display: block; width: 1px; height: 40px;
  background: linear-gradient(var(--paper-3), transparent);
  position: relative; overflow: hidden;
}
.hero__cue i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--blue-lite);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* Pastille avis Google */
.gbadge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.15rem 0.7rem 0.85rem;
  border-radius: 100px;
  background: rgba(18, 22, 27, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
a.gbadge:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--blue-lite); }
.gbadge__g { width: 22px; height: 22px; flex: none; }
.gbadge__score { font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1; }
.gbadge__meta { font-size: 0.78rem; color: var(--paper-2); line-height: 1.3; }
.gbadge__meta b { color: var(--paper); font-weight: 600; }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 13px; height: 13px; fill: #FFC24A; }
.stars--lg svg { width: 17px; height: 17px; }

/* ==========================================================================
   Bandeau défilant
   ========================================================================== */

.marquee {
  border-block: 1px solid var(--line-soft);
  background: var(--ink-2);
  overflow: hidden;
  padding-block: 1.1rem;
  --marquee-duration: 46s;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-right: clamp(1.75rem, 4vw, 3.5rem);
  flex: none;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-2);
  white-space: nowrap;
}
.marquee__item::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Chiffres
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stat {
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 2vw, 2rem);
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  position: relative;
}
.stat:nth-child(2n) { border-right: 0; }
@media (min-width: 860px) {
  .stat:nth-child(2n) { border-right: 1px solid var(--line-soft); }
  .stat:last-child { border-right: 0; }
}
.stat__value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper);
  display: flex;
  align-items: baseline;
  gap: 0.1em;
}
.stat__value sup {
  font-size: 0.34em;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--blue-lite);
  top: -1.6em;
}
.stat__label {
  margin-top: 0.85rem;
  font-size: var(--fs-small);
  color: var(--paper-2);
  max-width: 22ch;
}

/* Le chiffre de tête — l'expérience — est l'argument le plus fort du bloc :
   on l'annonce par un filet bleu et on laisse son libellé respirer. */
.stat--lead::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blue-lite), transparent 78%);
}
.stat--lead .stat__label { max-width: 26ch; color: var(--paper); }

/* ==========================================================================
   Manifeste
   ========================================================================== */

.manifesto { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 960px) {
  .manifesto { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: start; }
}
.manifesto__title {
  font-size: var(--fs-display-l);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
  max-width: 18ch;
}
.manifesto__title b { color: var(--blue-lite); font-weight: inherit; }
.manifesto__body { max-width: 56ch; color: var(--paper-2); }
.manifesto__body p + p { margin-top: 1.1em; }

.manifesto__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 960px) { .manifesto__media { position: sticky; top: 7rem; } }
.manifesto__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.manifesto__caption {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem; right: 1.25rem;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

/* Encart « savoir-faire » : l'entreprise est récente, l'expérience du
   directeur de travaux ne l'est pas. Le chiffre porte l'argument, le texte
   assume la jeunesse de la structure au lieu de la contourner. */
.credential {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--ink-2);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  position: relative;
  overflow: hidden;
}
.credential::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(var(--blue-lite), var(--blue) 60%, transparent);
}
@media (min-width: 620px) {
  .credential { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
}

.credential__figure {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 4.6rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.12em;
  color: var(--paper);
}
.credential__figure sup {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.24em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-lite);
  top: -2.4em;
}

.credential__title {
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}
.credential__body p { color: var(--paper-2); font-size: 0.95rem; }
.credential__body strong { color: var(--paper); font-weight: 600; }

.credential__sign {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
}
.credential__sign span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-transform: none;      /* le nom en casse normale, le rôle en capitales */
  color: var(--paper);
}
.credential__sign {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-3);
}

/* ==========================================================================
   Prestations
   ========================================================================== */

.services {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}
@media (min-width: 700px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.service {
  position: relative;
  background: var(--ink);
  padding: clamp(1.85rem, 3vw, 2.85rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
  transition: background-color 420ms var(--ease);
}
.service::before {
  content: "";
  position: absolute; inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-lite));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 520ms var(--ease-out);
}
.service:hover { background: var(--ink-2); }
.service:hover::before { transform: scaleX(1); }

.service__num {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  color: var(--paper-3);
}
.service__icon {
  width: 40px; height: 40px;
  color: var(--blue-lite);
  margin-bottom: 0.35rem;
  transition: transform 520ms var(--ease-out);
}
.service:hover .service__icon { transform: translateY(-4px) scale(1.06); }
.service__icon svg { width: 100%; height: 100%; stroke-width: 1.4; }
.service__title { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.15; }
.service__text { color: var(--paper-2); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* ==========================================================================
   Avant / Après
   ========================================================================== */

.ba-list { display: grid; gap: clamp(3.5rem, 8vw, 6.5rem); }

.ba__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-bottom: 1.15rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--line-soft);
}
.ba__title { font-size: clamp(1.4rem, 2.4vw, 2.15rem); letter-spacing: -0.03em; }
.ba__place {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.ba__desc { color: var(--paper-2); font-size: 0.95rem; max-width: 62ch; margin-top: 0.5rem; flex-basis: 100%; }

.ba__pair { display: grid; gap: clamp(0.75rem, 1.5vw, 1.25rem); }
@media (min-width: 760px) { .ba__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ba__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
}
.ba__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 900ms var(--ease-out), filter 600ms var(--ease);
}
.ba__frame--before img { filter: saturate(0.72) brightness(0.88); }
.ba__frame:hover img { transform: scale(1.045); }
.ba__frame--before:hover img { filter: saturate(1) brightness(1); }

.ba__tag {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.8rem;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(11, 14, 17, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.ba__tag--after { color: var(--ink); background: var(--blue-lite); box-shadow: none; font-weight: 500; }

/* Révélation : voile qui se lève sur l'image */
.reveal-media { position: relative; }
.reveal-media::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform-origin: right;
  transition: transform 1s var(--ease-out);
  pointer-events: none;
  z-index: 2;
}
.reveal-media.is-in::after { transform: scaleX(0); }

/* ==========================================================================
   Réalisations
   ========================================================================== */

/* Mosaïque en colonnes : les hauteurs naturelles des photos s'imbriquent
   sans trou, quelle que soit la largeur d'écran. */
.works {
  --works-gap: clamp(0.6rem, 1.4vw, 1.15rem);
  column-count: 2;
  column-gap: var(--works-gap);
}
@media (min-width: 760px)  { .works { column-count: 3; } }
@media (min-width: 1180px) { .works { column-count: 4; } }

.work {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
  display: block;
  width: 100%;
  margin: 0 0 var(--works-gap);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  text-align: left;
  cursor: pointer;
}
.work img { width: 100%; height: auto; transition: transform 1s var(--ease-out); }
.work::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 14, 17, 0.88) 0%, rgba(11, 14, 17, 0.1) 46%, rgba(11, 14, 17, 0) 100%);
  opacity: 0;
  transition: opacity 460ms var(--ease);
}
.work:hover img { transform: scale(1.06); }
.work:hover::after, .work:focus-visible::after { opacity: 1; }

.work__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.15rem;
  z-index: 1;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 460ms var(--ease-out), opacity 460ms var(--ease);
}
.work:hover .work__meta, .work:focus-visible .work__meta { transform: none; opacity: 1; }
.work__title { font-family: var(--display); font-weight: 700; font-size: 0.98rem; letter-spacing: -0.015em; }
.work__sub { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue-lite); margin-top: 5px; }

/* Visionneuse */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 8, 10, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 340ms var(--ease), visibility 340ms;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig { margin: 0; max-width: min(1240px, 100%); }
.lightbox__fig img {
  max-height: 78svh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  transform: scale(0.97);
  transition: transform 420ms var(--ease-out);
}
.lightbox.is-open .lightbox__fig img { transform: scale(1); }
.lightbox__cap {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: baseline;
  justify-content: center;
  text-align: center;
}
.lightbox__cap b { font-family: var(--display); font-weight: 700; font-size: 1rem; }
.lightbox__cap span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue-lite); }
.lightbox__btn {
  position: absolute;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lightbox__btn:hover { background: var(--paper); color: var(--ink); transform: scale(1.06); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev { left: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover, .lightbox__next:hover { transform: translateY(-50%) scale(1.06); }

/* ==========================================================================
   Méthode
   ========================================================================== */

.method { position: relative; display: grid; gap: 0; }
.method__track {
  position: absolute;
  left: 11px; top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
@media (min-width: 900px) {
  .method__track { left: 0; right: 0; top: 11px; bottom: auto; width: auto; height: 1px; }
}
.method__fill {
  position: absolute;
  left: 11px; top: 0;
  width: 1px; height: 0;
  background: linear-gradient(var(--blue-lite), var(--blue));
  transition: height 120ms linear;
}
@media (min-width: 900px) {
  .method__fill { left: 0; top: 11px; height: 1px; width: 0;
    background: linear-gradient(90deg, var(--blue-lite), var(--blue));
    transition: width 120ms linear; }
}

.method__steps { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .method__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); } }

.step { position: relative; padding-left: 3rem; }
@media (min-width: 900px) { .step { padding-left: 0; padding-top: 3.25rem; } }
.step__dot {
  position: absolute;
  left: 6px; top: 8px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 460ms var(--ease), box-shadow 460ms var(--ease), transform 460ms var(--ease);
}
@media (min-width: 900px) { .step__dot { left: 0; top: 6px; } }
.step.is-in .step__dot {
  background: var(--blue-lite);
  box-shadow: 0 0 0 5px rgba(79, 195, 247, 0.14);
  transform: scale(1.15);
}
.step__num {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  color: var(--blue-lite);
  display: block;
  margin-bottom: 0.7rem;
}
.step__title { font-size: var(--fs-h3); letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.step__text { color: var(--paper-2); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   Avis
   ========================================================================== */

.reviews-head {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) { .reviews-head { grid-template-columns: minmax(0, 1fr) auto; } }

.gscore {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2.25rem);
  background: var(--ink-2);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.gscore__num { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1; letter-spacing: -0.05em; }
.gscore__side { display: grid; gap: 0.4rem; }
.gscore__meta { font-size: var(--fs-small); color: var(--paper-2); }
.gscore__logo { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-small);
  color: var(--paper-2); }
.gscore__logo svg { width: 16px; height: 16px; }

.review-rail {
  display: grid;
  grid-auto-flow: column;
  /* Un avis à la fois sous 760 px : au format téléphone, deux colonnes
     étroites donnent des cartes hautes et illisibles. Le débord de 100 %
     laisse dépasser un fragment de la carte suivante, qui signale qu'on
     peut faire défiler. */
  grid-auto-columns: 100%;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.25rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 760px)  { .review-rail { grid-auto-columns: minmax(280px, 42vw); } }
@media (min-width: 1180px) { .review-rail { grid-auto-columns: minmax(340px, 26vw); } }
.review-rail::-webkit-scrollbar { height: 3px; }
.review-rail::-webkit-scrollbar-track { background: var(--line-soft); }
.review-rail::-webkit-scrollbar-thumb { background: var(--line); }
@media (max-width: 759px) {
  .review-rail { scrollbar-width: none; }
  .review-rail::-webkit-scrollbar { display: none; }
}

.review {
  scroll-snap-align: start;
  background: var(--ink-2);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 380ms var(--ease), transform 380ms var(--ease), background-color 380ms var(--ease);
}
.review:hover { transform: translateY(-4px); background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.review__quote { color: var(--paper); font-size: 0.98rem; line-height: 1.65; margin: 0; flex: 1; }
.review__mark { width: 26px; height: 26px; color: var(--blue); opacity: 0.65; }
.review__foot { display: flex; align-items: center; gap: 0.8rem; padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft); }
.review__avatar {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue), #0F4E77);
  font-family: var(--display); font-weight: 700; font-size: 0.85rem; color: #fff;
  letter-spacing: 0;
}
.review__who { display: grid; gap: 2px; min-width: 0; }
.review__name { font-weight: 600; font-size: 0.92rem; }
.review__when { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--paper-3); }

/* Barre de contrôle : pastilles (téléphone) et flèches (souris) */
.rail-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

.rail-dots { display: flex; flex-wrap: wrap; gap: 0.55rem; }
@media (min-width: 760px) { .rail-dots { display: none; } }
.rail-dots button {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.rail-dots button::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.rail-dots button[aria-current="true"]::before {
  background: var(--blue-lite);
  transform: scale(1.45);
}

.rail-nav { display: none; gap: 0.5rem; }
@media (min-width: 760px) { .rail-nav { display: flex; } }
.rail-nav button {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--paper-2);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.rail-nav button:hover:not(:disabled) { background: var(--paper); color: var(--ink); }
.rail-nav button:disabled { opacity: 0.32; cursor: not-allowed; }
.rail-nav svg { width: 18px; height: 18px; }

/* ==========================================================================
   Zones
   ========================================================================== */

.zones { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1000px) { .zones { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }

.zone-list { display: flex; flex-wrap: wrap; gap: 0.4rem 0; }
.zone-list li {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.1vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--paper-3);
  transition: color 320ms var(--ease);
  cursor: default;
}
.zone-list li:hover { color: var(--paper); }
.zone-list li:not(:last-child)::after {
  content: "·";
  color: var(--blue);
  margin-inline: 0.45em;
}
.zone-list li:last-child { color: var(--blue-lite); }

.zone-card {
  background: var(--ink-2);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.15rem;
}
.zone-card dl { display: grid; gap: 0.9rem; margin: 0; }
.zone-card div { display: flex; gap: 1rem; align-items: baseline; }
.zone-card dt {
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--paper-3); flex: none; width: 8.5rem;
}
.zone-card dd { margin: 0; font-size: 0.95rem; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--paper-2); }
.field label .req { color: var(--blue-lite); }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--paper);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
  appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.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='%23A3AEBA' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 3rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--paper-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-lite); background: var(--ink-3);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.field :user-invalid { border-color: #E2725B; }
.field__error { font-size: 0.8rem; color: #F0907C; min-height: 0; }

.field-row { display: grid; gap: 1.15rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.consent { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.85rem; color: var(--paper-2); }
.consent input {
  width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 2px;
  accent-color: var(--blue-lite); appearance: auto; padding: 0; background: none; border: 0;
}
.consent a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

.form__status {
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}
.form__status.is-error { display: block; background: rgba(226, 114, 91, 0.12);
  color: #F0907C; box-shadow: inset 0 0 0 1px rgba(226, 114, 91, 0.3); }

.contact-panel { display: grid; gap: 1.5rem; align-content: start; }
.contact-card {
  background: var(--ink-2);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact-line {
  display: flex; align-items: center; gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left var(--dur) var(--ease);
}
.contact-line:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-line:first-child { padding-top: 0; }
a.contact-line:hover { padding-left: 0.4rem; }
.contact-line__icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink-3);
  color: var(--blue-lite);
}
.contact-line__icon svg { width: 19px; height: 19px; }
/* L'adresse e-mail est un mot insécable de ~29 caractères : sans min-width: 0
   l'élément flex refuse de rétrécir et déborde sous 360 px. */
.contact-line > span:last-child { min-width: 0; }
.contact-line__label { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--paper-3); }
.contact-line__value {
  font-weight: 600;
  font-size: 1.02rem;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Pied de page
   ========================================================================== */

.footer {
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  background: var(--ink-2);
}
.footer__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 860px) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); } }
.footer__brand { display: grid; gap: 1.25rem; align-content: start; max-width: 34ch; }
/* Médaillon du pied de page : le logo en relief est livré avec son fond
   sombre et son halo, qu'on ne détoure pas. Le carré à coins arrondis, le
   liseré et l'ombre portée lui donnent le statut d'un objet posé sur la page
   plutôt que d'une image collée. */
.footer__logo {
  width: clamp(184px, 21vw, 236px);
  aspect-ratio: 1;
  height: auto;
  border-radius: 8.5%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 24px 52px -24px rgba(0, 0, 0, 0.95);
  transition: transform 520ms var(--ease-out), box-shadow 520ms var(--ease);
}
.footer__brand a:hover .footer__logo,
.footer__logo:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(79, 195, 247, 0.28),
    0 26px 54px -24px rgba(0, 0, 0, 0.95);
}
.footer__brand p { color: var(--paper-2); font-size: 0.92rem; }
.footer h4 {
  font-family: var(--mono); font-weight: 500; font-size: var(--fs-label);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-3);
  margin-bottom: 1.15rem;
}
.footer__list { display: grid; gap: 0.7rem; font-size: 0.92rem; color: var(--paper-2);
  overflow-wrap: anywhere; }
.footer__list a { transition: color var(--dur) var(--ease); }
.footer__list a:hover { color: var(--blue-lite); }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--paper-3);
}

/* ==========================================================================
   Grand appel à l'action
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(4rem, 10vw, 8rem);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(30, 136, 203, 0.22), transparent 62%),
    var(--ink-2);
}
.cta-band__title {
  font-size: var(--fs-display-l);
  letter-spacing: -0.045em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  max-width: 16ch;
  margin-inline: auto;
}
.cta-band .btn-row { justify-content: center; }

/* ==========================================================================
   Animations d'entrée
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 820ms var(--ease-out), transform 820ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Titre découpé ligne par ligne.
   L'interlignage serré (0.86) ferait tomber les accents (É) et la cédille (Ç)
   hors de la boîte : on ouvre le masque avec du padding, compensé par une
   marge négative pour ne rien décaler. Le décalage d'entrée passe à 125 %
   pour que la ligne suivante ne dépasse pas dans le padding bas. */
.split-line {
  display: block;
  overflow: hidden;
  padding-block: 0.14em 0.1em;
  margin-block: -0.14em -0.1em;
}
.split-line > span {
  display: block;
  transform: translateY(125%);
  transition: transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* ==========================================================================
   Page intérieure (mentions légales, merci)
   ========================================================================== */

.page-hero {
  padding-top: clamp(8rem, 18vh, 12rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: var(--fs-display-l); text-transform: uppercase; letter-spacing: -0.04em; }

.prose { max-width: 68ch; color: var(--paper-2); }
.prose h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--paper);
  margin: 2.75rem 0 0.9rem;
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.prose dl { display: grid; gap: 0.75rem; margin: 0 0 1em; }
.prose dl div { display: grid; gap: 0.15rem; }
@media (min-width: 620px) { .prose dl div { grid-template-columns: 12rem minmax(0, 1fr); gap: 1rem; } }
.prose dt { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--paper-3); }
.prose dd { margin: 0; color: var(--paper); }

.thanks { min-height: 78svh; display: grid; place-items: center; text-align: center; }
.thanks__icon {
  width: 76px; height: 76px;
  margin: 0 auto 2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(79, 195, 247, 0.12);
  color: var(--blue-lite);
  box-shadow: inset 0 0 0 1px rgba(79, 195, 247, 0.3);
}
.thanks__icon svg { width: 34px; height: 34px; }

/* ==========================================================================
   Accessibilité : mouvement réduit
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .split-line > span { transform: none; }
  .reveal-media::after { transform: scaleX(0); }
  .marquee__track { animation: none; }
  .hero__cue i::after { display: none; }
}
