/* ==========================================================================
   Cabinet Maxime Gratpanche — Avocat au Barreau de Nice
   Feuille de style principale — refonte 2026
   ========================================================================== */

/* ------------------------------------------------------------ 0. Polices
   Servies depuis le domaine du cabinet, et non depuis fonts.gstatic.com :
   charger une police chez Google transmet l'adresse IP du visiteur à un
   tiers, ce qui exige un consentement préalable (position de la CNIL,
   confirmée par la jurisprudence allemande sur Google Fonts).
   Ce sont des polices variables : un seul fichier couvre toutes les graisses. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* Couleurs */
  --ink:        #0C1A28;
  --ink-soft:   #16293C;
  --ink-line:   rgba(255, 255, 255, .10);
  --brass:      #B98C4E;
  --brass-lit:  #D9BC8A;
  /* Doré assombri, réservé au petit texte sur fond clair : #B98C4E n'y
     atteint que 2,7:1, sous le seuil de 4,5:1. Ici 4,7:1. */
  --brass-text: #8C6427;
  --paper:      #FCFBF9;
  --sand:       #F5F1EA;
  --text:       #24303D;
  --muted:      #5E6B7A;
  --line:       #E5DFD5;
  --white:      #FFFFFF;
  --alert:      #A32C2C;

  /* Typographie */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rythme */
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  /* Divers */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(12, 26, 40, .05), 0 4px 12px rgba(12, 26, 40, .04);
  --shadow-md: 0 2px 4px rgba(12, 26, 40, .05), 0 16px 40px rgba(12, 26, 40, .08);
  --shadow-lg: 0 4px 8px rgba(12, 26, 40, .06), 0 30px 70px rgba(12, 26, 40, .13);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------------- 2. Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--white);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

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

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

.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, .82); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

/* ---------------------------------------------------------- 4. Typographie */
h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); font-weight: 600; }

.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.35rem, 6.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.015em;
}

/* Retours à la ligne imposés uniquement sur grand écran : sous 940 px,
   le texte se replie naturellement plutôt que de casser au mauvais endroit. */
.br-lg { display: none; }
@media (min-width: 941px) { .br-lg { display: inline; } }
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.h3 {
  font-family: var(--sans);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.35;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .625rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-text);
  margin-bottom: 1.125rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: currentColor; opacity: .6;
}
/* Sur fond sombre, c'est le doré clair qui donne le meilleur contraste (9:1). */
.section--ink .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.contact-hero .eyebrow,
.cta-band .eyebrow { color: var(--brass-lit); }

.lede {
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
}
.section--ink .lede,
.section--ink p { color: rgba(255, 255, 255, .74); }
.section--ink h2, .section--ink h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head .h2 + .lede { margin-top: 1.125rem; }

/* --------------------------------------------------------------- 5. Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .625rem;
  padding: .95rem 1.6rem;
  font-size: .9375rem; font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brass); color: #1A1206;
  box-shadow: 0 2px 6px rgba(185, 140, 78, .28);
}
.btn--primary:hover { background: var(--brass-lit); box-shadow: 0 8px 22px rgba(185, 140, 78, .34); }

.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-soft); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255, 255, 255, .28);
}
.btn--ghost:hover { border-color: var(--brass-lit); background: rgba(255, 255, 255, .06); }

.btn--outline {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--ink); background: var(--white); }

.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9375rem; font-weight: 600; color: var(--ink);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- 6. Header */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
  font-size: .8125rem;
  border-bottom: 1px solid var(--ink-line);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 40px;
  max-width: 1320px;
}
.topbar__list { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__item svg { width: 14px; height: 14px; color: var(--brass); flex: none; }
.topbar a:hover { color: var(--white); }
@media (max-width: 860px) { .topbar { display: none; } }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 251, 249, .92);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(12, 26, 40, .07); }
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 76px;
  /* L'en-tête déborde du conteneur de 1180 px : logo + navigation + numéro
     + bouton réclament davantage de largeur que le corps de page. */
  max-width: 1320px;
}

.brand { display: flex; align-items: center; gap: .875rem; flex: none; }
.brand__mark {
  width: 46px; height: 46px; flex: none;
  object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.01em;
}
.brand__role {
  font-size: .6875rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brass);
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  position: relative;
  padding: .6rem .8rem;
  font-size: .9375rem; font-weight: 500; color: var(--text);
  border-radius: var(--radius);
  /* Les libellés en deux mots (« Le cabinet ») se coupaient en deux lignes
     et désalignaient la barre de navigation. */
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); background: var(--sand); }
.nav__link[aria-current="page"] { font-weight: 600; }

.nav__group { position: relative; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: .375rem;
  background: none; border: 0; cursor: pointer;
}
.nav__toggle svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav__group[data-open="true"] .nav__toggle svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 268px; padding: .5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  /* visibility bascule instantanément à l'ouverture, et seulement après
     le fondu à la fermeture — sinon le menu reste invisible un court instant. */
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.nav__group[data-open="true"] .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s;
}
.nav__menu a {
  display: flex; align-items: center; gap: .75rem;
  padding: .625rem .75rem;
  font-size: .9375rem; border-radius: var(--radius);
  transition: background-color .2s var(--ease);
}
.nav__menu a:hover { background: var(--sand); }
.nav__menu a span[data-dot] {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass); flex: none;
}

.header__actions { display: flex; align-items: center; gap: .75rem; flex: none; }
.header__tel {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .9375rem; color: var(--ink);
  padding: .6rem .5rem;
}
.header__tel svg { width: 17px; height: 17px; color: var(--brass); }
.header__tel:hover { color: var(--brass); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line);
  border-radius: var(--radius); cursor: pointer;
}
.burger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--ink); position: relative;
  transition: background-color .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .28s var(--ease), top .28s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Le numéro cède la place en premier : il reste dans la barre supérieure,
   puis dans le menu et la barre fixe du bas. */
@media (max-width: 1300px) {
  .header__tel { display: none; }
}
@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header .wrap { min-height: 68px; }
}
/* Sous 760 px, la barre fixe en bas porte déjà les deux appels à l'action :
   on ne garde que le logo et le menu dans l'en-tête. */
@media (max-width: 760px) {
  .header__actions .btn { display: none; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.125rem; }
}
@media (max-width: 360px) {
  .brand__role { display: none; }
}

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper);
  padding: 88px var(--gutter) 2rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear .28s;
}
.mobile-nav[data-open="true"] {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s;
}
.mobile-nav a {
  display: block; padding: 1rem 0;
  font-size: 1.125rem; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__sub a { padding-left: 1.125rem; font-size: 1rem; color: var(--muted); }
.mobile-nav__label {
  padding: 1.25rem 0 .5rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brass);
}
.mobile-nav__cta { display: grid; gap: .75rem; margin-top: 2rem; }

/* ------------------------------------------------------------------ 7. Hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -10%, rgba(185, 140, 78, .30), transparent 62%),
    radial-gradient(760px 520px at 6% 108%, rgba(30, 60, 92, .70), transparent 65%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 25%, transparent 78%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.hero h1 { color: var(--white); }
.hero h1 em {
  font-style: normal;
  color: var(--brass-lit);
}
.hero__lede {
  margin-top: 1.5rem;
  max-width: 33rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.68;
  color: rgba(255, 255, 255, .76);
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: .875rem;
  margin-top: 2.25rem;
}
.hero__note {
  margin-top: 1.125rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
}

.hero__badges {
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--ink-line);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: rgba(255, 255, 255, .72);
}
.hero__badge svg { width: 16px; height: 16px; color: var(--brass); flex: none; }

/* Portrait du hero */
.hero__media {
  position: relative;
  margin: 0;
  /* Le portrait s'aligne sur la hauteur de la colonne de texte plutôt que
     de flotter, plus court, au milieu de la ligne. */
  align-self: stretch;
  display: flex;
  border-radius: var(--radius-lg);
}
.hero__portrait {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  /* Source au format 2/3 : on remonte le cadrage pour centrer le visage. */
  object-position: 50% 16%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
/* Fondu vers le fond sombre en pied de photo, pour asseoir le cartouche. */
.hero__media::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0;
  height: 45%;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: linear-gradient(to top, rgba(8, 18, 28, .92), transparent);
  pointer-events: none;
}
.hero__plate {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1.5rem clamp(1.25rem, 2.5vw, 1.75rem);
}
.hero__plate strong {
  display: block;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--white); line-height: 1.2;
}
.hero__plate span {
  display: block; margin-top: .375rem;
  font-size: .8125rem; color: var(--brass-lit);
}

@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__media { order: 2; max-width: 460px; align-self: auto; }
  .hero__portrait { height: auto; min-height: 0; aspect-ratio: 3 / 4; }
}

/* ------------------------------------------------------- 8. Bandeau urgence */
.urgency {
  background: var(--ink-soft);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  color: rgba(255, 255, 255, .85);
}
.urgency .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.25rem;
  padding-block: 1.375rem;
}
.urgency__text { display: flex; align-items: center; gap: 1rem; }
.urgency__pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brass-lit); flex: none;
  box-shadow: 0 0 0 0 rgba(217, 188, 138, .7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(217, 188, 138, .6); }
  70%  { box-shadow: 0 0 0 12px rgba(217, 188, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 188, 138, 0); }
}
.urgency strong { color: var(--white); font-weight: 600; }
.urgency p { font-size: .9375rem; margin: 0; }

/* ------------------------------------------------------------- 9. Domaines */
.domains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.domain {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.125rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.domain::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--brass), var(--brass-lit));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.domain:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.domain:hover::after { transform: scaleX(1); }

.domain__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--sand);
  border-radius: var(--radius);
  margin-bottom: 1.375rem;
  transition: background-color .3s var(--ease);
}
.domain__icon svg { width: 23px; height: 23px; color: var(--brass); }
.domain:hover .domain__icon { background: var(--ink); }
.domain:hover .domain__icon svg { color: var(--brass-lit); }

.domain h3 { margin-bottom: .625rem; }
.domain p { font-size: .9375rem; color: var(--muted); margin-bottom: 1.25rem; }
.domain__tags {
  display: flex; flex-wrap: wrap; gap: .375rem;
  margin-bottom: 1.5rem;
}
.domain__tags li {
  font-size: .75rem; font-weight: 500;
  padding: .25rem .625rem;
  background: var(--sand); color: var(--muted);
  border-radius: 100px;
}
.domain .link-arrow { margin-top: auto; color: var(--brass); }

/* ------------------------------------------------------------- 10. Piliers */
.pillars {
  display: grid;
  /* 220px : permet aux 4 piliers de tenir sur une seule ligne à 1180px,
     sans laisser le quatrième orphelin sur une deuxième ligne. */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
}
.pillar__num {
  font-family: var(--serif);
  font-size: 2.5rem; line-height: 1;
  color: var(--brass);
  margin-bottom: 1rem;
  display: block;
}
.pillar h3 { margin-bottom: .625rem; }
.pillar p { font-size: .9375rem; color: var(--muted); }
.section--ink .pillar p { color: rgba(255, 255, 255, .66); }
.section--ink .pillar__num { color: var(--brass-lit); }

/* ------------------------------------------------------------- 11. À propos */
.about {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

.about__media { position: relative; }

/* Parcours — le portrait occupe désormais le hero, cette colonne porte
   les repères de formation, du plus récent au plus ancien. */
.credentials {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.credentials__label {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-lit);
  margin-bottom: 1.5rem;
}
.credentials__list { display: grid; }
.credentials__list li {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1rem;
  padding: 1rem 0 1rem 0;
  border-top: 1px solid var(--ink-line);
}
.credentials__list li:first-child { border-top: 0; padding-top: 0; }
.credentials__list li:last-child { padding-bottom: 0; }
.credentials__year {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .04em;
  color: var(--brass);
  padding-top: 2px;
}
.credentials__list strong {
  display: block;
  font-size: .9375rem; font-weight: 600;
  color: var(--white); line-height: 1.35;
}
.credentials__list em {
  display: block; margin-top: .1875rem;
  font-style: normal; font-size: .8125rem;
  color: rgba(255, 255, 255, .55);
}
@media (max-width: 420px) {
  .credentials__list li { grid-template-columns: 1fr; gap: .25rem; }
}

.about__quote {
  margin: 1.75rem 0;
  padding-left: 1.375rem;
  border-left: 2px solid var(--brass);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
}
.about__values {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.about__value h4 {
  font-size: .9375rem; margin-bottom: .375rem;
  display: flex; align-items: center; gap: .5rem;
}
.about__value h4 svg { width: 16px; height: 16px; color: var(--brass); flex: none; }
.about__value p { font-size: .875rem; color: var(--muted); }

/* ---------------------------------------------------------- 12. Déroulement */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.125rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step__badge {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink); color: var(--brass-lit);
  font-family: var(--serif); font-size: 1.125rem; font-weight: 600;
  margin-bottom: 1.25rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .9375rem; color: var(--muted); }

/* --------------------------------------------------------- 13. Honoraires */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.price {
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.price--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: rgba(255, 255, 255, .78);
  position: relative;
}
.price--featured h3, .price--featured .price__amount { color: var(--white); }
/* Pastille en flux : en absolu elle chevauchait le titre dès que
   celui-ci passait sur deux lignes (mobile). */
.price__tag {
  display: inline-block;
  /* .price est un conteneur flex en colonne : sans align-self, la pastille
     s'étirerait sur toute la largeur de la carte. */
  align-self: flex-start;
  margin-bottom: .875rem;
  padding: .25rem .6875rem;
  font-size: .6875rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass-lit);
  background: rgba(217, 188, 138, .12);
  border: 1px solid rgba(217, 188, 138, .3);
  border-radius: 100px;
}
.price h3 { margin-bottom: .875rem; }
.price__amount {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 2.875rem);
  line-height: 1; color: var(--ink);
}
.price__amount small {
  font-family: var(--sans); font-size: .875rem;
  font-weight: 500; color: var(--muted); margin-left: .375rem;
}
.price--featured .price__amount small { color: rgba(255, 255, 255, .55); }
.price__desc { font-size: .9375rem; color: var(--muted); margin: 1rem 0 1.5rem; }
.price--featured .price__desc { color: rgba(255, 255, 255, .65); }
.price__list { display: grid; gap: .625rem; margin-bottom: 1.75rem; font-size: .875rem; }
.price__list li { display: flex; gap: .625rem; align-items: flex-start; }
.price__list svg { width: 16px; height: 16px; color: var(--brass); flex: none; margin-top: 3px; }
.price .btn { margin-top: auto; }

.pricing-note {
  margin-top: 1.5rem;
  display: flex; gap: .875rem; align-items: flex-start;
  padding: 1.25rem 1.375rem;
  background: var(--sand);
  border-left: 2px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9375rem; color: var(--muted);
}
.pricing-note svg { width: 20px; height: 20px; color: var(--brass); flex: none; margin-top: 2px; }
.pricing-note strong { color: var(--ink); }

/* ------------------------------------------------------------- 14. Avis */
/* Note globale, en tête de section */
.rating-summary {
  display: inline-flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; justify-content: center;
  margin-top: 1.5rem;
  padding: .875rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.rating-summary__score {
  font-family: var(--serif); font-size: 2rem; font-weight: 600;
  color: var(--ink); line-height: 1;
}
.rating-summary__stars { display: flex; gap: 2px; }
.rating-summary__stars svg { width: 18px; height: 18px; color: #F0A81E; }
.rating-summary__count { font-size: .875rem; color: var(--muted); }
.rating-summary__count strong { color: var(--ink); font-weight: 600; }
.rating-summary__g { width: 20px; height: 20px; }

/* Cartes d'avis */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.25rem;
  /* stretch (défaut) : les cartes d'une même rangée gardent la même hauteur,
     qu'un nom tienne sur une ou deux lignes. */
}
.review {
  display: flex; flex-direction: column;
  padding: clamp(1.375rem, 2.4vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.review:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.review__head {
  display: flex; align-items: flex-start; gap: .75rem;
  margin-bottom: .875rem;
  /* Hauteur plancher calée sur un nom de deux lignes : les étoiles et le
     texte restent alignés d'une carte à l'autre. */
  min-height: 60px;
}
.review__avatar {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--av, var(--ink));
  color: #fff; font-size: 1.0625rem; font-weight: 600;
  line-height: 1;
}
.review__who { min-width: 0; flex: 1; }
/* Le nom passe à la ligne plutôt que d'être coupé : tronquer le nom d'un
   client (« COUTELA Ber… ») fait négligé et abîme la crédibilité de l'avis. */
.review__name {
  display: block;
  font-size: .9375rem; font-weight: 600; color: var(--ink);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.review__date { display: block; font-size: .75rem; color: var(--muted); margin-top: 2px; }
.review__google { width: 20px; height: 20px; flex: none; }

.review__stars { display: flex; gap: 1px; margin-bottom: .875rem; }
.review__stars svg { width: 16px; height: 16px; color: #F0A81E; }

.review__text {
  font-size: .9375rem; line-height: 1.6; color: var(--text);
  white-space: pre-line;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}
.review.is-open .review__text {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}
.review__more {
  align-self: flex-start;
  margin-top: .75rem; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-size: .8125rem; font-weight: 600; color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.review__more:hover { color: var(--brass); border-color: var(--brass); }
.review__more[hidden] { display: none; }

.reviews__foot { margin-top: 2rem; text-align: center; }
.reviews__foot .btn svg { width: 18px; height: 18px; }
.reviews__disclaimer {
  margin-top: .875rem;
  font-size: .75rem; color: var(--muted);
}

/* -------------------------------------------------------------- 15. FAQ */
.faq { display: grid; gap: .75rem; max-width: 840px; margin-inline: auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { border-color: rgba(185, 140, 78, .45); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600; font-size: 1rem; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  width: 11px; height: 11px;
  border-right: 1.6px solid var(--brass);
  border-bottom: 1.6px solid var(--brass);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .28s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .faq__body { padding: 0 1.5rem 1.5rem; font-size: .9375rem; color: var(--muted); }
.faq .faq__body p + p { margin-top: .875rem; }

/* -------------------------------------------------------- 16. Bloc CTA final */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden; isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(800px 400px at 85% 15%, rgba(185, 140, 78, .26), transparent 65%);
}
.cta-band .wrap {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .74); margin-top: 1rem; max-width: 34rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .875rem; }
.cta-band__contact {
  display: grid; gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
}
.cta-band__row { display: flex; gap: .875rem; align-items: flex-start; font-size: .9375rem; }
.cta-band__row svg { width: 18px; height: 18px; color: var(--brass); flex: none; margin-top: 3px; }
.cta-band__row strong { display: block; color: var(--white); font-weight: 600; }
.cta-band__row span { color: rgba(255, 255, 255, .62); }

/* ------------------------------------------ 16 bis. Page contact — ouverture
   Le formulaire est l'unique objectif de la page : il partage l'écran
   d'ouverture avec l'accroche au lieu d'être relégué sous un hero. */
.contact-hero {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  overflow: hidden; isolation: isolate;
}
.contact-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(185, 140, 78, .24), transparent 62%),
    radial-gradient(700px 460px at 4% 104%, rgba(30, 60, 92, .65), transparent 66%);
}
.contact-hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  grid-template-areas:
    "head form"
    "aside form";
  /* Le formulaire couvre les deux lignes : sans hauteurs explicites, sa
     hauteur se répartit entre elles et décroche le bloc d'arguments. */
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: clamp(2.5rem, 5vw, 4rem);
  row-gap: 2rem;
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
}
.contact-hero__head  { grid-area: head; }
.contact-hero__aside { grid-area: aside; }
.contact-hero__form  { grid-area: form; }

.contact-hero h1 {
  color: var(--white);
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.1rem, 4.2vw, 3.05rem);
  line-height: 1.06; letter-spacing: -.01em;
}
.contact-hero .lede { margin-top: 1.125rem; color: rgba(255, 255, 255, .74); }

.contact-hero__points { display: grid; gap: 1rem; }
.contact-hero__points li {
  display: flex; gap: .75rem; align-items: flex-start;
  font-size: .9375rem; line-height: 1.55;
  color: rgba(255, 255, 255, .68);
}
.contact-hero__points svg { width: 17px; height: 17px; color: var(--brass); flex: none; margin-top: 4px; }
.contact-hero__points strong { color: var(--white); font-weight: 600; }

.urgent-note {
  margin-top: 1.75rem;
  padding: 1.25rem 1.375rem;
  background: rgba(163, 44, 44, .16);
  border: 1px solid rgba(200, 90, 90, .38);
  border-radius: var(--radius);
}
.urgent-note strong {
  display: block; margin-bottom: .4375rem;
  font-size: .9375rem; color: var(--white);
}
.urgent-note p {
  font-size: .875rem; line-height: 1.55;
  color: rgba(255, 255, 255, .68);
  margin-bottom: 1.125rem;
}
.urgent-note .btn { width: 100%; }

/* Le formulaire posé sur le fond sombre : carte claire, ombre portée. */
.contact-hero .form {
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
  border-color: transparent;
}

@media (max-width: 940px) {
  .contact-hero .wrap {
    grid-template-columns: 1fr;
    /* Sur mobile, le formulaire remonte juste sous le titre ; les arguments
       et l'encart urgence passent en dessous. */
    grid-template-areas: "head" "form" "aside";
    grid-template-rows: auto auto auto;
  }
}

/* ---------------------------------------------------------- 17. Formulaire */
.form-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }

.form {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  /* La carte est claire mais posée sur une section sombre : sans couleur
     explicite, tout ce qu'elle contient hérite du blanc du conteneur. */
  color: var(--text);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.125rem; }
.field label {
  display: block; margin-bottom: .4375rem;
  font-size: .8125rem; font-weight: 600; color: var(--ink);
}
.field label .req { color: var(--brass); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8125rem .9375rem;
  font-size: .9375rem;
  /* Couleur posée explicitement, jamais héritée : la remise à zéro applique
     color:inherit aux champs, ce qui les rendait blancs sur fond clair. */
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
/* Certains navigateurs font hériter la couleur du <select> à ses options. */
.field select option { color: var(--text); background: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(185, 140, 78, .13);
}
.field textarea { resize: vertical; min-height: 128px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6B7A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .875rem center; background-size: 16px;
  padding-right: 2.5rem;
}
.field__hint { margin-top: .375rem; font-size: .8125rem; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-block;
  padding: .5rem .9375rem;
  font-size: .875rem; font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px; cursor: pointer;
  transition: all .2s var(--ease);
}
.chip input:checked + span {
  background: var(--ink); color: var(--white); border-color: var(--ink);
}
.chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }

.consent {
  display: flex; gap: .75rem; align-items: flex-start;
  margin: 1.25rem 0;
  font-size: .8125rem; color: var(--muted);
}
.consent input { margin-top: 3px; accent-color: var(--brass); flex: none; width: 16px; height: 16px; }
.consent a { text-decoration: underline; }

.form__trust {
  margin-top: 1.125rem; text-align: center;
  font-size: .8125rem; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.form__trust svg { width: 15px; height: 15px; color: var(--brass); }

/* Pot de miel anti-robots : hors écran plutôt que display:none, que certains
   robots détectent et contournent. */
.honeypot {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.form__status {
  margin-top: 1rem; padding: .875rem 1rem;
  border-radius: var(--radius);
  font-size: .875rem; line-height: 1.55;
}
.form__status[data-tone="error"] {
  background: rgba(163, 44, 44, .07);
  border-left: 2px solid var(--alert);
  color: var(--alert);
}
.form__status a { text-decoration: underline; color: inherit; font-weight: 600; }

/* Confirmation affichée à la place du formulaire après envoi. */
.form-success {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.form-success__icon {
  width: 56px; height: 56px; margin: 0 auto 1.375rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sand);
}
.form-success__icon svg { width: 26px; height: 26px; color: var(--brass); }
.form-success h3 {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600; margin-bottom: .875rem;
}
.form-success p { color: var(--muted); font-size: .9375rem; max-width: 38ch; margin-inline: auto; }
.form-success .btn { margin-top: 1.75rem; }

/* Coordonnées — bandeau à colonnes séparées.
   En cartes juxtaposées, l'icône latérale amputait la largeur utile de 60 px
   sur 215 px : l'e-mail et les tarifs se coupaient en trois lignes. L'icône
   passe au-dessus, et les valeurs sont tenues sur une seule ligne. */
.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.info-strip__item {
  display: flex; flex-direction: column;
  padding: clamp(1.375rem, 2.2vw, 1.875rem);
  border-left: 1px solid var(--line);
  min-width: 0;
}
.info-strip__item:first-child { border-left: 0; }

.info-strip__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--sand);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.info-strip__icon svg { width: 18px; height: 18px; color: var(--brass); }

.info-strip__label {
  font-size: .6875rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4375rem;
}
.info-strip__value {
  display: block;
  font-size: 1.0625rem; font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  /* Garantit la tenue sur une ligne quelle que soit la largeur de colonne. */
  white-space: nowrap;
  transition: color .2s var(--ease);
}
/* L'adresse e-mail fait 27 caractères : sa taille suit la largeur de colonne
   pour qu'elle tienne sur une ligne sans jamais être rognée. */
.info-strip__value--sm {
  font-size: clamp(.75rem, 1.1vw, .875rem);
  letter-spacing: -.005em;
}
a.info-strip__value:hover { color: var(--brass); }

.info-strip__note {
  margin-top: .5rem;
  font-size: .8125rem; line-height: 1.5;
  color: var(--muted);
}

/* Quatre colonnes ne laissent la place à l'e-mail qu'au-delà de 1180 px. */
@media (max-width: 1180px) {
  .info-strip { grid-template-columns: 1fr 1fr; }
  /* Sur deux colonnes, seule la bordure gauche des colonnes paires subsiste ;
     une bordure haute sépare les deux rangées. */
  .info-strip__item:nth-child(odd) { border-left: 0; }
  .info-strip__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .info-strip { grid-template-columns: 1fr; }
  .info-strip__item { border-left: 0; }
  .info-strip__item:not(:first-child) { border-top: 1px solid var(--line); }
}

.access { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; }
.access li {
  padding: .875rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .875rem;
}
.access strong { display: block; color: var(--ink); font-weight: 600; }
.access span { color: var(--muted); font-size: .8125rem; }

.map-frame {
  width: 100%; aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.map-credit {
  margin-top: .625rem;
  font-size: .75rem; line-height: 1.5; color: var(--muted);
}
.map-credit a { text-decoration: underline; }
.map-credit a:hover { color: var(--brass); }

/* -------------------------------------------------- 18. Pages compétences */
.page-hero {
  position: relative;
  background: var(--ink); color: var(--white);
  overflow: hidden; isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 500px at 88% 0%, rgba(185, 140, 78, .24), transparent 62%);
}
.page-hero .wrap { padding-block: clamp(3.25rem, 6vw, 5rem); }
.page-hero h1 {
  color: var(--white);
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.06;
}
.page-hero .lede { margin-top: 1.25rem; max-width: 46rem; color: rgba(255, 255, 255, .74); }
.page-hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .875rem; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .8125rem; color: rgba(255, 255, 255, .5);
  margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--brass-lit); }
.breadcrumb span { opacity: .5; }

.prose { max-width: 46rem; }
.prose p { margin-bottom: 1.125rem; color: var(--text); }
.prose h2 {
  font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 2.75rem 0 1.125rem; line-height: 1.15;
}
.prose h3 { margin: 2rem 0 .75rem; }
.prose ul { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.prose ul li { display: flex; gap: .75rem; align-items: flex-start; }
.prose ul li::before {
  content: ""; flex: none; margin-top: .6875rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brass);
}

.matters { display: grid; gap: .875rem; }
.matter {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.375rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.matter:hover { border-color: rgba(185, 140, 78, .5); transform: translateX(3px); }
.matter__icon {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center;
  background: var(--sand); border-radius: 50%;
}
.matter__icon svg { width: 15px; height: 15px; color: var(--brass); }
.matter h3 { font-size: 1rem; margin-bottom: .3125rem; }
.matter p { font-size: .9375rem; color: var(--muted); }

.jurisdictions,
.prose .jurisdictions {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.jurisdictions li,
.prose .jurisdictions li {
  display: block;
  padding: .5rem .9375rem;
  font-size: .875rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text);
}
.prose .jurisdictions li::before { content: none; }
.jurisdictions a { transition: color .2s var(--ease); }
.jurisdictions li:has(a):hover { border-color: var(--brass); }
.jurisdictions a:hover { color: var(--brass); }

.aside-card {
  position: sticky; top: 100px;
  padding: clamp(1.5rem, 3vw, 1.875rem);
  background: var(--ink); color: rgba(255, 255, 255, .78);
  border-radius: var(--radius-lg);
}
.aside-card h3 { color: var(--white); font-family: var(--serif); font-size: 1.375rem; margin-bottom: .75rem; }
.aside-card p { font-size: .9375rem; margin-bottom: 1.25rem; }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: .625rem; }
.aside-card__sep {
  height: 1px; background: var(--ink-line);
  margin: 1.5rem 0;
}
.aside-card__list { display: grid; gap: .75rem; font-size: .875rem; }
.aside-card__list li { display: flex; gap: .625rem; align-items: flex-start; }
.aside-card__list svg { width: 16px; height: 16px; color: var(--brass); flex: none; margin-top: 2px; }

.layout-aside {
  display: grid; grid-template-columns: 1fr 340px;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 980px) {
  .layout-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

/* ------------------------------------------------------------- 19. Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .62);
  font-size: .9375rem;
  padding-top: clamp(3.5rem, 6vw, 5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer h4 {
  color: var(--white); font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.125rem;
}
.footer ul { display: grid; gap: .625rem; }
.footer a:hover { color: var(--brass-lit); }
.footer__brand { display: flex; align-items: center; gap: .875rem; margin-bottom: 1.25rem; }
.footer__brand img { width: 44px; height: 44px; object-fit: contain; }
.footer__brand strong { font-family: var(--serif); font-size: 1.1875rem; color: var(--white); font-weight: 600; }
.footer__brand span { display: block; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.footer__desc { font-size: .875rem; line-height: 1.65; max-width: 30ch; }

.footer__bottom {
  border-top: 1px solid var(--ink-line);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: .8125rem; color: rgba(255, 255, 255, .42);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ------------------------------------------------- 20. Barre mobile fixe */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  background: rgba(12, 26, 40, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--ink-line);
  padding: .625rem .75rem calc(.625rem + env(safe-area-inset-bottom));
  gap: .625rem;
}
.mobile-bar .btn { flex: 1; padding: .875rem 1rem; font-size: .875rem; }
/* 860 px = seuil où la barre supérieure disparaît : la barre fixe prend le
   relais pour que le téléphone reste visible sans interruption. */
@media (max-width: 860px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* ------------------------------------------------------ 21. Apparition */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}
