/* Barthélemy & Partners — feuille de style */

:root {
  --ink: #0f1b2d;
  --ink-2: #16263d;
  --ink-3: #22344f;
  --paper: #f6f3ec;
  --paper-2: #ede8dd;
  --white: #fdfcf9;
  --text: #1a2433;
  --muted: #5a6474;
  --muted-on-ink: #a9b3c2;
  --line: rgba(15, 27, 45, 0.14);
  --line-strong: rgba(15, 27, 45, 0.28);
  --line-on-ink: rgba(246, 243, 236, 0.16);
  --brass: #9a7843;
  --brass-light: #c6a674;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 10vw, 136px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: inherit;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; }
h3 { font-size: 1.45rem; line-height: 1.25; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 40em; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost-light { border-color: var(--line-on-ink); color: var(--paper); }
.btn-ghost-light:hover { border-color: var(--paper); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass-light);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-on-ink);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--paper); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .n1 { font-family: var(--serif); font-size: 1.32rem; letter-spacing: 0.005em; }
.brand-name .n2 { font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted-on-ink); margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: 0.88rem; text-decoration: none; color: var(--muted-on-ink); transition: color .2s ease; }
.nav a:hover { color: var(--paper); }
.nav .btn { color: var(--ink); padding: 11px 20px; font-size: 0.85rem; }
.nav .btn:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-on-ink);
  color: var(--paper);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1px; background: currentColor; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-on-ink);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-on-ink); font-size: 1rem; color: var(--paper); }
  .nav .btn { margin-top: 18px; justify-content: center; border-bottom: 0; }
}

/* ---------- Hero ---------- */

.hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.hero::after {
  /* trame architecturale discrète */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(246,243,236,0.045) 1px, transparent 1px);
  background-size: calc((min(100vw, var(--wrap)) - 2 * var(--gutter)) / 12) 100%;
  background-position: center;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 112px);
  align-items: end;
}
.hero .eyebrow { color: var(--brass-light); }
.hero h1 em { font-style: italic; color: var(--brass-light); }
.hero .lead { color: var(--muted-on-ink); margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.profile {
  border: 1px solid var(--line-on-ink);
  background: rgba(246,243,236,0.03);
  padding: 30px 30px 26px;
}
.profile-title {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-on-ink); margin: 0 0 8px;
}
.profile dl { margin: 0; }
.profile .row { display: grid; grid-template-columns: 1fr; padding: 16px 0; border-bottom: 1px solid var(--line-on-ink); }
.profile .row:last-child { border-bottom: 0; }
.profile dt { font-size: 0.78rem; color: var(--muted-on-ink); margin-bottom: 4px; }
.profile dd { margin: 0; font-family: var(--serif); font-size: 1.22rem; line-height: 1.3; }
.profile-note { font-size: 0.78rem; color: var(--muted-on-ink); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-on-ink); display: flex; gap: 10px; }
.profile-note svg { flex: none; margin-top: 3px; }

.hero-band {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line-on-ink);
}
.hero-band ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-band li {
  padding: 26px 24px 28px 0;
  font-size: 0.88rem; color: var(--muted-on-ink);
}
.hero-band li + li { padding-left: 24px; border-left: 1px solid var(--line-on-ink); }
.hero-band strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--paper); margin-bottom: 4px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-band ul { grid-template-columns: 1fr 1fr; }
  .hero-band li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-band li:nth-child(n+3) { border-top: 1px solid var(--line-on-ink); }
}
@media (max-width: 560px) {
  .hero-band ul { grid-template-columns: 1fr; }
  .hero-band li, .hero-band li + li { padding: 20px 0; border-left: 0; }
  .hero-band li + li { border-top: 1px solid var(--line-on-ink); }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
}

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

.section { padding: var(--section) 0; scroll-margin-top: 78px; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .lead { color: var(--muted-on-ink); }
.section-dark .eyebrow { color: var(--brass-light); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .index {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--brass);
  padding-top: 10px;
  border-top: 1px solid var(--line-strong);
}
.section-dark .section-head .index { color: var(--brass-light); border-color: var(--line-on-ink); }
.section-head .index span { display: block; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.section-dark .section-head .index span { color: var(--muted-on-ink); }
.section-head .lead { margin-top: 24px; }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* Approche */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.pillar { padding: 36px 36px 8px 0; }
.pillar + .pillar { padding-left: 36px; border-left: 1px solid var(--line); }
.pillar .num { font-family: var(--serif); font-size: 0.95rem; color: var(--brass); margin-bottom: 26px; display: block; }
.pillar h3 { margin-bottom: 14px; }
.pillar p { color: var(--muted); font-size: 0.98rem; }

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
}

/* Engagements */
.commitments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.commitment { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 36px 40px 36px 0; border-bottom: 1px solid var(--line); }
.commitment:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line); }
.commitment .num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--brass); line-height: 1.3; }
.commitment h3 { margin-bottom: 10px; }
.commitment p { color: var(--muted); font-size: 0.98rem; }

@media (max-width: 860px) {
  .commitments { grid-template-columns: 1fr; }
  .commitment, .commitment:nth-child(even) { padding: 28px 0; border-left: 0; grid-template-columns: 48px 1fr; }
}

/* Critères */
.criteria-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
.criteria-table { width: 100%; border-collapse: collapse; }
.criteria-table th, .criteria-table td { text-align: left; vertical-align: top; padding: 22px 0; border-bottom: 1px solid var(--line); }
.criteria-table tr:first-child th, .criteria-table tr:first-child td { border-top: 1px solid var(--line-strong); }
.criteria-table th { width: 34%; font-weight: 500; font-size: 0.9rem; color: var(--muted); padding-right: 24px; }
.criteria-table td { font-family: var(--serif); font-size: 1.22rem; line-height: 1.4; }
.criteria-table td small { display: block; font-family: var(--sans); font-size: 0.88rem; color: var(--muted); margin-top: 4px; }

.criteria-aside { font-size: 0.98rem; color: var(--muted); }
.criteria-aside h3 { color: var(--text); margin-bottom: 14px; }
.criteria-aside .exclusion { margin-top: 32px; padding: 22px 24px; border-left: 2px solid var(--brass); background: var(--white); color: var(--text); font-size: 0.94rem; }

.sectors-head { margin: clamp(64px, 8vw, 104px) 0 28px; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.sectors-head p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.sectors li { padding: 30px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.sectors .code { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.sectors h3 { font-size: 1.3rem; margin: 12px 0 8px; }
.sectors p { font-size: 0.92rem; color: var(--muted); margin: 0; }

@media (max-width: 960px) {
  .criteria-grid { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sectors { grid-template-columns: 1fr; }
  .criteria-table th, .criteria-table td { display: block; width: 100%; padding: 0; border: 0; }
  .criteria-table tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .criteria-table tr:first-child { border-top: 1px solid var(--line-strong); }
  .criteria-table tr:first-child th, .criteria-table tr:first-child td { border-top: 0; }
  .criteria-table th { margin-bottom: 4px; }
}

/* Processus */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.step { position: relative; padding-right: 22px; }
.step .marker {
  width: 46px; height: 46px; border: 1px solid var(--line-strong); background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.15rem; color: var(--ink); position: relative;
}
.step:last-child .marker { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.step .when { display: block; margin: 26px 0 8px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.step h3 { font-size: 1.22rem; margin-bottom: 10px; }
.step p { font-size: 0.92rem; color: var(--muted); }

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 22px; padding: 0 0 32px; }
  .step::before { content: ""; position: absolute; left: 23px; top: 46px; bottom: 0; width: 1px; background: var(--line-strong); }
  .step:last-child::before { display: none; }
  .step .marker { grid-row: span 3; }
  .step .when { margin-top: 2px; }
}

/* Financement */
.finance-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.principles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-on-ink); }
.principles li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-on-ink); }
.principles .k { font-size: 0.82rem; color: var(--muted-on-ink); padding-top: 3px; }
.principles .v { font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; }

.dossier { background: var(--paper); color: var(--text); padding: 36px 36px 30px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5); position: relative; }
.dossier::before { content: ""; position: absolute; top: 0; left: 36px; right: 36px; height: 3px; background: var(--brass); }
.dossier-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); }
.dossier h3 { font-size: 1.6rem; margin: 22px 0 18px; }
.dossier ol { list-style: none; margin: 0; padding: 0; counter-reset: d; }
.dossier li { counter-increment: d; display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 0.94rem; }
.dossier li::before { content: counter(d, decimal-leading-zero); font-family: var(--serif); color: var(--brass); width: 26px; flex: none; }
.dossier li::after { content: ""; flex: 1; border-bottom: 1px dotted var(--line-strong); order: 2; transform: translateY(-4px); min-width: 20px; }
.dossier li span { order: 1; }
.dossier li em { order: 3; font-style: normal; font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.dossier-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }

.finance-cta { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.finance-cta p { font-size: 0.9rem; color: var(--muted-on-ink); margin: 0; }

@media (max-width: 960px) {
  .finance-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .principles li { grid-template-columns: 1fr; gap: 4px; }
  .dossier { padding: 28px 22px 24px; }
  .dossier::before { left: 22px; right: 22px; }
  .dossier li em { display: none; }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 14px; height: 14px; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--ink); }
.faq summary .pm::before { left: 0; right: 0; top: 6.5px; height: 1px; }
.faq summary .pm::after { top: 0; bottom: 0; left: 6.5px; width: 1px; transition: transform .2s ease; }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq .answer { padding: 0 64px 28px 0; color: var(--muted); }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq .answer { padding-right: 0; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.contact-info .lead { margin-top: 24px; }
.contact-points { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.contact-points li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 16px; font-size: 0.95rem; }
.contact-points .k { color: var(--muted); font-size: 0.86rem; }
.contact-points a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact-points a:hover { border-color: var(--ink); }

.form { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; margin-bottom: 22px; }
.field label { font-size: 0.8rem; font-weight: 500; color: var(--text); margin-bottom: 8px; letter-spacing: 0.01em; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color .2s ease;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230f1b2d' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); margin-bottom: 28px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { padding: 12px 10px; text-align: center; font-size: 0.85rem; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.segmented label:not(:first-of-type) { border-left: 1px solid var(--line-strong); }
.segmented input:checked + label { background: var(--ink); color: var(--paper); }
.segmented input:focus-visible + label { outline: 2px solid var(--brass); outline-offset: -2px; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 0.82rem; color: var(--muted); margin: 6px 0 28px; line-height: 1.55; }
.consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ink); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-foot small { font-size: 0.8rem; color: var(--muted); }
.form-status { margin-top: 20px; font-size: 0.92rem; padding: 14px 16px; display: none; }
.form-status.ok { display: block; background: var(--paper-2); border-left: 2px solid var(--ink); }
.form-status.err { display: block; background: #f6ebe6; border-left: 2px solid #8b3a2b; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-points li { grid-template-columns: 1fr; gap: 2px; }
  .segmented { grid-template-columns: 1fr; }
  .segmented label:not(:first-of-type) { border-left: 0; border-top: 1px solid var(--line-strong); }
  .form-foot .btn { width: 100%; justify-content: space-between; }
}

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

.site-footer { background: var(--ink); color: var(--muted-on-ink); font-size: 0.88rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 2fr)); gap: 48px; padding: 72px 0 56px; border-bottom: 1px solid var(--line-on-ink); }
.footer-top p { max-width: 30em; margin-top: 22px; }
.footer-top h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); font-weight: 500; margin-bottom: 18px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 10px; }
.footer-top a { text-decoration: none; }
.footer-top a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 32px; font-size: 0.8rem; }
.footer-bottom a { text-decoration: none; margin-left: 24px; }
.footer-bottom a:first-child { margin-left: 0; }
.footer-bottom a:hover { color: var(--paper); }
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}

/* ---------- Pages légales ---------- */

.legal-hero { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); }
.legal-hero p { color: var(--muted-on-ink); margin-top: 18px; }
.legal { max-width: 760px; padding: clamp(56px, 7vw, 96px) 0; }
.legal h2 { font-size: 1.6rem; margin: 48px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); font-weight: 500; }
.legal .todo { background: #f3e9d6; color: #6b4e1f; padding: 1px 6px; font-size: 0.92em; }

/* ---------- Révélation au défilement ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
