/* ==========================================================
   Essra Siam — Avocate à la Cour
   Identité tirée de la carte de visite : papier ivoire,
   or patiné, encre noire, capitales romaines.
   ========================================================== */

:root {
  --paper: #f6f1e8;
  --paper-deep: #ede4d3;
  --paper-card: #fbf8f2;
  --ink: #15120f;
  --ink-soft: #221d18;
  --ink-2: #3a342d;
  --muted: #6b6257;
  --gold: #a57a2c;
  --gold-deep: #7e5b1c;
  --gold-light: #dcbd74;
  --line: rgba(165, 122, 44, 0.3);
  --line-dark: rgba(220, 189, 116, 0.2);
  --on-dark: #d9d0c2;
  --on-dark-muted: #9d9383;
  --gold-grad: linear-gradient(100deg, #7e5b1c 0%, #b88a38 32%, #e6cc86 52%, #b88a38 70%, #8c6624 100%);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --roman: "Cinzel", "Trajan Pro", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --arabic: "Amiri", "Noto Naskh Arabic", serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(88px, 11vw, 150px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grain de papier, comme la carte */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
  opacity: 0.13;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.36 0 0 0 0 0.27 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 400;
  background: var(--ink); color: var(--paper); padding: 10px 16px; font-size: 0.85rem;
}
.skip-link:focus { top: 12px; }

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

[lang="ar"] { font-family: var(--arabic); }

/* ---------- Typographie ---------- */

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }
.on-dark .eyebrow { color: var(--gold-light); }
.on-dark .eyebrow::before { background: var(--gold-light); }

h1, h2, h3, h4 { font-weight: 500; color: var(--ink); }

h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.3vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin-top: 18px;
}
h2 em, h1 em { font-style: italic; color: var(--gold-deep); }
.on-dark h2 { color: var(--paper); }
.on-dark h2 em { color: var(--gold-light); }

h3 { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; line-height: 1.15; }

.lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.45;
  color: var(--ink);
}

.rule { width: 64px; height: 1px; background: var(--gold-grad); border: 0; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400;
  color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--gold);
  transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}
.link-arrow:hover { gap: 18px; color: var(--gold-deep); }
.link-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.on-dark .link-arrow { color: var(--paper); border-color: var(--gold-light); }
.on-dark .link-arrow:hover { color: var(--gold-light); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 17px 28px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; flex: none; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--gold { border-color: var(--gold-light); color: var(--gold-light); }
.btn--gold:hover { background: var(--gold-light); color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--gold-light); border-color: var(--gold-light); }

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 20px 0;
  transition: padding 0.4s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 241, 232, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled { padding: 10px 0; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; position: relative; z-index: 61; }
.brand img { height: 56px; width: auto; transition: height 0.4s var(--ease); }
.is-scrolled .brand img { height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--roman); font-size: 1.1rem; letter-spacing: 0.1em; color: var(--ink); }
.brand-sub { font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); margin-inline-start: auto; }
.nav a:not(.btn) {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 12px 20px; font-size: 0.7rem; }
.nav a.nav-ar { font-family: var(--arabic); font-size: 1.1rem; letter-spacing: 0; text-transform: none; padding: 0; }
.nav-contact { display: none; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; z-index: 61; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.2s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (accueil) ---------- */

.hero { padding-top: clamp(130px, 15vw, 168px); padding-bottom: clamp(70px, 8vw, 110px); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.hero-maitre {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: 0.01em;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.hero-name {
  font-family: var(--roman);
  font-weight: 500;
  font-size: clamp(3.1rem, 7.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-top: 30px;
}
.hero-title {
  font-family: var(--roman);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  letter-spacing: 0.5em;
  color: var(--ink-2);
  margin-top: 20px;
}
.hero .rule { margin: 34px 0 28px; }
.hero .lead { max-width: 40ch; }
.hero-text { margin-top: 18px; max-width: 50ch; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-ar { margin-top: 38px; font-size: 1.3rem; color: var(--ink-2); line-height: 1.9; width: fit-content; max-width: 100%; }

/* Cadre en arche — les baies du Palais */
.arch {
  position: relative;
  aspect-ratio: 4 / 5.3;
  width: 100%;
  max-width: 470px;
  margin-inline-start: auto;
}
.arch::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(18px, 18px);
  border: 1px solid var(--gold);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.arch-inner {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--paper-deep);
}
.arch-inner img { width: 100%; height: 100%; object-fit: cover; }
.hero .arch-inner img { object-position: 50% 50%; }

.seal {
  position: absolute;
  inset-inline-start: -48px;
  bottom: 60px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px -22px rgba(21, 18, 15, 0.45);
}
/* Le monogramme centré dans le médaillon (l'image fait 3:4) */
.seal img { width: 54%; height: auto; margin-top: -4%; }

/* ---------- Bandeau de repères ---------- */

.facts { background: var(--paper-deep); border-block: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li {
  padding: 30px 24px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 400;
  position: relative;
}
.facts li + li::before { content: ""; position: absolute; inset-inline-start: 0; top: 26%; bottom: 26%; width: 1px; background: var(--line); }
.facts strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-deep);
  margin-bottom: 2px;
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); position: relative; }
.section--deep { background: var(--paper-deep); }
.section--card { background: var(--paper-card); border-block: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 76px); }
.section-head > p { margin-top: 22px; color: var(--muted); max-width: 58ch; }
.on-dark .section-head > p { color: var(--on-dark-muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center > p { margin-inline: auto; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-head--split > div { max-width: 700px; }
.section-head--split > div > p:not(.eyebrow) { margin-top: 22px; color: var(--muted); }

/* ---------- Méthode (défense personnelle et réactive) ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.step { padding-top: 28px; border-top: 1px solid var(--ink); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: 1; display: block; margin-bottom: 18px; color: var(--gold-deep); }
.step h3 { font-size: 1.55rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Domaines (cartes) ---------- */

.domains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.domain {
  background: var(--paper-card);
  border: 1px solid var(--line);
  padding: 40px 30px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.domain:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 28px 50px -34px rgba(21, 18, 15, 0.35); }
.domain-num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold); position: absolute; top: 20px; inset-inline-end: 24px; }
.icon { stroke: var(--gold); fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.domain .icon { width: 50px; height: 50px; margin-bottom: 26px; }
.domain h3 { margin-bottom: 12px; font-size: 1.6rem; }
.domain p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.domain .more {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
}
.domain .more svg { width: 16px; height: 16px; stroke: var(--gold-deep); fill: none; stroke-width: 1.4; transition: transform 0.4s var(--ease); }
.domain:hover .more svg { transform: translateX(6px); }

.services { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 40px 1fr 18px; gap: 16px; align-items: center; padding: 22px 26px; transition: background 0.35s var(--ease); }
.service + .service { border-inline-start: 1px solid var(--line); }
.service:hover { background: var(--paper-card); }
.service .icon { width: 34px; height: 34px; }
.service strong { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--ink); display: block; line-height: 1.2; }
.service small { font-size: 0.8rem; color: var(--muted); }
.service > svg:last-child { width: 16px; height: 16px; stroke: var(--gold-deep); fill: none; stroke-width: 1.4; }
.services-label { margin-top: 50px; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }

/* ---------- Citation (bandeau photo) ---------- */

.quote {
  position: relative;
  padding-block: clamp(110px, 14vw, 180px);
  color: var(--paper);
  text-align: center;
  background: #1a1511 url("../img/palais-plaque.jpg") center 45% / cover no-repeat;
  isolation: isolate;
}
.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 18, 15, 0.82), rgba(21, 18, 15, 0.7) 50%, rgba(21, 18, 15, 0.84));
  z-index: -1;
}
.quote .rule { margin: 0 auto 38px; }
.quote blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.42;
  max-width: 40ch;
  margin: 0 auto;
}
.quote blockquote p mark { background: none; color: var(--gold-light); }
.quote cite {
  display: block;
  margin-top: 34px;
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---------- Portrait (accueil) ---------- */

.about .wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.about-media { position: relative; padding-block: 18px 70px; padding-inline: 18px 0; }
.frame { position: relative; }
.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(-18px, -18px);
  border: 1px solid var(--gold);
  pointer-events: none;
}
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; position: relative; }
.about-media .frame img { object-position: 50% 30%; }
.about-inset {
  position: absolute;
  inset-inline-end: -26px;
  bottom: 0;
  width: 42%;
  border: 8px solid var(--paper);
  box-shadow: 0 24px 50px -28px rgba(21, 18, 15, 0.5);
}
.about-inset img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 22%; }
.about-text > p { margin-top: 22px; }
.about-text h2 { font-style: italic; }
.pull {
  margin-top: 34px;
  padding-inline-start: 26px;
  border-inline-start: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--ink);
}
.langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.langs span {
  border: 1px solid var(--line);
  padding: 7px 16px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.langs span[lang="ar"] { font-size: 1.05rem; letter-spacing: 0; padding: 3px 16px; }
.about-text .link-arrow { margin-top: 36px; }

/* ---------- Galerie « Au Palais » ---------- */

.gallery { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 20px; align-items: end; }
.gallery figure { overflow: hidden; background: var(--paper-deep); }
.gallery img { width: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure:nth-child(1) img { aspect-ratio: 3 / 4; object-position: 55% 30%; }
.gallery figure:nth-child(2) img { aspect-ratio: 4 / 5; object-position: 40% 30%; }
.gallery figure:nth-child(3) img { aspect-ratio: 3 / 4.3; object-position: 50% 45%; }

/* ---------- Bloc arabe ---------- */

.arabic { text-align: center; }
.arabic .emblem { height: 120px; width: auto; margin: 0 auto 26px; }
.arabic h2 { font-family: var(--arabic); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.5; }
.arabic p[lang="ar"] { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 2; color: var(--ink-2); max-width: 34ch; margin: 12px auto 0; }
.arabic .fr { font-family: var(--sans); margin-top: 22px; font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.arabic .btn { margin-top: 34px; font-family: var(--arabic); font-size: 1.1rem; letter-spacing: 0; text-transform: none; padding: 12px 28px; }

/* ---------- Rendez-vous ---------- */

.rdv { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.rdv::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  left: -360px;
  top: -320px;
  background: radial-gradient(circle, rgba(220, 189, 116, 0.12), transparent 62%);
  pointer-events: none;
}
.rdv .wrap { position: relative; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(44px, 7vw, 100px); align-items: start; }
.rdv-intro { margin-top: 22px; max-width: 44ch; color: var(--on-dark-muted); }

.coords { margin-top: 40px; }
.coords li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-dark); align-items: center; }
.coords li:last-child { border-bottom: 1px solid var(--line-dark); }
.coords .icon { width: 24px; height: 24px; stroke: var(--gold-light); stroke-width: 1.3; }
.coords small { display: block; font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--on-dark-muted); }
.coords a, .coords address { font-family: var(--serif); font-style: normal; font-size: 1.4rem; color: var(--paper); line-height: 1.3; }
.coords a:hover { color: var(--gold-light); }
.coords a, .coords address, .facts strong { font-variant-numeric: lining-nums; }

.urgent {
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid var(--gold-light);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.urgent p { font-size: 0.92rem; color: var(--on-dark); line-height: 1.55; }
.urgent strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.3rem; color: var(--gold-light); }
.urgent .btn { padding: 13px 18px; }

.rdv-card {
  background: var(--paper);
  color: var(--ink-2);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.rdv-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.rdv-card h3 { font-size: 1.9rem; }
.rdv-card > p { color: var(--muted); font-size: 0.93rem; margin-top: 6px; }
.rdv-card fieldset { border: 0; margin-top: 28px; min-width: 0; }
.rdv-card legend, .field > label {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-deep);
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.rdv-card legend span, .field > label span { font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--gold); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  border: 1px solid rgba(21, 18, 15, 0.2);
  padding: 9px 16px;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--ink-2);
  transition: all 0.25s var(--ease);
  user-select: none;
}
.chip span[lang="ar"] { font-size: 1.02rem; padding: 6px 16px; }
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-top: 28px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  border: 0;
  border-bottom: 1px solid rgba(21, 18, 15, 0.25);
  background: transparent;
  padding: 8px 0 10px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
  width: 100%;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%237e5b1c' stroke-width='1.3'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: #a39a8d; }

.rdv-send { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rdv-send .btn { padding: 18px 16px; }
.rdv-legal { margin-top: 18px; font-size: 0.8rem; line-height: 1.6; color: var(--muted); display: flex; gap: 10px; }
.rdv-legal svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }

.rdv-preview { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.rdv-preview summary {
  cursor: pointer;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.rdv-preview summary::-webkit-details-marker { display: none; }
.rdv-preview summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.rdv-preview[open] summary::after { content: "–"; }
.rdv-preview pre {
  margin-top: 14px;
  white-space: pre-wrap;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--paper-card);
  padding: 18px 20px;
  border-inline-start: 2px solid var(--gold);
}

/* ---------- Bandeau contact (pages internes) ---------- */

.contact-band { background: var(--ink); color: var(--on-dark); padding-block: clamp(70px, 9vw, 110px); position: relative; overflow: hidden; }
.contact-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; position: relative; }
.contact-band h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.contact-band p { margin-top: 14px; color: var(--on-dark-muted); max-width: 52ch; }
.contact-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.contact-band .actions .btn:not(.btn--gold) { border-color: rgba(246, 241, 232, 0.4); color: var(--paper); }
.contact-band .actions .btn:not(.btn--gold):hover { background: var(--paper); color: var(--ink); }

/* ---------- Pages internes : en-tête ---------- */

.page-hero { padding-top: clamp(140px, 16vw, 190px); padding-bottom: clamp(56px, 7vw, 90px); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  line-height: 1.05;
  margin-top: 22px;
  max-width: 16ch;
}
.page-hero .lead { margin-top: 26px; max-width: 42ch; color: var(--ink-2); }
.page-hero--split .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 7vw, 100px); align-items: end; }
.page-hero--split .frame img { aspect-ratio: 4 / 4.6; object-position: 62% 38%; }
.page-hero--split .frame { margin-inline-start: 18px; margin-top: 18px; }
.breadcrumb { font-size: 0.74rem; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { border-bottom: 1px solid var(--line); }
.breadcrumb a:hover { color: var(--gold-deep); }

/* ---------- Le cabinet : récit ---------- */

.story { padding-block: clamp(40px, 6vw, 80px) var(--section); }
.chapter { margin-top: clamp(64px, 8vw, 100px); }
.chapter:first-child { margin-top: 0; }
.chapter-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 26px; }
.chapter-num { font-family: var(--roman); font-size: 0.95rem; letter-spacing: 0.2em; color: var(--gold); }
.chapter-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 0; font-style: italic; }
.story p { font-size: 1.08rem; line-height: 1.9; margin-top: 20px; color: var(--ink-2); }
.story .dropcap::first-letter {
  font-family: var(--roman);
  float: left;
  font-size: 4.6rem;
  line-height: 0.85;
  padding: 8px 12px 0 0;
  color: var(--gold-deep);
}
.story blockquote {
  margin: 44px 0;
  padding: 34px 0;
  border-block: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 1.35;
  color: var(--ink);
  text-align: center;
}
.story blockquote p { font-size: inherit; line-height: inherit; color: inherit; margin: 0; }
.story figure { margin: 56px 0; }
.story figure img { width: 100%; object-fit: cover; }
.story figure.wide { margin-inline: clamp(-140px, -10vw, 0px); }
.story figure.wide img { aspect-ratio: 16 / 10; }
.story figure.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.story figure.pair img { aspect-ratio: 3 / 4; }
.story figure.tall { max-width: 440px; margin-inline: auto; }
.story figure.tall img { aspect-ratio: 3 / 4; }
.story p a { border-bottom: 1px solid var(--gold); }
.story p a:hover { color: var(--gold-deep); }
.story figcaption { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted); margin-top: 12px; text-align: center; }
.story .closing { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.4; color: var(--ink); margin-top: 34px; }
.story .signature { font-family: var(--serif); font-style: italic; font-size: 2rem; margin-top: 30px; color: var(--gold-deep); }

.quote-light {
  text-align: center;
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}
.quote-light .mark { font-family: var(--serif); font-size: 7rem; line-height: 0.6; color: var(--gold); display: block; height: 50px; }
.quote-light blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 46ch;
  margin: 0 auto;
}
.quote-light cite { display: block; margin-top: 30px; font-style: normal; font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-deep); }
.quote-light cite em { text-transform: none; letter-spacing: 0.04em; font-family: var(--serif); font-size: 1.05rem; }

.pillars2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar-card { background: var(--paper-card); border: 1px solid var(--line); padding: clamp(32px, 4vw, 50px); }
.pillar-card .icon { width: 44px; height: 44px; margin-bottom: 22px; }
.pillar-card h3 { font-size: 1.7rem; margin-bottom: 14px; }
.pillar-card p + p { margin-top: 14px; }
.pillar-card .values { margin-top: 26px; }

/* Parcours */
.path-grid { display: grid; grid-template-columns: 1.45fr 0.55fr; gap: clamp(48px, 7vw, 100px); }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 124px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 124px 1fr; gap: 0 44px; padding-bottom: 38px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::after {
  content: "";
  position: absolute;
  inset-inline-start: 120px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 1px solid var(--gold);
}
.tl-item.is-key::after { background: var(--gold); }
.tl-year { font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--gold-deep); line-height: 1.35; }
.tl-body h3 { font-size: 1.35rem; line-height: 1.25; }
.tl-body p { font-size: 0.95rem; color: var(--muted); margin-top: 4px; }

.honors { border-top: 1px solid var(--gold); padding-top: 28px; align-self: start; }
.honors h3 { font-size: 1.5rem; margin-bottom: 14px; }
.honors li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.honors li small { display: block; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 4px; }

/* ---------- Domaines : page détaillée ---------- */

.subnav {
  position: sticky;
  top: 66px;
  z-index: 40;
  background: rgba(246, 241, 232, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-block: 1px solid var(--line);
}
.subnav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block;
  white-space: nowrap;
  padding: 8px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.subnav a:hover { border-color: var(--line); }
.subnav a.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.practice { padding-block: clamp(80px, 10vw, 130px); border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.practice--alt { background: var(--paper-card); }
.practice .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.practice-aside { position: sticky; top: 150px; }
.practice-aside .icon { width: 58px; height: 58px; }
.practice-aside .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; display: block; margin: 20px 0 6px; }
.practice-aside h2 { margin-top: 0; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.practice-aside .btn { margin-top: 30px; }
.practice-body > .lead { color: var(--ink-2); }
.practice-body .body-intro { margin-top: 20px; }
.practice-body h3 { font-size: 0.72rem; font-family: var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; margin-top: 40px; }
.checklist { margin-top: 16px; columns: 2; column-gap: 36px; }
.checklist li { break-inside: avoid; padding-block: 11px; padding-inline: 26px 0; position: relative; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: 23px; width: 12px; height: 1px; background: var(--gold); }
.when {
  margin-top: 40px;
  padding: 26px 28px;
  background: var(--paper-deep);
  border-inline-start: 2px solid var(--gold);
}
.practice--alt .when { background: var(--paper); }
.when strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.3rem; color: var(--ink); margin-bottom: 6px; }
.when p { font-size: 0.97rem; }

.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.extra { border: 1px solid var(--line); padding: 36px 30px; background: var(--paper-card); scroll-margin-top: 130px; }
.extra .icon { width: 42px; height: 42px; margin-bottom: 20px; }
.extra h3 { font-size: 1.5rem; margin-bottom: 12px; }
.extra p { font-size: 0.95rem; color: var(--muted); }
.extra .link-arrow { margin-top: 22px; }

.deonto { margin-top: 44px; font-size: 0.84rem; color: var(--muted); text-align: center; max-width: 70ch; margin-inline: auto; }

/* ---------- Mentions légales ---------- */

.legal { padding-bottom: var(--section); }
.legal h2 { font-size: 1.8rem; margin-top: 50px; }
.legal p, .legal li { margin-top: 12px; }
.legal dl { margin-top: 14px; display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; }
.legal dt { font-weight: 400; color: var(--ink); }
.legal .todo { background: rgba(220, 189, 116, 0.35); padding: 0 6px; }
.legal a { border-bottom: 1px solid var(--gold); }

/* ---------- Pied de page ---------- */

.site-footer { background: #0f0d0b; color: var(--on-dark-muted); padding: 64px 0 36px; font-size: 0.86rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: flex; gap: 18px; align-items: center; }
.footer-brand img { height: 74px; width: auto; }
.footer-name { font-family: var(--roman); letter-spacing: 0.12em; color: var(--on-dark); font-size: 1.15rem; }
.footer-brand small { display: block; font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; margin-top: 6px; }
.footer-ar { margin-top: 20px; font-size: 1.1rem; color: var(--gold-light); line-height: 1.8; }
.site-footer h4 { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light); font-weight: 400; margin-bottom: 16px; }
.site-footer li { padding: 4px 0; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; font-size: 0.78rem; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Barre de contact mobile ---------- */

.mobile-bar { display: none; }

/* ---------- Sélecteur de langue ---------- */

.lang-switch {
  display: flex;
  align-items: center;
  margin-inline-start: clamp(16px, 2vw, 28px);
  padding-inline-start: clamp(12px, 1.6vw, 22px);
  border-inline-start: 1px solid var(--line);
  position: relative;
  z-index: 61;
}
.lang-switch button {
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--muted);
  padding: 9px 9px 8px;
  transition: color 0.3s var(--ease);
}
.lang-switch button[lang="ar"] { font-family: "Amiri", serif; font-size: 1.02rem; letter-spacing: 0; padding-block: 4px 6px; }
.lang-switch button:hover, .lang-switch button[aria-pressed="true"] { color: var(--ink); }
.lang-switch button::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.lang-switch button[aria-pressed="true"]::after { transform: scaleX(1); }
.lang-switch button + button::before {
  content: "";
  position: absolute;
  inset-inline-start: -1.5px;
  top: 50%;
  width: 3px;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
}

/* ---------- Traduction ---------- */

html.i18n-wait body { opacity: 0; }
html[lang="fr"] .i18n-only { display: none; }
.lg-note { margin-top: 22px; padding-inline-start: 14px; border-inline-start: 2px solid var(--gold); font-size: 0.92rem; color: var(--muted); }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* Arabe : polices, typographie et lecture de droite à gauche */
html[lang="ar"] {
  --serif: "Amiri", "Noto Naskh Arabic", serif;
  --roman: "Amiri", "Noto Naskh Arabic", serif;
  --sans: "IBM Plex Sans Arabic", "Jost", "Helvetica Neue", Arial, sans-serif;
}
html[lang="ar"] body { font-size: 17.5px; line-height: 1.95; }
html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after { letter-spacing: 0 !important; }
html[lang="ar"] *:not(.keep-italic) { font-style: normal !important; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.45; }
html[lang="ar"] .hero-name { font-size: clamp(3rem, 6.2vw, 5.2rem); font-weight: 700; line-height: 1.25; }
html[lang="ar"] .hero-maitre { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 0; }
html[lang="ar"] .hero-title { font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
html[lang="ar"] .brand-name { font-size: 1.35rem; font-weight: 700; }
html[lang="ar"] .brand-sub { font-size: 0.74rem; margin-top: 1px; }
html[lang="ar"] .footer-name { font-size: 1.4rem; }
html[lang="ar"] .eyebrow, html[lang="ar"] .link-arrow, html[lang="ar"] .btn { font-size: 0.92rem; }
html[lang="ar"] .nav a:not(.btn) { font-size: 0.98rem; }
html[lang="ar"] .nav .btn { font-size: 0.88rem; }
html[lang="ar"] .facts li { font-size: 0.88rem; }
html[lang="ar"] .coords small, html[lang="ar"] .honors li small, html[lang="ar"] .site-footer h4 { font-size: 0.82rem; }
html[lang="ar"] .domain .more, html[lang="ar"] .subnav a, html[lang="ar"] .practice-body h3 { font-size: 0.9rem; }
html[lang="ar"] .services-label, html[lang="ar"] .quote cite, html[lang="ar"] .quote-light cite { font-size: 0.95rem; }
html[lang="ar"] .rdv-card legend, html[lang="ar"] .field > label, html[lang="ar"] .rdv-preview summary { font-size: 0.85rem; }
html[lang="ar"] .mobile-bar a { font-size: 0.78rem; }
html[lang="ar"] .quote blockquote p { line-height: 1.75; }
html[lang="ar"] .quote-light [lang="fr"] { font-family: "Cormorant Garamond", serif; }
html[lang="ar"] .story .dropcap::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
html[lang="ar"] #ar { display: none; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
html[dir="rtl"] .domain:hover .more svg { transform: scaleX(-1) translateX(6px); }
html[dir="rtl"] .arch::before { transform: translate(-18px, 18px); }
html[dir="rtl"] .frame::before { transform: translate(18px, -18px); }
html[dir="rtl"] .field select { background-position: left 4px center; padding-right: 0; padding-left: 24px; }
html[dir="rtl"] .field input[type="tel"] { direction: ltr; text-align: right; }
html[dir="rtl"] .step-num { direction: ltr; text-align: right; }

/* ---------- Apparition au défilement ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s !important; }
.reveal-d2 { transition-delay: 0.24s !important; }
.reveal-d3 { transition-delay: 0.36s !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .domain, .gallery img, .btn, .link-arrow { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .domains { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .service + .service { border-inline-start: 0; border-top: 1px solid var(--line); }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3)::before { display: none; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .path-grid { grid-template-columns: 1fr; }
  .rdv .wrap { grid-template-columns: 1fr; }
  .rdv-card { max-width: 720px; }
  .extras { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
    z-index: 60;
  }
  .nav a:not(.btn) { font-size: 0.95rem; }
  .nav a.nav-ar { font-size: 1.4rem; }
  .nav-contact { display: flex; gap: 22px; margin-top: 16px; }
  .nav-contact a { font-size: 0.8rem !important; color: var(--gold-deep) !important; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }

  .hero .wrap, .about .wrap, .page-hero--split .wrap, .practice .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero { padding-top: 104px; }
  .arch { max-width: 340px; margin: 0 auto; }
  .hero .arch { max-width: 270px; }
  .hero-name { margin-top: 22px; }
  .seal { inset-inline-start: -14px; bottom: 30px; width: 96px; height: 96px; }
  .about-media { max-width: 440px; margin: 0 auto; width: calc(100% - 26px); }
  .about-inset { inset-inline-end: -12px; }
  .page-hero--split .frame { max-width: 440px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .gallery figure:nth-child(2) img { aspect-ratio: 4 / 3.6; }
  .practice-aside { position: static; }
  .contact-band .wrap { grid-template-columns: 1fr; }
  .contact-band .actions { justify-content: flex-start; }
  .pillars2 { grid-template-columns: 1fr; }
  .subnav { top: 60px; }
  .story figure.wide { margin-inline: 0; }

  /* Barre de contact collée en bas d'écran */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 45;
    background: var(--ink);
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line-dark);
  }
  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 0 9px;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--on-dark);
  }
  .mobile-bar a + a { border-inline-start: 1px solid var(--line-dark); }
  .mobile-bar svg { width: 22px; height: 22px; stroke: var(--gold-light); fill: none; stroke-width: 1.3; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { height: 46px; }
  .is-scrolled .brand img { height: 40px; }
  .brand-name { font-size: 0.95rem; }
  .brand-sub { font-size: 0.54rem; letter-spacing: 0.24em; }
  .domains { grid-template-columns: 1fr; }
  .domain { padding: 36px 26px 30px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 22px 12px; font-size: 0.64rem; letter-spacing: 0.16em; }
  .facts strong { font-size: 1.2rem; }
  .timeline::before { inset-inline-start: 4px; }
  .tl-item { grid-template-columns: 1fr; padding-inline-start: 30px; }
  .tl-item::after { inset-inline-start: 0; top: 10px; }
  .hero-title { letter-spacing: 0.34em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .fields { grid-template-columns: 1fr; }
  .rdv-send { grid-template-columns: 1fr; }
  .urgent { grid-template-columns: 1fr; }
  .coords a, .coords address { font-size: 1.2rem; overflow-wrap: anywhere; }
  .checklist { columns: 1; }
  .story figure.pair { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .contact-band .actions .btn { flex: 1 1 100%; }
}

/* ---------- Sélecteur de langue : mobile ---------- */

@media (max-width: 900px) {
  .lang-switch { margin-inline-start: auto; margin-inline-end: 2px; padding-inline-start: 0; border-inline-start: 0; }
}

@media (max-width: 600px) {
  .brand { gap: 10px; }
  .lang-switch button { padding: 9px 6px 8px; font-size: 0.66rem; }
  .lang-switch button::after { left: 6px; right: 6px; }
  html[lang="ar"] .brand-name { font-size: 1.12rem; }
}

@media (max-width: 380px) {
  .brand-sub { display: none; }
}

.legal a, .legal dd { overflow-wrap: anywhere; }

/* ==========================================================
   V2 — cocon familial, Art déco haussmannien
   ========================================================== */

:root {
  --navy-0: #0b1226;
  --navy-1: #111a36;
  --navy-2: #172346;
  --navy-3: #243463;
  --navy-text: #ece6da;
  --navy-muted: #a7a59e;
  quotes: "«\00a0" "\00a0»" "“" "”";
}
:lang(en) { quotes: "“" "”" "‘" "’"; }
:lang(ar) { quotes: "«" "»" "“" "”"; }

html.doors-on body { overflow: hidden; }
section, .post-hero { position: relative; }
.section--tight { padding-block: 40px 70px; }

/* ---------- En-tête v2 ---------- */

.site-header .wrap { gap: 18px; justify-content: flex-start; }
.nav { margin-inline-start: auto; gap: clamp(16px, 2.2vw, 32px); }
.nav .nav-cta { display: none; }
.brand-logo--light { display: none; }
.header-cta { padding: 12px 18px; font-size: 0.68rem; margin-inline-start: 6px; }
.lang-switch { margin-inline-start: 4px; }
.nav a.nav-parole {
  padding: 7px 14px 6px;
  border: 1px solid rgba(36, 52, 99, 0.35);
  background: rgba(23, 35, 70, 0.05);
  color: var(--navy-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav a.nav-parole::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy-3); box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.35); }
.nav a.nav-parole::after { display: none; }
.nav a.nav-parole:hover, .nav a.nav-parole[aria-current="page"] { background: var(--navy-2); color: var(--navy-text); border-color: var(--navy-2); }

/* ---------- Portes d'entrée (première visite) ---------- */

.doors { display: none; }
html.doors-on .doors {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1000;
  perspective: 1800px;
  cursor: pointer;
  background: #0d0b09;
}
.door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.2%;
  background: linear-gradient(90deg, #110e0b 0%, #1b1712 65%, #241e17 100%);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.55);
  transition: transform 1.55s cubic-bezier(0.7, 0, 0.2, 1);
  backface-visibility: hidden;
  will-change: transform;
}
.door--l { left: 0; transform-origin: left center; }
.door--r { right: 0; transform-origin: right center; background: linear-gradient(270deg, #110e0b 0%, #1b1712 65%, #241e17 100%); }
.door svg { display: block; width: 100%; height: 100%; }
.door-art rect, .door-art path { fill: none; stroke: #c9a45c; stroke-width: 1; vector-effect: non-scaling-stroke; }
.door-art .soft { opacity: 0.5; }
.door-art .rays { opacity: 0.26; }
.door .handle { fill: #c9a45c; }
.doors::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, transparent, #f1d894 45%, #f1d894 55%, transparent);
  opacity: 0;
  filter: blur(1px);
  transition: opacity 0.6s var(--ease);
}
.doors.is-lit::after { opacity: 0.9; }
.doors.is-opening::after { opacity: 0; transition-duration: 0.3s; }
.doors-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.doors-center > * { animation: doors-in 1s var(--ease) both; }
.doors-center > :nth-child(2) { animation-delay: 0.12s; }
.doors-center > :nth-child(3) { animation-delay: 0.24s; }
.doors-center img { height: clamp(96px, 17vh, 160px); width: auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5)); }
.doors-plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 28px 11px;
  border: 1px solid #c9a45c;
  outline: 1px solid rgba(201, 164, 92, 0.35);
  outline-offset: 4px;
  background: #15120f;
}
.doors-plate span { font-family: var(--roman); font-size: clamp(1rem, 2.2vw, 1.3rem); letter-spacing: 0.3em; color: #e9d6a0; padding-inline-start: 0.3em; }
.doors-plate small { font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: #b9a67c; }
.doors-address { font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: #8f8576; }
.doors-enter {
  position: absolute;
  left: 50%;
  bottom: calc(34px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: none;
  border: 0;
  color: #cdb88a;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 12px 18px;
  transition: opacity 0.4s var(--ease), color 0.3s;
}
.doors-enter span { display: inline-block; animation: doors-in-btn 1s 0.5s var(--ease) both; }
.doors-enter:hover { color: #f1d894; }
.doors.is-opening .doors-center, .doors.is-opening .doors-enter { opacity: 0; }
.doors.is-opening .door--l { transform: rotateY(-104deg); }
.doors.is-opening .door--r { transform: rotateY(104deg); }
.doors.is-opening { background: transparent; transition: background 0.6s 0.4s; }
html.doors-on main, html.doors-on .site-header { transform: scale(1.025); }
main, .site-header { transition: transform 1.8s var(--ease); }
html.doors-opening main, html.doors-opening .site-header { transform: none; }
@keyframes doors-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes doors-in-btn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Boutons : moulure et éventail Art déco ---------- */

.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid currentColor;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.btn--solid::after { border-color: var(--gold-light); }
.btn:hover::after, .btn:focus-visible::after { opacity: 0.5; transform: scale(1); }
.btn--line { border-color: rgba(246, 241, 232, 0.4); color: var(--paper); }
.btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--icon { padding: 0; width: 52px; height: 52px; justify-content: center; }
.deco-burst {
  position: absolute;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  pointer-events: none;
  z-index: -1;
  animation: deco-burst 0.8s var(--ease) forwards;
}
.deco-burst svg { width: 100%; height: 100%; fill: none; stroke: #e6cc86; stroke-width: 1; }
.btn--ghost .deco-burst svg, .filter .deco-burst svg { stroke: #a57a2c; }
@keyframes deco-burst { from { transform: scale(0.15); opacity: 0.95; } to { transform: scale(1.2); opacity: 0; } }

/* ---------- Citations à la première personne ---------- */

.hero-quote, .big-quote, .punch-quote { margin: 0; }
.hero-quote p, .big-quote p, .punch-quote p, blockquote.pull p {
  font-family: var(--serif);
  color: var(--ink);
}
.hero-quote p::before, .big-quote p::before, .punch-quote p::before, blockquote.pull p::before { content: open-quote; color: var(--gold); }
.hero-quote p::after, .big-quote p::after, .punch-quote p::after, blockquote.pull p::after { content: close-quote; color: var(--gold); }
.hero-quote p { font-style: italic; font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.32; max-width: 26ch; }
.big-quote { margin-top: 18px; }
.big-quote p { font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.18; }
.about-text .big-quote p { font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.on-dark .big-quote p, .theme-parole .big-quote p { color: var(--navy-text); }
.page-hero h1.quoted::before { content: open-quote; color: var(--gold); }
.page-hero h1.quoted::after { content: close-quote; color: var(--gold); }

.punch { padding-block: clamp(90px, 12vw, 150px); background: var(--paper-card); border-block: 1px solid var(--line); text-align: center; overflow: hidden; }
.punch::before {
  content: "«";
  position: absolute;
  top: -0.18em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(14rem, 30vw, 24rem);
  line-height: 1;
  color: var(--gold);
  opacity: 0.08;
  pointer-events: none;
}
.punch-quote p { font-weight: 500; font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.14; max-width: 22ch; margin: 0 auto; }
.punch-quote cite { display: block; margin-top: 30px; font-style: normal; font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--gold-deep); }

blockquote.pull { margin: 48px 0; padding: 30px 0; border-block: 1px solid var(--line); text-align: center; }
blockquote.pull p { font-style: italic; font-size: clamp(1.6rem, 3vw, 2.3rem) !important; line-height: 1.3 !important; margin: 0 !important; color: var(--ink) !important; }
blockquote.pull--xl p { font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important; }

/* ---------- Filigranes du cabinet ---------- */

.filigree {
  position: absolute;
  top: -8%;
  right: 0;
  width: 46%;
  height: 118%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.11;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 95%);
  mask-image: linear-gradient(to left, #000 35%, transparent 95%);
}
.filigree--hero { background-image: url("../img/cabinet/filigrane-facade.jpg"); }
.filigree--door { background-image: url("../img/cabinet/filigrane-porte.jpg"); right: auto; left: 0; width: 34%; opacity: 0.08; -webkit-mask-image: linear-gradient(to right, #000 30%, transparent 95%); mask-image: linear-gradient(to right, #000 30%, transparent 95%); }
.filigree--porche { background-image: url("../img/cabinet/filigrane-porche.jpg"); width: 52%; opacity: 0.1; }
html[dir="rtl"] .filigree { right: auto; left: 0; -webkit-mask-image: linear-gradient(to right, #000 35%, transparent 95%); mask-image: linear-gradient(to right, #000 35%, transparent 95%); }
html[dir="rtl"] .filigree--door { left: auto; right: 0; -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 95%); mask-image: linear-gradient(to left, #000 30%, transparent 95%); }
.hero, .page-hero, .post-hero, #domaines { overflow: hidden; }
.hero .wrap, .page-hero .wrap, .post-hero .wrap, #domaines .wrap { position: relative; z-index: 1; }
.band-filigree {
  position: absolute;
  inset: 0;
  background: url("../img/cabinet/filigrane-porche.jpg") center 30% / cover no-repeat;
  opacity: 0.07;
  mix-blend-mode: screen;
  filter: grayscale(1);
  pointer-events: none;
}
.band-filigree--porche { opacity: 0.06; }
.footer-filigree { position: absolute; inset: 0; background: url("../img/cabinet/filigrane-porte.jpg") center 20% / cover no-repeat; opacity: 0.05; mix-blend-mode: screen; filter: grayscale(1); pointer-events: none; }
.site-footer { position: relative; overflow: hidden; }
.site-footer .wrap { position: relative; }
.contact-band .wrap, .rdv .wrap { position: relative; z-index: 1; }

/* ---------- Visite du cabinet ---------- */


/* ---------- Bandeau « Art oratoire » (univers bleu nuit) ---------- */

.parole-band {
  background: radial-gradient(120% 140% at 85% 0%, var(--navy-3) 0%, var(--navy-1) 55%, var(--navy-0) 100%);
  color: var(--navy-text);
  padding-block: clamp(90px, 11vw, 140px);
  overflow: hidden;
}
.parole-band::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  right: -260px;
  bottom: -520px;
  background: repeating-conic-gradient(from 180deg, rgba(220, 189, 116, 0.16) 0deg 0.6deg, transparent 0.6deg 7.5deg);
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 70%);
  mask-image: radial-gradient(circle, #000 25%, transparent 70%);
  pointer-events: none;
}
.parole-band .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 100px); align-items: center; position: relative; }
.parole-band .eyebrow, .theme-parole .eyebrow { color: var(--gold-light); }
.parole-band .eyebrow::before, .theme-parole .eyebrow::before { background: var(--gold-light); }
.parole-band h2 { color: var(--navy-text); }
.parole-band h2 em { color: var(--gold-light); }
.parole-band-text { color: var(--navy-muted); margin: 20px 0 34px; max-width: 48ch; }
.parole-band-list { display: grid; gap: 0; border-top: 1px solid rgba(220, 189, 116, 0.25); }
.parole-band-list li { display: flex; align-items: center; gap: 18px; padding: 20px 4px; border-bottom: 1px solid rgba(220, 189, 116, 0.25); font-family: var(--serif); font-size: 1.35rem; color: var(--navy-text); }
.parole-band-list .icon { width: 34px; height: 34px; stroke: var(--gold-light); flex: none; }
.parole-band--slim { padding-block: clamp(70px, 9vw, 110px); }
.parole-band--slim .wrap { grid-template-columns: 1fr 1fr; align-items: end; }
.parole-band--slim .parole-band-text { margin-top: 0; }

/* ---------- Carnets ---------- */

.carnets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.carnets-grid--two { grid-template-columns: repeat(2, 1fr); }
.carnet-card { background: var(--paper-card); border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease); }
.carnet-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 30px 55px -36px rgba(21, 18, 15, 0.4); }
.carnet-link { display: flex; flex-direction: column; height: 100%; }
.carnet-cover { overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-deep); }
.carnet-cover img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.12) saturate(0.9); transition: transform 1.2s var(--ease); }
.carnet-card:hover .carnet-cover img { transform: scale(1.05); }
.carnet-body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.carnet-meta, .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 400; }
.carnet-meta .dot, .post-meta .dot { color: var(--gold); }
.carnet-body h3 { font-size: 1.65rem; line-height: 1.15; margin-top: 14px; }
.carnet-excerpt { color: var(--muted); font-size: 0.95rem; margin-top: 12px; flex: 1; }
.carnet-body .more { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.carnet-body .more svg { width: 16px; height: 16px; stroke: var(--gold-deep); fill: none; stroke-width: 1.4; transition: transform 0.4s var(--ease); }
.carnet-card:hover .more svg { transform: translateX(6px); }
html[dir="rtl"] .carnet-card:hover .more svg { transform: scaleX(-1) translateX(6px); }
.sample-pill { border: 1px dashed var(--gold); padding: 3px 8px 2px; font-size: 0.6rem; letter-spacing: 0.14em; color: var(--gold-deep); }
.carnets-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  background: none;
  padding: 9px 16px 8px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter:hover { border-color: var(--gold); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.carnet-card.is-hidden { display: none; }
.carnets-hero .big-quote { max-width: 30ch; }
.lead-text { margin-top: 22px; color: var(--muted); max-width: 56ch; }
.read-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold-deep); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.read-more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.4; }

/* Article */
.post-hero { padding-top: clamp(130px, 14vw, 175px); padding-bottom: 36px; }
.post-meta { margin-top: 26px; }
.post-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.5rem, 5.4vw, 4.3rem); line-height: 1.06; margin-top: 18px; color: var(--ink); }
.post-langnote { margin-top: 18px; font-size: 0.85rem; color: var(--muted); border-inline-start: 2px solid var(--gold); padding-inline-start: 12px; }
.post-cover { max-width: 1120px; margin: 12px auto 0; padding-inline: var(--gutter); position: relative; }
.post-cover::before { content: ""; position: absolute; inset: -14px calc(var(--gutter) - 14px) 14px calc(var(--gutter) + 14px); border: 1px solid var(--gold); pointer-events: none; }
.post-cover img { position: relative; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; filter: sepia(0.1); }
.post-body { padding-top: 56px; }
.post-body > p { font-size: 1.12rem; line-height: 1.95; margin-top: 22px; color: var(--ink-2); }
.post-body > h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); font-style: italic; margin-top: 60px; }
.post-body > h3 { font-size: 1.5rem; margin-top: 40px; }
.post-body > ul { margin-top: 18px; }
.post-body > ul li { padding: 8px 0 8px 22px; position: relative; }
.post-body > ul li::before { content: ""; position: absolute; left: 0; top: 20px; width: 10px; height: 1px; background: var(--gold); }
.dropcap::first-letter { font-family: var(--roman); float: left; font-size: 4.6rem; line-height: 0.85; padding: 8px 12px 0 0; color: var(--gold-deep); }
html[lang="ar"] .dropcap::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
.law-box { margin: 50px 0; padding: 34px clamp(24px, 4vw, 40px) 30px; background: var(--ink); color: var(--on-dark); position: relative; }
.law-box::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(220, 189, 116, 0.35); pointer-events: none; }
.law-box-title { font-family: var(--roman); font-size: 0.85rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.law-box ul li { position: relative; padding: 10px 0; padding-inline-start: 24px; border-bottom: 1px solid rgba(220, 189, 116, 0.18); font-size: 0.98rem; line-height: 1.65; }
.law-box ul li:last-child { border-bottom: 0; }
.law-box ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 21px; width: 12px; height: 1px; background: var(--gold-light); }
.law-box strong { color: #f1dca2; font-weight: 500; }
.law-box p { margin-top: 10px; }
.post-sign { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--gold-deep); margin-top: 44px; }
.post-anon { font-size: 0.82rem; color: var(--muted); margin-top: 8px; font-style: italic; }
.post-cta { margin: 44px 0 90px; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); background: var(--paper-card); position: relative; }
.post-cta::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line); pointer-events: none; }
.post-cta-text { font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--ink); position: relative; }
.post-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; position: relative; }
.post-body a { border-bottom: 1px solid var(--gold); }

/* ---------- Domaines : actions contextuelles ---------- */

.smart-cta { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.smart-cta .btn--solid { flex: 1 1 auto; }
.smart-cta .btn svg, .btn--icon svg { width: 18px; height: 18px; }
.aside-urgent { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }
.aside-urgent a { color: var(--ink); border-bottom: 1px solid var(--gold); font-variant-numeric: lining-nums; }
.aside-note { margin-top: 18px; font-size: 1.15rem; color: var(--gold-deep); }
.practice-body .big-quote { margin-top: 0; }
.practice-body .big-quote p { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.25; }

/* ---------- Accès : plan interactif ---------- */

.acces { background: var(--paper-card); border-top: 1px solid var(--line); }
.acces-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.acces-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.stations { border-top: 1px solid var(--line); max-height: 430px; overflow-y: auto; scrollbar-width: thin; }
.station {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 12px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  cursor: pointer;
  text-align: start;
  transition: background 0.3s var(--ease);
}
.station:hover, .station.is-active { background: var(--paper); }
.station.is-hidden { display: none; }
.station-name { font-family: var(--serif); font-size: 1.18rem; color: var(--ink); line-height: 1.2; }
.station-name small { display: block; font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.station-min { font-size: 0.82rem; color: var(--gold-deep); white-space: nowrap; font-variant-numeric: lining-nums; }
.lines { display: flex; flex-wrap: wrap; gap: 4px; }
.ln {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 4px;
  border-radius: 50%;
  font-family: "Jost", sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0 !important;
  color: #fff;
  background: #3a342d;
  box-shadow: 0 0 0 2px #fff;
}
.ln--M1 { background: #ffcd00; color: #15120f; }
.ln--M2 { background: #003ca6; }
.ln--M6 { background: #6eca97; color: #15120f; }
.ln--M9 { background: #b6bd00; color: #15120f; }
.ln--RA { background: #e3051c; border-radius: 6px; }
.ln--RC { background: #ffce00; color: #15120f; border-radius: 6px; }
.ln--bus { border-radius: 4px; background: #3a342d; min-width: 30px; font-size: 0.7rem; }
.acces-go { margin-top: 26px; }
.acces-go-label { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.acces-go-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.acces-go-btns .btn { padding: 14px 18px; }
.map-frame { position: relative; min-height: 540px; padding: 10px; border: 1px solid var(--line); background: var(--paper); }
.map-frame::before { content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 1px solid var(--gold); pointer-events: none; z-index: 0; }
html[dir="rtl"] .map-frame::before { inset: -12px -12px 12px 12px; }
.map { position: absolute; inset: 10px; z-index: 1; background: #ece6da; }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; color: var(--muted); }
.map .leaflet-tile-pane { filter: grayscale(1) sepia(0.22) brightness(1.05) contrast(0.9); }
.leaflet-container { font-family: var(--sans); }
.leaflet-popup-content-wrapper { border-radius: 0; background: var(--paper); box-shadow: 0 20px 40px -20px rgba(21, 18, 15, 0.45); }
.leaflet-popup-tip { background: var(--paper); }
.leaflet-popup-content { margin: 16px 18px; font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.leaflet-popup-content strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 8px 0 2px; }
.map .leaflet-popup-content a { color: var(--gold-deep); border-bottom: 1px solid var(--gold); }
.leaflet-control-attribution { font-size: 10px; background: rgba(246, 241, 232, 0.85) !important; }
.leaflet-bar a { border-radius: 0 !important; color: var(--ink) !important; }
.pin-cabinet { width: 56px; height: 56px; border-radius: 50%; background: #15120f; border: 2px solid #dcbd74; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(21, 18, 15, 0.6); position: relative; }
.pin-cabinet img { height: 38px; width: auto; }
.pin-cabinet::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid #c9a45c; animation: pin-pulse 2.6s ease-out infinite; }
@keyframes pin-pulse { from { transform: scale(0.85); opacity: 0.9; } to { transform: scale(1.5); opacity: 0; } }
.pin-station { display: flex; gap: 2px; filter: drop-shadow(0 3px 6px rgba(21, 18, 15, 0.35)); }
.pin-station .ln { box-shadow: 0 0 0 2px #fff; }

/* ---------- Fiche de contact ---------- */

.sheet { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 16px; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(21, 18, 15, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.35s var(--ease); }
.sheet-panel {
  position: relative;
  width: min(600px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--paper);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.sheet-panel::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--line); pointer-events: none; }
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet.is-open .sheet-panel { opacity: 1; transform: none; }
.sheet-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; z-index: 1; }
.sheet-close svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.3; }
.sheet-panel h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin-top: 14px; }
.sheet-intro { color: var(--muted); margin-top: 10px; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; position: relative; }
.sheet-action { display: flex; align-items: center; gap: 14px; padding: 16px 16px 15px; border: 1px solid var(--line); background: var(--paper-card); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease); }
.sheet-action:hover { border-color: var(--gold); transform: translateY(-2px); background: #fff; }
.sheet-action svg { width: 24px; height: 24px; flex: none; stroke: var(--gold-deep); fill: none; stroke-width: 1.3; }
.sheet-action strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.sheet-action small { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.sheet-urgent { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-2); position: relative; }
.sheet-urgent strong { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold-deep); }
body.sheet-open { overflow: hidden; }

.toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 950; background: var(--ink); color: var(--gold-light); padding: 13px 22px; font-size: 0.85rem; letter-spacing: 0.04em; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Univers « Art oratoire » (page dédiée) ---------- */

body.theme-parole { background: var(--navy-1); color: var(--navy-text); }
body.theme-parole::after { mix-blend-mode: soft-light; opacity: 0.18; }
.theme-parole .site-header::before { background: rgba(11, 18, 38, 0.92); box-shadow: 0 1px 0 rgba(220, 189, 116, 0.22); }
.theme-parole .brand-logo { display: none; }
.theme-parole .brand-logo--light { display: block; }
.theme-parole .brand-name, .theme-parole .nav a:not(.btn) { color: var(--navy-text); }
.theme-parole .brand-sub { color: var(--navy-muted); }
.theme-parole .nav a.nav-parole[aria-current="page"] { background: var(--gold-light); color: var(--navy-0); border-color: var(--gold-light); }
.theme-parole .nav a.nav-parole[aria-current="page"]::before { background: var(--navy-0); }
.theme-parole .lang-switch { border-color: rgba(220, 189, 116, 0.3); }
.theme-parole .lang-switch button { color: var(--navy-muted); }
.theme-parole .lang-switch button:hover, .theme-parole .lang-switch button[aria-pressed="true"] { color: var(--navy-text); }
.theme-parole .menu-toggle span { background: var(--navy-text); }
.theme-parole .header-cta { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-0); }
.theme-parole h1, .theme-parole h2, .theme-parole h3 { color: var(--navy-text); }
.theme-parole h1 em, .theme-parole h2 em { color: var(--gold-light); }
.theme-parole .breadcrumb { color: var(--navy-muted); }
.theme-parole .lead-text { color: var(--navy-muted); }
.parole-hero { background: radial-gradient(110% 120% at 80% 10%, var(--navy-3) 0%, var(--navy-1) 50%, var(--navy-0) 100%); overflow: hidden; }
.parole-hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 100px); align-items: center; position: relative; z-index: 1; }
.parole-hero h1 { color: var(--navy-text); max-width: 14ch; }
.parole-rays { position: absolute; inset: 0; background: repeating-conic-gradient(from 200deg at 78% 100%, rgba(220, 189, 116, 0.11) 0deg 0.5deg, transparent 0.5deg 6deg); -webkit-mask-image: radial-gradient(90% 90% at 78% 100%, #000 20%, transparent 75%); mask-image: radial-gradient(90% 90% at 78% 100%, #000 20%, transparent 75%); pointer-events: none; }
.arch--navy::before { border-color: var(--gold-light); }
.arch--navy .arch-inner img { object-position: 55% 30%; }
.parole-note-band { padding-block: 26px; background: var(--navy-2); border-block: 1px solid rgba(220, 189, 116, 0.2); }
.parole-note { text-align: center; font-size: 0.88rem; color: var(--navy-muted); max-width: 70ch; margin: 0 auto; }
.parole-offers, .parole-method, .parole-who { background: var(--navy-1); }
.parole-method { background: var(--navy-0); }
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.offer { padding: clamp(28px, 4vw, 44px); background: var(--navy-2); border: 1px solid rgba(220, 189, 116, 0.22); position: relative; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.offer::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(220, 189, 116, 0.1); pointer-events: none; }
.offer:hover { border-color: var(--gold-light); transform: translateY(-4px); }
.offer .icon { width: 46px; height: 46px; stroke: var(--gold-light); margin-bottom: 22px; }
.offer h3 { font-size: 1.7rem; }
.offer p { color: var(--navy-muted); margin-top: 10px; }
.offer .offer-formats { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(220, 189, 116, 0.2); font-size: 0.86rem; color: #d9c48f; }
.parole-quote { padding-block: clamp(100px, 13vw, 160px); background: var(--navy-0); text-align: center; overflow: hidden; }
.parole-quote::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(220, 189, 116, 0.06) 0deg 0.4deg, transparent 0.4deg 9deg); pointer-events: none; }
.parole-quote blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.22; max-width: 24ch; margin: 0 auto; color: var(--navy-text); position: relative; }
.parole-quote cite { display: block; margin-top: 30px; font-style: normal; font-size: 0.74rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-light); position: relative; }
.theme-parole .step { border-top-color: rgba(236, 230, 218, 0.4); }
.theme-parole .step-num { color: var(--gold-light); }
.theme-parole .step p { color: var(--navy-muted); }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); }
.who-list, .cred-list { margin-top: 22px; border-top: 1px solid rgba(220, 189, 116, 0.25); }
.who-list li { padding: 18px 0; border-bottom: 1px solid rgba(220, 189, 116, 0.25); font-family: var(--serif); font-size: 1.45rem; }
.cred-list li { padding: 16px 0; border-bottom: 1px solid rgba(220, 189, 116, 0.25); color: var(--navy-muted); font-size: 0.95rem; }
.cred-list strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy-text); }
.parole-project { background: radial-gradient(120% 120% at 20% 0%, var(--navy-3), var(--navy-0) 70%); }
.parole-project .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.project-hint { flex-basis: 100%; font-size: 0.85rem; color: var(--navy-muted); }
.chip--parole input:checked + span { background: var(--navy-2); border-color: var(--navy-2); }

/* ---------- Ajustements ---------- */

.hero .hero-actions .btn--ghost { border-color: rgba(21, 18, 15, 0.35); }
.coords a[data-smart-call] { cursor: pointer; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 56px 0; }
.pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pair figcaption { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted); text-align: center; margin-top: 4px; }
.about-text .eyebrow + .big-quote { margin-top: 20px; }
.about-text > p { margin-top: 18px; }

html[lang="ar"] .punch-quote p, html[lang="ar"] .big-quote p, html[lang="ar"] .hero-quote p, html[lang="ar"] blockquote.pull p { line-height: 1.6 !important; }
html[lang="ar"] .punch::before { content: "»"; }
html[lang="ar"] .post-body > ul li { padding: 8px 22px 8px 0; }
html[lang="ar"] .post-body > ul li::before { left: auto; right: 0; }

/* ---------- Responsive v2 ---------- */

@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a:not(.btn) { font-size: 0.72rem; letter-spacing: 0.16em; }
}

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
    z-index: 60;
    margin: 0;
  }
  .nav a:not(.btn) { font-size: 0.95rem; }
  .nav .nav-cta { display: inline-flex; margin-top: 10px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  .header-cta { display: none; }
  .lang-switch { margin-inline-start: auto; margin-inline-end: 2px; padding-inline-start: 0; border-inline-start: 0; }
  .theme-parole .nav { background: var(--navy-1); }
  .carnets-grid { grid-template-columns: repeat(2, 1fr); }
  .carnets-grid .carnet-card:nth-child(3) { grid-column: 1 / -1; }
  .carnets-grid--all .carnet-card:nth-child(3) { grid-column: auto; }
}

@media (max-width: 900px) {
  .parole-band .wrap, .parole-band--slim .wrap, .parole-hero .wrap, .parole-project .wrap, .who-grid { grid-template-columns: 1fr; }
  .parole-hero .hero-media { order: -1; }
  .arch--navy { max-width: 300px; margin: 0 auto; }
  .offers { grid-template-columns: 1fr; }
  .acces-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 400px; order: -1; }
  .stations { max-height: none; }
  .filigree { width: 80%; opacity: 0.07; }
  .filigree--door { width: 60%; }
  .punch::before { font-size: 14rem; }
  .pair { grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (max-width: 600px) {
  .carnets-grid, .carnets-grid--two { grid-template-columns: 1fr; }
  .carnets-grid .carnet-card:nth-child(3) { grid-column: auto; }
  .sheet { place-items: end center; padding: 0; }
  .sheet-panel { width: 100%; max-height: 92vh; padding: 30px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(40px); }
  .sheet-actions { grid-template-columns: 1fr; }
  .sheet-action { padding: 14px; }
  .station { grid-template-columns: 78px 1fr auto; gap: 10px; }
  .station-name { font-size: 1.05rem; }
  .acces-go-btns .btn { flex: 1 1 auto; }
  .smart-cta .btn--solid { flex-basis: calc(100% - 120px); }
  .post-cover::before { display: none; }
  .post-cover img { aspect-ratio: 4 / 3; }
  .post-body > p { font-size: 1.05rem; }
  .punch-quote p { font-size: 2rem; }
  .doors-plate { padding: 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .door, main, .site-header { transition: none !important; }
  .pin-cabinet::after, .deco-burst { animation: none; display: none; }
}

@media (max-width: 900px) {
  .mobile-bar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 0 9px;
    border: 0;
    border-inline-start: 1px solid var(--line-dark);
    background: none;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
  }
  .mobile-bar button svg { width: 22px; height: 22px; stroke: var(--gold-light); fill: none; stroke-width: 1.3; }
  html[lang="ar"] .mobile-bar button { font-size: 0.78rem; }
}

/* ==========================================================
   V3 — fond du cabinet, portes rapides, visite agrandie, lisibilité
   ========================================================== */

/* Fond : la porte d'entrée du 20, en très grand et en transparence, immobile */
.site-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.site-bg img {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 62%;
  opacity: 0.1;
  filter: grayscale(1) sepia(0.35) contrast(1.15) blur(1.5px);
  mix-blend-mode: multiply;
}
.theme-parole .site-bg img { mix-blend-mode: screen; opacity: 0.07; filter: grayscale(1) contrast(1.1) blur(1.5px); }

/* Les sections claires laissent deviner le fond */
.section--deep, .quote-light { background: rgba(237, 228, 211, 0.78); }
.section--card { background: rgba(251, 248, 242, 0.8); }
.facts { background: rgba(237, 228, 211, 0.82); }
.punch { background: rgba(251, 248, 242, 0.6); }
.acces { background: rgba(251, 248, 242, 0.72); }
.practice--alt { background: rgba(251, 248, 242, 0.72); }
.parole-offers, .parole-who { background: rgba(17, 26, 54, 0.84); }
.parole-method { background: rgba(11, 18, 38, 0.86); }
.parole-note-band { background: rgba(23, 35, 70, 0.9); }
.filigree--hero { opacity: 0.08; }

/* Portes : deux secondes, le site visible derrière dès l'ouverture */
html.doors-on .doors { background: transparent; }
.door {
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.25, 1);
  background: linear-gradient(90deg, #0f0e0d 0%, #171512 70%, #1d1a17 100%);
}
.door--r { background: linear-gradient(270deg, #0f0e0d 0%, #171512 70%, #1d1a17 100%); }
.doors-center { transition: opacity 0.25s var(--ease); }
.doors-center > * { animation-duration: 0.5s; }
.doors-center > :nth-child(2) { animation-delay: 0.06s; }
.doors-enter span { animation-duration: 0.4s; animation-delay: 0.15s; }
.doors.is-lit::after { transition-duration: 0.3s; }
main, .site-header { transition: transform 1.2s var(--ease); }

/* Visite du cabinet, en plus grand */

/* Micro en fond de la citation de l'espace Art oratoire */
.parole-quote { background: var(--navy-0) url("../img/illustrations/micro.jpg") center 40% / cover no-repeat; }
.parole-quote::before {
  background:
    linear-gradient(180deg, rgba(11, 18, 38, 0.88), rgba(11, 18, 38, 0.7) 50%, rgba(11, 18, 38, 0.92)),
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(220, 189, 116, 0.06) 0deg 0.4deg, transparent 0.4deg 9deg);
}

/* Signatures : le monogramme plutôt que le nom */
.signature img, .post-sign img { height: 68px; width: auto; display: inline-block; }
.signature { margin-top: 26px; }

/* Petits textes un peu plus grands partout */
.carnet-meta, .post-meta { font-size: 0.72rem; }

/* Lisibilité sur téléphone */
@media (max-width: 900px) {
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .eyebrow { font-size: 0.78rem; letter-spacing: 0.24em; }
  .facts li { font-size: 0.72rem; letter-spacing: 0.14em; }
  .facts strong { font-size: 1.3rem; }
  .carnet-meta, .post-meta { font-size: 0.76rem; letter-spacing: 0.14em; }
  .mobile-bar a, .mobile-bar button { font-size: 0.7rem; letter-spacing: 0.14em; }
  .btn { font-size: 0.8rem; }
  .filter { font-size: 0.76rem; }
  .coords small, .honors li small, .station-name small { font-size: 0.74rem; }
  .rdv-card legend, .field > label, .rdv-preview summary { font-size: 0.76rem; }
  .domain p, .step p, .carnet-excerpt, .offer p, .checklist li, .law-box ul li { font-size: 1rem; }
  .hero-text, .lead-text, .rdv-intro, .section-head > p, .parole-band-text { font-size: 1.03rem; }
  .lang-switch button { font-size: 0.74rem; }
  .sheet-action small { font-size: 0.86rem; }
  .site-footer { font-size: 0.92rem; }
  .footer-bottom, .breadcrumb { font-size: 0.84rem; }
  .station-min { font-size: 0.86rem; }
  .parole-note, .post-anon, .deonto { font-size: 0.92rem; }
}
.site-bg img { opacity: 0.085; }
.carnets-hero .big-quote { max-width: 780px; }

/* ==========================================================
   Appeler, écrire : le numéro ou l'adresse en clair
   ========================================================== */

.reach {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom));
  z-index: 960;
  width: min(440px, calc(100% - 32px));
  padding: 30px 28px 22px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--gold);
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(21, 18, 15, 0.6);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.reach::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line); pointer-events: none; }
.reach[hidden] { display: none; }
.reach.is-open { opacity: 1; transform: translate(-50%, 0); }
.reach-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; z-index: 1; }
.reach-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.reach-label { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-deep); }
.reach-value { font-family: var(--serif); font-size: clamp(1.5rem, 6vw, 1.9rem); font-weight: 500; letter-spacing: 0.02em; line-height: 1.2; margin: 10px 0 8px; -webkit-user-select: all; user-select: all; overflow-wrap: anywhere; }
.reach-hint { font-size: 0.92rem; line-height: 1.5; color: var(--muted); max-width: 34ch; margin: 0 auto; }
.reach-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.reach-actions .btn { padding: 12px 18px; font-size: 0.68rem; gap: 8px; }
.reach-actions .btn svg { width: 16px; height: 16px; }
.reach-status { min-height: 1.3em; margin-top: 12px; font-size: 0.84rem; color: var(--gold-deep); }
html[lang="ar"] .reach-label { letter-spacing: 0; font-size: 0.9rem; }
html[lang="ar"] .reach-value { font-family: "Cormorant Garamond", serif; }
@media (max-width: 900px) {
  .reach { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ==========================================================
   Le cabinet : l'entrée du 20, rue de Longchamp
   ========================================================== */

.entree-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 96px); }
.entree h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; margin-top: 14px; }
.entree-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--ink-2); margin-top: 18px; }
.entree .link-arrow { margin-top: 30px; }
.arch--entree { width: min(100%, 440px, calc((100vh - 170px) * 0.62)); aspect-ratio: 392 / 640; margin-inline: auto; }
.arch--entree .arch-inner { background: var(--ink); }
.entree-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.entree-layer.is-active { opacity: 1; }
video.entree-layer { object-position: 50% 60%; }
.entree-layer--bureau { object-position: 58% 50%; }
html[lang="ar"] .entree-sub { font-family: var(--sans); font-style: normal; font-size: 1.2rem; }
@media (max-width: 900px) {
  .entree-grid { grid-template-columns: 1fr; text-align: center; }
  .entree .link-arrow { justify-content: center; }
  .arch--entree { width: min(100%, 340px); }
}
