/* PRG Avocat — feuille de style
   Palette sombre, mate et désaturée (espresso, brun charbon, pierre, taupe) ;
   aucun blanc pur, aucun noir pur, aucun doré.
   Typographie : Crimson Pro (titres et texte) et Poppins (interface), hébergées sur le site.
   Le rythme vient des fonds de section et d'un seul mouvement : l'ouverture de la
   photographie au premier défilement. */

@font-face { font-family: "Crimson Pro"; src: url("../fonts/crimson-pro-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("../fonts/crimson-pro-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
/* Polices de repli aux métriques ajustées : le texte garde la même place avant et après
   le chargement des polices du site (aucun décalage de mise en page). */
@font-face { font-family: "Crimson Pro Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"); size-adjust: 99.47%; ascent-override: 90.13%; descent-override: 21.6%; line-gap-override: 0%; }
@font-face { font-family: "Cormorant Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"); font-weight: 300; size-adjust: 96.78%; ascent-override: 95.47%; descent-override: 29.65%; line-gap-override: 0%; }
@font-face { font-family: "Cormorant Fallback"; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Liberation Serif Italic"); font-weight: 400; font-style: italic; size-adjust: 87.63%; ascent-override: 105.44%; descent-override: 32.75%; line-gap-override: 0%; }
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 113.75%; ascent-override: 92.3%; descent-override: 30.77%; line-gap-override: 8.79%; }

/* ------------------------------------------------------------------ */
/* Jetons                                                              */
/* ------------------------------------------------------------------ */

:root {
  /* Fonds */
  --espresso: #171411;     /* fond principal */
  --charbon: #201c18;      /* fond secondaire */
  --greige: #2b2722;       /* emplacements d'image */
  --pierre: #dbd3c6;       /* la salle claire : une seule teinte, proche du plâtre des moulures */

  /* Textes sur fond sombre */
  --ivoire: #e8e2d8;       /* titres et texte principal */
  --ivoire-2: #c8c0b4;     /* texte courant */
  --taupe: #91897e;        /* texte secondaire, navigation */
  --taupe-2: #6f685f;      /* mentions discrètes */

  /* Accent */
  --bronze: #7b6c5b;       /* filets de lien, sélection */
  --rule: #332e28;         /* filets sur fond sombre */

  /* Textes sur pierre */
  --on-pierre: #171411;
  --on-pierre-2: #3d362f;
  --on-pierre-3: #5d5246;

  --serif: "Crimson Pro", "Crimson Pro Fallback", Georgia, serif;
  --display: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;   /* le nom, à l'ouverture de l'accueil */
  --sans: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1440px;
  --gutter: clamp(22px, 6vw, 104px);
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  --space: clamp(104px, 12vw, 192px);
  --header-h: 80px;
  --slow: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: dark;
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 32px);
  background: var(--espresso);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--espresso);
  color: var(--ivoire-2);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.65;
  font-variant-numeric: lining-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--bronze); color: var(--ivoire); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ivoire);
  text-wrap: balance;
}
p { margin: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: var(--bronze); transition: color 0.5s var(--slow), text-decoration-color 0.5s var(--slow); }
a:hover { color: var(--ivoire); text-decoration-color: var(--ivoire); }

:focus-visible { outline: 1px solid var(--ivoire); outline-offset: 5px; }

sup { font-size: 0.66em; line-height: 0; vertical-align: 0.5em; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -200px;
  z-index: 100;
  background: var(--ivoire);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 0.8125rem;
  padding: 0.7rem 1rem;
  text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); color: var(--espresso); }

.tel { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }

/* ------------------------------------------------------------------ */
/* Éléments communs                                                    */
/* ------------------------------------------------------------------ */

/* Intitulé discret, comme le cartel d'une œuvre */
.label {
  display: block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
}

.lead { font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem); line-height: 1.5; color: var(--ivoire-2); max-width: 30em; }

/* Lien principal : capitales espacées, filet fin qui passe du bronze à l'ivoire */
.link {
  display: inline-block;
  padding-bottom: 7px;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivoire);
  text-decoration: none;
  background:
    linear-gradient(var(--ivoire), var(--ivoire)) left bottom / 0 1px no-repeat,
    linear-gradient(var(--bronze), var(--bronze)) left bottom / 100% 1px no-repeat;
  transition: background-size 0.9s var(--slow), color 0.6s var(--slow);
}
.link:hover { color: var(--ivoire); background-size: 100% 1px, 100% 1px; }

/* Bouton fin (formulaire uniquement) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.8rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivoire);
  background: transparent;
  border: 1px solid var(--taupe);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.6s var(--slow), color 0.6s var(--slow), border-color 0.6s var(--slow);
}
.btn:hover { background: var(--ivoire); border-color: var(--ivoire); color: var(--espresso); }

/* Photographie : naturelle, sans filtre ni effet */
.figure { margin: 0; }
.figure-frame { position: relative; overflow: hidden; background: var(--greige); aspect-ratio: var(--ratio, 4 / 3); max-width: 100%; }
.figure-frame img { width: 100%; height: 100%; object-fit: cover; }
.figure figcaption { margin-top: 18px; font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--taupe); }

/* Apparition lente au défilement (activée par le script, hors du premier écran) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.6s var(--slow), transform 1.8s var(--slow); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal .domains li { opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--slow), transform 1.4s var(--slow); transition-delay: calc(var(--i, 0) * 140ms + 200ms); }
.reveal.is-in .domains li { opacity: 1; transform: none; }

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

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--espresso);
  border-bottom: 1px solid transparent;
  transition: border-color 0.8s var(--slow);
}
.site-header.is-solid { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: var(--header-h); }

.brand {
  flex: none;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivoire);
  text-decoration: none;
}
.brand:hover { color: var(--ivoire); }

.site-nav ul { display: flex; align-items: baseline; gap: clamp(22px, 2.6vw, 44px); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block;
  padding-block: 6px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--taupe);
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ivoire); }
/* Rendez-vous : un élément de navigation, reconnaissable à son filet */
.site-nav .nav-cta { color: var(--ivoire); text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 0.5em; }
.site-nav .nav-cta:hover { text-decoration-color: var(--ivoire); }

.header-cta { display: none; font-family: var(--sans); font-size: 0.8125rem; color: var(--ivoire); text-decoration-color: var(--bronze); text-underline-offset: 0.5em; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 0 0.1rem 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle-bars { position: relative; display: block; width: 22px; height: 7px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--slow), top 0.5s var(--slow);
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 3px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 3px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .js .nav-toggle { display: inline-flex; }
  .js .header-cta { display: inline-block; margin-left: auto; }
  .header-inner { gap: 20px; }
  .js .site-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
    padding: 32px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 40px);
    background: var(--espresso);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.6s var(--slow), visibility 0s linear 0.6s;
  }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity 0.6s var(--slow); }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav a {
    display: block;
    padding: 0.8rem 0;
    font-family: var(--serif);
    font-size: 2.3rem;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--ivoire);
  }
  .js .site-nav a[aria-current="page"] { color: var(--taupe); }
  .js .site-nav .nav-cta { text-decoration: none; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: 14px; }
  .no-js .site-nav ul { flex-wrap: wrap; gap: 4px 20px; }
}
@media (max-width: 420px) {
  .brand { font-size: 0.625rem; letter-spacing: 0.2em; }
}

/* ------------------------------------------------------------------ */
/* Accueil                                                             */
/* ------------------------------------------------------------------ */

/* Ouverture : la photographie vue par une fenêtre, qui s'ouvre au défilement.
   Au repos (ou sans script), la composition est fixe : domaines en haut à gauche,
   nom et titre en bas à gauche, fenêtre à droite sur toute la hauteur. */
.hero { --pad: clamp(28px, 4.4vh, 48px); position: relative; }
.hero-stage {
  position: relative;
  height: calc(100svh - var(--header-h));
  min-height: 560px;
  max-height: 980px;
  overflow: hidden;
}
.hero-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding-block: var(--pad) calc(var(--pad) * 1.75);   /* marge basse plus ample : la composition respire au-dessus du bord de l'écran */
}
.hero-frame { grid-column: 7 / -1; grid-row: 1; }
.hero-text { position: relative; z-index: 1; grid-column: 1 / span 6; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; }
.hero-domains { margin-top: -0.46em; word-spacing: 0.1em; }   /* haut des capitales = haut de la fenêtre */
.hero-domains span { display: block; }   /* un domaine par ligne */
.hero-domains span + span { margin-top: 0.55em; }
/* Le nom en Garamond de titrage (Cormorant Garamond, maigre) : l'élégance d'un frontispice */
.hero-name {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(3.4rem, 0.9rem + 5.75vw, 6.85rem);
  line-height: 0.9;
  letter-spacing: -0.012em;
  color: var(--ivoire);
  margin-bottom: -0.09em;   /* ligne de base du titre = bas de la fenêtre */
}
.hero-name .caps { display: block; margin-top: 0.04em; font-size: 0.8em; letter-spacing: 0.05em; text-transform: uppercase; }
/* Le titre fait partie du nom : en italique, lisible d'emblée, sans lui disputer la première place */
.hero-role {
  display: block;
  margin-top: 0.7em;
  font-style: italic;
  font-weight: 400;
  font-size: 0.36em;
  line-height: 1.15;
  letter-spacing: 0.005em;
  color: var(--ivoire-2);
}

/* Version fixe (sans script ou mouvement réduit) : la photographie occupe la fenêtre */
.hero-image { grid-column: 7 / -1; grid-row: 1; position: relative; margin: 0; overflow: hidden; background: var(--greige); }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 82% 50%; }
.hero:not(.is-live) .hero-frame { display: none; }

/* Version animée : l'image couvre toute la scène, la fenêtre (clip-path) s'ouvre au défilement.
   L'image n'est ni agrandie ni déplacée : seule son ouverture change. */
.hero.is-live { height: calc((100svh - var(--header-h)) * 2.1); }
.hero.is-live .hero-stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); }
.hero.is-live .hero-image { position: absolute; inset: 0; z-index: 0; clip-path: inset(var(--t, 0) var(--r, 0) var(--b, 0) var(--l, 0)); will-change: clip-path; }
.hero.is-live .hero-image img { object-position: 50% 50%; }
.hero.is-live .hero-text { opacity: var(--text-o, 1); transform: translateY(var(--text-y, 0)); }

@media (max-width: 900px) {
  .hero-stage { min-height: 520px; }
  .hero-grid { grid-template-rows: auto minmax(0, 1fr); row-gap: 28px; }
  .hero-text { grid-column: 1 / -1; grid-row: 1; justify-content: flex-start; }
  .hero-domains { order: 2; margin-top: 20px; }
  .hero-role { font-size: 0.4em; }
  .hero.is-live .hero-image img { object-position: 74% 50%; }
  .hero-name { font-size: 14vw; margin-bottom: 0; }
  .hero-frame, .hero-image { grid-column: 1 / -1; grid-row: 2; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-name { animation: rise 1.8s var(--slow) 0.2s both; }
  .hero-domains { animation: fade 1.8s var(--slow) 0.6s both; }
  .hero-image img { animation: fade 2.2s var(--slow) both; }
  .page-intro h1 { animation: rise 1.6s var(--slow) both; }
  .page-intro .lead, .page-intro .link { animation: fade 1.6s var(--slow) 0.5s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Déclaration : brun charbon, entre la photographie d'ouverture et la salle claire des domaines */
.statement { background: var(--charbon); color: var(--ivoire-2); padding-block: var(--space); }
.statement-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.statement h2 { grid-column: 1 / span 9; font-size: clamp(2.4rem, 1.3rem + 3.4vw, 5rem); line-height: 1.04; letter-spacing: -0.024em; color: var(--ivoire); }
.statement-body { grid-column: 8 / -1; margin-top: clamp(56px, 6vw, 104px); display: grid; gap: 40px; justify-items: start; }
.statement-body p { font-size: 1.25rem; line-height: 1.6; max-width: 26em; }
/* Petit portrait rond, à côté du texte, comme la note d'auteur d'un magazine :
   le haut du rond est aligné sur le haut des capitales de la première ligne. */
.statement-body:has(.portrait) {
  grid-column: 7 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(24px, 2.4vw, 36px);
  align-items: start;
}
.statement-body:has(.portrait) > :not(.portrait) { grid-column: 2; }
.portrait { grid-column: 1; grid-row: 1 / span 2; display: block; width: clamp(88px, 7.4vw, 112px); aspect-ratio: 1; margin-top: 0.6875rem;   /* 0,55 em du paragraphe : haut des capitales */ border-radius: 50%; overflow: hidden; background: var(--greige); }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .statement-body:has(.portrait) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .statement-body:has(.portrait) > :not(.portrait) { grid-column: 1; }
  .portrait { grid-row: auto; margin-top: 0; }
}
@media (max-width: 900px) {
  .statement h2 { grid-column: 1 / -1; }
  .statement-body { grid-column: 1 / -1; }
}

/* Avis clients (page Cabinet) : un bandeau qui défile lentement, comme les cartels d'une exposition.
   Sur la pierre, entre le contenu et le rendez-vous.
   Texte intégral, date et source ; pas d'étoiles ni de nom d'auteur. */
.reviews { background: var(--pierre); color: var(--on-pierre-2); padding-block: clamp(96px, 10vw, 160px); overflow: hidden; }
.reviews .label { color: var(--on-pierre-3); }
.reviews ::selection { background: var(--on-pierre); color: var(--pierre); }
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 20px 48px; }
.reviews-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 40px; }
.reviews-stats { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--on-pierre-3); }
.reviews .link { color: var(--on-pierre); background-image: linear-gradient(var(--on-pierre), var(--on-pierre)), linear-gradient(var(--on-pierre-3), var(--on-pierre-3)); }
.reviews .link:hover { color: var(--on-pierre); }
.reviews-viewport { margin-top: clamp(56px, 6vw, 96px); outline-offset: -2px; }
.reviews-track { display: flex; width: max-content; }
.reviews-list { display: flex; align-items: flex-start; gap: clamp(64px, 7vw, 128px); list-style: none; margin: 0; padding: 0 clamp(64px, 7vw, 128px) 0 0; }
.review { flex: none; width: clamp(290px, 34vw, 540px); }
.review blockquote { margin: 0; }
.review blockquote p { font-size: clamp(1.45rem, 1.1rem + 0.9vw, 2.05rem); line-height: 1.32; letter-spacing: -0.012em; color: var(--on-pierre); text-wrap: pretty; }
.review blockquote p + p { margin-top: 0.7em; }
/* Les avis longs sont composés plus petit et plus large, pour rester entiers sans dominer */
.review--m { width: clamp(300px, 38vw, 600px); }
.review--m blockquote p { font-size: clamp(1.25rem, 1rem + 0.55vw, 1.6rem); line-height: 1.38; }
.review--l { width: clamp(320px, 46vw, 720px); }
.review--l blockquote p { font-size: clamp(1.08rem, 0.95rem + 0.3vw, 1.28rem); line-height: 1.55; letter-spacing: 0; color: var(--on-pierre-2); }
@media (max-width: 640px) {
  .review, .review--m, .review--l { width: 82vw; }
}
.review-src { margin-top: 26px; font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--on-pierre-3); }
.reviews-note { margin-top: clamp(48px, 5vw, 72px); font-family: var(--sans); font-size: 0.6875rem; line-height: 1.7; color: var(--on-pierre-3); }

@media (prefers-reduced-motion: no-preference) {
  .reviews-track { animation: reviews-scroll var(--reviews-duration, 120s) linear infinite; }
  .reviews-viewport:hover .reviews-track,
  .reviews-viewport:focus-within .reviews-track,
  .reviews-viewport:focus .reviews-track { animation-play-state: paused; }
}
@keyframes reviews-scroll { to { transform: translateX(-50%); } }
/* Mouvement réduit : pas de défilement automatique, la rangée se parcourt à la main */
@media (prefers-reduced-motion: reduce) {
  .reviews-viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); }
  .reviews-list[aria-hidden="true"] { display: none; }
  .review { scroll-snap-align: start; }
}

/* Domaines : trois colonnes, dans la même salle claire que la déclaration */
/* Domaines : la salle claire (pierre), entre la déclaration et le rendez-vous, tous deux sombres */
.expertises { background: var(--pierre); color: var(--on-pierre-2); padding-block: var(--space); }
.expertises .label { color: var(--on-pierre-3); }
.expertises ::selection { background: var(--on-pierre); color: var(--pierre); }
.domains {
  list-style: none;
  margin: clamp(48px, 5vw, 80px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
}
.domains a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 30px;
  border-top: 1px solid rgba(23, 20, 17, 0.26);
  color: var(--on-pierre);
  text-decoration: none;
  transition: border-color 0.8s var(--slow);
}
.domain-title { font-family: var(--serif); font-size: clamp(2.1rem, 1.2rem + 2.1vw, 3.3rem); line-height: 1.04; letter-spacing: -0.022em; color: var(--on-pierre); max-width: 9em; }
.domain-text { margin-top: 24px; font-size: 1.25rem; line-height: 1.5; color: var(--on-pierre-2); max-width: 19em; }
.domain-tags { margin-top: 26px; font-family: var(--sans); font-size: 0.75rem; line-height: 1.6; letter-spacing: 0.04em; color: var(--on-pierre-3); max-width: 26em; }
.domain-more {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 44px;
}
.domain-more {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-pierre);
  background:
    linear-gradient(var(--on-pierre), var(--on-pierre)) left bottom / 0 1px no-repeat,
    linear-gradient(var(--on-pierre-3), var(--on-pierre-3)) left bottom / 100% 1px no-repeat;
  padding-bottom: 7px;
  transition: background-size 0.9s var(--slow);
}
/* Sur trois colonnes, les lignes des cartes sont communes (sous-grille) : titres, accroches,
   mots-clés et liens restent alignés d'une carte à l'autre, quelle que soit la longueur des titres. */
@media (min-width: 901px) {
  @supports (grid-template-rows: subgrid) {
    .domains li, .domains a { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
    .domains a > * { align-self: start; }
    .domain-more { align-self: end; justify-self: start; margin-top: 0; }
  }
}
.domains a:hover { border-top-color: var(--on-pierre); }
.domains a:hover .domain-more { background-size: 100% 1px, 100% 1px; }
@media (max-width: 900px) {
  .domains { grid-template-columns: minmax(0, 1fr); row-gap: 64px; }
  .domain-more { padding-top: 28px; }
}

/* ------------------------------------------------------------------ */
/* Rendez-vous et pied de page                                          */
/* ------------------------------------------------------------------ */

.dark { background: var(--espresso); }
.contact-room { background: var(--espresso); padding-top: var(--space); }
.room-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.room-grid h2 { grid-column: 1 / span 6; font-size: clamp(2.6rem, 1.4rem + 3.6vw, 5.4rem); line-height: 1; letter-spacing: -0.026em; }
.room-details { grid-column: 8 / -1; display: grid; gap: 26px; justify-items: start; align-content: start; padding-top: 0.6rem; }
.room-details .big { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.2; color: var(--ivoire); text-decoration: none; }
.room-details .big:hover { color: var(--pierre); }
.room-details address { font-style: normal; font-size: 1.25rem; line-height: 1.5; color: var(--ivoire-2); }
.room-details .note { font-size: 1.0625rem; color: var(--taupe); max-width: 22em; }
.room-details .link { margin-top: 12px; }
.room-reviews { margin-top: 18px; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--taupe); }
.room-reviews a { color: var(--taupe); text-decoration-color: var(--rule); }
.room-reviews a:hover { color: var(--ivoire); text-decoration-color: var(--ivoire); }
@media (max-width: 900px) {
  .room-grid h2 { grid-column: 1 / -1; }
  .room-details { grid-column: 1 / -1; margin-top: 56px; }
}

.site-footer { background: var(--espresso); padding-top: clamp(88px, 10vw, 152px); padding-bottom: 36px; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.02em; }
/* Navigation secondaire du pied de page : les pages du site, en toutes lettres */
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none; margin: 0; padding: 0 0 26px; }
.footer-nav a { color: var(--taupe); text-decoration: none; }
.footer-nav a:hover { color: var(--ivoire); }
.site-footer.is-bare { padding-top: 0; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 18px 40px; padding-top: 28px; border-top: 1px solid var(--rule); }
.site-footer.is-bare .footer-row { border-top: 0; padding-top: 36px; }
.footer-brand { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivoire); text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--taupe); text-decoration: none; }
.footer-links a:hover { color: var(--ivoire); }
.footer-copy { color: var(--taupe-2); }

/* ------------------------------------------------------------------ */
/* Pages intérieures                                                   */
/* ------------------------------------------------------------------ */

.page-intro { padding-top: clamp(64px, 11vh, 144px); padding-bottom: clamp(80px, 9vw, 144px); }
.page-intro h1 { font-size: clamp(3rem, 1.2rem + 5.4vw, 7rem); line-height: 0.98; letter-spacing: -0.028em; max-width: 11em; }
.page-intro .lead { margin-top: clamp(40px, 4vw, 56px); }
.page-intro .link { margin-top: 48px; }
/* Surtitre du H1 des pages de domaines : « Avocat à Paris », puis le domaine en grand */
.page-intro h1 .kicker { display: block; margin-bottom: clamp(20px, 2.4vw, 32px); font-size: 0.6875rem; letter-spacing: 0.24em; }

/* Le contenu des pages repose sur le brun charbon */
.sheet { background: var(--charbon); padding-top: clamp(80px, 9vw, 144px); }

.page-figure { margin-bottom: var(--space); }
.page-figure .figure { margin-left: calc(-1 * var(--edge)); width: calc(100% * 9 / 12 + var(--edge)); }
.page-figure .figure figcaption { padding-left: var(--edge); }
@media (max-width: 900px) {
  .page-figure .figure { width: calc(100% + var(--edge) - var(--gutter)); }
}

.doc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-bottom: var(--space); }
.doc-index { grid-column: 1 / span 3; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 48px); align-self: start; }
.doc-index ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 4px; }
.doc-index a {
  display: inline-block;
  padding-block: 4px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--taupe);
  text-decoration: none;
}
.doc-index a:hover, .doc-index a.is-active { color: var(--ivoire); }
.prose { grid-column: 5 / span 7; max-width: 42rem; }
@media (max-width: 1000px) {
  .doc-index { display: none; }
  .prose { grid-column: 1 / -1; }
}

.prose section + section { margin-top: clamp(96px, 9vw, 144px); }
.prose h2 { font-size: clamp(2.1rem, 1.4rem + 2vw, 3.2rem); line-height: 1.06; margin-bottom: 36px; }
.prose p { line-height: 1.72; }
.prose p + p { margin-top: 1.1em; }
.prose a { color: var(--ivoire); }
.prose ul { margin: 1.2em 0; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.6rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.82em; width: 10px; height: 1px; background: var(--taupe); }
.prose li + li { margin-top: 0.4em; }

.facts-list { margin: 40px 0 0; }
.facts-list div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding-block: 16px; border-top: 1px solid var(--rule); }
.facts-list div:last-child { border-bottom: 1px solid var(--rule); }
.facts-list dt { font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--taupe); }
.facts-list dd { margin: 0; color: var(--ivoire); }
@media (max-width: 560px) { .facts-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.defs { margin: 0; display: grid; gap: 36px; }
.defs dt { font-size: 1.5rem; line-height: 1.2; color: var(--ivoire); }
.defs dd { margin: 10px 0 0; }

/* Questions fréquentes */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-block: 26px;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.55rem);
  line-height: 1.3;
  color: var(--ivoire);
  transition: color 0.6s var(--slow);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(var(--taupe), var(--taupe)) center / 11px 1px no-repeat,
    linear-gradient(var(--taupe), var(--taupe)) center / 1px 11px no-repeat;
  transition: transform 0.7s var(--slow);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--pierre); }
.answer { padding-bottom: 32px; }
.answer p + p { margin-top: 0.9em; }
.prose .ref { margin-top: 18px; font-size: 1rem; color: var(--taupe); }
.ref-label { font-family: var(--sans); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin-right: 12px; color: var(--taupe-2); }
.prose .faq-note { margin-top: 32px; font-family: var(--sans); font-size: 0.6875rem; line-height: 1.7; color: var(--taupe); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-bottom: var(--space); }
.contact-details { grid-column: 1 / span 5; display: grid; gap: 26px; align-content: start; justify-items: start; }
.contact-details .big { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.2; color: var(--ivoire); text-decoration: none; }
.contact-details .big:hover { color: var(--pierre); }
.contact-details address { font-style: normal; font-size: 1.25rem; line-height: 1.5; }
.contact-details .note { font-size: 1.0625rem; color: var(--taupe); max-width: 24em; }
.form { grid-column: 7 / -1; display: grid; gap: 36px; }
@media (max-width: 900px) {
  .contact-details, .form { grid-column: 1 / -1; }
  .form { margin-top: 96px; }
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
@media (max-width: 620px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 4px; }
.field label { font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--taupe); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--ivoire);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #4a433b;
  border-radius: 0;
  padding: 10px 0;
  transition: border-color 0.6s var(--slow);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 1.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%2391897e' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
}
.field select option { background: var(--charbon); color: var(--ivoire); }
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--ivoire); }
.field-help { font-family: var(--sans); font-size: 0.6875rem; line-height: 1.7; color: var(--taupe); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-family: var(--sans); font-size: 0.6875rem; line-height: 1.7; color: var(--taupe); max-width: 48em; }
.form .btn { justify-self: start; }
.notice { font-family: var(--sans); font-size: 0.8125rem; line-height: 1.6; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--ivoire); }
.notice-error { color: #d7a597; }

/* Pages juridiques */
.legal dl { margin: 24px 0 0; }
.legal dl div { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 1rem; padding-block: 12px; border-top: 1px solid var(--rule); }
.legal dl div:last-child { border-bottom: 1px solid var(--rule); }
.legal dt { font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--taupe); padding-top: 6px; }
.legal dd { margin: 0; overflow-wrap: anywhere; color: var(--ivoire); }
@media (max-width: 560px) { .legal dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.todo { font-family: var(--sans); font-size: 0.8em; color: #e4b3a5; background: #3a2521; padding: 0.1em 0.4em; }

/* ------------------------------------------------------------------ */
/* Page Cabinet                                                        */
/* ------------------------------------------------------------------ */

/* Introduction : le titre et le portrait rond, bas du rond aligné sur la dernière ligne du texte */
.cabinet-intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.cabinet-intro-text { grid-column: 1 / span 7; }
.cabinet-portrait { grid-column: 9 / -1; justify-self: end; position: relative; margin: 0 0 calc(clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem) * 0.415); }   /* bas du rond = ligne de base du texte */
.cabinet-portrait-img { display: block; width: clamp(200px, 19.5vw, 280px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--greige); }
.cabinet-portrait-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cabinet-portrait figcaption { position: absolute; top: 100%; left: 0; right: 0; margin-top: 16px; text-align: center; font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--taupe); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .cabinet-portrait { animation: fade 2s var(--slow) 0.3s both; }
}
@media (max-width: 900px) {
  .cabinet-intro-grid { align-items: start; }
  .cabinet-intro-text { grid-column: 1 / -1; }
  .cabinet-portrait { grid-column: 1 / -1; justify-self: start; margin: 56px 0 36px; }
  .cabinet-portrait-img { width: 200px; }
  .cabinet-portrait figcaption { text-align: left; right: auto; }
}

/* Sections : sombres pour le parcours et le cadre d'exercice, claires pour la méthode et les honoraires */
.sheet:has(> .cab-section:first-child) { padding-top: 0; }
.cab-section { padding-block: var(--space); }
.cab-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.cab-grid > .label { grid-column: 1 / span 3; padding-top: 0.9rem; }
.cab-body { grid-column: 5 / span 7; max-width: 42rem; }
.cab-lead { font-size: clamp(1.5rem, 1.15rem + 0.95vw, 2.1rem); line-height: 1.34; letter-spacing: -0.012em; color: var(--ivoire); }
.cab-body p + p { margin-top: 1.1em; }
.cab-body .cab-lead + p { margin-top: 1.6em; }
.cab-body .facts-list { margin-top: 56px; }
@media (max-width: 900px) {
  .cab-grid > .label { grid-column: 1 / -1; padding-top: 0; margin-bottom: 32px; }
  .cab-body { grid-column: 1 / -1; }
}

.cab-light { background: var(--pierre); color: var(--on-pierre-2); }
.cab-light .label { color: var(--on-pierre-3); }
.cab-light ::selection { background: var(--on-pierre); color: var(--pierre); }
.cab-light:has(+ .cab-light) { padding-bottom: clamp(88px, 9vw, 144px); }
.cab-light + .cab-light { padding-top: 0; }
.cab-light + .cab-light > .wrap::before { content: ""; display: block; height: 1px; margin-bottom: clamp(88px, 9vw, 144px); background: rgba(23, 20, 17, 0.2); }
.cab-intro { margin-top: 28px; font-size: 1.25rem; line-height: 1.6; max-width: 36em; color: var(--on-pierre-2); }
.cab-cols { list-style: none; margin: clamp(48px, 5vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; }
.cab-cols li { padding-top: 28px; border-top: 1px solid rgba(23, 20, 17, 0.26); }
.cab-cols h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--on-pierre); max-width: 9em; }
.cab-cols p { margin-top: 18px; font-size: 1.0625rem; line-height: 1.55; color: var(--on-pierre-2); }
@media (max-width: 1100px) { .cab-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cab-cols { grid-template-columns: minmax(0, 1fr); gap: 44px; } }

.cab-pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 72px; }
.cab-pair > div:first-child { grid-column: 1 / span 5; }
.cab-pair > div:last-child { grid-column: 7 / span 5; }
.cab-pair .label { margin-bottom: 26px; }
.cab-pair p { font-size: 1.125rem; line-height: 1.65; }
.cab-pair p + p, .cab-list + p { margin-top: 1em; }
.cab-list { margin: 1em 0 0; padding: 0; list-style: none; }
.cab-list li { position: relative; padding-left: 1.5rem; font-size: 1.125rem; line-height: 1.55; }
.cab-list li + li { margin-top: 0.45em; }
.cab-list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--taupe); }
@media (max-width: 900px) {
  .cab-pair > div:first-child, .cab-pair > div:last-child { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ */
/* Question rapide (WhatsApp)                                          */
/* ------------------------------------------------------------------ */

/* Le bouton et le panneau prennent la couleur opposée au fond qu'ils recouvrent :
   espresso sur les sections claires, pierre sur les sections sombres (voir main.js). */
.ask {
  --ask-bg: var(--espresso);
  --ask-fg: var(--ivoire);
  --ask-fg-2: var(--ivoire-2);
  --ask-muted: var(--taupe);
  --ask-line: #3a342e;
  --ask-field: #4a433b;
  --ask-rule: var(--rule);
  --ask-accent: var(--bronze);
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  z-index: 70;
}
.ask.is-on-dark {
  --ask-bg: var(--pierre);
  --ask-fg: var(--on-pierre);
  --ask-fg-2: var(--on-pierre-2);
  --ask-muted: var(--on-pierre-3);
  --ask-line: rgba(23, 20, 17, 0.22);
  --ask-field: rgba(23, 20, 17, 0.3);
  --ask-rule: rgba(23, 20, 17, 0.16);
  --ask-accent: var(--on-pierre-3);
}
.ask ::selection { background: var(--ask-fg); color: var(--ask-bg); }
.ask-toggle, .ask-panel { transition: background-color 0.6s var(--slow), color 0.6s var(--slow), border-color 0.6s var(--slow), opacity 0.8s var(--slow), transform 0.8s var(--slow); }
.ask-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ask-fg);
  background: var(--ask-bg);
  border: 1px solid var(--ask-line);
  border-radius: 0;
  cursor: pointer;
}
.ask-toggle:hover { border-color: var(--ask-muted); }
/* Sur l'accueil, le bouton n'apparaît qu'une fois l'ouverture passée */
.ask.is-waiting .ask-toggle { opacity: 0; transform: translateY(12px); pointer-events: none; }
.ask.is-open .ask-toggle { opacity: 0; pointer-events: none; }

.ask-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(400px, calc(100vw - 32px));
  max-height: min(640px, calc(100svh - var(--header-h) - 32px));
  overflow-y: auto;
  padding: 26px 28px 24px;
  background: var(--ask-bg);
  border: 1px solid var(--ask-line);
  color: var(--ask-fg-2);
}
.ask-panel .label { color: var(--ask-muted); }
.ask-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.ask-close { font-family: var(--sans); font-size: 0.75rem; color: var(--ask-muted); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.ask-close:hover { color: var(--ask-fg); }
.ask-step { display: none; }
.ask-step.is-on, .ask-step.is-done { display: grid; gap: 16px; margin-bottom: 24px; }
.ask-step.is-done .ask-choices, .ask-step.is-done textarea, .ask-step.is-done input, .ask-step.is-done .link { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .ask-step.is-on { animation: rise 0.9s var(--slow) both; }
}
.ask-line { font-size: 1.3rem; line-height: 1.35; color: var(--ask-fg); }
.ask-line label { cursor: default; }
.ask-echo { justify-self: end; max-width: 85%; font-family: var(--sans); font-size: 0.8125rem; line-height: 1.5; color: var(--ask-muted); text-align: right; }
.ask-echo:empty { display: none; }
.ask-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.ask-choice {
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ask-fg);
  background: transparent;
  border: 1px solid var(--ask-line);
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.4s var(--slow);
}
.ask-choice:hover, .ask-choice:focus-visible { border-color: var(--ask-muted); }
.ask textarea, .ask input {
  width: 100%;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--ask-fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ask-field);
  border-radius: 0;
  padding: 8px 0;
  resize: vertical;
}
.ask textarea:focus, .ask input:focus { outline: none; border-bottom-color: var(--ask-fg); }
.ask :focus-visible { outline-color: var(--ask-fg); }
.ask .link {
  justify-self: start;
  margin-top: 6px;
  padding: 0 0 7px;
  color: var(--ask-fg);
  background-color: transparent;
  background-image: linear-gradient(var(--ask-fg), var(--ask-fg)), linear-gradient(var(--ask-accent), var(--ask-accent));
  border: 0;
  cursor: pointer;
}
.ask .link:hover { color: var(--ask-fg); }
.ask-small { font-family: var(--sans); font-size: 0.75rem; color: var(--ask-muted); }
.ask-small a { color: var(--ask-fg); text-decoration-color: var(--ask-accent); }
.ask-note { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--ask-rule); font-family: var(--sans); font-size: 0.6875rem; line-height: 1.7; color: var(--ask-muted); }
.ask-note a { color: var(--ask-fg-2); text-decoration-color: var(--ask-accent); }
@media (max-width: 640px) {
  .ask-panel { position: fixed; left: 0; right: 0; bottom: 0; width: auto; max-height: 82svh; border-width: 1px 0 0; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); }
}

/* ------------------------------------------------------------------ */
/* Divers                                                              */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal, .reveal .domains li { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .contact-room, .doc-index, .skip { display: none !important; }
  .reveal, .reveal .domains li { opacity: 1 !important; transform: none !important; }
  html, body, .sheet, .statement, .expertises { background: #fff !important; color: #000 !important; }
  h1, h2, h3 { color: #000 !important; }
  body { font-size: 11pt; }
}
