@charset "utf-8";

/* ═══════════════════════════════════════════════════════════════════════════
   QADAOUI AVOCATS — système visuel
   ───────────────────────────────────────────────────────────────────────────
   Un seul cabinet, deux lumières. La grille, la typographie et les composants
   sont rigoureusement identiques d'un territoire à l'autre : seule la palette
   change. Luxembourg emprunte à l'acier et à la verticalité du Kirchberg,
   Nice à la lumière rasante et aux arcs de la Méditerranée. Le visiteur
   reconnaît son territoire avant même d'avoir lu un mot, sans que le cabinet
   ne paraisse être deux cabinets différents.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Polices auto-hébergées ────────────────────────────────────────────────
   Aucun appel à un CDN tiers : rien de l'adresse IP du visiteur ne part chez
   Google. C'est une exigence RGPD, et sur un site d'avocat elle n'est pas
   négociable. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/cormorant-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/cormorant-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;
}
@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;
}

/* ── Jetons ───────────────────────────────────────────────────────────────── */

:root {
  --ivory:      #FBF8F2;
  --ivory-2:    #F4EEE1;
  --paper:      #FFFFFF;
  --ink:        #141A20;
  --ink-2:      #44505B;
  --ink-3:      #6E7A86;
  --line:       rgba(20, 26, 32, .14);
  --line-soft:  rgba(20, 26, 32, .07);

  /* Palette « cabinet » : accueil et pages communes aux deux territoires. */
  --night:      #08192A;
  --night-2:    #0F2D46;
  --deep:       #17466B;
  --gold:       #C4A253;
  --gold-2:     #E2CC93;
  --gold-ink:   #866A28;
  --gold-wash:  rgba(196, 162, 83, .12);

  --serif: 'Cormorant Garamond', 'Iowan Old Style', Palatino, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --shell: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --bay: clamp(3.75rem, 8vw, 7.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --swell: cubic-bezier(.65, .05, .36, 1);
}

/* Luxembourg — l'acier, la nuit, la verticale. */
[data-territory='luxembourg'] {
  --night:     #06131F;
  --night-2:   #0B2337;
  --deep:      #123655;
  --gold:      #B7994F;
  --gold-2:    #DAC287;
  --gold-ink:  #7A6229;
  --gold-wash: rgba(183, 153, 79, .12);
}

/* Nice — la baie, la lumière rasante, l'or solaire. */
[data-territory='nice'] {
  --night:     #052738;
  --night-2:   #0A4058;
  --deep:      #14648B;
  --gold:      #DDA53B;
  --gold-2:    #F2D392;
  --gold-ink:  #8F6417;
  --gold-wash: rgba(221, 165, 59, .13);
}

/* ── Base ─────────────────────────────────────────────────────────────────── */

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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  color: var(--night);
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.9rem); }
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.15rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 1.05vw, 1.85rem); }
h4 { font-size: 1.16rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--deep); text-decoration-color: color-mix(in srgb, var(--deep) 34%, transparent); text-underline-offset: .18em; }
a:hover { color: var(--gold-ink); }

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

::selection { background: var(--gold-2); color: var(--night); }

hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }

/* ── Structure ────────────────────────────────────────────────────────────── */

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}
.shell--tight { width: min(100% - (var(--gutter) * 2), 52rem); margin-inline: auto; }

.bay { padding-block: var(--bay); }
.bay--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.bay--ivory { background: var(--ivory-2); }
.bay--paper { background: var(--paper); }
.bay--night { background: var(--night); color: rgba(255, 255, 255, .82); }
.bay--night h2, .bay--night h3 { color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--night); color: #fff; padding: .85rem 1.4rem; font-size: .9rem;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ── Éléments de langage ──────────────────────────────────────────────────── */

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ''; width: 1.9rem; height: 1px; background: var(--gold); flex: none;
}
.bay--night .eyebrow, .hero .eyebrow { color: var(--gold-2); }

.lede {
  font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem);
  line-height: 1.66;
  color: var(--ink-2);
  max-width: 46ch;
}
.bay--night .lede, .hero .lede { color: rgba(255, 255, 255, .78); }

.prose { max-width: 64ch; }
.prose h3 { margin-top: 2.4rem; }
.prose h4 { margin-top: 1.9rem; }
.prose ul, .prose ol { padding-left: 1.15rem; margin: 0 0 1.3em; }
.prose li { margin-bottom: .48em; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  margin: 2rem 0; padding: .2rem 0 .2rem 1.6rem;
  border-left: 2px solid var(--gold);
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--night);
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--gold { height: 2px; width: 3.5rem; background: var(--gold); margin: 0 0 1.8rem; }

/* ── Boutons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.7rem;
  font-family: var(--sans); font-size: .88rem; font-weight: 600;
  letter-spacing: .055em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold); color: #14100A; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: #14100A; }

.btn--night { background: var(--night); color: #fff; border-color: var(--night); }
.btn--night:hover { background: var(--night-2); border-color: var(--night-2); color: #fff; }

.btn--ghost { background: transparent; color: var(--night); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-ink); }

.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn--light:hover { border-color: var(--gold-2); color: var(--gold-2); }

.btn--sm { padding: .62rem 1.1rem; font-size: .78rem; }

.btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .84rem; font-weight: 600; letter-spacing: .085em; text-transform: uppercase;
  color: var(--gold-ink); text-decoration: none;
}
.link-arrow::after { content: '→'; transition: transform .28s var(--ease); }
.link-arrow:hover::after { transform: translateX(.35rem); }

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

.masthead {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid var(--line-soft);
  transition: border-color .3s var(--ease);
}
.masthead::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: background-color .3s var(--ease), opacity .3s var(--ease);
}
.masthead--over { border-bottom-color: rgba(255, 255, 255, .14); }
.masthead--over::before { opacity: 0; }
.masthead--over .brand__name,
.masthead--over .nav a,
.masthead--over .switch__link { color: rgba(255, 255, 255, .9); }
.masthead--over .brand__line,
.masthead--over .switch { border-color: rgba(255, 255, 255, .26); }
.masthead--over .burger span { background: #fff; }
.masthead--pinned::before { opacity: 1; background: color-mix(in srgb, var(--ivory) 94%, transparent); }

.masthead__inner {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem);
  min-height: 5rem;
}

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none; }
.brand__mark { width: 2.6rem; height: 2.6rem; flex: none; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__name {
  font-family: var(--serif); font-size: 1.42rem; font-weight: 600;
  letter-spacing: .045em; color: var(--night); line-height: 1.05;
  text-transform: uppercase;
}
.brand__line {
  display: block; font-family: var(--sans); font-size: .585rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
  margin-top: .22rem;
}
.masthead--over .brand__line { color: rgba(255, 255, 255, .62); }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.75rem); list-style: none; margin: 0; padding: 0; }
.nav a {
  font-size: .845rem; font-weight: 500; letter-spacing: .045em;
  color: var(--ink-2); text-decoration: none; padding: .4rem 0;
  border-bottom: 1px solid transparent; transition: color .24s, border-color .24s;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current] { color: var(--gold-ink); border-bottom-color: var(--gold); }
.masthead--over .nav a:hover, .masthead--over .nav a[aria-current] { color: var(--gold-2); border-bottom-color: var(--gold-2); }

.masthead__end { display: flex; align-items: center; gap: .7rem; flex: none; }

/* Bascule de territoire : toujours visible, jamais bruyante. */
.switch {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.switch__link {
  font-size: .69rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  padding: .48rem .82rem; text-decoration: none; color: var(--ink-3);
  transition: background-color .26s var(--ease), color .26s var(--ease);
  white-space: nowrap;
}
.switch__link:hover { color: var(--gold-ink); }
.switch__link[aria-current] { background: var(--night); color: #fff; }
.masthead--over .switch__link[aria-current] { background: rgba(255, 255, 255, .16); color: #fff; }

.burger {
  display: none; width: 2.75rem; height: 2.75rem; padding: 0;
  background: none; border: 1px solid var(--line); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
}
.burger span { display: block; width: 1.1rem; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(.45rem) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-.45rem) rotate(-45deg); }

/* ── Le diptyque : cœur du concept ────────────────────────────────────────── */

.diptych {
  display: flex; min-height: min(88vh, 54rem);
  position: relative; isolation: isolate;
}
/* Le diptyque remonte sous l'en-tête transparent : les panneaux alignent leur
   contenu en bas, la superposition ne gêne donc pas sur grand écran. */
.diptych--under-header { margin-top: -5rem; }

.diptych__panel {
  /* isolation crée un contexte d'empilement sur le panneau lui-même : sans
     elle, la photo et le voile (z-index négatif) sont peints SOUS le dégradé
     de fond du panneau et restent invisibles. Ordre voulu, du bas vers le
     haut : dégradé de repli, photographie, voile teinté, texte. */
  position: relative; isolation: isolate; flex: 1 1 50%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 5vw, 5rem);
  text-decoration: none; overflow: hidden;
  transition: flex-grow .85s var(--swell);
}
.diptych__panel--lux  { background: linear-gradient(168deg, #06131F 0%, #0B2337 52%, #123655 100%); }
.diptych__panel--azur { background: linear-gradient(168deg, #052738 0%, #0A4058 46%, #14648B 100%); }

/* La photographie du territoire, sous le voile et sous le texte. */
.diptych__photo { position: absolute; inset: 0; z-index: -2; display: block; }
.diptych__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.2s var(--swell);
}
.diptych__panel--lux  .diptych__photo img { object-position: 46% 42%; }
.diptych__panel--azur .diptych__photo img { object-position: 38% 46%; }
/* Le cliché avance légèrement quand le panneau s'ouvre : la ville respire. */
.diptych__panel:hover .diptych__photo img,
.diptych__panel:focus-visible .diptych__photo img { transform: scale(1.055); }

/* Le voile fait trois choses : teinter la photo aux couleurs du territoire,
   garantir le contraste du texte posé dessus, et porter le motif — verticales
   d'acier au Luxembourg, lumière et arcs à Nice. */
.diptych__veil { position: absolute; inset: 0; z-index: -1; }
.diptych__panel--lux .diptych__veil {
  background-image:
    repeating-linear-gradient(90deg, rgba(218, 194, 135, .07) 0 1px, transparent 1px 38px),
    linear-gradient(to bottom, rgba(4, 13, 22, .80) 0%, rgba(4, 13, 22, .28) 14%, transparent 26%),
    linear-gradient(to top, rgba(5, 16, 27, .97) 10%, rgba(6, 19, 31, .84) 44%, rgba(7, 22, 36, .60) 100%),
    linear-gradient(0deg, rgba(11, 41, 68, .46), rgba(11, 41, 68, .46));
}
.diptych__panel--azur .diptych__veil {
  background-image:
    radial-gradient(88% 62% at 76% 8%, rgba(242, 211, 146, .26), transparent 64%),
    repeating-radial-gradient(circle at 76% 8%, transparent 0 62px, rgba(242, 211, 146, .07) 62px 63px),
    linear-gradient(to bottom, rgba(3, 24, 36, .80) 0%, rgba(3, 24, 36, .26) 14%, transparent 26%),
    linear-gradient(to top, rgba(4, 32, 47, .95) 10%, rgba(5, 39, 56, .72) 44%, rgba(6, 46, 66, .38) 100%),
    linear-gradient(0deg, rgba(9, 58, 86, .34), rgba(9, 58, 86, .34));
}

/* Crédit photographique, discret dans l'angle. */
.diptych__credit {
  position: absolute; right: .9rem; bottom: .7rem; z-index: 1;
  font-size: .62rem; letter-spacing: .09em; text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
}

.diptych__panel:hover  { flex-grow: 1.3; }
.diptych__panel:focus-visible { flex-grow: 1.3; outline-offset: -4px; }
.diptych:has(.diptych__panel:hover) .diptych__panel:not(:hover) { flex-grow: .8; }
.diptych:has(.diptych__panel:focus-visible) .diptych__panel:not(:focus-visible) { flex-grow: .8; }

.diptych__place {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 1.4rem + 4vw, 4.6rem);
  font-weight: 500; line-height: .98; letter-spacing: .006em;
  color: #fff; margin: 0 0 .45rem;
}
.diptych__region {
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-2); margin: 0 0 1.5rem;
}
.diptych__panel--lux  .diptych__region { color: #DAC287; }
.diptych__panel--azur .diptych__region { color: #F2D392; }

.diptych__lead { color: rgba(255, 255, 255, .8); max-width: 34ch; margin: 0 0 1.6rem; font-size: 1.02rem; }

.diptych__tags { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.diptych__tags li {
  font-size: .755rem; letter-spacing: .045em; color: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .24); padding: .3rem .72rem; border-radius: 999px;
}

.diptych__enter {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: #fff; padding-bottom: .5rem; border-bottom: 1px solid rgba(255, 255, 255, .34);
  align-self: flex-start; transition: gap .3s var(--ease), border-color .3s;
}
.diptych__panel:hover .diptych__enter { gap: 1.15rem; border-bottom-color: var(--gold-2); }

/* La couture centrale, avec le monogramme du cabinet : ce qui relie les deux. */
.diptych__seam {
  position: absolute; left: 50%; top: 0; bottom: 0; z-index: 3;
  width: 1px; background: rgba(255, 255, 255, .2);
  display: flex; align-items: center; justify-content: center;
  transform: translateX(-50%); pointer-events: none;
}
.diptych__seal {
  width: 5.5rem; height: 5.5rem; border-radius: 50%;
  background: var(--ivory); border: 1px solid rgba(196, 162, 83, .5);
  display: grid; place-items: center; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .3);
}
.diptych__seal svg { width: 2.8rem; height: 2.8rem; }

/* Le diptyque en pied de page : rappel discret sur les pages intérieures. */
.diptych--mini { min-height: 0; }
.diptych--mini .diptych__panel { padding: clamp(2rem, 4vw, 3.2rem); justify-content: flex-start; }
.diptych--mini .diptych__place { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.diptych--mini .diptych__seal { width: 4rem; height: 4rem; }
.diptych--mini .diptych__seal svg { width: 2rem; height: 2rem; }

/* ── Bandeau de tête des pages intérieures ────────────────────────────────── */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 58%, var(--deep) 100%);
  color: #fff;
  padding-block: clamp(4.5rem, 9vw, 8.5rem) clamp(3.5rem, 7vw, 6rem);
}
/* Photographie de bandeau, sous le voile. */
.hero__photo { position: absolute; inset: 0; z-index: -2; display: block; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
[data-territory='luxembourg'] .hero__photo img { object-position: 50% 40%; }
[data-territory='nice'] .hero__photo img { object-position: 50% 44%; }

.hero__veil { position: absolute; inset: 0; z-index: -1; }
/* Quand une photo est présente, le voile doit garantir le contraste du texte
   et de l'en-tête qui flotte au-dessus. */
.hero--photo .hero__veil {
  background-color: rgba(6, 20, 33, .74);
  background-image:
    linear-gradient(to bottom, rgba(4, 13, 22, .72) 0%, rgba(4, 13, 22, .18) 16%, transparent 30%),
    linear-gradient(100deg, rgba(5, 17, 28, .88) 0%, rgba(5, 17, 28, .46) 58%, rgba(5, 17, 28, .22) 100%);
}
[data-territory='nice'] .hero--photo .hero__veil {
  background-color: rgba(5, 34, 50, .70);
  background-image:
    linear-gradient(to bottom, rgba(3, 24, 36, .72) 0%, rgba(3, 24, 36, .18) 16%, transparent 30%),
    linear-gradient(100deg, rgba(4, 30, 45, .88) 0%, rgba(4, 30, 45, .44) 58%, rgba(6, 46, 66, .18) 100%);
}
[data-territory='luxembourg'] .hero__veil {
  background-image: repeating-linear-gradient(90deg, rgba(218, 194, 135, .075) 0 1px, transparent 1px 42px);
}
[data-territory='nice'] .hero__veil {
  background-image:
    radial-gradient(72% 58% at 82% -8%, rgba(242, 211, 146, .26), transparent 62%),
    repeating-radial-gradient(circle at 82% -8%, transparent 0 74px, rgba(242, 211, 146, .07) 74px 75px);
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.4rem; }
.hero__fact { border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 1rem; }
.hero__fact dt { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: .3rem; }
.hero__fact dd { margin: 0; font-size: .96rem; color: rgba(255, 255, 255, .88); }

.crumbs { font-size: .78rem; color: rgba(255, 255, 255, .6); margin-bottom: 1.6rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: '·'; margin-left: .5rem; color: rgba(255, 255, 255, .35); }
.crumbs a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: var(--gold-2); }

/* ── Grilles et cartes ────────────────────────────────────────────────────── */

.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 62rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); } }
@media (min-width: 62rem) { .split--even { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .split--aside { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line-soft);
  padding: clamp(1.5rem, 2.4vw, 2.1rem); height: 100%;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 1.4rem 2.6rem rgba(8, 25, 42, .09); border-color: var(--line); }
.card:hover::before { transform: scaleX(1); }
.card__title { font-size: 1.32rem; margin-bottom: .5rem; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card__kicker { font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .85rem; }
.card__text { color: var(--ink-2); font-size: .965rem; margin-bottom: 1.2rem; }
.card__foot { margin-top: auto; padding-top: .4rem; }
.card__icon { color: var(--gold); margin-bottom: 1.1rem; }
.card__icon svg { width: 1.85rem; height: 1.85rem; }

.card--flat { background: transparent; border-color: var(--line); }
.card--flat:hover { background: var(--paper); }

/* ── Chiffres et faits ────────────────────────────────────────────────────── */

.facts { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.fact__value { font-family: var(--serif); font-size: clamp(2.4rem, 1.8rem + 1.8vw, 3.4rem); line-height: 1; color: var(--gold); }
.fact__label { font-size: .875rem; color: var(--ink-2); margin-top: .55rem; }
.bay--night .fact__label { color: rgba(255, 255, 255, .68); }

/* ── Le pont : ce qui relie les deux territoires ──────────────────────────── */

.bridge { position: relative; overflow: hidden; }
.bridge__deck {
  display: grid; gap: 0; margin-top: 3rem;
  border: 1px solid var(--line); background: var(--paper);
}
@media (min-width: 54rem) { .bridge__deck { grid-template-columns: 1fr auto 1fr; } }
.bridge__side { padding: clamp(1.75rem, 3vw, 2.6rem); }
.bridge__side h3 { font-size: 1.5rem; }
.bridge__side--lux  { border-bottom: 1px solid var(--line); }
@media (min-width: 54rem) { .bridge__side--lux { border-bottom: 0; } }
.bridge__span {
  display: grid; place-items: center; padding: 1.2rem;
  background: var(--ivory-2); border-block: 1px solid var(--line);
}
@media (min-width: 54rem) { .bridge__span { border-block: 0; border-inline: 1px solid var(--line); } }
.bridge__span span {
  writing-mode: horizontal-tb;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink);
  text-align: center;
}
@media (min-width: 54rem) { .bridge__span span { writing-mode: vertical-rl; transform: rotate(180deg); } }
.bridge__list { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.bridge__list li { position: relative; padding-left: 1.35rem; margin-bottom: .55rem; font-size: .95rem; color: var(--ink-2); }
.bridge__list li::before { content: ''; position: absolute; left: 0; top: .68em; width: .5rem; height: 1px; background: var(--gold); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; gap: 1rem; justify-content: space-between;
  padding: 1.4rem 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.12rem, 1rem + .5vw, 1.4rem);
  color: var(--night); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; font-family: var(--sans); font-size: 1.4rem; font-weight: 300;
  color: var(--gold); line-height: 1; transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-ink); }
.faq__answer { padding: 0 0 1.5rem; color: var(--ink-2); max-width: 66ch; }

/* ── Actualités ───────────────────────────────────────────────────────────── */

.post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory-2); margin: -1px -1px 1.3rem; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .post__media img { transform: scale(1.045); }
.post__date { font-size: .78rem; color: var(--ink-3); letter-spacing: .04em; }

.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3.5rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 2.6rem; padding: .55rem .8rem; text-align: center;
  border: 1px solid var(--line); font-size: .875rem; text-decoration: none; color: var(--ink-2);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold-ink); }
.pagination [aria-current] { background: var(--night); color: #fff; border-color: var(--night); }

.article__cover { margin-bottom: 2.5rem; }
.article__cover img { width: 100%; }
.article__video { margin: 2.5rem 0; }
.article__video video { width: 100%; background: #000; }
.article__embed { position: relative; aspect-ratio: 16 / 9; }
.article__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article__link {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between;
  margin: 2.5rem 0; padding: 1.3rem 1.5rem; background: var(--gold-wash); border-left: 2px solid var(--gold);
}

/* ── Honoraires ───────────────────────────────────────────────────────────── */

.fee { display: flex; flex-direction: column; height: 100%; padding: clamp(1.6rem, 2.5vw, 2.2rem); border: 1px solid var(--line); background: var(--paper); }
.fee__amount { font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--night); margin: .9rem 0 .2rem; }
.fee__amount--quote { font-size: 1.5rem; color: var(--gold-ink); }
.fee__unit { font-size: .8rem; color: var(--ink-3); letter-spacing: .04em; }
.fee__body { margin-top: 1.1rem; color: var(--ink-2); font-size: .955rem; }

.aid { border: 1px solid var(--gold); background: var(--gold-wash); padding: clamp(1.75rem, 3vw, 2.75rem); }

/* ── Formulaires ──────────────────────────────────────────────────────────── */

.form { display: grid; gap: 1.3rem; }
.form__row { display: grid; gap: 1.3rem; }
@media (min-width: 40rem) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .45rem; }
.field > label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: .98rem;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 0;
  transition: border-color .24s, box-shadow .24s;
}
.field textarea { min-height: 9.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash);
}
.field--error input, .field--error textarea, .field--error select { border-color: #A3341F; }
.field__error { font-size: .82rem; color: #A3341F; }

.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); line-height: 1.6; }
.check input { width: 1.1rem; height: 1.1rem; margin-top: .28rem; flex: none; accent-color: var(--gold); }

/* Champ-piège : hors écran plutôt que display:none, que certains robots détectent. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 1.1rem 1.4rem; border-left: 2px solid var(--gold); background: var(--gold-wash); font-size: .95rem; margin-bottom: 2rem; }
.notice--ok { border-color: #2E6B4F; background: rgba(46, 107, 79, .09); }
.notice--error { border-color: #A3341F; background: rgba(163, 52, 31, .08); }

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

.slots { display: grid; gap: 1.6rem; }
.slotday { border: 1px solid var(--line); background: var(--paper); padding: 1.3rem 1.5rem; }
.slotday__label { font-family: var(--serif); font-size: 1.22rem; color: var(--night); margin-bottom: .9rem; text-transform: capitalize; }
.slotday__times { display: flex; flex-wrap: wrap; gap: .55rem; }

.slot input { position: absolute; opacity: 0; width: 0; height: 0; }
.slot label {
  display: inline-flex; flex-direction: column; align-items: center; gap: .12rem;
  padding: .6rem 1rem; border: 1px solid var(--line); cursor: pointer;
  font-size: .9rem; transition: all .24s var(--ease); line-height: 1.3;
}
.slot label small { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.slot label:hover { border-color: var(--gold); }
.slot input:checked + label { background: var(--night); color: #fff; border-color: var(--night); }
.slot input:checked + label small { color: var(--gold-2); }
.slot input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── Portrait de l'avocat ─────────────────────────────────────────────────── */

/* isolation : sans elle, le filet doré (::before en z-index négatif) est
   peint sous le fond de la section et reste invisible. */
.portrait { margin: 0; position: relative; isolation: isolate; max-width: 26rem; }
.portrait img { width: 100%; height: auto; display: block; }
.portrait::before {
  content: ''; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--gold); z-index: -1;
}
.portrait figcaption {
  display: flex; flex-direction: column; gap: .1rem;
  padding: .9rem 0 0; font-size: .95rem;
}
.portrait figcaption strong { font-family: var(--serif); font-size: 1.15rem; color: var(--night); font-weight: 600; }
.portrait figcaption span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }

/* ── Coordonnées ──────────────────────────────────────────────────────────── */

.office { border: 1px solid var(--line); background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem); height: 100%; }
.office__name { font-family: var(--serif); font-size: 1.65rem; color: var(--night); margin-bottom: .2rem; }
.office__region { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1.4rem; }
.office dl { display: grid; gap: .95rem; margin: 0; }
.office dt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .18rem; }
.office dd { margin: 0; font-size: .97rem; color: var(--ink); }
.office dd a { color: var(--night); text-decoration: none; border-bottom: 1px solid var(--gold); }
.office dd a:hover { color: var(--gold-ink); }
.office__hours { white-space: pre-line; color: var(--ink-2); font-size: .93rem; }

/* ── Pied de page ─────────────────────────────────────────────────────────── */

.foot { background: var(--night); color: rgba(255, 255, 255, .68); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; font-size: .93rem; }
.foot a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.foot a:hover { color: var(--gold-2); }
.foot h2, .foot h3 { color: #fff; }
.foot__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.foot__title { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.2rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot__brand .brand__name { color: #fff; }
.foot__brand .brand__line { color: rgba(255, 255, 255, .55); }
.foot__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, .13); font-size: .82rem; color: rgba(255, 255, 255, .5);
}
.foot__bottom ul { display: flex; flex-wrap: wrap; gap: 1.3rem; }

/* ── Actions permanentes : appeler, WhatsApp, rendez-vous ─────────────────── */

.dock { display: none; }

.wfloat {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 55;
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 .7rem 1.6rem rgba(0, 0, 0, .24);
  transition: transform .28s var(--ease);
}
.wfloat:hover { transform: scale(1.07); color: #fff; }
.wfloat svg { width: 1.7rem; height: 1.7rem; }

/* ── Utilitaires ──────────────────────────────────────────────────────────── */

.center { text-align: center; }
.center .lede, .center .rule--gold { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.stack > * + * { margin-top: 1.1rem; }
.mt-l { margin-top: clamp(2.5rem, 5vw, 4rem); }
.mb-l { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.section-head { max-width: 44rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* Apparition à la lecture. Conditionnée à html.js : sans JavaScript, tout le
   contenu reste pleinement visible — l'animation est un agrément, jamais une
   condition d'accès au contenu. */
html.js .reveal { opacity: 0; transform: translateY(1.4rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ── Adaptations ──────────────────────────────────────────────────────────── */

@media (max-width: 74.9375rem) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 5rem 0 0; background: var(--ivory);
    padding: 2rem var(--gutter) 8rem; overflow-y: auto;
    transform: translateX(-102%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s .4s;
    border-top: 1px solid var(--line); margin-left: 0;
  }
  .nav[data-open='true'] { visibility: visible; transition: transform .4s var(--ease); }
  .nav[data-open='true'] { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line-soft); }
  .nav a { display: block; padding: 1rem 0; font-size: 1.05rem; color: var(--ink); }
  .masthead--over .nav a { color: var(--ink); }
  /* En dessous de cette largeur le diptyque ne remonte plus sous l'en-tête :
     celui-ci se retrouve sur fond ivoire et doit reprendre son habillage
     opaque, sans quoi la marque en blanc devient illisible. */
  .masthead--over { border-bottom-color: var(--line); }
  .masthead--over::before { opacity: 1; }
  .masthead--over .brand__name { color: var(--night); }
  .masthead--over .brand__line { color: var(--gold-ink); }
  .masthead--over .burger span { background: var(--night); }
  .masthead--over .switch { border-color: var(--line); }
  .masthead--over .switch__link { color: var(--ink-2); }
  .masthead__end { margin-left: auto; }
}

@media (max-width: 47.9375rem) {
  .masthead .switch { display: none; }
  .masthead__end .btn { display: none; }
  /* La marque se compacte pour que l'en-tête tienne sur les petits écrans. */
  .masthead__inner { gap: .8rem; }
  .brand__mark { width: 2.1rem; height: 2.1rem; }
  .brand__name { font-size: 1.16rem; }
  .brand__line { font-size: .5rem; letter-spacing: .1em; }
  .diptych { flex-direction: column; min-height: 0; }
  /* Empilés, les panneaux ne peuvent plus passer sous l'en-tête : le premier
     texte viendrait chevaucher la marque. On annule la remontée et on rend au
     panneau la hauteur nécessaire à son contenu. */
  .diptych--under-header { margin-top: 0; }
  .diptych__panel { flex: 1 1 auto; min-height: 31rem; justify-content: flex-end; }
  .diptych__panel--lux { padding-top: 3.5rem; }
  .diptych__tags { gap: .4rem; margin-bottom: 1.5rem; }
  .diptych__tags li { font-size: .74rem; padding: .3rem .7rem; }
  .diptych__panel:hover, .diptych__panel:focus-visible { flex-grow: 1; }
  .diptych:has(.diptych__panel:hover) .diptych__panel:not(:hover) { flex-grow: 1; }
  .diptych__seam { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; transform: translateY(-50%); }

  /* Barre d'action permanente : appeler, WhatsApp, rendez-vous. */
  .dock {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 58;
    background: var(--night); border-top: 1px solid rgba(255, 255, 255, .12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .22rem;
    padding: .7rem .3rem; color: rgba(255, 255, 255, .88); text-decoration: none;
    font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  }
  .dock a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
  .dock a:hover, .dock a:active { color: var(--gold-2); }
  .dock svg { width: 1.25rem; height: 1.25rem; }
  .dock__cta { background: var(--gold); color: #14100A !important; }
  body { padding-bottom: 4.4rem; }
  .wfloat { display: none; }
  .foot { padding-bottom: 5.5rem; }
}

@media (max-width: 22.5rem) {
  .masthead__inner { gap: .5rem; }
  .brand__name { font-size: 1.02rem; }
  .brand__line { letter-spacing: .05em; }
}

@media (prefers-reduced-motion: reduce) {
  .diptych__photo img { transition: none; }
  .diptych__panel:hover .diptych__photo img,
  .diptych__panel:focus-visible .diptych__photo img { transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

@media print {
  .masthead, .dock, .wfloat, .foot, .diptych--mini, .btns { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { background: none !important; color: #000; padding-block: 0 1.5rem; }
  .hero h1, .hero .lede { color: #000; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}
