/* ==========================================================================
   MSR Second Œuvre : V5 clair premium
   Structure et animations ecoLINEAR (planche d'architecte, blocs, fiches
   épinglées, grille scindée, viseur) + base Wild AG (crème, serif dégradé,
   popups, ticker, cartouche)
   ========================================================================== */

:root {
  --fond: #f5f1ea;
  --fond-2: #efe9df;
  --encre: #2b241c;
  --encre-2: #6d6156;
  --brun: #9a6a4f;
  --cuivre: #c98544;
  --rouge: #b41014;
  --blanc: #fdfcfa;
  --sombre: #241d16;
  --degrade: linear-gradient(100deg, #8a5040 0%, var(--rouge) 90%);
  --serif: "Times New Roman", Times, "Liberation Serif", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --rayon: 14px;
  --transition: cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: var(--sans);
  background: var(--fond);
  color: var(--encre);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
main { display: block; }
.vh {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.cadre { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.cadre--etroit { max-width: 880px; }

/* ---------- Titres ---------- */
.h2-serif {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brun);
  padding-bottom: 0.12em;
}
.h2-serif--clair {
  background: linear-gradient(100deg, #e8d9c8 0%, #f3b28f 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #e8d9c8;
}
.masque { overflow: hidden; }

/* Étiquette de section (repères d'angle ecoLINEAR) */
.etiquette {
  position: relative;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--encre-2);
  padding: 8px 16px;
  margin-bottom: 22px;
}
.etiquette--claire { color: #cbb9a6; }
.coins b {
  position: absolute; width: 9px; height: 9px;
  border-color: var(--cuivre); border-style: solid; border-width: 0;
}
.coins b:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.coins b:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.coins b:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.coins b:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.p-groupe p { max-width: 60ch; color: var(--encre-2); margin-bottom: 1em; }
.p-groupe p strong { color: var(--encre); }
.processus .p-groupe p { color: #cbb9a6; }

/* Annotation fig. */
.fig-note {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--encre-2);
  padding-top: 10px;
}
.fig-coins { pointer-events: none; }
.fig-coins b {
  position: absolute; width: 14px; height: 14px;
  border-color: var(--cuivre); border-style: solid; border-width: 0;
}
.fig-coins b:nth-child(1) { top: -7px; left: -7px; border-top-width: 1.5px; border-left-width: 1.5px; }
.fig-coins b:nth-child(2) { top: -7px; right: -7px; border-top-width: 1.5px; border-right-width: 1.5px; }
.fig-coins b:nth-child(3) { bottom: -7px; left: -7px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.fig-coins b:nth-child(4) { bottom: -7px; right: -7px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.35s var(--transition), color 0.35s var(--transition), border-color 0.35s var(--transition), transform 0.35s var(--transition);
  white-space: nowrap;
}
.btn { position: relative; overflow: hidden; }
.btn__t { display: inline-block; transition: transform 0.45s var(--transition); }
.btn::after {
  content: attr(data-texte);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(108%);
  transition: transform 0.45s var(--transition);
}
.btn:hover .btn__t { transform: translateY(-150%); }
.btn:hover::after { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); }
.btn--plein { background: var(--rouge); color: #fff; }
.btn--plein:hover { background: #8f0d10; }
.btn--degrade { background: var(--degrade); color: #fff; }
.btn--degrade:hover { filter: brightness(1.12); }
.btn--contour-clair { border-color: rgba(255,255,255,0.65); color: #fff; }
.btn--contour-clair:hover { background: #fff; color: var(--encre); }
.btn--contour-sombre { border-color: rgba(43,36,28,0.35); color: var(--encre); }
.btn--contour-sombre:hover { background: var(--encre); color: var(--fond); }

/* ---------- Transition d'entrée : blocs + compteur ---------- */
.transition { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.transition__blocs {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
}
.transition__blocs span { background: var(--sombre); transform-origin: top; }
.transition__centre {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
}
.transition__logo { width: clamp(150px, 24vw, 240px); }
.transition__compte {
  font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; color: #e8d9c8;
  font-variant-numeric: tabular-nums;
}
html.sans-anim .transition { display: none; }

/* ---------- Curseur personnalisé ---------- */
.curseur {
  position: fixed; top: 0; left: 0; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--rouge); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s var(--transition);
}
.curseur.actif { transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (pointer: coarse) { .curseur { display: none; } }
html.sans-anim .curseur { display: none; }

/* ---------- Voile ---------- */
.voile {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(30, 23, 16, 0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s var(--transition);
}
body.menu-ouvert .voile, body.popup-ouverte .voile { opacity: 1; pointer-events: auto; }

/* ---------- Burger ---------- */
.burger { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px 6px; }
.burger span {
  width: 26px; height: 2px; background: var(--encre); border-radius: 2px;
  transition: width 0.3s;
}
.burger:hover span:nth-child(2) { width: 16px; }

/* ---------- En-tête collé ---------- */
.colle {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  background: rgba(245, 241, 234, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 30px rgba(43, 36, 28, 0.06);
  transform: translateY(-105%);
  transition: transform 0.5s var(--transition);
}
.colle.visible { transform: translateY(0); }
.colle__inner {
  max-width: 1240px; margin: 0 auto;
  padding: 12px clamp(20px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.colle__logo img { height: 40px; width: auto; }
.colle__droite { display: flex; align-items: center; gap: 16px; }

/* ---------- Menu plein écran ---------- */
.menu {
  position: fixed; inset: 0; z-index: 100;
  background: var(--fond);
  clip-path: inset(0 0 0 100%);
  transition: clip-path 0.65s var(--transition);
  overflow-y: auto;
}
body.menu-ouvert .menu { clip-path: inset(0 0 0 0); }
.menu__plan { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.menu__inner {
  position: relative;
  min-height: 100%;
  display: flex; flex-direction: column;
  padding: 26px clamp(24px, 6vw, 72px) 48px;
}
.menu__haut { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(30px, 6vh, 70px); }
.menu__logo { height: 46px; width: auto; }
.menu__fermer { position: relative; width: 44px; height: 44px; }
.menu__fermer span {
  position: absolute; top: 50%; left: 50%; width: 28px; height: 2px;
  background: var(--encre); border-radius: 2px;
  transition: background 0.3s;
}
.menu__fermer span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.menu__fermer span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.menu__fermer:hover span { background: var(--rouge); }
.menu__liens { list-style: none; }
.menu__liens li { border-bottom: 1px solid rgba(154, 106, 79, 0.18); overflow: hidden; }
.menu__liens a {
  display: flex; align-items: baseline; gap: 20px;
  padding: clamp(12px, 2vh, 20px) 0;
  transition: padding-left 0.4s var(--transition);
}
.menu__liens a:hover { padding-left: 14px; }
.menu__liens b {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em;
  font-size: clamp(1.6rem, 4.2vh, 2.5rem); line-height: 1.15;
  background: var(--degrade);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brun);
  transition: letter-spacing 0.4s var(--transition);
}
.menu__liens a:hover b { letter-spacing: 0.015em; }
.menu__pied { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.menu__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--encre-2); margin-bottom: 8px; }
.menu__tel { font-family: var(--serif); font-size: 1.5rem; color: var(--encre); }
.menu__tel:hover, .menu__mail:hover { color: var(--rouge); }
.menu__mail { color: var(--encre-2); }

/* ---------- Hero : grande image + repères d'architecte ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__ombre {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,14,9,0.52) 0%, rgba(20,14,9,0.2) 35%, rgba(20,14,9,0.26) 70%, rgba(20,14,9,0.62) 100%);
}
.hero__entete {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px clamp(20px, 4vw, 48px);
}
.hero__logo-lien img { height: clamp(44px, 6vw, 58px); width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35)); }
.hero__nav { display: flex; gap: clamp(18px, 3vw, 40px); margin-left: auto; }
.hero__nav a {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color 0.3s;
}
.hero__nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: #fff;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--transition);
}
.hero__nav a:hover { color: #fff; }
.hero__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hero__entete-droite { display: flex; align-items: center; gap: 18px; }
.hero__contenu {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 60px);
}
.hero__sur {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  position: relative;
  padding: 8px 18px;
}
.hero__h1 {
  color: #fff;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.2vw, 3.3rem);
  line-height: 1.22;
  max-width: 22ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero__h1 em {
  font-family: var(--serif);
  letter-spacing: -0.02em;
  font-style: italic; font-weight: 350;
  font-size: 1.12em;
  color: #f6d9b0;
}
.hero__p {
  color: rgba(255,255,255,0.92);
  max-width: 56ch;
  margin: 22px 0 30px;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__reperes { pointer-events: none; }
.hero__reperes b {
  position: absolute; z-index: 6;
  width: 22px; height: 22px;
  border-color: rgba(255,255,255,0.75); border-style: solid; border-width: 0;
}
.hero__reperes b:nth-child(1) { top: 88px; left: clamp(20px, 4vw, 48px); border-top-width: 2px; border-left-width: 2px; }
.hero__reperes b:nth-child(2) { top: 88px; right: clamp(20px, 4vw, 48px); border-top-width: 2px; border-right-width: 2px; }
.hero__reperes b:nth-child(3) { bottom: 92px; left: clamp(20px, 4vw, 48px); border-bottom-width: 2px; border-left-width: 2px; }
.hero__reperes b:nth-child(4) { bottom: 92px; right: clamp(20px, 4vw, 48px); border-bottom-width: 2px; border-right-width: 2px; }
.hero__legende {
  position: absolute; z-index: 6;
  left: clamp(34px, 5vw, 62px); bottom: 106px;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.hero__fleche {
  position: absolute; bottom: 86px; left: 50%; transform: translateX(-50%);
  z-index: 6; color: #fff; width: 12px; height: 38px; overflow: hidden;
}
.hero__fleche svg { width: 100%; height: 100%; animation: fleche-boucle 2.6s var(--transition) infinite; }
@keyframes fleche-boucle {
  0%, 30% { transform: translateY(0); }
  55% { transform: translateY(110%); }
  55.01% { transform: translateY(-110%); }
  75% { transform: translateY(-110%); }
  100% { transform: translateY(0); }
}
.hero__coin { position: absolute; bottom: -1px; z-index: 7; width: clamp(40px, 6vw, 66px); height: auto; }
.hero__coin--g { left: 0; }
.hero__coin--d { right: 0; transform: scaleX(-1); }

/* ---------- À propos : feuille + viseur ---------- */
.apropos { padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 110px); }
.apropos__grille {
  display: grid; grid-template-columns: 220px 1fr;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: clamp(70px, 10vw, 130px);
}
.apropos__label { position: relative; }
.apropos__label .etiquette { position: sticky; top: 90px; }
.feuille {
  position: relative;
  background: var(--blanc);
  border: 1px solid rgba(154, 106, 79, 0.18);
  border-radius: var(--rayon);
  padding: clamp(30px, 5vw, 70px);
  box-shadow: 0 20px 60px rgba(43, 36, 28, 0.06);
  overflow: hidden;
}
.feuille__texte {
  letter-spacing: -0.03em;
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.35;
  color: var(--encre);
  max-width: 26ch;
}
.feuille__texte strong { font-weight: 500; color: var(--rouge); }
.feuille__texte em { font-style: italic; color: var(--encre-2); }
.feuille__texte .mf { display: inline-block; }
.feuille__note {
  position: absolute;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cuivre);
  padding-left: 26px;
}
.feuille__note::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 18px; height: 1px; background: var(--cuivre);
}
.feuille__note--a { top: 20px; right: 26px; }
.feuille__note--b { bottom: 52px; right: 15%; }
.feuille__note--c { bottom: 20px; left: 26px; }
.viseur { position: absolute; inset: 0; pointer-events: none; }
.viseur__x {
  position: absolute; left: 0; right: 0; top: var(--vy, 30%);
  height: 1px; background: rgba(201, 133, 68, 0.5);
}
.viseur__y {
  position: absolute; top: 0; bottom: 0; left: var(--vx, 20%);
  width: 1px; background: rgba(201, 133, 68, 0.5);
}
.viseur__pointe {
  position: absolute; top: var(--vy, 30%); left: var(--vx, 20%);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--rouge);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(180, 16, 20, 0.15);
}
html.sans-anim .viseur { display: none; }

/* ---------- Portrait / Valeurs ---------- */
.portrait__grille {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.portrait__photo { position: relative; border-radius: var(--rayon); }
.portrait__photo > img { border-radius: var(--rayon); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.valeurs { margin-top: clamp(70px, 10vw, 130px); }
.valeurs__liste {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.valeurs__item h3 {
  font-size: 1.05rem; font-weight: 600; letter-spacing: 0.01em;
  margin-bottom: 10px; color: var(--encre);
}
.valeurs__item p { font-size: 0.9rem; color: var(--encre-2); }
.valeurs__trait { align-self: stretch; display: flex; }
.valeurs__trait span { width: 1px; background: rgba(154, 106, 79, 0.3); display: block; height: 100%; }

/* ---------- Slogan / ticker ---------- */
.slogan { overflow: hidden; }
.slogan__photo { height: clamp(320px, 55vh, 560px); overflow: hidden; }
.slogan__photo img { width: 100%; height: 118%; object-fit: cover; }
.slogan__ticker { padding: clamp(34px, 5vw, 60px) 0; overflow: hidden; white-space: nowrap; }
.ticker__ligne { display: inline-flex; animation: ticker-defile 22s linear infinite; }
.affiche {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(2rem, 5.4vw, 4.2rem);
  color: var(--encre);
  letter-spacing: -0.01em;
}
.affiche em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em;
  background: var(--degrade);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brun);
}
@keyframes ticker-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Prestations : pile de fiches épinglées ---------- */
.prestations { padding: clamp(60px, 9vw, 130px) 0 0; background: var(--fond-2); }
.pile { margin-top: clamp(30px, 4vw, 60px); }
.pile__scene {
  position: relative;
  height: 100svh; min-height: 620px;
  overflow: hidden;
}
.fiche {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  padding: clamp(30px, 5vh, 70px) clamp(24px, 6vw, 100px);
  background: var(--fond-2);
}
.fiche__feuille { position: relative; justify-self: end; width: min(440px, 100%); }
.fiche__plaque {
  position: relative;
  background: var(--blanc);
  padding: 14px 14px 12px;
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(43, 36, 28, 0.14);
}
.fiche__plaque img { aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; border-radius: 3px; }
.fiche__annotation {
  display: block;
  padding-top: 10px;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--encre-2);
}
.fiche__ticks { pointer-events: none; }
.fiche__ticks b {
  position: absolute; width: 16px; height: 16px;
  border-color: var(--cuivre); border-style: solid; border-width: 0;
}
.fiche__ticks b:nth-child(1) { top: -8px; left: -8px; border-top-width: 1.5px; border-left-width: 1.5px; }
.fiche__ticks b:nth-child(2) { top: -8px; right: -8px; border-top-width: 1.5px; border-right-width: 1.5px; }
.fiche__ticks b:nth-child(3) { bottom: -8px; left: -8px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.fiche__ticks b:nth-child(4) { bottom: -8px; right: -8px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.fiche__texte { position: relative; max-width: 520px; }
.fiche__titre {
  letter-spacing: -0.03em;
  position: relative; z-index: 1;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 18px;
  background: var(--degrade);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brun);
  padding-top: clamp(2rem, 4vw, 3.4rem);
}
.fiche__texte p { position: relative; z-index: 1; color: var(--encre-2); font-size: 0.95rem; margin-bottom: 22px; }
.pile__rail {
  position: absolute; right: clamp(10px, 2vw, 30px); top: 50%;
  transform: translateY(-50%);
  height: 200px;
  display: flex; gap: 10px; align-items: stretch;
}
.pile__voie { width: 2px; background: rgba(154, 106, 79, 0.22); border-radius: 2px; position: relative; overflow: hidden; }
.pile__remplissage {
  position: absolute; top: 0; left: 0; right: 0; height: 100%;
  background: var(--rouge);
  transform: scaleY(0); transform-origin: top;
}
.pile__crans { display: flex; flex-direction: column; justify-content: space-between; }
.pile__crans b {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(154, 106, 79, 0.3);
  transition: background 0.3s, transform 0.3s;
}
.pile__crans b.actif { background: var(--rouge); transform: scale(1.35); }

/* Fiches sans animation / mobile : liste verticale simple */
html.sans-anim .pile__scene { height: auto; min-height: 0; overflow: visible; }
html.sans-anim .fiche { position: relative; inset: auto; margin-bottom: 8px; }
html.sans-anim .pile__rail { display: none; }

/* ---------- Réalisations : grille scindée ---------- */
.realisations { padding: clamp(70px, 10vw, 140px) 0 clamp(50px, 7vw, 90px); }
.realisations__haut {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(28px, 4vw, 48px);
}
.grille-scindee {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 36px);
  align-items: start;
}
.grille-scindee__colonne { display: flex; flex-direction: column; gap: clamp(34px, 4vw, 56px); }
.grille-scindee__colonne:nth-child(2) { margin-top: clamp(40px, 6vw, 90px); }
.scinde { display: block; cursor: none; }
@media (hover: none), (pointer: coarse) { .scinde { cursor: pointer; } }
.scinde__duo {
  position: relative; display: block;
  aspect-ratio: 1 / var(--ratio, 1);
  overflow: visible;
}
.scinde__moitie {
  position: absolute; left: 0; right: 0; height: 50%;
  overflow: hidden; display: block;
  transition: transform 0.55s var(--transition);
}
.scinde__moitie--haut { top: 0; border-radius: var(--rayon) var(--rayon) 0 0; }
.scinde__moitie--bas { bottom: 0; border-radius: 0 0 var(--rayon) var(--rayon); }
.scinde__moitie img { position: absolute; left: 0; width: 100%; height: 200%; object-fit: cover; max-width: none; }
.scinde__moitie--haut img { top: 0; }
.scinde__moitie--bas img { bottom: 0; }
.scinde__titre {
  letter-spacing: -0.02em;
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  height: 0; overflow: hidden;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--encre);
  white-space: nowrap;
  transition: height 0.55s var(--transition);
}
.scinde:hover .scinde__moitie--haut { transform: translateY(-26px); }
.scinde:hover .scinde__moitie--bas { transform: translateY(26px); }
.scinde:hover .scinde__titre { height: 52px; }
.scinde__legende { display: flex; flex-direction: column; padding: 14px 4px 0; }
.scinde__legende b { font-weight: 600; font-size: 0.95rem; }
.scinde__legende i { font-style: normal; font-size: 0.8rem; color: var(--encre-2); margin-top: 2px; }

/* Avant / après */
.avap { margin-top: clamp(60px, 8vw, 110px); }
.avap__intro { margin-bottom: 22px; }
.avap__intro h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--encre); }
.avap__intro p { color: var(--encre-2); font-size: 0.92rem; margin-top: 6px; }
.cmp {
  position: relative; border-radius: var(--rayon); overflow: hidden;
  aspect-ratio: 16 / 9; max-height: 620px;
  touch-action: none; user-select: none;
  background: var(--fond-2);
}
.cmp img { width: 100%; height: 100%; object-fit: cover; }
.cmp__apres { position: absolute; inset: 0; }
.cmp__masque {
  position: absolute; inset: 0; width: 50%; overflow: hidden;
  border-right: 2px solid #fff;
}
.cmp__masque img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; }
.cmp__poignee { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; z-index: 3; outline-offset: 4px; }
.cmp__rond {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--encre);
  display: flex; align-items: center; justify-content: center; gap: 3px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  cursor: ew-resize;
}
.cmp__rond svg { width: 12px; height: 9px; }
.cmp__tag {
  position: absolute; bottom: 14px; z-index: 2;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  background: rgba(20, 14, 9, 0.55); color: #fff;
  padding: 6px 14px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.cmp__tag--avant { left: 14px; }
.cmp__tag--apres { right: 14px; }

/* ---------- Processus ---------- */
.processus {
  background: var(--sombre);
  color: #f3e9dc;
  padding: clamp(70px, 10vw, 140px) 0;
  border-radius: clamp(20px, 3vw, 40px);
  margin: 0 clamp(8px, 1.2vw, 20px);
}
.processus__grille {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.processus__liste { display: flex; flex-direction: column; gap: 14px; }

.ouvre {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%;
  padding: 16px 22px;
  border: 1px solid rgba(43, 36, 28, 0.25);
  border-radius: 999px;
  text-align: left;
  transition: background 0.4s var(--transition), border-color 0.4s var(--transition), color 0.4s var(--transition);
}
.ouvre__trait {
  width: 22px; height: 2px; flex: 0 0 22px;
  background: var(--degrade); border-radius: 2px;
  transition: width 0.35s var(--transition);
}
.ouvre:hover .ouvre__trait { width: 34px; }
.ouvre__gauche { display: flex; align-items: center; gap: 16px; }
.ouvre__titre { font-weight: 600; font-size: 0.98rem; }
.ouvre__fleche { width: 18px; height: 12px; flex: 0 0 18px; color: var(--brun); transition: color 0.3s; }
.ouvre .fleche-ligne { transform-origin: right center; transition: transform 0.35s var(--transition); }
.ouvre:hover { background: var(--encre); border-color: var(--encre); color: var(--fond); }
.ouvre:hover .ouvre__fleche { color: var(--cuivre); }
.ouvre:hover .fleche-ligne { transform: scaleX(1.9); }
.ouvre--clair { border-color: rgba(243, 233, 220, 0.35); color: #f3e9dc; }
.ouvre--clair:hover { background: var(--fond); border-color: var(--fond); color: var(--encre); }

/* ---------- Lecture / FAQ ---------- */
.lecture { padding: clamp(70px, 10vw, 140px) 0 clamp(50px, 7vw, 90px); }
.faq { margin-top: clamp(14px, 2vw, 26px); }
.faq details { border-bottom: 1px solid rgba(154, 106, 79, 0.25); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 16px 34px 16px 0;
  font-weight: 600; font-size: 0.98rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif); font-size: 1.4rem; font-weight: 300; color: var(--cuivre);
  transition: transform 0.3s var(--transition);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--encre-2); max-width: 65ch; }

/* ---------- Contact ---------- */
.contact { padding: clamp(30px, 5vw, 70px) 0 clamp(80px, 11vw, 150px); }
.contact__grille {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact__lignes { margin-top: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.contact__ligne {
  display: flex; align-items: baseline; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid rgba(154, 106, 79, 0.22);
}
.contact__ligne span {
  flex: 0 0 110px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--encre-2);
}
.contact__ligne a { font-weight: 600; transition: color 0.3s; }
.contact__ligne a:hover { color: var(--rouge); }
.contact__ligne em { font-style: normal; color: var(--encre-2); font-size: 0.92rem; }

.formulaire {
  background: var(--blanc);
  border: 1px solid rgba(154, 106, 79, 0.18);
  border-radius: var(--rayon);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 20px 60px rgba(43, 36, 28, 0.07);
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.formulaire__champs { display: flex; flex-direction: column; gap: 14px; }
.formulaire input:not(.hp):not([type="checkbox"]), .formulaire textarea {
  font: inherit; color: var(--encre);
  background: var(--fond);
  border: 1px solid rgba(154, 106, 79, 0.2);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 0.3s;
  width: 100%;
  resize: vertical;
}
.formulaire input:not([type="checkbox"]):focus, .formulaire textarea:focus { outline: none; border-color: var(--brun); }
.formulaire__rgpd {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.8rem; color: var(--encre-2);
  margin: 16px 0 20px; cursor: pointer;
}
.formulaire__rgpd input[type="checkbox"] {
  flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0;
  accent-color: var(--rouge); cursor: pointer;
}
.formulaire__rgpd span { flex: 1 1 auto; min-width: 0; line-height: 1.45; }
.formulaire .btn { width: 100%; }

/* ---------- Pied de page ---------- */
.pied { background: var(--fond-2); padding: clamp(50px, 7vw, 80px) 0 30px; }
.pied__trait { height: 1px; background: rgba(154, 106, 79, 0.3); margin-bottom: 40px; }
.pied__logo { height: 60px; width: auto; margin: 0 auto 30px; }
.pied__liens {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px; margin-bottom: 40px;
}
.pied__liens a { font-size: 0.85rem; font-weight: 500; color: var(--encre-2); transition: color 0.3s; }
.pied__liens a:hover { color: var(--rouge); }
.pied__cartouche {
  display: flex; flex-wrap: wrap; justify-content: center;
  border: 1px solid rgba(154, 106, 79, 0.3);
  border-radius: 8px;
  max-width: 780px; margin: 0 auto 34px;
}
.pied__cartouche span {
  flex: 1 1 160px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 18px;
  font-size: 0.82rem; font-weight: 500;
  border-right: 1px solid rgba(154, 106, 79, 0.3);
}
.pied__cartouche span:last-child { border-right: 0; }
.pied__cartouche i {
  font-style: normal; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--encre-2);
}
.pied__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  font-size: 0.76rem; color: var(--encre-2);
}
.pied__bas a { text-decoration: underline; text-underline-offset: 3px; }
.pied__bas a:hover { color: var(--rouge); }

/* ---------- WhatsApp flottant ---------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--transition);
}
.wa:hover { transform: scale(1.1); }
.wa svg { width: 30px; height: 30px; }
.wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Popups ---------- */
.popup {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--transition);
  overflow-y: auto;
}
.popup.visible { opacity: 1; pointer-events: auto; }
.popup__boite {
  position: relative;
  background: var(--fond);
  border-radius: var(--rayon);
  max-width: 880px; width: 100%;
  overflow: hidden;
  transform: translateY(26px) scale(0.98);
  transition: transform 0.45s var(--transition);
  box-shadow: 0 40px 120px rgba(20, 14, 9, 0.35);
  margin: auto;
}
.popup.visible .popup__boite { transform: translateY(0) scale(1); }
.popup__boite--texte { max-width: 640px; }
.popup__contenu { padding: clamp(26px, 4vw, 48px); }
.popup__contenu .h2-serif { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 6px; }
.popup__contenu p { color: var(--encre-2); margin-bottom: 1em; font-size: 0.95rem; }
.popup__entete { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.popup__fermer {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(245, 241, 234, 0.9);
  transition: background 0.3s;
}
.popup__fermer span {
  position: absolute; top: 50%; left: 50%; width: 18px; height: 2px;
  background: var(--encre); border-radius: 2px;
}
.popup__fermer span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.popup__fermer span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.popup__fermer:hover { background: var(--rouge); }
.popup__fermer:hover span { background: #fff; }
body.popup-ouverte { overflow: hidden; }
body.menu-ouvert { overflow: hidden; }

/* ---------- Pages intérieures ---------- */
.colle--fixe { transform: none; position: sticky; top: 0; }
.colle__nav { display: flex; gap: clamp(16px, 2.5vw, 34px); margin-left: auto; margin-right: 20px; }
.colle__nav a {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--encre-2);
  transition: color 0.3s;
}
.colle__nav a:hover, .colle__nav a.actif { color: var(--rouge); }

.sous-hero { position: relative; height: clamp(340px, 52vh, 520px); overflow: hidden; }
.sous-hero__media { position: absolute; inset: 0; overflow: hidden; }
.sous-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.sous-hero__ombre {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,14,9,0.35) 0%, rgba(20,14,9,0.15) 45%, rgba(20,14,9,0.65) 100%);
}
.sous-hero__contenu {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  max-width: 1240px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) clamp(28px, 4vw, 48px);
}
.fil { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 12px; }
.fil a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sous-hero__h1 {
  font-family: var(--serif); font-weight: 400;
  letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 3.3vw, 2.7rem);
  line-height: 1.12;
  color: #fff;
  max-width: 24ch;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.sous-hero__legende {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: 14px; z-index: 2;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.bloc { padding: clamp(44px, 6vw, 84px) 0; }
.rangee {
  display: grid; grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.rangee__label .etiquette { position: sticky; top: 90px; }
.rangee:has(.rangee__label:empty) { grid-template-columns: 1fr; }
.rangee:has(.rangee__label:empty) .rangee__label { display: none; }
/* Titre à gauche, texte à droite : le bloc occupe toute la largeur sans vide */
.rangee__contenu {
  min-width: 0;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(22px, 3.5vw, 56px); align-items: start;
}
.rangee__contenu > * { grid-column: 1 / -1; }
.rangee__contenu > .masque { grid-column: 1; }
.rangee__contenu > .p-groupe { grid-column: 2; grid-row: 1; }
.rangee__contenu > .masque .h2-serif--page { margin-bottom: 0; }
.bloc--bande { background: var(--fond-2); }
.bloc--bande .feuille, .bloc--bande .coches__col, .bloc--bande .tableau { background: var(--blanc); }
.h2-serif--page { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 14px; }
.p-groupe a { color: var(--rouge); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.p-groupe a:hover { color: #8f0d10; }

.duo {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.duo--inverse { grid-template-columns: 1.1fr 0.9fr; }
.duo--inverse .duo__photo { order: 2; }
.duo__photo { position: relative; }
.duo__photo > img { border-radius: var(--rayon); aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; }

.liees { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.liees .ouvre__gauche { flex-direction: column; align-items: flex-start; gap: 2px; }
.liees__sous { font-size: 0.8rem; color: var(--encre-2); font-weight: 400; }
.liees .ouvre:hover .liees__sous { color: rgba(245, 241, 234, 0.7); }

/* Planche : schéma technique sur feuille */
.planche { position: relative; align-self: start; }
.planche__feuille {
  background: var(--blanc);
  border: 1px solid rgba(154, 106, 79, 0.18);
  border-radius: 6px;
  padding: clamp(18px, 2.6vw, 34px);
  box-shadow: 0 20px 60px rgba(43, 36, 28, 0.08);
}
.planche__feuille svg { width: 100%; height: auto; display: block; }

/* Tableau comparatif */
.tableau-defile { overflow-x: auto; margin-top: 18px; border-radius: var(--rayon); border: 1px solid rgba(154, 106, 79, 0.25); }
.tableau { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--blanc); font-size: 0.9rem; }
.tableau th, .tableau td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(154, 106, 79, 0.18); }
.tableau thead th {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--encre-2); background: var(--fond-2);
}
.tableau tbody th { font-weight: 600; color: var(--encre); white-space: nowrap; }
.tableau tbody td { color: var(--encre-2); }
.tableau tbody tr:last-child th, .tableau tbody tr:last-child td { border-bottom: 0; }

/* Check-list à coches */
.coches {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  margin-top: 18px;
}
.coches__col {
  background: var(--blanc);
  border: 1px solid rgba(154, 106, 79, 0.2);
  border-radius: var(--rayon);
  padding: clamp(20px, 3vw, 32px);
}
.coches__col h3 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--encre-2); margin-bottom: 16px; }
.coches__col ul { list-style: none; }
.coches__col li { position: relative; padding: 7px 0 7px 30px; font-size: 0.92rem; color: var(--encre-2); }
.coches__oui::before, .coches__non::before {
  position: absolute; left: 0; top: 7px;
  font-weight: 700;
}
.coches__oui::before { content: "✓"; color: #3d7a45; }
.coches__non::before { content: "→"; color: var(--rouge); }

/* Zone d'intervention */
.villes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.villes span {
  padding: 9px 18px; border-radius: 999px;
  font-size: 0.84rem; font-weight: 500;
  border: 1px solid rgba(154, 106, 79, 0.3);
  color: var(--encre-2);
}
.villes__base { background: var(--encre); border-color: var(--encre); color: var(--fond) !important; font-weight: 600; }
.villes__prio { background: var(--degrade); border-color: transparent; color: #fff !important; font-weight: 600; }

/* Références */
.refs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(154, 106, 79, 0.25); }
.refs__titre { width: 100%; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--encre-2); }
.refs span {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  letter-spacing: -0.02em;
  color: var(--brun);
  position: relative;
  padding-left: 22px;
}
.refs span::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 14px; height: 1px; background: var(--cuivre);
}

.bande-devis {
  background: var(--sombre); color: #f3e9dc;
  border-radius: clamp(20px, 3vw, 40px);
  margin: clamp(20px, 3vw, 40px) clamp(8px, 1.2vw, 20px) clamp(50px, 6vw, 80px);
  padding: clamp(50px, 7vw, 90px) 0;
}
.bande-devis__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.bande-devis__inner p { color: #cbb9a6; max-width: 46ch; margin-top: 8px; }
.bande-devis__cta { display: flex; gap: 14px; flex-wrap: wrap; }


/* ==========================================================================
   PAGE PLACO : mise en page dédiée
   ========================================================================== */

/* Tête de page */
.tete { position: relative; height: clamp(420px, 62vh, 580px); overflow: hidden; }
.tete__media { position: absolute; inset: 0; overflow: hidden; }
.tete__media img { width: 100%; height: 100%; object-fit: cover; }
.tete__ombre {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,14,9,0.44) 0%, rgba(20,14,9,0.16) 32%, rgba(20,14,9,0.52) 66%, rgba(20,14,9,0.82) 100%);
}
.tete__contenu {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  max-width: 1240px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) clamp(34px, 5vw, 62px);
}
.tete__h1 {
  font-family: var(--serif); font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.05;
  color: #fff;
  max-width: 20ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.tete__sous {
  color: rgba(255,255,255,0.88);
  max-width: 54ch; margin-top: 18px;
  font-size: clamp(0.9rem, 1.3vw, 1.02rem);
}
.tete__reperes b {
  position: absolute; z-index: 3;
  width: 22px; height: 22px;
  border-color: rgba(255,255,255,0.7); border-style: solid; border-width: 0;
}
.tete__reperes b:nth-child(1) { top: 92px; left: clamp(20px, 4vw, 48px); border-top-width: 2px; border-left-width: 2px; }
.tete__reperes b:nth-child(2) { top: 92px; right: clamp(20px, 4vw, 48px); border-top-width: 2px; border-right-width: 2px; }
.tete__reperes b:nth-child(3) { bottom: 22px; left: clamp(20px, 4vw, 48px); border-bottom-width: 2px; border-left-width: 2px; }
.tete__reperes b:nth-child(4) { bottom: 22px; right: clamp(20px, 4vw, 48px); border-bottom-width: 2px; border-right-width: 2px; }
.tete__legende {
  position: absolute; right: clamp(56px, 6vw, 86px); bottom: 26px; z-index: 3;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* Manifeste */
.manifeste { padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); }
.manifeste__grille {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: stretch;
}
.manifeste__phrase {
  font-family: var(--serif); font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  line-height: 1.16;
  color: var(--encre);
  max-width: 25ch;
}
.manifeste__suite { margin-top: 26px; }
.manifeste__suite p { max-width: 54ch; color: var(--encre-2); }
.manifeste__photo { position: relative; display: flex; flex-direction: column; }
.manifeste__photo img {
  border-radius: var(--rayon); object-fit: cover;
  width: 100%; flex: 1 1 auto; min-height: 320px;
}

/* Triade : trois points, filet à gauche */
.triade { list-style: none; margin-top: clamp(34px, 5vw, 56px); display: grid; gap: clamp(22px, 3vw, 34px); }
.triade li { position: relative; padding-left: 26px; max-width: 58ch; }
.triade__filet {
  position: absolute; left: 0; top: 6px; bottom: 4px;
  width: 2px; background: var(--degrade);
  transform-origin: top;
}
.triade h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--encre); }
.triade p { font-size: 0.94rem; color: var(--encre-2); }

/* Établi : planche fixe + étapes qui défilent */
.etabli { padding: clamp(50px, 7vw, 90px) 0 clamp(60px, 8vw, 100px); background: var(--fond-2); }
.etabli__entete { margin-bottom: clamp(26px, 4vw, 48px); max-width: 44ch; }
.etabli__grille {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: stretch;
}
.etabli__fixe { position: relative; }
.etabli__fixe .planche { position: sticky; top: 104px; }
.legende { list-style: none; margin-top: 18px; display: grid; gap: 7px; }
.legende li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--encre-2);
  opacity: 0.32;
  transition: opacity 0.4s var(--transition), color 0.4s var(--transition);
}
.legende li.actif { opacity: 1; color: var(--rouge); }
.legende__marque { width: 20px; height: 2px; background: currentColor; flex: 0 0 20px; }
html.sans-anim .legende li { opacity: 1; }
.etabli__fixe .planche__feuille { background: var(--blanc); }
.sequence { position: relative; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background: var(--fond-2); }
.sequence img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s var(--transition);
}
.sequence img.active { opacity: 1; }
html.sans-anim .sequence { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; aspect-ratio: auto; background: none; }
html.sans-anim .sequence img { position: static; opacity: 1; aspect-ratio: 3 / 2; border-radius: 4px; }
.etabli__fixe .planche { align-self: start; }
.etabli__fixe [data-calque] { transition: opacity 0.5s var(--transition); }
.etabli__defile { display: grid; }
.temps {
  min-height: 46vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(154, 106, 79, 0.22);
  opacity: 0.32;
  transition: opacity 0.5s var(--transition);
}
.temps:last-child { border-bottom: 0; }
.temps.actif { opacity: 1; }
.temps h3 {
  font-family: var(--serif); font-weight: 400;
  letter-spacing: -0.03em;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.14; margin-bottom: 12px;
  background: var(--degrade);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brun);
}
.temps p { color: var(--encre-2); max-width: 52ch; }
html.sans-anim .temps { opacity: 1; }
html.sans-anim .etabli__fixe { position: static; }

/* Bande sombre */
.bande {
  background: var(--sombre); color: #f3e9dc;
  padding: clamp(60px, 8vw, 110px) 0;
  border-radius: clamp(20px, 3vw, 40px);
  margin: 0 clamp(8px, 1.2vw, 20px);
}
.bande__grille {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(34px, 5vw, 80px); align-items: center;
}
.bande .p-groupe p { color: #cbb9a6; }
.bande__photo { position: relative; }
.bande__photo img { border-radius: var(--rayon); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.bande__photo figcaption {
  padding-top: 12px; font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: #9e8d7c;
}

/* Nuancier : échantillons de plaque */
.nuancier { padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 70px); }
.nuancier__haut {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4.5vw, 70px); align-items: center;
  margin-bottom: clamp(34px, 5vw, 60px);
}
.nuancier__entete { max-width: 42ch; }
.nuancier__intro { color: var(--encre-2); max-width: 50ch; }
.nuancier__photo { position: relative; }
.nuancier__photo img { width: 100%; border-radius: var(--rayon); display: block; }
.nuancier__rangee { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 44px); }
.nuancier__rangee--quatre { grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 34px); }

/* Épaisseurs travaillées : une bande sobre, sans carte ni encadré */
.epaisseurs { margin-top: clamp(34px, 5vw, 58px); padding-top: clamp(22px, 3vw, 32px); border-top: 1px solid rgba(154, 106, 79, 0.2); }
.epaisseurs__titre { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--encre-2); margin-bottom: 18px; }
.epaisseurs__liste { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px clamp(20px, 3vw, 44px); }
.epaisseurs__liste li { display: flex; align-items: baseline; gap: 12px; }
.epaisseurs__liste b {
  font-family: var(--serif); font-weight: 400; font-size: 1.25rem;
  letter-spacing: -0.02em; color: var(--rouge); flex: 0 0 auto;
}
.epaisseurs__liste span { font-size: 0.9rem; color: var(--encre-2); }
.ech { position: relative; padding-top: 18px; }
.ech::before { content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 2px; background: var(--degrade); }
.ech h3 {
  font-family: var(--serif); font-weight: 400;
  letter-spacing: -0.03em;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  color: var(--encre); margin-bottom: 4px;
}
.ech__pieces {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cuivre); margin-bottom: 12px;
}
.ech p { font-size: 0.9rem; color: var(--encre-2); }

/* Acoustique */
.acou { padding: clamp(50px, 7vw, 90px) 0; }
.acou__grille {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 76px); align-items: center;
}
.acou__photo { position: relative; }
.acou__photo img { width: 100%; border-radius: var(--rayon); aspect-ratio: 3 / 2; object-fit: cover; }
.acou__texte { min-width: 0; }
.acou--inverse .acou__photo { order: 2; }
.acou--inverse .acou__texte { order: 1; }

/* Frise : trois photos en quinconce */
.frise { padding: clamp(56px, 8vw, 100px) 0; }
.frise__entete {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 64px); align-items: end;
  margin-bottom: clamp(30px, 4.5vw, 54px);
}
.frise__entete .etiquette { grid-column: 1; justify-self: start; }
.frise__entete .masque { grid-column: 1; }
.frise__intro { grid-column: 2; grid-row: 2; color: var(--encre-2); max-width: 46ch; }
.frise__grille {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 40px); align-items: start;
}
.frise__item { position: relative; }
.frise__item img {
  width: 100%; border-radius: var(--rayon); display: block;
  aspect-ratio: 3 / 4; object-fit: cover;
}
.frise__item .fig-note { padding-top: 10px; }
.frise__item--2 { margin-top: clamp(24px, 4vw, 64px); }
.frise__item--3 { margin-top: clamp(12px, 2vw, 32px); }

/* Engagements */
.engage { padding: clamp(40px, 6vw, 70px) 0 clamp(50px, 7vw, 90px); }
.engage__grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.6vw, 34px); }
.engage__col {
  border-radius: var(--rayon);
  padding: clamp(24px, 3.4vw, 42px);
}
.engage__col--oui { background: var(--blanc); border: 1px solid rgba(154, 106, 79, 0.2); }
.engage__col--non { background: var(--fond-2); border: 1px solid rgba(154, 106, 79, 0.25); }
.engage__col h2 {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--encre-2); margin-bottom: 18px;
}
.engage__col ul { list-style: none; }
.engage__col li { position: relative; padding: 9px 0 9px 30px; font-size: 0.92rem; color: var(--encre-2); }
.engage__col li + li { border-top: 1px solid rgba(154, 106, 79, 0.14); }
.engage__col--oui li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 11px; height: 6px; border-left: 2px solid #3d7a45; border-bottom: 2px solid #3d7a45;
  transform: rotate(-45deg);
}
.engage__col--non li::before {
  content: ""; position: absolute; left: 2px; top: 17px;
  width: 13px; height: 2px; background: var(--rouge);
}

/* Zone */
.zone-sect { padding: clamp(40px, 6vw, 70px) 0; }
.zone-sect__grille {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px); align-items: start;
}
.zone-sect__cote { padding-top: clamp(0px, 3vw, 46px); }

/* FAQ page */
.faq-sect { padding: clamp(50px, 7vw, 90px) 0; background: var(--fond-2); }
.faq-sect__grille {
  display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 70px); align-items: start;
}
.faq-sect .faq { margin-top: 0; }
.faq-sect__titre .etiquette { margin-bottom: 16px; }

/* Suite : pages liées */
.suite { padding: clamp(50px, 7vw, 90px) 0 clamp(20px, 3vw, 40px); }
.suite__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.suite__lien {
  display: flex; flex-direction: column; gap: 4px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(154, 106, 79, 0.25);
  border-radius: var(--rayon);
  transition: background 0.4s var(--transition), border-color 0.4s var(--transition), color 0.4s var(--transition);
}
.suite__label { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cuivre); }
.suite__titre {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.03em;
  font-size: clamp(1.2rem, 2vw, 1.55rem); color: var(--encre);
}
.suite__sous { font-size: 0.86rem; color: var(--encre-2); }
.suite__lien:hover { background: var(--encre); border-color: var(--encre); }
.suite__lien:hover .suite__titre, .suite__lien:hover .suite__sous { color: var(--fond); }

@media (max-width: 1000px) {
  .manifeste__grille { grid-template-columns: 1fr; }
  .manifeste__photo { max-width: 460px; }
  .etabli__grille { grid-template-columns: 1fr; gap: 26px; }
  .etabli__fixe .planche { position: static; }
  .legende li { opacity: 1; }
  .etabli__fixe [data-calque] { opacity: 1 !important; }
  .temps { min-height: 0; opacity: 1; padding: 22px 0; }
  .bande__grille, .acou__grille, .zone-sect__grille, .faq-sect__grille { grid-template-columns: 1fr; }
  .rangee__contenu { grid-template-columns: 1fr; gap: 14px; }
  .rangee__contenu > .masque, .rangee__contenu > .p-groupe { grid-column: 1; grid-row: auto; }
  .acou__grille .acou__photo { order: 2; }
  .frise__entete { grid-template-columns: 1fr; gap: 14px; }
  .frise__intro { grid-column: 1; grid-row: auto; }
  .frise__grille { grid-template-columns: 1fr; gap: 24px; }
  .epaisseurs__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frise__item--2, .frise__item--3 { margin-top: 0; }
  .nuancier__haut { grid-template-columns: 1fr; gap: 26px; }
  .nuancier__entete { max-width: none; }
  .nuancier__rangee { grid-template-columns: 1fr; gap: 26px; }
  .nuancier__rangee--quatre { grid-template-columns: 1fr; }
  .epaisseurs__liste { grid-template-columns: 1fr; gap: 12px; }
  .engage__grille { grid-template-columns: 1fr; }
  .suite__grille { grid-template-columns: 1fr; }
  .zone-sect__cote { padding-top: 0; }
}
@media (max-width: 600px) {
  .tete__reperes, .tete__legende { display: none; }
}

/* ---------- Animations : états initiaux (uniquement avec GSAP) ---------- */
html.avec-gsap [data-masque] { transform: translateY(110%); filter: blur(10px); opacity: 0.4; }
html.avec-gsap [data-fondu] { opacity: 0; }
html.avec-gsap [data-reveal] { opacity: 0; transform: translateY(28px); }
html.avec-gsap [data-v-titre],
html.avec-gsap [data-v-texte] { opacity: 0; }
html.avec-gsap [data-v-trait] { transform: scaleY(0); transform-origin: top; }
html.avec-gsap [data-note] { opacity: 0; }
html.avec-gsap [data-tri] { opacity: 0; transform: translateY(24px); }
html.avec-gsap [data-tri] .triade__filet { transform: scaleY(0); }
html.avec-gsap .hero__entete,
html.avec-gsap .hero__sur,
html.avec-gsap .hero__p,
html.avec-gsap .hero__cta,
html.avec-gsap .hero__legende,
html.avec-gsap .hero__fleche,
html.avec-gsap .hero__reperes b { opacity: 0; }
[data-reveal].in { opacity: 1; transform: none; }

/* Fallback complet sans animation */
html.sans-anim [data-masque] { filter: none; }
html.sans-anim [data-masque],
html.sans-anim [data-fondu],
html.sans-anim [data-reveal],
html.sans-anim [data-v-titre],
html.sans-anim [data-v-texte],
html.sans-anim [data-note] { opacity: 1; transform: none; }
html.sans-anim [data-tri] { opacity: 1; transform: none; }
html.sans-anim [data-tri] .triade__filet { transform: none; }
html.sans-anim [data-v-trait] { transform: none; }
html.sans-anim .hero__entete,
html.sans-anim .hero__sur,
html.sans-anim .hero__p,
html.sans-anim .hero__cta,
html.sans-anim .hero__legende,
html.sans-anim .hero__fleche,
html.sans-anim .hero__reperes b { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__nav { display: none; }
  .apropos__grille { grid-template-columns: 1fr; }
  .apropos__label .etiquette { position: static; }
  .portrait__grille { grid-template-columns: 1fr; }
  .portrait__photo { max-width: 560px; }
  .valeurs__liste { grid-template-columns: 1fr; gap: 0; }
  .valeurs__trait { display: none; }
  .valeurs__item { padding: 18px 0; border-bottom: 1px solid rgba(154, 106, 79, 0.22); }
  /* Fiches : liste verticale, pas d'épinglage */
  .pile__scene { height: auto; min-height: 0; overflow: visible; }
  .fiche { position: relative; inset: auto; grid-template-columns: 1fr; gap: 26px; padding: 34px clamp(20px, 5vw, 40px); }
  .fiche__feuille { justify-self: start; }
  .pile__rail { display: none; }
  .grille-scindee { grid-template-columns: 1fr 1fr; }
  .grille-scindee__colonne:nth-child(2) { margin-top: 0; }
  .grille-scindee__colonne:nth-child(3) { display: none; }
  .processus__grille { grid-template-columns: 1fr; }
  .contact__grille { grid-template-columns: 1fr; }
  .colle__nav { display: none; }
  .duo, .duo--inverse { grid-template-columns: 1fr; }
  .coches { grid-template-columns: 1fr; }
  .rangee { grid-template-columns: 1fr; gap: 8px; }
  .rangee__label .etiquette { position: static; }
  .duo--inverse .duo__photo { order: 0; }
  .duo__photo { max-width: 520px; }
}
@media (max-width: 600px) {
  .hero__entete .btn { display: none; }
  .hero__h1 { font-size: clamp(1.55rem, 7.2vw, 2rem); }
  .hero__cta .btn { padding: 14px 24px; font-size: 0.86rem; }
  .hero__legende, .hero__reperes { display: none; }
  .colle__droite .btn { display: none; }
  .grille-scindee { grid-template-columns: 1fr; }
  .grille-scindee__colonne:nth-child(3) { display: flex; }
  .cmp { aspect-ratio: 4 / 3; }
  .contact__ligne span { flex-basis: 90px; }
  .pied__cartouche span { flex: 1 1 45%; border-bottom: 1px solid rgba(154, 106, 79, 0.3); }
  .wa { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__ligne, .wa::after { animation: none; }
  .btn__t, .btn::after { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Confort de lecture et de manipulation sur petits écrans.
   Relevé au 25/09/2026 : textes sous 13 px, cibles tactiles sous 36 px,
   et repères d'angle qui débordaient de la gouttière.
   Ce bloc ne change rien au rendu sur grand écran.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Le champ piège du formulaire ne doit jamais élargir le document */
.hp {
  position: absolute; left: auto; top: auto;
  width: 1px; height: 1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

@media (max-width: 900px) {
  /* Les repères d'angle se posaient 7 px hors du cadre : ils touchaient le bord */
  .fig-coins b:nth-child(1) { top: 0; left: 0; }
  .fig-coins b:nth-child(2) { top: 0; right: 0; }
  .fig-coins b:nth-child(3) { bottom: 0; left: 0; }
  .fig-coins b:nth-child(4) { bottom: 0; right: 0; }
}

@media (max-width: 700px) {
  /* Lisibilité : plus rien sous 12,5 px */
  .fig-note { font-size: 0.82rem; letter-spacing: 0.08em; }
  .feuille__note, .fiche__annotation { font-size: 0.82rem; }
  .tete__legende, .sous-hero__legende { font-size: 0.72rem; letter-spacing: 0.1em; }
  .menu__label, .refs__titre, .hero__sur { font-size: 0.8rem; }
  .liees__sous, .suite__sous { font-size: 0.86rem; }
  .ech p, .triade p, .temps p, .p-groupe p { font-size: 0.95rem; }
  .btn { font-size: 0.86rem; letter-spacing: 0.08em; padding: 15px 26px; }

  /* Cibles tactiles : au moins 44 px de haut, la recommandation d'Apple */
  .pied__liens a, .menu__mail, .menu__tel, .contact__ligne a {
    display: inline-block; padding: 9px 0; min-height: 44px;
  }
  .pied__liens { gap: 4px 18px; }
  .hero__fleche { width: 44px; height: 52px; display: flex; align-items: center; justify-content: center; }
  .hero__fleche svg { width: 12px; height: 38px; }
  .faq summary { padding-top: 16px; padding-bottom: 16px; }

  /* Fil d'Ariane : trop petit et trop serré pour être touché */
  .fil { font-size: 0.8rem; letter-spacing: 0.12em; }
  .fil a { display: inline-block; padding: 6px 0; }

  /* Légende de la bande sombre, la seule qui n'a pas la classe fig-note */
  .bande__photo figcaption { font-size: 0.82rem; letter-spacing: 0.08em; }

  /* Les titres des deux colonnes d'engagements descendaient à 12 px */
  .engage__col h2 { font-size: 0.95rem; }

  /* Pied de page : mentions et crédit */
  .pied__bas { font-size: 0.86rem; }
  .pied__bas a { display: inline-block; padding: 8px 0; }

  /* Le bouton WhatsApp flottant recouvrait le crédit en bas de page */
  .pied { padding-bottom: 96px; }
  .bande-devis { padding-bottom: 46px; }

  .burger { padding: 13px 8px; }

  /* Légende de rendu d'ambiance sous le hero et cartouche du pied */
  .tete__legende, .sous-hero__legende { font-size: 0.8rem; }
  .pied__cartouche span { font-size: 0.86rem; padding: 10px 0; }
  .fil a { padding: 10px 0; }

  /* Les annotations de la feuille se posaient par-dessus le texte :
     sur petit écran elles passent sous la citation, en ligne. */
  .feuille { padding-bottom: 20px; }
  .feuille__note { position: relative; display: block; margin: 12px 0 0; }
  .feuille__note--a, .feuille__note--b, .feuille__note--c {
    top: auto; bottom: auto; left: auto; right: auto;
  }
  .feuille__note::before { top: 50%; }
}

/* Sous 400 px : rien ne doit imposer sa largeur au document.
   L'adresse e-mail, insécable, élargissait la page de 20 px. */
@media (max-width: 400px) {
  .contact__grille > *, .zone-sect__grille > *, .faq-sect__grille > * { min-width: 0; }
  .contact__ligne a, .contact__ligne em, .pied__contact a, .menu__mail {
    overflow-wrap: anywhere; word-break: break-word;
  }
  .contact__ligne { flex-wrap: wrap; }
  .contact__ligne span { flex-basis: 100%; margin-bottom: 2px; }
  .menu { overflow-x: hidden; }
  .menu__plan { display: none; }
}
