/* ==========================================================================
   Office notarial de Maître Laurence Beringhier — Èze
   Feuille de style principale
   ========================================================================== */

/* ---------- 1. Polices (hébergées localement, sans appel externe) -------- */
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Variables ------------------------------------------------- */
:root {
  --ink: #0e0e0e;
  --ink-2: #1a1a1a;
  --paper: #fbfaf8;
  --paper-2: #f3f2ef;
  --line: #dcdbd7;
  --line-dark: #2e2e2e;
  --muted: #5f5f5c;
  --muted-light: #a3a3a0;

  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 12vw, 168px);
  --hd-h: 84px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.77, 0, .175, 1);
  --ease-soft: cubic-bezier(.25, .46, .45, .94);
}

/* ---------- 3. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hd-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }
em { font-style: italic; }
strong { font-weight: 500; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

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

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .08em;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- 4. Typographie ---------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}
.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.012em;
}
.title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -.008em;
}
.title em, .display em { font-style: italic; }

.subtitle {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.22;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
}

.text { color: var(--muted); max-width: 62ch; }
.text p { margin-bottom: 1.15em; }
.text a, .prose a { border-bottom: 1px solid currentColor; padding-bottom: 1px; color: var(--ink); }

.small-caps {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* Lignes masquées (révélation de titres) */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; }

/* ---------- 5. Boutons & liens ------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 34px;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color .6s var(--ease-out), border-color .6s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .6s var(--ease-out);
}
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: scaleY(1); }

.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid::before { background: var(--paper); }
.btn--solid:hover { color: var(--ink); }

.on-dark .btn { border-color: var(--paper); color: var(--paper); }
.on-dark .btn::before { background: var(--paper); }
.on-dark .btn:hover { color: var(--ink); }
.on-dark .btn--solid { background: var(--paper); color: var(--ink); }
.on-dark .btn--solid::before { background: var(--ink); }
.on-dark .btn--solid:hover { color: var(--paper); }

.btn__arrow {
  width: 22px; height: 9px;
  transition: transform .6s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(6px); }

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: 100% 50%;
  transition: transform .7s var(--ease-inout);
}
.link:hover::after {
  animation: link-sweep .9s var(--ease-inout);
}
@keyframes link-sweep {
  0%   { transform: scaleX(1); transform-origin: 100% 50%; }
  45%  { transform: scaleX(0); transform-origin: 100% 50%; }
  46%  { transform: scaleX(0); transform-origin: 0 50%; }
  100% { transform: scaleX(1); transform-origin: 0 50%; }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- 6. Transition de page / écran de chargement ----------------- */
.pt {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  pointer-events: none;
}
.js .pt {
  display: flex;
  animation: pt-out 1s var(--ease-inout) .25s forwards;
}
.js .pt.is-covering {
  animation: pt-in .75s var(--ease-inout) forwards;
  pointer-events: all;
}
/* Pas de rideau au premier chargement de l'accueil : l'intro s'en charge */
.js.has-intro .pt { animation: none; transform: translateY(-100%); }
.js.has-intro .pt.is-covering { animation: pt-in .75s var(--ease-inout) forwards; }

@keyframes pt-out {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); visibility: hidden; }
}
@keyframes pt-in {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.pt__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.pt__mono {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 300;
  letter-spacing: .32em;
  padding-left: .32em;
}
.pt__bar {
  position: relative;
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, .18);
  overflow: hidden;
}
.pt__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: translateX(-100%);
  animation: pt-bar 1.1s var(--ease-inout) infinite;
}
@keyframes pt-bar {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ---------- 7. Intro d'accueil (style « grand hôtel ») ------------------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}
.has-intro .intro { display: flex; }

.intro__frame {
  position: absolute;
  inset: clamp(16px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, .14);
  opacity: 0;
  animation: fade-in 1.4s var(--ease-soft) .2s forwards;
}

.intro__center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.intro__mono {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 11vw, 128px);
  line-height: 1;
}
.intro__mono .ch {
  display: block;
  overflow: hidden;
  padding: 0 .04em .06em;
}
.intro__mono .ch > span {
  display: block;
  transform: translateY(110%);
  animation: rise 1.3s var(--ease-out) forwards;
}
.intro__mono .ch:nth-child(1) > span { animation-delay: .45s; }
.intro__mono .ch:nth-child(3) > span { animation-delay: .6s; }

.intro__rule {
  width: 1px;
  height: .9em;
  background: rgba(255, 255, 255, .55);
  transform: scaleY(0);
  animation: grow-y 1s var(--ease-inout) .3s forwards;
}

.intro__name {
  margin-top: clamp(26px, 4vw, 40px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 300;
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 1.2s var(--ease-out) 1.05s forwards;
}

.intro__tag {
  margin-top: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .5em;
  padding-left: .5em;
  text-transform: uppercase;
  opacity: 0;
  animation: tracking 1.6s var(--ease-out) 1.25s forwards;
}

.intro__line {
  width: min(280px, 60vw);
  height: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, .5);
  transform: scaleX(0);
  animation: grow-x 1.6s var(--ease-inout) 1.1s forwards;
}

.intro__skip {
  position: absolute;
  bottom: clamp(32px, 5vw, 56px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  opacity: 0;
  animation: fade-in 1s ease 1.8s forwards;
  transition: color .3s;
}
.intro__skip:hover { color: var(--paper); }

/* Sortie : le rideau se lève */
.intro.is-leaving {
  animation: curtain-up 1.15s var(--ease-inout) forwards;
}
.intro.is-leaving .intro__center {
  animation: fade-up-out .8s var(--ease-inout) forwards;
}
.intro.is-done,
.intro-off .intro { display: none !important; }

@keyframes rise      { to { transform: translateY(0); } }
@keyframes grow-x    { to { transform: scaleX(1); } }
@keyframes grow-y    { to { transform: scaleY(1); } }
@keyframes fade-in   { to { opacity: 1; } }
@keyframes fade-up   { to { opacity: 1; transform: none; } }
@keyframes tracking  {
  from { opacity: 0; letter-spacing: .9em; }
  to   { opacity: .8; letter-spacing: .5em; }
}
@keyframes curtain-up {
  to { transform: translateY(-100%); }
}
@keyframes fade-up-out {
  to { opacity: 0; transform: translateY(-40px); }
}

/* ---------- 8. En-tête -------------------------------------------------- */
.hd {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--hd-h);
  transition: transform .7s var(--ease-inout), background-color .5s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}
.hd.is-scrolled {
  background: rgba(251, 250, 248, .88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.hd.is-hidden { transform: translateY(-100%); }

.hd__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.brand__mono {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .08em;
  padding-left: .08em;
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}
.brand:hover .brand__mono { background: var(--ink); color: var(--paper); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: .01em;
}
.brand__sub {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 40px);
}
.nav__list > li { position: relative; }
.nav__list > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nav__list > li > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .6s var(--ease-out);
}
.nav__list > li > a:hover::after,
.nav__list > li > a[aria-current="page"]::after,
.nav__list > li.is-current > a::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}
.nav__caret {
  width: 8px; height: 5px;
  transition: transform .4s var(--ease-out);
}
.has-sub:hover .nav__caret,
.has-sub:focus-within .nav__caret { transform: rotate(180deg); }

.sub {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 290px;
  padding: 14px 0;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s .4s;
}
.sub::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -16px; height: 16px;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s;
}
.sub a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 28px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  color: rgba(255, 255, 255, .72);
  transition: color .3s ease, padding-left .5s var(--ease-out);
}
.sub a span {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .4);
}
.sub a:hover, .sub a[aria-current="page"] { color: var(--paper); padding-left: 34px; }

.hd__actions { display: flex; align-items: center; gap: 20px; }

.hd__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  white-space: nowrap;
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}
.hd__tel svg { width: 14px; height: 14px; }
.hd__tel:hover { background: var(--ink); color: var(--paper); }

.burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
}
.burger span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1px;
  background: currentColor;
  transition: transform .6s var(--ease-inout), opacity .3s ease;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* Menu mobile plein écran */
.menu {
  position: fixed;
  inset: 0;
  z-index: 490;
  display: flex;
  flex-direction: column;
  padding: calc(var(--hd-h) + 32px) var(--gutter) 36px;
  background: var(--ink);
  color: var(--paper);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .9s var(--ease-inout), visibility 0s .9s;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .9s var(--ease-inout), visibility 0s;
}
.menu__list { display: flex; flex-direction: column; gap: 4px; }
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 8px 0;
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease-out), transform .9s var(--ease-out);
}
.menu__list a span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .45);
}
.menu__list a[aria-current="page"] { font-style: italic; }
.menu__sublist { padding: 4px 0 10px 40px; }
.menu__sublist a {
  font-size: clamp(22px, 6vw, 28px);
  color: rgba(255, 255, 255, .72);
}
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(1) a { transition-delay: .25s; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .3s; }
.menu.is-open .menu__list li:nth-child(3) > a { transition-delay: .35s; }
.menu.is-open .menu__sublist a { transition-delay: .42s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .48s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .53s; }

.menu__foot {
  margin-top: auto;
  padding-top: 40px;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  opacity: 0;
  transition: opacity .8s ease .6s;
}
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot a { color: var(--paper); }

body.menu-open .hd { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--paper); }
body.menu-open .hd .brand__mono,
body.menu-open .hd .burger { border-color: var(--paper); }
body.menu-open .hd .brand__sub { color: rgba(255, 255, 255, .6); }

/* ---------- 9. Héros d'accueil ------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--hd-h) + clamp(24px, 5vh, 64px));
  overflow: hidden;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, min(8.6vw, 15vh), 136px);
  line-height: .94;
  letter-spacing: -.02em;
}
.hero__title em { font-style: italic; }
.hero__title .line:nth-child(2) { padding-left: clamp(0px, 9vw, 150px); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(12px, 2vw, 24px);
}
.hero__role {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.hero__role::before {
  content: "";
  width: 56px; height: 1px;
  background: var(--ink);
}
.hero__intro {
  max-width: 440px;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.45;
}

.hero__art {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  pointer-events: none;
}
.hero__art svg {
  width: 100%;
  height: auto;
  max-height: 33vh;
  margin: 0 auto;
}
.eze-art path, .eze-art circle, .eze-art line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.eze-art .soft { stroke: #9b9b98; }
.eze-art .faint { stroke: #c6c6c3; }

.js .eze-art .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js.is-ready .eze-art .draw {
  animation: draw 2.6s var(--ease-inout) forwards;
  animation-delay: calc(var(--d, 0) * 1s + .2s);
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__scroll {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 64px;
  background: var(--line);
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  animation: scroll-hint 2.2s var(--ease-inout) infinite;
}
@keyframes scroll-hint {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* Bandeau d'informations sous le héros */
.infobar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.infobar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.infobar__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 30px 0;
  padding-right: 24px;
}
.infobar__item + .infobar__item {
  padding-left: clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--line);
}
.infobar__label { color: var(--muted); }
.infobar__value {
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.35;
}
a.infobar__value { transition: opacity .3s; word-break: break-word; }
a.infobar__value:hover { opacity: .6; }

/* ---------- 10. En-tête des pages intérieures --------------------------- */
.ph {
  position: relative;
  padding: calc(var(--hd-h) + clamp(56px, 10vw, 128px)) 0 clamp(56px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}
.ph__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 7.6vw, 112px);
  line-height: .98;
  letter-spacing: -.018em;
}
.ph__title em { font-style: italic; }
.ph__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
  align-items: end;
  margin-top: clamp(36px, 5vw, 64px);
}
.ph__lead {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.5;
  max-width: 560px;
}
.ph__index {
  justify-self: end;
  font-family: var(--serif);
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 300;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  user-select: none;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 48px);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumb a { transition: color .3s; }
.crumb a:hover { color: var(--ink); }
.crumb [aria-current] { color: var(--ink); }

/* ---------- 11. Sections ------------------------------------------------ */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .66) 0; }
.section + .section:not(.section--dark):not(.section--grey) { border-top: 1px solid var(--line); }
.section--grey { background: var(--paper-2); }
.section--dark,
.on-dark {
  background: var(--ink);
  color: var(--paper);
}
.on-dark .text { color: rgba(255, 255, 255, .66); }
.on-dark .text a { color: var(--paper); }

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.split--even { grid-template-columns: 1fr 1fr; }
.split--rev { grid-template-columns: 7fr 5fr; }
.sticky { position: sticky; top: calc(var(--hd-h) + 40px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 64px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section__head .text { max-width: 440px; }

.stack > * + * { margin-top: 28px; }
.stack-lg > * + * { margin-top: 44px; }

/* Signature / citation */
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
}
.signature small {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 12. Liste des domaines (style « carte d'hôtel ») ------------ */
.dlist { border-top: 1px solid var(--line); }
.on-dark .dlist { border-top-color: var(--line-dark); }
.dlist li { border-bottom: 1px solid var(--line); }
.on-dark .dlist li { border-bottom-color: var(--line-dark); }

.dlist__row {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1.2fr) 60px;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 3.4vw, 44px) 0;
  isolation: isolate;
  transition: color .6s var(--ease-out), padding .7s var(--ease-out);
}
.dlist__row::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(var(--gutter) * -1);
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .7s var(--ease-out);
}
.dlist__row:hover { color: var(--paper); }
.dlist__row:hover::before { transform: scaleY(1); transform-origin: 50% 0; }
.on-dark .dlist__row::before { background: var(--paper); }
.on-dark .dlist__row:hover { color: var(--ink); }

.dlist__n {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  opacity: .55;
}
.dlist__t {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 300;
  line-height: 1;
  transition: transform .7s var(--ease-out);
}
.dlist__row:hover .dlist__t { transform: translateX(14px); font-style: italic; }
.dlist__d {
  font-size: 15px;
  line-height: 1.65;
  opacity: .72;
}
.dlist__a {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform .7s var(--ease-out);
}
.dlist__a svg { width: 18px; height: 8px; }
.dlist__row:hover .dlist__a { transform: rotate(-45deg); }

/* ---------- 13. Piliers / engagements ----------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}
.pillar {
  padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 44px) 0 0;
}
.pillar + .pillar {
  padding-left: clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--line-dark);
}
.pillar__n {
  display: block;
  margin-bottom: 40px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  opacity: .55;
}
.pillar h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.1;
}
.pillar p { color: rgba(255, 255, 255, .66); font-size: 15.5px; }
.section:not(.section--dark) .pillars { border-top-color: var(--line); }
.section:not(.section--dark) .pillar + .pillar { border-left-color: var(--line); }
.section:not(.section--dark) .pillar p { color: var(--muted); }

/* ---------- 14. Grilles de contenu (domaines) --------------------------- */
.items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.item {
  padding: clamp(28px, 3vw, 40px) clamp(0px, 3vw, 44px) clamp(28px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.item:nth-child(even) {
  padding-left: clamp(20px, 3vw, 44px);
  padding-right: 0;
  border-left: 1px solid var(--line);
}
.item__n {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--muted);
}
.item h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 31px);
  font-weight: 400;
  line-height: 1.15;
}
.item p { color: var(--muted); font-size: 15.5px; }

.items--single { grid-template-columns: 1fr; }
.items--single .item,
.items--single .item:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }

/* Étapes (déroulé d'un dossier) */
.steps { counter-reset: step; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 120px 1fr 1.4fr;
  gap: 24px 48px;
  padding: clamp(28px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.step__n {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
}
.step h3 {
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 31px);
  font-weight: 400;
  line-height: 1.15;
}
.step p { color: var(--muted); font-size: 15.5px; }

/* Encadré « Bon à savoir » */
.note {
  position: relative;
  padding: clamp(32px, 4vw, 56px);
  background: var(--ink);
  color: var(--paper);
}
.note h3 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
}
.note p, .note li { color: rgba(255, 255, 255, .72); font-size: 15.5px; }
.note .eyebrow { color: var(--paper); }

.checklist li {
  position: relative;
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px; top: 25px;
  width: 14px; height: 1px;
  background: var(--ink);
}
.note .checklist li { border-bottom-color: var(--line-dark); }
.note .checklist li::before { background: var(--paper); }

/* Navigation entre domaines */
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pager a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(36px, 5vw, 64px) var(--gutter);
  isolation: isolate;
  transition: color .6s var(--ease-out);
}
.pager a + a { border-left: 1px solid var(--line); text-align: right; align-items: flex-end; }
.pager a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .7s var(--ease-out);
}
.pager a:hover { color: var(--paper); }
.pager a:hover::before { transform: scaleY(1); }
.pager__label { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; opacity: .6; }
.pager__title { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); font-weight: 300; line-height: 1.05; }

/* Cartes des domaines (page Domaines) */
.dcards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.dcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: clamp(32px, 4vw, 56px);
  background: var(--paper);
  isolation: isolate;
  overflow: hidden;
  transition: color .7s var(--ease-out);
}
.dcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  clip-path: circle(0% at 100% 100%);
  transition: clip-path 1s var(--ease-inout);
}
.dcard:hover { color: var(--paper); }
.dcard:hover::before { clip-path: circle(150% at 100% 100%); }
.dcard__n {
  font-family: var(--serif);
  font-size: 88px;
  font-weight: 300;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px currentColor;
}
.dcard h2 {
  margin-top: auto;
  padding-top: 48px;
  font-family: var(--serif);
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1;
}
.dcard p {
  margin-top: 18px;
  max-width: 44ch;
  font-size: 15.5px;
  opacity: .72;
}
.dcard .link { margin-top: 28px; align-self: flex-start; }

/* Portrait / blason */
.crest {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.crest::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .2);
}
.crest img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.crest__mono {
  font-family: var(--serif);
  font-size: clamp(96px, 12vw, 160px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .06em;
}
.crest__caption {
  position: absolute;
  left: 0; right: 0; bottom: 44px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

/* Citation grand format */
.quote {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.18;
}
.quote blockquote em { font-style: italic; }
.quote figcaption {
  margin-top: 36px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  opacity: .6;
}
.quote__mark {
  display: block;
  margin: 0 auto 28px;
  width: 1px; height: 64px;
  background: currentColor;
  opacity: .4;
}

/* Chiffres clés (honoraires) */
.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.figure { padding: 40px clamp(16px, 3vw, 40px) 40px 0; }
.figure + .figure { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--line); }
.figure__v {
  display: block;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 300;
  line-height: 1;
}
.figure__l { display: block; margin-top: 16px; color: var(--muted); font-size: 15px; }

/* Texte juridique long (mentions, honoraires) */
.prose { max-width: 760px; color: var(--muted); }
.prose h2 {
  margin: 64px 0 22px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 36px 0 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}
.prose ul { margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .9em;
  width: 12px; height: 1px;
  background: var(--ink);
}
.prose dl { display: grid; grid-template-columns: 220px 1fr; gap: 0; margin: 0 0 1.2em; border-top: 1px solid var(--line); }
.prose dt, .prose dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prose dt { color: var(--ink); font-weight: 500; font-size: 14px; letter-spacing: .04em; padding-right: 20px; }

.toc {
  display: grid;
  gap: 2px;
  font-size: 14px;
}
.toc a {
  display: block;
  padding: 10px 0 10px 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  transition: color .3s, border-color .3s, padding-left .5s var(--ease-out);
}
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--ink); padding-left: 24px; }

/* ---------- 15. Contact ------------------------------------------------- */
.coords { border-top: 1px solid var(--line); }
.coord {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.coord__l { padding-top: 6px; color: var(--muted); }
.coord__v { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.4; word-break: break-word; }
.coord__v a { transition: opacity .3s; }
.coord__v a:hover { opacity: .6; }
.coord__v small { display: block; font-family: var(--sans); font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-top: 4px; }

.form { display: grid; gap: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.field { position: relative; padding-top: 22px; }
.field label {
  position: absolute;
  left: 0; top: 38px;
  font-size: 15.5px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .5s var(--ease-out), color .3s;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16.5px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .4s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { cursor: pointer; }
.field::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .7s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field--select label {
  transform: translateY(-30px) scale(.78);
  color: var(--ink);
  letter-spacing: .04em;
}
.field--select::before {
  content: "";
  position: absolute;
  right: 4px; top: 44px;
  width: 8px; height: 8px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(45deg);
  pointer-events: none;
}
.field.is-invalid input,
.field.is-invalid textarea { border-bottom-color: #8a1c1c; }
.field__err { display: block; min-height: 20px; padding-top: 6px; font-size: 13px; color: #8a1c1c; }

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  width: 18px; height: 18px;
  margin: 2px 0 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.consent input::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--ink);
  transform: scale(0);
  transition: transform .3s var(--ease-out);
}
.consent input:checked::after { transform: scale(1); }
.consent a { color: var(--ink); border-bottom: 1px solid currentColor; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.form__hint { font-size: 13px; color: var(--muted); }
.form__status {
  display: none;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.form__status.is-visible { display: block; animation: fade-up .6s var(--ease-out) both; }
.form__status.is-success { background: var(--ink); color: var(--paper); }
.form__status a { border-bottom: 1px solid currentColor; }
.btn.is-loading { pointer-events: none; opacity: .7; }

/* Carte (chargée uniquement sur demande) */
.map {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}
.map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}
.map__placeholder svg.map__lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: .5;
}
.map__placeholder > *:not(svg) { position: relative; }
.map__placeholder p { max-width: 380px; font-size: 13.5px; color: var(--muted); }
.map__addr { font-family: var(--serif); font-size: 26px; line-height: 1.2; }

/* ---------- 16. Bandeau d'appel & pied de page --------------------------- */
.cta {
  padding: var(--section) 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.cta .eyebrow { justify-content: center; }
.cta .eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}
.cta__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -.015em;
}
.cta__title em { font-style: italic; }
.cta .btn-row { justify-content: center; margin-top: 52px; }

.ft {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line-dark);
}
.ft__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 72px);
}
.ft__brand .brand__mono { border-color: var(--paper); }
.ft__brand .brand:hover .brand__mono { background: var(--paper); color: var(--ink); }
.ft__brand .brand__sub { color: rgba(255, 255, 255, .5); }
.ft__brand p { margin-top: 28px; max-width: 300px; font-size: 14.5px; color: rgba(255, 255, 255, .6); }
.ft h2 {
  margin-bottom: 22px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.ft li { margin-bottom: 10px; }
.ft address { font-style: normal; }
.ft address, .ft li { font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.ft a { transition: opacity .3s; }
.ft a:hover { opacity: .55; }
.ft__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 32px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line-dark);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
}
.ft__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ft__bottom li { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .5); }

.ft__giant {
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  padding: clamp(24px, 3vw, 40px) 0 0;
  user-select: none;
}
.ft__giant span {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 13.4vw, 210px);
  line-height: .8;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
  transform: translateY(12%);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .7);
}
.to-top svg { width: 9px; height: 12px; }

/* ---------- 17. Page 404 ------------------------------------------------ */
.e404 {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--hd-h) + 40px) 0 80px;
}
.e404__n {
  font-family: var(--serif);
  font-size: clamp(120px, 24vw, 340px);
  font-weight: 300;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
}

/* ---------- 18. Révélations au défilement ------------------------------- */
.js .ph .line > span,
.js .hero .line > span {
  transform: translateY(105%);
  transition: transform 1.3s var(--ease-out);
}
.js.is-ready .ph .line > span,
.js.is-ready .hero .line > span { transform: none; }
.js.is-ready .line:nth-child(2) > span { transition-delay: .09s; }
.js.is-ready .line:nth-child(3) > span { transition-delay: .18s; }

.js .fade-late {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s var(--ease-out) .35s, transform 1.2s var(--ease-out) .35s;
}
.js.is-ready .fade-late { opacity: 1; transform: none; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal="line"] {
  opacity: 1;
  transform: none;
}
.js [data-reveal="line"] .line > span {
  transform: translateY(105%);
  transition: transform 1.3s var(--ease-out);
}
.js [data-reveal="line"].is-in .line > span { transform: none; }
.js [data-reveal="line"].is-in .line:nth-child(2) > span { transition-delay: .09s; }
.js [data-reveal="line"].is-in .line:nth-child(3) > span { transition-delay: .18s; }

.js [data-reveal="rule"] { opacity: 1; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease-inout); }
.js [data-reveal="rule"].is-in { transform: none; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 19. Responsive ---------------------------------------------- */
@media (max-width: 1100px) {
  .nav, .hd__tel { display: none; }
  .burger { display: block; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .dlist__row { grid-template-columns: 64px 1fr 52px; }
  .dlist__d { grid-column: 2 / 3; grid-row: 2; }
  .dlist__a { grid-column: 3; grid-row: 1 / 3; }
}

@media (max-width: 860px) {
  :root { --hd-h: 72px; }
  body { font-size: 16px; }
  .brand__mono { width: 42px; height: 42px; font-size: 17px; }
  .brand__name { font-size: 19px; }
  .burger { width: 42px; height: 42px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:nth-child(1) { top: 16px; }
  .burger span:nth-child(2) { top: 25px; }

  .split, .split--even, .split--rev, .ph__bottom { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .ph__index { display: none; }
  .infobar__grid { grid-template-columns: 1fr; }
  .infobar__item { padding: 22px 0; }
  .infobar__item + .infobar__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .pillars, .figures { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar, .figure, .figure + .figure { padding-left: 0; padding-right: 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line-dark); margin-top: 40px; }
  .section:not(.section--dark) .pillar + .pillar { border-top-color: var(--line); }
  .pillar { padding-bottom: 0; }
  .pillar__n { margin-bottom: 20px; }
  .figure + .figure { border-top: 1px solid var(--line); }
  .items { grid-template-columns: 1fr; }
  .item, .item:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step__n { font-size: 36px; }
  .dcards { grid-template-columns: 1fr; }
  .dcard { min-height: 340px; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a { border-left: 0; border-top: 1px solid var(--line); }
  .form__row { grid-template-columns: 1fr; }
  .coord { grid-template-columns: 1fr; gap: 4px; }
  .prose dl { grid-template-columns: 1fr; }
  .prose dt { border-bottom: 0; padding-bottom: 0; }
  .hero__scroll { display: none; }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__art { overflow: hidden; }
  .hero__art svg { width: 180%; max-width: none; max-height: none; margin-left: -62%; }
  .section__head { margin-bottom: 40px; }
}

@media (max-width: 560px) {
  .brand__txt { display: none; }
  .ft__grid { grid-template-columns: 1fr; gap: 40px; }
  .dlist__row { grid-template-columns: 40px 1fr 44px; gap: 14px; }
  .dlist__a { width: 44px; height: 44px; }
  .dlist__row:hover .dlist__t { transform: translateX(6px); }
  .btn { width: 100%; }
  .btn-row { width: 100%; }
  .map { aspect-ratio: 4 / 5; }
}

/* ---------- 20. Mouvement réduit --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .eze-art .draw { stroke-dashoffset: 0; }
  .has-intro .intro { display: none; }
}

/* ---------- 21. Impression ---------------------------------------------- */
@media print {
  .hd, .menu, .pt, .intro, .cta, .ft__giant, .hero__art, .hero__scroll, .burger, .map { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .section, .ph { padding: 24pt 0; }
  .js [data-reveal], .js .line > span, .js .fade-late { opacity: 1 !important; transform: none !important; }
  .ft { background: #fff; color: #000; }
}

/* ---------- 22. Compléments ------------------------------------------- */
.note a { color: var(--paper); border-bottom: 1px solid currentColor; }
.split--toc { grid-template-columns: 3fr 8fr; }
@media (max-width: 860px) { .split--toc { grid-template-columns: 1fr; } .toc { display: none; } }
