/* ════════════════════════════════════════════════════════
   Domaine de la Boissière — pages légales
   Documents qui se lisent au fil, pas en slides.
   Dépend des variables de shared.css.
   ════════════════════════════════════════════════════════ */

body { background: var(--vert); color: var(--ivoire); }

/* ── HEADER ── */
header {
  background: transparent;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid transparent;
  transition: background 0.5s ease, border-color 0.5s ease;
}
header.scrolled { background: var(--vert); border-color: rgba(244,239,231,0.10); }
.h-inner {
  width: 100%; max-width: none; margin: 0;
  padding: 0 64px; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.h-logo { height: 38px; width: auto; filter: brightness(0) invert(1); }
.h-nav > li > a { color: var(--ivoire); opacity: 0.5; }
.h-nav > li > a:hover, .h-nav > li > a.active { opacity: 1; }
/* sélecteur de langue : la langue courante en plein, l'autre cliquable */
.h-cta { background: var(--ivoire); color: var(--encre); }
.h-cta:hover { background: var(--celadon); color: var(--ivoire); opacity: 1; }

/* ── EN-TÊTE DU DOCUMENT ── */
.doc-hero {
  padding: 168px 64px 72px;
  max-width: 1180px; margin: 0 auto;
  border-bottom: 1px solid rgba(244,239,231,0.12);
}
.doc-kicker {
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  font-weight: 700; color: var(--celadon); margin-bottom: 22px;
}
.doc-hero h1 {
  font-family: 'Newsreader', serif; font-weight: 300;
  font-size: clamp(42px, 5.4vw, 80px); line-height: 0.96;
  letter-spacing: -0.025em; color: var(--ivoire); margin-left: -6px;
}
.doc-hero h1 em { font-style: italic; color: var(--rose); }
.doc-version {
  margin-top: 26px; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 700; color: rgba(244,239,231,0.38);
}

/* ── CORPS ── */
.doc { max-width: 1180px; margin: 0 auto; padding: 0 64px 120px; }

.art {
  display: grid; grid-template-columns: 120px 1fr; gap: 44px;
  padding: 52px 0; border-bottom: 1px solid rgba(244,239,231,0.10);
}
.art:last-child { border-bottom: none; }
.art-num {
  font-family: 'Newsreader', serif; font-weight: 300;
  font-size: 15px; letter-spacing: 0.04em; color: var(--rose);
  padding-top: 6px;
}
.art h2 {
  font-family: 'Newsreader', serif; font-weight: 300;
  font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1;
  letter-spacing: -0.015em; color: var(--ivoire); margin-bottom: 20px;
}
.art p { font-size: 15px; line-height: 1.85; color: var(--muted-l); margin-bottom: 15px; max-width: 68ch; }
.art p:last-child { margin-bottom: 0; }
.art strong { color: var(--ivoire); font-weight: 600; }
.art a { border-bottom: 1px solid rgba(244,239,231,0.26); transition: color 0.25s, border-color 0.25s; }
.art a:hover { color: var(--ivoire); border-color: var(--celadon); }

.art ul { list-style: none; margin: 4px 0 18px; display: flex; flex-direction: column; gap: 10px; max-width: 68ch; }
.art ul li {
  display: grid; grid-template-columns: 15px 1fr; gap: 13px;
  font-size: 15px; line-height: 1.75; color: var(--muted-l);
}
.art ul li::before { content: '—'; color: var(--rose); opacity: 0.65; }

.art h3 {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; color: rgba(244,239,231,0.45);
  margin: 26px 0 14px;
}

/* tableau d'identité (éditeur, hébergeur…) */
.fiche {
  display: grid; grid-template-columns: 220px 1fr; gap: 0;
  margin: 6px 0 18px; max-width: 68ch;
  border-top: 1px solid rgba(244,239,231,0.10);
}
.fiche dt {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: rgba(244,239,231,0.42);
  padding: 13px 0; border-bottom: 1px solid rgba(244,239,231,0.10);
}
.fiche dd {
  font-size: 14.5px; line-height: 1.6; color: var(--ivoire);
  padding: 13px 0; border-bottom: 1px solid rgba(244,239,231,0.10);
}
.fiche dd a { border-bottom: 1px solid rgba(244,239,231,0.26); }

/* barème d'annulation, échéancier — deux colonnes alignées */
.bareme { display: flex; flex-direction: column; gap: 0; margin: 6px 0 18px; max-width: 68ch;
  border-top: 1px solid rgba(244,239,231,0.10); }
.bareme div {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid rgba(244,239,231,0.10);
  font-size: 15px; color: var(--muted-l);
}
.bareme b { color: var(--ivoire); font-weight: 600; white-space: nowrap; }

/* mention à compléter — impossible à rater */
.todo {
  display: inline-block;
  background: rgba(201,139,139,0.16); color: var(--rose);
  border: 1px dashed rgba(201,139,139,0.55);
  padding: 2px 9px; border-radius: 3px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
}
.avert {
  margin: 0 auto 0; max-width: 1180px;
  padding: 20px 64px;
}
.avert-in {
  background: rgba(201,139,139,0.10); border-left: 2px solid var(--rose);
  padding: 18px 22px; font-size: 13.5px; line-height: 1.7; color: var(--muted-l);
}
.avert-in strong { color: var(--rose); display: block; margin-bottom: 5px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }

/* ── PIED DE PAGE ── */
footer {
  border-top: 1px solid rgba(244,239,231,0.10); max-width: none;
  padding: 34px 64px; background: var(--vert);
  color: rgba(244,239,231,0.42); font-size: 11px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
footer a { border-bottom: 1px solid rgba(244,239,231,0.18); transition: color 0.25s; }
footer a:hover { color: var(--ivoire); }
.f-legal { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .h-inner, .doc-hero, .doc, .avert, footer { padding-left: 24px; padding-right: 24px; }
  .doc-hero { padding-top: 132px; }
  .h-nav { display: none; }
  .art { grid-template-columns: 1fr; gap: 14px; padding: 40px 0; }
  .art-num { padding-top: 0; }
  .fiche { grid-template-columns: 1fr; }
  .fiche dt { padding-bottom: 2px; border-bottom: none; }
  .fiche dd { padding-top: 0; }
  .bareme div { grid-template-columns: 1fr; gap: 4px; }
}

/* ════════════════════════════════════════════════════════
   JOURNAL — index et articles
   ════════════════════════════════════════════════════════ */

/* liste des articles */
.journal { max-width: 1180px; margin: 0 auto; padding: 0 64px 120px; }
.post {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  padding: 44px 0; border-bottom: 1px solid rgba(244,239,231,0.10);
  align-items: start;
}
.post:last-child { border-bottom: none; }
.post-ph { overflow: hidden; aspect-ratio: 4/3; background: rgba(0,0,0,0.2); }
.post-ph img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.03); transition: transform 1.1s cubic-bezier(.22,.68,0,1.1);
}
.post:hover .post-ph img { transform: scale(1); }
.post-meta {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; color: var(--celadon); margin-bottom: 12px;
}
.post h2 {
  font-family: 'Newsreader', serif; font-weight: 300;
  font-size: clamp(26px, 2.8vw, 38px); line-height: 1.05;
  letter-spacing: -0.02em; color: var(--ivoire); margin-bottom: 14px;
}
.post h2 a { border: none; }
.post:hover h2 a { color: var(--rose); }
.post p { font-size: 15px; line-height: 1.8; color: var(--muted-l); max-width: 62ch; }
.post-lire {
  display: inline-block; margin-top: 16px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  color: var(--ivoire); border-bottom: 1px solid rgba(244,239,231,0.35); padding-bottom: 4px;
}
.post-lire:hover { color: var(--rose); border-color: var(--rose); }

/* corps d'article */
.post-cover { max-width: 1180px; margin: 0 auto; padding: 0 64px 8px; }
.post-cover img { width: 100%; aspect-ratio: 21/9; object-fit: cover; display: block; }
.post-cover figcaption {
  margin-top: 10px; font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700; color: rgba(244,239,231,0.3);
}
.corps { max-width: 1180px; margin: 0 auto; padding: 56px 64px 110px; }
.corps p { font-size: 16px; line-height: 1.9; color: var(--muted-l); margin-bottom: 20px; }
.corps p.chapeau {
  font-size: 19px; line-height: 1.75; color: var(--ivoire);
  padding-bottom: 28px; margin-bottom: 32px;
  border-bottom: 1px solid rgba(244,239,231,0.12);
}
.corps h2 {
  font-family: 'Newsreader', serif; font-weight: 300;
  font-size: clamp(26px, 2.9vw, 38px); line-height: 1.08;
  letter-spacing: -0.02em; color: var(--ivoire);
  margin: 48px 0 18px;
}
.corps h3 {
  font-family: 'Newsreader', serif; font-weight: 400; font-size: 21px;
  color: var(--ivoire); margin: 32px 0 12px;
}
.corps strong { color: var(--ivoire); font-weight: 600; }
.corps a { border-bottom: 1px solid rgba(244,239,231,0.28); transition: color .25s, border-color .25s; }
.corps a:hover { color: var(--ivoire); border-color: var(--celadon); }
.corps ul { list-style: none; margin: 0 0 22px; display: flex; flex-direction: column; gap: 11px; }
.corps ul li {
  display: grid; grid-template-columns: 15px 1fr; gap: 13px;
  font-size: 16px; line-height: 1.75; color: var(--muted-l);
}
.corps ul li::before { content: '—'; color: var(--rose); opacity: 0.65; }
.corps blockquote {
  margin: 34px 0; padding: 0 0 0 26px;
  border-left: 2px solid var(--rose);
  font-family: 'Newsreader', serif; font-style: italic; font-weight: 300;
  font-size: 23px; line-height: 1.5; color: var(--ivoire);
}
.encadre {
  margin: 36px 0; padding: 24px 28px;
  background: rgba(244,239,231,0.05); border-left: 2px solid var(--celadon);
}
.encadre p { margin-bottom: 10px; font-size: 15px; }
.encadre p:last-child { margin-bottom: 0; }
.encadre strong {
  display: block; color: var(--celadon); margin-bottom: 8px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
}
.post-fin {
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(244,239,231,0.12);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
}

@media (max-width: 860px) {
  .journal, .corps, .post-cover { padding-left: 24px; padding-right: 24px; }
  .post { grid-template-columns: 1fr; gap: 20px; }
  .post-cover img { aspect-ratio: 3/2; }
}


/* ════════════════════════════════════════════════════════
   MISE EN PAGE ARTICLE  —  body.article
   Une seule colonne de lecture, centrée. Le titre, la photo
   et le texte partagent le même axe : plus de vide à droite.
   ════════════════════════════════════════════════════════ */

body.article {
  --mesure: 700px;          /* colonne de lecture */
  --large: 1040px;          /* respirations : photo, encadrés */
}

/* en-tête : aligné sur la colonne de texte */
body.article .doc-hero {
  max-width: var(--mesure);
  padding: 176px 0 0;
  margin: 0 auto;
  border-bottom: none;
  text-align: left;
}
body.article .doc-hero h1 {
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.02;
  margin-left: -4px;
}
body.article .doc-kicker { margin-bottom: 18px; }
body.article .doc-version {
  margin-top: 20px;
  font-family: 'Newsreader', serif; font-style: italic; font-weight: 300;
  font-size: 18px; line-height: 1.5; letter-spacing: 0;
  text-transform: none; color: rgba(244,239,231,0.55);
}

/* photo de couverture : plus large que le texte, même axe */
body.article .post-cover {
  max-width: var(--large);
  margin: 56px auto 0;
  padding: 0;
}
body.article .post-cover img { aspect-ratio: 16/8; }
body.article .post-cover figcaption {
  max-width: var(--mesure); margin-left: auto; margin-right: auto;
  text-align: right;
}

/* corps */
body.article .corps {
  max-width: var(--mesure);
  margin: 0 auto;
  padding: 64px 0 120px;
}
body.article .corps p { font-size: 17px; line-height: 1.85; }
body.article .corps p.chapeau {
  font-family: 'Newsreader', serif; font-weight: 300;
  font-size: 24px; line-height: 1.55; letter-spacing: -0.01em;
  color: var(--ivoire);
  padding-bottom: 36px; margin-bottom: 40px;
}
body.article .corps h2 {
  font-size: clamp(25px, 2.5vw, 33px);
  margin: 62px 0 20px;
}
/* filet discret au-dessus de chaque section */
body.article .corps h2::before {
  content: ''; display: block; width: 44px; height: 1px;
  background: var(--rose); opacity: 0.55; margin-bottom: 26px;
}
body.article .corps ul li { font-size: 17px; }

/* encadrés : débordent légèrement, ça casse le bloc de texte */
body.article .encadre {
  margin: 44px -60px; padding: 28px 32px;
}
body.article .corps blockquote {
  margin: 44px -60px; padding: 0 0 0 30px;
  font-size: 26px;
}

/* pied d'article */
body.article .post-fin { margin-top: 68px; }

@media (max-width: 1160px) {
  body.article { --large: 100%; }
  body.article .post-cover { padding: 0 64px; }
}
@media (max-width: 860px) {
  body.article .doc-hero,
  body.article .corps { padding-left: 24px; padding-right: 24px; }
  body.article .doc-hero { padding-top: 132px; }
  body.article .post-cover { padding: 0 24px; margin-top: 36px; }
  body.article .post-cover figcaption { text-align: left; }
  body.article .encadre,
  body.article .corps blockquote { margin-left: 0; margin-right: 0; }
  body.article .corps p.chapeau { font-size: 20px; }
}


/* intro de la page journal */
.journal-intro {
  max-width: 1180px; margin: 0 auto; padding: 44px 64px 8px;
  border-bottom: 1px solid rgba(244,239,231,0.10);
}
.journal-intro p {
  max-width: 68ch; font-size: 16px; line-height: 1.85;
  color: var(--muted-l); margin-bottom: 16px;
}
.journal-intro p:last-child { margin-bottom: 36px; }
.journal-intro strong { color: var(--ivoire); font-weight: 600; }
.journal-intro a { color: var(--ivoire); border-bottom: 1px solid rgba(244,239,231,0.28); transition: border-color .25s; }
.journal-intro a:hover { border-color: var(--rose); }
@media (max-width: 860px) { .journal-intro { padding-left: 24px; padding-right: 24px; } }

/* avertissement de traduction (pages EN) : même gabarit que .avert,
   mais en céladon — c'est une information, pas une alerte de rédaction */
.avert.trad .avert-in { border-left-color: var(--celadon); }
.avert.trad .avert-in strong { color: var(--celadon); }

/* le burger prend la couleur du header de cette page */
.h-burger { color: var(--ivoire); }

@media (max-width: 900px) { }

/* ── SÉLECTEUR DE LANGUE ──
   La couleur de base était à 50 % d'opacité ET le lien inactif en
   ajoutait 50 % : 25 % au total, illisible sur photo. Pleine couleur
   désormais, l'inactif à 65 %, et une ombre portée pour tenir sur
   les fonds clairs. */
.h-lang {
  color: var(--ivoire);
  font-size: 11px; letter-spacing: 0.1em; font-weight: 700;
  
}
.h-lang .on { opacity: 1; }
.h-lang a {
  color: inherit; opacity: 0.65; border: none;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: opacity 0.3s, border-color 0.3s;
}
.h-lang a:hover { opacity: 1; border-bottom-color: currentColor; }
