/* ============================================================
   VENI VIDI FILMI — home cinématique · IMPERIUM, matière MARBRE
   Salle noire (hero scrub) → galerie de marbre (le site)
   Cinzel gravée + EB Garamond · vermillon pompéien unique
   ============================================================ */

:root {
  /* ---- La galerie (clair) ---- */
  --marbre:      #f1ede4;   /* mur de marbre blanc */
  --marbre-2:    #ded6c5;   /* bande alternée : pierre chaude, un vrai cran plus bas */
  --plaque-a:    #f7f4ee;   /* plaques, haut */
  --plaque-b:    #e3dccd;   /* plaques, bas */
  --encre:       #35302a;   /* texte courant */
  --pierre:      #4a443c;   /* titres gravés */
  --muted:       #6d6558;   /* légendes */
  --muted-aa:    #5f584c;   /* légendes qui portent de l'info : un cran plus dense, pour tenir 4,5:1
                               sur la bande pierre (4,86) comme sur le marbre (6,02). --muted, lui,
                               tombe à 3,98 sur pierre et ne convient qu'au décoratif. */
  --terracotta:   #ab4f1a;   /* accent unique : terracotta, la couleur commune des univers.
                                Assombri de 12 % le 07/08/2026 : l'ancien #c25a1e ne donnait que
                                3,76:1 sur le marbre, sous le seuil AA de 4,5 exigé sous 24 px, et
                                c'est la couleur de tous les eyebrows en 12 px. Le nouveau tient
                                4,65:1. Sur fond sombre, ne pas l'utiliser pour du texte : il tombe
                                à 3,57 ; c'est --terracotta-hi qui sert là (7,44:1). */
  --line:        rgba(53, 48, 42, 0.18);

  /* ---- La salle noire (hero) ---- */
  --salle:       #0f0d0b;
  --ivoire:      #f0ead8;
  --ivoire-soft: rgba(240, 234, 216, 0.72);
  --terracotta-hi:#e58a45;   /* terracotta lisible sur fond sombre (footer) */

  /* ---- Layout ---- */
  --maxw:        1240px;
  --pad:         clamp(22px, 5vw, 80px);
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);

  /* ---- Typefaces ---- */
  --lapidaire:   "Cinzel", "Times New Roman", serif;
  --garamond:    "EB Garamond", Georgia, serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--marbre);
  color: var(--encre);
  font-family: var(--garamond);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.62;
  overflow-x: clip; /* jamais hidden : casse le sticky du scrub */
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--lapidaire); font-weight: 500; line-height: 1.12; margin: 0; text-transform: uppercase; letter-spacing: 0.04em; }
/* Cinzel n'a pas d'italique : l'em des titres est une incrustation vermillon */
h1 em, h2 em, h3 em { font-style: normal; color: var(--terracotta); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--terracotta); color: var(--ivoire); }

/* gravure dans le marbre (sections claires) */
.grave, .provinces__title, .works__title, .contact__title, .manifesto__quote p {
  color: var(--pierre);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), 0 -1px 1px rgba(53, 48, 42, 0.35);
}

/* veines de marbre (utilitaire pour les grandes sections claires) */
.vein { position: relative; }
.vein::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55; z-index: 0;
  background:
    linear-gradient(107deg, transparent 38%, rgba(160,150,135,0.20) 39.2%, transparent 40.5%),
    linear-gradient(93deg, transparent 61%, rgba(160,150,135,0.14) 62%, transparent 63.5%),
    linear-gradient(112deg, transparent 12%, rgba(175,163,146,0.16) 13%, transparent 14.8%),
    radial-gradient(ellipse 120% 60% at 20% 0%, rgba(255,255,255,0.45), transparent 60%);
}
.vein > * { position: relative; z-index: 1; }

/* ---------- Fragments partagés ---------- */
.eyebrow {
  font-family: var(--lapidaire); font-size: 12px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--terracotta); margin: 0 0 18px;
}
.eyebrow__fr { font-family: var(--garamond); font-style: italic; text-transform: none; letter-spacing: 0.04em; color: var(--muted); font-size: 14px; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--encre); max-width: 46ch; margin: 22px 0 0; }
.meta { font-family: var(--garamond); font-style: italic; font-size: 15px; letter-spacing: 0.02em; color: var(--muted); margin: 16px 0 0; }

.btn {
  display: inline-block; cursor: pointer;
  font-family: var(--lapidaire); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pierre); padding: 15px 32px; margin-top: 30px;
  border: 1px solid var(--line); border-radius: 2px;
  background: linear-gradient(160deg, var(--plaque-a), var(--plaque-b));
  box-shadow: 0 10px 22px -14px rgba(53,48,42,0.5), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { color: var(--terracotta); border-color: var(--terracotta); }
.btn:active { transform: scale(0.98); transition-duration: 0.12s; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 2px; }
/* Le lien d'évitement : hors de l'écran tant qu'il n'a pas le focus, jamais
   display:none, sinon le clavier ne l'atteindrait pas non plus. */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--salle); color: var(--ivoire); text-decoration: none;
  font-family: var(--lapidaire); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 12px 18px; border-radius: 2px;
  transition: top 0.18s var(--ease);
}
.skip:focus { top: 12px; }
.btn--light {
  background: none; box-shadow: none;
  color: var(--ivoire); border-color: rgba(240, 234, 216, 0.45);
}
.btn--light:hover { color: var(--terracotta-hi); border-color: var(--terracotta-hi); }
.btn--nav { margin-top: 0; padding: 10px 22px; font-size: 11px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  color: var(--pierre);
  transition: opacity 0.9s var(--ease), background 0.4s, color 0.4s, backdrop-filter 0.4s;
}
body.js:not(.is-loaded) .nav { opacity: 0; } /* défaut sûr : visible sans JS */
.nav.is-scrolled {
  background: rgba(236, 231, 221, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--pierre);
}
.nav__brand { font-family: var(--lapidaire); font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.nav__links { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav__links a {
  position: relative; font-family: var(--lapidaire); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 0; opacity: 0.85;
  white-space: nowrap; /* 08/08/2026 : un libellé ne casse JAMAIS en deux lignes ;
                          c'est aux seuils ci-dessous de faire tenir la barre */
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.nav__tel { position: relative; font-family: var(--lapidaire); font-size: 13px; letter-spacing: 0.08em; color: inherit; white-space: nowrap; transition: color 0.25s; }
/* 21 px de haut au naturel : même correctif de zone touchable que le burger. */
.nav__tel::after { content: ""; position: absolute; top: -12px; right: -6px; bottom: -12px; left: -6px; }
.nav__tel:hover { color: var(--terracotta); }
.nav .btn--nav { background: none; box-shadow: none; color: inherit; border-color: currentColor; }
.nav .btn--nav:hover { color: var(--terracotta); }
.nav.is-scrolled .btn--nav:hover { color: var(--terracotta); }

/* burger + panneau mobile */
.nav__burger { display: none; position: relative; width: 26px; height: 16px; background: none; border: 0; padding: 0; cursor: pointer; flex-shrink: 0; color: inherit; }
/* Le trait fait 26x16, ce qui est sous le minimum tactile de 24x24 : on étend
   la zone touchable par un pseudo-élément plutôt que par du padding, pour ne
   pas déplacer d'un pixel le dessin du burger dans la barre. */
.nav__burger::after { content: ""; position: absolute; top: -14px; right: -12px; bottom: -14px; left: -12px; }
.nav__burger span {
  position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.25s var(--ease), top 0.3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 7px; }
.nav__burger span:nth-child(3) { top: 14px; }
body.nav-open .nav__burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
body.nav-open .nav__burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav__burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.nav__mobile { display: none; }

/* ============================================================
   HERO — LE LAPIDAIRE PUR
   Titre gravé monumental + 4 plaques-sommaire vers les provinces.
   ============================================================ */
.hero {
  min-height: 100vh; background: var(--marbre);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 110px var(--pad) 70px;
}
.hero__motto {
  font-family: var(--lapidaire); font-size: 13px; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--terracotta); margin: 0;
}
.hero__motto span { font-family: var(--garamond); font-style: italic; text-transform: none; letter-spacing: 0.04em; color: var(--muted); font-size: 15px; }
.hero__title {
  font-size: clamp(52px, 8.5vw, 128px); line-height: 1.04; letter-spacing: 0.05em;
  color: var(--pierre); margin-top: 30px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.85), 0 -1px 1px rgba(53,48,42,0.38);
}
.hero__trans {
  font-family: var(--garamond); font-style: italic;
  font-size: clamp(18px, 1.7vw, 22px); color: var(--muted);
  max-width: 52ch; margin: 26px auto 0;
}
.hero__plaques {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  max-width: 1080px; width: 100%; margin-top: clamp(44px, 7vh, 80px);
}
.plaque {
  display: block; padding: 26px 20px 22px; text-align: center; cursor: pointer;
  background-color: var(--plaque-a);
  background-image:
    linear-gradient(123deg, transparent 38%, rgba(112,97,76,0.13) 39.5%, rgba(112,97,76,0.04) 42%, transparent 45%),
    linear-gradient(117deg, transparent 22%, rgba(150,131,104,0.09) 33%, transparent 47%),
    radial-gradient(ellipse 150% 90% at 26% 2%, rgba(255,253,248,0.5), transparent 60%),
    linear-gradient(160deg, var(--plaque-a), var(--plaque-b));
  border: 1px solid var(--line); border-radius: 2px;
  box-shadow: 0 14px 30px -18px rgba(53, 48, 42, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 0 0 1px rgba(255,255,255,0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.plaque:hover { transform: translateY(-5px); box-shadow: 0 22px 38px -18px rgba(53, 48, 42, 0.5), inset 0 1px 0 rgba(255,255,255,0.8); }
/* chaque plaque = une dalle de marbre unique : veines et lumière placées différemment, en douceur */
.hero__plaques .plaque:nth-child(1) {
  background-image:
    linear-gradient(124deg, transparent 34%, rgba(112,97,76,0.13) 35.5%, rgba(112,97,76,0.04) 38%, transparent 41%),
    linear-gradient(116deg, transparent 19%, rgba(150,131,104,0.08) 30%, transparent 45%),
    radial-gradient(ellipse 150% 90% at 20% 0%, rgba(255,253,248,0.5), transparent 60%),
    linear-gradient(160deg, var(--plaque-a), var(--plaque-b));
}
.hero__plaques .plaque:nth-child(2) {
  background-image:
    linear-gradient(143deg, transparent 52%, rgba(112,97,76,0.12) 54%, rgba(112,97,76,0.035) 57%, transparent 61%),
    linear-gradient(104deg, transparent 42%, rgba(150,131,104,0.07) 54%, transparent 70%),
    radial-gradient(ellipse 150% 90% at 82% 4%, rgba(255,253,248,0.48), transparent 62%),
    linear-gradient(160deg, var(--plaque-a), var(--plaque-b));
}
.hero__plaques .plaque:nth-child(3) {
  background-image:
    linear-gradient(68deg, transparent 43%, rgba(112,97,76,0.11) 45%, transparent 49%),
    linear-gradient(129deg, transparent 62%, rgba(150,131,104,0.08) 71%, transparent 85%),
    radial-gradient(ellipse 160% 100% at 55% 100%, rgba(255,253,248,0.42), transparent 55%),
    linear-gradient(160deg, var(--plaque-a), var(--plaque-b));
}
.hero__plaques .plaque:nth-child(4) {
  background-image:
    linear-gradient(107deg, transparent 24%, rgba(112,97,76,0.13) 25%, rgba(112,97,76,0.04) 28%, transparent 32%),
    linear-gradient(94deg, transparent 60%, rgba(150,131,104,0.07) 70%, transparent 85%),
    radial-gradient(ellipse 150% 90% at 10% 8%, rgba(255,253,248,0.46), transparent 60%),
    linear-gradient(160deg, var(--plaque-a), var(--plaque-b));
}
.plaque__n { display: block; font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--terracotta); }
.plaque__t {
  display: block; font-family: var(--lapidaire); font-size: 20px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pierre); margin-top: 14px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}
.plaque__d { display: block; font-family: var(--garamond); font-style: italic; font-size: 14px; color: var(--muted); margin-top: 8px; }
.plaque__more { display: block; font-family: var(--garamond); font-size: 13px; line-height: 1.4; color: var(--encre); opacity: 0.8; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ---------- TEST : vidéo YouTube en fond de hero ---------- */
.hero--video { position: relative; overflow: hidden; background: #1c1916; }
.hero--video > * { position: relative; z-index: 2; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;          /* 16:9 basé sur la largeur */
  min-width: 177.78vh; min-height: 100vh; /* 16:9 basé sur la hauteur → couvre toujours */
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none; z-index: 1;
}
/* Sur téléphone, le poster fait tout le travail : l'iframe est masquée ici et
   n'est même pas requise par script.js. Une vidéo de fond décorative ne vaut
   pas les données mobiles du visiteur. */
@media (max-width: 767px) { .hero__video { display: none; } }
/* poster affiché immédiatement (LCP rapide), sous l'iframe chargée en différé */
.hero__poster {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(28,25,22,0.28), rgba(28,25,22,0.62) 100%),
    linear-gradient(180deg, rgba(28,25,22,0.45) 0%, rgba(28,25,22,0.35) 45%, rgba(28,25,22,0.72) 100%);
}
/* texte clair, gravé dans l'ombre plutôt que dans la lumière */
.hero--video .hero__title {
  color: #f4efe6;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35), 0 2px 24px rgba(0,0,0,0.5);
}
.hero--video .hero__trans { color: rgba(244,239,230,0.9); }
.hero--video .hero__motto { color: var(--terracotta-hi); }
.hero--video .hero__motto span { color: rgba(244,239,230,0.72); }
/* plaques : tablettes de marbre qui flottent sur la vidéo sombre */
.hero--video .plaque { box-shadow: 0 20px 44px -20px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.8); }
/* nav claire + voile dégradé tant qu'on survole la vidéo (avant scroll) */
body.has-hero-video .nav:not(.is-scrolled) {
  color: #f7f3ec;
  background: linear-gradient(180deg, rgba(18,16,14,0.62) 0%, rgba(18,16,14,0.28) 60%, rgba(18,16,14,0) 100%);
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}
body.has-hero-video .nav:not(.is-scrolled) .nav__links a { opacity: 1; }

/* texture pierre chaude : veines diagonales larges et douces, sans traits durs */
/* La bande pierre est plus dense que le marbre : l'accent y perd un demi-point
   de contraste et retomberait à 3,76:1. On redéfinit la variable dans ce
   contexte plutôt que de rattraper chaque règle une par une, l'héritage des
   variables CSS faisant le reste : tout ce qui vit sur la bande, aujourd'hui
   comme demain, prend la teinte dense et tient 4,53:1. */
.pierre-band { --terracotta: #974617; }
.pierre-band {
  background-color: var(--marbre-2);
  background-image:
    linear-gradient(104deg, transparent 20%, rgba(140,125,105,0.11) 30%, transparent 40%),
    linear-gradient(96deg, transparent 52%, rgba(150,135,112,0.09) 62%, transparent 72%),
    linear-gradient(112deg, transparent 72%, rgba(130,115,95,0.10) 82%, transparent 92%),
    radial-gradient(ellipse 120% 70% at 25% 0%, rgba(255,252,244,0.4), transparent 55%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); /* joints de dalles */
}

/* ---------- Stats — l'inventaire ---------- */
.stats { padding: clamp(70px, 11vh, 130px) var(--pad); }
.stats__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 60px);
}
.stat { border-left: 1px solid var(--line); padding-left: 26px; }
.stat__num {
  display: block; font-family: var(--lapidaire); font-weight: 500;
  font-size: clamp(42px, 5vw, 70px); line-height: 1; color: var(--pierre);
  text-shadow: 0 1px 0 rgba(255,255,255,0.85), 0 -1px 1px rgba(53,48,42,0.3);
}
.stat__unit { font-size: 0.42em; color: var(--terracotta); }
.stat__label {
  display: block; font-family: var(--garamond); font-style: italic;
  font-size: 15px; color: var(--muted); margin-top: 14px;
}

/* ---------- Références — la frise (preuve sociale) ---------- */
.refs {
  padding: clamp(48px, 8vh, 88px) var(--pad);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
  background-color: var(--marbre-2);
  background-image:
    linear-gradient(104deg, transparent 20%, rgba(140,125,105,0.11) 30%, transparent 40%),
    linear-gradient(96deg, transparent 52%, rgba(150,135,112,0.09) 62%, transparent 72%),
    linear-gradient(112deg, transparent 72%, rgba(130,115,95,0.10) 82%, transparent 92%),
    radial-gradient(ellipse 120% 70% at 25% 0%, rgba(255,252,244,0.4), transparent 55%);
}
.refs__eyebrow { justify-content: center; margin-bottom: clamp(30px, 4vh, 48px); }
.refs__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(28px, 4.5vw, 64px);
}
.refs__logo { display: inline-flex; align-items: center; }
.refs__logo img {
  height: clamp(24px, 3vw, 38px); width: auto; max-width: 150px; object-fit: contain;
  filter: invert(1); opacity: 0.58;
  transition: opacity 0.35s ease;
}
.refs__logo:hover img { opacity: 0.9; }

/* ---------- Manifeste — l'inscription (seul moment centré) ---------- */
.manifesto { background: var(--marbre); padding: clamp(60px, 9vh, 110px) var(--pad); }
.manifesto__quote { max-width: 940px; margin: 0 auto; text-align: center; }
.manifesto__quote p {
  font-family: var(--lapidaire); font-weight: 400; text-transform: none;
  font-size: clamp(24px, 3vw, 44px); line-height: 1.4; margin: 0; letter-spacing: 0.02em;
}
.manifesto__quote p em { font-style: normal; color: var(--terracotta); }
.manifesto__quote cite {
  display: block; font-family: var(--garamond); font-style: italic;
  font-size: 15px; letter-spacing: 0.04em; color: var(--muted); margin-top: 34px;
}

/* ---------- Les provinces ---------- */
.provinces { background: var(--marbre); padding: 0; }
/* l'en-tête = bande pierre pleine largeur (classe .pierre-band dans le HTML) */
.provinces__head { padding: clamp(90px, 13vh, 180px) var(--pad) clamp(60px, 8vh, 110px); }
.provinces__title { font-size: clamp(34px, 4.8vw, 72px); }
/* médaillon à gauche, texte à côté : plus de vide, plus graphique */
.provinces__head-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: clamp(36px, 6vw, 84px);
}
.provinces__emblem { flex-shrink: 0; }
.provinces__emblem svg { width: clamp(140px, 15vw, 210px); height: auto; overflow: visible; }
.provinces__emblem text { font-family: var(--lapidaire); font-size: 9px; }
.provinces__head-text { flex: 1; min-width: 0; }
@media (max-width: 820px) {
  .provinces__head-inner { flex-direction: column; text-align: center; gap: 28px; }
  .provinces__emblem svg { width: clamp(110px, 30vw, 150px); }
}

/* la capitale — Tolosa, au centre, distincte des provinces */
.capitale { padding: clamp(66px, 9vh, 120px) var(--pad) clamp(30px, 4vh, 54px); }
.capitale__inner {
  max-width: 780px; margin: 0 auto; text-align: center;
  border-top: 2px solid var(--terracotta);
  padding-top: clamp(30px, 5vh, 58px);
}
.capitale .eyebrow { justify-content: center; }
.capitale__title {
  font-size: clamp(30px, 4.4vw, 62px); margin-top: 8px;
  color: var(--pierre);
  text-shadow: 0 1px 0 rgba(255,255,255,0.85), 0 -1px 1px rgba(53,48,42,0.35);
}
.capitale .lede { max-width: 58ch; margin-left: auto; margin-right: auto; }
.capitale .meta { justify-content: center; }
/* séparateur gravé avant les quatre provinces */
.provinces-sep {
  max-width: var(--maxw); margin: clamp(30px,4vh,54px) auto 0; padding: 0 var(--pad);
  display: flex; align-items: center; gap: clamp(16px,3vw,28px);
  font-family: var(--lapidaire); font-size: 12px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted); text-align: center;
}
.provinces-sep::before, .provinces-sep::after {
  content: ""; height: 1px; flex: 1; background: var(--line);
}

/* fond hérité de .provinces (blanc) ; les portes pierre portent .pierre-band dans le HTML */
.door { padding: clamp(70px, 10vh, 140px) var(--pad); }
.door__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 90px); align-items: center;
}
.door--reverse .door__inner { grid-template-columns: 0.85fr 1.15fr; }
.door--reverse .door__media { order: 2; }
.door--reverse .door__text { order: 1; }
.door__title {
  font-size: clamp(28px, 3.9vw, 58px);
  color: var(--pierre);
  text-shadow: 0 1px 0 rgba(255,255,255,0.85), 0 -1px 1px rgba(53,48,42,0.35);
}

/* cadre-œuvre : passe-partout ivoire + cadre pierre + ombre de galerie */
.frame {
  margin: 0; overflow: hidden; border-radius: 2px;
  padding: clamp(10px, 1.2vw, 16px); background: var(--plaque-a);
  border: 1px solid var(--line);
  box-shadow: 0 34px 60px -30px rgba(53, 48, 42, 0.55), inset 0 1px 0 rgba(255,255,255,0.85);
  position: relative; aspect-ratio: 16 / 10;
}
.frame::before {
  content: ""; position: absolute; inset: clamp(10px, 1.2vw, 16px); z-index: 0;
  background: #26221d
    repeating-linear-gradient(45deg, rgba(240,234,216,0.02) 0 14px, transparent 14px 28px);
}
.frame::after {
  content: "Image à venir"; position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(240,234,216,0.4); pointer-events: none;
}
.frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.door__media:hover .frame img, .work:hover .frame img { transform: scale(1.04); }

/* ---------- La galerie (réalisations) ---------- */
/* bande pierre : porte .pierre-band dans le HTML */
.works { padding: clamp(90px, 13vh, 180px) var(--pad); }
.works__head { max-width: var(--maxw); margin: 0 auto; padding-bottom: clamp(50px, 7vh, 90px); }
.works__title { font-size: clamp(34px, 4.8vw, 72px); }
.works__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px);
}
.work { display: block; cursor: pointer; }
.frame--work { aspect-ratio: 16 / 11; }
.work__label { display: block; font-family: var(--lapidaire); font-size: 15px; letter-spacing: 0.06em; margin-top: 18px; line-height: 1.45; color: var(--pierre); }
.work__kind { display: block; font-family: var(--garamond); font-style: italic; font-size: 14px; color: var(--muted); margin-top: 6px; }
.work:hover .work__label { color: var(--terracotta); transition: color 0.25s; }

/* ---------- Contact ---------- */
/* bande pierre : porte .pierre-band dans le HTML */
.contact { padding: clamp(110px, 16vh, 200px) var(--pad); }
.contact__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 90px); align-items: center;
}
.contact__title { font-size: clamp(34px, 4.8vw, 72px); }
.contact__mail {
  font-family: var(--garamond); font-size: clamp(20px, 2.2vw, 30px);
  color: var(--pierre);
  border-bottom: 1px solid var(--terracotta); padding-bottom: 4px;
  transition: color 0.25s;
}
.contact__mail:hover { color: var(--terracotta); }

/* ---------- Footer — l'intaille : le monogramme gravé en creux ---------- */
.footer {
  position: relative; overflow: hidden; text-align: center;
  background-color: var(--marbre);
  background-image:
    linear-gradient(107deg, transparent 38%, rgba(160,150,135,0.2) 39.2%, transparent 40.5%),
    linear-gradient(93deg, transparent 61%, rgba(160,150,135,0.14) 62%, transparent 63.5%),
    radial-gradient(ellipse 120% 60% at 20% 0%, rgba(255,255,255,0.45), transparent 60%);
  padding: clamp(58px, 8vh, 96px) var(--pad) clamp(30px, 4vh, 44px);
}
.footer__mono { /* le VVF gravé en creux, ton sur ton, en filigrane */
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); pointer-events: none; z-index: 0;
  font-family: var(--lapidaire); font-weight: 500; font-size: clamp(140px, 24vw, 300px); letter-spacing: 0.06em;
  color: var(--marbre); white-space: nowrap;
  text-shadow: 0 2px 0 rgba(255,255,255,0.95), 0 -2px 2px rgba(53,48,42,0.3);
}
.footer__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
.footer__brand { font-family: var(--lapidaire); font-weight: 500; font-size: clamp(15px, 1.7vw, 19px); letter-spacing: 0.18em; text-transform: uppercase; color: var(--pierre); text-shadow: 0 1px 0 rgba(255,255,255,0.8); }
.footer__tagline { font-family: var(--garamond); font-style: italic; font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.footer__tagline a { border-bottom: 1px solid var(--line); transition: color 0.2s, border-color 0.2s; }
.footer__tagline a:hover { color: var(--terracotta); border-color: var(--terracotta); }
.footer__hub { font-family: var(--lapidaire); font-size: clamp(11px, 1.3vw, 13px); letter-spacing: 0.16em; text-transform: uppercase; color: var(--pierre); margin-top: 32px; line-height: 2.1; }
.footer__hub a { transition: color 0.2s; }
.footer__hub a:hover { color: var(--terracotta); }
.footer__hub i { font-style: normal; color: var(--terracotta); margin: 0 9px; }
.footer__empire { font-family: var(--garamond); font-style: italic; font-size: 14.5px; color: var(--muted); margin-top: 14px; line-height: 1.9; }
.footer__empire a { transition: color 0.2s; }
.footer__empire a:hover { color: var(--terracotta); }
.footer__empire i { font-style: normal; color: var(--terracotta); margin: 0 7px; }
.footer__legal { font-family: var(--lapidaire); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 30px; line-height: 2; }
.footer__legal a { transition: color 0.2s; }
.footer__legal a:hover { color: var(--terracotta); }
.footer__legal i { font-style: normal; color: var(--terracotta); margin: 0 8px; }

/* ============================================================
   MOTION LAYER (additive — ne touche jamais au moteur scrub)
   ============================================================ */
/* LA RÉVÉLATION AU SCROLL, revue le 07/08/2026.
   Trente-deux blocs de l'accueil partageaient exactement la même montée de
   26 px sur 0,9 s : c'est le fondu-monté générique qu'on voit partout, et
   c'était le geste le moins tenu de la page. Trois corrections, sans changer
   le mécanisme ni une ligne de JavaScript.

   1. La course tombe de 26 à 12 px et la durée de 0,9 à 0,66 s. Une entrée
      brève et courte se remarque moins qu'elle ne se ressent ; une longue
      glissade signale l'effet.
   2. L'opacité part de 0 mais monte plus vite que la position, si bien que le
      bloc est lisible avant d'être immobile.
   3. Ce qui est lourd bouge moins que ce qui est léger : les médias ne
      montent pas du tout (.reveal--fondu), ils se fondent sur place. */
.reveal { opacity: 0; transform: translateY(12px);
  transition: opacity 0.46s var(--ease), transform 0.66s var(--ease); }
.reveal.is-shown { opacity: 1; transform: none; }
/* Les images et les blocs pleine largeur : fondu seul, aucune translation.
   Une photo qui glisse trahit l'animation, une photo qui apparaît ne dit rien. */
.reveal--fondu { transform: none; transition: opacity 0.7s var(--ease); }

/* LA CASCADE. Quand plusieurs frères entrent ensemble dans le champ, ils
   arrivaient tous au même instant, ce qui les aplatit en un seul mouvement.
   Un décalage de 70 ms les rend successifs et donne à l'oeil un ordre de
   lecture. Le retard est plafonné : au-delà du cinquième, on n'attend plus. */
.reveal--suite > .reveal:nth-child(2),
.reveal--suite > *:nth-child(2) > .reveal { transition-delay: 0.07s; }
.reveal--suite > .reveal:nth-child(3),
.reveal--suite > *:nth-child(3) > .reveal { transition-delay: 0.14s; }
.reveal--suite > .reveal:nth-child(4),
.reveal--suite > *:nth-child(4) > .reveal { transition-delay: 0.21s; }
.reveal--suite > .reveal:nth-child(n+5),
.reveal--suite > *:nth-child(n+5) > .reveal { transition-delay: 0.28s; }

.ml-reveal .ml-line { overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ml-reveal .ml-line__inner {
  display: block; transform: translateY(110%);
  transition: transform 0.9s var(--ease); transition-delay: var(--ml-delay, 0s);
  will-change: transform;
}
.ml-reveal.is-shown .ml-line__inner { transform: translateY(0); }

/* ============================================================
   PAGES INTÉRIEURES (À propos, Contact, Réalisations)
   ============================================================ */
.nav__links a.is-active { color: var(--terracotta); }
.nav__links a.is-active::after { transform: scaleX(1); }
/* 08/08/2026 : sur un hero sombre (has-hero-video), la terracotta de base ne
   tient pas le contraste (3,57:1, voir la doctrine des variables) : le lien
   actif passe en terracotta-hi tant qu'on n'a pas scrollé. Vu sur /collegium/,
   valait aussi pour /methode/. */
body.has-hero-video .nav:not(.is-scrolled) .nav__links a.is-active { color: var(--terracotta-hi); }

/* page-hero : ouverture marbre sous la nav fixe */
.page-hero {
  background: var(--marbre); padding: clamp(140px, 22vh, 240px) var(--pad) clamp(50px, 8vh, 90px);
  text-align: center;
}
.page-hero__motto {
  font-family: var(--lapidaire); font-size: 12px; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--terracotta); margin: 0;
}
.page-hero__motto span { font-family: var(--garamond); font-style: italic; text-transform: none; letter-spacing: 0.04em; color: var(--muted); font-size: 14px; }
.page-hero__title {
  font-size: clamp(44px, 7vw, 104px); line-height: 1.04; letter-spacing: 0.05em; margin-top: 24px;
  color: var(--pierre); text-shadow: 0 1px 0 rgba(255,255,255,0.85), 0 -1px 1px rgba(53,48,42,0.38);
}
/* Titres contenant un mot long (« communication », « présentation ») : plancher abaissé pour tenir en 375px */
.page-hero__title--long { font-size: clamp(31px, 6.5vw, 96px); }
.page-hero__trans {
  font-family: var(--garamond); font-style: italic; font-size: clamp(18px, 1.6vw, 22px);
  color: var(--muted); max-width: 60ch; margin: 26px auto 0;
}
/* la didascalie : plus petite et plus discrète que la phrase qui la porte, jamais à sa
   place. Même dosage que .m6-vanne sur l'accueil, transposé sur fond clair. */
.vanne { font-size: 0.82em; opacity: 0.72; }

/* section générique (fond marbre hérité du body ; .pierre-band pour la bande) */
.section { padding: clamp(70px, 11vh, 150px) var(--pad); }
.section__head, .prose, .cta, .pull { max-width: var(--maxw); margin: 0 auto; }
.section__head { margin-bottom: clamp(40px, 6vh, 80px); }
.section__title { font-size: clamp(30px, 4vw, 60px); }
.prose { max-width: 760px; }
.prose p { margin: 20px 0 0; }

/* lien texte inline (fléché) */
.tlink {
  font-family: var(--garamond); font-style: italic; font-size: clamp(17px, 1.4vw, 20px);
  color: var(--terracotta); text-decoration: none;
  border-bottom: 1px solid rgba(194, 90, 30, 0.35); padding-bottom: 1px;
  transition: border-color 0.3s ease;
}
.tlink:hover { border-color: var(--terracotta); }

/* Liens dans la prose courante et les composants éditoriaux : visibles (terracotta + filet), hors liens-flèches .tlink */
/* 13/08/2026 : .cartouche__txt ajouté. Le bloc « les autres films du projet » servait ses
   liens dans le gris du cartouche, sans filet : rien ne les distinguait du texte. */
.prose a:not(.tlink), .answer a, .marge__t a, .vidi__txt a, .diptyque__d a, .lex-cachet__txt a, .cartouche__txt a {
  color: var(--terracotta); border-bottom: 1px solid rgba(194, 90, 30, 0.35); transition: border-color 0.2s;
}
.prose a:not(.tlink):hover, .answer a:hover, .marge__t a:hover, .vidi__txt a:hover, .diptyque__d a:hover, .lex-cachet__txt a:hover, .cartouche__txt a:hover { border-bottom-color: var(--terracotta); }

/* bloc portrait (À propos) */
.portrait-split { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.portrait { margin: 0; overflow: hidden; border-radius: 2px; border: 1px solid var(--line); background: var(--marbre-2); box-shadow: 0 34px 66px -32px rgba(53, 48, 42, 0.55); }
.portrait img { width: 100%; height: auto; display: block; }
@media (max-width: 820px) {
  .portrait-split { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}

/* corps d'article (Coulisses) */
.article { max-width: 760px; margin: 0 auto; }
.article p { margin: 18px 0 0; }
.article .lede { margin-top: 0; }
.article__h { font-size: clamp(21px, 2.5vw, 32px); text-transform: none; margin: 44px 0 4px; }
.prose .eyebrow { margin-bottom: 18px; }
.prose .section__title { margin-bottom: 8px; }

/* Guides : tableaux de prix + FAQ (section éditoriale /guides/) */
.table-wrap { max-width: var(--maxw); margin: 28px auto 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gtable { border-collapse: collapse; width: 100%; min-width: 520px; font-family: var(--garamond); font-size: 16px; color: var(--encre); }
.gtable caption { text-align: left; font-family: var(--garamond); font-style: italic; font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.gtable th, .gtable td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gtable thead th { font-family: var(--lapidaire); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.gtable tbody tr:last-child td { border-bottom: none; }
.gtable .num { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--pierre); }
.gtable tbody tr:hover td { background: var(--plaque-a); }

/* Tabula gravée — tableau des formats raffiné (guides) */
.ftab { width: 100%; min-width: 640px; border-collapse: collapse; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; font-family: var(--garamond); box-shadow: 0 26px 46px -30px rgba(53,48,42,0.4); }
.ftab caption { caption-side: top; text-align: left; font-family: var(--garamond); font-style: italic; font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.ftab thead th { background: linear-gradient(180deg,#efe6d3,#e4d8bf); border-bottom: 1px solid var(--line); font-family: var(--lapidaire); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #6f5d3f; text-align: left; padding: 15px clamp(16px,1.8vw,26px); }
.ftab td { padding: 16px clamp(16px,1.8vw,26px); border-bottom: 1px solid rgba(53,48,42,0.1); vertical-align: middle; background: var(--plaque-a); }
.ftab tbody tr:nth-child(even) td { background: #f3ecdd; }
.ftab tbody tr:last-child td { border-bottom: none; }
.ftab__t { font-family: var(--lapidaire); font-size: 13.5px; letter-spacing: 0.02em; color: var(--pierre); }
.ftab__d { font-size: 15px; color: var(--encre); }
.ftab__when { font-style: italic; font-size: 14px; color: var(--muted); }
.ftab__life { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.ftab__dots { display: inline-flex; gap: 3px; }
.ftab__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(53,48,42,0.16); }
.ftab__dots i.on { background: var(--terracotta); }
.ftab__lifelab { font-family: var(--lapidaire); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ftab__price { font-family: var(--lapidaire); font-size: 13.5px; letter-spacing: 0.04em; color: var(--terracotta); white-space: nowrap; }

/* encadré réponse directe (cible featured snippet / AI Overview) */
.answer { max-width: 760px; margin: 28px auto 0; background: var(--plaque-a); border: 1px solid var(--line); border-left: 3px solid var(--terracotta); border-radius: 2px; padding: 22px 26px; }
.answer p { margin: 0; color: var(--encre); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
.answer p + p { margin-top: 12px; }
.answer strong { color: var(--pierre); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__q { font-family: var(--lapidaire); font-size: clamp(17px, 1.5vw, 20px); letter-spacing: 0.02em; text-transform: none; color: var(--pierre); margin: 0 0 8px; }
.faq__a { margin: 0; color: var(--muted); }
.faq__a a { color: var(--terracotta); text-decoration: none; border-bottom: 1px solid rgba(194, 90, 30, 0.35); }

/* Quaestio — cartouches de marbre (FAQ, guide collectivités) */
.qcards { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); }
.qcard { display: flex; flex-direction: column; background: linear-gradient(180deg, var(--plaque-a), var(--plaque-b)); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 20px 40px -32px rgba(53,48,42,0.5); }
.qcard__hd { padding: 20px 24px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.28); }
.qcard__n { display: block; font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.2em; color: var(--terracotta); margin-bottom: 8px; }
.qcard__q { font-family: var(--lapidaire); font-weight: 500; font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--pierre); line-height: 1.32; margin: 0; text-shadow: 0 1px 0 rgba(255,255,255,0.7); }
.qcard__a { padding: 18px 24px 24px; margin: 0; color: var(--muted); font-size: 16px; }
.qcard__a a { color: var(--terracotta); text-decoration: none; border-bottom: 1px solid rgba(194, 90, 30, 0.35); }
.qcard:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) { .qcards { grid-template-columns: 1fr; } .qcard:last-child:nth-child(odd) { grid-column: auto; } }

/* Hub des guides — fiches à onglet (guides/index.php) */
.fiches { max-width: var(--maxw); margin: clamp(30px, 5vh, 54px) auto 0; padding: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 36px) clamp(20px, 2.6vw, 32px); }
.fiche { position: relative; display: block; background: var(--plaque-a); border: 1px solid var(--line); border-radius: 0 5px 5px 5px; padding: 30px 26px 26px; box-shadow: 0 20px 40px -34px rgba(53,48,42,0.5); transition: transform 0.2s var(--ease); }
.fiche:hover { transform: translateY(-3px); }
.fiche__tab { position: absolute; top: -15px; left: -1px; background: var(--pierre); color: var(--marbre); font-family: var(--lapidaire); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 16px; border-radius: 5px 5px 0 0; }
.fiche--guide .fiche__tab { background: var(--terracotta); }
.fiche__t { font-family: var(--lapidaire); font-size: clamp(17px, 1.6vw, 20px); text-transform: none; letter-spacing: 0.02em; color: var(--pierre); margin: 4px 0 10px; line-height: 1.3; transition: color 0.2s; }
.fiche:hover .fiche__t { color: var(--terracotta); }
.fiche__note { margin: 0; color: var(--muted); font-size: 15px; }
.fiche__go { display: inline-block; margin-top: 16px; font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); }
@media (max-width: 820px) { .fiches { grid-template-columns: 1fr; } }

/* valeurs numérotées (romain) */
/* Quatre appuis — dans le style du cursus : disque numéroté sur ligne verticale */
.values { list-style: none; max-width: 940px; margin: 0 auto; padding: 0 0 0 20px; columns: 2; column-gap: clamp(40px, 6vw, 96px); }
.value { position: relative; padding: clamp(16px,2vw,24px) 0 clamp(16px,2vw,24px) clamp(40px,3.4vw,56px); border-left: 2px solid var(--line); break-inside: avoid; }
.value__n {
  position: absolute; left: -22px; top: clamp(12px,1.6vw,20px);
  width: 44px; height: 44px; border-radius: 50%; background: var(--marbre); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--lapidaire); font-weight: 500; font-size: 15px; color: var(--terracotta);
  box-shadow: 0 8px 16px -10px rgba(53,48,42,0.5);
}
.value__t { font-family: var(--lapidaire); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre); margin: 0 0 4px; }
.value p { margin: 0; font-family: var(--garamond); font-style: italic; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* pull quote (À propos) */
.pull { max-width: 900px; text-align: center; }
.pull p { font-family: var(--lapidaire); font-weight: 400; font-size: clamp(24px, 3vw, 42px); line-height: 1.32; letter-spacing: 0.02em; margin: 0; color: var(--pierre); }
.pull p em { font-style: normal; color: var(--terracotta); }
.pull cite { display: block; font-family: var(--garamond); font-style: italic; font-size: 16px; color: var(--muted); margin-top: 28px; }

/* CTA band */
.cta-band { text-align: center; }
.cta { max-width: 720px; }
.cta .lede { margin-left: auto; margin-right: auto; }
.cta .btn { margin-top: 30px; }

/* Contact */
.contact-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.cform { margin-top: 30px; display: grid; gap: 22px; max-width: 560px; }
.cfield { display: block; }
.cfield__label { display: block; font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cform input, .cform textarea {
  width: 100%; font-family: var(--garamond); font-size: 17px; color: var(--encre);
  background: var(--plaque-a); border: 1px solid var(--line); border-radius: 2px;
  padding: 13px 15px; transition: border-color 0.2s;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--terracotta); }
.cform textarea { resize: vertical; }
.cfield__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.notice--ok .section__title { margin-top: 8px; }

.contact-aside { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 44px); }
.contact-portrait { aspect-ratio: 2 / 3; max-width: 240px; margin: 0 0 32px; }
.contact-aside__line { margin: 0 0 18px; }
.contact-aside__line span { display: block; font-family: var(--lapidaire); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 4px; }
.contact-aside__line a { border-bottom: 1px solid var(--line); }
.contact-aside__line a:hover { color: var(--terracotta); border-color: var(--terracotta); }
.contact-aside .meta { margin-top: 26px; }

/* home : bouton "voir toutes les réalisations" */
.works__more { max-width: var(--maxw); margin: clamp(44px, 6vh, 70px) auto 0; text-align: center; }

/* Réalisations : liste éditoriale */
.reals { list-style: none; max-width: var(--maxw); margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(30px, 5vw, 70px); }
.real { padding: 26px 0; border-bottom: 1px solid var(--line); }
.real a { display: block; }
.real__kind { display: block; font-family: var(--lapidaire); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta); }
.real__t { font-family: var(--lapidaire); font-size: clamp(18px, 1.7vw, 23px); letter-spacing: 0.03em; text-transform: none; color: var(--pierre); margin: 12px 0 8px; }
.real--feature .real__t { color: var(--pierre); }
.real--feature a:hover .real__t { color: var(--terracotta); transition: color 0.2s; }
.real__note { margin: 0; color: var(--muted); font-size: 15px; }
/* variante compacte (teaser prestations sur la home) : 3 colonnes, sans note */
.reals--compact { grid-template-columns: repeat(3, 1fr); }
.reals--compact .real__t { margin-bottom: 0; }

/* témoignages */
.quotes { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.quote { margin: 0; padding-top: 26px; border-top: 1px solid var(--terracotta); }
.quote p { font-family: var(--garamond); font-style: italic; font-size: 17px; line-height: 1.5; color: var(--encre); margin: 0; }
.quote cite { display: block; font-family: var(--lapidaire); font-style: normal; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 20px; }

/* références */
.refs__list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.refs__list li { font-family: var(--lapidaire); font-size: clamp(14px, 1.4vw, 18px); letter-spacing: 0.06em; color: var(--pierre); }

/* section usages centrée */
.section--center .section__head { text-align: center; }
.section--center .section__head { margin-bottom: clamp(24px, 4vh, 46px); }

/* ---- grilles portfolio (réalisations) ---- */
.pgrid, .catgrid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.pcard, .catcard { display: block; cursor: pointer; }
.shot {
  display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px;
  border: 1px solid var(--line); background: var(--marbre-2);
  box-shadow: 0 22px 44px -28px rgba(53, 48, 42, 0.55);
}
/* object-position haut : ne coupe pas les têtes au recadrage */
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; transition: transform 1s var(--ease); }
/* 14/08/2026 : le carrousel des fiches réalisations, en réduction, posé dans une forme.
   Nicolas a écarté la mosaïque 2x2 essayée d'abord : il voulait le défilement déjà employé
   ailleurs sur le site plutôt qu'un objet neuf. Tout est hérité de .carrousel, y compris son
   script, qui agit sur n'importe quel .carrousel de la page. Seules changent les mesures :
   le ratio passe de 3/2 à 16/10 pour occuper exactement la place de l'image unique qu'il
   remplace, les flèches tombent de 52 à 36 px, et le pied se resserre. */
.carrousel--mini { max-width: none; }
/* 14/08/2026 : le film lisible dans une forme. .video-embed porte un max-width de --maxw
   pour son usage d'origine, pleine largeur sur les fiches réalisations ; dans la colonne
   d'une forme il doit prendre la place qu'on lui donne, comme le carrousel juste au-dessus. */
.forme__img .video-embed { max-width: none; margin: 0; }
.carrousel--mini .carrousel__piste { border: 1px solid var(--line); box-shadow: 0 22px 44px -28px rgba(53, 48, 42, 0.55); }
.carrousel--mini .carrousel__item { aspect-ratio: 16 / 10; }
.carrousel--mini .carrousel__nav { width: 36px; height: 36px; }
.carrousel--mini .carrousel__nav svg { width: 15px; height: 15px; }
.carrousel--mini .carrousel__nav--prec { left: 10px; }
.carrousel--mini .carrousel__nav--suiv { right: 10px; }
.carrousel--mini .carrousel__pied { max-width: none; margin-top: 10px; gap: 12px; }
.carrousel--mini .carrousel__compte, .carrousel--mini .carrousel__aide { font-size: 12.5px; }
@media (max-width: 640px) { .carrousel--mini .carrousel__aide { display: none; } }
/* La ligne de sortie devient un vrai lien quand la carte n'en est plus un. */
.forme__sortie--lien:hover { color: var(--terracotta); }
.pcard:hover .shot img, .catcard:hover .shot img, .forme:hover .shot img { transform: scale(1.05); }
/* Contour en tesselles (comme la mosaïque des réalisations) sur les cartes de la grille des œuvres */
.pcard .shot, .catcard .shot, .forme__img .shot {
  border: 8px solid transparent; border-radius: 1px;
  border-image: repeating-linear-gradient(45deg, #cbbfa8 0 7px, #b8ab90 7px 14px, #ddd3bd 14px 21px, #c4b79c 21px 28px) 8;
}

/* ---------- La grille des œuvres et ses filtres (/realisations/) ---------- */
/* Les tuiles y passent en 16/9 : ce sont des miniatures de film, et un film est en
   16/9. Le .shot général reste en 16/10 partout ailleurs, rien d'autre ne bouge. */
.pgrid--oeuvres .shot { aspect-ratio: 16 / 9; }

.filtres {
  max-width: var(--maxw); margin: 0 auto clamp(30px, 4.5vh, 52px);
  display: flex; flex-wrap: wrap; gap: 10px 8px; justify-content: center;
}
/* display:flex l'emporterait sur l'attribut hidden : la barre naît masquée et
   c'est le pilote qui la découvre, pour ne jamais montrer un bouton qui ne filtre rien */
.filtres[hidden] { display: none; }
.filtre {
  appearance: none; cursor: pointer;
  font-family: var(--lapidaire); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-aa); background: transparent;
  border: 1px solid var(--line); border-radius: 2px;
  padding: 9px 15px; line-height: 1;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.filtre:hover { color: var(--pierre); border-color: rgba(53, 48, 42, 0.4); }
.filtre b { font-weight: 500; }
.filtre i { font-style: normal; opacity: 0.55; margin-left: 7px; font-size: 11px; }
.filtre[aria-pressed="true"] { color: var(--ivoire); background: var(--terracotta); border-color: var(--terracotta); }
.filtre[aria-pressed="true"] i { opacity: 0.8; }

/* ---- Second registre : le support (07/08/2026) ----
   Deux dimensions de filtrage depuis les 7 situations : la situation en haut,
   grave en lapidaire, et le support ici, d'un cran plus bas. L'italique et le
   pointille disent que ce n'est pas un choix de meme rang : on choisit d'abord
   ce qu'on cherche, on affine ensuite. */
.registre {
  max-width: var(--maxw); margin: -18px auto clamp(30px, 4.5vh, 52px);
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.registre[hidden] { display: none; }
.registre__lib {
  font-family: var(--lapidaire); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted-aa); white-space: nowrap;
}
/* la barre du bas n'a pas la marge basse de .filtres : c'est .registre qui la porte */
.filtres--med { margin: 0; gap: 8px 6px; }
.filtre--med {
  font-family: var(--garamond); font-style: italic; text-transform: none;
  letter-spacing: 0.02em; font-size: 14px; padding: 6px 12px;
  border-style: dashed;
}
.filtre--med[aria-pressed="true"] { font-style: normal; border-style: solid; }

/* .pcard est en display:block, qui l'emporte sur l'attribut hidden : il faut le dire */
.pcard[hidden] { display: none; }
.pcard__cat {
  display: block; font-family: var(--garamond); font-style: italic;
  font-size: 14px; color: var(--muted-aa); margin-top: 2px;
}
.oeuvres__compte {
  text-align: center; font-family: var(--garamond); font-style: italic;
  color: var(--muted-aa); margin: 0 0 26px;
}
.oeuvres__vide { text-align: center; color: var(--muted-aa); font-style: italic; padding: 40px 0; }

/* badge média (photo / vidéo) sur la vignette */
.media-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--lapidaire); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ivoire); padding: 5px 11px; border-radius: 2px;
}
.media-badge--video { background: rgba(194, 90, 30, 0.92); }
.media-badge--video::before { content: "▶"; font-size: 8px; margin-top: 1px; }
.media-badge--photo { background: rgba(20, 18, 15, 0.72); }
.media-badge--photo::before { content: "▣"; font-size: 9px; }

/* lecteur vidéo + photo pleine largeur (page interne d'une réalisation) */
/* 13/08/2026 : les autres films d'un même projet, en lecteurs côte à côte sous le titre.
   Le .video-embed y perd son max-width de 1240 px, sinon chaque film prendrait la pleine
   largeur et la page ferait trois écrans. Trois colonnes au-dessus de 900 px, deux entre
   560 et 900, une seule en dessous. */
.serie-films { max-width: var(--maxw); margin: 0 auto; display: grid; gap: clamp(16px, 2.4vw, 30px);
               grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.serie-film { margin: 0; }
.serie-films .video-embed { max-width: none; box-shadow: 0 20px 40px -24px rgba(53, 48, 42, 0.55); }
.serie-films .video-facade__play { width: 54px; height: 54px; }
.serie-films .video-facade__play::after { margin-left: 4px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
.serie-film__lib { font-family: var(--garamond); font-style: italic; font-size: 14.5px;
                   color: var(--muted); margin-top: 10px; line-height: 1.45; }

.video-embed, .detail-shot { max-width: var(--maxw); margin: 0 auto; }
.video-embed { aspect-ratio: 16 / 9; background: #17140f; border-radius: 2px; overflow: hidden; box-shadow: 0 34px 66px -32px rgba(53, 48, 42, 0.6); }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
/* façade vidéo : affiche + bouton, l'iframe se charge au clic */
.video-facade { position: relative; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; cursor: pointer; background: #17140f; overflow: hidden; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.video-facade:hover img { transform: scale(1.03); }
.video-facade__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(15,13,11,0.42); border: 1px solid rgba(240,234,216,0.7); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; transition: background 0.25s, transform 0.25s; }
.video-facade__play::after { content: ""; margin-left: 5px; border-left: 20px solid var(--ivoire); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video-facade:hover .video-facade__play { background: rgba(194,90,30,0.9); transform: translate(-50%,-50%) scale(1.07); }
.detail-shot { margin: 0 auto; }
.detail-shot .shot { aspect-ratio: 3 / 2; }
/* galerie photo (page réalisation) */
.gallery {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.5vw, 22px);
}
.gallery__item {
  margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 2px;
  background: var(--marbre-2);
  box-shadow: 0 22px 44px -30px rgba(53, 48, 42, 0.55);
}
.gallery__item img {
  display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2;
  object-fit: cover; transition: transform 1.2s var(--ease);
}
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item--lead { grid-column: 1 / -1; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr; }
}

/* carrousel photo : une seule image visible, les suivantes hors champ, flèches pour avancer
   (28/07/2026). La photo est posée entière dans un cadre 3/2, jamais rognée. Sans JavaScript
   les flèches ne font rien, mais la piste reste glissable : la galerie n'est jamais inutilisable.
   Limité aux fiches listées dans $REAL_GALERIE_BANDE. */
.carrousel { position: relative; max-width: var(--maxw); margin: 0 auto; }
.carrousel__piste {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scroll-behavior: smooth;
  border-radius: 2px; box-shadow: 0 34px 66px -32px rgba(53, 48, 42, 0.6);
  scrollbar-width: none; -ms-overflow-style: none;
}
.carrousel__piste::-webkit-scrollbar { display: none; }
.carrousel__piste:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.carrousel__item {
  flex: 0 0 100%; scroll-snap-align: center; margin: 0;
  background: #17140f; aspect-ratio: 3 / 2;
  display: flex; align-items: center; justify-content: center;
}
.carrousel__item img { width: 100%; height: 100%; object-fit: contain; }
.carrousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid rgba(240, 234, 216, 0.7); background: rgba(15, 13, 11, 0.42);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, transform 0.25s;
}
.carrousel__nav:hover { background: rgba(194, 90, 30, 0.9); transform: translateY(-50%) scale(1.07); }
.carrousel__nav[disabled] { opacity: 0.35; cursor: default; }
.carrousel__nav[disabled]:hover { background: rgba(15, 13, 11, 0.42); transform: translateY(-50%); }
.carrousel__nav--prec { left: clamp(10px, 1.6vw, 22px); }
.carrousel__nav--suiv { right: clamp(10px, 1.6vw, 22px); }
.carrousel__nav svg { width: 20px; height: 20px; stroke: var(--ivoire); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.carrousel__pied { max-width: var(--maxw); margin: 14px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.carrousel__compte { font-family: var(--lapidaire); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-aa); margin: 0; }
.carrousel__compte b { color: var(--terracotta); font-weight: 500; }
.carrousel__aide { font-family: var(--garamond); font-style: italic; font-size: 14px; color: var(--muted-aa); margin: 0; }
@media (prefers-reduced-motion: reduce) { .carrousel__piste { scroll-behavior: auto; } }

.page-hero__title--work { font-size: clamp(28px, 4.2vw, 58px); text-transform: none; }
/* page portfolio : la vidéo + cartel logent dans le hero, sans trou de jonction */
.page-hero--work { padding-top: clamp(92px, 14vh, 148px); padding-bottom: clamp(46px, 7vh, 84px); }
.page-hero--work .oeuvre { margin-top: clamp(38px, 5.5vh, 66px); text-align: left; }
.detail-article { margin-top: 26px; }
.detail-article a { font-family: var(--lapidaire); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta); border-bottom: 1px solid var(--terracotta); padding-bottom: 3px; }
.pcard__label { display: block; font-family: var(--lapidaire); font-size: 14px; letter-spacing: 0.03em; color: var(--pierre); margin-top: 14px; line-height: 1.45; }
.pcard:hover .pcard__label { color: var(--terracotta); transition: color 0.2s; }

/* ---------- Page portfolio d'une pièce — la vidéo + le cartel ---------- */
.oeuvre { display: grid; grid-template-columns: 1.55fr 0.85fr; gap: clamp(28px,4vw,60px); max-width: var(--maxw); margin: 0 auto; align-items: start; }
.oeuvre__media { min-width: 0; }
.oeuvre__media .video-embed, .oeuvre__media .detail-shot, .oeuvre__media .gallery { max-width: none; margin: 0; }
.oeuvre__media .gallery { grid-template-columns: 1fr; }
.cartel {
  position: sticky; top: clamp(84px,12vh,104px);
  background: linear-gradient(158deg, var(--plaque-a), var(--plaque-b));
  border: 1px solid var(--line); border-radius: 2px;
  padding: clamp(26px,2.2vw,38px);
  box-shadow: 0 22px 42px -26px rgba(53,48,42,0.4);
}
.cartel .eyebrow { margin-bottom: 4px; }
.cartel__meta { margin: 18px 0 0; }
.cartel__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(53,48,42,0.12); font-family: var(--lapidaire); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.cartel__row dt { color: var(--muted); margin: 0; }
.cartel__row dd { color: var(--terracotta); margin: 0; text-align: right; font-weight: 500; }
.cartel__row dd a { color: var(--terracotta); border-bottom: 1px solid transparent; transition: border-color .2s; }
.cartel__row dd a:hover { border-color: var(--terracotta); }
.cartel__notice { font-family: var(--garamond); font-style: italic; font-size: 15px; color: var(--encre); line-height: 1.62; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(53,48,42,0.12); }
.cartel__link { margin: 18px 0 0; }
.cartel__link a { font-family: var(--lapidaire); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta); border-bottom: 1px solid var(--terracotta); padding-bottom: 2px; }
@media (max-width: 860px) {
  .oeuvre { grid-template-columns: 1fr; }
  .cartel { position: static; }
}

/* carte catégorie : label + compteur sous l'image */
.catcard__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.catcard__label { font-family: var(--lapidaire); font-size: clamp(15px, 1.5vw, 19px); letter-spacing: 0.04em; text-transform: uppercase; color: var(--pierre); }
.catcard:hover .catcard__label { color: var(--terracotta); transition: color 0.2s; }
.catcard__n { font-family: var(--garamond); font-style: italic; font-size: 15px; color: var(--terracotta); flex: 0 0 auto; }

/* liste d'usages — l'inscription lapidaire : une dédicace gravée entre deux filets.
   Traitement arrêté le 28/07/2026 (option B de la maquette). Concerne les pages servies par
   inc/service.php SANS bloc 'formes', soit drone et livestream seulement. La page location
   est sur mesure et n'utilise plus ce gabarit. */
.taglist {
  list-style: none; max-width: 900px; margin: 0 auto; text-align: center;
  padding: clamp(28px, 4vh, 44px) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.taglist li {
  font-family: var(--lapidaire); font-weight: 500;
  font-size: clamp(15px, 1.7vw, 22px); letter-spacing: 0.16em; text-transform: uppercase;
  line-height: 2.1; color: var(--pierre);
}
.taglist li + li { border-top: 1px solid rgba(53, 48, 42, 0.07); }

/* ============================================================
   ATELIER SINOPIA — page Prestations
   Le dessin préparatoire à la sanguine sur l'enduit frais :
   la grille des prestations + la section « méthode ».
   ============================================================ */
.atelier {
  --sang: #a8461c;                     /* sanguine de Sinope — 4,9:1 sur l'enduit (AA) */
  --sang-pale: rgba(168, 70, 28, 0.42);
  position: relative; overflow: hidden;
  background: #f2e8d9;                  /* enduit frais */
}
.atelier::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55; z-index: 0;
  background:
    radial-gradient(ellipse 65% 45% at 82% 5%, rgba(255, 250, 240, 0.65), transparent 62%),
    radial-gradient(ellipse 55% 50% at 12% 96%, rgba(214, 190, 160, 0.28), transparent 62%);
}
.atelier > * { position: relative; z-index: 1; }

.atelier__head { max-width: var(--maxw); margin: 0 auto; }
.atelier__eyebrow { color: var(--sang); }
.atelier__eyebrow .eyebrow__fr { color: rgba(94, 60, 40, 0.7); }
.atelier__title { color: var(--sang); text-shadow: none; }
.atelier__title em { font-style: normal; color: var(--encre); }
.atelier__note {
  font-family: var(--garamond); font-style: italic; font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(94, 60, 40, 0.78); max-width: 60ch; margin: 18px 0 0;
}

/* filet « tracé du jour » — pointillé de compas */
.atelier__regle {
  display: flex; align-items: center; gap: 12px;
  max-width: var(--maxw); margin: 30px auto 36px;
  color: var(--sang-pale); font-family: var(--garamond); font-style: italic; font-size: 12.5px;
}
.atelier__regle::before, .atelier__regle::after {
  content: ""; height: 1px; flex: 1;
  background: repeating-linear-gradient(to right, var(--sang-pale) 0 6px, transparent 6px 11px);
}

/* le mur d'études */
.etudes {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 30px);
}
/* Le mur se lit en trois colonnes. Depuis l'ajout de la 10e etude le 04/08/2026,
   la derniere rangee n'en portait plus qu'une, seule a gauche : quand ce cas se
   presente, elle prend toute la largeur. La regle ne se declenche pas autrement. */
.etudes .etude:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
.atelier--poles .etudes { margin-top: clamp(26px, 3.4vw, 44px); } /* 2e groupe (renvois) : plus d'air sous l'intro */
.etude {
  position: relative; display: block; min-height: 230px;
  padding: 62px 24px 22px; cursor: pointer;
  border: 1px dashed var(--sang-pale); border-radius: 2px;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.etude::before { /* lignes de construction du dessin préparatoire */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.32;
  background:
    linear-gradient(to bottom, transparent calc(50% - 0.5px), var(--sang-pale) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to right, transparent calc(50% - 0.5px), var(--sang-pale) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(26deg, transparent 49.7%, var(--sang-pale) 50%, transparent 50.3%);
  transition: opacity 0.4s var(--ease);
}
.etude:hover, .etude:focus-visible { background: rgba(255, 252, 246, 0.72); box-shadow: 0 22px 40px -24px rgba(94, 60, 40, 0.45); }
.etude:hover::before, .etude:focus-visible::before { opacity: 0.14; }
.etude__compas {
  position: absolute; top: 16px; right: 16px; width: 56px; height: 56px; border-radius: 50%;
  border: 1px dashed var(--sang); display: flex; align-items: center; justify-content: center;
  font-family: var(--lapidaire); font-size: 15px; letter-spacing: 0.08em; color: var(--sang);
}
.etude__compas::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px solid var(--sang-pale); }
.etude__cote {
  position: absolute; top: 24px; left: 22px; right: 92px;
  border-top: 1px solid var(--sang-pale); padding-top: 3px;
  font-family: var(--garamond); font-style: italic; font-size: 11.5px; color: var(--sang);
}
.etude__cote::before, .etude__cote::after { content: ""; position: absolute; top: -4px; width: 1px; height: 8px; background: var(--sang-pale); }
.etude__cote::before { left: 0; }
.etude__cote::after { right: 0; }
.etude__lat { display: block; font-family: var(--lapidaire); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--sang); }
.etude__t {
  font-family: var(--lapidaire); font-size: clamp(19px, 1.8vw, 25px); letter-spacing: 0.05em;
  text-transform: none; color: var(--sang); margin: 10px 0 8px; transition: color 0.35s var(--ease);
}
.etude:hover .etude__t, .etude:focus-visible .etude__t { color: var(--encre); }
.etude__d { display: block; font-family: var(--garamond); font-style: italic; font-size: 14.5px; color: rgba(94, 60, 40, 0.75); }
.etude__annot { display: block; margin-top: 14px; font-family: var(--garamond); font-style: italic; font-size: 12.5px; color: var(--sang); }
.etude__annot::before { content: "— "; }

/* section méthode dans l'atelier : liens et texte passent en sanguine */
.atelier .lede { color: var(--encre); }
.atelier .tlink { color: var(--sang); border-bottom-color: rgba(168, 70, 28, 0.35); }
.atelier .tlink:hover { border-bottom-color: var(--sang); }

/* ============================================================
   MOSAÏQUE — page Réalisations
   Opus tessellatum : bento de vignettes à tesselles inégales,
   emblema signature au centre du pavement.
   ============================================================ */
.mosaique__eb { max-width: var(--maxw); margin: 0 auto clamp(26px, 4vh, 44px); text-align: center; }
.mosaique {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(118px, 14.5vw, 168px);
  gap: clamp(10px, 1.2vw, 16px);
}
/* joints de mosaïque : bordure en tesselles alternées */
.mtile, .memblema {
  border: 8px solid transparent;
  border-image: repeating-linear-gradient(45deg, #cbbfa8 0 7px, #b8ab90 7px 14px, #ddd3bd 14px 21px, #c4b79c 21px 28px) 8;
  box-shadow: 0 16px 30px -18px rgba(53, 48, 42, 0.55);
  border-radius: 1px;
}
.mtile {
  position: relative; display: block; overflow: hidden; cursor: pointer;
  background: var(--marbre-2);
}
.mtile__img { position: absolute; inset: 0; }
.mtile__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform 1s var(--ease); }
.mtile:hover .mtile__img img { transform: scale(1.06); }
.mtile__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 15, 11, 0.86) 0%, rgba(18, 15, 11, 0.34) 44%, rgba(18, 15, 11, 0.02) 72%); }
.mtile__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 18px 15px; }
.mtile__kind { display: block; font-family: var(--lapidaire); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta-hi); }
.mtile__label { display: block; font-family: var(--lapidaire); font-size: clamp(15px, 1.6vw, 22px); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ivoire); margin-top: 5px; transition: color 0.25s var(--ease); }
.mtile:hover .mtile__label { color: var(--terracotta-hi); }
.mtile__n { display: block; font-family: var(--garamond); font-style: italic; font-size: 13px; color: rgba(240, 234, 216, 0.82); margin-top: 3px; }

/* Échelle graduée des prix (guides) */
.echelle { max-width: 920px; margin: clamp(34px,5vh,54px) auto 0; }
.echelle__bar { position: relative; padding-top: 54px; }
.echelle__end { position: absolute; top: 0; font-family: var(--lapidaire); font-weight: 500; font-size: clamp(22px,2.6vw,34px); color: var(--pierre); line-height: 1; }
.echelle__end--lo { left: 0; }
.echelle__end--hi { right: 0; text-align: right; }
.echelle__end small { display: block; font-family: var(--garamond); font-style: italic; font-size: 13px; letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.echelle__scale { position: relative; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #d8c9a8, var(--terracotta)); box-shadow: inset 0 1px 3px rgba(53,48,42,0.3); }
.echelle__ticks { position: absolute; inset: 0; }
.echelle__tick { position: absolute; top: -4px; width: 2px; height: 20px; background: rgba(53,48,42,0.4); transform: translateX(-50%); }
.echelle__factors { display: flex; justify-content: space-between; margin-top: 32px; gap: 8px; }
.echelle__factor { flex: 1; text-align: center; }
.echelle__factor b { display: block; font-family: var(--lapidaire); font-size: 12px; letter-spacing: 0.02em; color: var(--terracotta); }
.echelle__factor span { display: block; font-family: var(--garamond); font-style: italic; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
@media (max-width: 640px) {
  .echelle__factors { flex-wrap: wrap; justify-content: center; gap: 16px 22px; }
  .echelle__factor { flex: 0 0 auto; }
  .echelle__end small { display: none; }
}

/* Jalons de seuil — frise des marchés publics (guides) */
.jalons { max-width: 820px; margin: clamp(40px, 6vh, 72px) auto 0; }
.jal__track { position: relative; height: 3px; background: linear-gradient(90deg, rgba(53,48,42,0.35), rgba(53,48,42,0.12)); margin: 64px 6px 0; }
.jal__stop { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 15px; height: 15px; border-radius: 50%; background: var(--marbre); border: 2px solid var(--pierre); }
.jal__stop.is-hi { background: var(--terracotta); border-color: var(--terracotta); width: 19px; height: 19px; box-shadow: 0 0 0 5px rgba(194,90,30,0.14); }
.jal__stop b { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--lapidaire); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pierre); font-weight: 500; }
.jal__stop i { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: italic; font-size: 14px; color: var(--muted); }
.jal__legend { display: flex; gap: 34px; margin-top: 78px; flex-wrap: wrap; }
.jal__leg { flex: 1; min-width: 190px; }
.jal__leg h4 { font-family: var(--lapidaire); font-size: 13px; letter-spacing: 0.16em; color: var(--terracotta); margin: 0 0 6px; font-weight: 500; }
.jal__leg p { margin: 0; font-size: 15.5px; color: var(--muted); }
@media (max-width: 640px) {
  .jal__track { margin-top: 54px; }
  .jal__stop--start b, .jal__stop--start i { left: 0; transform: translateX(0); }
  .jal__stop--end b, .jal__stop--end i { left: auto; right: 0; transform: translateX(0); }
  .jal__stop b { font-size: 11px; }
  .jal__stop i { font-size: 13px; }
  .jal__legend { gap: 24px; margin-top: 64px; }
  .jal__leg { min-width: 100%; }
}

/* Coût par an — le grand chiffre (guides) */
.bilan { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: var(--maxw); margin: clamp(30px, 5vh, 54px) auto 0; }
.bilan__num { position: relative; font-family: var(--lapidaire); font-weight: 600; font-size: clamp(80px, 15vw, 190px); line-height: 0.82; color: var(--pierre); text-shadow: 0 2px 0 rgba(255,255,255,0.7), 0 -1px 2px rgba(53,48,42,0.28); white-space: nowrap; }
.bilan__num small { display: block; font-size: 0.2em; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta); margin-top: 10px; font-weight: 500; }
.bilan__side h3 { font-family: var(--lapidaire); font-weight: 500; font-size: clamp(18px, 1.8vw, 24px); text-transform: none; letter-spacing: 0.02em; color: var(--pierre); margin: 0 0 12px; line-height: 1.22; }
.bilan__side p { margin: 0; color: var(--muted); max-width: 46ch; }
.bilan__break { display: flex; gap: 14px; margin: 20px 0 0; flex-wrap: wrap; }
.bilan__chip { font-family: var(--lapidaire); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 7px 16px; }
.bilan__chip b { color: var(--terracotta); font-weight: 500; }
@media (max-width: 760px) { .bilan { grid-template-columns: 1fr; gap: 24px; } .bilan__num { font-size: clamp(72px, 22vw, 120px); } }

/* Cadre légal — le cachet officiel (guides) */
.lex-cachet { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(28px,5vw,70px); align-items: center; max-width: 1000px; margin: 0 auto; }
.lex-seal { position: relative; width: clamp(160px,20vw,210px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; border: 2px solid rgba(168,60,20,0.5); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(-7deg); color: var(--terracotta); }
.lex-seal::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 1px solid rgba(168,60,20,0.4); }
.lex-seal b { font-family: var(--lapidaire); font-weight: 500; font-size: clamp(22px,2.4vw,28px); letter-spacing: 0.04em; }
.lex-seal span { font-family: var(--lapidaire); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 5px; color: rgba(168,60,20,0.8); }
.lex-seal i { font-family: var(--garamond); font-style: italic; font-size: 11px; color: var(--muted); margin-top: 8px; max-width: 72%; }
.lex-cachet__t { font-family: var(--lapidaire); font-weight: 500; font-size: clamp(17px,1.7vw,22px); letter-spacing: 0.02em; text-transform: none; color: var(--pierre); margin: 0 0 14px; }
.lex-cachet__txt p { font-family: var(--garamond); font-size: 16px; line-height: 1.62; color: var(--encre); margin: 0 0 14px; }
.lex-cachet__obl { font-size: 15px; color: var(--muted); }
.lex-cachet__obl b { color: var(--terracotta); font-weight: 500; font-family: var(--lapidaire); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 760px) { .lex-cachet { grid-template-columns: 1fr; } }

/* ============================================================
   Palette de mises en page des guides (validée 23/07/2026) :
   .diptyque (opposition deux volets) · .exergue (règle gravée)
   .marge (prose annotée en manchettes) · .vidi (voix de l'auteur)
   ============================================================ */

/* Diptyque : deux plaques face à face (opposition eux/vous, avant/après) */
.diptyque { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 30px); max-width: 1000px; margin: 28px auto 0; }
.diptyque__volet { background: var(--plaque-a); border: 1px solid var(--line); border-top: 3px solid var(--pierre); border-radius: 2px; padding: clamp(20px, 3vh, 30px) clamp(20px, 2.5vw, 30px); box-shadow: 0 20px 40px -32px rgba(53, 48, 42, 0.5); }
.diptyque__volet--accent { border-top-color: var(--terracotta); }
.diptyque__t { font-family: var(--lapidaire); font-weight: 500; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pierre); margin: 0 0 4px; }
.diptyque__v { font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.diptyque__volet--accent .diptyque__v { color: var(--terracotta); }
.diptyque__d { font-family: var(--garamond); font-size: 16px; line-height: 1.62; color: var(--encre); margin: 0; }
.diptyque__liste { list-style: none; margin: 14px 0 0; padding: 0; }
.diptyque__liste li { padding: 12px 0; border-top: 1px solid rgba(53, 48, 42, 0.12); }
.diptyque__liste b { display: block; font-family: var(--lapidaire); font-weight: 500; font-size: 13.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--pierre); }
.diptyque__liste span { display: block; font-family: var(--garamond); font-size: 15.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
@media (max-width: 700px) { .diptyque { grid-template-columns: 1fr; } }

/* Exergue : la règle clé gravée entre deux filets, façon épigraphe */
.exergue { max-width: 860px; margin: clamp(30px, 5vh, 50px) auto; text-align: center; padding: clamp(26px, 4vh, 40px) 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.exergue::before, .exergue::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 54px; height: 3px; background: var(--terracotta); }
.exergue::before { top: -2px; }
.exergue::after { bottom: -2px; }
.exergue b { font-family: var(--lapidaire); font-weight: 500; font-size: clamp(19px, 2.6vw, 28px); letter-spacing: 0.1em; text-transform: uppercase; color: var(--pierre); line-height: 1.4; }
.exergue i { display: block; font-family: var(--garamond); font-style: italic; font-size: 15px; color: var(--muted); margin-top: 12px; }

/* Notes en marge : prose annotée, manchettes terracotta dans la marge */
.marge { max-width: 900px; margin: clamp(28px, 4vh, 46px) auto 0; display: grid; grid-template-columns: 168px 1fr; gap: clamp(20px, 3.5vw, 46px); row-gap: clamp(24px, 3.5vh, 38px); }
.marge__n { text-align: right; padding-top: 5px; border-right: 2px solid rgba(194, 90, 30, 0.4); padding-right: clamp(14px, 2vw, 22px); }
.marge__n b { display: block; font-family: var(--lapidaire); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); }
.marge__n i { display: block; font-family: var(--garamond); font-style: italic; font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.marge__t { font-family: var(--garamond); font-size: clamp(16px, 1.35vw, 17.5px); line-height: 1.65; color: var(--encre); margin: 0; }
@media (max-width: 640px) { .marge { grid-template-columns: 1fr; row-gap: 8px; } .marge__n { text-align: left; border-right: 0; border-left: 2px solid rgba(194, 90, 30, 0.4); padding: 0 0 0 14px; margin-top: 18px; } }

/* Bloc Casus : les études de cas et les récits des fiches réalisation. Variante de .marge,
   et NON une modification de .marge, qui sert aussi aux 13 pages de /guides/.
   Trois écarts, mesurés au navigateur le 13/08/2026 sur la fiche DeWalt :
     · le texte tenait 92 caractères par ligne, la lisibilité en demande 65 à 75 ;
     · les manchettes étaient des <b>, donc aucun titre intermédiaire pour un lecteur
       d'écran ni pour une machine à réponse (la page n'avait que son h1 et deux h2) ;
     · les crédits fermaient le récit au même rang que la difficulté, d'où le cartouche. */
.marge--casus .marge__t { max-width: 64ch; }
.marge__n h3 { display: block; font-family: var(--lapidaire); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); margin: 0; }
.cartouche { max-width: 900px; margin: clamp(24px, 3.5vh, 34px) auto 0; padding-top: 20px; border-top: 1px solid rgba(109, 101, 88, 0.25); }
.cartouche__lab { font-family: var(--lapidaire); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.cartouche__txt { font-family: var(--garamond); font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 64ch; }
.cartouche__txt b { font-weight: 500; color: var(--pierre); }
/* 14,5 px est trop petit sur un téléphone, mesuré à 375 px. */
@media (max-width: 640px) { .cartouche__txt { font-size: 15.5px; } }

/* Vidi — la voix de l'auteur : passages où Nicolas témoigne en première personne (guides) */
.vidi { position: relative; max-width: 860px; margin: clamp(26px, 4vh, 44px) auto 0; padding: clamp(20px, 3vh, 30px) clamp(22px, 3vw, 36px); background: var(--plaque-a); border: 1px solid var(--line); border-radius: 2px; box-shadow: 0 18px 40px -30px rgba(53, 48, 42, 0.4); }
.vidi::before { content: ""; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 3px; background: var(--terracotta); border-radius: 0 2px 2px 0; }
.vidi__txt p { font-family: var(--garamond); font-size: clamp(16px, 1.35vw, 18px); line-height: 1.65; color: var(--encre); margin: 0 0 14px; }
.vidi__txt p:last-child { margin-bottom: 0; }
.vidi__sig { font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 16px 0 0; }
.vidi__sig b { color: var(--pierre); font-weight: 500; }

/* ---------- Prestation : objections en salle noire (voix immersive) ---------- */
.voix-noir { position: relative; overflow: hidden; background: var(--salle); }
.voix-noir::before { content: ""; position: absolute; left: 50%; bottom: -12%; width: 130%; height: 92%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 100%, rgba(229,138,69,0.15), transparent 62%); pointer-events: none; z-index: 0; }
.voix-noir > * { position: relative; z-index: 1; }
.voix-noir .eyebrow { color: var(--terracotta-hi); }
.voix-noir .section__title { color: var(--ivoire); text-shadow: none; }
.voix-noir .section__title em { color: var(--terracotta-hi); }
.voix-noir__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(30px,5vw,72px); align-items: start; }
.voix-noir .prose { max-width: none; margin: 0; }
@media (max-width: 860px) { .voix-noir__grid { grid-template-columns: 1fr; } }
.voix-noir__txt { max-width: none; margin: 0; }
.voix-noir__txt p { font-family: var(--garamond); font-size: clamp(16px,1.4vw,18.5px); line-height: 1.68; color: var(--ivoire-soft); margin: 0 0 16px; }
.voix-noir__sig { font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivoire-soft); margin-top: 20px; }
.voix-noir__sig b { color: var(--ivoire); font-weight: 500; }
.voix-noir__dlg { max-width: none; margin: 0; }
.voix-noir__q { font-family: var(--garamond); font-style: italic; font-size: clamp(18px,1.8vw,22px); color: var(--terracotta-hi); margin: 26px 0 0; }
.voix-noir__dlg .voix-noir__q:first-child { margin-top: 0; }
.voix-noir__a { font-family: var(--garamond); font-size: clamp(16px,1.4vw,18px); line-height: 1.66; color: var(--ivoire-soft); margin: 8px 0 0; }

/* ---------- Prestation : preuve en duo (vignette + texte) ---------- */
.preuve-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,54px); align-items: center; max-width: var(--maxw); margin: clamp(26px,4vh,44px) auto 0; }
.preuve-duo .pcard { margin: 0; }
.preuve-duo__txt p { margin: 0; }
@media (max-width: 760px) { .preuve-duo { grid-template-columns: 1fr; } }

/* ---------- Page métier : les formes de prestation (diptyque alterné) ----------
   Une forme = une section : le geste en quelques lignes, l'exemple vedette, une
   seule sortie vers la page catégorie de /realisations/ qui possède le générique.
   Le titre d'une forme ne porte JAMAIS la ville : c'est ce qui l'empêche de
   concurrencer la page catégorie. Cf. [[vvf-doctrine-pages-prestations]]. */
.formes { max-width: var(--maxw); margin: 0 auto; }
.forme { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); align-items: center; }
.forme + .forme { margin-top: clamp(48px,7vh,90px); padding-top: clamp(48px,7vh,90px); border-top: 1px solid var(--line); }
.forme--inv .forme__txt { order: 2; }
.forme--inv .forme__img { order: 1; }
.forme__t { font-size: clamp(21px,2.1vw,29px); }
/* 14/08/2026 : le prix d'entrée d'une forme, demandé par Nicolas pour que le « à partir de »
   vive à côté de chaque catégorie. Même famille visuelle que .offre__prix (lapidaire,
   terracotta, libellé en garamond italique gris) mais plus petit : une forme DÉCRIT et
   annonce son ticket, elle ne se commande pas comme une offre. */
.forme__prix { margin: 10px 0 0; font-family: var(--lapidaire); font-size: clamp(19px,1.9vw,22px); line-height: 1.15; letter-spacing: .01em; color: var(--terracotta); }
.forme__prix-lab { font-family: var(--garamond); font-size: 13.5px; font-style: italic; letter-spacing: 0; color: var(--muted-aa); }
.forme__p { margin: 16px 0 0; max-width: 50ch; }
/* 14/08/2026 : les livrables d'une forme. Même grammaire que .offre__liv (le « + » terracotta
   en puce), mais posés dans une carte de forme, qui n'est pas une grille en subgrid : marge
   propre et largeur alignée sur celle du paragraphe au-dessus. */
.forme__liv { list-style: none; margin: 16px 0 0; padding: 0; max-width: 50ch; display: flex; flex-direction: column; gap: 5px; font-size: 15px; }
.forme__liv li { display: flex; gap: 9px; align-items: baseline; color: var(--encre); }
.forme__liv li::before { content: "+"; flex: none; font-family: var(--lapidaire); font-size: 13px; font-weight: 600; color: var(--terracotta); }
/* 14/08/2026 : la ligne qui suit les formes et renvoie au portfolio. Centrée sous les
   diptyques, en garamond italique comme les autres lignes de liaison du site. */
.formes__suite { max-width: 62ch; margin: clamp(26px,3.4vh,40px) auto 0; text-align: center; font-family: var(--garamond); font-style: italic; font-size: clamp(15.5px,1.5vw,17px); line-height: 1.6; color: var(--muted-aa); }
.formes__suite a { font-style: normal; color: var(--terracotta); border-bottom: 1px solid rgba(194,90,30,0.35); transition: border-color .2s; }
.formes__suite a:hover { border-color: var(--terracotta); }
/* 14/08/2026 : la galerie de preuve (fente 'galerie' de inc/service.php), née de l'analyse
   SXO qui a chiffré le seul vrai déficit de /prestations/photographe/ : 4 images quand les
   concurrents en montrent 10 à 18. Grille de 4 colonnes qui tombe à 3, 2 puis 2 ; une image
   en portrait occupe deux rangées pour que la mosaïque ne laisse pas de trou. Pas de lien,
   pas de légende visible : la preuve se regarde. L'alt porte le texte, pour l'accessibilité
   et pour Google Images, qui est un canal réel sur les requêtes de photographe. */
/* La hauteur de rangée est FIXE et non 1fr : dans une grille sans hauteur propre, 1fr se
   résout en auto et chaque rangée prend la taille de son image, ce qui casse la mosaïque
   dès qu'un portrait s'y glisse. */
.sgal { max-width: var(--maxw); margin: clamp(28px,4vh,48px) auto 0; padding: 0 clamp(16px,4vw,40px); display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(112px,12vw,190px); gap: clamp(8px,1vw,14px); }
.sgal__c { margin: 0; overflow: hidden; background: rgba(0,0,0,.04); border-radius: 2px; }
.sgal__c--h { grid-row: span 2; }
.sgal__c img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sgal__c:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .sgal { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .sgal { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .sgal__c img, .sgal__c:hover img { transition: none; transform: none; } }
.forme__sortie {
  display: inline-block; margin-top: 20px;
  font-family: var(--garamond); font-style: italic; font-size: clamp(17px,1.4vw,20px);
  color: var(--terracotta); border-bottom: 1px solid rgba(194,90,30,.35); padding-bottom: 1px;
  transition: border-color .3s ease;
}
.forme:hover .forme__sortie { border-color: var(--terracotta); }
/* la légende de l'exemple : le cas NOMMÉ, sous la vignette.
   NE PAS nommer .cartel : cette classe est déjà prise par le cartel sticky des pages portfolio. */
.forme__ex { display: block; margin: 14px 0 0; }
.forme__ex-lab { display: block; font-family: var(--lapidaire); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.forme__ex-nom { display: block; font-family: var(--lapidaire); font-size: 14px; letter-spacing: .03em; color: var(--pierre); margin-top: 5px; line-height: 1.45; }
.forme:hover .forme__ex-nom { color: var(--terracotta); transition: color .2s; }
.forme__ex-dit { display: block; margin-top: 7px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) {
  .forme { grid-template-columns: 1fr; gap: 26px; }
  .forme--inv .forme__txt, .forme--inv .forme__img { order: 0; }
}

/* ---------- Les offres : trois produits fermés en escalier ----------
   Écrit le 13/08/2026 pour /prestations/spectacle-danse/, activé par le champ 'offres'.
   Là où .forme DÉCRIT un geste, .offre se COMMANDE : elle porte un prix, un délai et
   son propre bouton.

   Le principe de mise en page, et il n'est pas décoratif : les trois cartes partagent
   une grille commune (subgrid), donc nom, prix, livrables, faits et bouton se comparent
   à l'horizontale. Ce qu'on vient faire ici est comparer trois prix, et un décalage
   par le haut le rendait impossible. L'escalier repart donc du BAS, par un socle. */
.escalier { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 26px; }
.offre { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: 3px; background: linear-gradient(175deg, var(--plaque-a), var(--plaque-b)); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 24px -18px rgba(53,48,42,.5); }

.offres__trans { max-width: 60ch; margin: 14px 0 0; font-size: clamp(16px,1.5vw,18px); line-height: 1.6; color: var(--muted-aa); }
.offre__num { font-family: var(--lapidaire); font-size: 13px; letter-spacing: .22em; color: var(--terracotta); line-height: 1; margin: 0; }
.offre__t { font-family: var(--lapidaire); font-size: clamp(19px,2vw,23px); font-weight: 500; line-height: 1.22; color: var(--pierre); margin: 0; }
/* Flux inline VOLONTAIRE, pas flex : en flex l'espace entre le libellé et le montant est
   avalée et un lecteur d'écran annonce « à partir de650 euros ». */
.offre__prix { margin: 0; font-family: var(--lapidaire); font-size: clamp(25px,2.6vw,30px); line-height: 1.15; letter-spacing: .01em; color: var(--terracotta); }
.offre__prix-lab { font-family: var(--garamond); font-size: 14px; font-style: italic; letter-spacing: 0; color: var(--muted-aa); }
/* Le HT sous le TTC, et le second palier de durée. Tous deux enfants du paragraphe du
   prix et non frères de .offre : le subgrid de .offre compte ses rangées, un élément de
   plus dans une seule carte désalignerait les trois. */
.offre__prix-ht { display: block; margin-top: 3px; font-family: var(--lapidaire); font-size: 12.5px; letter-spacing: .08em; color: var(--muted-aa); }
.offre__prix-palier { display: block; margin-top: 9px; font-family: var(--garamond); font-size: 14px; font-style: italic; letter-spacing: 0; line-height: 1.45; color: var(--muted-aa); }
.offre__promesse { margin: 0; font-style: italic; font-size: 17px; line-height: 1.4; color: var(--terracotta); }
.offre__p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--encre); }

/* La pile cumulative. L'hérité et le neuf se distinguent par la FORME de la puce
   (· contre +) et par un texte en sr-only, jamais par la seule couleur. */
.offre__liv { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 15px; }
.offre__liv li { display: flex; gap: 9px; align-items: baseline; color: var(--encre); }
.offre__liv li::before { content: "+"; flex: none; font-family: var(--lapidaire); font-size: 13px; font-weight: 600; color: var(--terracotta); }
.offre__liv .repris { color: var(--muted-aa); }
.offre__liv .repris::before { content: "·"; font-size: 15px; color: var(--muted); }

.offre__faits { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; align-items: baseline; font-size: 14.5px; }
.offre__faits dt { color: var(--muted-aa); white-space: nowrap; }
.offre__faits dd { margin: 0; color: var(--encre); }

/* .btn porte une marge haute faite pour une fin de section : on la neutralise. */
.offre__cta { margin-top: 4px; width: 100%; text-align: center; }

.offre__preuve { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; text-decoration: none; }
.offre__preuve-img { width: 88px; height: 59px; flex: none; object-fit: cover; border-radius: 2px; filter: saturate(.92); }
.offre__preuve-txt { font-size: 13.5px; line-height: 1.35; }
.offre__preuve-lab { display: block; font-family: var(--lapidaire); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-aa); margin-bottom: 3px; }
.offre__preuve-nom { display: block; font-weight: 600; color: var(--pierre); }
.offre__preuve:hover .offre__preuve-nom { color: var(--terracotta); transition: color .2s; }
.offre__preuve-dit { display: block; color: var(--muted-aa); }

/* --- L'ancre : le sur-mesure, sans plancher affiché --- */
.ancre { max-width: var(--maxw); margin: 34px auto 0; }
.ancre__in { background: var(--salle); color: var(--ivoire); border-radius: 3px; padding: 30px clamp(24px,4vw,44px); display: grid; gap: 14px; }
.ancre__num { font-family: var(--lapidaire); font-size: 13px; letter-spacing: .22em; color: var(--terracotta-hi); margin: 0 0 8px; }
.ancre__t { font-family: var(--lapidaire); font-size: clamp(21px,2.4vw,27px); font-weight: 500; color: var(--ivoire); margin: 0 0 10px; }
.ancre__p { margin: 0; max-width: 62ch; font-size: 17px; line-height: 1.6; color: var(--ivoire-soft); }
.ancre__cta { margin-top: 0; justify-self: start; }
@media (min-width: 820px) { .ancre__in { grid-template-columns: 1fr auto; align-items: center; gap: 34px; } }

/* --- Trois colonnes, l'alignement et l'escalier --- */
@media (min-width: 901px) {
  /* num · titre · prix · promesse · texte · livrables · faits · bouton · preuve */
  .escalier { grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(9,auto); }
  /* Deux offres dans une grille de trois laissaient une colonne vide, comme les avis. */
  .escalier--2 { grid-template-columns: repeat(2,1fr); }
  .offre { display: grid; grid-row: span 9; grid-template-rows: subgrid; gap: 0; }
  .offre > * + * { margin-top: 14px; }
  /* Sélecteur doublé À DESSEIN : .offre__preuve{margin-top:auto} est déclaré plus haut et
     gagnerait à égalité de spécificité. Avec auto, la preuve se colle au bas de sa ligne,
     donc la plus haute des trois remonte et casse l'alignement. */
  .offre .offre__preuve { margin-top: 16px; align-self: start; }
  .offre__cta { margin-top: 14px; }

  /* Le socle : prolonge la carte vers le bas, d'un cran par palier. Fond plein en
     --plaque-b, la couleur où finit le dégradé de la carte, donc la jonction ne se voit
     pas. Une carte en subgrid ne peut pas s'allonger seule sans emmener ses voisines,
     d'où le ::after. */
  .offre--ii, .offre--iii { border-bottom-color: transparent; border-radius: 3px 3px 0 0; }
  .offre--ii::after, .offre--iii::after { content: ""; position: absolute; top: 100%; left: -1px; right: -1px; background: var(--plaque-b); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 3px 3px; box-shadow: 0 10px 24px -18px rgba(53,48,42,.5); }
  .offre--ii::after { height: 32px; }
  .offre--iii::after { height: 64px; }

  /* L'étage du milieu porte un filet. Aucun libellé du type « le plus demandé » :
     ces produits n'ont jamais été vendus, la donnée n'existe pas. */
  .offre--ii { border-top: 2px solid var(--terracotta); }

  /* La quatrième marche. Les socles sont en position absolue et ne réservent aucune
     place : sans cette marge, celui de III passerait derrière le bloc noir. */
  .ancre { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: calc(64px + 42px); }
  .ancre__in { grid-column: 2 / -1; }
}

/* L'exemple posé dans l'ancre : un seul lien, pas une carte, la preuve d'un cas
   qui n'entre dans aucun des trois produits. */
.ancre__ex { display: inline-block; margin-top: 16px; font-size: 14.5px; line-height: 1.5; color: var(--ivoire-soft); text-decoration: none; border-bottom: 1px solid rgba(240,234,216,.28); padding-bottom: 2px; }
.ancre__ex:hover { color: var(--terracotta-hi); border-bottom-color: var(--terracotta-hi); }
.ancre__ex-lab { font-family: var(--lapidaire); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ancre__ex-nom { font-family: var(--lapidaire); font-size: 13px; letter-spacing: .03em; color: var(--ivoire); }

/* ---------- La citation, motif .m6-cit ----------
   DÉPLACÉ ICI le 13/08/2026 depuis le heredoc $extra_css de index.php, à l'identique.
   Il servait au seul défilé de l'accueil ; /prestations/spectacle-danse/ l'emploie
   maintenant en bloc statique, et deux définitions du « style de l'accueil » finiraient
   par diverger. Le défilé lui-même (.m6-piste, .m6-ruban, l'animation) reste dans
   index.php : il n'appartient qu'à l'accueil.

   ATTENTION en comparant avec l'ancien code : dans le heredoc les échappements
   s'écrivaient \\00AB, ici ils s'écrivent \00AB. Un copier-coller littéral afficherait
   une barre oblique à la place du guillemet.

   La couleur du guillemet est rgba(194,90,30,.3), soit l'ANCIEN terracotta #c25a1e
   d'avant l'assombrissement du 07/08. Reprise telle quelle, pas corrigée : à 30 %
   d'opacité c'est un décor, et le corriger dépasserait la demande. */
.m6-cit { flex: 0 0 auto; max-width: 560px; display: flex; gap: 18px; align-items: flex-start; margin: 0; }
.m6-cit__g { font-family: var(--lapidaire); font-size: 46px; line-height: 0.7; color: rgba(194,90,30,0.3); }
.m6-cit__q { font-family: var(--garamond); font-style: italic; font-size: clamp(16px,1.5vw,19.5px); line-height: 1.6; color: var(--encre); margin: 0; }
.m6-cit__q::before { content: "\00AB\00A0"; }
.m6-cit__q::after { content: "\00A0\00BB"; }
.m6-cit__by { margin: 14px 0 0; font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-aa); }
.m6-cit__by b { font-weight: 500; font-size: 12.5px; letter-spacing: 0.07em; color: var(--terracotta); }
.m6-cit__by span::before { content: " · "; color: var(--line); }
.m6-cit__by i { display: inline-block; font-style: normal; font-size: 9.5px; letter-spacing: 0.16em; color: var(--muted-aa); border: 1px solid var(--line); padding: 3px 8px; margin-left: 10px; vertical-align: 1px; }

/* ---------- Les avis d'une page prestation ----------
   Le seul rôle de ce bloc est de POSER les citations en trois colonnes fixes. Pas de
   défilé : un ruban se justifie pour les sept avis de l'accueil qui tournent, pas pour
   trois qu'on lit d'un coup, et quatre éléments ne bouclent pas proprement.
   .m6-cit plafonne à 560 px, ce qui est plus large qu'une colonne : on le relâche. */
.avis { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 30px; }
.avis .m6-cit { max-width: none; }
@media (min-width: 901px) {
  .avis { grid-template-columns: repeat(3,1fr); gap: clamp(30px,4vw,58px); }
  /* Deux avis dans une grille de trois laissaient une colonne vide à droite. */
  .avis--2 { grid-template-columns: repeat(2,1fr); }
  /* Les trois citations n'ont pas la même longueur. Sans ce calage, les signatures
     flottent à des hauteurs différentes : 77 px d'écart mesurés entre la plus longue
     et la plus courte. Invisible dans un ruban qui défile, voyant dans un bloc fixe.
     Portée limitée à .avis : le défilé de l'accueil n'est pas touché. */
  .avis .m6-cit { align-items: stretch; }
  .avis .m6-cit > div { display: flex; flex-direction: column; height: 100%; }
  .avis .m6-cit__by { margin-top: auto; padding-top: 14px; }
}

/* Texte réservé aux lecteurs d'écran : porte l'information que la couleur seule donnerait. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Page métier : la section Modus en manchette ----------
   Le titre prend sa colonne, le texte la sienne, un filet vertical les sépare et
   le bandeau se dresse dans la marge comme le nom d'une rubrique en tête de page
   de journal. Activé par le champ 'detail_manchette' : les autres pages qui
   utilisent detail_h gardent la mise en page en prose. */
.manchette { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: auto .88fr 1.12fr; gap: 0 clamp(26px,4vw,58px); align-items: start; }
.manchette__rail { display: flex; align-items: flex-start; justify-content: center; align-self: stretch; padding-top: 6px; }
.manchette__eyebrow {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--lapidaire); font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--terracotta); white-space: nowrap; margin: 0;
}
.manchette__titre { border-right: 1px solid var(--line); padding-right: clamp(26px,4vw,58px); }
.manchette__titre h2 { font-size: clamp(28px,3.6vw,54px); }
/* une seule taille de texte dans la manchette : celle du premier paragraphe */
.manchette__txt p { margin: 0 0 20px; max-width: 52ch; font-size: clamp(18px,1.5vw,21px); }
.manchette__txt p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .manchette { grid-template-columns: 1fr; gap: 26px; }
  .manchette__rail { display: none; }
  .manchette__titre { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 24px; }
}

/* ---------- Page métier : l'aiguillage à trois voies (Trivium) ----------
   Fusionne les deux anciens blocs de fin de page, Nota (renvois Nicolas Portes et
   Centurion) et Ad rem publicam (renvoi collectivité), qui disaient la même chose
   à deux endroits. Le mot « maison » ne paraît nulle part : chaque voie commence
   par QUI est le visiteur, en français ordinaire. Le latin reste en bandeau.
   Chaque voie est une seule zone cliquable de la hauteur d'une ligne entière,
   au lieu de liens de quelques mots noyés dans un paragraphe. */
.trivium { max-width: 940px; margin: 0 auto; border-top: 1px solid var(--line); }
.trivium__voie {
  display: grid; grid-template-columns: .72fr 1.28fr auto; gap: clamp(20px,3vw,44px); align-items: center;
  padding: clamp(24px,3.6vh,36px) 0; border-bottom: 1px solid var(--line); cursor: pointer;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.trivium__voie:hover, .trivium__voie:focus-visible { background: rgba(255,252,246,.6); box-shadow: inset 3px 0 0 var(--terracotta); }
.trivium__qui {
  font-family: var(--garamond); font-style: italic; font-size: clamp(16px,1.4vw,18.5px);
  color: var(--muted-aa); transition: padding-left .3s var(--ease), color .2s;
}
.trivium__voie:hover .trivium__qui { padding-left: 16px; color: var(--terracotta); }
.trivium__ou { display: block; font-family: var(--lapidaire); font-size: clamp(17px,1.7vw,22px); letter-spacing: .03em; text-transform: uppercase; color: var(--pierre); }
.trivium__quoi { display: block; margin-top: 7px; color: var(--muted-aa); font-size: 16px; line-height: 1.55; }
.trivium__fl { font-family: var(--lapidaire); font-size: 19px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.trivium__voie:hover .trivium__fl { color: var(--terracotta); transform: translateX(6px); }
@media (max-width: 760px) {
  .trivium__voie { grid-template-columns: 1fr auto; gap: 8px 16px; align-items: start; }
  .trivium__qui { grid-column: 1 / -1; }
  .trivium__voie:hover .trivium__qui { padding-left: 0; }
}

/* ---------- Prestation : liens vers les guides (cartes) ---------- */
.glinks { max-width: var(--maxw); margin: clamp(22px,3.4vh,40px) auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px,1.8vw,22px); }
.glink { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; background: var(--plaque-a); border: 1px solid var(--line); border-left: 3px solid var(--terracotta); border-radius: 2px; padding: 18px 22px; text-decoration: none; transition: background .2s, transform .2s; }
.glink:hover { background: var(--marbre-2); transform: translateY(-2px); }
.glink b { font-family: var(--lapidaire); font-weight: 500; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--pierre); line-height: 1.32; }
.glink span { font-family: var(--lapidaire); color: var(--terracotta); flex: none; }
@media (max-width: 640px) { .glinks { grid-template-columns: 1fr; } }

/* ---------- Prestation : CTA intermédiaire « le cachet » ---------- */
.cta-cachet { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: clamp(22px,3.5vw,42px); max-width: 820px; margin: 0 auto; }
.cta-cachet__seal { position: relative; width: 104px; height: 104px; border-radius: 50%; border: 1px solid var(--terracotta); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--terracotta); }
.cta-cachet__seal::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px solid rgba(194,90,30,0.4); }
.cta-cachet__seal b { font-family: var(--lapidaire); font-weight: 500; font-size: 20px; letter-spacing: 0.1em; }
.cta-cachet__seal span { font-family: var(--lapidaire); text-transform: uppercase; font-size: 9px; letter-spacing: 0.24em; margin-top: 4px; }
.cta-cachet__q { font-family: var(--lapidaire); font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(20px,2.6vw,30px); line-height: 1.1; color: var(--pierre); text-wrap: balance; }
.cta-cachet__s { font-family: var(--garamond); font-size: clamp(15px,1.5vw,17px); line-height: 1.6; color: var(--muted); margin-top: 12px; max-width: 48ch; }
.cta-cachet .btn { margin-top: 22px; }
@media (max-width: 640px) { .cta-cachet { grid-template-columns: 1fr; justify-items: center; text-align: center; } .cta-cachet__s { margin-left: auto; margin-right: auto; } }

/* section compacte (CTA intermédiaire) */
.section.section--tight { padding-top: clamp(30px,3.6vw,48px); padding-bottom: clamp(30px,3.6vw,48px); }

/* liens : entête à gauche (alignée à droite) + cartes empilées à droite */
.liens-duo { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(30px,5vw,72px); align-items: start; }
.liens-duo__head { text-align: right; }
.liens-duo__head .lede { margin-top: 14px; margin-left: auto; }
.liens-duo__list { display: grid; gap: clamp(12px,1.5vw,18px); }
@media (max-width: 820px) { .liens-duo { grid-template-columns: 1fr; } .liens-duo__head { text-align: left; } .liens-duo__head .lede { margin-left: 0; } }

/* intro « lettrine » : grand mot latin fantôme + lettrine sur le 1er paragraphe */
.intro-litt { position: relative; overflow: hidden; }
.intro-litt__ghost { position: absolute; top: -0.12em; right: clamp(-8px,1.5vw,36px); font-family: var(--lapidaire); font-weight: 500; text-transform: uppercase; font-size: clamp(96px,16vw,240px); line-height: 0.8; color: rgba(194,90,30,0.08); letter-spacing: 0.02em; pointer-events: none; z-index: 0; }
.intro-litt .prose { position: relative; z-index: 1; }
/* Lettrine retirée le 28/07/2026 : la capitale flottante en corps de titre déséquilibrait
   le premier paragraphe et n'apportait rien que le filigrane ne dise déjà. */

/* Le bloc Nota — la marge annotée. Traitement arrêté le 28/07/2026 (option C de la maquette).
   Rendu par inc/service.php dès qu'une prestation porte aside_t + aside_html. */
.nota-marge { max-width: var(--maxw); margin: 0 auto; display: grid;
  grid-template-columns: 88px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.nota-marge__mk { font-family: var(--lapidaire); font-size: clamp(46px, 5vw, 74px); line-height: 0.9;
  color: rgba(194, 90, 30, 0.22); text-align: right; }
.nota-marge__txt { border-left: 1px solid var(--line); padding-left: clamp(22px, 3vw, 44px); max-width: 820px; }
.nota-marge__txt .section__title { margin: 0 0 14px; }
.nota-marge__txt p:not(.eyebrow) { font-family: var(--garamond); font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.75; color: var(--encre); margin: 0; }
@media (max-width: 820px) {
  .nota-marge { grid-template-columns: 1fr; gap: 10px; }
  .nota-marge__mk { text-align: left; }
  .nota-marge__txt { border-left: 0; padding-left: 0; }
}
/* Sans dispositif en regard (pages métier), le mot se place DERRIÈRE le titre et non
   en haut à droite de la bande. Il est centré sur le bloc du titre lui-même : un
   décalage fixe depuis le haut de section ne pouvait pas convenir à deux titres de
   hauteurs différentes (Réalisateur tient sur deux lignes, Photographe sur trois).
   z-index négatif : .prose crée un contexte d'empilement (position relative + z-index 1),
   le fantôme se peint donc sous le texte du titre sans passer derrière le fond de bande. */
.intro-litt:not(.intro-litt--duo) .intro-litt__titre { position: relative; }
.intro-litt:not(.intro-litt--duo) .intro-litt__ghost {
  top: 50%; left: 50%; right: auto; transform: translate(-50%, -50%);
  white-space: nowrap; z-index: -1;
}
@media (max-width: 820px) { .intro-litt__ghost { display: none; } }

/* intro « lettrine » + dispositif en regard : deux colonnes, fantôme derrière le titre */
.intro-litt__grid { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(30px,5vw,68px); align-items: start; }
.intro-litt__grid .prose { max-width: none; margin: 0; }
.intro-litt__main { position: relative; text-align: right; }
.intro-litt__main > *:not(.intro-litt__ghost) { position: relative; z-index: 1; }
.intro-litt__main .lede { max-width: none; }
.intro-litt--duo .intro-litt__ghost { top: clamp(-8px,1.4vh,22px); right: -6px; left: auto; }
.intro-litt__aside { position: relative; z-index: 1; padding-top: clamp(4px,1vh,12px); }
.intro-litt__flow { list-style: none; padding: 0; margin: 0; }
.intro-litt__flow li { position: relative; padding: 0 0 clamp(20px,2.6vh,30px) 36px; }
.intro-litt__flow li::before { content: ""; position: absolute; left: 9px; top: 24px; bottom: -2px; width: 2px; background: rgba(194,90,30,0.30); }
.intro-litt__flow li:last-child { padding-bottom: 0; }
.intro-litt__flow li:last-child::before { display: none; }
.intro-litt__flow li::after { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--terracotta); background: var(--marbre-2); }
.intro-litt__flow b { display: block; font-family: var(--lapidaire); text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(14px,1.2vw,16px); color: var(--pierre); }
.intro-litt__flow span { display: block; font-family: var(--garamond); font-size: clamp(14px,1vw,16px); color: var(--muted); margin-top: 4px; line-height: 1.5; }
@media (max-width: 820px) { .intro-litt__grid { grid-template-columns: 1fr; gap: clamp(28px,5vw,40px); } .intro-litt--duo .intro-litt__ghost { display: none; } }

/* eyebrow centrée pleine largeur (au-dessus d'un bloc à deux colonnes) */
.eyebrow--center { text-align: center; max-width: var(--maxw); margin: 0 auto clamp(28px,4vh,50px); }

/* Opera — la salle de cinéma (guide collectivités) */
.opera-cine { position: relative; overflow: hidden; background: var(--salle); }
.opera-cine::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: conic-gradient(from 180deg at 50% -14%, transparent 44%, rgba(240,234,216,0.07) 50%, transparent 56%); }
.opera-cine__inner { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; text-align: center; }
.opera-cine__carton { font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--terracotta-hi); }
.opera-cine__t { font-family: var(--lapidaire); font-weight: 500; font-size: clamp(24px,3.4vw,44px); color: var(--ivoire); text-transform: uppercase; letter-spacing: 0.03em; margin: 12px 0 30px; }
.opera-cine .video-embed { box-shadow: 0 0 90px -20px rgba(229,138,69,0.4), 0 40px 70px -30px rgba(0,0,0,0.75); }
.opera-cine__cap { margin-top: 28px; font-family: var(--garamond); font-style: italic; font-size: 15px; color: var(--ivoire-soft); }
.opera-cine__more { max-width: 68ch; margin: clamp(24px,3.5vh,42px) auto 0; font-family: var(--garamond); font-size: 15.5px; line-height: 1.62; color: var(--ivoire-soft); }
.opera-cine__more a { color: var(--terracotta-hi); border-bottom: 1px solid rgba(229,138,69,0.4); transition: border-color .2s; }
.opera-cine__more a:hover { border-color: var(--terracotta-hi); }

/* ============ Identité d'une page catégorie (inc/cat-identity.php) ============ */
.catid__txt .eyebrow { color: var(--terracotta); }
.catid__txt h2 { margin-top: 12px; }
.catid__txt .lede { margin-top: 20px; max-width: 46ch; }
.catid__txt .tlink { display: inline-block; }
.catid__txt p + p { margin-top: 18px; }
.catid__more { margin-top: 6px; }

/* 1 · la carte */
.catid-carte { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(30px,4.5vw,70px); align-items: center; max-width: var(--maxw); margin: 0 auto; }
.catid-map { position: relative; padding: 16px; background: linear-gradient(150deg,#efe6d2,#e2d5bb); border: 1px solid var(--line); box-shadow: 0 40px 64px -34px rgba(53,48,42,0.55); }
.catid-map::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(120,102,74,0.4); pointer-events: none; }
.catid-map svg { display: block; width: 100%; height: auto; position: relative; }
.catid-map .grid { stroke: rgba(120,102,74,0.16); stroke-width: 1; }
.catid-map .terr { fill: rgba(154,132,96,0.16); stroke: #7d6a48; stroke-width: 1.6; }
.catid-map .route { fill: none; stroke: var(--terracotta); stroke-width: 1.4; stroke-dasharray: 1 5; stroke-linecap: round; opacity: 0.85; }
.catid-map .site { fill: var(--terracotta); }
.catid-map .cap { fill: var(--terracotta); stroke: #fff; stroke-width: 1.5; }
.catid-map .comp { stroke: #7d6a48; stroke-width: 1.2; fill: none; }
.catid-map .compN { fill: var(--terracotta); }
.catid-map .mlabel { font-family: var(--lapidaire); fill: #6f5d3f; letter-spacing: 0.18em; }
.catid-map .mtitle { font-family: var(--lapidaire); fill: #5c4d34; letter-spacing: 0.22em; }

/* 2 · le blason */
.catid-blason { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px,5vw,76px); align-items: center; max-width: 1080px; margin: 0 auto; }
.catid-shield { width: 100%; max-width: 320px; height: auto; display: block; margin: 0 auto; overflow: visible; /* ombre rendue par feDropShadow dans le SVG (le filter CSS bandait sous Chrome/Windows) */ }
.catid-shield .field { fill: url(#shg); stroke: #b8ab90; stroke-width: 2; }
.catid-shield .chief { fill: #7d2f16; }
.catid-shield .div { stroke: #b8ab90; stroke-width: 2; }
.catid-shield .ch { font-family: var(--lapidaire); fill: var(--ivoire); letter-spacing: 0.1em; }
.catid-shield .star { fill: #b8975a; }
/* Bloc « à lire aussi » — guides liés à la catégorie */
.catid-guides { margin-top: clamp(22px, 3vh, 32px); max-width: 48ch; }
.catid-guides__lab { font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 4px; }
.catid-guides__link { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--pierre); font-size: 16px; transition: color 0.2s; }
.catid-guides__link:last-child { border-bottom: 1px solid var(--line); }
.catid-guides__link i { font-style: normal; color: var(--terracotta); transition: transform 0.2s var(--ease); }
.catid-guides__link:hover { color: var(--terracotta); }
.catid-guides__link:hover i { transform: translateX(4px); }

/* 3 · l'étendard (plus gros) */
.catid-etendard { display: grid; grid-template-columns: 0.68fr 1.32fr; gap: clamp(30px,5vw,84px); align-items: center; max-width: 1120px; margin: 0 auto; }
.catid-vex { justify-self: center; width: 210px; text-align: center; }
.catid-vex__finial { width: 34px; height: 34px; margin: 0 auto; border-radius: 50%; border: 2px solid var(--terracotta); display: flex; align-items: center; justify-content: center; color: var(--terracotta); font-family: var(--lapidaire); font-size: 16px; }
.catid-vex__pole { width: 3px; height: 22px; margin: 0 auto; background: #7d6a48; }
.catid-vex__cloth { position: relative; background: linear-gradient(160deg,#8f3418,#6d2410); color: var(--ivoire); padding: 40px 18px 58px; clip-path: polygon(0 0,100% 0,100% 100%,50% 85%,0 100%); box-shadow: 0 32px 50px -26px rgba(53,48,42,0.6); }
.catid-vex__cloth b { display: block; font-family: var(--lapidaire); font-weight: 600; font-size: 36px; letter-spacing: 0.12em; line-height: 1.05; }
.catid-vex__cloth i { display: block; font-family: var(--garamond); font-style: italic; font-size: 15px; color: rgba(240,234,216,0.82); margin-top: 8px; }
.catid-vex__cloth em { display: block; font-style: normal; font-family: var(--lapidaire); font-size: 12px; letter-spacing: 0.2em; color: #e2a06a; margin-top: 18px; }

/* 4 · le cartouche gravé */
.catid-cartouche { position: relative; max-width: 1000px; margin: 0 auto; text-align: center; }
.catid-cartouche__latin { font-family: var(--lapidaire); font-weight: 600; font-size: clamp(66px,13vw,166px); line-height: 0.9; letter-spacing: 0.04em; color: var(--marbre-2); text-shadow: 0 2px 0 rgba(255,255,255,0.9), 0 -2px 3px rgba(53,48,42,0.4); margin: 0; }
.catid-cartouche .eyebrow { justify-content: center; margin-bottom: 8px; }
.catid-cartouche h2 { margin: 16px 0 0; }
.catid-cartouche .lede { margin: 18px auto 0; max-width: 60ch; }
.catid-cartouche .catid__more { margin-top: 22px; }

/* 5 · la rose des vents */
.catid-rose { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px,4vw,64px); align-items: center; max-width: var(--maxw); margin: 0 auto; }
.catid-rose svg { width: 100%; height: auto; display: block; }
.catid-rose .ring { fill: none; stroke: rgba(120,102,74,0.25); stroke-width: 1; }
.catid-rose .spoke { stroke: rgba(120,102,74,0.3); stroke-width: 1; }
.catid-rose .spoke--on { stroke: var(--terracotta); stroke-width: 1.6; }
.catid-rose .dot { fill: #b8ab90; transition: fill 0.2s; }
.catid-rose .dot--on { fill: var(--terracotta); }
.catid-rose .lab { font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.1em; fill: var(--muted); text-transform: uppercase; transition: fill 0.2s; }
.catid-rose .lab--on { fill: var(--terracotta); font-weight: 600; }
.catid-rose a:hover .lab { fill: var(--terracotta); }
.catid-rose a:hover .dot { fill: var(--terracotta); }
.catid-rose .core { font-family: var(--lapidaire); fill: var(--pierre); letter-spacing: 0.12em; }
.catid-rose .coreSub { font-family: var(--garamond); font-style: italic; fill: var(--muted); }

@media (max-width: 860px) {
  .catid-carte, .catid-blason, .catid-etendard, .catid-rose { grid-template-columns: 1fr; }
  .catid-map, .catid-rose svg { max-width: 460px; margin-left: auto; margin-right: auto; }
  .catid-etendard { max-width: 460px; }
}

/* tailles du bento (6 colonnes) */
.mo--4x2 { grid-column: span 4; grid-row: span 2; }
.mo--2x2 { grid-column: span 2; grid-row: span 2; }
.mo--2x1 { grid-column: span 2; grid-row: span 1; }
.mo--3x1 { grid-column: span 3; grid-row: span 1; }

/* emblema : la signature de l'atelier, au centre du pavement */
.memblema {
  grid-column: span 2; grid-row: span 2;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    repeating-conic-gradient(from 8deg at 50% 50%, rgba(112, 97, 76, 0.06) 0 6deg, transparent 6deg 12deg),
    radial-gradient(circle at 50% 40%, var(--plaque-a), var(--plaque-b));
}
.memblema__rond {
  width: min(84%, 200px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--terracotta); outline: 1px solid var(--line); outline-offset: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 18px;
}
.memblema__rond b { font-family: var(--lapidaire); font-weight: 500; font-size: clamp(13px, 1.3vw, 16px); line-height: 1.15; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pierre); }
.memblema__rond span { font-family: var(--lapidaire); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: 0.04em; color: var(--terracotta); margin-top: 4px; }
.memblema__rond i { font-family: var(--garamond); font-style: italic; font-size: 13px; color: var(--muted); }

/* ============================================================
   ÉPISTULA — page Contact
   La missive : le formulaire devient une lettre timbrée (portrait
   en effigie), oblitérée, portée par la voie romaine.
   ============================================================ */
.epistula { max-width: 860px; margin: 0 auto; }
.lettre {
  position: relative;
  padding: clamp(34px, 5vw, 64px) clamp(26px, 5vw, 70px) clamp(30px, 4vw, 50px);
  background:
    linear-gradient(117deg, transparent 22%, rgba(150,131,104,0.08) 33%, transparent 47%),
    linear-gradient(160deg, var(--plaque-a), var(--plaque-b));
  border: 1px solid var(--line); border-radius: 2px;
  box-shadow: 0 36px 70px -30px rgba(53,48,42,0.6);
  transform: rotate(-0.6deg);
}
/* timbre : le portrait en effigie, dentelé et oblitéré */
.timbre {
  position: absolute; top: 24px; right: 26px; width: 108px; z-index: 2;
  transform: rotate(3.5deg);
  filter: drop-shadow(0 9px 14px rgba(53,48,42,0.4));
}
.timbre__perf {
  --r: 5px; display: block; padding: 7px 6px 6px; background: #faf7f1;
  -webkit-mask:
    radial-gradient(var(--r) at 50% 0,   #0000 98%, #000) 50% 0   / calc(4*var(--r)) 100% repeat-x,
    radial-gradient(var(--r) at 50% 100%,#0000 98%, #000) 50% 100%/ calc(4*var(--r)) 100% repeat-x,
    radial-gradient(var(--r) at 0 50%,   #0000 98%, #000) 0 50%   / 100% calc(4*var(--r)) repeat-y,
    radial-gradient(var(--r) at 100% 50%,#0000 98%, #000) 100% 50%/ 100% calc(4*var(--r)) repeat-y;
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(var(--r) at 50% 0,   #0000 98%, #000) 50% 0   / calc(4*var(--r)) 100% repeat-x,
    radial-gradient(var(--r) at 50% 100%,#0000 98%, #000) 50% 100%/ calc(4*var(--r)) 100% repeat-x,
    radial-gradient(var(--r) at 0 50%,   #0000 98%, #000) 0 50%   / 100% calc(4*var(--r)) repeat-y,
    radial-gradient(var(--r) at 100% 50%,#0000 98%, #000) 100% 50%/ 100% calc(4*var(--r)) repeat-y;
  mask-composite: intersect;
}
.timbre img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; display: block; border: 1px solid rgba(53,48,42,0.14); filter: sepia(0.32) contrast(1.02) brightness(1.02); }
.timbre__val { display: block; text-align: center; font-family: var(--lapidaire); font-size: 7px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; line-height: 1.35; }
.timbre__val b { color: var(--terracotta); }
.cachet {
  position: absolute; top: 30px; right: 142px; width: 118px; height: 118px; pointer-events: none;
  border: 1.5px solid rgba(74,68,60,0.4); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  transform: rotate(-12deg); opacity: 0.65;
}
.cachet::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid rgba(74,68,60,0.3); }
.cachet b { font-family: var(--lapidaire); font-weight: 500; font-size: 9.5px; letter-spacing: 0.22em; color: var(--pierre); text-align: center; }
.cachet i { font-family: var(--garamond); font-size: 11px; color: var(--muted); }
/* corps de la lettre */
.lettre__err { font-family: var(--garamond); font-style: italic; font-size: 15px; color: var(--terracotta); margin-bottom: 18px; }
.lettre__salut { font-family: var(--garamond); font-style: italic; font-size: 18px; color: var(--encre); margin-bottom: 34px; max-width: 30ch; }
.ligne { display: flex; align-items: baseline; gap: 14px; margin-top: 22px; }
.ligne label { flex: 0 0 auto; font-family: var(--lapidaire); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta); }
.ligne input {
  flex: 1; background: transparent; border: 0;
  border-bottom: 1px dotted rgba(53,48,42,0.45);
  font-family: var(--garamond); font-style: italic; font-size: 17px; color: var(--encre);
  padding: 4px 2px 6px; transition: border-color 0.25s;
}
.ligne input:focus { outline: none; border-bottom: 1px solid var(--terracotta); }
/* 07/08/2026, champ budget. Le select reprend trait pour trait les autres champs
   de la lettre. appearance:none retire le chrome système, qui jurait avec les
   traits pointillés, et le chevron est dessiné en data-URI : ni JS, ni image
   externe, ni classe supplémentaire. */
.ligne select {
  flex: 1; background: transparent; border: 0;
  border-bottom: 1px dotted rgba(53,48,42,0.45);
  font-family: var(--garamond); font-style: italic; font-size: 17px; color: var(--encre);
  padding: 4px 22px 6px 2px; transition: border-color 0.25s; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c25a1e'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; background-size: 10px 6px;
}
.ligne select:focus { outline: none; border-bottom: 1px solid var(--terracotta); }
.lettre__lab { display: block; margin-top: 30px; font-family: var(--lapidaire); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta); }
.lettre textarea {
  width: 100%; margin-top: 12px; min-height: 180px; resize: vertical;
  background: transparent; border: 0; line-height: 34px;
  background-image: repeating-linear-gradient(to bottom, transparent 0 33px, rgba(53,48,42,0.16) 33px 34px);
  font-family: var(--garamond); font-style: italic; font-size: 17px; color: var(--encre); padding: 0 2px;
}
.lettre textarea:focus { outline: none; }
.lettre__pied { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; flex-wrap: wrap; }
.lettre__pied .btn { margin-top: 0; }
.lettre__signature { font-family: var(--garamond); font-style: italic; font-size: 15px; color: var(--muted); }
.lettre__ps { margin-top: 30px; padding-top: 18px; border-top: 1px dotted rgba(53,48,42,0.3); font-family: var(--garamond); font-style: italic; font-size: 14.5px; color: var(--muted); }
/* 08/08/2026 : le P.-S. renvoie vers /methode/. Sans ce liseré le lien prenait la
   couleur du paragraphe, donc ne se voyait pas. Même patron que .epistula__coord a. */
.lettre__ps a { color: var(--pierre); border-bottom: 1px solid var(--line); transition: color 0.2s, border-color 0.2s; }
.lettre__ps a:hover { color: var(--terracotta); border-color: var(--terracotta); }
/* accusé de réception (état envoyé) */
.lettre--recu .eyebrow { margin-bottom: 14px; }
.lettre--recu .lede { margin-top: 14px; }
/* la voie romaine : le parcours du projet, en bornes milliaires */
.voie { max-width: 640px; margin: 52px auto 0; text-align: center; }
.voie__trace { position: relative; height: 1px; background: repeating-linear-gradient(to right, rgba(53,48,42,0.4) 0 7px, transparent 7px 13px); margin: 0 30px 14px; }
.voie__borne { position: absolute; top: -5px; width: 11px; height: 11px; border-radius: 50%; background: var(--terracotta); transform: translateX(-50%); }
.voie__labels { display: flex; justify-content: space-between; font-family: var(--lapidaire); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.voie__labels b { color: var(--terracotta); font-weight: 500; }
/* coordonnées cliquables, sous la lettre */
.epistula__coord { text-align: center; margin: 34px auto 0; font-family: var(--lapidaire); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 2.1; }
.epistula__coord a { color: var(--pierre); border-bottom: 1px solid var(--line); transition: color 0.2s, border-color 0.2s; }
.epistula__coord a:hover { color: var(--terracotta); border-color: var(--terracotta); }
.epistula__coord i { font-style: normal; color: var(--terracotta); margin: 0 10px; }

/* ---------- Contact — marbre noir derrière la missive ---------- */
.epistula-noir {
  position: relative; overflow: hidden;
  background-color: var(--salle);
  border-top: 1px solid rgba(240,234,216,0.12);
  border-bottom: 1px solid rgba(240,234,216,0.12);
}
.epistula-noir::before { /* lueur chaude, montée du bas comme le CTA */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 92% 55% at 50% 120%, rgba(229,110,40,0.16), transparent 60%);
}
.epistula-noir > * { position: relative; z-index: 1; }
/* la carte reste claire ; on relit seulement les textes hors carte */
.epistula-noir .voie__trace { background: repeating-linear-gradient(to right, rgba(240,234,216,0.42) 0 7px, transparent 7px 13px); }
.epistula-noir .voie__labels { color: var(--ivoire-soft); }
.epistula-noir .voie__labels b { color: var(--terracotta-hi); }
.epistula-noir .voie__borne { background: var(--terracotta-hi); }
.epistula-noir .epistula__coord { color: var(--ivoire-soft); }
.epistula-noir .epistula__coord a { color: var(--ivoire); border-bottom-color: rgba(240,234,216,0.25); }
.epistula-noir .epistula__coord a:hover { color: var(--terracotta-hi); border-color: var(--terracotta-hi); }
.epistula-noir .epistula__coord i { color: var(--terracotta-hi); }

/* ---------- Réseau — la cohorte (page Votre projet) ---------- */
.cohorte { max-width: 900px; margin: 0 auto; text-align: center; }
.cohorte .eyebrow { justify-content: center; }
.cohorte .lede { margin-left: auto; margin-right: auto; max-width: 62ch; }
.cohorte__roles { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px,1.4vw,20px); margin-top: clamp(34px,5vh,58px); }
.medal { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 104px; }
.medal__disc {
  width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--line);
  background: radial-gradient(circle at 38% 32%, #fff, var(--marbre-2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 12px 22px -14px rgba(53,48,42,0.55);
}
.medal__disc b { font-family: var(--lapidaire); font-weight: 500; font-size: 18px; color: var(--terracotta); }
.medal__lab { font-family: var(--lapidaire); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
.cohorte__foot { max-width: 58ch; margin: clamp(32px,5vh,50px) auto 0; }

/* ---------- Marche à suivre — le cursus (page Prestations) ---------- */
.ordo-cursus { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(28px,5vw,76px); align-items: center; max-width: var(--maxw); margin: 0 auto; }
.ordo-cursus .prose { max-width: none; }
.cursus { margin-left: 22px; }
.step { position: relative; padding: clamp(14px,1.6vw,20px) 0 clamp(14px,1.6vw,20px) clamp(40px,3.4vw,56px); border-left: 2px solid var(--line); }
.step:last-child { border-left-color: transparent; }
.step__n {
  position: absolute; left: -22px; top: clamp(10px,1.4vw,16px);
  width: 44px; height: 44px; border-radius: 50%; background: var(--marbre); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--lapidaire); font-weight: 500; font-size: 15px; color: var(--terracotta);
  box-shadow: 0 8px 16px -10px rgba(53,48,42,0.5);
}
.step__t { font-family: var(--lapidaire); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre); }
.step__d { font-family: var(--garamond); font-style: italic; font-size: 15px; color: var(--muted); margin-top: 3px; }
@media (max-width: 860px) {
  .ordo-cursus { grid-template-columns: 1fr; }
  .cursus { margin: 6px auto 0; max-width: 460px; }
}

/* ---------- Avis — les blocs de marbre (Réalisations & Votre projet) ---------- */
.blocs { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,3vw,46px); align-items: center; max-width: var(--maxw); margin: 0 auto; padding: 14px 0; }
.bloc { position: relative; }
.bloc--1 { transform: rotate(-2deg); }
.bloc--2 { transform: rotate(1.4deg) translateY(-10px); }
.bloc--3 { transform: rotate(-1deg); }
/* la tranche : fine dalle floutée qui dépasse sous le bloc */
.bloc::before {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: -11px; height: 14px; z-index: 0;
  background: linear-gradient(180deg, #d6cdb7, #bfb499);
  border-radius: 0 0 5px 5px;
  filter: blur(2.4px);
}
/* la face : marbre doux, arêtes droites, veines légères (style planche) */
.bloc__face {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  padding: 34px 30px 28px;
  background: linear-gradient(158deg, #f6f2ea, #e6ddcb);
  border: 1px solid var(--line); border-radius: 3px;
  box-shadow: 0 40px 60px -28px rgba(53,48,42,0.55), inset 0 1px 0 rgba(255,255,255,0.7);
}
.bloc__face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5; border-radius: 3px;
  background:
    linear-gradient(107deg, transparent 37%, rgba(160,150,135,0.28) 38.6%, transparent 40%),
    linear-gradient(80deg, transparent 62%, rgba(160,150,135,0.18) 63%, transparent 65%);
}
.bloc__n {
  font-family: var(--lapidaire); font-weight: 500; font-size: 15px; letter-spacing: 0.3em; line-height: 1;
  color: var(--pierre); opacity: 0.75; margin-bottom: 16px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}
.bloc__face p { position: relative; z-index: 1; font-family: var(--garamond); font-style: italic; font-size: clamp(15px,1.2vw,17px); line-height: 1.66; color: var(--pierre); margin: 0 0 22px; flex: 1; }
.bloc__face cite { position: relative; z-index: 1; font-style: normal; font-family: var(--lapidaire); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.bloc__face cite b { display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: 0.06em; color: var(--terracotta); }
.bloc__face cite span { color: var(--muted); }
@media (max-width: 860px) {
  .blocs { grid-template-columns: 1fr; max-width: 440px; align-items: stretch; }
  .bloc--1, .bloc--2, .bloc--3 { transform: none; }
  .bloc { margin-bottom: 14px; }
}

/* Credo — le manifeste + le portrait + l'équipe à la demande (à-propos) */
.credo { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: center; max-width: var(--maxw); margin: 0 auto; }
.credo__photo { aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 34px 54px -30px rgba(53,48,42,0.55); }
.credo__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.credo__stmt { font-family: var(--lapidaire); font-weight: 500; font-size: clamp(23px, 2.6vw, 38px); line-height: 1.16; text-transform: uppercase; letter-spacing: 0.03em; color: var(--pierre); margin: 0; text-shadow: 0 1px 0 rgba(255,255,255,0.8); }
.credo__stmt em { font-style: normal; color: var(--terracotta); }
.credo__aside { margin-top: clamp(24px, 3vh, 34px); border-left: 2px solid var(--terracotta); padding-left: 24px; }
.credo__aside h3 { font-family: var(--lapidaire); font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 14px; }
.credo__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.credo__chip { font-family: var(--lapidaire); font-size: 12px; letter-spacing: 0.04em; color: var(--pierre); background: rgba(255,255,255,0.4); border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px; }
.credo__aside p { margin: 16px 0 0; font-style: italic; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .credo { grid-template-columns: 1fr; gap: 28px; } .credo__photo { max-width: 360px; } }

/* Officia — tuiles à icônes des prestations (accueil, fond pierre) */
.oserv { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.oserv__t { display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,0.4); border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; transition: border-color 0.2s, transform 0.2s var(--ease); }
.oserv__t:hover { border-color: var(--terracotta); transform: translateY(-2px); }
.oserv__ic { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; background: var(--marbre); }
.oserv__ic svg { width: 22px; height: 22px; stroke: var(--terracotta); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.oserv__lat { display: block; font-family: var(--lapidaire); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 3px; }
.oserv__lbl { display: block; margin: 0; font-family: var(--lapidaire); font-weight: 500; font-size: 15px; text-transform: none; letter-spacing: 0.02em; color: var(--pierre); line-height: 1.2; }
@media (max-width: 820px) { .oserv { grid-template-columns: 1fr; } }

/* Alia — les autres provinces, plaques de marbre épurées (pages catégorie) */
.alia { list-style: none; padding: 0; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.alia__plaque { position: relative; display: block; background: linear-gradient(180deg, var(--plaque-a), var(--plaque-b)); border: 1px solid var(--line); border-radius: 6px; padding: 24px 22px 26px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 18px 34px -30px rgba(53,48,42,0.5); transition: transform 0.2s, border-color 0.2s; }
.alia__plaque:hover { transform: translateY(-3px); border-color: var(--terracotta); }
.alia__plaque::after { content: ""; position: absolute; right: 14px; bottom: 12px; width: 16px; height: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); opacity: 0.6; }
.alia__lat { display: block; margin-bottom: 10px; font-family: var(--lapidaire); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta); }
.alia__nm { margin: 0; font-family: var(--lapidaire); font-weight: 500; font-size: clamp(15px, 1.4vw, 18px); text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.22; color: var(--pierre); }
@media (max-width: 820px) { .alia { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   LA COUTURE SINOPIA — transition standard de section à section
   Le trait de construction à la sanguine + la borne au compas.
   Le cercle prend la couleur des deux sections qu'il chevauche
   via --c-haut / --c-bas (défaut : marbre → pierre).
   ============================================================ */
.couture { position: relative; height: 0; z-index: 5; pointer-events: none; }
.couture::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: -0.5px; height: 1px;
  background: repeating-linear-gradient(to right, rgba(168,70,28,0.5) 0 6px, transparent 6px 11px);
}
.couture b {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px dashed #a8461c;
  display: grid; place-items: center;
  font-family: var(--lapidaire); font-weight: 500; font-size: 13px; letter-spacing: 0.08em; color: #a8461c;
  background: linear-gradient(to bottom, var(--c-haut, var(--marbre)) 50%, var(--c-bas, var(--marbre-2)) 50%);
}
.couture b::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid rgba(168,70,28,0.35); }
/* variante home : compas seul (pas de chiffre, la home use déjà Provincia I-IV) */
.couture--plain b::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(168,70,28,0.7); }
/* la couture remplace les joints gris des bandes adjacentes (pierre-band, refs) */
.pierre-band:has(+ .couture), .refs:has(+ .couture) { border-bottom: 0; }
.couture + .pierre-band, .couture + .refs { border-top: 0; }
.couture + .provinces .provinces__head { border-top: 0; }
.provinces:has(+ .couture) .door--reverse:last-of-type { border-bottom: 0; }

/* ============================================================
   LA COLONNE — page À propos
   Cursus honorum : le parcours gravé, registre après registre,
   le buste au sommet et la base au pied.
   ============================================================ */
.colonne-wrap { position: relative; max-width: 1020px; margin: 20px auto 0; }
.colonne-wrap::before { /* le fût, continu du chapiteau à la base */
  content: ""; position: absolute; top: 47px; bottom: 43px; left: 50%; width: 104px; transform: translateX(-50%);
  background-image:
    repeating-linear-gradient(-7deg, transparent 0 44px, rgba(53,48,42,0.14) 44px 50px),
    linear-gradient(90deg, rgba(53,48,42,0.3), rgba(255,255,255,0.5) 32%, rgba(255,255,255,0.12) 58%, rgba(53,48,42,0.34));
  background-color: var(--plaque-b);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.colonne-cap { position: relative; width: 168px; margin: 0 auto; }
.colonne-cap .abaque { display: block; height: 14px; background: linear-gradient(160deg, var(--plaque-a), var(--plaque-b)); border: 1px solid var(--line); }
.colonne-cap .echine { display: block; height: 34px; width: 140px; margin: 0 auto; clip-path: polygon(10% 100%, 0 0, 100% 0, 90% 100%); background: linear-gradient(180deg, var(--plaque-a), var(--plaque-b)); border: 1px solid var(--line); }
.chapitres { list-style: none; margin: 0; padding: 0; }
/* registres alternés : côtés opposés → on les imbrique pour compacter la colonne */
.chap { position: relative; display: grid; grid-template-columns: 1fr 150px 1fr; align-items: start; padding: 8px 0; }
.chap + .chap { margin-top: -78px; }
.chap__num {
  grid-column: 2; place-self: center; z-index: 1;
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--lapidaire); font-size: 17px; color: var(--terracotta);
  background: linear-gradient(160deg, var(--plaque-a), var(--plaque-b));
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px -10px rgba(53,48,42,0.5), inset 0 1px 0 rgba(255,255,255,0.8);
}
/* z-index 2 : l'imbrication à -78px fait recouvrir le bas d'un registre par le suivant,
   sur toute la largeur. Sans ça, le chapitre d'après intercepte les clics du texte qu'il
   recouvre (cas constaté le 28/07/2026 sur le lien du Vidéo Club, chapitre V). */
.chap__txt { grid-row: 1; max-width: 380px; position: relative; z-index: 2; }
.chap:nth-child(odd) .chap__txt { grid-column: 1; justify-self: end; text-align: right; }
.chap:nth-child(even) .chap__txt { grid-column: 3; justify-self: start; text-align: left; }
.chap__date { font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--terracotta); }
.chap__t { font-family: var(--lapidaire); font-size: clamp(18px, 1.8vw, 24px); letter-spacing: 0.04em; text-transform: none; color: var(--pierre); margin: 8px 0 6px; text-shadow: 0 1px 0 rgba(255,255,255,0.8); }
.chap__d { font-family: var(--garamond); font-size: 15px; color: var(--muted); margin: 0; }
.chap__d + .chap__d { margin-top: 10px; }
.chap__d .tlink { font-size: 15px; }
.colonne-base { width: 200px; margin: 0 auto; }
.colonne-base span { display: block; border: 1px solid var(--line); background: linear-gradient(160deg, var(--plaque-a), var(--plaque-b)); }
.colonne-base span:nth-child(1) { height: 12px; width: 150px; margin: 0 auto; }
.colonne-base span:nth-child(2) { height: 14px; width: 175px; margin: 0 auto; }
.colonne-base span:nth-child(3) { height: 18px; }

/* ============================================================
   LA FONDERIE — hero de la page Votre projet
   La cire perdue : la cire, l'empreinte, la fusion, l'œuvre.
   D'un seul jet, pour vous seul.
   ============================================================ */
.fonderie {
  position: relative; overflow: hidden; text-align: center;
  background: var(--salle); color: var(--ivoire);
  padding: clamp(130px, 18vh, 190px) var(--pad) clamp(64px, 9vh, 100px);
}
.fonderie::before { /* le halo du four */
  content: ""; position: absolute; inset: -10% 0 0 0; pointer-events: none; z-index: 0;
  background: conic-gradient(from 180deg at 50% -8%, transparent 42%, rgba(229,138,69,0.13) 50%, transparent 58%);
}
/* veines du marbre noir : mêmes diagonales que le marbre blanc, en lumière ivoire */
.fonderie::after, .cta-fonte::after, .epistula-noir::after, .opera-cine::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.6; z-index: 0;
  background:
    linear-gradient(107deg, transparent 38%, rgba(240,234,216,0.08) 39.2%, transparent 40.6%),
    linear-gradient(93deg, transparent 61%, rgba(240,234,216,0.055) 62%, transparent 63.6%),
    linear-gradient(115deg, transparent 12%, rgba(240,234,216,0.065) 13%, transparent 15%),
    linear-gradient(101deg, transparent 82%, rgba(240,234,216,0.045) 83%, transparent 84.6%),
    radial-gradient(ellipse 120% 60% at 22% 0%, rgba(240,234,216,0.06), transparent 60%);
}
.fonderie > * { position: relative; z-index: 1; }
.fonderie__motto {
  font-family: var(--lapidaire); font-size: 12px; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--terracotta-hi); margin: 0;
}
.fonderie__motto span { font-family: var(--garamond); font-style: italic; text-transform: none; letter-spacing: 0.04em; color: rgba(240,234,216,0.6); font-size: 14px; }
.fonderie__title {
  font-size: clamp(40px, 6.5vw, 96px); line-height: 1.04; letter-spacing: 0.05em; margin-top: 24px;
  color: var(--ivoire); text-shadow: 0 0 60px rgba(229,138,69,0.28), 0 2px 3px rgba(0,0,0,0.4);
}
.fonderie__trans {
  font-family: var(--garamond); font-style: italic; font-size: clamp(17px, 1.6vw, 21px);
  color: rgba(240,234,216,0.65); max-width: 62ch; margin: 26px auto 0;
}
.fonte {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 28px);
  max-width: 1180px; margin: clamp(44px, 7vh, 70px) auto 0; text-align: left;
}
.fusion {
  position: relative; min-height: 290px; padding: 26px 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 3px; overflow: hidden;
}
.fusion > * { position: relative; z-index: 1; }
.fusion .fusion__n { font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; }
.fusion h2 { font-size: clamp(18px, 1.8vw, 24px); letter-spacing: 0.06em; margin: 8px 0 6px; }
.fusion p { font-family: var(--garamond); font-style: italic; font-size: 14px; margin: 0; }
/* I · la cire : l'intention, tendre et chaude */
.f-cera { background: radial-gradient(ellipse 120% 90% at 30% 10%, #f2e3b8, #d9bd83 70%); box-shadow: 0 24px 46px -22px rgba(0,0,0,0.7); }
.f-cera .fusion__n { color: #8a5a1c; } .f-cera h2 { color: #4a3410; } .f-cera p { color: rgba(74,52,16,0.78); }
/* II · l'empreinte : le creux exact du besoin */
.f-forma { background: linear-gradient(160deg, #221d18, #15110d); border: 1px solid rgba(240,234,216,0.14); box-shadow: inset 0 4px 18px rgba(0,0,0,0.8); }
.f-forma .fusion__n { color: var(--terracotta-hi); } .f-forma h2 { color: var(--ivoire); } .f-forma p { color: rgba(240,234,216,0.62); }
/* III · la fusion : le tournage, incandescent */
.f-fusio { background: radial-gradient(ellipse 130% 100% at 50% 110%, #ffb066, #d96a1e 45%, #8a3208 85%); box-shadow: 0 0 60px -8px rgba(229,110,40,0.55), 0 24px 46px -20px rgba(0,0,0,0.8); }
.f-fusio::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(80,26,2,0.55), transparent 55%); }
.f-fusio .fusion__n { color: #ffe0bb; } .f-fusio h2 { color: #fff4e6; } .f-fusio p { color: #fff3e4; }
/* IV · l'œuvre : le bronze poli */
.f-opus { background: linear-gradient(115deg, transparent 30%, rgba(255,235,190,0.35) 44%, transparent 58%), linear-gradient(160deg, #b08d57, #77552b); box-shadow: 0 24px 46px -22px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,235,190,0.4); }
.f-opus .fusion__n { color: #f6e3bd; } .f-opus h2 { color: #fdf4e0; } .f-opus p { color: rgba(253,244,224,0.82); }
.fonderie__cap {
  font-family: var(--garamond); font-style: italic; font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(240,234,216,0.75); margin: clamp(38px, 6vh, 56px) auto 0; max-width: 58ch;
}
.fonderie__cap b { color: var(--terracotta-hi); font-weight: 500; }

/* ---- CTA final : la fonderie rallumée, le four sous la dalle ---- */
.cta-fonte {
  position: relative; overflow: hidden; text-align: center;
  background: var(--salle); color: var(--ivoire);
  padding: clamp(90px, 13vh, 160px) var(--pad);
}
.cta-fonte::before { /* la lueur monte du four, sous les pieds */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 85% 55% at 50% 118%, rgba(229,110,40,0.26), transparent 62%);
}
.cta-fonte > * { position: relative; z-index: 1; }
.cta-fonte h2 {
  font-size: clamp(32px, 5vw, 72px); letter-spacing: 0.04em; color: var(--ivoire);
  text-shadow: 0 0 50px rgba(229,138,69,0.3), 0 2px 3px rgba(0,0,0,0.4);
  max-width: 20ch; margin: 22px auto 0;
}
.cta-fonte h2 em { font-style: normal; color: var(--terracotta-hi); }
.cta-fonte .lede-fonte {
  font-family: var(--garamond); font-style: italic; font-size: clamp(17px, 1.6vw, 21px);
  color: rgba(240,234,216,0.68); max-width: 50ch; margin: 24px auto 0;
}
.btn-fonte {
  display: inline-block; cursor: pointer; margin-top: 40px;
  font-family: var(--lapidaire); font-size: 14px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ivoire);
  padding: 21px 54px; border-radius: 2px;
  background: linear-gradient(160deg, #e0813c, #a83c0c);
  box-shadow: 0 0 44px rgba(229,110,40,0.4), 0 20px 38px -16px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,220,180,0.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-fonte:hover { transform: translateY(-3px); box-shadow: 0 0 60px rgba(229,110,40,0.55), 0 26px 44px -16px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,220,180,0.5); }
.btn-fonte:active { transform: scale(0.98); }
/* 14/08/2026 : deux boutons côte à côte dans le CTA (champ 'btn2' de cta-fonte.php).
   Le second est en contour : même taille et même rang que le premier, mais sans la lueur
   du four, pour que l'œil sache lequel est l'action principale. Ils s'empilent d'eux-mêmes
   sous 620 px grâce au flex-wrap, chacun gardant sa largeur de texte. */
.fonte-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; }
.fonte-actions .btn-fonte { margin-top: 0; }
.btn-fonte--ghost { background: none; color: rgba(240,234,216,0.92); border: 1px solid rgba(229,138,69,0.5); box-shadow: none; }
.btn-fonte--ghost:hover { background: rgba(229,110,40,0.12); border-color: var(--terracotta-hi); box-shadow: none; }
.cta-fonte .meta-fonte { font-family: var(--garamond); font-style: italic; font-size: 15px; color: rgba(240,234,216,0.55); margin: 30px 0 0; }
.cta-fonte .meta-fonte a { color: rgba(240,234,216,0.8); border-bottom: 1px solid rgba(229,138,69,0.4); transition: color 0.2s, border-color 0.2s; }
.cta-fonte .meta-fonte a:hover { color: var(--terracotta-hi); border-color: var(--terracotta-hi); }

/* ============================================================
   PROPORTIO — la figure du nombre d'or (page Votre projet)
   Le rectangle d'or complet : carrés, divisions, spirale au compas.
   ============================================================ */
.spirale-or { max-width: 880px; margin: 0 auto; }
.spirale-or svg { width: 100%; height: auto; display: block; }
.spirale-or .cadre { fill: none; stroke: rgba(74,68,60,0.38); stroke-width: 1; }
.spirale-or .arc { fill: none; stroke: var(--terracotta); stroke-width: 2; }
.spirale-or .ratio { font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 17px; fill: var(--muted); }
.spirale-or .phi { font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 15px; fill: var(--terracotta); }
.spirale-cap {
  text-align: center; font-family: var(--garamond); font-style: italic;
  font-size: 14.5px; color: var(--muted); max-width: 64ch; margin: 20px auto 0;
}
.triade { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 34px); max-width: var(--maxw); margin: clamp(40px, 6vh, 64px) auto 0; padding: 0; }
.vertu {
  padding: 30px 26px 26px; text-align: center;
  background: linear-gradient(160deg, var(--plaque-a), var(--plaque-b));
  border: 1px solid var(--line); border-radius: 2px;
  box-shadow: 0 20px 38px -24px rgba(53,48,42,0.55), inset 0 1px 0 rgba(255,255,255,0.85);
}
.vertu b { display: block; font-family: var(--lapidaire); font-weight: 500; font-size: clamp(18px, 2vw, 24px); letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta); }
.vertu i { display: block; font-family: var(--garamond); font-style: italic; font-size: 14px; color: var(--muted); margin: 4px 0 14px; }
.vertu h3 { font-family: var(--lapidaire); font-weight: 500; font-size: 16.5px; letter-spacing: 0.03em; text-transform: none; color: var(--pierre); margin-bottom: 8px; }
.vertu p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .works__grid { grid-template-columns: 1fr; max-width: 640px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 30px; }
  .quotes { grid-template-columns: 1fr; max-width: 640px; }
  .pgrid, .catgrid { grid-template-columns: repeat(2, 1fr); }
  .etudes { grid-template-columns: repeat(2, 1fr); }
  .fonte { grid-template-columns: repeat(2, 1fr); }
  /* bento : sous 1024px, tesselles égales (pavage garanti, sans trou) */
  .mosaique { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 32vw, 220px); }
  .mosaique .mo--4x2, .mosaique .mo--2x2, .mosaique .mo--2x1, .mosaique .mo--3x1, .mosaique .memblema { grid-column: auto; grid-row: auto; }
}

/* ===== LA BARRE DE NAVIGATION, seuils revus le 07/08/2026, puis le 08/08 =====
   Le menu est passé à 5 liens (Coulisses entre, Prestations descend au pied de page).
   Mesuré au navigateur : la barre ne tenait plus entre 820 et ~1050 px, le bloc de
   droite (téléphone + bouton) sortait de l'écran. Le défaut PRÉEXISTAIT à 4 liens
   (il cassait déjà vers 950) ; le 5e l'a repoussé à 1050.
   08/08/2026 : « À propos » devient « Le collectif », plus large d'environ 40 px.
   À 1280 les libellés cassaient en deux lignes (les liens n'avaient pas de nowrap,
   ils se comprimaient au lieu de déborder). Trois gestes, mesurés :
     · nowrap sur les liens : un libellé ne se plie jamais ;
     · sous 1360 px la barre se resserre (au lieu de 1200) ;
     · sous 1080 px le burger prend le relais (au lieu de 1024).
   Les règles de barre sont sorties de la media query 820, qui garde le reste. */
@media (max-width: 1360px) {
  .nav__links { gap: 18px; }
  .nav__links a { letter-spacing: 0.12em; }
}
/* 11/08/2026 : SEUIL REMONTÉ DE 1080 À 1160, mesuré et non estimé. À 1081 px la
   barre à cinq entrées avec « À propos » ne gardait que 2 px de marge (besoin
   1079 pour 1081 de large) ; « Le collectif », plus long de quatre caractères,
   la faisait déborder. C'est la deuxième fois que ce libellé casse la barre :
   la première, le 08/08, avait déjà imposé le nowrap et le seuil de 1360.
   RÈGLE : tout changement de libellé du menu se remesure aux deux bornes, juste
   au-dessus du burger et juste au-dessus de 1360. */
@media (max-width: 1160px) {
  .nav__links { display: none; }
  .nav .btn--nav { display: none; }
  .nav__burger { display: block; }
  .nav__mobile {
    display: flex; position: fixed; inset: 0; z-index: 49;
    flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    background: var(--marbre);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  body.nav-open .nav__mobile {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }
  .nav__mobile a {
    font-family: var(--lapidaire); font-size: clamp(20px, 6vw, 26px); letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--pierre);
  }
  .nav__mobile a.is-active { color: var(--terracotta); }
  .nav__mobile .nav__mobile-tel {
    margin-top: 14px; font-family: var(--garamond); font-style: italic; font-size: 17px;
    letter-spacing: 0.02em; text-transform: none; color: var(--muted);
  }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 820px) {
  .hero { padding-top: 96px; }
  .hero__title { font-size: clamp(40px, 12vw, 64px); }
  .hero__plaques { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .door__inner, .contact__inner { grid-template-columns: 1fr; }
  .door--reverse .door__media { order: 0; }
  .door--reverse .door__text { order: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .values { columns: 1; }
  .reals { grid-template-columns: 1fr; }
  .triade { grid-template-columns: 1fr; }
  body { font-size: 17px; }
  .cachet { display: none; } /* l'oblitération gêne la lecture sur petit écran */
  /* la colonne se range à gauche, le récit passe à droite */
  .colonne-wrap::before { left: 40px; width: 60px; }
  .colonne-cap, .colonne-base { margin-left: 12px; width: 116px; }
  .colonne-cap .echine { width: 96px; }
  .chap { grid-template-columns: 92px 1fr; column-gap: 8px; padding: 16px 0; }
  .chap + .chap { margin-top: 0; } /* même côté empilé : pas d'imbrication en mobile */
  .chap__num { grid-column: 1; width: 54px; height: 54px; }
  .chap:nth-child(odd) .chap__txt, .chap:nth-child(even) .chap__txt { grid-column: 2; justify-self: start; text-align: left; max-width: none; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; }
  .refs__list { gap: 10px 20px; }
  .pgrid, .catgrid { grid-template-columns: 1fr; max-width: 420px; }
  .etudes { grid-template-columns: 1fr; }
  .mosaique { grid-template-columns: 1fr; max-width: 460px; }
  .fonte { grid-template-columns: 1fr; max-width: 420px; }
  .lettre { transform: none; }
  .timbre { width: 82px; top: 18px; right: 18px; }
  .lettre__salut { padding-right: 92px; } /* laisse la place au timbre en coin */
  .ligne { flex-direction: column; align-items: stretch; gap: 5px; }
  .ligne input, .ligne select { width: 100%; }
}

/* ============================================================
   REDUCED MOTION — neutralise tout
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal, .ml-reveal .ml-line__inner { opacity: 1 !important; transform: none !important; }
  .frame img { transition: none !important; }
}

/* ---------- Bandeau de consentement (RGPD) ---------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--salle); color: var(--ivoire-soft);
  border-top: 1px solid rgba(240, 234, 216, 0.14);
  box-shadow: 0 -18px 44px -26px rgba(0, 0, 0, 0.7);
}
.consent[hidden] { display: none; }
.consent__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 36px; flex-wrap: wrap;
}
.consent__text {
  margin: 0; max-width: 64ch;
  font-family: var(--garamond); font-size: 15px; line-height: 1.5; color: var(--ivoire-soft);
}
.consent__text a { color: var(--terracotta-hi); text-decoration: underline; }
.consent__actions { display: flex; gap: 12px; flex: 0 0 auto; }
.consent__actions .btn { margin-top: 0; }
@media (max-width: 640px) {
  .consent__inner { padding: 14px 22px; }
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1 1 0; text-align: center; padding-left: 0; padding-right: 0; }
}

/* ---------- Accueil resserré (05/08/2026) — hero, provinces en cartes, preuve noire ----------
   Maquette validée par Nicolas le 05/08. Les plaques du hero disparaissent au profit
   d'une ligne de métier et de deux actions ; l'aiguillage devient cinq cartes qui
   LISTENT ce qu'on fait dans chaque province ; la frise de logos passe au marbre noir
   (les fichiers logos sont clairs : on retire simplement leur inversion). */
.hero__metier {
  font-family: var(--lapidaire); text-transform: uppercase;
  font-size: clamp(15px, 1.9vw, 24px); letter-spacing: 0.22em; font-weight: 500;
  color: var(--terracotta-hi); margin: 6px 0 0;
}
.hero__actes { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: clamp(26px, 4vh, 40px); }
.hero__actes .btn--ghost { background: transparent; color: var(--ivoire); border: 1px solid rgba(240,234,216,0.55); }
.hero__actes .btn--ghost:hover { background: rgba(240,234,216,0.12); border-color: var(--ivoire); }

/* L'Arcade (accueil) : cinq portes en plein cintre, une par province. L'image vit
   dans l'arche, le nom est gravé au seuil, le survol allume la porte et révèle la
   liste des prestations. Maquette validée le 05/08/2026. */
.arcade { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 26px); }
.porte { display: flex; flex-direction: column; align-items: center; cursor: pointer; text-align: center; }
.porte__arche {
  position: relative; width: 100%; aspect-ratio: 3 / 4.4; overflow: hidden;
  border-radius: 999px 999px 2px 2px;
  border: 1px solid var(--line); background: var(--marbre-2);
  box-shadow: 0 24px 44px -30px rgba(53,48,42,0.6);
  transition: box-shadow .5s var(--ease);
}
.porte__arche::before {
  content: ""; position: absolute; inset: 7px; z-index: 2; pointer-events: none;
  border-radius: 999px 999px 2px 2px; border: 1px solid rgba(240,234,216,0.5);
}
.porte__arche img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.85); transition: transform 1.1s var(--ease), filter .5s var(--ease);
}
.porte__voile {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(15,13,11,0.82) 0%, rgba(15,13,11,0.12) 42%, transparent 65%);
}
.porte__dans {
  position: absolute; left: 10px; right: 10px; bottom: 14px; z-index: 3;
  font-family: var(--garamond); font-style: italic; font-size: 13.5px; line-height: 1.35;
  color: rgba(240,234,216,0.92);
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.porte:hover .porte__arche { box-shadow: 0 30px 54px -28px rgba(194,90,30,0.5); }
.porte:hover .porte__arche img { transform: scale(1.06); filter: none; }
.porte:hover .porte__dans, .porte:focus-visible .porte__dans { opacity: 1; transform: none; }
.porte__seuil { margin-top: 14px; }
.porte__qui { display: block; font-family: var(--garamond); font-style: italic; font-size: 13.5px; color: var(--muted-aa); }
.porte__nom {
  display: block; margin-top: 3px;
  font-family: var(--lapidaire); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.11em; font-size: clamp(13px, 1.05vw, 16px); color: var(--pierre);
  transition: color .3s var(--ease);
}
.porte:hover .porte__nom { color: var(--terracotta); }
/* aux largeurs intermédiaires, la rangée incomplète se centre au lieu de s'orpheliner */
@media (max-width: 1000px) {
  .arcade { display: flex; flex-wrap: wrap; justify-content: center; }
  .porte { width: min(31%, 240px); min-width: 170px; }
}
@media (max-width: 640px) { .porte { width: 46%; min-width: 140px; } }

/* Le Polyptyque (prestations, Familia) : les volets d'un retable. Chaque volet
   remplit sa part de la largeur ; le survol l'ouvre et révèle sa province.
   Maquette validée le 05/08/2026. */
.polyptyque { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 6px; height: clamp(380px, 46vh, 500px); }
.volet {
  position: relative; flex: 1; overflow: hidden; cursor: pointer;
  border-radius: 2px; border: 1px solid rgba(15,13,11,0.5); background: var(--salle);
  transition: flex .65s var(--ease);
}
.volet:hover, .volet:focus-visible { flex: 3.2; }
.volet > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.75) brightness(0.8); transition: filter .6s var(--ease), transform 1.2s var(--ease);
}
.volet:hover > img { filter: none; transform: scale(1.04); }
.volet__nuit { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,13,11,0.9) 0%, rgba(15,13,11,0.25) 55%, rgba(15,13,11,0.35) 100%); }
.volet__clef {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  font-family: var(--lapidaire); font-size: 13px; color: rgba(240,234,216,0.75);
}
.volet__tranche {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--lapidaire); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: clamp(13px, 1.1vw, 17px); font-weight: 500; color: var(--ivoire);
  white-space: nowrap; transition: opacity .3s var(--ease);
}
.volet__fiche {
  position: absolute; left: clamp(16px,2vw,30px); right: clamp(16px,2vw,30px); bottom: clamp(16px,2.4vh,26px);
  opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease) .15s, transform .45s var(--ease) .15s;
}
.volet:hover .volet__tranche { opacity: 0; }
.volet:hover .volet__fiche, .volet:focus-visible .volet__fiche { opacity: 1; transform: none; }
.volet__qui { display: block; font-family: var(--garamond); font-style: italic; font-size: 14px; color: rgba(240,234,216,0.85); }
.volet__nom {
  display: block; margin: 2px 0 6px;
  font-family: var(--lapidaire); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: clamp(17px, 1.5vw, 23px); font-weight: 500; color: var(--ivoire);
}
.volet__fait { font-size: 14.5px; line-height: 1.6; color: rgba(240,234,216,0.92); margin: 0 0 10px; }
.volet__fait i { font-style: normal; color: var(--terracotta-hi); }
.volet__aller { font-family: var(--lapidaire); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta-hi); }
@media (max-width: 900px) {
  .polyptyque { flex-direction: column; height: auto; }
  .volet { min-height: 96px; flex: none; }
  .volet:hover { flex: none; min-height: 240px; }
  .volet__tranche { writing-mode: horizontal-tb; left: 20px; transform: none; bottom: 18px; }
}

/* la preuve : la ligne de chiffres au-dessus des logos */
.preuve__chiffres {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
  margin: 0 0 clamp(22px,2.6vh,34px); padding: 0; list-style: none;
  font-family: var(--garamond); font-style: italic; color: var(--muted-aa); font-size: 15px;
}
.preuve__chiffres b { font-family: var(--lapidaire); font-style: normal; font-weight: 500; color: var(--pierre); font-size: 1.15em; }

/* la preuve en marbre noir : les logos, fichiers clairs, perdent leur inversion */
.refs--noir { background-color: var(--salle); background-image: none; border-color: rgba(240,234,216,0.12); }
.refs--noir .refs__logo img { filter: none; opacity: 0.6; }
.refs--noir .refs__logo:hover img { opacity: 0.95; }
.refs--noir .refs__eyebrow { color: var(--terracotta-hi); }
.refs--noir .refs__eyebrow .eyebrow__fr { color: var(--ivoire-soft); }
.refs--noir .preuve__chiffres { color: var(--ivoire-soft); }
.refs--noir .preuve__chiffres b { color: var(--ivoire); }

/* une seule section de marbre : la tete perd sa bande pierre, espaces symetriques
   autour du filet terracotta de la capitale, oeuvres aux marges egales */
.provinces__head { padding-top: clamp(56px, 8vh, 100px); padding-bottom: clamp(36px, 5vh, 64px); }
.provinces .capitale { padding-top: 0; padding-bottom: clamp(44px, 6vh, 72px); }
.works.pierre-band { padding-top: clamp(56px, 8vh, 100px); padding-bottom: clamp(56px, 8vh, 100px); }
.works.pierre-band .works__head { padding-bottom: clamp(34px, 5vh, 60px); }

@media (prefers-reduced-motion: reduce) {
  .porte__arche, .porte__arche img, .porte__dans, .porte__nom,
  .volet, .volet > img, .volet__fiche, .volet__tranche { transition: none !important; }
  .porte:hover .porte__arche img, .volet:hover > img { transform: none; }
}
