/* BLVC Avocats — cabinet d'avocats associés, Paris
 * Direction « sombre et feutré » (maquette C retenue le 2026-10-03) : vert très profond, cuivre et crème,
 * capitales Marcellus (SIL OFL 1.1, fonts/OFL-marcellus.txt), Paris de nuit, portraits en médaillons.
 * Feuille de style unique, aucune ressource externe. Mobile d'abord ; contrastes ≥ 4,5:1 sur fond sombre.
 */

@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marcellus.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --fond: #0e1c17;
  --fond-2: #13261f;
  --fond-3: #0a1511;
  --creme: #efe6d6;
  --creme-doux: #c9bfae;
  --discret: #a99f8e;
  --cuivre: #c98a5c;
  --cuivre-clair: #e0aa80;
  --filet: rgba(201, 138, 92, .35);
  --titre: "Marcellus", "Trajan Pro", "Optima", Georgia, serif;
  --texte: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --marge: clamp(1.25rem, 5vw, 4rem);
  --largeur: 72rem;
  --etroit: 46rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--creme);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--titre);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .06em;
  color: #fff;
  text-wrap: balance;
}
p, ul, ol, dl { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li + li { margin-top: .35em; }
strong { color: #fff; font-weight: 600; }
a { color: var(--creme); text-underline-offset: .2em; text-decoration-color: var(--cuivre); }
a:hover { color: #fff; text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cuivre-clair); outline-offset: 3px; }
main:focus { outline: none; }

.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.evitement { position: absolute; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--creme); color: var(--fond); font-weight: 600; }
.evitement:focus { top: 1rem; color: var(--fond); }

/* Bandeau d'aperçu (cible « apercu » uniquement) */
.bandeau-apercu { margin: 0; padding: .5rem var(--marge); background: var(--cuivre); color: #1a120c; font-size: .8rem; line-height: 1.5; text-align: center; }

/* ---------- En-tête ---------- */
.entete { position: relative; z-index: 10; background: var(--fond-3); border-bottom: 1px solid var(--filet); }
.entete-int { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 2rem; max-width: 90rem; margin: 0 auto; padding: 1rem var(--marge); }
.marque { color: var(--creme); text-decoration: none; font-family: var(--titre); font-size: 1.35rem; letter-spacing: .28em; text-transform: uppercase; }
.marque:hover { color: #fff; }
.marque-mot { color: var(--cuivre-clair); }
.menu-bouton { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: 0; background: none; border: 0; color: var(--creme); font: inherit; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.menu-bouton[hidden] { display: none; }
.menu-icone, .menu-icone::before, .menu-icone::after { display: block; width: 1.3rem; height: 1px; background: var(--cuivre-clair); }
.menu-icone { position: relative; }
.menu-icone::before, .menu-icone::after { content: ""; position: absolute; }
.menu-icone::before { top: -5px; }
.menu-icone::after { top: 5px; }
.menu-bouton[aria-expanded="true"] .menu-icone { background: transparent; }
.menu-bouton[aria-expanded="true"] .menu-icone::before { top: 0; transform: rotate(45deg); }
.menu-bouton[aria-expanded="true"] .menu-icone::after { top: 0; transform: rotate(-45deg); }
.nav { width: 100%; }
.nav ul { display: flex; flex-wrap: wrap; gap: 0 1.8rem; margin: 0; padding: 0; list-style: none; }
.nav li + li { margin-top: 0; }
.nav a { display: inline-block; padding: .5rem 0; color: var(--creme-doux); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--cuivre); }
.nav a[aria-current="page"] { color: var(--cuivre-clair); border-bottom-color: var(--cuivre); }
@media (max-width: 63.99rem) {
  .js .nav { display: none; }
  .js .nav.ouvert { display: block; }
  .js .nav ul { flex-direction: column; align-items: center; padding: 1rem 0 1.4rem; border-top: 1px solid var(--filet); }
  .js .nav a { padding: .6rem 0; color: var(--creme); font-family: var(--titre); font-size: 1.15rem; }
}
@media (max-width: 30rem) { .marque { font-size: 1.05rem; letter-spacing: .16em; } }
@media (min-width: 64rem) {
  .menu-bouton { display: none !important; }
  .nav { width: auto; }
  .entete-int { flex-wrap: nowrap; }
}

/* ---------- Éléments communs ---------- */
.ornement { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: 0 0 1.2rem; color: var(--cuivre); font-size: .7rem; line-height: 1; }
.ornement span { width: 3.5rem; height: 1px; background: var(--cuivre); }
.etiquette { margin: 0 0 1rem; color: var(--cuivre-clair); font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; }
.chapo { max-width: 40rem; margin-left: auto; margin-right: auto; color: var(--creme); font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 300; line-height: 1.6; }
.petit { margin-top: 1.5rem; color: var(--creme); font-size: .85rem; letter-spacing: .06em; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2rem; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .75rem 1.6rem;
  background: var(--cuivre); border: 1px solid var(--cuivre); border-radius: 999px;
  color: #1a120c; text-decoration: none;
  font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.2;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.bouton:hover { background: var(--cuivre-clair); border-color: var(--cuivre-clair); color: #1a120c; }
.bouton-ligne { background: transparent; color: var(--creme); }
.bouton-ligne:hover { background: var(--cuivre); color: #1a120c; }
.centre { text-align: center; }

/* ---------- Héros et bandeaux photo : voile sombre (contraste garanti) ---------- */
.hero { position: relative; display: grid; place-items: center; min-height: min(90svh, 56rem); overflow: hidden; text-align: center; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo picture { display: contents; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10, 21, 17, .7) 0%, rgba(10, 21, 17, .82) 60%, rgba(10, 21, 17, .95) 100%); }
.hero-texte { position: relative; max-width: 60rem; padding: 6rem var(--marge); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 1rem + 7vw, 6.4rem); letter-spacing: .12em; text-transform: uppercase; }
.hero .etiquette { color: var(--creme); }
.hero-court { min-height: clamp(20rem, 55vh, 32rem); }
.hero-court h1 { font-size: clamp(2.2rem, 1rem + 5vw, 4.6rem); }

.entete-simple { padding: clamp(4rem, 9vw, 7rem) var(--marge) clamp(2.5rem, 5vw, 4rem); background: var(--fond-3); border-bottom: 1px solid var(--filet); text-align: center; }
.entete-simple h1 { font-size: clamp(2rem, 1rem + 4vw, 3.8rem); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Sections (« salons ») ---------- */
.salon { padding: clamp(4.5rem, 10vw, 8.5rem) var(--marge); text-align: center; }
.salon h2, .bande-texte h2, .contact h2 { color: #fff; font-size: clamp(1.9rem, 1rem + 3vw, 3.3rem); }
.salon > p:not(.chapo):not(.etiquette):not(.ornement):not(.a-confirmer) { max-width: 42rem; margin-left: auto; margin-right: auto; color: var(--creme-doux); }
.salon-fonce { background: var(--fond-3); }

.domaines { display: grid; gap: 1rem; max-width: var(--largeur); margin: 3rem auto 0; padding: 0; list-style: none; text-align: left; }
.domaines li + li { margin-top: 0; }
@media (min-width: 48rem) { .domaines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .domaines { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.domaines a { display: grid; gap: .3rem; height: 100%; padding: 1.6rem 1.5rem; background: var(--fond-2); border: 1px solid var(--filet); text-decoration: none; transition: border-color .3s ease; }
.domaines a:hover { border-color: var(--cuivre-clair); }
.num { color: var(--cuivre-clair); font-family: var(--titre); letter-spacing: .1em; }
.domaines .num { font-size: 1.1rem; }
.domaines .dom-titre { color: #fff; font-family: var(--titre); font-size: 1.3rem; line-height: 1.3; letter-spacing: .02em; }
.domaines .dom-resume { color: var(--creme-doux); font-size: .95rem; }

/* Médaillons */
.equipe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1rem; max-width: 64rem; margin: 3rem auto; padding: 0; list-style: none; }
.equipe li + li { margin-top: 0; }
@media (min-width: 56rem) { .equipe { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.associe a { display: grid; justify-items: center; gap: .3rem; text-decoration: none; }
.medaillon { display: block; width: min(100%, 11rem); aspect-ratio: 1; margin: 0 auto; padding: 5px; border: 1px solid var(--cuivre); border-radius: 50%; transition: border-color .3s ease; }
.medaillon picture { display: contents; }
.medaillon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: saturate(.85); }
.medaillon-vide { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--fond-2); color: var(--cuivre-clair); font-family: var(--titre); font-size: 2.2rem; letter-spacing: .1em; }
.medaillon.grand { width: min(100%, 15rem); margin-bottom: 1.4rem; }
.medaillon.tres-grand { width: min(100%, 20rem); padding: 7px; }
.associe .medaillon { margin-bottom: 1rem; }
.associe a:hover .medaillon, .associe a:focus-visible .medaillon { border-color: var(--cuivre-clair); }
.associe-nom { color: #fff; font-family: var(--titre); font-size: 1.25rem; letter-spacing: .04em; line-height: 1.3; }
.associe-titre { margin: 0; color: var(--cuivre-clair); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }

/* Bande de nuit (démarche) */
.bande-nuit { position: relative; padding: clamp(4.5rem, 10vw, 8.5rem) var(--marge); overflow: hidden; }
.bande-nuit .hero-photo::after { background: rgba(10, 21, 17, .86); }
.bande-texte { position: relative; text-align: center; }
.etapes { display: grid; gap: 1rem; max-width: var(--largeur); margin: 3rem auto 0; padding: 0; list-style: none; text-align: left; }
.etapes li + li { margin-top: 0; }
@media (min-width: 48rem) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80rem) { .etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.etapes li { padding: 1.6rem 1.5rem; background: rgba(14, 28, 23, .88); border: 1px solid var(--filet); }
.etapes .num { font-size: 1.6rem; }
.etapes h3 { margin: .5rem 0 .4rem; color: #fff; font-size: 1.2rem; letter-spacing: .04em; }
.etapes p { margin: 0; color: var(--creme-doux); font-size: .95rem; }

.contact { padding: clamp(4.5rem, 10vw, 8rem) var(--marge); background: var(--fond-2); border-top: 1px solid var(--filet); text-align: center; }

/* ---------- Équipe (page) ---------- */
.equipe-fiches { display: grid; gap: 1.5rem; max-width: var(--largeur); margin: 3rem auto 0; padding: 0; list-style: none; }
.equipe-fiches li + li { margin-top: 0; }
@media (min-width: 56rem) { .equipe-fiches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.carte-associe { padding: 2.5rem 1.5rem; background: var(--fond-2); border: 1px solid var(--filet); }
.carte-associe h2 { color: #fff; font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem); }
.carte-associe .associe-titre { margin-bottom: .6rem; }
.carte-associe .barreau { color: var(--creme-doux); font-size: .92rem; }
.carte-associe .fiche { max-width: 26rem; margin: 1.5rem auto; text-align: left; }

/* Fiche descriptive (dl) */
.fiche { margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--filet); text-align: left; }
.fiche > div { padding: .8rem 0; border-bottom: 1px solid var(--filet); }
.fiche dt { color: var(--cuivre-clair); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.fiche dd { margin: .15rem 0 0; }
.fiche dd ul { margin: 0; }
@media (min-width: 40rem) {
  .fiche-large > div { display: grid; grid-template-columns: 13rem 1fr; gap: 1.5rem; }
  .fiche-large dt { padding-top: .25rem; }
  .fiche-large dd { margin: 0; }
}

/* Fiche associé */
.fiche-associe { display: grid; gap: 2.5rem; max-width: var(--largeur); margin: 0 auto; align-items: start; }
@media (min-width: 56rem) { .fiche-associe { grid-template-columns: 21rem 1fr; gap: 5rem; } }
.fiche-associe-portrait { text-align: center; }
.fiche-associe-portrait .associe-titre { margin-top: .4rem; }
.fiche-associe h1 { color: #fff; font-size: clamp(2rem, 1rem + 3.5vw, 3.4rem); letter-spacing: .08em; }
.fiche-associe .etiquette { margin-bottom: .6rem; }
.fil-ariane { max-width: var(--largeur); margin: 0 auto 2.5rem; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.fil-ariane ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 56rem) { .fil-ariane ol { justify-content: flex-start; } }
.fil-ariane li + li { margin-top: 0; }
.fil-ariane li + li::before { content: "◆"; margin-right: .5rem; color: var(--cuivre); font-size: .6rem; vertical-align: .15em; }
.fil-ariane [aria-current] { color: var(--creme-doux); }
.navigation-associes { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; max-width: var(--largeur); margin: 3.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--filet); font-size: .9rem; }

/* ---------- Pages de texte ---------- */
.texte { max-width: var(--etroit); margin: 0 auto; text-align: left; }
.texte h2 { margin-top: 2.6rem; color: #fff; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); letter-spacing: .05em; }
.texte h2:first-child { margin-top: 0; }
.texte h2::before { content: "◆"; display: block; margin-bottom: .6rem; color: var(--cuivre); font-size: .7rem; }
.texte p, .texte li { color: var(--creme-doux); }
.texte li::marker { color: var(--cuivre); }
.domaine { padding: 2.4rem 0; border-bottom: 1px solid var(--filet); scroll-margin-top: 1rem; }
.domaine:first-of-type { padding-top: 0; }
.domaine:last-of-type { border-bottom: 0; }
.domaine h2 { margin: 0 0 .3rem; }
.domaine h2::before { content: none; }
.domaine .num { display: block; margin-bottom: .4rem; font-size: 1.1rem; }
.domaine .resume { color: var(--creme); font-size: 1.1rem; font-weight: 300; }

.encadre { margin: 2rem 0; padding: 1.4rem 1.6rem; background: var(--fond-2); border: 1px solid var(--filet); border-left: 2px solid var(--cuivre); text-align: left; }
.encadre p:last-child { margin-bottom: 0; }
.encadre .h-encadre { margin: 0 0 .5rem; font-size: 1.35rem; }
.encadre .h-encadre::before { content: none; }

.contact-liste { max-width: var(--etroit); margin: 0 auto 2rem; padding: 0; list-style: none; border-top: 1px solid var(--filet); text-align: left; }
.contact-liste li { display: grid; gap: .2rem 1.5rem; margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--filet); }
@media (min-width: 40rem) { .contact-liste li { grid-template-columns: 11rem 1fr; } }
.contact-liste .libelle { padding-top: .25rem; color: var(--cuivre-clair); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }

.credits { margin: 0; padding: 0; list-style: none; font-size: .92rem; }
.credits li { padding: .7rem 0; border-bottom: 1px solid var(--filet); }
.credits li + li { margin-top: 0; }

/* ---------- Marqueurs « À compléter » / « À confirmer » ---------- */
.a-completer {
  display: inline;
  padding: .05rem .4rem;
  background: #fff1dc;
  border: 1px dashed #b45309;
  color: #6f3500;
  font-family: var(--texte);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.a-confirmer, .a-confirmer-inline { display: inline-block; padding: .15rem .5rem; background: #e8edf5; color: #1d2f4f; font-family: var(--texte); font-size: .78rem; font-weight: 600; letter-spacing: 0; text-transform: none; vertical-align: middle; }
.a-confirmer { margin: 0 0 1rem; }
.a-confirmer-inline { margin-left: .4rem; padding: .05rem .45rem; font-size: .72rem; }
.texte .a-completer { color: #6f3500; }
.texte .a-confirmer, .texte .a-confirmer-inline { color: #1d2f4f; }

/* ---------- Pied de page ---------- */
.pied { padding: 4rem var(--marge) 2rem; background: var(--fond-3); border-top: 1px solid var(--filet); color: var(--creme-doux); font-size: .9rem; }
.pied-int { display: grid; gap: 2rem; max-width: 90rem; margin: 0 auto 2.5rem; }
@media (min-width: 56rem) { .pied-int { grid-template-columns: 2fr 1fr 1fr; } }
.pied-marque { color: #fff; font-family: var(--titre); font-size: 1.4rem; letter-spacing: .28em; text-transform: uppercase; }
.pied-titre { color: var(--cuivre-clair); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.pied ul { margin: 0; padding: 0; list-style: none; }
.pied li + li { margin-top: .4rem; }
.pied-bas { max-width: 90rem; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid var(--filet); }
.pied-bas p { margin: .3rem 0 0; color: var(--discret); font-size: .8rem; }

/* ---------- Animations très sobres (désactivées si mouvement réduit) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-texte > * { animation: lueur 1.2s ease-out both; }
  .hero-texte > :nth-child(3) { animation-delay: .15s; }
  .hero-texte > :nth-child(n+4) { animation-delay: .3s; }
}
@keyframes lueur { from { opacity: 0; } to { opacity: 1; } }

@media print {
  .nav, .menu-bouton, .bandeau-apercu, .evitement, .hero-photo { display: none !important; }
  body, .salon, .salon-fonce, .contact, .pied, .entete, .entete-simple, .hero, .bande-nuit { background: #fff; color: #000; }
  h1, h2, h3, .hero h1, strong, a, .texte p, .texte li { color: #000; }
  .hero { min-height: 0; }
}

.texte .etiquette { color: var(--cuivre-clair); }
.fiche-associe .actions { justify-content: flex-start; }
@media (max-width: 55.99rem) { .fiche-associe .texte { text-align: center; } .fiche-associe .fiche { text-align: left; } .fiche-associe .actions { justify-content: center; } }

/* Titres longs en capitales sur petit écran */
.hero-court h1 { font-size: clamp(1.6rem, .9rem + 4.5vw, 4.6rem); }
@media (max-width: 30rem) { .hero h1 { letter-spacing: .06em; } }

/* Points focaux des photos — généré par generer.py depuis donnees/credits.json */
.ph-palais-royal-nuit { object-position: 50% 60%; }
.ph-palais-royal-nuit-mobile { object-position: 50% 55%; }
.ph-seine-nuit { object-position: 50% 50%; }
.ph-palais-royal { object-position: 50% 45%; }
.ph-immeuble-haussmannien { object-position: 45% 40%; }
.ph-vendome-grille { object-position: 50% 45%; }
.ph-lampadaire-alexandre-iii { object-position: 50% 45%; }
.ph-colonne-vendome { object-position: 50% 55%; }
@media (max-width: 47.99rem) {
  .ph-m-palais-royal-nuit { object-position: 50% 60%; }
  .ph-m-palais-royal-nuit-mobile { object-position: 50% 55%; }
  .ph-m-seine-nuit { object-position: 50% 50%; }
  .ph-m-palais-royal { object-position: 50% 45%; }
  .ph-m-immeuble-haussmannien { object-position: 45% 40%; }
  .ph-m-vendome-grille { object-position: 50% 45%; }
  .ph-m-lampadaire-alexandre-iii { object-position: 50% 45%; }
  .ph-m-colonne-vendome { object-position: 50% 55%; }
}
