/* ==========================================================================
   Novalis — styles WordPress = prototype (site/styles.css) tel quel,
   avec les tokens du thème "studio" injectés ici au lieu de theme.jsx.
   ========================================================================== */

:root {
    --bg:          #E8EAEF;
    --bg-2:        #DCE0E8;
    --paper:       #FFFFFF;
    --ink:         #1A1A1A;
    --ink-soft:    #45474C;
    --ink-mute:    #84868E;
    --rule:        #BFC4D1;
    --rule-soft:   #D2D7E1;
    --accent:      #1C3969;
    --accent-2:    #1C3969;
    --portrait-a:  #1C3969;
    --portrait-b:  #8DA3C5;
    --card:        #FFFFFF;
    --display:     "Inter Tight", "Helvetica Neue", Arial, sans-serif;
    --sans:        "Inter Tight", "Helvetica Neue", Arial, sans-serif;
    --mono:        "JetBrains Mono", ui-monospace, monospace;
    --radius:      14px;
    /* Largeur unique de la « coque » (nav + page + footer) — évite les sauts de largeur d'une page à l'autre. */
    --shell-max-width: 1500px;
}

/* Empêche un contenu qui déborderait (image large, grille mal calée, etc.) d'introduire
   une scrollbar horizontale — la barre déplacerait le centrage de la coque et donnerait
   l'impression d'un saut de largeur entre les pages. */
html {
  /* Scrollbar verticale TOUJOURS présente : sans ça, les pages courtes (pas de
     scroll) sont ~15px plus larges que les pages longues (scroll), ce qui décale
     et redimensionne la coque blanche .page d'une page à l'autre.
     overflow-y:scroll force le rail en permanence (méthode la plus compatible) ;
     scrollbar-gutter:stable renforce le cas des navigateurs récents. */
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
/* overflow-x masqué sur body uniquement (pas sur html : laisser html gérer la
   scrollbar verticale sans interférence avec overflow-x). */
body { overflow-x: clip; }

/* Reset WP : tuer les puces sur les ul générés par wp_nav_menu dans header/footer */
.nav-links ul, .nav-menu, ul.nav-menu,
.footer-nav ul, .footer-col ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nav-links li, .nav-menu li, .footer-nav li, .footer-col li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   Prototype styles — copie exacte depuis site/styles.css
   ========================================================================== */

/* Novalis — Unified styles for both themes. Theme variables are injected on :root via theme.jsx */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv01";
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
em { font-style: italic; color: var(--accent); }

/* Density */
body[data-density="compact"]     { --pad-y: 64px;  --pad-x: 48px;  }
body[data-density="comfortable"] { --pad-y: 96px;  --pad-x: 72px;  }
body[data-density="spacious"]    { --pad-y: 128px; --pad-x: 96px;  }
body:not([data-density])         { --pad-y: 96px;  --pad-x: 72px;  }

/* Typography — editorial variant leans on serif; modernist leans on sans condensed */
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
body[data-theme="modernist"] .display { text-transform: uppercase; letter-spacing: 0; font-weight: 500; }

/* ————————————————————————————————— Nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 18px var(--pad-x);
  max-width: var(--shell-max-width);
  margin: 0 auto;
}.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand-mark { display: inline-flex; color: var(--accent); }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; }
body[data-theme="modernist"] .brand-name { text-transform: uppercase; letter-spacing: 0.02em; font-weight: 600; font-size: 18px; }
.brand-suffix { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 3px; }

.nav-links { display: flex; gap: 28px; justify-self: center; }
.nav-links a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); padding: 6px 0; position: relative; transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
/* Liseret fin navy, centré (24px) — hover + active */
.nav-links a:hover::after,
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -4px;
  transform: translateX(-50%);
  width: 24px; height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
  transition: width .2s ease;
}
.nav-links a:hover::after { width: 16px; opacity: 0.5; }
.nav-links a.active::after { width: 24px; opacity: 1; }

.nav-aside { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 2px; border: 1px solid var(--rule); border-radius: 999px; padding: 2px; }
.lang-switch button {
  background: transparent; border: 0; padding: 4px 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--ink-mute); border-radius: 999px; cursor: pointer; transition: all .15s;
}
.lang-switch button.active { background: var(--ink); color: var(--bg); }

.nav-burger { display: none; background: transparent; border: 0; flex-direction: column; gap: 4px; cursor: pointer; padding: 8px; }
.nav-burger span { width: 22px; height: 1px; background: var(--ink); display: block; }

/* ————————————————————————————————— Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: all .18s; white-space: nowrap;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-link { background: transparent; border: 0; color: var(--ink); padding: 8px 0; border-bottom: 1px solid var(--rule); border-radius: 0; }
.btn-link:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 28px; font-size: 12px; }

/* ————————————————————————————————— Layout helpers */
.page { max-width: var(--shell-max-width); margin: 0 auto; padding: 0 var(--pad-x) var(--pad-y); }
/* IMPORTANT — collision de classe : WordPress ajoute la classe `page` au <body>
   sur toutes les pages statiques (Contact, Cabinet, Équipe…), or notre conteneur
   principal est <main class="page">. Sans ce reset, la règle .page ci-dessus
   s'applique AUSSI au <body> → celui-ci est bridé à --shell-max-width, ce qui
   rétrécit et décale la coque blanche sur les pages statiques par rapport au
   blog (dont le <body> n'a pas la classe `page`). On annule sur le body. */
body.page { max-width: none; margin: 0; padding: 0; }
.section { padding-top: var(--pad-y); }
.section-head {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: end; gap: 32px;
  padding-bottom: 28px; margin-bottom: 40px; border-bottom: 1px solid var(--rule-soft);
}
.section-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); padding-bottom: 8px; }
.section-title { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 56px); line-height: 1.05; margin: 0; letter-spacing: -0.015em; }
body[data-theme="modernist"] .section-title { text-transform: uppercase; font-weight: 500; letter-spacing: 0; font-size: clamp(28px, 3.5vw, 48px); }
.section-lede { grid-column: 2; max-width: 680px; color: var(--ink-soft); font-size: 17px; line-height: 1.55; margin: 16px 0 0; }
.section-head-aside { justify-self: end; }

/* Hero */
.hero { padding-top: 64px; display: grid; grid-template-columns: 1fr; gap: 56px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(64px, 10vw, 168px);
  line-height: 0.96; letter-spacing: -0.025em;
  margin: 0; color: var(--ink);
  text-wrap: balance;
}
body[data-theme="modernist"] .hero-title { text-transform: uppercase; font-weight: 500; letter-spacing: -0.005em; font-size: clamp(56px, 8vw, 140px); }
.hero-meta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; padding-top: 24px; border-top: 1px solid var(--rule-soft); }
.hero-lede { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.5; color: var(--ink-soft); max-width: 640px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; justify-self: end; flex-wrap: wrap; }
.hero-figure { margin-top: 24px; }
.hero-figure-caption {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); padding-top: 10px;
}

/* ————————————————————————————————— Centered hero with marquee */
.hero-centered {
  display: block;
  padding: 56px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-centered-top {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  /* Pas de padding horizontal ici : .page en a déjà (évite le double-padding) */
  padding: 48px 0 40px;
  max-width: var(--shell-max-width); margin: 0 auto;
  gap: 24px;
}
.hero-centered-top .hero-eyebrow { justify-content: center; }
.hero-centered-title {
  font-size: clamp(36px, 6.8vw, 100px);
  line-height: 1; letter-spacing: -0.03em;
  white-space: nowrap;
  margin: 0;
}
.hero-centered-lede {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55; color: var(--ink-soft);
  max-width: 640px; margin: 8px 0 0; text-wrap: pretty;
}
.hero-centered-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-top: 16px;
}
.btn-pill { border-radius: 999px; padding: 14px 26px; }

/* Marquee strip */
.hero-marquee {
  position: relative;
  margin-top: 48px;
  padding: 32px 0 16px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.hero-marquee-track {
  display: flex; gap: 20px;
  width: max-content;
  animation: hero-marquee-scroll 60s linear infinite;
}
.hero-marquee:hover .hero-marquee-track { animation-play-state: paused; }

/* ── Carrousel équipe (rev. juin 2026) — autoplay + boucle infinie + flèches ── */
.hero-carousel { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 48px; }
.hero-carousel .hero-marquee { margin-top: 0; flex: 1 1 auto; min-width: 0; }
.hero-carousel .hero-marquee-track { animation: none; width: max-content; will-change: transform; }
.hero-carousel-arrow {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--rule-soft); background: var(--paper, #fff); color: var(--ink);
  cursor: pointer; display: grid; place-items: center; padding: 0;
  transition: background .2s, color .2s, border-color .2s, transform .1s; z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.hero-carousel-arrow:hover { background: var(--accent-2); color: #fff; border-color: var(--accent-2); }
.hero-carousel-arrow:active { transform: scale(.94); }
@keyframes hero-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hero-marquee-card {
  flex: 0 0 auto;
  width: clamp(180px, 14vw, 240px);
  color: inherit; text-decoration: none;
  display: flex; flex-direction: column; gap: 10px;
}
.hero-marquee-card .portrait { border-radius: 20px; }
.hero-marquee-caption {
  display: flex; flex-direction: column; gap: 2px;
  padding: 0 4px;
}
.hero-marquee-name {
  font-family: var(--display); font-size: 15px; letter-spacing: -0.005em; color: var(--ink);
}
body[data-theme="modernist"] .hero-marquee-name { text-transform: uppercase; font-weight: 500; font-size: 12px; }
.hero-marquee-role {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-marquee-fade { display: none; }

@media (max-width: 720px) {
  .hero-marquee-card { width: 160px; }
  .hero-centered-top { padding: 32px 20px 24px; }
}

/* ————————————————————————————————— Bento Marquee (2 rows opposed) */
.bento-marquee {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.bento-row { overflow: hidden; }
.bento-track {
  display: flex; gap: 16px;
  width: max-content;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--bento-speed, 55s);
}
.bento-track-left  { animation-name: bento-scroll-left; }
.bento-track-right { animation-name: bento-scroll-right; }
@keyframes bento-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes bento-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.bento-marquee:hover .bento-track { animation-play-state: paused; }

.bento-card {
  flex: 0 0 auto;
  width: var(--bc-w, 340px);
  height: clamp(200px, 22vw, 280px);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.bento-card-image .img-ph {
  width: 100%; height: 100%;
  border-radius: 24px;
  aspect-ratio: auto !important;
}
.bento-card.size-lg  { width: 480px; }
.bento-card.size-sm  { width: 260px; }
.bento-card.size-xl  { width: 560px; }

/* Statement card (dark editorial quote) */
.bento-card-statement {
  background: var(--ink);
  color: #fff;
}
.bento-statement-inner {
  height: 100%;
  padding: 28px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 16px;
}
.bento-statement-eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.52);
}
.bento-statement-text {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2; letter-spacing: -0.015em;
  color: #fff; text-wrap: pretty;
}
.bento-statement-text em { color: rgba(255,255,255,0.58); font-style: italic; }
.bento-statement-sub {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.48);
}

/* Meta card (light info card) */
.bento-card-meta {
  background: var(--card);
  border: 1px solid var(--rule-soft);
}
.bento-meta-inner {
  height: 100%;
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 10px; justify-content: center;
}
.bento-meta-eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.bento-meta-title {
  font-family: var(--display); font-size: clamp(22px, 2vw, 32px); line-height: 1.15;
  letter-spacing: -0.015em; color: var(--ink); text-wrap: balance;
}
.bento-meta-sub {
  color: var(--ink-soft); font-size: 14px; line-height: 1.45;
}

/* Studio theme — softer bento */
body[data-theme="studio"] .bento-card { border-radius: 22px; }
body[data-theme="studio"] .bento-card-image .img-ph { border-radius: 22px; }
body[data-theme="studio"] .bento-card-statement { background: var(--ink); color: #fff; }
body[data-theme="studio"] .bento-statement-text { font-weight: 300; font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.02em; }
body[data-theme="studio"] .bento-statement-text em { color: rgba(255,255,255,0.62); font-style: normal; }
body[data-theme="studio"] .bento-meta-title { font-weight: 400; }
body[data-theme="studio"] .bento-card-meta { background: #fff; border-color: var(--rule-soft); }
body[data-theme="studio"] .bento-meta-eyebrow { color: var(--accent); font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px; }
body[data-theme="studio"] .bento-statement-eyebrow,
body[data-theme="studio"] .bento-statement-sub { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px; }

@media (max-width: 720px) {
  .bento-card { width: 240px !important; height: 180px; border-radius: 18px; }
  .bento-card.size-lg, .bento-card.size-xl { width: 320px !important; }
  .bento-statement-text { font-size: 17px; }
  .bento-statement-inner, .bento-meta-inner { padding: 18px 20px; }
}

/* Page-level hero */
.page-hero { padding: 80px 0 48px; border-bottom: 1px solid var(--rule-soft); }
.page-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 24px; }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 7vw, 120px); line-height: 0.98; letter-spacing: -0.02em; margin: 0; max-width: 1200px; text-wrap: balance; }
body[data-theme="modernist"] .page-title { text-transform: uppercase; font-weight: 500; font-size: clamp(44px, 6vw, 104px); }
.page-lede { max-width: 720px; font-size: 18px; line-height: 1.55; color: var(--ink-soft); margin: 28px 0 0; text-wrap: pretty; }

/* Page hero with photo banner (News, Expertises, Team, Carrières) */
.page-hero.with-banner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 56px;
}
.page-hero.with-banner .page-title { font-size: clamp(38px, 4.6vw, 76px); }
.page-hero-text { min-width: 0; }
.page-hero-banner { width: 100%; min-width: 0; }
.page-hero-banner .img-ph { border-radius: var(--radius); }
.page-hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* News card with featured image */
.news-card.has-image { padding: 0; overflow: hidden; }
.news-card-image { margin: -1px -1px 0; }
.news-card-image .img-ph { border-radius: var(--radius) var(--radius) 0 0; }
.news-card-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.news-card:has(.news-card-image) { padding: 0; overflow: hidden; min-height: 0; }

/* Careers form additions */
.careers-form { display: flex; flex-direction: column; gap: 28px; max-width: 820px; }

.careers-apply-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: start;
}
.careers-form-card {
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: 40px 40px 44px;
  box-shadow: 0 1px 0 var(--rule-soft);
}
.careers-form-card .careers-form { max-width: none; }

.careers-aside {
  display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: 100px;
}
.careers-portrait { width: 100%; }
.careers-portrait .img-ph { border-radius: var(--radius); }
.careers-portrait img { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; }
.careers-form-wrap .careers-form { max-width: none; }
.careers-aside-note {
  padding: 20px 22px;
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  background: var(--card);
  display: flex; flex-direction: column; gap: 8px;
}
.careers-aside-eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
}
.careers-aside-note p {
  margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft);
}
.careers-quote {
  padding: 28px;
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.careers-quote-mark {
  font-family: var(--display); font-size: 64px; line-height: 0.5;
  color: var(--accent); margin-top: 10px;
}
body[data-theme="modernist"] .careers-quote-mark { font-weight: 500; }
.careers-quote-text {
  margin: 0;
  font-family: var(--display);
  font-size: 19px; line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
body[data-theme="modernist"] .careers-quote-text { font-family: var(--sans); font-weight: 400; font-size: 16px; }
.careers-quote-attr {
  display: flex; flex-direction: column; gap: 2px;
  padding-top: 8px; border-top: 1px solid var(--rule-soft);
}
.careers-quote-name { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.careers-quote-role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

.careers-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule-soft); border-radius: var(--radius);
  overflow: hidden;
}
.careers-fact { padding: 18px 12px; text-align: center; border-right: 1px solid var(--rule-soft); background: var(--bg); }
.careers-fact:last-child { border-right: 0; }
.careers-fact-num { font-family: var(--display); font-size: 24px; letter-spacing: -0.01em; color: var(--ink); }
body[data-theme="modernist"] .careers-fact-num { font-weight: 500; }
.careers-fact-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 6px; }

.selected-job-banner {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  padding: 18px 24px; margin-bottom: 28px;
  background: var(--card); border: 1px solid var(--accent); border-radius: var(--radius);
}
.selected-job-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.selected-job-role { font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
body[data-theme="modernist"] .selected-job-role { text-transform: uppercase; font-weight: 500; font-size: 14px; }
.selected-job-clear {
  background: transparent; border: 1px solid var(--rule); color: var(--ink-soft);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.selected-job-clear:hover { border-color: var(--accent); color: var(--accent); }

.job-row.is-selected { background: var(--card); padding-left: 16px; padding-right: 16px; border-radius: var(--radius); }
.job-row.is-selected .job-arrow .arrow { color: var(--accent); }

/* File upload */
.file-upload {
  display: flex; align-items: center; gap: 16px; padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.file-upload input[type="file"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.file-upload-btn {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-soft);
  cursor: pointer; transition: all .15s; flex-shrink: 0;
}
.file-upload:hover .file-upload-btn { border-color: var(--accent); color: var(--accent); }
.file-upload-name { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.08em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1200px) {
  .page-hero.with-banner { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-banner { max-width: 560px; }
  .careers-apply-grid { grid-template-columns: 1fr; gap: 32px; }
  .careers-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .careers-portrait { flex: 1 1 280px; max-width: 340px; }
  .careers-quote { flex: 2 1 340px; }
  .careers-facts { flex: 1 1 100%; }
}


.back-link { background: transparent; border: 0; color: var(--ink-soft); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; padding: 0; margin-bottom: 24px; }
.back-link:hover { color: var(--accent); }

/* ————————————————————————————————— Portrait placeholder */
.portrait {
  position: relative; overflow: hidden; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.portrait-initials {
  font-family: var(--display); font-size: clamp(48px, 6vw, 96px);
  color: rgba(255,255,255,0.22); letter-spacing: -0.02em;
  user-select: none;
}
body[data-theme="modernist"] .portrait-initials { text-transform: uppercase; font-weight: 600; }
.portrait-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,0.04) 18px 19px);
  pointer-events: none;
}
.portrait-label {
  position: absolute; bottom: 10px; left: 12px; right: 12px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
}
body[data-imagery="neutral"] .portrait { filter: grayscale(1) contrast(0.92); }
body[data-imagery="none"] .portrait { background: var(--bg-2); border: 1px solid var(--rule); }
body[data-imagery="none"] .portrait-initials { color: var(--ink-mute); }
body[data-imagery="none"] .portrait-stripes { display: none; }
body[data-imagery="none"] .portrait-label { color: var(--ink-mute); }

/* Image placeholder */
.img-ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
}
.img-ph-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,0.05) 20px 21px);
}
.img-ph-label {
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.72);
}
body[data-imagery="neutral"] .img-ph { filter: grayscale(1) contrast(0.92); }
body[data-imagery="none"] .img-ph { background: var(--bg-2) !important; border: 1px solid var(--rule); }
body[data-imagery="none"] .img-ph-stripes { display: none; }
body[data-imagery="none"] .img-ph-label { color: var(--ink-mute); }

/* Variante "photo libre de droits" — la balise nv_img_placeholder() reçoit
   un default_photo et rend <img> à la place du dégradé éditorial. */
.img-ph.img-ph--photo {
  background: var(--bg-2);
  width: 100%;
}
.img-ph.img-ph--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
body[data-imagery="none"] .img-ph.img-ph--photo img { display: none; }

/* ————————————————————————————————— Practice grid (home) */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-soft);
}
.practice-card {
  position: relative; padding: 32px 28px 28px;
  border-right: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 240px; transition: background .2s; color: inherit;
}
.practice-card:nth-child(3n) { border-right: 0; }
.practice-card:hover { background: var(--card); }
.practice-card:hover .practice-arrow { transform: translate(4px, -4px); color: var(--accent); }
.practice-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); }
.practice-name { font-family: var(--display); font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
body[data-theme="modernist"] .practice-name { text-transform: uppercase; font-weight: 500; font-size: clamp(18px, 1.5vw, 22px); }
.practice-short { color: var(--ink-soft); font-size: 14px; line-height: 1.5; max-width: 34ch; margin-top: 4px; }
.practice-arrow { position: absolute; top: 28px; right: 28px; font-size: 18px; color: var(--ink-mute); transition: all .2s; }

/* Practice table (expertise list) */
.practice-table { width: 100%; border-collapse: collapse; }
.practice-row {
  cursor: pointer; border-bottom: 1px solid var(--rule-soft); transition: background .15s;
}
.practice-row:hover { background: var(--card); }
.practice-row:hover .practice-row-arrow { color: var(--accent); transform: translateX(4px); }
.practice-row-num { width: 72px; padding: 24px 0; font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.14em; vertical-align: middle; }
.practice-row-name { padding: 24px 24px 24px 0; font-family: var(--display); font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -0.01em; vertical-align: middle; width: 40%; }
body[data-theme="modernist"] .practice-row-name { text-transform: uppercase; font-weight: 500; font-size: clamp(18px, 1.6vw, 24px); }
.practice-row-short { padding: 24px; color: var(--ink-soft); font-size: 15px; vertical-align: middle; }
.practice-row-arrow { padding: 24px 0; text-align: right; color: var(--ink-mute); width: 60px; transition: all .2s; }

/* Practice detail — editorial hero & body */
.practice-detail .practice-hero {
  border-bottom: 0;
  padding: 72px 0 56px;
  position: relative;
}
.practice-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}
.practice-hero-text { min-width: 0; }
.practice-hero-meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.practice-hero-meta .page-eyebrow { margin-bottom: 0; }
.practice-hero-rule {
  display: block; width: 32px; height: 1px;
  background: var(--rule);
}
.practice-hero .practice-detail-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); margin: 0;
}
.practice-detail .practice-hero .page-title {
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
body[data-theme="modernist"] .practice-detail .practice-hero .page-title {
  font-size: clamp(36px, 4.6vw, 72px);
}
.practice-detail .practice-hero .page-lede {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  margin-top: 28px;
  max-width: 28ch;
}
body[data-theme="modernist"] .practice-detail .practice-hero .page-lede {
  font-family: var(--sans);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
}

/* Decorative oversized numeral, hidden on small screens */
.practice-hero-mega {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(140px, 18vw, 260px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule);
  text-stroke: 1px var(--rule);
  user-select: none;
  pointer-events: none;
  align-self: end;
  margin-bottom: 0;
  white-space: nowrap;
}
body[data-theme="modernist"] .practice-hero-mega { font-weight: 500; }
body[data-theme="studio"] .practice-hero-mega { -webkit-text-stroke-color: color-mix(in oklch, var(--accent) 30%, transparent); text-stroke-color: color-mix(in oklch, var(--accent) 30%, transparent); }

/* Body section */
.practice-body-sec {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 64px;
  align-items: start;
  padding-top: 40px;
}
.practice-body-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 64ch;
  text-wrap: pretty;
}
.practice-body-text > p:first-of-type,
.practice-body-text > p.lede,
.practice-body-text > .rich-text-lede {
  font-family: var(--display);
  font-size: clamp(19px, 1.4vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 20px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
}
body[data-theme="modernist"] .practice-body-text > p:first-of-type {
  font-family: var(--sans);
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 400;
}
.practice-body-text h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.15; letter-spacing: -0.015em;
  margin: 32px 0 12px;
  color: var(--ink);
}
.practice-body-text h2:first-child { margin-top: 0; }
body[data-theme="modernist"] .practice-body-text h2 {
  text-transform: uppercase; font-weight: 500;
  font-size: clamp(20px, 1.6vw, 24px);
}
.practice-body-text h3 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.2; letter-spacing: -0.01em;
  margin: 24px 0 10px;
  color: var(--ink);
}
.practice-body-text p { margin: 0 0 14px; }
.practice-body-text ul,
.practice-body-text ol {
  margin: 8px 0 18px;
  padding-left: 0;
  list-style: none;
}
.practice-body-text ul li,
.practice-body-text ol li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
.practice-body-text ul li:last-child,
.practice-body-text ol li:last-child { border-bottom: 0; }
.practice-body-text ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 22px;
  width: 14px; height: 1px;
  background: var(--accent);
}
.practice-body-text ol { counter-reset: pli; }
.practice-body-text ol li::before {
  counter-increment: pli;
  content: counter(pli, decimal-leading-zero);
  position: absolute;
  left: 0; top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.practice-body-text a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklch, var(--accent) 40%, transparent);
  transition: border-color .15s;
}
.practice-body-text a:hover { border-bottom-color: var(--accent); }

/* Sidebar: lawyers + tags
   Sticky + inner-scroll seulement quand la sidebar est compacte (1 avocat max).
   Dès qu'il y a 2+ avocats, on retombe en flux normal pour éviter le double-scroll. */
.practice-body-side {
  position: sticky;
  top: 96px;
  display: flex; flex-direction: column; gap: 20px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 4px;
}
.practice-body-side::-webkit-scrollbar { width: 6px; }
.practice-body-side::-webkit-scrollbar-thumb { background: var(--rule-soft); border-radius: 3px; }
/* 2+ cartes d'avocats → la sidebar suit le flux de la page (pas de sticky, pas d'inner-scroll) */
.practice-body-side:has(.practice-team-card:nth-of-type(2)) {
  position: static;
  top: auto;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}
.practice-side-block {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
}
.practice-side-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-mute);
}
.practice-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 5px 10px; border: 1px solid var(--rule); border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
  background: var(--bg);
}

@media (max-width: 900px) {
  .practice-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .practice-hero-mega { display: none; }
  .practice-body-side { position: static; }
}

/* ==========================================================================
   Pagination (the_posts_pagination) — alignement uniforme entre la page
   courante (span.current) et les liens (a.page-numbers).
   Spécificité élevée pour neutraliser .nav-links a du header.
   ========================================================================== */
.pagination { margin: 56px 0 24px; }
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  /* annule l'alignement / justify-self du .nav-links global */
  justify-self: stretch;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  background: transparent;
  /* surcharge .nav-links a (mono/uppercase/12px) imposé par le header */
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--ink-soft);
  line-height: 1;
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.pagination a.page-numbers:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pagination .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--card);
  font-weight: 500;
}
.pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
}
.pagination .page-numbers.dots:hover {
  border-color: transparent;
  color: var(--ink-mute);
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  padding: 0 18px;
}
/* Annule toute pseudo-bordure héritée du nav header (.nav-links a.active::after) */
.pagination .page-numbers::after,
.pagination .page-numbers::before { content: none; }
/* Screen-reader title injecté par WP */
.pagination > h2 {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Practice page — team cards (vertical, multi-colonnes pour éviter le scroll) */
.practice-team-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 24px;
  align-items: start;
}
.practice-team-card {
  display: flex; flex-direction: column;
  gap: 14px;
  /* plus de border-bottom : chaque carte est autonome dans la grille */
}
.practice-team-portrait {
  display: block;
  width: 100%;
  /* la portrait remplit la largeur de la carte dans la grille */
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  transition: transform .2s;
  line-height: 0;
}
.practice-team-portrait:hover { transform: translateY(-2px); }
.practice-team-portrait .portrait,
.practice-team-portrait .portrait-photo {
  width: 100%; height: auto; display: block;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
}
.practice-team-portrait .portrait img { width: 100%; height: auto; display: block; }

.practice-team-body {
  display: flex; flex-direction: column; gap: 10px;
  min-width: 0;
}
.practice-team-head { display: flex; flex-direction: column; gap: 4px; }
.practice-team-role {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.practice-team-office { color: var(--ink-mute); }

/* Name uses the regular sans typography, not display */
.practice-team-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
body[data-theme="modernist"] .practice-team-name {
  text-transform: none; font-weight: 500; font-size: 17px;
}
.practice-team-name a { color: inherit; text-decoration: none; transition: color .15s; }
.practice-team-name a:hover { color: var(--accent); }

.practice-team-bio {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}

.practice-team-practices {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-soft);
}
.practice-team-practices-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Chip list: vertical stack of full-width rows in regular sans */
.practice-chip-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.practice-chip {
  display: flex; align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--bg);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
  line-height: 1.35;
}
.practice-chip::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rule);
  transition: background .15s;
}
.practice-chip:hover {
  border-color: color-mix(in oklch, var(--accent) 50%, var(--rule));
  color: var(--ink);
  background: var(--card);
}
.practice-chip:hover::before { background: var(--accent); }
.practice-chip.is-current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--card);
  font-weight: 500;
  cursor: default;
}
.practice-chip.is-current::before { background: var(--card); }
.practice-chip.is-current:hover { color: var(--card); background: var(--accent); }
.practice-chip.is-current:hover::before { background: var(--card); }

.practice-team-link {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s, gap .15s;
}
.practice-team-link:hover { color: var(--accent); gap: 10px; }
.practice-team-link .arrow { transition: transform .15s; }
.practice-team-link:hover .arrow { transform: translateX(2px); }

/* Responsive */
@media (max-width: 1200px) {
  .practice-body-side {
    position: static;
    max-height: none;
    overflow: visible;
  }
  /* When sidebar is full-width below body, give it a max-width so cards don't stretch */
  .practice-body-side { max-width: 720px; }
  .practice-side-block .practice-team-list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
}
@media (max-width: 640px) {
  .practice-side-block { padding: 20px; }
  .practice-team-list,
  .practice-side-block .practice-team-list { grid-template-columns: 1fr; gap: 28px; }
  .practice-team-portrait { max-width: 260px; }
}

/* Section split (home §02) */
.section-split { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; padding-top: var(--pad-y); border-top: 1px solid var(--rule-soft); }
.split-left .section-num { margin-bottom: 20px; }
.split-left .section-title { margin-bottom: 20px; }
.team-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }

/* ── Section équipe (associés) — empilée, 4 portraits sur une rangée pleine largeur ── */
.section-split--team { grid-template-columns: 1fr; gap: 44px; }
.section-split--team .split-left { max-width: 760px; }
.section-split--team .team-strip { grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
@media (max-width: 992px) { .section-split--team .team-strip { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; } }
@media (max-width: 480px) { .section-split--team .team-strip { grid-template-columns: 1fr; } }
.team-strip-card { color: inherit; }
.team-strip-card:hover .portrait { transform: translateY(-2px); }
.team-strip .portrait { transition: transform .2s; }
.team-strip-name { margin-top: 12px; font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; }
body[data-theme="modernist"] .team-strip-name { text-transform: uppercase; font-weight: 500; font-size: 14px; }
.team-strip-role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 4px; }

/* Team grid (team page) */
.filter-bar {
  display: flex; align-items: center; gap: 20px; margin-bottom: 32px;
  padding-bottom: 20px; border-bottom: 1px solid var(--rule-soft);
}
.filter-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.filter-count { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.tweaks-seg { display: flex; border: 1px solid var(--rule); border-radius: 999px; padding: 2px; }
.tweaks-seg button { background: transparent; border: 0; padding: 6px 14px; border-radius: 999px; cursor: pointer; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); transition: all .15s; }
.tweaks-seg button.active { background: var(--ink); color: var(--bg); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.team-grid.small { grid-template-columns: repeat(6, 1fr); gap: 32px 20px; }
.team-card { color: inherit; cursor: pointer; }
.team-card .portrait { transition: transform .25s; }
.team-card:hover .portrait { transform: translateY(-3px); }
.team-card-name { margin-top: 14px; font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; }
body[data-theme="modernist"] .team-card-name { text-transform: uppercase; font-weight: 500; font-size: 16px; }
.team-card-role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 4px; }
.team-card-practices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
/* Compat ancien chip */
.mini-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--rule-soft); padding: 3px 7px; border-radius: 999px; }

/* Tag éditorial : numéro mono + label sans, séparés par un divider — angle aigu (6px) */
.team-tag {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1;
  color: var(--ink);
  transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.team-tag-num {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: color-mix(in oklch, var(--accent) 6%, var(--bg-2));
  border-right: 1px solid var(--rule-soft);
  transition: background .15s, color .15s;
}
.team-tag-label {
  display: inline-flex; align-items: center;
  padding: 8px 12px;
  letter-spacing: -0.005em;
}
.team-tag:only-child .team-tag-label,
.team-tag:has(> .team-tag-num) .team-tag-label { padding-left: 10px; }

/* Hover : déclenché par la carte parent ou directement sur le tag */
.team-card:hover .team-tag,
.team-tag:hover {
  border-color: color-mix(in oklch, var(--accent) 35%, var(--rule));
}
.team-card:hover .team-tag-num,
.team-tag:hover .team-tag-num {
  background: var(--accent);
  color: var(--card);
}

/* Lawyer detail */
.lawyer-top { padding-top: 48px; }
.lawyer-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: end; padding-bottom: 48px; border-bottom: 1px solid var(--rule-soft); }
.lawyer-portrait { }

/* Lawyer portrait — same glass pill + blue scrim as team cards (studio theme) */
body[data-theme="studio"] .lawyer-portrait.team-card-overlay { display: block; gap: 0; }
body[data-theme="studio"] .lawyer-portrait.team-card-overlay .team-card-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
}
body[data-theme="studio"] .lawyer-portrait.team-card-overlay .portrait,
body[data-theme="studio"] .lawyer-portrait.team-card-overlay .portrait-photo {
  border-radius: 14px;
  overflow: hidden;
}
body[data-theme="studio"] .lawyer-portrait.team-card-overlay .team-card-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 26, 48, 0) 0%,
    rgba(15, 26, 48, 0) 38%,
    rgba(20, 42, 80, 0.5) 72%,
    rgba(20, 42, 80, 0.82) 100%
  );
  z-index: 1;
}
body[data-theme="studio"] .lawyer-portrait.team-card-overlay .team-card-identity {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 24px -8px rgba(0, 0, 0, 0.35);
  color: #fff;
}
body[data-theme="studio"] .lawyer-portrait.team-card-overlay .team-card-identity .team-card-name {
  font-family: var(--display, 'Archivo', sans-serif);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  color: #fff;
  margin: 0 0 3px;
  letter-spacing: -0.005em;
}
body[data-theme="studio"] .lawyer-portrait.team-card-overlay .team-card-identity .team-card-role {
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}
@media (prefers-reduced-transparency: reduce) {
  body[data-theme="studio"] .lawyer-portrait.team-card-overlay .team-card-identity {
    background: rgba(20, 42, 80, 0.85);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.lawyer-head { padding-bottom: 16px; }
.lawyer-role-top { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.lawyer-name { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 6.5vw, 112px); line-height: 0.95; letter-spacing: -0.02em; margin: 0 0 32px; }
body[data-theme="modernist"] .lawyer-name { text-transform: uppercase; font-weight: 500; font-size: clamp(48px, 5.5vw, 96px); }
.lawyer-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; margin: 0; }
.lawyer-meta div { display: flex; flex-direction: column; gap: 4px; }
.lawyer-meta dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin: 0; }
.lawyer-meta dd { margin: 0; font-size: 15px; color: var(--ink); }

.lawyer-practices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--rule-soft); }
.lawyer-practice-card {
  position: relative; padding: 28px; border-right: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft);
  display: flex; flex-direction: column; gap: 10px; transition: background .2s; color: inherit; cursor: pointer;
}
.lawyer-practice-card:nth-child(2n) { border-right: 0; }
.lawyer-practice-card:hover { background: var(--card); }

.bio-body { max-width: 70ch; font-size: 17px; line-height: 1.65; color: var(--ink); }
.bio-body p { margin: 0 0 16px; }

/* Bio en 2 colonnes : texte à gauche, portrait sticky à droite */
.lawyer-bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 64px;
  align-items: start;
}
.lawyer-bio-grid .bio-body { max-width: none; }
.lawyer-bio-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lawyer-bio-portrait {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.lawyer-bio-portrait .portrait,
.lawyer-bio-portrait .portrait img {
  display: block; width: 100%; height: auto;
}
.lawyer-bio-card {
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lawyer-bio-card-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
body[data-theme="modernist"] .lawyer-bio-card-name {
  text-transform: uppercase; font-weight: 500; font-size: 16px;
}
.lawyer-bio-card-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.lawyer-bio-card-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
}
.lawyer-bio-card-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
  text-decoration: none;
  transition: color .15s;
}
.lawyer-bio-card-link:hover { color: var(--accent); }
.lawyer-bio-card-link .arrow { transition: transform .15s; }
.lawyer-bio-card-link:hover .arrow { transform: translateX(3px); }

@media (max-width: 900px) {
  .lawyer-bio-grid { grid-template-columns: 1fr; gap: 32px; }
  .lawyer-bio-aside { position: static; }
  .lawyer-bio-portrait { max-width: 280px; }
}

/* Avocat·e — parcours détaillé (accordéon native <details>) */
.lawyer-sections-list { display: flex; flex-direction: column; gap: 12px; }
.lawyer-section {
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.lawyer-section[open] {
  border-color: color-mix(in oklch, var(--accent) 30%, var(--rule));
  box-shadow: 0 8px 24px -20px rgba(28,57,105,0.25);
}
.lawyer-section-summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .15s;
}
.lawyer-section-summary::-webkit-details-marker { display: none; }
.lawyer-section-summary:hover {
  background: color-mix(in oklch, var(--card) 88%, var(--accent) 4%);
}
.lawyer-section-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--accent);
}
.lawyer-section-icon svg { width: 20px; height: 20px; }
.lawyer-section[open] .lawyer-section-icon {
  background: var(--accent);
  color: var(--card);
}
.lawyer-section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
body[data-theme="modernist"] .lawyer-section-title {
  text-transform: uppercase; font-weight: 500;
  font-size: clamp(14px, 1.1vw, 16px);
}
.lawyer-section-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  padding: 4px 10px;
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  background: var(--bg);
}
.lawyer-section-chev {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 300;
  color: var(--ink-soft);
  transition: transform .25s ease;
  line-height: 1;
}
.lawyer-section[open] .lawyer-section-chev {
  transform: rotate(45deg);
  color: var(--accent);
}
.lawyer-section-items {
  list-style: none;
  margin: 0;
  padding: 4px 24px 22px 82px;
  display: flex; flex-direction: column; gap: 2px;
}
.lawyer-section-items li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
}
.lawyer-section-items li:last-child { border-bottom: 0; }
.lawyer-section-items li::before {
  content: "";
  position: absolute;
  left: 0; top: 21px;
  width: 10px; height: 1px;
  background: var(--accent);
}

@media (max-width: 600px) {
  .lawyer-section-summary { grid-template-columns: 36px minmax(0, 1fr) auto auto; gap: 12px; padding: 14px 16px; }
  .lawyer-section-icon { width: 36px; height: 36px; }
  .lawyer-section-items { padding: 4px 16px 18px 16px; }
}

/* Publications de l'avocat·e — liste en lignes */
.lawyer-publications-intro {
  max-width: 64ch;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}
.lawyer-publications-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-soft);
}
.lawyer-publication { border-bottom: 1px solid var(--rule-soft); }
.lawyer-publication-link {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px 12px;
  color: var(--ink);
  text-decoration: none;
  transition: background .15s, padding .15s;
}
.lawyer-publication-link:hover {
  background: var(--card);
  padding-left: 16px;
}
.lawyer-publication-link:hover .lawyer-publication-arrow {
  color: var(--accent);
  transform: translateX(4px);
}
.lawyer-publication-link:hover .lawyer-publication-title { color: var(--accent); }
.lawyer-publication-thumb {
  width: 88px; height: 64px;
  overflow: hidden; border-radius: 10px;
  background: var(--bg-2);
}
.lawyer-publication-thumb img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Quand pas d'image, la colonne disparaît visuellement */
.lawyer-publication-link:has(> .lawyer-publication-body:first-child) {
  grid-template-columns: minmax(0, 1fr) auto;
}
.lawyer-publication-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lawyer-publication-meta {
  display: flex; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.lawyer-publication-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  transition: color .15s;
}
body[data-theme="modernist"] .lawyer-publication-title {
  text-transform: uppercase; font-weight: 500;
  font-size: clamp(15px, 1.2vw, 18px);
}
.lawyer-publication-excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.lawyer-publication-arrow {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 16px;
  transition: transform .15s, color .15s;
}

@media (max-width: 600px) {
  .lawyer-publication-link { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; padding: 16px 8px; }
  .lawyer-publication-thumb { width: 64px; height: 48px; }
}

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.news-card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--rule-soft);
  background: var(--card); border-radius: var(--radius); color: inherit; transition: all .2s;
  min-height: 260px;
}
.news-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.news-card:hover .news-title { color: var(--accent); }
.news-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.news-kind { color: var(--accent); }
.news-title { font-family: var(--display); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -0.01em; margin-top: 4px; transition: color .15s; }
body[data-theme="modernist"] .news-title { text-transform: uppercase; font-weight: 500; font-size: clamp(16px, 1.3vw, 18px); }
.news-excerpt { color: var(--ink-soft); font-size: 14px; line-height: 1.5; flex: 1; }
.news-more { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-top: auto; }

.news-body { max-width: 72ch; font-size: 18px; line-height: 1.7; }
.news-body p { margin: 0 0 24px; }
.news-lede { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; color: var(--ink); margin-bottom: 32px !important; }
body[data-theme="modernist"] .news-lede { font-family: var(--sans); font-weight: 500; }
.news-detail-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin: 16px 0; }

/* Home CTA */
.section-cta { position: relative; overflow: hidden; margin-top: var(--pad-y); padding: 96px var(--pad-x); background: var(--ink); color: var(--bg); margin-left: calc(-1 * var(--pad-x)); margin-right: calc(-1 * var(--pad-x)); border-radius: var(--radius); }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg-img { border-radius: 0 !important; }
.cta-bg-label { position: absolute; left: 24px; bottom: 20px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: rgba(255,255,255,0.42); }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, color-mix(in oklch, var(--ink) 78%, transparent) 0%, color-mix(in oklch, var(--ink) 62%, transparent) 60%, color-mix(in oklch, var(--ink) 50%, transparent) 100%); }
.section-cta .cta-inner { position: relative; z-index: 1; }
body[data-theme="modernist"] .section-cta { background: var(--accent); color: #0E0F0D; }
.cta-inner { max-width: 1280px; margin: 0 auto; }
.cta-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; margin-bottom: 24px; }
.cta-title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 80px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 40px; }
body[data-theme="modernist"] .cta-title { text-transform: uppercase; font-weight: 500; }
.cta-title em { color: color-mix(in oklch, currentColor 60%, transparent); }
.section-cta .btn-primary { background: var(--bg); color: var(--ink); }
.section-cta .btn-primary:hover { background: var(--accent); color: var(--bg); }

/* Firm page */
/* Intro pleine largeur — le lede s'étale sur la mesure complète de la page,
   pas dans une colonne 7/12. Pas de max-width artificielle. */
.firm-intro { display: block; padding-top: 64px; }
.firm-intro-lede {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.firm-intro-lede p { margin: 0 0 0.7em; }
.firm-intro-lede p:last-child { margin-bottom: 0; }
.firm-intro-lede strong { color: var(--ink); font-weight: 500; }
body[data-theme="modernist"] .firm-intro-lede { font-family: var(--sans); font-weight: 400; text-transform: none; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: 0; }
.firm-intro-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; border-top: 1px solid var(--rule-soft); padding-top: 24px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; border-top: 1px solid var(--rule-soft); }
.stat:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.stat-num { font-family: var(--display); font-size: clamp(40px, 4vw, 64px); line-height: 1; color: var(--ink); }
body[data-theme="modernist"] .stat-num { font-weight: 500; }
.stat-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

.offices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.office-card { background: var(--card); border: 1px solid var(--rule-soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.office-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); }
.office-body { display: flex; flex-direction: column; gap: 8px; }
.office-city { font-family: var(--display); font-size: 40px; margin: 0; letter-spacing: -0.01em; }
body[data-theme="modernist"] .office-city { text-transform: uppercase; font-weight: 500; font-size: 28px; }
.office-addr { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.office-phone { color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 2px; align-self: flex-start; font-family: var(--mono); font-size: 13px; }
.office-phone:hover { border-color: var(--accent); color: var(--accent); }
.office-hours { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule-soft); }
.value-card { padding: 32px 28px 28px; border-right: 1px solid var(--rule-soft); display: flex; flex-direction: column; gap: 12px; }
.value-card:last-child { border-right: 0; }
.value-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }
.value-title { font-family: var(--display); font-size: 28px; letter-spacing: -0.01em; }
body[data-theme="modernist"] .value-title { text-transform: uppercase; font-weight: 500; font-size: 20px; }
.value-body { color: var(--ink-soft); font-size: 15px; line-height: 1.55; max-width: 38ch; }
.value-text { color: var(--ink-soft); font-size: 15px; line-height: 1.6; max-width: 38ch; margin: 0; text-wrap: pretty; }

/* Page bureau (Nivelles / Bruxelles) — équipe rattachée + coordonnées */
.office-body .rich-text {
  font-size: 17px; line-height: 1.65; color: var(--ink);
  /* pas de cap : le contenu suit la largeur du shell (cohérent avec /cabinet/) */
}
.office-body .rich-text p { margin: 0 0 16px; }
.office-body .rich-text ul { margin: 0 0 16px; padding-left: 0; list-style: none; }
.office-body .rich-text ul li {
  position: relative; padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--rule-soft);
  line-height: 1.55;
}
.office-body .rich-text ul li:last-child { border-bottom: 0; }
.office-body .rich-text ul li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 12px; height: 1px; background: var(--accent);
}
.office-body .rich-text h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(22px, 1.8vw, 28px);
  letter-spacing: -0.01em;
  margin: 32px 0 14px;
}
.office-body .rich-text h3 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(18px, 1.4vw, 22px);
  margin: 24px 0 10px;
}
.office-body .rich-text strong { color: var(--ink); font-weight: 500; }
.office-body .rich-text a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid color-mix(in oklch, var(--accent) 40%, transparent);
}
.office-body .rich-text a:hover { border-bottom-color: var(--accent); }

.office-team-intro {
  max-width: 64ch; margin: 0 0 32px;
  color: var(--ink-soft); font-size: 16px; line-height: 1.55;
}
.office-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px 24px;
}
.office-team-card {
  display: flex; flex-direction: column; gap: 14px;
  color: var(--ink); text-decoration: none;
  transition: transform .2s;
}
.office-team-card:hover { transform: translateY(-2px); }
.office-team-portrait {
  border-radius: var(--radius); overflow: hidden;
}
.office-team-portrait .portrait,
.office-team-portrait .portrait img { width: 100%; height: auto; display: block; }
.office-team-body { display: flex; flex-direction: column; gap: 6px; }
.office-team-role {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.office-team-name {
  font-family: var(--display); font-weight: 400;
  font-size: 20px; line-height: 1.15; letter-spacing: -0.01em;
  margin: 0; color: var(--ink);
  transition: color .15s;
}
body[data-theme="modernist"] .office-team-name {
  text-transform: uppercase; font-weight: 500; font-size: 16px;
}
.office-team-card:hover .office-team-name { color: var(--accent); }
.office-team-bio {
  margin: 4px 0 0;
  font-size: 14px; line-height: 1.55; color: var(--ink-soft);
  text-wrap: pretty;
}

/* Coordonnées du bureau */
.office-contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px 48px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
}
.office-contact-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.office-contact-card address {
  font-style: normal; font-size: 16px; line-height: 1.6;
  color: var(--ink);
}
.office-contact-value {
  font-family: var(--mono); font-size: 14px;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.office-contact-value:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 600px) {
  .office-team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .office-contact-card { padding: 22px; gap: 22px; }
}
@media (max-width: 400px) {
  .office-team-grid { grid-template-columns: 1fr; }
}

/* Firm hero — chiffres-clés sous le titre */
.firm-hero-stats {
  list-style: none;
  margin: 40px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.firm-hero-stat { display: flex; flex-direction: column; gap: 6px; }
.firm-hero-stat-num {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}
body[data-theme="modernist"] .firm-hero-stat-num { font-weight: 500; }
.firm-hero-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Firm team — aperçu équipe avec portrait + rôle + bio courte */
.firm-team .firm-team-intro {
  max-width: 64ch;
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
  text-wrap: pretty;
}
.firm-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px 24px;
}
.firm-team-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s;
}
.firm-team-card:hover { transform: translateY(-2px); }
.firm-team-portrait {
  border-radius: var(--radius);
  overflow: hidden;
}
.firm-team-portrait .portrait { width: 100%; height: auto; }
.firm-team-portrait .portrait img { display: block; width: 100%; height: auto; }
.firm-team-body { display: flex; flex-direction: column; gap: 6px; }
.firm-team-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.firm-team-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  transition: color .15s;
}
body[data-theme="modernist"] .firm-team-name {
  text-transform: uppercase; font-weight: 500; font-size: 16px;
}
.firm-team-card:hover .firm-team-name { color: var(--accent); }
.firm-team-bio {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Firm network — bandeau Eurojuris */
.firm-network {
  border-top: 1px solid var(--rule-soft);
  margin-top: 24px;
}
.firm-network-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 0 0;
  max-width: none;
}
.firm-network-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.firm-network-text {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.firm-network-text strong { color: var(--accent); font-weight: 400; }
body[data-theme="modernist"] .firm-network-text {
  font-family: var(--sans);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 400;
}

@media (max-width: 760px) {
  .firm-hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .firm-team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
}
@media (max-width: 480px) {
  .firm-team-grid { grid-template-columns: 1fr; }
}

/* Careers */
.jobs-list { border-top: 1px solid var(--rule-soft); }
.job-row {
  display: grid; grid-template-columns: 72px 2fr 1fr 1fr 40px;
  align-items: center; gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--rule-soft); color: inherit; transition: background .15s;
}
.job-row:hover { background: var(--card); padding-left: 16px; padding-right: 16px; border-radius: var(--radius); }
.job-row:hover .job-arrow .arrow { color: var(--accent); transform: translateX(4px); }
.job-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); }
.job-role { font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; }
body[data-theme="modernist"] .job-role { text-transform: uppercase; font-weight: 500; font-size: 16px; }
.job-tenure, .job-location { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.job-arrow .arrow { display: inline-block; transition: transform .2s; color: var(--ink-mute); }

/* Contact — page layout */
.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: start;
  padding-top: 64px;
}

/* Form : carte respirante avec sections, plutôt qu'une suite d'underlines */
.contact-form {
  display: flex; flex-direction: column;
  gap: 32px;
  padding: 36px 36px 32px;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
}
.contact-form .form-row { display: flex; flex-direction: column; gap: 10px; }
.contact-form .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form .form-row label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .15s;
}
.contact-form .form-row:focus-within > label { color: var(--accent); }

/* Inputs — underline éditorial mais avec un double-trait animé sur focus */
.contact-form .form-row input,
.contact-form .form-row textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: var(--display);
  font-size: 18px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, padding .2s;
  width: 100%;
}
body[data-theme="modernist"] .contact-form .form-row input,
body[data-theme="modernist"] .contact-form .form-row textarea { font-family: var(--sans); font-size: 16px; }
.contact-form .form-row input::placeholder,
.contact-form .form-row textarea::placeholder {
  color: var(--ink-mute);
  opacity: 0.7;
}
.contact-form .form-row input:focus,
.contact-form .form-row textarea:focus {
  border-bottom-color: var(--accent);
  border-bottom-width: 2px;
  padding-bottom: 9px; /* compense l'épaisseur 2px pour ne pas faire sauter le texte */
}
.contact-form .form-row textarea { resize: vertical; min-height: 120px; }

/* Topic chips — choix de la matière, sélection via :has(input:checked), sans JS */
.contact-form .topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.contact-form .topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  user-select: none;
}
.contact-form .topic-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rule);
  transition: background .15s, transform .15s;
}
.contact-form .topic-chip:hover {
  border-color: color-mix(in oklch, var(--accent) 40%, var(--rule));
  color: var(--ink);
}
.contact-form .topic-chip:hover::before { background: var(--accent); }
.contact-form .topic-chip:has(input:checked),
.contact-form .topic-chip.active {
  background: var(--accent);
  color: var(--card);
  border-color: var(--accent);
}
.contact-form .topic-chip:has(input:checked)::before,
.contact-form .topic-chip.active::before {
  background: var(--card);
  transform: scale(1.2);
}
body[data-theme="modernist"] .contact-form .topic-chip:has(input:checked) { color: #0E0F0D; }
body[data-theme="modernist"] .contact-form .topic-chip.active { color: #0E0F0D; }

/* Footer du formulaire : séparation visuelle, bouton aligné, note à droite */
.contact-form .form-submit {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
}
.contact-form .form-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}
.contact-form .btn-primary { flex-shrink: 0; }

/* Sous 720px, on retire le padding du form pour laisser respirer */
@media (max-width: 720px) {
  .contact-form { padding: 24px 20px 20px; gap: 24px; }
  .contact-form .form-row-2 { grid-template-columns: 1fr; gap: 18px; }
}

.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--card); border: 1px solid var(--rule-soft); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.contact-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.contact-addr { font-size: 15px; line-height: 1.5; }
.contact-phone, .contact-email { font-family: var(--mono); font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 2px; align-self: flex-start; }
.contact-phone:hover, .contact-email:hover { color: var(--accent); border-color: var(--accent); }
.contact-hours { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }

/* Contact — variante avec photo tall dans l'aside (remplace le with-banner hero) */
.contact-page .page-hero {
  padding-bottom: 0;
  border-bottom: 0;
  max-width: 700px;
}
.contact-grid--with-photo {
  padding-top: 40px;
}
.contact-aside--photo {
  position: sticky;
  top: 100px;
  align-self: start;
}
.contact-photo-tall {
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  margin-bottom: 4px;
}
.contact-photo-tall img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}
.contact-photo-tall--placeholder .img-ph {
  aspect-ratio: 3 / 4;
  width: 100%;
}

@media (max-width: 992px) {
  .contact-aside--photo { position: static; }
  .contact-photo-tall img { aspect-ratio: 16 / 9; max-height: 280px; }
}
@media (max-width: 768px) {
  .contact-photo-tall { display: none; }
  .contact-page .page-hero { max-width: none; }
}

/* Footer — carte blanche flottante + wordmark NOVALIS géant en arrière-plan */
.footer {
  position: relative;
  background: var(--bg);
  padding: 56px var(--pad-x) 0;
  margin-top: var(--pad-y);
  overflow: hidden;
  isolation: isolate;
}
.footer-card {
  position: relative;
  z-index: 2;
  max-width: var(--shell-max-width);
  margin: 0 auto;
  background: var(--paper, #fff);
  border: 1px solid var(--rule-soft);
  border-radius: 28px;
  padding: 56px clamp(32px, 4vw, 64px) 32px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 24px 60px -40px rgba(20,30,60,0.18);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 36ch; }
.footer-brand .footer-mark img { height: 44px; width: auto; display: block; }
.footer-tagline {
  font-family: var(--sans); font-size: 14px; line-height: 1.55;
  color: var(--ink-soft); margin: 0; letter-spacing: 0;
  max-width: none; font-weight: 400; text-transform: none;
}
.footer-network {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute); margin-top: 0;
}
.footer-socials { display: flex; gap: 14px; margin-top: 4px; }
.footer-socials a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); border-radius: 8px;
  transition: color .15s, background .15s;
}
.footer-socials a:hover { color: var(--accent); background: var(--bg-2); }

.footer-col { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.footer-col-offices { gap: 18px; }
.footer-eyebrow {
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 4px;
}
.footer-link {
  color: var(--ink-soft); font-size: 14px; font-family: var(--sans);
  transition: color .15s; display: inline-block; width: fit-content;
}
.footer-link:hover { color: var(--accent); }

.footer-office { display: flex; flex-direction: column; gap: 2px; }
.footer-office-city {
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink);
}
.footer-office-addr { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.footer-office-phone {
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
  margin-top: 2px; width: fit-content; transition: color .15s;
}
.footer-office-phone:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  align-items: center;
}
.footer-copy {
  font-family: var(--sans); font-size: 12px; color: var(--ink-mute);
  letter-spacing: 0; text-transform: none;
}
.footer-legal { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--sans); font-size: 12px; }
.footer-legal a {
  color: var(--ink-soft); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
  text-decoration-color: var(--rule);
  letter-spacing: 0; text-transform: none;
}
.footer-legal a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* Giant ghost wordmark behind the card.
   Le chevauchement avec la carte est exprimé en `em` (donc proportionnel à la
   taille de police elle-même), pas en % de la largeur : la portion visible de
   « NOVALIS » reste IDENTIQUE quelle que soit la taille de l'écran — fini les
   disparitions selon la fenêtre. */
.footer-bigmark {
  position: relative; z-index: 1;
  margin: -0.34em auto 0; max-width: var(--shell-max-width);
  padding: 0 32px 0.12em;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(80px, 16vw, 240px);
  line-height: 0.82; letter-spacing: -0.045em;
  white-space: nowrap;
  text-align: center; user-select: none; pointer-events: none;
  background: linear-gradient(180deg,
    color-mix(in oklch, var(--accent) 30%, transparent) 0%,
    color-mix(in oklch, var(--accent) 16%, transparent) 55%,
    color-mix(in oklch, var(--accent) 6%, transparent) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
body[data-theme="modernist"] .footer-bigmark {
  font-weight: 500; letter-spacing: 0;
  background: linear-gradient(180deg,
    color-mix(in oklch, var(--accent) 35%, transparent) 0%,
    color-mix(in oklch, var(--accent) 10%, transparent) 60%,
    transparent 100%);
  -webkit-background-clip: text; background-clip: text;
}
body[data-theme="modernist"] .footer-card { background: var(--bg-2); border-color: var(--rule); }
body[data-theme="studio"]    .footer { background: transparent; margin-top: 32px; padding: 48px var(--pad-x) 0; }
body[data-theme="studio"]    .footer-card { background: #fff; }

/* Tweaks panel */
.tweaks {
  position: fixed; bottom: 20px; right: 20px; z-index: 100;
  background: var(--card); border: 1px solid var(--rule);
  padding: 18px; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  width: 280px; display: flex; flex-direction: column; gap: 14px;
}
.tweaks-head { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); padding-bottom: 10px; border-bottom: 1px solid var(--rule-soft); }
.tweaks-row { display: flex; flex-direction: column; gap: 6px; }
.tweaks-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.tweaks-hint { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; color: var(--ink-mute); padding-top: 8px; border-top: 1px solid var(--rule-soft); }

/* Responsive */
@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-burger { display: flex; }
  .hide-md { display: none; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-card:nth-child(3n) { border-right: 1px solid var(--rule-soft); }
  .practice-card:nth-child(2n) { border-right: 0; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid.small { grid-template-columns: repeat(4, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid, .firm-intro, .lawyer-grid, .section-split, .practice-body-sec { grid-template-columns: 1fr; gap: 40px; }
  .offices-grid, .values-grid, .lawyer-practices { grid-template-columns: 1fr; }
  .value-card, .lawyer-practice-card { border-right: 0 !important; border-bottom: 1px solid var(--rule-soft); }
}
@media (max-width: 720px) {
  body { --pad-x: 24px; --pad-y: 56px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-actions { justify-self: start; }
  .practice-grid, .team-grid, .team-grid.small, .news-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .job-row { grid-template-columns: 40px 1fr 40px; }
  .job-tenure, .job-location { display: none; }
  .section-head { grid-template-columns: 60px 1fr; }
  .section-head-aside { grid-column: 1/-1; justify-self: start; }
}


/* ————————————————————————————————————————————————————————
   STUDIO theme — warm soft paper, rounded frames, thin sans display
   Inspired by residential/interior studio sites.
   ———————————————————————————————————————————————————————— */
body[data-theme="studio"] { font-family: var(--sans); }
body[data-theme="studio"] .display,
body[data-theme="studio"] .hero-title,
body[data-theme="studio"] .page-title,
body[data-theme="studio"] .section-title,
body[data-theme="studio"] .cta-title,
body[data-theme="studio"] .news-title,
body[data-theme="studio"] .team-card-name,
body[data-theme="studio"] .practice-name,
body[data-theme="studio"] .practice-row-name,
body[data-theme="studio"] .lawyer-name,
body[data-theme="studio"] .office-city,
body[data-theme="studio"] .footer-tagline,
body[data-theme="studio"] .firm-intro-lede,
body[data-theme="studio"] .news-lede,
body[data-theme="studio"] .stat-num,
body[data-theme="studio"] .value-title,
body[data-theme="studio"] .job-role,
body[data-theme="studio"] .brand-name,
body[data-theme="studio"] .team-strip-name {
  font-family: var(--sans);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
}
body[data-theme="studio"] em { color: var(--ink); font-style: normal; opacity: 0.55; }

/* Hero — overlay-image style like the interior studio site */
body[data-theme="studio"] .hero { gap: 40px; padding-top: 32px; }
body[data-theme="studio"] .hero-eyebrow { color: var(--ink-soft); }
body[data-theme="studio"] .hero-title {
  position: absolute; z-index: 3;
  top: 48px; left: 40px; right: 40px;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.1; letter-spacing: -0.02em;
  color: #fff; font-weight: 400;
  max-width: 780px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.18);
}
body[data-theme="studio"] .hero-title em { color: rgba(255,255,255,0.78); }
body[data-theme="studio"] .hero-figure {
  position: relative; margin-top: 0; border-radius: 28px; overflow: hidden; order: -1;
  box-shadow: 0 2px 0 rgba(0,0,0,0.03);
}
body[data-theme="studio"] .hero-figure .img-ph { border-radius: 0; aspect-ratio: 16/9; }
body[data-theme="studio"] .hero-figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}
body[data-theme="studio"] .hero-figure-caption {
  position: absolute; bottom: 20px; left: 24px; right: 24px;
  color: rgba(255,255,255,0.9); font-family: var(--mono);
  font-size: 10px; padding-top: 0;
  z-index: 2;
}
body[data-theme="studio"] .hero-meta {
  border-top: 0; padding-top: 0;
  grid-template-columns: 1.3fr 1fr;
}

/* Surrounding frames — every major section gets whitespace margins */
body[data-theme="studio"] {
  background: #D9DCE4;
}
body[data-theme="studio"] .page {
  background: var(--paper);
  border-radius: 28px;
  margin: 20px auto;
  padding: 48px 48px 80px;
  max-width: var(--shell-max-width);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
body[data-theme="studio"] .nav {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}
body[data-theme="studio"] .nav-inner { padding: 20px 40px; max-width: var(--shell-max-width); }
body[data-theme="studio"] .nav-links a { color: var(--ink-soft); font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; }
body[data-theme="studio"] .nav-links a:hover,
body[data-theme="studio"] .nav-links a.active { color: var(--ink); }
body[data-theme="studio"] .nav-links a.active::after { display: none; }
body[data-theme="studio"] .brand-suffix { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 11px; }
body[data-theme="studio"] .brand-name { font-weight: 500; }

/* Section head — label left, heading right */
body[data-theme="studio"] .section { padding-top: 80px; }
body[data-theme="studio"] .section-head {
  grid-template-columns: 180px 1fr auto;
  border-bottom: 0; padding-bottom: 0; margin-bottom: 32px;
  align-items: start;
}
body[data-theme="studio"] .section-num {
  font-family: var(--sans); text-transform: none; letter-spacing: 0;
  font-size: 14px; color: var(--ink-soft); padding-bottom: 0;
}
body[data-theme="studio"] .section-num::before { content: ''; }
body[data-theme="studio"] .section-title { font-size: clamp(28px, 2.8vw, 40px); font-weight: 400; line-height: 1.15; max-width: 20ch; }
body[data-theme="studio"] .section-lede { color: var(--ink-soft); font-size: 16px; max-width: 48ch; }

body[data-theme="studio"] .page-hero { border-bottom: 0; padding: 48px 0 24px; }
body[data-theme="studio"] .page-eyebrow { color: var(--ink-soft); font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 14px; }
body[data-theme="studio"] .page-title { font-size: clamp(34px, 4.2vw, 66px); font-weight: 400; }

/* Buttons */
body[data-theme="studio"] .btn {
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 14px;
  padding: 14px 22px; border-radius: 999px;
}
body[data-theme="studio"] .btn .arrow { font-size: 13px; }
body[data-theme="studio"] .btn-primary { background: var(--ink); color: #fff; }
body[data-theme="studio"] .btn-ghost { background: #fff; border-color: var(--rule-soft); color: var(--ink); }
body[data-theme="studio"] .btn-ghost:hover { border-color: var(--ink); }
body[data-theme="studio"] .btn-link { border-radius: 0; }

/* Practice grid — thinner cards, soft borders */
body[data-theme="studio"] .practice-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--rule-soft); border: 0;
  border-radius: 20px; overflow: hidden;
}
body[data-theme="studio"] .practice-card {
  border: 0; background: var(--paper); padding: 28px;
}
body[data-theme="studio"] .practice-card:hover { background: var(--bg-2); }
body[data-theme="studio"] .practice-num { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px; }
body[data-theme="studio"] .practice-name { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
body[data-theme="studio"] .practice-short { font-size: 14px; }

body[data-theme="studio"] .practice-row-num { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px; }
body[data-theme="studio"] .practice-row-name { font-size: clamp(20px, 2vw, 28px); font-weight: 400; }

/* Team */
body[data-theme="studio"] .team-strip-role,
body[data-theme="studio"] .team-card-role,
body[data-theme="studio"] .mini-tag {
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px;
}
body[data-theme="studio"] .team-card-name { font-size: 20px; font-weight: 400; }
body[data-theme="studio"] .mini-tag { border-radius: 999px; padding: 4px 10px; background: var(--bg-2); border-color: transparent; }
body[data-theme="studio"] .portrait { border-radius: 20px; }

/* News cards — soft white on paper grey */
body[data-theme="studio"] .news-card {
  background: #fff; border: 1px solid var(--rule-soft);
  border-radius: 20px; padding: 28px;
}
body[data-theme="studio"] .news-card:hover { border-color: var(--ink-mute); transform: translateY(-2px); }
body[data-theme="studio"] .news-meta,
body[data-theme="studio"] .news-more,
body[data-theme="studio"] .news-kind {
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px;
}
body[data-theme="studio"] .news-kind { color: var(--accent-2); }
body[data-theme="studio"] .news-title { font-size: 20px; font-weight: 400; }
body[data-theme="studio"] .news-lede { font-weight: 400; }

/* CTA */
body[data-theme="studio"] .section-cta {
  background: var(--ink); color: #fff; border-radius: 24px;
  margin-left: 0; margin-right: 0; padding: 80px 64px;
  position: relative; overflow: hidden;
}
body[data-theme="studio"] .cta-overlay {
  background: linear-gradient(120deg, color-mix(in oklch, var(--ink) 72%, transparent) 0%, color-mix(in oklch, var(--ink) 55%, transparent) 100%);
}
body[data-theme="studio"] .cta-title { font-weight: 400; }
body[data-theme="studio"] .section-cta .btn-primary { background: #fff; color: var(--ink); }

/* Firm stats */
body[data-theme="studio"] .stat-num { font-weight: 300; }
body[data-theme="studio"] .stat-label { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px; }
body[data-theme="studio"] .firm-intro-lede { font-weight: 400; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.015em; }

/* Offices */
body[data-theme="studio"] .office-card { background: var(--paper); border: 1px solid var(--rule-soft); border-radius: 20px; }
body[data-theme="studio"] .office-num,
body[data-theme="studio"] .office-hours,
body[data-theme="studio"] .office-phone {
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px;
}
body[data-theme="studio"] .office-city { font-weight: 400; }
body[data-theme="studio"] .img-ph { border-radius: 16px; }

/* Values */
body[data-theme="studio"] .values-grid { gap: 2px; background: var(--rule-soft); border-radius: 20px; overflow: hidden; border: 0; }
body[data-theme="studio"] .value-card { background: var(--paper); border: 0; }
body[data-theme="studio"] .value-num { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--accent-2); }
body[data-theme="studio"] .value-title { font-weight: 400; font-size: 22px; }

/* Filter / tags */
body[data-theme="studio"] .tweaks-seg {
  background: var(--paper); border: 1px solid var(--rule-soft); border-radius: 999px;
}
body[data-theme="studio"] .tweaks-seg button {
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px;
}
body[data-theme="studio"] .filter-label,
body[data-theme="studio"] .filter-count {
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px;
}
body[data-theme="studio"] .tag {
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px;
  background: var(--bg-2); border-color: transparent;
}

/* Lawyer detail */
body[data-theme="studio"] .lawyer-name { font-weight: 300; }
body[data-theme="studio"] .lawyer-role-top { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 14px; }
body[data-theme="studio"] .lawyer-meta dt { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px; }

/* Careers */
body[data-theme="studio"] .jobs-list { border-top: 1px solid var(--rule-soft); }
body[data-theme="studio"] .job-row { border-bottom-color: var(--rule-soft); }
body[data-theme="studio"] .job-row:hover { background: var(--bg-2); }
body[data-theme="studio"] .job-num,
body[data-theme="studio"] .job-tenure,
body[data-theme="studio"] .job-location {
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px;
}
body[data-theme="studio"] .job-role { font-weight: 400; font-size: 20px; }

/* Contact */
body[data-theme="studio"] .contact-card { background: var(--paper); border-radius: 20px; }
body[data-theme="studio"] .contact-eyebrow,
body[data-theme="studio"] .contact-hours,
body[data-theme="studio"] .contact-phone,
body[data-theme="studio"] .contact-email,
body[data-theme="studio"] .form-row label,
body[data-theme="studio"] .form-note,
body[data-theme="studio"] .topic-chip {
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px;
}
body[data-theme="studio"] .topic-chip { background: #fff; border-radius: 999px; }
body[data-theme="studio"] .topic-chip.active { color: #fff; background: var(--ink); border-color: var(--ink); }
body[data-theme="studio"] .form-row input,
body[data-theme="studio"] .form-row textarea { font-family: var(--sans); font-size: 16px; }

/* Back link */
body[data-theme="studio"] .back-link { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 14px; }

/* Footer */
body[data-theme="studio"] .footer { background: transparent; margin-top: 32px; padding: 48px; }
body[data-theme="studio"] .footer-inner { }
body[data-theme="studio"] .footer-eyebrow,
body[data-theme="studio"] .footer-hours,
body[data-theme="studio"] .footer-network,
body[data-theme="studio"] .footer-bottom { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px; }
body[data-theme="studio"] .footer-tagline { font-weight: 400; font-size: 26px; }

/* Lang switch */
body[data-theme="studio"] .lang-switch { background: var(--paper); border-color: var(--rule-soft); }
body[data-theme="studio"] .lang-switch button { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px; }

/* Tweaks label style */
body[data-theme="studio"] .tweaks-head,
body[data-theme="studio"] .tweaks-label,
body[data-theme="studio"] .tweaks-hint {
  font-family: var(--sans); text-transform: none; letter-spacing: 0;
}


/* Studio fixes v4 */
body[data-theme="studio"] .hero { position: relative; }
body[data-theme="studio"] .nav-links a { white-space: nowrap; }
body[data-theme="studio"] .nav-links { gap: 22px; }
body[data-theme="studio"] .hero-title { top: 64px; left: 64px; right: 64px; }

/* Studio theme: centered hero overrides (no absolute title, no hero-figure) */
body[data-theme="studio"] .hero-centered { padding: 32px 0 0; }
body[data-theme="studio"] .hero-centered-title {
  position: static;
  color: var(--ink);
  text-shadow: none;
  font-weight: 300;
  font-size: clamp(48px, 6.5vw, 104px);
  letter-spacing: -0.03em;
}
body[data-theme="studio"] .hero-centered-title em { color: var(--ink); opacity: 0.55; font-style: normal; }
body[data-theme="studio"] .hero-centered-lede { color: var(--ink-soft); font-size: 17px; }
body[data-theme="studio"] .hero-marquee-card .portrait { border-radius: 22px; }
body[data-theme="studio"] .hero-marquee-name { font-weight: 400; font-size: 14px; }
body[data-theme="studio"] .hero-marquee-role { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px; }
body[data-theme="studio"] .btn-pill { border-radius: 999px; }

/* ————————————————————————————————————————————————————————
   Nav capsule (studio theme v5) — wraps logo + links in a
   rounded white pill, same visual language as the CTA button.
   ———————————————————————————————————————————————————————— */
.nav-capsule { display: flex; align-items: center; gap: 28px; }
.brand-logo { height: 32px; width: auto; display: block; }

/* Studio: pill-shaped, solid white, sits on the beige page backdrop. */
body[data-theme="studio"] .nav { position: sticky; top: 0; z-index: 30; }
body[data-theme="studio"] .nav-inner {
  padding: 16px 40px;
  max-width: var(--shell-max-width);
  gap: 20px;
  grid-template-columns: auto auto;
  justify-content: space-between;
}
body[data-theme="studio"] .nav-capsule {
  background: #fff;
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  padding: 10px 28px 10px 22px;
  gap: 32px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
body[data-theme="studio"] .nav-capsule .brand-logo { height: 34px; }
body[data-theme="studio"] .nav-capsule .nav-links { gap: 26px; }
body[data-theme="studio"] .nav-capsule .nav-links a:not(.nav-dropdown-link) {
  font-family: var(--sans); font-size: 14px; letter-spacing: 0;
  text-transform: none; color: var(--ink-soft); padding: 4px 0;
}
body[data-theme="studio"] .nav-capsule .nav-links a:hover,
body[data-theme="studio"] .nav-capsule .nav-links a.active { color: var(--accent); }
body[data-theme="studio"] .nav-capsule .nav-links a.active::after { display: none; }

/* Aside: lang switch + CTA — pill-consistent */
body[data-theme="studio"] .nav-aside .lang-switch {
  background: #fff; border: 1px solid var(--rule-soft); padding: 4px; border-radius: 999px;
}
body[data-theme="studio"] .nav-aside .lang-switch button {
  padding: 6px 12px; font-size: 12px;
}
body[data-theme="studio"] .nav-aside .lang-switch button.active {
  background: var(--accent); color: #fff;
}
body[data-theme="studio"] .nav-aside .btn-ghost {
  background: #fff; border-color: var(--rule-soft);
  border-radius: 999px; padding: 12px 22px;
}
body[data-theme="studio"] .nav-aside .btn-ghost:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

/* Accent blue links/hover across studio */
body[data-theme="studio"] .practice-card:hover .practice-arrow { color: var(--accent); }
body[data-theme="studio"] .news-card:hover { border-color: var(--accent); }
body[data-theme="studio"] .news-card:hover .news-title { color: var(--accent); }
body[data-theme="studio"] .btn-link:hover { color: var(--accent); border-color: var(--accent); }
body[data-theme="studio"] .btn-primary { background: var(--accent); }
body[data-theme="studio"] .btn-primary:hover { background: #142a50; }
body[data-theme="studio"] .section-cta { background: var(--accent); }
body[data-theme="studio"] .section-cta .btn-primary { background: #fff; color: var(--accent); }
body[data-theme="studio"] .section-cta .btn-primary:hover { background: var(--ink); color: #fff; }
body[data-theme="studio"] .hero-eyebrow .dot { background: var(--accent); }
body[data-theme="studio"] .page-hero { border-bottom: 0; }
body[data-theme="studio"] .back-link:hover { color: var(--accent); }
body[data-theme="studio"] .lawyer-role-top { color: var(--accent); }
body[data-theme="studio"] .practice-hero .practice-detail-num { color: var(--accent); }
body[data-theme="studio"] .value-num { color: var(--accent); }
body[data-theme="studio"] .footer-link:hover { color: var(--accent); }
body[data-theme="studio"] .footer-legal a:hover { color: var(--accent); }
body[data-theme="studio"] .office-phone:hover,
body[data-theme="studio"] .contact-phone:hover,
body[data-theme="studio"] .contact-email:hover { color: var(--accent); border-color: var(--accent); }
body[data-theme="studio"] .topic-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Mobile: capsule contents reflow */
@media (max-width: 1200px) {
  body[data-theme="studio"] .nav-capsule { padding: 8px 16px; gap: 0; }
  body[data-theme="studio"] .nav-capsule .nav-links { display: none; }
}


/* ————————————————————————————————————————————————————————————————
   Reviews Wall — 3 vertical columns, opposite scroll, breathing drift.
   All copy is ACF-editable (reviews repeater).
   ———————————————————————————————————————————————————————————————— */

.reviews-wall-section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}

.rw-header {
  display: block;
  max-width: 720px;
  margin-bottom: 44px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule-soft);
}
.rw-header-left { max-width: 640px; }
.rw-header-right { flex-shrink: 0; }

.rw-score {
  text-align: right;
  padding: 18px 22px;
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  background: #fff;
  min-width: 200px;
}
body[data-theme="studio"] .rw-score { background: #fff; }
.rw-score-top { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.rw-score-num {
  font-family: 'Instrument Serif', serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.rw-score-sub {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft, #555);
}

.rw-stars {
  display: inline-flex;
  gap: 2px;
  line-height: 1;
}
.rw-star {
  color: #d6d6d6;
  font-size: 15px;
}
.rw-star.on {
  color: #f5a623;
}

/* The wall */
.rw-wall {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  height: 680px;
  overflow: hidden;
  border-radius: 20px;
  isolation: isolate;
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.rw-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
}
.rw-col-up   { animation: rw-scroll-up   linear infinite; }
.rw-col-down { animation: rw-scroll-down linear infinite; }

@keyframes rw-scroll-up {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes rw-scroll-down {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.rw-wall:hover .rw-col-up,
.rw-wall:hover .rw-col-down {
  animation-play-state: paused;
}

/* Card */
.rw-card {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--rule-soft, #e8e5e0);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 1px 2px rgba(20, 25, 40, 0.03), 0 8px 24px -18px rgba(20, 25, 40, 0.1);
  transform-origin: center;
  animation: rw-drift 11s ease-in-out infinite;
  animation-delay: var(--rw-drift-delay, 0s);
  transition: transform .4s ease, box-shadow .4s ease;
}
.rw-card:hover {
  animation-play-state: paused;
}

@keyframes rw-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25%      { transform: translate3d(2px, -3px, 0) rotate(-0.25deg); }
  50%      { transform: translate3d(-1px, 2px, 0) rotate(0.2deg); }
  75%      { transform: translate3d(3px, 1px, 0) rotate(-0.15deg); }
}

.rw-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.rw-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft, #666);
}
.rw-quote {
  margin: 0 0 16px;
  padding: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  text-wrap: pretty;
}
.rw-quote::before {
  content: '« ';
  color: var(--accent, #1e3a6b);
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
}
.rw-quote::after  { content: ' »'; color: var(--accent, #1e3a6b); font-family: 'Instrument Serif', serif; font-size: 18px; }

.rw-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule-soft, #e8e5e0);
}
.rw-author-name {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.rw-author-role {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft, #777);
  margin-top: 3px;
}
.rw-matter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #1e3a6b);
  padding: 4px 8px;
  background: rgba(30, 58, 107, 0.06);
  border-radius: 4px;
  white-space: nowrap;
}

.rw-fade {
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 2;
}
.rw-fade-top    { top: 0;    background: linear-gradient(to bottom, var(--bg, #E8EAEF), transparent); }
.rw-fade-bottom { bottom: 0; background: linear-gradient(to top,    var(--bg, #E8EAEF), transparent); }

/* Studio theme tweaks */
body[data-theme="studio"] .rw-card { background: #fff; border-color: rgba(20,25,40,.08); }
body[data-theme="studio"] .rw-quote::before,
body[data-theme="studio"] .rw-quote::after { color: var(--accent); }
body[data-theme="studio"] .rw-matter { color: var(--accent); background: rgba(30, 58, 107, 0.07); }

@media (max-width: 900px) {
  .rw-header { grid-template-columns: 1fr; gap: 20px; }
  .rw-header-right { justify-self: start; }
  .rw-wall { grid-template-columns: 1fr 1fr; height: 620px; }
  .rw-wall .rw-col:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
  .rw-wall { grid-template-columns: 1fr; height: 540px; }
  .rw-wall .rw-col:nth-child(2) { display: none; }
}


/* News card with image banner */
.news-card-withimage {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
}
.news-card-withimage .news-card-img {
  position: relative;
  border-bottom: 1px solid var(--rule-soft, #e8e5e0);
}
.news-card-withimage .news-card-img .img-ph {
  width: 100%;
  border-radius: 0;
  transition: transform .6s ease;
}
.news-card-withimage:hover .news-card-img .img-ph {
  transform: scale(1.03);
}
.news-card-withimage .news-card-body {
  padding: 22px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}


/* ————————————————————————————————————————————————————————————————
   Expertise page — React Bits-inspired enhancements
   ———————————————————————————————————————————————————————————————— */

/* DotGrid — static dotted texture */
.dotgrid-static {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(
    circle at center,
    var(--dg-color, #1e3a6b) 1px,
    transparent 1.5px
  );
  background-size: var(--dg-gap, 28px) var(--dg-gap, 28px);
  opacity: var(--dg-opacity, 0.22);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
}

.expertise-hero { position: relative; isolation: isolate; }
.expertise-hero .page-hero-text,
.expertise-hero .page-hero-banner { position: relative; z-index: 2; pointer-events: auto; }
.expertise-hero .dotgrid-static { z-index: 1; }

/* Variable proximity title — each char */
.vp-char {
  display: inline-block;
  transition: transform .35s cubic-bezier(.3,.7,.3,1), color .35s ease, font-style .35s ease;
  white-space: pre;
  will-change: transform;
}

/* Animated row reveal on scroll */
.practice-table-animated .practice-row {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.3,.7,.3,1), transform .55s cubic-bezier(.3,.7,.3,1);
  transition-delay: var(--row-delay, 0ms);
}
.practice-table-animated.is-visible .practice-row {
  opacity: 1;
  transform: none;
}

/* Rich row — ghost numeral behind name */
.practice-row-rich .practice-row-name {
  position: relative;
  overflow: hidden;
}
.practice-row-rich .practice-row-name-text { position: relative; z-index: 1; }
.practice-row-rich .practice-row-ghost {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) translateX(30px);
  font-family: 'Instrument Serif', serif;
  font-size: 86px;
  line-height: 1;
  color: var(--accent, #1e3a6b);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, transform .5s cubic-bezier(.3,.7,.3,1);
  z-index: 0;
  letter-spacing: -0.02em;
  font-style: italic;
}
.practice-row-rich:hover .practice-row-ghost {
  opacity: 0.085;
  transform: translateY(-50%) translateX(0);
}
.practice-row-rich:hover .practice-row-name-text {
  color: var(--accent, #1e3a6b);
  transition: color .3s ease;
}
.practice-row-rich { transition: background .3s ease; }
.practice-row-rich:hover {
  background: color-mix(in oklch, var(--accent, #1e3a6b) 3%, transparent);
}

/* Expertise CTA */
.expertise-cta-sec {
  padding-top: 40px;
  padding-bottom: 80px;
}
.expertise-cta {
  position: relative;
  isolation: isolate;
  border-radius: 28px;
  padding: 80px 64px;
  background: linear-gradient(145deg, #0f1a30 0%, #1a2540 55%, #142a50 100%);
  color: #fff;
  overflow: hidden;
}
.expertise-cta .dotgrid-static {
  z-index: 0;
}
.expertise-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.expertise-cta-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.expertise-cta-title {
  font-family: 'Archivo', 'Inter Tight', system-ui, sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0 0 22px;
  color: #fff;
  text-wrap: pretty;
  max-width: 640px;
}
.expertise-cta-lede {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin: 0 0 32px;
  max-width: 580px;
  text-wrap: pretty;
}
.expertise-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.expertise-cta-actions .btn-primary {
  background: #fff;
  color: var(--accent, #1e3a6b);
  border-color: #fff;
}
.expertise-cta-actions .btn-primary:hover {
  background: color-mix(in oklch, #fff, var(--accent, #1e3a6b) 12%);
}
.expertise-cta-actions .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.expertise-cta-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

@media (max-width: 720px) {
  .expertise-cta { padding: 48px 28px; border-radius: 20px; }
  .practice-row-rich .practice-row-ghost { font-size: 64px; }
}


/* ————————————————————————————————————————————————————————————————
   Glass system — sober variant A
   Nav: solid at rest, translucent glass on scroll.
   Pills & CTAs: subtle translucency with hairline border.
   ———————————————————————————————————————————————————————————————— */

:root {
  --glass-bg-light: rgba(255, 255, 255, 0.62);
  --glass-bg-lighter: rgba(255, 255, 255, 0.78);
  --glass-bg-dark: rgba(15, 26, 48, 0.55);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-border-dark: rgba(255, 255, 255, 0.12);
  --glass-blur: 14px;
  --glass-blur-strong: 20px;
  --glass-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 8px 32px -12px rgba(15,26,48,0.12);
}

/* Nav capsule — solid at rest, glass on scroll */
body[data-theme="studio"] .nav {
  transition: background .3s ease;
}
body[data-theme="studio"] .nav-capsule {
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}

body[data-theme="studio"] .nav.is-scrolled .nav-capsule {
  background: var(--glass-bg-light);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}
body[data-theme="studio"] .nav.is-scrolled .nav-aside .lang-switch,
body[data-theme="studio"] .nav.is-scrolled .nav-aside .btn-ghost {
  background: var(--glass-bg-light);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Hero "Prendre rendez-vous" — glass pill primary treatment */
body[data-theme="studio"] .hero-cta .btn-primary,
body[data-theme="studio"] .section-cta .btn-primary,
body[data-theme="studio"] .expertise-cta-actions .btn-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
body[data-theme="studio"] .hero-cta .btn-primary::before,
body[data-theme="studio"] .section-cta .btn-primary::before,
body[data-theme="studio"] .expertise-cta-actions .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.25) 0%,
    rgba(255,255,255,0) 45%,
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
  z-index: 1;
}
body[data-theme="studio"] .hero-cta .btn-primary > *,
body[data-theme="studio"] .section-cta .btn-primary > *,
body[data-theme="studio"] .expertise-cta-actions .btn-primary > * {
  position: relative; z-index: 2;
}

/* Glass variant for the dark CTA (expertise-cta) — inner buttons */
.expertise-cta-actions .btn-primary {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 6px 20px -6px rgba(0,0,0,0.25);
}
.expertise-cta-actions .btn-ghost {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.22);
}
.expertise-cta-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.4);
}

/* Practice rows: glass hover halo instead of flat tint */
body[data-theme="studio"] .practice-row-rich {
  transition: background .35s ease, backdrop-filter .35s ease;
}
body[data-theme="studio"] .practice-row-rich:hover {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}

/* Topic chips (news filter) — glass pill */
body[data-theme="studio"] .topic-chip {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid var(--glass-border);
}
body[data-theme="studio"] .topic-chip:hover {
  background: rgba(255,255,255,0.8);
}
body[data-theme="studio"] .topic-chip.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* Cards: news card, practice card — subtle glass refinement (hairline inner highlight) */
body[data-theme="studio"] .news-card,
body[data-theme="studio"] .practice-card,
body[data-theme="studio"] .team-card {
  position: relative;
}
body[data-theme="studio"] .news-card::before,
body[data-theme="studio"] .practice-card::before,
body[data-theme="studio"] .team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.1) 40%,
    rgba(255,255,255,0) 80%
  );
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

/* Respect reduced transparency for accessibility */
@media (prefers-reduced-transparency: reduce) {
  body[data-theme="studio"] .nav.is-scrolled .nav-capsule,
  body[data-theme="studio"] .nav.is-scrolled .nav-aside .lang-switch,
  body[data-theme="studio"] .nav.is-scrolled .nav-aside .btn-ghost {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}


/* Portrait — real photo variant */
.portrait-photo {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  background: #E2E5EC;
}
.portrait-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.96) contrast(1.02);
  transition: transform .6s cubic-bezier(.3,.7,.3,1), filter .4s;
}
.team-card:hover .portrait-photo img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.05);
}


/* ————————————————————————————————————————————————————————————————
   Team card — overlay variant
   Name + role sit on a glass pill at the bottom of the photo,
   with a blue branded gradient scrim to pop the glass and tie
   the portrait to Novalis colours.
   ———————————————————————————————————————————————————————————————— */
body[data-theme="studio"] .team-card-overlay { display: flex; flex-direction: column; gap: 14px; }
body[data-theme="studio"] .team-card-overlay .team-card-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}
body[data-theme="studio"] .team-card-overlay .portrait,
body[data-theme="studio"] .team-card-overlay .portrait-photo {
  border-radius: 12px;
  overflow: hidden;
}

/* Blue branded scrim — bottom to top, transparent at ~45% height */
body[data-theme="studio"] .team-card-overlay .team-card-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 26, 48, 0) 0%,
    rgba(15, 26, 48, 0) 35%,
    rgba(20, 42, 80, 0.55) 72%,
    rgba(20, 42, 80, 0.85) 100%
  );
  z-index: 1;
  transition: opacity .35s ease;
}
body[data-theme="studio"] .team-card-overlay:hover .team-card-scrim {
  background: linear-gradient(
    180deg,
    rgba(15, 26, 48, 0) 0%,
    rgba(15, 26, 48, 0) 30%,
    rgba(20, 42, 80, 0.6) 70%,
    rgba(20, 42, 80, 0.9) 100%
  );
}

/* Identity block — glass pill at the bottom of the media */
body[data-theme="studio"] .team-card-overlay .team-card-identity {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 24px -8px rgba(0, 0, 0, 0.35);
  color: #fff;
  transition: background .3s ease, border-color .3s ease, transform .45s cubic-bezier(.3,.7,.3,1);
}
body[data-theme="studio"] .team-card-overlay:hover .team-card-identity {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
body[data-theme="studio"] .team-card-overlay .team-card-identity .team-card-name {
  font-family: var(--display, 'Archivo', sans-serif);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  color: #fff;
  margin: 0 0 2px;
  letter-spacing: -0.005em;
}
body[data-theme="studio"] .team-card-overlay .team-card-identity .team-card-role {
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
body[data-theme="studio"] .team-card-overlay .team-card-identity .team-card-role .sep {
  opacity: 0.5;
  margin: 0 4px;
}

/* Practice chips — pulled out of the media, sit under the card */
body[data-theme="studio"] .team-card-overlay .team-card-practices {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Gentle scale on media only (not the whole card, so chips stay still) */
body[data-theme="studio"] .team-card-overlay .portrait-photo img {
  transition: transform .7s cubic-bezier(.3,.7,.3,1), filter .4s;
}
body[data-theme="studio"] .team-card-overlay:hover .portrait-photo img {
  transform: scale(1.045);
}

/* Placeholder portraits still look fine with the scrim —
   the initials get hidden behind the pill which is the goal */

/* Reduced transparency: fallback to solid dark pill */
@media (prefers-reduced-transparency: reduce) {
  body[data-theme="studio"] .team-card-overlay .team-card-identity {
    background: rgba(20, 42, 80, 0.85);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}


/* ==========================================================================
   Single — Article d'actualité : image hero + 2 colonnes + sidebar sticky
   ========================================================================== */

/* Hero de l'article : back-link + 2 colonnes (texte à gauche, carte auteur à droite) */
.news-hero {
  padding-top: 24px;
  padding-bottom: 40px;
}
.news-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  font-family: var(--mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.news-hero .back-link:hover { color: var(--accent); }

/* Hero éditorial : intro centrée (méta + titre + chapeau + carte auteur empilée).
   La back-link reste en haut à gauche (cf. .news-hero .back-link). */
.news-hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}
.news-hero-text {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-detail-meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.news-title-xl {
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0 0 24px;
  text-wrap: balance;
}

.news-hero .news-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 60ch;
  text-wrap: pretty;
}

/* Carte auteur dans le hero — centrée sous le chapeau */
.news-hero-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}
.news-hero-author .hero-author-card { max-width: 340px; width: 100%; text-align: left; }
.news-hero-author-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.hero-author-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: stretch;
  gap: 16px;
  padding: 0 18px 0 0;
  background: var(--bg-2);
  border-radius: 14px;
  overflow: hidden;
  color: var(--ink);
  transition: background .2s ease, transform .2s ease;
  text-decoration: none;
}
.hero-author-card:hover {
  background: color-mix(in oklch, var(--bg-2) 75%, var(--accent) 8%);
  transform: translateY(-1px);
}
.hero-author-portrait {
  width: 84px;
  height: 100%;
  min-height: 84px;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-author-portrait .portrait,
.hero-author-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hero-author-portrait .portrait-initials { font-size: 20px; }
.hero-author-portrait .portrait-label,
.hero-author-portrait .portrait-stripes { display: none; }
.hero-author-body { min-width: 0; padding: 14px 0; }
.hero-author-name {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: var(--ink);
}
.hero-author-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-author-more {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 4px;
}

/* Image mise en avant — cadrée et centrée, alignée avec l'intro hero ci-dessus */
.news-featured-media {
  margin: 0 auto 64px;
  max-width: 880px;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
  aspect-ratio: 21 / 9;
  max-height: 480px;
}
.news-featured-media .news-featured-img,
.news-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.news-featured-caption {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 8px 12px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  display: inline-block;
  max-width: fit-content;
}

/* Layout 2 colonnes : article + sidebar sticky. Article remplit sa colonne,
   la ligne de lecture est contrainte sur .news-body-content (pas sur l'article) :
   ainsi la marge droite de l'article s'aligne avec la sidebar. */
.news-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 72px;
  align-items: start;
  padding-top: 0;
}

.news-article {
  min-width: 0;
  /* pas de max-width — on laisse la colonne 1fr piloter la largeur,
     exactement comme la sidebar. La lisibilité est gérée plus bas. */
}

/* Contenu riche — la grille article/sidebar borne déjà la mesure de lecture
   (article ≈ 1fr d'un shell 1500px moins 340px sidebar = ~1000px max).
   On laisse la colonne piloter pour éviter le grand vide à droite du texte. */
.news-body-content {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  max-width: none;
}
.news-body-content > * + * { margin-top: 1.1em; }
.news-body-content h2 {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 2.2em;
  margin-bottom: 0.6em;
}
.news-body-content h3 {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 500;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}
.news-body-content p { margin: 0 0 1.1em; }
.news-body-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.news-body-content a:hover { text-decoration-thickness: 2px; }
.news-body-content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--accent);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
}
.news-body-content ul, .news-body-content ol {
  margin: 1.1em 0;
  padding-left: 1.4em;
}
.news-body-content li { margin: 0.3em 0; }
.news-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.4em 0;
}
.news-body-content figure { margin: 1.6em 0; }
.news-body-content figcaption {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px;
  text-align: center;
}

/* Signature — cartes auteur(s) en pied d'article */
.news-authors-block {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--rule-soft);
}

/* Encart auteur·e plein format (en bas d'article) */
.news-authors-features { display: flex; flex-direction: column; gap: 24px; }
.news-author-feature {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.news-author-feature:hover {
  border-color: color-mix(in oklch, var(--accent) 35%, var(--rule));
  box-shadow: 0 10px 30px -18px rgba(28, 57, 105, 0.25);
}
.news-author-feature-portrait {
  display: block;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  transition: transform .2s;
}
.news-author-feature-portrait:hover { transform: translateY(-2px); }
.news-author-feature-portrait .portrait,
.news-author-feature-portrait .portrait img { width: 100%; height: auto; display: block; }
.news-author-feature-portrait .portrait { border-radius: calc(var(--radius) - 4px); overflow: hidden; }

.news-author-feature-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.news-author-feature-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.news-author-feature-role span { color: var(--ink-mute); }
.news-author-feature-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
body[data-theme="modernist"] .news-author-feature-name {
  text-transform: uppercase; font-weight: 500;
  font-size: clamp(22px, 1.8vw, 26px);
}
.news-author-feature-name a {
  color: var(--ink);
  text-decoration: none;
  transition: color .15s;
}
.news-author-feature-name a:hover { color: var(--accent); }
.news-author-feature-bio {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.news-author-feature-practices {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex; flex-wrap: wrap;
  gap: 6px;
}
.news-author-feature-practices li a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.news-author-feature-practices li a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.news-author-feature-actions {
  margin-top: 12px;
  display: flex; flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

@media (max-width: 720px) {
  .news-author-feature {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }
  .news-author-feature-portrait { max-width: 180px; }
}
.news-authors-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.news-authors-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.news-authors-cards .author-card {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px 18px 18px;
  background: var(--bg-2);
  border-radius: 18px;
  color: var(--ink);
  transition: background .2s ease, transform .2s ease;
  position: relative;
}
.news-authors-cards .author-card:hover {
  background: color-mix(in oklch, var(--bg-2) 72%, var(--accent) 8%);
  transform: translateY(-1px);
}
.author-card-portrait-link { display: block; line-height: 0; }
.author-card .author-portrait { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; }
.author-card .author-portrait .portrait,
.author-card .author-portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.author-card .author-portrait .portrait-initials { font-size: 30px; }
.author-card .author-portrait .portrait-label,
.author-card .author-portrait .portrait-stripes { display: none; }
.author-body { min-width: 0; }
.author-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.author-name a { color: var(--ink); text-decoration: none; }
.author-name a:hover { color: var(--accent); }
.author-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 5px;
}
.author-office {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.4;
}
.author-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  min-width: 130px;
}
.author-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule-soft);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.author-action:hover {
  background: var(--bg);
  border-color: var(--ink-soft);
}
.author-action-primary {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.author-action-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.author-action .arrow {
  transition: transform .2s ease;
  display: inline-block;
}
.author-action-primary:hover .arrow { transform: translateX(2px); }

/* Sidebar sticky */
.news-sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
}
.news-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--bg-2);
  border-radius: 18px;
  padding: 24px;
}
.sidebar-eyebrow,
.sidebar-cta-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* Sidebar recent articles */
.sidebar-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sidebar-recent-item { margin: 0; }
.sidebar-recent-link {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 10px;
  margin: -10px;
  border-radius: 10px;
  align-items: start;
  transition: background .15s ease;
}
.sidebar-recent-link:hover { background: rgba(0,0,0,0.04); }
.sidebar-recent-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
}
.sidebar-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sidebar-recent-text { min-width: 0; }
.sidebar-recent-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
  display: flex;
  gap: 6px;
}
.sidebar-recent-title {
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-recent-link:hover .sidebar-recent-title { color: var(--accent); }

/* Sidebar CTA — même palette que les cartes d'équipe overlay :
   dégradé bleu Novalis + glass pill button + petit coin graphique */
.sidebar-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding: 28px 24px 24px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(45, 85, 155, 0.55) 0%, rgba(45, 85, 155, 0) 55%),
    linear-gradient(155deg, #0F1A30 0%, #142A50 55%, #1C3969 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 18px 40px -20px rgba(15,26,48,0.45);
}
/* Variante : photo d'équipe en haut du CTA — image full-bleed, fondu vers le bleu */
.sidebar-cta-with-photo { padding-top: 0; }
.sidebar-cta-photo {
  display: block;
  position: relative;
  margin: 0 -24px 24px; /* full-bleed dans le padding */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  z-index: 1;
}
.sidebar-cta-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.sidebar-cta:hover .sidebar-cta-photo img { transform: scale(1.03); }
.sidebar-cta-photo::after {
  /* Fondu doux vers le bleu Novalis en bas pour souder l'image au CTA */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(15,26,48,0) 0%, rgba(15,26,48,0.85) 80%, #0F1A30 100%);
  pointer-events: none;
}
/* Petit coin graphique — détail § en filigrane */
.sidebar-cta-corner {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  z-index: 0;
}
.sidebar-cta > * { position: relative; z-index: 1; }
.sidebar-cta .sidebar-cta-eyebrow {
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
  letter-spacing: 0.14em;
}
.sidebar-cta-title {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: #fff;
  max-width: 14ch;
}
.sidebar-cta-lede {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0 0 22px;
}

/* Glass pill button — reprend la recette des team cards / nav glass */
.sidebar-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 14px 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.3) inset,
    0 6px 16px -6px rgba(0,0,0,0.3);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  text-decoration: none;
}
.sidebar-cta-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.42);
  transform: translateY(-1px);
}
.sidebar-cta-btn-label { font-weight: 500; }
.sidebar-cta-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  transition: transform .2s ease, background .2s ease;
}
.sidebar-cta-btn:hover .sidebar-cta-btn-arrow {
  transform: translateX(2px);
  background: rgba(255,255,255,0.3);
}

/* Mention discrète de confidentialité sous le bouton */
.sidebar-cta-foot {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sidebar-cta-foot svg { flex-shrink: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .news-article-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .news-sidebar {
    position: static;
    top: auto;
  }
  .news-sidebar-inner {
    flex-direction: row;
    gap: 16px;
  }
  .news-sidebar-inner .sidebar-card {
    flex: 1;
    min-width: 0;
  }
}
@media (max-width: 900px) {
  .news-hero-grid {
    gap: 24px;
  }
  .news-hero-author { padding-bottom: 0; padding-top: 0; }
}
@media (max-width: 720px) {
  .news-sidebar-inner { flex-direction: column; }
  .news-featured-media { border-radius: 12px; aspect-ratio: 16 / 10; max-height: none; margin-bottom: 40px; }
  .news-title-xl { font-size: 32px; }
  .news-hero .news-lede { font-size: 16px; }
  .news-authors-cards .author-card {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
    padding: 16px;
  }
  .news-authors-cards .author-card .author-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    min-width: 0;
  }
  .author-action { flex: 1; padding: 10px 12px; }
  .author-card .author-portrait { width: 64px; height: 64px; border-radius: 12px; }
  .author-card .author-portrait .portrait,
  .author-card .author-portrait img { border-radius: 12px; }
  .author-card .author-portrait .portrait-initials { font-size: 22px; }
}


/* ==========================================================================
   Pré-footer CTA — dégradé bleu Novalis + photo optionnelle + bouton glass
   (même traitement visuel que les cartes d'équipe en overlay)
   ========================================================================== */
.prefooter-cta-sec { padding-top: 0 !important; margin-top: var(--pad-y); }

.prefooter-cta {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  padding: 96px 72px 88px;
  color: #fff;
  /* Dégradé bleu Novalis par défaut */
  background:
    radial-gradient(120% 80% at 20% 100%, rgba(30, 60, 115, 0.55) 0%, rgba(30, 60, 115, 0) 55%),
    radial-gradient(90% 70% at 85% 0%,   rgba(45, 85, 155, 0.45) 0%, rgba(45, 85, 155, 0) 60%),
    linear-gradient(155deg, #0F1A30 0%, #142A50 45%, #1C3969 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 60px -30px rgba(15,26,48,0.55);
}

/* Background image — behind the scrim */
.prefooter-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform .8s cubic-bezier(.3,.7,.3,1);
  filter: saturate(0.95) contrast(1.02);
}
.prefooter-cta.has-bg:hover .prefooter-cta-bg { transform: scale(1.05); }

/* Scrim — dégradé bleu plein à gauche → transparent (0%) à droite, pour
   garder le texte lisible sur le bleu et révéler l'image de fond à droite. */
.prefooter-cta-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    #0F1A30 0%,
    #142A50 30%,
    rgba(28, 57, 105, 0.78) 55%,
    rgba(28, 57, 105, 0.35) 78%,
    rgba(28, 57, 105, 0) 100%
  );
  pointer-events: none;
}
.prefooter-cta:not(.has-bg) .prefooter-cta-scrim { display: none; }

/* Content */
.prefooter-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 72ch;
}
.prefooter-cta-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  margin-bottom: 28px;
}
.prefooter-cta-title {
  font-family: var(--display);
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: #fff;
  margin: 0 0 12px;
  max-width: 16ch;
}
.prefooter-cta-title em {
  font-style: normal;
  color: rgba(255,255,255,0.55);
}
.prefooter-cta-lede {
  font-family: var(--display);
  font-size: clamp(24px, 2.8vw, 44px);
  line-height: 1.15;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 40px;
  max-width: 22ch;
}

/* Actions */
.prefooter-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Glass pill button — matches nav glass treatment */
.glass-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 8px 24px -8px rgba(0,0,0,0.35);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
  text-decoration: none;
}
.glass-cta-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.42);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 14px 32px -10px rgba(0,0,0,0.4);
}
.glass-cta-btn-label { font-weight: 500; }
.glass-cta-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  transition: background .2s ease, transform .25s ease;
}
.glass-cta-btn:hover .glass-cta-btn-arrow {
  background: rgba(255,255,255,0.28);
  transform: translateX(2px);
}

/* Ghost variant — less visual weight for secondary action */
.glass-cta-btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.glass-cta-btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
  box-shadow: none;
}

/* Image credit — tiny mono label, bottom-left, like team-card label */
.prefooter-cta-credit {
  position: absolute;
  left: 72px;
  bottom: 24px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Reduced transparency: solid background for accessibility */
@media (prefers-reduced-transparency: reduce) {
  .glass-cta-btn {
    background: rgba(28, 57, 105, 0.9);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .prefooter-cta { padding: 64px 32px 72px; border-radius: 14px; }
  .prefooter-cta-credit { left: 32px; bottom: 16px; }
  .prefooter-cta-actions { flex-direction: column; align-items: flex-start; }
  .glass-cta-btn { width: 100%; justify-content: space-between; }
}

/* ————————————————————————————————— Team card — simple variant
   Style "hero" : photo arrondie seule + nom / rôle sous la carte.
   Annule le scrim et l'overlay interne de .team-card-overlay. */
.team-card-simple {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease;
}
.team-card-simple:hover { transform: translateY(-2px); }

.team-card-simple .team-card-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.team-card-simple .team-card-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Neutralise tout overlay résiduel pour la variante simple */
.team-card-simple .team-card-scrim,
.team-card-simple .team-card-identity { display: none !important; }

.team-card-caption {
  padding: 0 2px;
}
.team-card-simple .team-card-name {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.team-card-simple .team-card-role {
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink-mute);
}

@media (max-width: 720px) {
  .team-card-simple { gap: 10px; }
  .team-card-simple .team-card-name { font-size: 15px; }
  .team-card-simple .team-card-role { font-size: 12px; }
}

/* Lawyer profile — short bio under the name */
.lawyer-short-bio {
  margin-top: 16px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ==========================================================================
   Bento-marquee éditorial (page Actualités, page Cabinet)
   2 rangées, scroll opposé, cartes image/statement/meta.
   ========================================================================== */
.section-bento {
  padding: 32px 0 48px;
  overflow: hidden;
}
.bento-marquee {
  --bento-speed: 70s;
  display: flex;
  flex-direction: column;
  gap: 18px;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.bento-row {
  overflow: hidden;
  width: 100%;
}
.bento-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
}
.bento-track-left  { animation: bento-scroll-left  var(--bento-speed) linear infinite; }
.bento-track-right { animation: bento-scroll-right var(--bento-speed) linear infinite; }
@keyframes bento-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes bento-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.bento-marquee:hover .bento-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .bento-track { animation: none !important; }
  .bento-marquee {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
  }
}

.bento-card {
  flex: 0 0 auto;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--bg-2, #f3f0ea);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.bento-card-image .img-ph {
  width: 100%;
  height: 100%;
}
.bento-card-caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  padding: 4px 8px;
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 6px;
}

/* Statement — fond sombre bleu Novalis */
.bento-card-statement {
  background: linear-gradient(155deg, #0F1A30 0%, #142A50 55%, #1C3969 100%);
  color: #fff;
}
.bento-statement-inner {
  height: 100%;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-statement-eyebrow {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.bento-statement-text {
  font-family: var(--display, serif);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 14px 0 0;
  text-wrap: balance;
}
.bento-statement-text strong {
  font-weight: 500;
  font-style: italic;
}
.bento-statement-sub {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
}

/* Meta — fond clair */
.bento-card-meta {
  background: var(--bg-1, #F4F6FA);
  border: 1px solid rgba(0,0,0,0.06);
}
.bento-meta-inner {
  height: 100%;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink, #121212);
}
.bento-meta-eyebrow {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute, #666);
}
.bento-meta-title {
  font-family: var(--display, serif);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 12px;
  text-wrap: balance;
}
.bento-meta-sub {
  font-family: var(--sans, sans-serif);
  font-size: 12px;
  color: var(--ink-soft, #444);
  margin-top: 10px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .bento-card        { height: 200px; }
  .bento-statement-text { font-size: 18px; }
  .bento-meta-title     { font-size: 17px; }
}

/* ————————————————————————————————————————————————————————
   Nav dropdown — applied to "Expertises" item
   ———————————————————————————————————————————————————————— */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown > a.has-dropdown {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.nav-caret { transition: transform .2s ease; opacity: 0.7; }
.nav-dropdown:hover > a.has-dropdown .nav-caret,
.nav-dropdown:focus-within > a.has-dropdown .nav-caret { transform: rotate(180deg); opacity: 1; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--rule-soft, #e8e4dc);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 24px 60px -24px rgba(20, 30, 60, 0.18), 0 1px 0 rgba(255,255,255,0.6) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 200;
}
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Hover bridge to prevent dropdown closing in the gap */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: 14px;
}

.nav-dropdown-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 10px !important;
  border-radius: 8px;
  font-family: var(--sans, sans-serif);
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink-soft) !important;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown-link:hover { background: var(--bg-2, #DCE0E8); color: var(--accent) !important; }
.nav-dropdown-all {
  font-weight: 600;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--rule-soft, #e8e4dc);
  border-radius: 10px 10px 0 0;
  margin-bottom: 4px;
  padding-bottom: 12px;
}
.nav-dropdown-all span { opacity: 0.5; transition: transform .15s, opacity .15s; }
.nav-dropdown-all:hover span { transform: translateX(3px); opacity: 1; }

/* Mobile : on aplatit le dropdown dans le menu vertical */
@media (max-width: 1200px) {
  .nav-dropdown { display: block; width: 100%; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 16px;
    background: transparent;
    min-width: 0;
  }
  .nav-caret { display: none; }
  .nav-dropdown::after { display: none; }
}

/* ————————————————————————————————————————————————————————
   Nav aside — bouton Carrières (pill blanche + dot navy)
   ———————————————————————————————————————————————————————— */
.nav-careers-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--rule-soft, #e8e4dc);
  padding: 6px 18px 6px 6px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, color .15s;
  letter-spacing: 0;
  white-space: nowrap;
}
.nav-careers-cta:hover { color: var(--accent); }
.nav-careers-cta.is-active { color: var(--accent); }
.nav-careers-dot {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(28, 57, 105, 0.2);
}

/* Glass effect au scroll, cohérent avec le pill blanc du menu */
body[data-theme="studio"] .nav.is-scrolled .nav-aside .nav-careers-cta,
body[data-theme="studio"] .nav.is-scrolled .nav-aside .btn-ghost {
  background: var(--glass-bg-light, rgba(255,255,255,0.75));
  backdrop-filter: blur(var(--glass-blur, 14px)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur, 14px)) saturate(140%);
}
/* Hover au scroll : sans cette règle, le fond glass (spécificité forte) écrasait
   le fond bleu du :hover tout en gardant color:#fff → texte blanc sur fond blanc. */
body[data-theme="studio"] .nav.is-scrolled .nav-aside .nav-careers-cta:hover,
body[data-theme="studio"] .nav.is-scrolled .nav-aside .btn-ghost:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (prefers-reduced-transparency: reduce) {
  body[data-theme="studio"] .nav.is-scrolled .nav-aside .nav-careers-cta,
  body[data-theme="studio"] .nav.is-scrolled .nav-aside .btn-ghost {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* On masque tout sélecteur de langue résiduel injecté par un plugin de traduction */
.nav-aside .lang-switch { display: none !important; }


/* ==========================================================================
   RESPONSIVE NORMALIZATION — v2
   Breakpoints: 1200 (desktop ↓), 992 (tablet landscape), 768 (tablet),
   480 (small phone). Ajouté en fin de fichier pour gagner en spécificité
   sans casser les règles existantes.
   ========================================================================== */

/* ——— Burger : animation en croix quand ouvert ——————————————— */
.nav-burger { transition: transform .2s ease; }
.nav-burger span { transition: transform .25s ease, opacity .2s ease; transform-origin: center; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Lock du scroll quand le panneau mobile est ouvert */
body.has-nav-open { overflow: hidden; }

/* Quand le menu est ouvert, on supprime tout `backdrop-filter` sur la nav :
   sinon il crée un containing block qui piège le panneau `position: fixed`
   dans la capsule (le menu apparaît tronqué quand on a scrollé). */
body.has-nav-open .nav,
body.has-nav-open .nav-capsule,
body.has-nav-open .nav-aside .lang-switch,
body.has-nav-open .nav-aside .btn-ghost,
body.has-nav-open .nav-aside .nav-careers-cta {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ——— Panneau mobile : .nav-links quand le burger est visible ——— */
@media (max-width: 1200px) {
  /* Overlay sombre derrière le panneau */
  body.has-nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, 0.45);
    z-index: 24;
    animation: nav-overlay-in .25s ease forwards;
  }
  @keyframes nav-overlay-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* Panneau latéral droit */
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: auto;
    width: min(75vw, 420px);
    z-index: 25;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 96px 28px 32px;
    background: var(--paper, #fff);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -8px 0 40px rgba(10, 20, 40, 0.12);
  }
  .nav-links.is-open,
  body[data-theme="studio"] .nav-capsule .nav-links.is-open {
    display: flex;
    animation: nav-slide-in .25s ease forwards;
  }
  @keyframes nav-slide-in {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
  }

  /* Liens en blocs lisibles, tailles tactiles */
  .nav-links > a,
  .nav-links .nav-dropdown > a {
    display: block;
    padding: 16px 8px;
    font-size: 18px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink, #1A1A1A);
    border-bottom: 1px solid var(--rule-soft, #D2D7E1);
  }
  .nav-links > a.active,
  .nav-links .nav-dropdown > a.active { color: var(--accent, #1C3969); }
  .nav-links .nav-dropdown-menu {
    padding: 4px 12px 12px 12px;
    margin-bottom: 8px;
  }
  .nav-links .nav-dropdown-link {
    padding: 10px 20px;
    font-size: 15px !important;
  }

  /* Annule le translateX(-50%) du dropdown desktop sur hover/focus mobile :
     sinon le sous-menu Expertises se décale vers la gauche au tap. */
  .nav-dropdown:hover > .nav-dropdown-menu,
  .nav-dropdown:focus-within > .nav-dropdown-menu {
    transform: none;
  }

  /* Studio: même panneau blanc */
  body[data-theme="studio"] .nav-links {
    background: var(--paper, #fff);
  }
  body[data-theme="studio"] .nav-capsule .nav-links a {
    font-size: 18px;
    color: var(--ink);
    padding: 16px 8px;
  }

  /* Le burger passe au-dessus du panneau */
  .nav-burger { position: relative; z-index: 26; }

  /* En studio, la capsule doit garder son padding compact */
  body[data-theme="studio"] .nav-capsule { padding: 8px 16px; gap: 12px; }
}

/* ——— Affichage du burger : on garantit la règle au cas où ———— */
@media (max-width: 1200px) {
  .nav-burger { display: flex !important; }
}

/* ==========================================================================
   ≤ 1200px — Tablette / petit desktop : compléments
   ========================================================================== */
@media (max-width: 1200px) {
  /* Studio: padding global de la page allégé */
  body[data-theme="studio"] .page { padding: 28px 32px 64px; margin: 12px auto; }
  body[data-theme="studio"] .nav-inner { padding: 14px 24px; }

  /* Densité globale : pad-x un peu réduit */
  body { --pad-x: 48px; }

  /* Section-cta padding desserré */
  .section-cta { padding: 72px var(--pad-x); }
  body[data-theme="studio"] .section-cta { padding: 64px 40px; }
}

/* ==========================================================================
   ≤ 992px — Tablette : couvre le creux 768-1200 (4→2 cols, etc.)
   ========================================================================== */
@media (max-width: 992px) {
  /* Footer en 2 colonnes stables */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .footer { padding: 40px var(--pad-x) 0; }
  .footer-card { padding: 40px 32px 28px; border-radius: 22px; }

  /* Géant wordmark : ramené, sinon il déborde */
  .footer-bigmark { font-size: clamp(72px, 16vw, 200px); }

  /* Grids : 4→2 cols proprement, intermediate state */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .team-grid.small { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
  .team-strip { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-card:nth-child(3n) { border-right: 1px solid var(--rule-soft); }
  .practice-card:nth-child(2n) { border-right: 0; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  body[data-theme="studio"] .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-card { border-right: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
  .value-card:nth-child(2n) { border-right: 0; }

  /* Reviews wall : 3→2 cols ici déjà géré à 900px en bas, on harmonise */
  .rw-wall { grid-template-columns: 1fr 1fr; height: 600px; }
  .rw-wall .rw-col:nth-child(3) { display: none; }

  /* Hero principal */
  .hero-meta { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions { justify-self: start; }

  /* Section-cta */
  .section-cta { padding: 64px 32px; margin-left: 0; margin-right: 0; }
  body[data-theme="studio"] .section-cta { padding: 56px 32px; border-radius: 18px; }

  /* Pré-footer CTA */
  .prefooter-cta { padding: 64px 36px 72px; border-radius: 16px; }
  .prefooter-cta-credit { left: 36px; bottom: 16px; }

  /* Studio: padding page */
  body[data-theme="studio"] .page { padding: 24px 28px 56px; }
  body[data-theme="studio"] .nav-inner { padding: 12px 16px; }

  /* Section heads */
  .section-head { grid-template-columns: 60px 1fr; row-gap: 16px; }
  body[data-theme="studio"] .section-head { grid-template-columns: 1fr; gap: 12px; }
  .section-head-aside { grid-column: 1 / -1; justify-self: start; }
  body[data-theme="studio"] .section { padding-top: 56px; }

  /* Lawyer : meta 2 cols compacte */
  .lawyer-meta { gap: 16px 24px; }

  /* Article single : sidebar passe en row */
  .news-article-layout { gap: 40px; }
  .news-hero-grid { gap: 40px; }
  .news-hero-author .hero-author-card { max-width: 360px; }

  /* Page-hero banner : hauteur cappée pour tablette */
  .page-hero-banner img { max-height: 360px; aspect-ratio: 3 / 2; }
}

/* ==========================================================================
   ≤ 768px — Mobile : 1 col partout, typo et paddings adoucis
   ========================================================================== */
@media (max-width: 768px) {
  /* Densité */
  body { --pad-x: 20px; --pad-y: 48px; }
  body[data-density="comfortable"] { --pad-y: 48px; --pad-x: 20px; }
  body[data-density="spacious"]    { --pad-y: 64px; --pad-x: 24px; }

  /* Studio container */
  body[data-theme="studio"] .page { padding: 20px 18px 48px; margin: 8px auto; border-radius: 22px; }
  body[data-theme="studio"] .nav-inner { padding: 10px 12px; gap: 8px; }
  body[data-theme="studio"] .nav-capsule { padding: 6px 14px; gap: 8px; box-shadow: none; }
  body[data-theme="studio"] .nav-capsule .brand-logo { height: 36px; }

  /* Hero principal : titre plus humain */
  .hero { padding-top: 24px; gap: 32px; }
  .hero-title { font-size: clamp(40px, 11vw, 72px); line-height: 1.02; }
  body[data-theme="studio"] .hero-title { font-size: clamp(28px, 8vw, 44px); top: 20px; left: 18px; right: 18px; }
  .hero-figure { border-radius: 18px !important; }
  .hero-lede { font-size: 16px; }

  /* Centered hero */
  .hero-centered { padding-top: 16px; }
  .hero-centered-top { padding: 24px 16px 16px; gap: 16px; }
  .hero-centered-title { font-size: clamp(38px, 10vw, 56px); }
  body[data-theme="studio"] .hero-centered-title { font-size: clamp(36px, 9vw, 56px); }
  .hero-centered-lede { font-size: 15px; }
  .hero-centered-actions { gap: 8px; }
  .hero-centered-actions .btn { padding: 12px 18px; font-size: 13px; }
  .hero-marquee { margin-top: 24px; padding: 20px 0 8px; }
  .hero-marquee-card { width: 140px; }

  /* Bento marquee : encore plus serré */
  .bento-card { width: 220px !important; height: 160px; }
  .bento-card.size-lg, .bento-card.size-xl { width: 280px !important; }
  .bento-statement-inner { padding: 14px 16px; }
  .bento-meta-inner { padding: 14px 16px; }
  .bento-statement-text { font-size: 15px; }
  .bento-meta-title { font-size: 15px; }

  /* Section heads */
  .section-head { grid-template-columns: 1fr; gap: 8px; padding-bottom: 16px; margin-bottom: 24px; }
  .section-num { padding-bottom: 0; }
  .section-title { font-size: clamp(26px, 7vw, 38px); }
  body[data-theme="studio"] .section-title { font-size: clamp(24px, 6vw, 32px); max-width: 100%; }
  .section-lede { margin-top: 8px; font-size: 15px; }

  /* Page hero */
  .page-hero { padding: 48px 0 28px; }
  .page-title { font-size: clamp(36px, 9vw, 56px); }
  body[data-theme="studio"] .page-title { font-size: clamp(32px, 8vw, 48px); }
  .page-lede { font-size: 15px; margin-top: 20px; }
  .page-hero.with-banner { gap: 24px; }
  .page-hero.with-banner .page-title { font-size: clamp(32px, 8vw, 48px); }
  .page-hero-banner { max-width: 100%; }
  .page-hero-banner img { max-height: 260px; aspect-ratio: 16 / 10; }

  /* All grids → 1 col */
  .team-grid,
  .team-grid.small,
  .team-strip,
  .practice-grid,
  .news-grid,
  .footer-top,
  .firm-intro,
  .firm-intro-stats,
  .lawyer-grid,
  .lawyer-meta,
  .lawyer-practices,
  .contact-grid,
  .offices-grid,
  .values-grid,
  .section-split,
  .practice-body-sec,
  .careers-apply-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .value-card,
  .lawyer-practice-card { border-right: 0 !important; border-bottom: 1px solid var(--rule-soft); }
  .careers-aside { flex-direction: column; }
  .careers-portrait { max-width: 100%; }

  /* Form rows */
  .form-row-2 { grid-template-columns: 1fr; gap: 16px; }
  .form-submit { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Topic chips */
  .topic-grid { gap: 6px; }
  .topic-chip { padding: 7px 12px; font-size: 11px; }

  /* Practice table → cartes empilées (table devient inutilisable serrée) */
  .practice-table,
  .practice-table tbody,
  .practice-table tr,
  .practice-table td { display: block; width: 100%; }
  .practice-row {
    padding: 18px 4px;
    border-bottom: 1px solid var(--rule-soft);
  }
  .practice-row-num { padding: 0 0 6px; width: auto; }
  .practice-row-name { padding: 0 0 6px; font-size: 22px; width: 100%; }
  body[data-theme="studio"] .practice-row-name { font-size: 22px; }
  .practice-row-short { padding: 0; font-size: 14px; }
  .practice-row-arrow { padding: 8px 0 0; text-align: left; }
  .practice-row-rich .practice-row-ghost { display: none; }

  /* Job rows */
  .job-row { grid-template-columns: 40px 1fr 28px; gap: 12px; padding: 18px 0; }
  .job-tenure, .job-location { display: none; }
  .job-role { font-size: 17px; }

  /* CTA section */
  .section-cta { padding: 48px 24px; border-radius: 16px; }
  body[data-theme="studio"] .section-cta { padding: 40px 22px; border-radius: 16px; }
  .cta-title { font-size: clamp(28px, 7vw, 40px); margin-bottom: 24px; }

  /* Pré-footer CTA */
  .prefooter-cta { padding: 48px 24px 56px; border-radius: 14px; }
  .prefooter-cta-eyebrow { margin-bottom: 18px; font-size: 10px; }
  .prefooter-cta-title { font-size: clamp(28px, 7.5vw, 40px); }
  .prefooter-cta-lede { font-size: clamp(18px, 5vw, 24px); margin-bottom: 28px; }
  .prefooter-cta-credit { left: 24px; bottom: 12px; font-size: 9px; }
  .prefooter-cta-actions { gap: 10px; flex-direction: column; align-items: stretch; }
  .glass-cta-btn { width: 100%; justify-content: space-between; }

  /* Footer */
  .footer { padding: 32px 16px 0; }
  body[data-theme="studio"] .footer { padding: 32px 12px 0; }
  .footer-card { padding: 32px 20px 24px; border-radius: 20px; }
  .footer-brand .footer-mark img { height: 36px; }
  .footer-tagline { font-size: 13px; }
  body[data-theme="studio"] .footer-tagline { font-size: 18px; }
  .footer-bottom { margin-top: 24px; padding-top: 16px; gap: 12px; }
  .footer-legal { gap: 16px; font-size: 11px; }
  .footer-copy { font-size: 11px; }

  /* Footer bigmark — réduit sur mobile ; le chevauchement reste en em (base) */
  .footer-bigmark {
    font-size: clamp(48px, 14vw, 120px);
    padding: 0 12px 0.12em;
  }

  /* Lawyer name */
  .lawyer-name { font-size: clamp(36px, 10vw, 56px); margin-bottom: 20px; }
  body[data-theme="studio"] .lawyer-name { font-size: clamp(34px, 9.5vw, 52px); }

  /* Lawyer portrait overlay : pill plus petite */
  body[data-theme="studio"] .lawyer-portrait.team-card-overlay .team-card-identity { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
  body[data-theme="studio"] .lawyer-portrait.team-card-overlay .team-card-identity .team-card-name { font-size: 16px; }
  body[data-theme="studio"] .lawyer-portrait.team-card-overlay .team-card-identity .team-card-role { font-size: 10px; }

  /* Article single */
  .news-hero { padding-top: 16px; padding-bottom: 24px; }
  .news-hero .back-link { margin-bottom: 20px; }
  .news-hero-grid { gap: 28px; }
  .news-title-xl { font-size: clamp(26px, 7vw, 36px); }
  .news-hero .news-lede { font-size: 15px; }
  .news-featured-media { aspect-ratio: 16 / 10; border-radius: 12px; max-height: none; margin-bottom: 32px; }
  .news-article-layout { gap: 32px; }
  .news-body-content { font-size: 16px; line-height: 1.65; max-width: 100%; }
  .news-body-content h2 { font-size: 22px; }
  .news-body-content h3 { font-size: 18px; }
  .news-body-content blockquote { font-size: 17px; padding-left: 14px; }
  .news-authors-block { margin-top: 48px; padding-top: 28px; }
  .news-authors-cards .author-card {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    padding: 14px;
  }
  .news-authors-cards .author-card .author-actions { grid-column: 1 / -1; flex-direction: row; min-width: 0; }
  .author-action { flex: 1; padding: 10px 10px; font-size: 10px; }
  .author-card .author-portrait { width: 56px; height: 56px; border-radius: 10px; }
  .author-card .author-portrait .portrait,
  .author-card .author-portrait img { border-radius: 10px; }
  .author-card .author-portrait .portrait-initials { font-size: 18px; }
  .author-name { font-size: 17px; }

  /* News card title */
  .news-card { padding: 20px; min-height: 0; }
  body[data-theme="studio"] .news-card { padding: 22px; }
  .news-title { font-size: 18px; }

  /* Sidebar wall : 1 col déjà géré à 560 — on harmonise et garde 2 cols jusqu'à 560 */

  /* Expertise CTA */
  .expertise-cta { padding: 40px 22px; border-radius: 18px; }
  .expertise-cta-title { font-size: clamp(22px, 6vw, 30px); }
  .expertise-cta-lede { font-size: 15px; }
  .expertise-cta-eyebrow { margin-bottom: 16px; }

  /* Selected job banner */
  .selected-job-banner { grid-template-columns: 1fr auto; padding: 14px 16px; gap: 12px; }
  .selected-job-banner .selected-job-label { grid-column: 1 / -1; }

  /* Careers facts */
  .careers-facts { grid-template-columns: repeat(3, 1fr); }
  .careers-fact { padding: 14px 8px; }
  .careers-fact-num { font-size: 20px; }
  .careers-form-card { padding: 28px 20px 32px; }

  /* Offices city */
  .office-city { font-size: 28px; }
  body[data-theme="studio"] .office-city { font-size: 26px; }
  .office-card { padding: 22px; }

  /* Firm intro lede */
  body[data-theme="studio"] .firm-intro-lede { font-size: clamp(18px, 5vw, 24px); }

  /* Tweaks panel — masqué sur mobile (utilitaire admin) */
  .tweaks { display: none !important; }
}

/* ==========================================================================
   ≤ 480px — Petits smartphones : derniers ajustements
   ========================================================================== */
@media (max-width: 480px) {
  body { --pad-x: 16px; --pad-y: 40px; }
  body[data-density="comfortable"] { --pad-y: 40px; --pad-x: 16px; }

  body[data-theme="studio"] .page { padding: 16px 14px 40px; border-radius: 18px; }

  /* Hero plus discret */
  .hero-title { font-size: clamp(34px, 12vw, 56px); }
  body[data-theme="studio"] .hero-title { font-size: clamp(24px, 7.5vw, 36px); top: 16px; left: 14px; right: 14px; }
  .hero-centered-title { font-size: clamp(32px, 11vw, 44px); }
  body[data-theme="studio"] .hero-centered-title { font-size: clamp(28px, 9vw, 40px); }

  /* Footer bigmark : encore plus petit */
  .footer-bigmark { font-size: clamp(40px, 14vw, 80px); }

  /* Reviews wall : 1 col (existant à 560, on assouplit la hauteur) */
  .rw-wall { grid-template-columns: 1fr; height: 520px; gap: 14px; }
  .rw-wall .rw-col:nth-child(2),
  .rw-wall .rw-col:nth-child(3) { display: none; }
  .rw-card { padding: 18px 18px 16px; }
  .rw-quote { font-size: 14px; }
  .rw-foot { flex-wrap: wrap; }

  /* News card */
  .news-card { padding: 18px; }
  .news-card-body { padding: 16px 18px 18px; }

  /* Buttons un peu plus compacts */
  .btn { padding: 11px 16px; font-size: 11px; }
  .btn-lg { padding: 13px 20px; }
  body[data-theme="studio"] .btn { padding: 12px 18px; font-size: 13px; }

  /* Nav careers CTA — visuellement allégé */
  .nav-careers-cta { padding: 4px 14px 4px 4px; font-size: 12px; }
  .nav-careers-dot { width: 22px; height: 22px; }

  /* Lawyer name */
  .lawyer-name { font-size: clamp(30px, 11vw, 44px); }

  /* Section padding allégé encore */
  .section-cta,
  body[data-theme="studio"] .section-cta { padding: 36px 18px; border-radius: 14px; }
  .prefooter-cta { padding: 40px 18px 44px; }
  .prefooter-cta-title { font-size: clamp(24px, 8vw, 32px); }
  .prefooter-cta-lede { font-size: clamp(16px, 5vw, 20px); }

  /* Hide hide-md helper if anything is still showing */
  .hide-md { display: none !important; }

  /* Footer */
  .footer-card { padding: 24px 16px 20px; border-radius: 16px; }
  .footer-legal { gap: 12px; }

  /* Job row title */
  .job-role { font-size: 15px; }

  /* Author actions wrap nicely */
  .author-actions { flex-wrap: wrap; }
}

/* ==========================================================================
   Très grand écran : centrage doux pour éviter les longueurs de ligne
   ========================================================================== */
@media (min-width: 1680px) {
  .page,
  body[data-theme="studio"] .page,
  .nav-inner,
  body[data-theme="studio"] .nav-inner,
  .footer-card,
  .footer-bigmark { max-width: var(--shell-max-width); }
}

/* ==========================================================================
   HOME — section "§ Le cabinet Novalis" (firm-intro restauré)
   ========================================================================== */
.home-firm-intro { padding-top: 56px; padding-bottom: 24px; }
.home-firm-intro-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.home-firm-intro-head { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.home-firm-intro-head .page-eyebrow { margin-bottom: 0; }
.home-firm-intro-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
body[data-theme="modernist"] .home-firm-intro-title {
  font-family: var(--sans);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: clamp(22px, 2.4vw, 32px);
}
.home-firm-intro-body {
  display: flex; flex-direction: column; gap: 18px;
  font-family: var(--display);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.home-firm-intro-body p { margin: 0; }
.home-firm-intro-body strong { color: var(--ink); font-weight: 500; }
body[data-theme="modernist"] .home-firm-intro-body {
  font-family: var(--sans);
  font-size: clamp(16px, 1.1vw, 18px);
  letter-spacing: 0;
}
.home-firm-intro-cta {
  margin-top: 12px;
  align-self: flex-start;
}

@media (max-width: 992px) {
  .home-firm-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-firm-intro-head { position: static; }
}
@media (max-width: 768px) {
  .home-firm-intro { padding-top: 32px; }
  .home-firm-intro-body { font-size: 17px; line-height: 1.55; }
}

/* ==========================================================================
   CONTACT FORM 7 — intégration design Novalis
   On stylise .wpcf7-form pour qu'elle se comporte exactement comme
   .contact-form (carte respirante, sections, underlines éditoriaux).
   ========================================================================== */

.wpcf7 { width: 100%; }
.wpcf7-form.init,
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 36px 36px 32px;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  margin: 0;
}
body[data-theme="studio"] .wpcf7-form { background: var(--paper); border-radius: 20px; }

.wpcf7-form .form-row { display: flex; flex-direction: column; gap: 10px; }
.wpcf7-form .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wpcf7-form .form-row > label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .15s;
}
.wpcf7-form .form-row:focus-within > label { color: var(--accent); }

/* span.wpcf7-form-control-wrap doit être block pour suivre le label */
.wpcf7-form .wpcf7-form-control-wrap { display: block; }

/* Inputs — sous-ligne éditoriale */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 10px 0;
  font-family: var(--display);
  font-size: 18px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, padding .2s;
  width: 100%;
  box-shadow: none;
}
body[data-theme="modernist"] .wpcf7-form input[type="text"],
body[data-theme="modernist"] .wpcf7-form input[type="email"],
body[data-theme="modernist"] .wpcf7-form input[type="tel"],
body[data-theme="modernist"] .wpcf7-form input[type="url"],
body[data-theme="modernist"] .wpcf7-form textarea { font-family: var(--sans); font-size: 16px; }
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder { color: var(--ink-mute); opacity: 0.7; }
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-bottom-color: var(--accent);
  border-bottom-width: 2px;
  padding-bottom: 9px;
}
.wpcf7-form textarea { resize: vertical; min-height: 120px; }

/* Topic chips (radio dans .topic-grid) */
.wpcf7-form .topic-grid { padding-top: 2px; }
.wpcf7-form .topic-grid .wpcf7-radio,
.wpcf7-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wpcf7-form .wpcf7-list-item { margin: 0; }
.wpcf7-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
  transition: border-color .15s, color .15s, background .15s;
}
.wpcf7-form .wpcf7-list-item label::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rule);
  transition: background .15s, transform .15s;
}
.wpcf7-form .wpcf7-list-item input[type="radio"],
.wpcf7-form .wpcf7-list-item input[type="checkbox"] {
  position: absolute;
  opacity: 0; pointer-events: none;
  width: 0; height: 0;
}
.wpcf7-form .wpcf7-list-item-label { padding: 0; }
.wpcf7-form .wpcf7-list-item label:hover {
  border-color: color-mix(in oklch, var(--accent) 40%, var(--rule));
  color: var(--ink);
}
.wpcf7-form .wpcf7-list-item label:hover::before { background: var(--accent); }
.wpcf7-form .wpcf7-list-item:has(input:checked) label {
  background: var(--accent);
  color: var(--card);
  border-color: var(--accent);
}
.wpcf7-form .wpcf7-list-item:has(input:checked) label::before {
  background: var(--card);
  transform: scale(1.2);
}
body[data-theme="modernist"] .wpcf7-form .wpcf7-list-item:has(input:checked) label { color: #0E0F0D; }
body[data-theme="studio"] .wpcf7-form .wpcf7-list-item label { background: #fff; }

/* File upload — chip pill */
.wpcf7-form .cf7-file {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 12px;
}
.wpcf7-form input[type="file"],
.wpcf7-form .wpcf7-file {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
}
.wpcf7-form input[type="file"]::file-selector-button {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  margin-right: 14px;
  transition: border-color .15s, color .15s;
}
.wpcf7-form input[type="file"]::file-selector-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Footer du form : submit + note alignés */
.wpcf7-form .form-submit {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
}
.wpcf7-form .wpcf7-submit,
.wpcf7-form input[type="submit"].btn {
  font-family: var(--sans);
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
}
.wpcf7-form .form-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}
.wpcf7-form .wpcf7-spinner {
  background-color: var(--ink-mute);
  margin-left: 8px;
}

/* Validation + response */
.wpcf7-form .wpcf7-not-valid-tip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #B94552;
  margin-top: 6px;
  text-transform: none;
}
.wpcf7-form .wpcf7-not-valid { border-bottom-color: #B94552 !important; }
.wpcf7 .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--card);
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2F8C5F; color: #2F8C5F; background: #EFFAF3;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #B94552; color: #B94552; background: #FBEEF0;
}

/* ==========================================================================
   single-job — fiche d'offre (hero with-banner + grid form/aside)
   ========================================================================== */
.job-detail .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
  text-decoration: none;
  transition: color .15s;
}
.job-detail .back-link:hover { color: var(--accent); }

.job-detail .job-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.job-detail .job-body-section .section-head { margin-bottom: 28px; }
.job-detail .job-body {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}
.job-detail .job-body p { margin: 0 0 1em; }
.job-detail .job-body h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.01em;
  margin: 2em 0 0.5em;
}
.job-detail .job-body h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.005em;
  margin: 1.6em 0 0.4em;
}
.job-detail .job-body ul,
.job-detail .job-body ol { padding-left: 1.4em; margin: 0 0 1em; }
.job-detail .job-body li { margin-bottom: 0.4em; }
body[data-theme="modernist"] .job-detail .job-body h2,
body[data-theme="modernist"] .job-detail .job-body h3 {
  font-family: var(--sans);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Aside : portrait card + meta poste */
.careers-portrait-card { padding: 8px; overflow: hidden; }
.careers-portrait-card .careers-portrait { margin: 0; }
.careers-portrait-card .careers-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 6px);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.careers-aside-role {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
body[data-theme="modernist"] .careers-aside-role {
  font-family: var(--sans);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.careers-aside-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* careers-apply-section : on hérite de .section, pas de padding form custom */
.careers-apply-section .contact-grid { padding-top: 32px; }

/* Responsive */
@media (max-width: 992px) {
  .careers-apply-section .contact-grid { gap: 40px; }
}
@media (max-width: 768px) {
  .wpcf7-form { padding: 24px 20px 22px; gap: 24px; }
  .wpcf7-form .form-row-2 { grid-template-columns: 1fr; gap: 18px; }
  .wpcf7-form .form-submit { flex-direction: column; align-items: stretch; }
  .wpcf7-form .form-submit .wpcf7-submit,
  .wpcf7-form .form-submit input[type="submit"].btn { width: 100%; justify-content: center; }
  .careers-apply-section .contact-grid { padding-top: 24px; gap: 32px; }
  .job-detail .job-body h2 { margin-top: 1.4em; }
}

/* ═══════════════════════════════════════════════════════════════════
   Révision contenus oct. 2025 — nouveaux composants
   ═══════════════════════════════════════════════════════════════════ */

/* §8.4 — logo & bandeau de menu agrandis (rev. juin 2026 — demande YA : plus grand) */
.brand-logo { height: 52px; }
body[data-theme="studio"] .nav-capsule .brand-logo { height: 54px; }
.nav-capsule { padding-top: 14px; padding-bottom: 14px; }

/* §2.0 — expertise phare mise en avant (carte) */
.practice-card--featured {
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}
.practice-card--featured .practice-name { color: #161d37; }
.practice-card--featured::before {
  content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--accent);
}
.practice-card--featured:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }

/* §1.3 — "À qui nous nous adressons" */
.audiences-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--rule-soft);
}
.audience-card {
  padding: 30px 26px 28px; border-right: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft); display: flex; flex-direction: column; gap: 10px;
}
.audience-card:last-child { border-right: 0; }
.audience-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); }
.audience-title { font-family: var(--display); font-size: clamp(18px, 1.4vw, 22px); line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; }
.audience-text { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

/* §5.1 — canaux de contact directs */
.contact-channels-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--rule-soft);
}
.contact-channel {
  padding: 26px 24px; border-right: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft); display: flex; flex-direction: column; gap: 8px;
}
.contact-channel:last-child { border-right: 0; }
.contact-channel-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.contact-channel-value { font-family: var(--display); font-size: clamp(18px, 1.5vw, 24px); color: var(--accent); letter-spacing: -0.01em; }
.contact-channel-value:hover { text-decoration: underline; }
.contact-channel-addr { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.contact-channel-map { font-size: 13px; color: var(--accent); font-weight: 500; margin-top: auto; }
.contact-channel-map:hover { text-decoration: underline; }

/* §5.1 — en-tête du formulaire "Vous préférez écrire ?" */
.contact-form-head { margin-bottom: 24px; }
.contact-form-title { font-family: var(--display); font-size: clamp(24px, 2vw, 32px); letter-spacing: -0.01em; color: var(--ink); }
.contact-form-lede { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin-top: 8px; }
.contact-form-lede strong { color: var(--ink); }

/* §3 — bloc réseau Eurojuris enrichi */
.firm-network-title { font-family: var(--display); font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -0.01em; color: var(--ink); margin: 8px 0 16px; }
.firm-network-cases { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 14px; }
.firm-network-cases li { padding-left: 18px; position: relative; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.firm-network-cases li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.firm-network-cases strong { color: var(--ink); }
.firm-network-text--closing { font-style: italic; color: var(--ink); }

/* §4.2 — ligne de contact avocat (e-mail · tél) */
.lawyer-contact-line a { color: var(--accent); }
.lawyer-contact-line a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  body[data-theme="studio"] .audiences-grid,
  .audiences-grid.audiences-grid { grid-template-columns: 1fr; }
  .audiences-grid .audience-card { border-right: 0 !important; }
}
@media (max-width: 860px) {
  .audiences-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-card:nth-child(2n) { border-right: 0; }
  .contact-channels-grid { grid-template-columns: 1fr; }
  .contact-channel { border-right: 0; }
}

/* §8.4 — image de fond plein hero + slider de l'équipe net par-dessus */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  border-radius: 8px;
}
/* Dégradé blanc ancré en bas : l'image est pleinement visible en haut (derrière
   le titre) puis se fond en blanc plein juste au-dessus du slider, qui repose
   ainsi sur une base blanche nette. */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,
    #ffffff 0%,
    #ffffff 42%,
    rgba(255,255,255,0) 70%);
}
.has-hero-bg .hero-centered-top,
.has-hero-bg .hero-marquee { position: relative; z-index: 1; }
.has-hero-bg .hero-marquee-name { text-shadow: 0 1px 3px rgba(255,255,255,0.95); }
.has-hero-bg .hero-marquee-role { text-shadow: 0 1px 3px rgba(255,255,255,0.9); }

/* §3 — logo Eurojuris dans le bloc Réseau (taille modérée) */
/* ── Retrait des libellés « § … » partout (rév. FVDB juin 2026) ──
   On masque les eyebrows/marqueurs § (les vrais titres H1/H2 restent).
   .contact-eyebrow est volontairement épargné (sert aussi à « Cabinet · ville »). */
.page-eyebrow,
.section-num,
.firm-network-eyebrow,
.news-hero-author-eyebrow,
.news-authors-eyebrow,
.sidebar-eyebrow,
.sidebar-cta-eyebrow,
.prefooter-cta-eyebrow { display: none !important; }
/* La grille section-head réservait une colonne pour le § → on la replie */
.section-head,
body[data-theme="studio"] .section-head { grid-template-columns: 1fr auto !important; }

.office-map { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 14px; color: var(--accent-2); text-decoration: none; }
.office-map:hover { text-decoration: underline; }
.firm-network-cta { margin-top: 28px; }
.firm-network-cta .arrow { display: inline-flex; vertical-align: middle; margin-left: 4px; }
.firm-network-logo { margin-top: 28px; }
.firm-network-logo img { height: 46px; width: auto; display: block; }
@media (max-width: 600px) { .firm-network-logo img { height: 38px; } }

/* ═══════════════════════════════════════════════════════════════════
   Palette « Marine profond + Azur » (révision couleurs oct. 2025)
   Principal = marine profond #16203F · Accent secondaire = azur #2E6BE6
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --accent:   #16203F;   /* marine profond — surfaces & primaire */
  --accent-2: #2E6BE6;   /* azur vif — accent secondaire (pop) */
}

/* Marqueurs éditoriaux (§, point du hero) → azur : rythme coloré sur tout le site */
.hero-eyebrow .dot { background: var(--accent-2); }
.page-eyebrow,
.section-num,
body[data-theme="studio"] .page-eyebrow,
body[data-theme="studio"] .section-num { color: var(--accent-2); }

/* Survols interactifs → flèches azur */
.practice-row:hover .practice-row-arrow,
.practice-card:hover .practice-arrow,
.job-row:hover .job-arrow .arrow,
.job-row.is-selected .job-arrow .arrow,
.section-head-aside:hover .arrow,
.lawyer-publication:hover .lawyer-publication-arrow { color: var(--accent-2); }

/* Liens & détails d'accent → azur */
.contact-channel-value,
.contact-channel-map,
.lawyer-contact-line a,
.firm-network-text strong,
.firm-network-cases li::before,
.rw-quote::before,
.rw-quote::after { color: var(--accent-2); }

/* Expertises phares — accent azur (les faire ressortir) */
.practice-card--featured { background: color-mix(in srgb, var(--accent-2) 6%, transparent); }
.practice-card--featured .practice-name { color: #161d37; }
.practice-card--featured::before { background: var(--accent-2); }
.practice-card--featured:hover { background: color-mix(in srgb, var(--accent-2) 11%, transparent); }

/* ── Expertises (rev. juin 2026) — titres azur uniformes + correctif « gris » ── */
/* Titre de la même couleur (azur) sur TOUTES les cartes, plus seulement les phares */
.practice-grid .practice-name,
body[data-theme="studio"] .practice-grid .practice-name { color: #161d37; }
/* Hover : teinte azur subtile au lieu du gris terne (--bg-2) */
.practice-card:hover,
body[data-theme="studio"] .practice-card:hover { background: color-mix(in srgb, var(--accent-2) 7%, var(--paper, #fff)); }
.practice-card--featured:hover,
body[data-theme="studio"] .practice-card--featured:hover { background: color-mix(in srgb, var(--accent-2) 12%, var(--paper, #fff)); }
/* Cellule vide de la grille (5 expertises sur 3 colonnes) : carte de remplissage
   pour masquer le fond gris (--rule-soft) qui transparaissait sur la case vide. */
.practice-card--filler { background: var(--paper, #fff); pointer-events: none; min-height: 240px; }
body[data-theme="studio"] .practice-card--filler { background: var(--paper); }
.practice-card--filler::before { display: none !important; }
/* En 1 colonne (≤768px), pas de cellule vide à combler → on retire le remplissage */
@media (max-width: 768px) { .practice-card--filler { display: none; } }
