/* ==========================================================================
   BLACKBIRD — Avocats associés
   Feuille de style principale
   ========================================================================== */

:root {
  --ink: #0d1117;
  --navy: #0f1a2b;
  --navy-2: #16243a;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line: #e3ded3;
  --line-dark: rgba(255, 255, 255, .14);
  --muted: #5d6370;
  --muted-light: rgba(255, 255, 255, .68);
  --brass: #a8834a;
  --brass-light: #c9a76f;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand: "Jost", "Futura", "Century Gothic", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1.1em; }
::selection { background: var(--brass); color: #fff; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip-link:focus { top: 16px; }

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

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }

.display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -.01em;
}
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -.005em;
}
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: var(--muted); }
.serif-italic { font-family: var(--serif); font-style: italic; }

/* ---------- Boutons & liens ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; border: 1px solid currentColor;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn--solid:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--brass); border-color: var(--brass); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--brass);
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { gap: 16px; color: var(--brass); }

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

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: #fff;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; transition: height .4s var(--ease); }
.site-header.is-solid,
.site-header.is-light {
  background: rgba(255,255,255,.97); color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(140%) blur(10px);
}
.site-header.is-solid .wrap { height: 74px; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--brand); font-weight: 600; font-size: 25px; letter-spacing: .14em; }
.brand__tag { margin-top: 7px; font-size: 10px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; opacity: .7; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  position: relative; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .nav__cta {
  padding: 11px 20px; border: 1px solid currentColor; letter-spacing: .12em;
  transition: background .3s, color .3s, border-color .3s;
}
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { background: var(--brass); border-color: var(--brass); color: #fff; }

.menu-toggle {
  display: none; background: none; border: 0; color: inherit; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; margin-right: -10px;
}
.menu-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; position: relative; z-index: 120; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; gap: 8px;
    background: var(--navy); color: #fff;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav a { font-family: var(--serif); font-size: 32px; text-transform: none; letter-spacing: 0; }
  .nav .nav__cta { margin-top: 24px; font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- Hero d'accueil ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; background: var(--navy); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,17,23,.55) 0%, rgba(13,17,23,.15) 35%, rgba(13,17,23,.85) 100%),
    linear-gradient(90deg, rgba(13,17,23,.6) 0%, rgba(13,17,23,0) 70%);
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__content { position: relative; width: 100%; padding-top: 160px; padding-bottom: clamp(56px, 9vh, 110px); }
.hero__title { max-width: 980px; margin: 26px 0 30px; }
.hero__title em { font-style: italic; color: var(--brass-light); }
.hero__text { max-width: 600px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted-light); margin-bottom: 42px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__facts {
  position: relative; margin-top: clamp(56px, 9vh, 96px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero__facts li { padding: 26px 24px 0 0; font-size: 14px; color: var(--muted-light); line-height: 1.5; }
.hero__facts sup { font-size: .55em; line-height: 0; }
.hero__facts strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; color: #fff; margin-bottom: 4px; }
@media (max-width: 820px) {
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts li { padding-bottom: 10px; }
}

/* ---------- En-tête de page intérieure ---------- */

.page-hero {
  position: relative; color: #fff; background: var(--navy);
  padding: clamp(150px, 20vw, 220px) 0 clamp(64px, 8vw, 104px); overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/paris-nuit.jpg") center 40% / cover no-repeat;
  opacity: .22;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,26,43,.4), rgba(15,26,43,.95));
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; margin: 22px 0 0; max-width: 900px; }
.page-hero p { max-width: 680px; margin: 26px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted-light); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { color: var(--brass-light); }

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

.section { padding: var(--section) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark .lead { color: var(--muted-light); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .h2 { margin-top: 20px; }
.section-head--stack { grid-template-columns: 1fr; max-width: 820px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Intro cabinet */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.intro__media { position: relative; }
.intro__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 58% center; }
.intro__media::before {
  content: ""; position: absolute; left: -22px; top: -22px; width: 55%; height: 55%;
  border-left: 1px solid var(--brass); border-top: 1px solid var(--brass); z-index: -1;
}
.intro__quote {
  position: absolute; right: -32px; bottom: 40px; max-width: 300px;
  background: var(--navy); color: #fff; padding: 30px 32px;
  font-family: var(--serif); font-size: 23px; font-style: italic; line-height: 1.35;
}
.intro__body .h2 { margin: 20px 0 30px; }
.intro__body p { color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 40px 0 44px; border-top: 1px solid var(--line); }
.values li { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: baseline; font-weight: 500; }
.values li:nth-child(odd) { padding-right: 20px; }
.values span { font-family: var(--serif); color: var(--brass); font-size: 18px; }
@media (max-width: 960px) {
  .intro { grid-template-columns: 1fr; }
  .intro__media { max-width: 560px; }
  .intro__quote { right: 16px; bottom: -28px; }
  .intro__body { margin-top: 30px; }
}

/* ---------- Expertises ---------- */

.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.practice {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(32px, 3.4vw, 48px); min-height: 360px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--white); transition: background .45s var(--ease), color .45s var(--ease);
}
.practice__num { font-family: var(--serif); font-size: 18px; color: var(--brass); }
.practice h3 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.15; margin: 56px 0 18px; }
.practice p { font-size: 15px; color: var(--muted); transition: color .45s; }
.practice .link-arrow { margin-top: auto; align-self: flex-start; }
.practice:hover { background: var(--navy); color: #fff; }
.practice:hover p { color: var(--muted-light); }
@media (max-width: 980px) { .practice-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .practice-grid { grid-template-columns: 1fr; } .practice { min-height: 0; } .practice h3 { margin-top: 28px; } }

/* Page expertises détaillée */
.expertise { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.expertise:first-child { border-top: 0; padding-top: 0; }
.expertise__aside { position: sticky; top: 110px; align-self: start; }
.expertise__aside .practice__num { display: block; margin-bottom: 18px; }
.expertise__aside h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.08; }
.expertise__aside p { margin-top: 20px; color: var(--muted); font-size: 15px; }
.expertise__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.expertise__list li { position: relative; padding: 20px 0 20px 30px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.expertise__list li::before { content: ""; position: absolute; left: 0; top: 31px; width: 14px; height: 1px; background: var(--brass); }
.expertise__people { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.expertise__people > span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.chip-person { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; }
.chip-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(1); transition: filter .3s; }
.chip-person:hover img { filter: grayscale(0); }
.chip-person:hover { color: var(--brass); }
@media (max-width: 900px) {
  .expertise { grid-template-columns: 1fr; }
  .expertise__aside { position: static; }
  .expertise__list { grid-template-columns: 1fr; }
}

.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.toc a { padding: 10px 18px; border: 1px solid var(--line-dark); font-size: 13px; letter-spacing: .06em; color: #fff; transition: background .3s, border-color .3s; }
.toc a:hover { background: var(--brass); border-color: var(--brass); }

/* ---------- Distinctions (bandeau) ---------- */

.awards { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.awards__feature { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; padding: 32px; border: 1px solid var(--line-dark); }
.awards__feature img { width: 100%; background: #fff; }
.awards__feature .h3 { margin: 10px 0 8px; }
.awards__feature p { color: var(--muted-light); margin: 0; font-size: 15px; }
.awards__list li { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.awards__list li:first-child { border-top: 1px solid var(--line-dark); }
.awards__year { font-family: var(--serif); font-size: 26px; color: var(--brass-light); line-height: 1.2; }
.awards__list strong { display: block; font-weight: 500; }
.awards__list small { display: block; color: var(--muted-light); font-size: 14px; }
@media (max-width: 960px) { .awards { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .awards__feature { grid-template-columns: 1fr; } .awards__feature img { max-width: 220px; } }

/* ---------- Équipe ---------- */

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.team-grid--home { grid-template-columns: repeat(3, 1fr); }
.member { display: block; }
.member__photo { position: relative; overflow: hidden; background: var(--paper); aspect-ratio: 4 / 5; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1) contrast(1.04); transform: scale(1.01); transition: filter .6s var(--ease), transform .8s var(--ease); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.05); }
.member__photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brass);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.member:hover .member__photo::after { transform: scaleX(1); }
.member__name { font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.2; margin-top: 20px; }
.member__role { margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.member__areas { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.section--dark .member__areas { color: var(--muted-light); }
@media (max-width: 860px) { .team-grid--home { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid, .team-grid--home { grid-template-columns: 1fr 1fr; } .member__name { font-size: 21px; } }

.team-group + .team-group { margin-top: clamp(64px, 8vw, 110px); }
.team-group__title { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; }
.team-group__title h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; white-space: nowrap; }
.team-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Profil ---------- */

.profile-hero { background: var(--navy); color: #fff; padding: clamp(130px, 16vw, 170px) 0 0; position: relative; overflow: hidden; }
.profile-hero__grid { display: grid; grid-template-columns: 1fr 420px; gap: clamp(32px, 6vw, 96px); align-items: end; }
.profile-hero__text { padding-bottom: clamp(48px, 6vw, 88px); }
.profile-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 6vw, 84px); line-height: 1; margin: 26px 0 14px; }
.profile-hero .role { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); }
.profile-hero .summary { margin-top: 28px; max-width: 560px; font-size: 18px; color: var(--muted-light); }
.profile-contact { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; font-size: 15px; }
.profile-contact a { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-dark); padding-bottom: 6px; transition: border-color .3s, color .3s; }
.profile-contact a:hover { border-color: var(--brass-light); color: var(--brass-light); }
.profile-contact svg { width: 17px; height: 17px; color: var(--brass-light); }
.profile-hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
@media (max-width: 900px) {
  .profile-hero__grid { grid-template-columns: 1fr; }
  .profile-hero__photo { order: -1; max-width: 340px; }
  .profile-hero__text { padding-bottom: 56px; }
  .profile-hero h1 { margin-top: 18px; }
}

.profile-body { display: grid; grid-template-columns: 1fr 340px; gap: clamp(40px, 7vw, 110px); }
.prose { font-size: 17px; line-height: 1.8; color: #2a2f38; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1.15; margin: 1.6em 0 .7em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 1.6em 0 .6em; color: var(--ink); }
.prose a { color: var(--brass); border-bottom: 1px solid currentColor; }
.prose ul { margin: 0 0 1.4em; }
.prose ul li { position: relative; padding: 4px 0 4px 26px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 1em; width: 12px; height: 1px; background: var(--brass); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--brass); font-family: var(--serif); font-size: 24px; font-style: italic; line-height: 1.45; color: var(--ink); }

.areas-block + .areas-block { margin-top: 40px; }
.areas-block h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin-bottom: 8px; }
.areas-list li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.55; }
.areas-list li::before { content: ""; position: absolute; left: 0; top: 26px; width: 14px; height: 1px; background: var(--brass); }

.sidebar-card { background: var(--paper); padding: 32px; }
.sidebar-card + .sidebar-card { margin-top: 20px; }
.sidebar-card h3 { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; font-family: var(--sans); }
.sidebar-card li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.sidebar-card li:last-child { border-bottom: 0; }
.sidebar-card a:hover { color: var(--brass); }
.sidebar-card .doc { display: flex; justify-content: space-between; gap: 16px; }
.sidebar-card .doc small { flex-shrink: 0; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--muted); padding-top: 3px; }
@media (max-width: 960px) { .profile-body { grid-template-columns: 1fr; } }

.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 24px; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.profile-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.profile-nav a { padding: 40px var(--gutter); display: flex; flex-direction: column; gap: 6px; transition: background .3s; }
.profile-nav a:hover { background: var(--paper); }
.profile-nav a + a { text-align: right; border-left: 1px solid var(--line); }
.profile-nav small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.profile-nav span { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); }

/* ---------- Publications / actualités ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filters button {
  font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .06em; cursor: pointer;
  padding: 10px 20px; background: transparent; border: 1px solid var(--line); color: var(--ink);
  transition: background .3s, color .3s, border-color .3s;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.post-card {
  display: flex; flex-direction: column; padding: 36px 34px 32px; min-height: 340px;
  background: var(--white); border: 1px solid var(--line);
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.section--paper .post-card { border-color: transparent; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(13,17,23,.35); border-color: transparent; }
.post-card__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-card__meta .cat { color: var(--brass); }
.post-card h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.22; margin: 28px 0 14px; }
.post-card p { font-size: 15px; color: var(--muted); }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; }
.post-card[hidden] { display: none; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .post-grid { grid-template-columns: 1fr; } .post-card { min-height: 0; } }

.article { max-width: 760px; margin: 0 auto; }
.article .byline { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--muted); margin-bottom: 36px; }
.article-cta { margin-top: 56px; padding: 40px; background: var(--paper); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.article-cta p { margin: 0; max-width: 440px; font-family: var(--serif); font-size: 23px; line-height: 1.35; }

/* Distinctions page */
.award-row { display: grid; grid-template-columns: 160px 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.award-row:first-child { border-top: 1px solid var(--line); }
.award-row .awards__year { color: var(--brass); font-size: 44px; }
.award-row li { padding: 10px 0; display: grid; grid-template-columns: 1fr auto; gap: 20px; border-bottom: 1px dashed var(--line); }
.award-row li:last-child { border-bottom: 0; }
.award-row .tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }
.award-row a { border-bottom: 1px solid var(--line); }
.award-row a:hover { color: var(--brass); border-color: var(--brass); }
@media (max-width: 700px) { .award-row { grid-template-columns: 1fr; gap: 12px; } .award-row li { grid-template-columns: 1fr; gap: 2px; } }

/* Formations */
.training { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.training li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.training .practice__num { font-size: 22px; }
.training strong { display: block; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.25; }
.training small { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 820px) { .training { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-top: 34px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 10px 0 0; font-family: var(--serif); font-size: 26px; line-height: 1.35; }
.contact-info dd a:hover { color: var(--brass); }
.contact-info dd small { display: block; font-family: var(--sans); font-size: 15px; color: var(--muted); line-height: 1.7; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  padding: 12px 0; border: 0; border-bottom: 1px solid #cfc8ba; background: transparent; border-radius: 0;
  transition: border-color .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.form .consent { font-size: 13px; color: var(--muted); display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.form .consent input { margin-top: 4px; accent-color: var(--brass); }
.form button { cursor: pointer; font-family: inherit; justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.map { margin-top: var(--section); position: relative; height: 460px; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- Bandeau CTA ---------- */

.cta-band { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../img/cabinet-reunion.jpg") center / cover; opacity: .16; filter: grayscale(1); }
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-end; padding-top: clamp(80px, 10vw, 130px); padding-bottom: clamp(80px, 10vw, 130px); }
.cta-band .h2 { max-width: 720px; margin-top: 20px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

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

.site-footer { background: var(--ink); color: var(--muted-light); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding: clamp(64px, 8vw, 96px) 0 56px; }
.site-footer .brand { color: #fff; margin-bottom: 24px; }
.site-footer h4 { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--brass-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 28px 0 36px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer-bottom nav { display: flex; gap: 24px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Animations d'apparition ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.no-js .reveal { opacity: 1; transform: none; }

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

@media print {
  .site-header, .site-footer, .cta-band, .map, .filters { display: none; }
  .page-hero, .profile-hero { background: none; color: var(--ink); padding: 20px 0; }
  .page-hero::before, .page-hero::after { display: none; }
}

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

.lang { display: flex; align-items: center; gap: 2px; margin-left: -6px; }
.nav .lang a { padding: 6px 7px; font-size: 12px; letter-spacing: .1em; opacity: .55; transition: opacity .3s; }
.nav .lang a::after { display: none; }
.nav .lang a:hover, .nav .lang a[aria-current="page"] { opacity: 1; }
.nav .lang a[aria-current="page"] { color: var(--brass-light); }
.site-header.is-solid .nav .lang a[aria-current="page"] { color: var(--brass); }
@media (max-width: 1020px) {
  .lang { margin: 20px 0 0; gap: 10px; }
  .nav .lang a { font-family: var(--sans); font-size: 14px; letter-spacing: .14em; }
}
