/* ==========================================================================
   Nyora & Associes  /  variante A "Plaidoirie"
   Encre nuit + ivoire + or vieilli. Echelle typo bimodale : geant ou micro.
   Ombres teintees bleu nuit, jamais grises. Radius 0-2px ou 24px+.
   ========================================================================== */

:root {
  --nuit: #0d1626;
  --nuit-haut: #101c30;
  --nuit-bas: #0a1120;
  --ivoire: #f6f2ea;
  --ivoire-creuse: #ece6da;
  --encre: #141a24;
  --encre-doux: rgba(20, 26, 36, 0.62);
  --or: #b08a3e;          /* accent sur fond nuit */
  --or-fonce: #8a6a26;    /* meme famille, contraste AA sur ivoire */
  --clair: #f6f2ea;
  --clair-doux: rgba(246, 242, 234, 0.6);
  --clair-faible: rgba(246, 242, 234, 0.58);
  --filet-clair: rgba(246, 242, 234, 0.16);
  --filet-sombre: rgba(20, 26, 36, 0.14);

  --ombre-contact: 0 2px 6px rgba(9, 16, 30, 0.28);
  --ombre-ambiance: 0 42px 90px -30px rgba(9, 16, 30, 0.55);

  --photo-bureau: url("../img/bureau-ambiance.webp");
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --marge: clamp(20px, 5.4vw, 92px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* overflow-x sur html ET body : le mot fantome de la methode est croppe
   par le bord (c est l effet voulu) mais ne doit jamais creer de defilement. */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--nuit);
  color: var(--clair);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--or); color: var(--nuit); }

/* lien d'evitement : hors champ jusqu'a ce que le clavier l'atteigne */
.saut {
  position: fixed;
  left: 12px; top: -80px;
  z-index: 60;
  padding: 13px 20px;
  border-radius: 2px;
  background: var(--or);
  color: #14100a;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.25s var(--ease);
}
.saut:focus { top: 12px; }

/* --- primitives typographiques ------------------------------------------- */

.kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--clair-faible);
}
.kicker--sombre { color: rgba(20, 26, 36, 0.62); }

.display {
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.005em;
}

.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }

.section__titre {
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 15ch;
}

.section__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 56px);
}

.lede {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.85;
  font-weight: 300;
  max-width: 46ch;
}

/* --- boutons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn__fleche { width: 16px; height: 8px; flex: none; }
.btn--or { background: var(--or); color: #14100a; }
.btn--or:hover { background: #c79c47; }
.btn--fantome { border-color: var(--filet-clair); color: var(--clair-doux); }
.btn--fantome:hover { border-color: var(--or); color: var(--clair); }
.btn--encre { background: var(--encre); color: var(--ivoire); }
.btn--encre:hover { background: #22304a; }
.btn--contour-sombre { border-color: rgba(20, 26, 36, 0.28); color: var(--encre); }
.btn--contour-sombre:hover { border-color: var(--or-fonce); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 3px;
}

/* --- grain + vignette ----------------------------------------------------- */

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ==========================================================================
   NAVIGATION (overlay eclatee, jamais une barre pleine largeur opaque)
   ========================================================================== */

.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 30px var(--marge) 0;
}

.nav__marque {
  font-family: "Prata", Georgia, serif;
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: 0.01em;
  text-decoration: none;
  justify-self: center;
  grid-column: 2;
  white-space: nowrap;
}
.nav__marque b { color: var(--or); font-weight: 400; }

.nav__liens {
  display: flex;
  gap: clamp(18px, 2.4vw, 38px);
  list-style: none;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav__liens--droite { justify-self: end; }
.nav__liens a {
  color: var(--clair-faible);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.28s var(--ease), border-color 0.28s var(--ease);
}
.nav__liens a:hover { color: var(--clair); border-bottom-color: var(--or); }

.nav__burger {
  display: none;
  justify-self: end;
  width: 30px; height: 16px;
  position: relative;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.nav__burger span {
  position: absolute; left: 0; height: 1.5px;
  background: var(--clair);
  transition: transform 0.35s var(--ease), width 0.35s var(--ease), opacity 0.25s;
}
.nav__burger span:nth-child(1) { top: 0; width: 100%; }
.nav__burger span:nth-child(2) { bottom: 0; width: 62%; }
.nav.est-ouverte .nav__burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav.est-ouverte .nav__burger span:nth-child(2) { bottom: 7px; width: 100%; transform: rotate(-45deg); }

.nav__tiroir {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: var(--nuit-bas);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 var(--marge);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.nav__tiroir.est-ouvert { opacity: 1; visibility: visible; }
.nav__tiroir a {
  font-family: "Prata", Georgia, serif;
  font-size: clamp(30px, 9vw, 46px);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--filet-clair);
}
.nav__tiroir a:last-of-type { border-bottom: 0; }

/* le tiroir gardait une grande zone morte sous les liens : on y pose les
   coordonnees, qui sont ce qu'on cherche juste apres la navigation */
.tiroir__pied {
  position: absolute;
  left: var(--marge);
  right: var(--marge);
  bottom: calc(28px + env(safe-area-inset-bottom));
  display: grid;
  gap: 7px;
  padding-top: 22px;
  border-top: 1px solid var(--filet-clair);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--clair-faible);
}
.tiroir__tel {
  font-size: 19px !important;
  font-family: "Prata", Georgia, serif;
  letter-spacing: 0.02em;
  color: var(--or);
  padding: 0 0 4px !important;
  border-bottom: 0 !important;
  justify-self: start;
}

/* ==========================================================================
   HERO  /  sandwich sujet-central, squelette z-0 -> z-9
   ========================================================================== */

.hero {
  position: relative;
  height: 90vh;
  min-height: 640px;
  max-height: 1020px;
  overflow: hidden;
  background: var(--nuit);
  isolation: isolate;
}

/* z-0 : le mur, halos larges dans la famille nuit */
.hero__mur {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(58% 46% at 50% 62%, rgba(176, 138, 62, 0.12) 0%, transparent 64%),
    radial-gradient(70% 60% at 12% 8%, rgba(23, 40, 66, 0.85) 0%, transparent 62%),
    linear-gradient(178deg, var(--nuit-haut) 0%, var(--nuit) 46%, var(--nuit-bas) 100%);
}

/* z-1 : le bureau d'ambiance, assombri, masque vers le bas */
.hero__ambiance {
  position: absolute;
  inset: -4%;
  z-index: 1;
  background-image:
    linear-gradient(96deg, rgba(10, 17, 32, 0.34) 0%, rgba(10, 17, 32, 0.72) 52%, rgba(10, 17, 32, 0.9) 100%),
    var(--photo-bureau, none);
  background-size: cover;
  background-position: center 44%;
  opacity: 0.52;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 44%, transparent 88%);
          mask-image: linear-gradient(to bottom, black 0%, black 44%, transparent 88%);
  will-change: translate;
  animation: souffle 34s ease-in-out infinite alternate;
}
@keyframes souffle {
  from { scale: 1; }
  to   { scale: 1.05; }
}

/* z-2 : la lueur qui detache le sujet du fond */
.hero__lueur {
  position: absolute;
  left: 50%; bottom: -8%;
  z-index: 2;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, rgba(176, 138, 62, 0.2) 0%, rgba(176, 138, 62, 0.06) 42%, transparent 66%);
  filter: blur(6px);
  pointer-events: none;
}

/* z-4 : LE TITRE GEANT, derriere le sujet.
   z-index positif explicite : le conteneur anime ne doit pas le piéger. */
.hero__titre {
  position: absolute;
  z-index: 4;
  left: var(--marge);
  right: var(--marge);
  top: 21%;
  pointer-events: none;
  will-change: translate;
}

.hero__ligne {
  display: block;
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  line-height: 0.94;
  color: var(--clair);
  white-space: nowrap;
  /* ouvert en haut (accents des capitales) et sur les cotes, ferme sous les
     jambages : c'est ce bord bas qui cache la ligne avant qu'elle ne monte */
  padding-bottom: 0.15em;
  margin-bottom: -0.07em;
  clip-path: inset(-32% -6% 0 -6%);
}
.hero__ligne i {
  display: inline-block;
  font-style: normal;
  transform: translateY(106%);
  animation: monte 1.45s var(--ease) forwards;
}
.hero__ligne--a { font-size: clamp(46px, 9.8vw, 150px); text-align: left; margin-left: 0.5%; }
.hero__ligne--b { font-size: clamp(46px, 10.2vw, 158px); text-align: right; margin-right: 1%; }
.hero__ligne--c {
  font-size: clamp(24px, 4.6vw, 68px);
  text-align: right;
  margin-right: 1%;
  margin-top: 0.7vw;
  color: var(--or);
}
.hero__ligne--a i { animation-delay: 0.12s; }
.hero__ligne--b i { animation-delay: 0.24s; }
.hero__ligne--c i { animation-delay: 0.38s; }
@keyframes monte { to { transform: translateY(0); } }

/* z-5 : LE SUJET detoure. Jamais de box-shadow sur un PNG alpha. */
.hero__sujet {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 78%;
  display: flex;
  align-items: flex-end;
  will-change: translate;
  pointer-events: none;
}
.hero__sujet img {
  height: 100%;
  width: auto;
  max-width: 42vw;
  object-fit: contain;
  object-position: bottom center;
  filter: sepia(0.26) saturate(1.12) hue-rotate(-4deg)
          drop-shadow(0 26px 46px rgba(6, 12, 24, 0.7))
          drop-shadow(0 2px 3px rgba(6, 12, 24, 0.5));
  opacity: 0;
  animation: sujetEntre 1.6s var(--ease) 0.35s forwards;
}
@keyframes sujetEntre {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* garde-fou : socle sombre si le detoure manque */
.hero__sujet.est-absent {
  width: min(30vw, 340px);
  background: linear-gradient(180deg, transparent 0%, rgba(23, 40, 66, 0.55) 100%);
}

/* z-6 : la copie devant le sujet */
.hero__copie {
  position: absolute;
  z-index: 6;
  left: var(--marge);
  bottom: clamp(96px, 12.5vh, 150px);
  max-width: 34ch;
  opacity: 0;
  animation: apparait 1.2s var(--ease) 1.05s forwards;
}
.hero__kicker { display: block; margin-bottom: 18px; }
.hero__accroche {
  font-size: clamp(13.5px, 1.02vw, 15.5px);
  line-height: 1.8;
  color: var(--clair-doux);
  margin-bottom: 26px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@keyframes apparait {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* z-7 : micro-vie, ancree AU sujet */
.hero__puce {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 17px 9px 12px;
  border-radius: 999px;
  background: rgba(16, 28, 48, 0.82);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border: 1px solid var(--filet-clair);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--clair-doux);
  box-shadow: var(--ombre-contact);
  opacity: 0;
  animation: apparait 1s var(--ease) 1.5s forwards;
}
.hero__puce b { color: var(--clair); font-weight: 500; }
.hero__puce::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--or);
  flex: none;
}
.hero__puce--epaule { right: calc(50% + clamp(30px, 4.8vw, 72px)); top: 37%; }

/* z-8 : ossature peripherique */
.rail {
  position: absolute;
  z-index: 8;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: apparait 1s var(--ease) 1.8s forwards;
}
.rail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--clair-faible);
}
.rail__filet { width: 1px; height: 74px; background: var(--filet-clair); }

.pagineur {
  position: absolute;
  z-index: 8;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  animation: apparait 1s var(--ease) 1.9s forwards;
}
.pagineur__actuel { font-size: 26px; color: var(--clair); }
.pagineur__total { font-size: 11px; color: var(--clair-faible); }
.pagineur__piste { width: 1px; height: 96px; background: var(--filet-clair); position: relative; }
.pagineur__jauge {
  position: absolute; top: 0; left: 0; right: 0;
  height: 20%;
  background: var(--or);
  transition: height 0.5s var(--ease);
}

.hero__socle {
  position: absolute;
  z-index: 8;
  right: var(--marge);
  bottom: clamp(96px, 12.5vh, 150px);
  display: flex;
  gap: clamp(22px, 3vw, 50px);
  opacity: 0;
  animation: apparait 1.2s var(--ease) 1.35s forwards;
}
.chiffre__valeur {
  font-family: "Prata", Georgia, serif;
  font-size: clamp(24px, 2.3vw, 34px);
  color: var(--or);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.chiffre__label {
  margin-top: 9px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--clair-faible);
  max-width: 13ch;
  line-height: 1.5;
}
.chiffre__filet { width: 22px; height: 1px; background: var(--filet-clair); margin-top: 12px; }

.indice {
  position: absolute;
  z-index: 8;
  left: var(--marge);
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: apparait 1.2s var(--ease) 2.1s forwards;
}
.indice span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--clair-faible);
}
.indice__piste { width: 58px; height: 1px; background: var(--filet-clair); position: relative; overflow: hidden; }
.indice__piste::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -100%;
  width: 100%;
  background: var(--or);
  animation: file 2.6s ease-in-out infinite;
}
@keyframes file { 0% { left: -100%; } 60% { left: 100%; } 100% { left: 100%; } }

/* z-9 : le sceau circulaire A CHEVAL sur la couture nuit / ivoire.
   Decalage FIXE, jamais un pourcentage de hauteur. */
.sceau {
  position: absolute;
  z-index: 9;
  right: clamp(20px, 7vw, 132px);
  top: -52px;
  width: 104px; height: 104px;
  border-radius: 999px;
  background: var(--nuit-bas);
  border: 1px solid var(--or);
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: var(--ombre-ambiance);
  opacity: 0;
  animation: apparait 1s var(--ease) 2.2s forwards;
}
.sceau__anneau { position: absolute; inset: 0; animation: tourne 26s linear infinite; }
.sceau__anneau text {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 8.4px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  fill: var(--clair-faible);
}
.sceau__coeur {
  font-family: "Prata", Georgia, serif;
  font-size: 19px;
  color: var(--or);
  line-height: 1;
}
.sceau__unite { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 8.5px; letter-spacing: 0.14em; color: var(--clair-faible); display: block; margin-top: 4px; text-align: center; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* le voile ne sert que sur petit ecran, ou la copie passe sur la robe */
.hero__voile { display: none; }

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(122% 92% at 50% 42%, transparent 54%, rgba(8, 14, 26, 0.5) 100%);
}
.hero .grain { z-index: 10; }

/* ==========================================================================
   SECTIONS communes
   ========================================================================== */

.bloc { position: relative; padding: clamp(72px, 9vw, 148px) var(--marge); }
.bloc--clair { background: var(--ivoire); color: var(--encre); }
.bloc--nuit { background: var(--nuit); color: var(--clair); }

.suture--tactile { display: none; }

/* La reliure : un rail vertical qui traverse chaque frontiere de section.
   Decalage FIXE de 52px sous la couture, jamais un pourcentage de hauteur.
   Les aplats restent francs : le color-block EST le langage de cette DA
   (un fondu ivoire vers nuit passe par un gris boueux, essaye et rejete). */
.suture {
  position: absolute;
  left: var(--marge);
  bottom: -52px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.suture span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.68;
}
.suture::after {
  content: "";
  width: 1px;
  height: 52px;
  background: var(--or);
}

/* ==========================================================================
   DOMAINES  /  liste editoriale, la ligne foncier transgresse sa rangee
   ========================================================================== */

.domaines { padding-top: clamp(96px, 11vw, 176px); }
.domaines__liste { margin-top: clamp(46px, 6vw, 88px); border-top: 1px solid var(--filet-sombre); }

.domaine {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(16px, 3vw, 56px);
  padding: clamp(28px, 3.4vw, 46px) 0;
  border-bottom: 1px solid var(--filet-sombre);
  position: relative;
  transition: background-color 0.4s var(--ease);
}
.domaine:hover { background: rgba(20, 26, 36, 0.03); }

.domaine__entete { font-weight: 400; }
.domaine__bouton {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: clamp(10px, 1.6vw, 26px);
  align-items: start;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}

.domaine__rang {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(20, 26, 36, 0.62);
  padding-top: 10px;
}
.domaine__titre {
  display: block;
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  font-size: clamp(23px, 2.8vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.008em;
}
/* le chevron n'existe que quand la rangee devient depliable, au doigt */
.domaine__chevron { display: none; }

.domaine__corps { padding-top: 6px; }
.domaine__texte {
  font-size: clamp(13.5px, 0.98vw, 15.5px);
  line-height: 1.82;
  color: var(--encre-doux);
  max-width: 54ch;
}

/* la mise en avant : le foncier deborde de sa rangee */
.domaine--phare { padding-bottom: clamp(52px, 6vw, 92px); }
.domaine--phare .domaine__titre { font-size: clamp(27px, 3.5vw, 54px); }
.domaine__titre--long { max-width: 11ch; text-wrap: balance; }
.domaine--phare .domaine__rang { color: var(--or-fonce); }
.domaine__marque {
  display: inline-block;
  margin-bottom: 16px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--or-fonce);
  border-bottom: 1px solid rgba(138, 106, 38, 0.4);
  padding-bottom: 3px;
}
.domaine__photo {
  position: absolute;
  right: 0;
  bottom: -46px;
  width: clamp(180px, 20vw, 286px);
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 2px;
  filter: sepia(0.3) hue-rotate(168deg) saturate(0.62) brightness(0.6) contrast(1.08);
  box-shadow: var(--ombre-contact), var(--ombre-ambiance);
  z-index: 2;
}

/* ==========================================================================
   PASTILLES DE POSITION  /  affordance des rails a defilement horizontal
   ========================================================================== */

.temps:focus-visible,
.equipe__grille:focus-visible,
.avis:focus-visible { outline: 2px solid var(--or); outline-offset: 6px; }

.points { display: none; }
.points__p {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.26;
  transition: opacity 0.3s var(--ease), width 0.3s var(--ease);
}
.points__p.est-actif { opacity: 1; width: 20px; background: var(--or); }
.bloc--clair .points__p.est-actif { background: var(--or-fonce); }

/* ==========================================================================
   BARRE D'ACTION COLLANTE  /  mobile seulement, ancree au pouce
   ========================================================================== */

.barre { display: none; }

/* ==========================================================================
   METHODE  /  trois temps, mot fantome croppe par le bord
   ========================================================================== */

.methode { position: relative; }
.temps { margin-top: clamp(48px, 6vw, 92px); display: grid; gap: clamp(34px, 4vw, 62px); }

.temp {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.3fr) auto;
  gap: clamp(18px, 3vw, 56px);
  align-items: start;
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--filet-clair);
}
.temp__fantome {
  position: absolute;
  left: -2.4vw;
  top: 0.06em;
  font-family: "Prata", Georgia, serif;
  font-size: clamp(54px, 7.6vw, 116px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 242, 234, 0.085);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.temp__entete { position: relative; z-index: 1; }
.temp__rang {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 14px;
}
.temp__titre {
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  font-size: clamp(27px, 3.4vw, 52px);
  line-height: 1.04;
}
.temp__note {
  position: relative;
  z-index: 1;
  justify-self: end;
  padding-top: clamp(8px, 1.2vw, 18px);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clair-faible);
  white-space: nowrap;
  text-align: right;
}
.temp__note::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: var(--or);
  margin: 0 0 12px auto;
}

.temp__texte {
  position: relative;
  z-index: 1;
  font-size: clamp(13.5px, 1vw, 15.5px);
  line-height: 1.86;
  color: var(--clair-doux);
  max-width: 58ch;
  padding-top: clamp(6px, 1vw, 16px);
}

/* ==========================================================================
   EQUIPE  /  duotone nuit, la colonne centrale rompt l'alignement
   ========================================================================== */

.equipe__grille {
  margin-top: clamp(46px, 6vw, 88px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.6vw, 46px);
  align-items: start;
}
.avocat { position: relative; }
.avocat--decale { margin-top: clamp(20px, 4vw, 66px); }

.avocat__cadre {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--nuit-haut);
  box-shadow: var(--ombre-contact);
}
.avocat__cadre img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) sepia(0.3) hue-rotate(176deg) saturate(1.35) brightness(1.14) contrast(0.94);
  transition: filter 0.55s var(--ease);
}
.avocat:hover .avocat__cadre img { filter: grayscale(0.1) saturate(1.04) brightness(1.06) contrast(0.98); }
.avocat__voile {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(13, 22, 38, 0.6) 0%, transparent 44%);
}
.avocat__role {
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clair);
  background: rgba(10, 17, 32, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 7px 13px;
  border-radius: 999px;
}
.avocat__nom {
  margin-top: 20px;
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.15;
}
.avocat__texte {
  margin-top: 10px;
  font-size: clamp(13px, 0.94vw, 14.5px);
  line-height: 1.78;
  color: var(--encre-doux);
  max-width: 34ch;
}
.avocat__barreau {
  margin-top: 14px;
  display: inline-block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--or-fonce);
}

/* ==========================================================================
   CHIFFRES + AVIS
   ========================================================================== */

.compteurs {
  margin-top: clamp(44px, 5vw, 74px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 34px);
  border-top: 1px solid var(--filet-clair);
  padding-top: clamp(28px, 3.4vw, 46px);
}
.compteur__valeur {
  font-family: "Prata", Georgia, serif;
  font-size: clamp(38px, 5.6vw, 88px);
  line-height: 0.94;
  color: var(--or);
  font-variant-numeric: tabular-nums;
}
.compteur__valeur small { font-size: 0.36em; letter-spacing: 0.02em; margin-left: 4px; }
.compteur__label {
  margin-top: 14px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  color: var(--clair-faible);
  max-width: 16ch;
}

.preuves { padding-bottom: 0; }
.avis {
  margin-bottom: -58px;
  margin-top: clamp(52px, 6vw, 92px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.6vw, 44px);
  position: relative;
  z-index: 2;
}
.avis__carte {
  background: var(--nuit-haut);
  border: 1px solid var(--filet-clair);
  border-radius: 2px;
  padding: clamp(26px, 3vw, 44px);
  box-shadow: var(--ombre-ambiance);
}
.avis__guillemet {
  font-family: "Prata", Georgia, serif;
  font-size: 40px;
  line-height: 0.85;
  color: var(--or);
  display: block;
  margin-bottom: 22px;
}
.avis__texte {
  font-size: clamp(14px, 1.06vw, 16.5px);
  line-height: 1.82;
  color: rgba(246, 242, 234, 0.86);
  max-width: 48ch;
}
.avis__pied { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--filet-clair); }
.avis__qui {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clair);
}
.avis__ou {
  display: block;
  margin-top: 7px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--clair-faible);
}

/* ==========================================================================
   RENDEZ-VOUS
   ========================================================================== */

.rdv { position: relative; padding-top: clamp(132px, 12vw, 214px); }
.rdv__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: clamp(34px, 5vw, 88px);
  align-items: start;
}
.rdv__titre {
  font-family: "Prata", Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.012em;
}
.rdv__texte {
  margin-top: 26px;
  font-size: clamp(14px, 1.06vw, 16.5px);
  line-height: 1.86;
  color: var(--encre-doux);
  max-width: 44ch;
}
.rdv__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.fiche { border-top: 1px solid var(--filet-sombre); }
.fiche__ligne {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--filet-sombre);
  align-items: baseline;
}
.fiche__cle {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(20, 26, 36, 0.62);
}
.fiche__valeur { font-size: clamp(13.5px, 1vw, 15.5px); line-height: 1.7; }
.fiche__valeur a { text-decoration: none; border-bottom: 1px solid rgba(138, 106, 38, 0.45); }
.fiche__valeur a:hover { border-bottom-color: var(--or-fonce); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.pied { position: relative; background: var(--nuit); padding: clamp(56px, 7vw, 104px) var(--marge) 34px; }
.pied__haut {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.8fr));
  gap: clamp(28px, 4vw, 70px);
  padding-bottom: clamp(34px, 4vw, 60px);
  border-bottom: 1px solid var(--filet-clair);
}
.pied__marque { font-family: "Prata", Georgia, serif; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.1; }
.pied__marque b { color: var(--or); font-weight: 400; }
.pied__note { margin-top: 18px; font-size: 13.5px; line-height: 1.8; color: var(--clair-doux); max-width: 40ch; }
.pied__colonne h3 {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--clair-faible);
  margin-bottom: 18px;
}
.pied__colonne ul { list-style: none; display: grid; gap: 11px; }
.pied__colonne a { font-size: 13.5px; text-decoration: none; color: var(--clair-doux); transition: color 0.28s var(--ease); }
.pied__colonne a:hover { color: var(--clair); }
.pied__bas {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--clair-faible);
}
.pied__demo { color: var(--or); }

/* ==========================================================================
   REVELATIONS AU SCROLL
   ========================================================================== */

.revele { opacity: 0; transform: translateY(26px); transition: opacity 0.95s var(--ease), transform 0.95s var(--ease); }
.revele.est-vu { opacity: 1; transform: none; }
.revele--r1 { transition-delay: 0.08s; }
.revele--r2 { transition-delay: 0.16s; }
.revele--r3 { transition-delay: 0.24s; }

/* ==========================================================================
   RESPONSIVE  /  le tactile est traite comme une composition a part entiere,
   pas comme un empilement du desktop : hero plein ecran, rangees depliables,
   rails a defilement horizontal, barre d'action ancree au pouce.
   ========================================================================== */

@media (max-width: 1180px) {
  .hero__puce--epaule { right: auto; left: var(--marge); top: 30%; }
  .hero__socle { gap: 22px; }
  .chiffre__label { max-width: 11ch; }
}

@media (max-width: 900px) {

  /* ---- respiration generale : on resserre, l'ecran est petit ---- */
  body { padding-bottom: 0; }
  .bloc { padding: clamp(54px, 12vw, 82px) var(--marge); }
  .section__titre { font-size: clamp(26px, 7.6vw, 38px); max-width: 18ch; }
  .section__intro { display: block; }
  .section__intro .lede { margin-top: 16px; max-width: none !important; }
  .kicker { font-size: 11px; letter-spacing: 0.34em; text-indent: 0.34em; }

  /* ---- navigation : en-tete flottante. Elle se replie quand on descend
     (on lit) et revient au moindre defilement vers le haut (on cherche a
     naviguer). La barre d'action fait l'inverse : jamais les deux bords
     encombres en meme temps. ---- */
  html { scroll-padding-top: 76px; }
  .nav {
    position: fixed;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 13px var(--marge);
    border-bottom: 1px solid transparent;
    transition: transform 0.4s var(--ease), background-color 0.4s var(--ease),
                border-color 0.4s var(--ease), padding 0.4s var(--ease);
  }
  .nav.est-detachee {
    background: rgba(10, 17, 32, 0.86);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border-bottom-color: var(--filet-clair);
  }
  .nav.est-repliee { transform: translateY(-102%); }
  .nav__marque { font-size: 17px; }

  /* la section courante se marque dans le tiroir */
  .nav__tiroir a.est-courant { color: var(--or); }
  .nav__tiroir a.est-courant::after { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--or); margin-left: 14px; vertical-align: middle; }
  .nav__liens { display: none; }
  .nav__marque { grid-column: 1; justify-self: start; }
  .nav__burger { display: block; grid-column: 2; width: 34px; height: 18px; padding: 0; }
  .nav__tiroir { padding: 0 var(--marge) calc(24px + env(safe-area-inset-bottom)); }
  .nav__tiroir a { padding: 16px 0; }

  /* =====================================================================
     HERO PLEIN ECRAN  /  on joue la verticalite du telephone : le sujet
     tient toute la hauteur, le titre passe derriere sa tete, la copie
     vit dans le bas de l'ecran, sous le pouce.
     ===================================================================== */
  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    max-height: none;
    padding: 0;
  }

  .hero__titre {
    position: absolute;
    top: 88px;
    left: var(--marge);
    right: var(--marge);
    padding: 0;
  }
  .hero__ligne { white-space: nowrap; clip-path: inset(-32% -6% 0 -6%); padding-bottom: 0.14em; margin-bottom: -0.06em; }
  .hero__ligne--a,
  .hero__ligne--b { font-size: clamp(34px, 12.4vw, 56px); text-align: left; margin: 0; }
  .hero__ligne--c { font-size: clamp(19px, 6.4vw, 30px); text-align: left; margin: 4px 0 0; }

  /* le sujet, decale a droite du centre : sa tete ne mange que la toute
     fin de la ligne or, le reste du titre reste franc */
  /* hauteur pilotee par le haut de l'ecran : sa tete vient toujours mordre
     la fin de la ligne or, quelle que soit la taille du telephone */
  .hero__sujet {
    position: absolute;
    left: 58%;
    bottom: 0;
    transform: translateX(-50%);
    height: calc(100dvh - 196px);
    max-height: 166vw;
    margin: 0;
    justify-content: center;
  }
  .hero__sujet img { height: 100%; width: auto; max-width: none; }

  /* le voile qui rend la copie lisible par-dessus la robe */
  .hero__voile {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 6;
    height: 52dvh;
    pointer-events: none;
    background: linear-gradient(to top,
      var(--nuit) 6%,
      rgba(13, 22, 38, 0.94) 30%,
      rgba(13, 22, 38, 0.62) 58%,
      transparent 100%);
  }

  .hero__copie {
    position: absolute;
    z-index: 7;
    left: var(--marge);
    right: var(--marge);
    bottom: calc(132px + env(safe-area-inset-bottom));
    max-width: none;
    padding: 0;
    margin: 0;
  }
  .hero__kicker { margin-bottom: 12px; }
  .hero__accroche { font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
  .hero__actions { display: block; }
  .hero__actions .btn--or { display: flex; justify-content: center; width: 100%; padding: 17px 20px; }
  .hero__actions .btn--fantome { display: none; }

  .hero__socle {
    position: absolute;
    z-index: 7;
    left: var(--marge);
    right: var(--marge);
    bottom: calc(58px + env(safe-area-inset-bottom));
    top: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--filet-clair);
  }
  .chiffre__valeur { font-size: 21px; }
  .chiffre__label { font-size: 9.5px; letter-spacing: 0.06em; margin-top: 5px; max-width: 12ch; line-height: 1.4; }
  .chiffre__suite { display: none; }
  .chiffre__filet { display: none; }

  .rail, .pagineur, .indice, .hero__vignette, .hero__puce--epaule { display: none; }
  .hero__lueur { width: 120vw; bottom: 6%; }
  .hero__ambiance { opacity: 0.34; }
  .sceau { right: var(--marge); top: -44px; width: 84px; height: 84px; }
  .sceau__coeur { font-size: 17px; }

  /* =====================================================================
     DOMAINES  /  rangees depliables au doigt
     ===================================================================== */
  .domaines { padding-top: clamp(78px, 16vw, 110px); }
  .domaines__liste { margin-top: 30px; }
  .domaine { display: block; padding: 0; gap: 0; }
  .domaine:hover { background: none; }

  .domaine__bouton {
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 6px 14px;
    align-items: center;
    min-height: 64px;
    padding: 17px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .domaine__rang { grid-column: 1; grid-row: 1; padding-top: 0; font-size: 10px; }
  .domaine__titre { grid-column: 1; grid-row: 2; font-size: clamp(21px, 6vw, 27px); }
  .domaine__titre br { display: none; }
  .domaine__chevron {
    display: block;
    grid-column: 2; grid-row: 1 / span 2;
    position: relative;
    width: 22px; height: 22px;
    justify-self: end;
  }
  .domaine__chevron::before,
  .domaine__chevron::after {
    content: "";
    position: absolute;
    background: var(--or-fonce);
  }
  .domaine__chevron::before { left: 0; right: 0; top: 50%; height: 1.5px; translate: 0 -50%; }
  .domaine__chevron::after {
    top: 0; bottom: 0; left: 50%; width: 1.5px; translate: -50% 0;
    transition: scale 0.4s var(--ease);
  }
  .domaine.est-ouvert .domaine__chevron::after { scale: 1 0; }

  .domaine__corps {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    transition: max-height 0.46s var(--ease), opacity 0.3s var(--ease), padding-bottom 0.46s var(--ease);
  }
  .domaine.est-ouvert .domaine__corps { max-height: 940px; opacity: 1; padding-bottom: 24px; }
  .domaine--phare { padding-bottom: 0; }
  .domaine__marque { margin-bottom: 12px; }
  .domaine__texte { font-size: 14px; line-height: 1.75; }
  .domaine__photo {
    position: relative;
    right: auto; bottom: auto;
    width: 100%;
    margin-top: 18px;
    aspect-ratio: 16 / 9;
    box-shadow: var(--ombre-contact);
  }

  /* =====================================================================
     RAILS A DEFILEMENT HORIZONTAL  /  on echange du scroll vertical
     contre un geste lateral, et la carte suivante se laisse deviner
     ===================================================================== */
  .rail-tactile {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--marge);
    margin-left: calc(var(--marge) * -1);
    margin-right: calc(var(--marge) * -1);
    padding: 0 var(--marge) 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .rail-tactile::-webkit-scrollbar { display: none; }
  .rail-tactile > * { scroll-snap-align: start; }

  /* une carte hors champ lateral n'entre jamais dans le viewport : sa
     revelation ne partirait pas et l'amorce de la carte suivante, qui EST
     l'affordance du rail, resterait invisible. */
  .temps > .revele,
  .equipe__grille > .revele,
  .avis > .revele { opacity: 1; transform: none; transition: none; }

  .points {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
  }

  /* ---- methode : trois cartes a faire glisser ---- */
  .temps {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--marge);
    margin: 32px calc(var(--marge) * -1) 0;
    padding: 0 var(--marge) 4px;
    scrollbar-width: none;
  }
  .temps::-webkit-scrollbar { display: none; }
  .temp {
    flex: 0 0 84%;
    scroll-snap-align: start;
    display: block;
    position: relative;
    overflow: hidden;
    grid-template-columns: none;
    gap: 0;
    padding: 24px 20px 22px;
    border-top: 0;
    border: 1px solid var(--filet-clair);
    border-radius: 2px;
    background: rgba(23, 40, 66, 0.4);
  }
  /* le mot fantome est desormais croppe par le bord de SA carte */
  .temp__fantome {
    font-size: 62px;
    left: auto;
    right: -14px;
    top: auto;
    bottom: -0.16em;
    -webkit-text-stroke: 1px rgba(246, 242, 234, 0.1);
  }
  .temp__rang { margin-bottom: 10px; }
  .temp__titre { font-size: 30px; }
  .temp__texte { padding-top: 14px; font-size: 14px; line-height: 1.72; max-width: none; }
  .temp__note {
    justify-self: start;
    text-align: left;
    padding-top: 18px;
    white-space: normal;
  }
  .temp__note::before { margin: 0 auto 10px 0; }

  /* ---- equipe : trois portraits a faire glisser ---- */
  .equipe__grille {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--marge);
    margin: 32px calc(var(--marge) * -1) 0;
    padding: 0 var(--marge) 4px;
    scrollbar-width: none;
  }
  .equipe__grille::-webkit-scrollbar { display: none; }
  .avocat { flex: 0 0 76%; scroll-snap-align: start; }
  .avocat--decale { margin-top: 0; }
  .avocat__cadre img { aspect-ratio: 4 / 5; }
  .avocat__nom { margin-top: 16px; font-size: 21px; }
  .avocat__texte { max-width: none; font-size: 13.5px; margin-top: 8px; }
  .avocat__barreau { margin-top: 10px; }

  /* ---- chiffres ---- */
  .compteurs { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; margin-top: 34px; padding-top: 26px; }
  .compteur__valeur { font-size: clamp(38px, 13vw, 54px); }
  .compteur__label { font-size: 10.5px; margin-top: 8px; }

  /* ---- avis : deux cartes a faire glisser ---- */
  .avis {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--marge);
    margin: 34px calc(var(--marge) * -1) 0;
    padding: 0 var(--marge) 4px;
    scrollbar-width: none;
  }
  .avis::-webkit-scrollbar { display: none; }
  .preuves { padding-bottom: clamp(54px, 12vw, 82px); }
  .avis__carte { flex: 0 0 86%; scroll-snap-align: start; padding: 24px 20px; }
  .avis__texte { font-size: 14.5px; line-height: 1.72; max-width: none; }
  .points--avis { margin-top: 22px; }

  /* ---- rendez-vous ---- */
  .rdv { padding-top: clamp(96px, 22vw, 130px); }
  .rdv__grille { grid-template-columns: 1fr; gap: 34px; }
  .rdv__titre { font-size: clamp(32px, 10vw, 46px); }
  .rdv__texte { margin-top: 18px; font-size: 14.5px; max-width: none; }
  .rdv__actions { margin-top: 26px; display: grid; gap: 10px; }
  .rdv__actions .btn { justify-content: center; }
  .fiche__ligne { grid-template-columns: 1fr; gap: 5px; padding: 16px 0; }
  .fiche__valeur { font-size: 14.5px; }
  .fiche__valeur a { display: inline-block; padding: 4px 0; }

  /* ---- pied de page : de la place pour la barre d'action ---- */
  .pied { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .pied { padding-top: clamp(44px, 10vw, 64px); }
  .pied__haut { grid-template-columns: 1fr; gap: 26px; padding-bottom: 26px; }
  .pied__marque { font-size: 26px; }
  .pied__note { font-size: 13px; margin-top: 14px; }
  .pied__colonne a { display: inline-block; padding: 4px 0; }
  .pied__bas { flex-direction: column; gap: 8px; }

  /* ---- reliures : sur petit ecran le libelle vertical percutait le texte
     des cartes, on ne garde que le filet qui traverse la frontiere ---- */
  .suture { bottom: -32px; }
  .suture span { display: none; }
  .suture::after { height: 64px; }
  .suture--tactile { display: flex; }

  /* =====================================================================
     BARRE D'ACTION  /  ancree au pouce, revelee une fois le hero passe
     ===================================================================== */
  .barre {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 45;
    display: flex;
    gap: 10px;
    padding: 11px var(--marge) calc(11px + env(safe-area-inset-bottom));
    background: rgba(10, 17, 32, 0.86);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border-top: 1px solid var(--filet-clair);
    transform: translateY(130%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0.45s;
  }
  .barre.est-visible { transform: none; visibility: visible; }
  .barre__lien {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 2px;
    border: 1px solid transparent;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
  }
  .barre__lien svg { width: 15px; height: 15px; flex: none; }
  .barre__lien--fantome { flex: 0 0 auto; border-color: var(--filet-clair); color: var(--clair); }
  .barre__lien--or { flex: 1; background: var(--or); color: #14100a; }
}

/* sans survol, l'interface doit repondre au contact */
@media (hover: none) {
  .domaine__bouton:active { background: rgba(20, 26, 36, 0.055); }
  .btn:active, .barre__lien:active, .sceau:active { scale: 0.985; }
  .btn, .barre__lien, .sceau { transition: scale 0.16s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
  .avocat:active .avocat__cadre img { filter: grayscale(0.1) saturate(1.04) brightness(1.06) contrast(0.98); }
  a, button { -webkit-tap-highlight-color: transparent; }
}

@media (max-width: 400px) {
  .hero__socle { gap: 8px; }
  .chiffre__label { font-size: 9px; }
  .temp { flex-basis: 88%; }
  .avocat { flex-basis: 82%; }
  .barre__lien { font-size: 10.5px; letter-spacing: 0.12em; padding: 0 14px; }
}

/* ecrans courts (paysage telephone, petits Android) : le hero plein ecran
   doit rendre la main plutot que d'ecraser sa propre composition */
@media (max-width: 900px) and (max-height: 600px) {
  .hero { height: auto; min-height: 0; padding: 96px 0 34px; }
  .hero__titre { position: relative; top: auto; left: 0; right: 0; padding: 0 var(--marge); }
  .hero__sujet { position: relative; left: auto; transform: none; height: 46vh; min-height: 240px; margin: 8px auto 0; }
  .hero__voile { display: none; }
  .hero__copie { position: relative; left: auto; right: auto; bottom: auto; padding: 0 var(--marge); margin-top: 20px; }
  .hero__socle { position: relative; left: auto; right: auto; bottom: auto; margin: 22px var(--marge) 0; }
}

/* ==========================================================================
   MOUVEMENT REDUIT  /  version calme complete
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .hero__ligne i { transform: none; }
  .hero__copie, .hero__socle, .hero__puce, .rail, .pagineur, .indice, .sceau { opacity: 1; }
  .hero__sujet img { opacity: 1; }
  .revele { opacity: 1; transform: none; }
  .sceau__anneau { animation: none; }
  .hero__ambiance { animation: none; scale: 1; }
}


/* ===== Lot 5 (téléphone d'abord) ===== */
:root{--feuille-fond:var(--ivoire);--feuille-texte:var(--encre);--feuille-doux:var(--encre-doux);--feuille-accent:var(--or-fonce);--feuille-rayon:2px;--feuille-police:"Space Grotesk",sans-serif}

.menu-plein{display:none}
.avis-plus{display:none}
.detail-feuille h3{font:400 28px/1.12 Prata, Georgia, serif;margin-bottom:12px}
.detail-feuille__sur{font:600 11px "Space Grotesk", sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--or)!important;margin-bottom:4px!important}
.detail-feuille__fait{font-weight:700;color:var(--feuille-texte)!important}
.detail-feuille__mention{font-size:12px!important}
.detail-feuille .btn{width:100%;justify-content:center;min-height:52px}
.detail-feuille--avis>*:not(h3){margin:0 0 16px;opacity:1!important;transform:none!important}
@media (max-width:900px){
  html.menu-plein-ouvert{overflow:hidden}
  .menu-plein{display:block;position:fixed;inset:0;z-index:100000;overflow:hidden;color:var(--ivoire)}
  .menu-plein[hidden]{display:none}
  .menu-plein__corps{position:relative;display:flex;flex-direction:column;height:100%;padding:12px 20px calc(54px + env(safe-area-inset-bottom,0px));opacity:0;transition:opacity .15s ease}
  .menu-plein[data-etat="ouvert"] .menu-plein__corps{opacity:1;transition:opacity .3s ease .46s}
  .menu-plein__haut{display:flex;justify-content:space-between;align-items:center;min-height:52px}
  .menu-plein__marque{font:400 22px Prata, Georgia, serif}
  .menu-plein__marque em{font-style:normal;color:var(--or)}
  .menu-plein__fermer{width:48px;height:48px;border:1px solid currentColor;border-radius:0;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;opacity:.9}
  .menu-plein__fermer svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .menu-plein__sur{margin:22px 0 6px;font:600 12px "Space Grotesk", sans-serif;letter-spacing:.14em;text-transform:uppercase;opacity:.75}
  .menu-plein__liens{display:flex;flex-direction:column}
  .menu-plein__liens a{display:flex;align-items:baseline;gap:14px;padding:10px 0;border-bottom:1px solid var(--filet-clair);font:400 clamp(38px,11vw,52px)/1.1 Prata, Georgia, serif;color:inherit;text-decoration:none}
  .menu-plein__liens a span{font:600 12px "Space Grotesk", sans-serif;color:var(--or)}
  .menu-plein__liens a[aria-current="page"]{color:var(--or)}
  .menu-plein__pied{margin-top:auto}
  .menu-plein__pied .btn{width:100%;justify-content:center;min-height:54px}
  .a-feuille{cursor:pointer}
  .un-avis{display:block!important}
  .un-avis>*:nth-child(n+2){display:none!important}
  .avis-plus{display:inline-flex;align-items:center;min-height:48px;margin-top:8px;padding:0 18px;border:1px solid currentColor;border-radius:0;background:transparent;color:inherit;font:600 14px "Space Grotesk", sans-serif;cursor:pointer;opacity:.85}
}
@media (max-width:900px) and (prefers-reduced-motion:reduce){
  .menu-plein [aria-hidden="true"]{transform:none!important;clip-path:none!important;animation:none!important;transition:opacity .16s linear!important;opacity:0}
  .menu-plein[data-etat="ouvert"] [aria-hidden="true"]{opacity:1}
  .menu-plein[data-etat="ouvert"] .menu-plein__corps{transition:opacity .16s linear}
}
@view-transition{navigation:auto}
.nav__marque{view-transition-name:logo}
::view-transition-old(root){animation:vt-reste .45s linear both}
::view-transition-new(root){animation:vt-robe .45s cubic-bezier(.6,0,.2,1) both}
@keyframes vt-reste{to{opacity:1}}
@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}

@keyframes vt-robe{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
.menu-plein .btn,.detail-feuille .btn{display:flex;align-items:center;justify-content:center;min-height:54px;padding:0 20px;background:var(--or);color:var(--nuit);font:500 12px "IBM Plex Mono",monospace;letter-spacing:.16em;text-transform:uppercase;text-decoration:none;border:0}
.detail-feuille h3{color:var(--encre)}
/* Menu : la robe tombe des épaules, le rabat blanc se pose au col */
@media (max-width:900px){
  .menu-plein__robe{position:absolute;inset:0;background:linear-gradient(180deg,var(--nuit-haut),var(--nuit-bas));transform:translateY(-101%);transition:transform .52s cubic-bezier(.7,0,.2,1)}
  .menu-plein__rabat{position:absolute;left:50%;top:58px;width:58px;height:74px;margin-left:-29px;display:flex;gap:4px;justify-content:center;transform:translateY(-150px);transition:transform .46s cubic-bezier(.3,1.35,.5,1) .4s}
  .menu-plein__rabat i{display:block;width:25px;height:100%;background:var(--ivoire);border-radius:0 0 4px 4px;box-shadow:0 6px 14px rgba(0,0,0,.35)}
  .menu-plein[data-etat="ouvert"] .menu-plein__robe,.menu-plein[data-etat="ouvert"] .menu-plein__rabat{transform:translateY(0)}
  .menu-plein[data-etat="fermeture"] .menu-plein__rabat{transition:transform .2s ease-in}
  .menu-plein[data-etat="fermeture"] .menu-plein__robe{transition:transform .36s cubic-bezier(.6,0,.9,.5) .12s}
  .menu-plein__sur{margin-top:96px}
  /* Domaines : des lignes courtes, le détail s'ouvre en feuille */
  .domaine__corps{display:none!important}
  .domaine__chevron{transform:none!important}
  .domaine.est-ouvert .domaine__chevron::after{scale:1 1}
}

/* Aucun petit trait autour des libellés courts (lu comme un tiret) */
.temp__note::before{content:none!important}

/* Logo de l'identité de marque (symbole léger) */
.nav__symbole{display:inline-block;vertical-align:middle;width:auto;height:1.6em;margin:-.3em .5em 0 0;background:none}
