/* ═══════════════════════════════════════════
   PAGES DE CONTENU — estimation travaux, honoraires
   Même système que l'accueil et les pages projet :
   Manrope, bordeaux, crème, nav et pied de page identiques.
═══════════════════════════════════════════ */
:root {
  --brand: #3F0305;
  --ink: #1A1615;
  --ink-70: #4A4340;
  --ink-40: #8A827E;
  --cream: #F6F2EE;
  --cream-warm: #EDE6DF;
  --white: #FDFBF9;
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --gap: clamp(12px, 1.6vw, 24px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(24px, 5vw, 64px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--ink); background: var(--white); overflow-x: hidden; line-height: 1.6; font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand);
}
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  padding: 0.6rem 1.4rem; font-size: 0.8rem; font-weight: 600;
  z-index: 200; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }
*:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.nav__link--cta:focus-visible { outline-color: #fff; }

/* ── NAV (identique aux pages projet) ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  /* Pas de fondu « difference » ici : sur une photo claire, les liens disparaissaient. */
  transition: all 0.5s var(--ease);
}
.nav.scrolled {
  mix-blend-mode: normal;
  background: rgba(253,251,249,0.95);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
}
.nav__logo img { height: 30px; width: auto; transition: filter 0.3s; filter: brightness(0) invert(1); }
.nav.scrolled .nav__logo img { filter: none; }
.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav__link {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff; transition: opacity 0.3s;
}
.nav.scrolled .nav__link { color: var(--ink); }
.nav__link:hover { opacity: 0.55; }
.nav__link--cta {
  background: var(--brand); color: #fff !important;
  padding: 0.75rem 1.5rem; font-weight: 700; transition: opacity 0.3s;
}
.nav__link--cta:hover { opacity: 0.8; }
.nav:not(.scrolled) .nav__link--cta { background: #fff; color: var(--ink) !important; }
.nav__toggle { display: none; width: 24px; height: 16px; position: relative; z-index: 110; }
.nav__toggle span {
  display: block; width: 100%; height: 1.5px; background: #fff;
  position: absolute; left: 0; transition: all 0.35s var(--ease);
}
.nav.scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__toggle span:nth-child(3) { bottom: 0; }
.nav__toggle.open span { background: var(--ink) !important; }
.nav__toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ── HERO DE PAGE ── */
.page-hero {
  position: relative; min-height: clamp(560px, 78vh, 820px);
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--ink);
}
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay {
  position: absolute; inset: 0;
  /* Voile renforcé : le titre reste lisible quelle que soit la photo */
  background: linear-gradient(to bottom, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.88) 100%);
}
.page-hero__content {
  /* En-tête aéré : place sous le menu, et marge au-dessus de l'encart « En bref » qui chevauche la photo */
  position: relative; z-index: 2; width: 100%;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(7.5rem, 16vh, 10rem) var(--pad) calc(clamp(2rem, 5vh, 3rem) + clamp(3rem, 7vh, 5rem));
}
.page-hero__crumbs {
  display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: clamp(1.75rem, 4vh, 2.5rem);
}
.page-hero__crumbs li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.6; }
.page-hero__crumbs a:hover { color: #fff; }
.page-hero__title {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  font-weight: 500; line-height: 1.06; letter-spacing: -0.025em; color: #fff;
  max-width: 880px; text-wrap: balance;
}
/* En-tête court (page Confidentialité) : pas d'encart « En bref » à faire chevaucher */
.page-hero.page-hero--short { min-height: clamp(360px, 50vh, 500px); }
.page-hero--short .page-hero__content { padding-bottom: clamp(2.5rem, 6vh, 3.5rem); }
.page-hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 400;
  color: rgba(255,255,255,0.82); margin-top: clamp(1.25rem, 3vh, 1.75rem); max-width: 620px; line-height: 1.65;
  text-wrap: pretty;
}

/* ── SECTIONS ── */
.section { padding: clamp(3.5rem, 8vh, 6rem) 0; }
.section--cream { background: var(--cream); }
.section--brand { background: var(--brand); color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(1.75rem, 4vh, 2.75rem); }
.section__title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 500;
  line-height: 1.1; letter-spacing: -0.025em; margin-top: 0.75rem;
}
.section--brand .label { color: rgba(255,255,255,0.7); }
.section__intro { font-size: 1rem; color: var(--ink-70); margin-top: 1rem; line-height: 1.75; }
.section--brand .section__intro { color: rgba(255,255,255,0.8); }

.prose { max-width: 760px; }
.prose p { font-size: 1rem; line-height: 1.8; color: var(--ink-70); }
.prose p + p { margin-top: 1rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a, .link { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* « En bref » : les faits clés, en une liste citable */
.brief {
  margin-top: calc(-1 * clamp(2rem, 5vh, 3rem)); position: relative; z-index: 3;
  background: var(--white); border: 1px solid var(--cream-warm);
  box-shadow: 0 18px 50px rgba(26,22,21,0.08);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
}
.brief__title {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1rem;
}
.brief__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem 2.5rem; }
.brief__list li {
  position: relative; padding-left: 1.1rem;
  font-size: 0.92rem; line-height: 1.6; color: var(--ink-70);
}
.brief__list li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.brief__list strong { color: var(--ink); font-weight: 600; }

/* Tableau de repères */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
  width: 100%; border-collapse: collapse; min-width: 560px;
  font-size: 0.92rem; font-variant-numeric: tabular-nums;
}
.table caption { text-align: left; font-size: 0.78rem; color: var(--ink-40); padding-bottom: 0.9rem; }
.table th, .table td { text-align: left; padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--cream-warm); }
.table thead th {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-40);
}
.table tbody th { font-weight: 600; color: var(--ink); }
.table td { color: var(--ink-70); }
.table td strong { color: var(--brand); font-weight: 600; }

/* Étapes numérotées */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--cream-warm); }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 4rem 1fr; gap: 0 1.5rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--cream-warm);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-size: 1.6rem; font-weight: 600; line-height: 1; color: rgba(63,3,5,0.25);
}
.steps h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.steps p { font-size: 0.95rem; line-height: 1.7; color: var(--ink-70); margin-top: 0.35rem; }

/* Cartes des missions */
.missions { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.mission {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  scroll-margin-top: 90px;
}
.mission__img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; filter: brightness(0.85) saturate(0.9); }
.mission__body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.mission__kicker { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.mission__title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -0.02em; color: #fff; margin-top: 0.6rem; }
.mission__price { font-size: 1.05rem; font-weight: 500; color: #fff; margin-top: 0.8rem; }
.mission__meta { font-size: 0.8rem; color: rgba(255,255,255,0.6); padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.2); }
.mission__text { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.78); margin-top: 1rem; }
.mission__list { list-style: none; margin-top: 1rem; display: grid; gap: 0.45rem; }
.mission__list li { position: relative; padding-left: 1rem; font-size: 0.86rem; line-height: 1.55; color: rgba(255,255,255,0.78); }
.mission__list li::before { content: '—'; position: absolute; left: 0; color: rgba(255,255,255,0.45); }

/* Échéancier */
.schedule { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); list-style: none; }
.schedule li { border-top: 2px solid var(--brand); padding-top: 1rem; }
.schedule__pct { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; color: var(--brand); }
.schedule__when { display: block; font-size: 0.92rem; font-weight: 600; margin-top: 0.3rem; }
.schedule__what { display: block; font-size: 0.85rem; color: var(--ink-70); margin-top: 0.2rem; line-height: 1.6; }

/* Colonnes simples (non inclus, glossaire, autres prestations) */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.col { background: var(--white); border: 1px solid var(--cream-warm); padding: 1.5rem; }
.section--cream .col { background: var(--white); }
.col h3 { font-size: 1rem; font-weight: 600; }
.col p { font-size: 0.9rem; line-height: 1.7; color: var(--ink-70); margin-top: 0.4rem; }
.defs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; }
.defs div { border-top: 1px solid var(--cream-warm); padding-top: 0.9rem; }
.defs dt { font-weight: 700; color: var(--brand); letter-spacing: 0.04em; }
.defs dd { font-size: 0.92rem; line-height: 1.65; color: var(--ink-70); margin-top: 0.2rem; }

/* FAQ */
.faq { border-top: 1px solid var(--cream-warm); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--cream-warm); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: 0 0 auto; font-size: 1.4rem; font-weight: 300; line-height: 1; color: var(--brand);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 1.4rem; max-width: 720px; }
.faq__a p { font-size: 0.95rem; line-height: 1.75; color: var(--ink-70); }
.faq__a p + p { margin-top: 0.6rem; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: var(--brand); padding: 1rem 1.75rem;
  transition: transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.btn--light { background: #fff; color: var(--brand); }
.btn--ghost { background: none; color: var(--brand); border: 1px solid rgba(63,3,5,0.35); }
.section--brand .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 2rem; }

/* Bandeau de fin */
.cta-band { text-align: left; }
.cta-band__title { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.cta-band__title em { font-style: normal; font-weight: 300; }
.cta-band__text { font-size: 0.98rem; color: rgba(255,255,255,0.75); margin-top: 1.25rem; max-width: 560px; line-height: 1.7; }

/* ── SIMULATEUR (même logique que la modale de l'accueil) ── */
.estim {
  background: var(--white); border: 1px solid var(--cream-warm);
  padding: clamp(1.5rem, 3vw, 2.5rem); color: var(--ink);
}
.estim__control {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2.5rem; flex-wrap: wrap;
  padding-bottom: 1.5rem; border-bottom: 1px solid rgba(26,22,21,0.14);
}
.estim__label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(26,22,21,0.55); }
.estim__surface { flex: 1 1 360px; max-width: 620px; display: flex; align-items: center; gap: 1.25rem; }
.estim__surface input[type="range"] {
  flex: 1 1 auto; min-width: 0; height: 24px;
  -webkit-appearance: none; appearance: none; background: none; cursor: pointer;
  --fill: 19%;
}
.estim__surface input[type="range"]::-webkit-slider-runnable-track {
  height: 2px; background: linear-gradient(to right, var(--brand) var(--fill), rgba(26,22,21,0.18) var(--fill));
}
.estim__surface input[type="range"]::-moz-range-track { height: 2px; background: rgba(26,22,21,0.18); }
.estim__surface input[type="range"]::-moz-range-progress { height: 2px; background: var(--brand); }
.estim__surface input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; margin-top: -9px; border-radius: 50%;
  background: var(--brand); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--brand);
}
.estim__surface input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--brand);
}
.estim__num { flex: 0 0 auto; display: flex; align-items: baseline; gap: 0.35rem; font-size: 0.9rem; color: rgba(26,22,21,0.55); }
.estim__num input {
  width: 4.2rem; text-align: right;
  font: inherit; font-size: 1.35rem; font-weight: 500; color: var(--ink);
  background: none; border: none; border-bottom: 1px solid rgba(26,22,21,0.32);
  padding: 0.1rem 0; -moz-appearance: textfield;
}
.estim__num input::-webkit-outer-spin-button,
.estim__num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.estim__num input:focus { outline: none; border-bottom-color: var(--brand); }
.estim__num i { font-style: normal; }
.estim__row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
  padding: 1.5rem 0; border-bottom: 1px solid rgba(26,22,21,0.14);
}
.estim__cell, .estim__total > div { display: flex; flex-direction: column; gap: 0.3rem; }
.estim__key { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(26,22,21,0.55); }
.estim__val { font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.estim__note { font-size: 0.78rem; color: rgba(26,22,21,0.6); line-height: 1.5; }
.estim__total { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 1.25rem 3rem; padding-top: 1.5rem; }
.estim__big {
  font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.1; color: var(--brand); font-variant-numeric: tabular-nums;
}
.estim__big--soft { color: var(--ink); }
.estim__total .btn { margin-left: auto; }
.estim__disclaimer { font-size: 0.74rem; line-height: 1.5; color: rgba(26,22,21,0.55); margin-top: 1.25rem; }

/* ── PIED DE PAGE (identique à l'accueil) ── */
.footer { background: var(--ink); color: rgba(255,255,255,0.45); padding: clamp(4rem, 7vh, 6rem) 0 2rem; }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand-text { font-size: 0.85rem; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.7; margin-top: 1rem; max-width: 260px; }
.footer__heading { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer__link { display: block; font-size: 0.82rem; font-weight: 400; color: rgba(255,255,255,0.5); margin-bottom: 0.75rem; transition: color 0.3s; }
.footer__link:hover { color: #fff; }
.footer__link--static { cursor: default; }
.footer__link--static:hover { color: rgba(255,255,255,0.5); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-size: 0.7rem; color: rgba(255,255,255,0.5); }
.footer__logo img { height: 22px; width: auto; filter: brightness(10); opacity: 0.35; }

/* ── APPARITIONS ── */
.r { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.r.v { opacity: 1; transform: translateY(0); }

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

/* ── ARTICLES (rubrique Conseils) ── */
.article { max-width: 760px; }
.article__meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
}
.toc {
  border: 1px solid var(--cream-warm); background: var(--cream);
  padding: 1.25rem 1.5rem; margin-bottom: 2.5rem;
}
.toc__title {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 0.75rem;
}
.toc ol { padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.toc li { font-size: 0.9rem; color: var(--ink-70); }
.prose .toc a { color: var(--ink-70); text-decoration: none; }
.prose .toc a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose .toc__title { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; color: var(--brand); }

.prose h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 500;
  line-height: 1.15; letter-spacing: -0.02em; color: var(--ink);
  margin-top: 3rem; margin-bottom: 1rem; scroll-margin-top: 90px;
}
.prose h3 { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-top: 1.75rem; margin-bottom: 0.6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin-top: 0.9rem; display: grid; gap: 0.45rem; }
.prose li { font-size: 1rem; line-height: 1.7; color: var(--ink-70); }
.prose li strong { color: var(--ink); }
.prose .table-wrap { margin: 1.5rem 0; }
.prose .table { min-width: 0; }
.prose > * + p, .prose ul + p, .prose ol + p, .prose .table-wrap + p { margin-top: 1rem; }

.callout {
  border-left: 3px solid var(--brand); background: var(--cream);
  padding: 1.1rem 1.35rem; margin: 1.75rem 0;
}
.callout p { font-size: 0.95rem; line-height: 1.7; color: var(--ink-70); }
.prose .callout__title { font-weight: 600; color: var(--brand); margin-bottom: 0.3rem; }

.sources { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--cream-warm); }
.sources h2 { font-size: 1rem; margin-top: 0; }
.sources ol { gap: 0.3rem; }
.sources li { font-size: 0.8rem; line-height: 1.6; color: var(--ink-40); overflow-wrap: anywhere; }
.sources a { color: var(--ink-70); }

/* Galerie de projets dans les pages de contenu */
.gallery { margin: 2rem 0 0.5rem; }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.prose .gallery__item { display: block; color: inherit; text-decoration: none; }
.gallery__item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: filter 0.3s var(--ease); }
.gallery__item:hover img { filter: brightness(0.92); }
.gallery__cap { display: block; font-size: 0.8rem; line-height: 1.5; color: var(--ink-40); margin-top: 0.55rem; }
.gallery__item:hover .gallery__cap { color: var(--brand); }

/* Index « Nos articles » */
.posts__group { margin-bottom: 1.5rem; }
.posts + .posts__group { margin-top: clamp(3rem, 7vh, 4.5rem); }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.post { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--cream-warm); transition: box-shadow 0.3s var(--ease); }
.post:hover { box-shadow: 0 18px 50px rgba(26,22,21,0.08); }
.post img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.post__body { padding: 1.5rem 1.75rem 1.75rem; }
.post__kicker { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); }
.post__title { font-size: 1.35rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; margin-top: 0.6rem; }
.post__text { font-size: 0.92rem; line-height: 1.7; color: var(--ink-70); margin-top: 0.75rem; }

/* Encart « articles liés » en bas des pages */
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: 1.5rem; }
.related a { display: block; border: 1px solid var(--cream-warm); padding: 1.1rem 1.25rem; background: var(--white); }
.related a:hover { border-color: rgba(63,3,5,0.35); }
.related strong { display: block; font-weight: 600; color: var(--ink); }
.related span { font-size: 0.85rem; color: var(--ink-70); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .missions { grid-template-columns: 1fr; max-width: 640px; }
  .schedule { grid-template-columns: repeat(2, 1fr); row-gap: 1.75rem; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; background: var(--white);
    justify-content: center; align-items: center; gap: 2rem; z-index: 105;
  }
  .nav__links.open .nav__link { font-size: 0.95rem; color: var(--ink) !important; min-height: 48px; display: flex; align-items: center; padding: 0.5rem 1rem; }
  .nav__links.open .nav__link--cta { background: var(--brand); color: #fff !important; }
  .page-hero { min-height: 520px; }
  .page-hero__content { padding-top: 7rem; }
  .brief__list, .cols, .defs, .estim__row, .posts, .related { grid-template-columns: 1fr; }
  .prose .table { font-size: 0.85rem; }
  .prose .table th, .prose .table td { padding: 0.75rem 0.75rem 0.75rem 0; }
  .estim__total .btn { margin-left: 0; }
  .steps li { grid-template-columns: 2.75rem 1fr; gap: 0 1rem; }
  .steps li::before { font-size: 1.25rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 480px) {
  .schedule { grid-template-columns: 1fr; }
  .estim__total .btn, .actions .btn { width: 100%; justify-content: center; }
  .mission__body { padding: 1.5rem 1.5rem 1.75rem; }
}
