/* ==========================================================================
   Firmly — "Le Dossier" : système visuel
   Papier, encre, cire — pas de dégradé indigo, pas de cartes uniformes.
   ========================================================================== */

:root {
  --paper: #F1E7D3;
  --paper-deep: #E4D6B4;
  --paper-line: #CDB98B;
  --cream: #FBF6E9;
  --ink: #1C1712;
  --ink-soft: #4B4030;
  --ink-faint: #8A7E62;
  --stamp: #A83B2A;
  --stamp-deep: #7C2B1E;
  --brass: #A07425;
  --brass-light: #C9A24A;
  --sage: #55663F;
  --shadow-ink: 0 18px 44px rgba(28, 23, 18, .16);
  --shadow-soft: 0 4px 16px rgba(28, 23, 18, .08);
  --radius: 3px;
  --container: 1240px;
  --ff-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ff-body: "IBM Plex Sans", -apple-system, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 15% 8%, rgba(168,59,42,.05), transparent 40%),
    radial-gradient(circle at 90% 25%, rgba(160,116,37,.06), transparent 45%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1.1em; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
svg { display: block; }
::selection { background: var(--stamp); color: var(--cream); }

h1, h2, h3, h4 {
  margin: 0 0 .4em;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--ink);
}
h1 em, h2 em, h3 em, .ital { font-style: italic; font-weight: 500; color: var(--stamp); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---- Label / mono eyebrow ---- */
.tag-label {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stamp);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.tag-label::before { content: "§"; opacity: .7; }
.tag-label.on-dark { color: var(--brass-light); }

/* ---- Buttons : tamponnés ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px;
  font-family: var(--ff-mono); font-size: 13.5px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  transform: rotate(-.6deg);
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-stamp { background: var(--stamp); border-color: var(--stamp); color: var(--cream); box-shadow: 3px 4px 0 rgba(28,23,18,.85); }
.btn-stamp:hover { transform: rotate(0deg) translate(-2px,-2px); box-shadow: 5px 6px 0 rgba(28,23,18,.85); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--cream); box-shadow: 3px 4px 0 rgba(168,59,42,.5); }
.btn-ink:hover { transform: rotate(0deg) translate(-2px,-2px); box-shadow: 5px 6px 0 rgba(168,59,42,.6); }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); transform: rotate(0deg); }
.btn-line.on-dark { border-color: rgba(251,246,233,.5); color: var(--cream); }
.btn-line.on-dark:hover { background: var(--cream); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--ff-display); font-weight: 700; font-size: 21px; color: var(--ink); }
.logo .mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--stamp);
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-weight: 700; font-size: 16px; font-family: var(--ff-display);
  position: relative;
}
.logo .mark::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px dashed rgba(28,23,18,.3);
}
.nav-desktop { display: flex; align-items: center; gap: 2px; }
.nav-desktop > li { position: relative; }
.nav-desktop > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 15px; font-family: var(--ff-mono); font-size: 13px; letter-spacing: .03em;
  color: var(--ink-soft); border-bottom: 1.5px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-desktop > li > a:hover, .nav-desktop > li.active > a { color: var(--stamp); border-color: var(--stamp); }
.nav-desktop .chevron { width: 9px; height: 9px; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: -10px; width: 320px;
  background: var(--cream); border: 1.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-ink);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px) rotate(-.5deg);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0) rotate(0); }
.dropdown li a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: var(--radius); }
.dropdown li a:hover { background: var(--paper-deep); }
.dropdown .d-num { font-family: var(--ff-mono); font-size: 12px; color: var(--stamp); flex-shrink: 0; padding-top: 2px; }
.dropdown strong { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.dropdown span { font-size: 12.5px; color: var(--ink-faint); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .phone { display: none; }
@media (min-width: 1080px) { .header-cta .phone { display: flex; align-items: center; gap: 7px; font-family: var(--ff-mono); font-size: 13px; color: var(--ink-soft); } }
.nav-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--paper); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; width: 18px; height: 2px; background: var(--ink); }
.nav-toggle span::after { position: absolute; top: 6px; width: 18px; height: 2px; background: var(--ink); }

/* ---- Marquee ticker ---- */
.marquee-strip { border-bottom: 1.5px solid var(--ink); background: var(--brass); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span {
  font-family: var(--ff-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); padding: 11px 26px; white-space: nowrap; display: flex; align-items: center; gap: 26px;
}
.marquee-track span::after { content: "✳"; opacity: .6; font-size: 11px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- Hero ---- */
.hero { position: relative; padding: 64px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 10px; }
.hero-copy { padding: 34px 0 70px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(38px, 5.1vw, 68px); font-weight: 600; }
.hero-lead { font-size: 18.5px; max-width: 480px; margin: 22px 0 34px; color: var(--ink-soft); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.underline-draw { position: relative; display: inline-block; }
.underline-draw svg { position: absolute; left: -2%; right: -2%; bottom: -.08em; width: 104%; height: .3em; overflow: visible; }
.underline-draw path { stroke: var(--stamp); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; }
.underline-draw.in path { animation: draw 1s cubic-bezier(.65,0,.35,1) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-photo-wrap { position: relative; height: 100%; min-height: 460px; }
.hero-photo {
  position: absolute; inset: 0 -28px 0 0; width: calc(100% + 28px);
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--paper) 0%, transparent 16%);
}
.seal-badge {
  position: absolute; left: -34px; bottom: 42px; z-index: 3;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--stamp); color: var(--cream);
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  transform: rotate(-11deg) scale(.6); opacity: 0;
  box-shadow: var(--shadow-ink);
  transition: transform .7s cubic-bezier(.34,1.56,.64,1), opacity .5s ease;
}
.seal-badge.in { transform: rotate(-11deg) scale(1); opacity: 1; }
.seal-badge strong { display: block; font-family: var(--ff-display); font-size: 22px; font-weight: 700; }
@media (max-width: 900px) { .seal-badge { width: 100px; height: 100px; font-size: 9.5px; left: 12px; bottom: -20px; } .seal-badge strong { font-size: 17px; } }

/* ---- Torn paper divider ---- */
.torn {
  position: relative; height: 22px; z-index: 5;
  background-image: linear-gradient(-45deg, var(--paper) 11px, transparent 0), linear-gradient(45deg, var(--paper) 11px, transparent 0);
  background-size: 22px 22px; background-position: left top; background-repeat: repeat-x;
}
.torn.deep { background-image: linear-gradient(-45deg, var(--paper-deep) 11px, transparent 0), linear-gradient(45deg, var(--paper-deep) 11px, transparent 0); }
.torn.ink { background-image: linear-gradient(-45deg, var(--ink) 11px, transparent 0), linear-gradient(45deg, var(--ink) 11px, transparent 0); }
.torn.cream { background-image: linear-gradient(-45deg, var(--cream) 11px, transparent 0), linear-gradient(45deg, var(--cream) 11px, transparent 0); }
.torn-up { transform: rotate(180deg); margin-bottom: -1px; }

/* ---- Sections ---- */
.section { padding: 90px 0; position: relative; }
.section--tight { padding: 60px 0; }
.section--deep { background: var(--paper-deep); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink p { color: rgba(251,246,233,.68); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--cream); }
.section--cream { background: var(--cream); }

.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(29px, 3.6vw, 44px); }
.section-head p { font-size: 17px; margin-top: 14px; }

/* ---- Manifesto / pull quote ---- */
.manifesto { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: center; }
.manifesto blockquote {
  margin: 0; font-family: var(--ff-display); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.32; color: var(--ink);
}
.manifesto cite { display: block; margin-top: 22px; font-family: var(--ff-mono); font-style: normal; font-size: 13px; color: var(--ink-faint); }
.stat-seal {
  width: 210px; height: 210px; border-radius: 50%; margin-left: auto;
  border: 2px solid var(--ink); background: var(--paper);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transform: rotate(7deg); position: relative;
}
.stat-seal::before { content: ""; position: absolute; inset: 10px; border: 1px dashed var(--ink-faint); border-radius: 50%; }
.stat-seal strong { font-family: var(--ff-display); font-size: 52px; color: var(--stamp); line-height: 1; }
.stat-seal span { font-family: var(--ff-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; margin-top: 8px; text-align: center; padding: 0 16px; }

/* ---- Dossier index (services) ---- */
.dossier-list { border-top: 1.5px solid var(--ink); }
.dossier-row {
  display: grid; grid-template-columns: 70px 1.6fr 2fr auto; gap: 28px; align-items: center;
  padding: 30px 18px; border-bottom: 1.5px solid var(--ink);
  transition: background .25s ease, color .25s ease, padding-left .25s ease;
  cursor: pointer;
}
.dossier-row:hover { background: var(--ink); color: var(--paper); padding-left: 30px; }
.dossier-row:hover .dossier-num { color: var(--brass-light); }
.dossier-row:hover .dossier-desc { color: rgba(251,246,233,.7); }
.dossier-row:hover .dossier-arrow { background: var(--stamp); border-color: var(--stamp); transform: translateX(4px) rotate(0deg); }
.dossier-num { font-family: var(--ff-mono); font-size: 15px; color: var(--stamp); }
.dossier-title { font-family: var(--ff-display); font-size: clamp(21px, 2.4vw, 28px); font-weight: 600; }
.dossier-desc { font-size: 14.5px; color: var(--ink-faint); margin: 0; transition: color .25s ease; }
.dossier-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transform: rotate(-45deg); transition: all .25s ease; color: var(--cream); background: transparent;
}
.dossier-row:hover .dossier-arrow svg { color: var(--cream); }
.dossier-arrow svg { width: 16px; height: 16px; color: var(--ink); }
.dossier-row:hover .dossier-arrow svg { color: var(--paper); }
@media (max-width: 760px) {
  .dossier-row { grid-template-columns: 40px 1fr auto; padding: 22px 6px; }
  .dossier-desc { display: none; }
}

/* ---- Photo break / cinematic band ---- */
.photo-band { position: relative; min-height: 480px; display: flex; align-items: center; overflow: hidden; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,23,18,.55), rgba(28,23,18,.78)); }
.photo-band-content { position: relative; z-index: 2; max-width: 720px; }
.photo-band blockquote { font-family: var(--ff-display); font-style: italic; font-size: clamp(26px, 3.6vw, 44px); color: var(--cream); margin: 0; line-height: 1.28; }
.photo-band cite { display: block; margin-top: 20px; font-family: var(--ff-mono); font-style: normal; font-size: 13px; color: var(--brass-light); text-transform: uppercase; letter-spacing: .05em; }

/* ---- Passport-style process timeline ---- */
.timeline { display: flex; justify-content: space-between; position: relative; padding-top: 10px; }
.timeline::before {
  content: ""; position: absolute; top: 46px; left: 5%; right: 5%; height: 0;
  border-top: 2px dashed var(--paper-line);
}
.timeline-item { position: relative; flex: 1; text-align: center; padding: 0 12px; }
.timeline-stamp {
  width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--paper); position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 30px; font-weight: 700; color: var(--stamp);
  transform: scale(.5) rotate(-20deg); opacity: 0;
  transition: transform .55s cubic-bezier(.34,1.56,.64,1), opacity .4s ease;
}
.timeline-stamp.in { transform: scale(1) rotate(var(--r, -4deg)); opacity: 1; }
.timeline-item h4 { font-size: 16px; margin-bottom: 8px; }
.timeline-item p { font-size: 13.5px; margin: 0; color: var(--ink-faint); }
@media (max-width: 760px) {
  .timeline { flex-direction: column; gap: 34px; }
  .timeline::before { display: none; }
}

/* ---- Ledger FAQ ---- */
.ledger { border-top: 1.5px solid var(--ink); max-width: 820px; }
.ledger-item { border-bottom: 1.5px solid var(--ink); }
.ledger-q {
  display: flex; align-items: baseline; gap: 20px; padding: 24px 4px; font-family: var(--ff-display);
  font-size: 18px; font-weight: 600; color: var(--ink);
}
.ledger-q .ledger-num { font-family: var(--ff-mono); font-size: 13px; color: var(--stamp); flex-shrink: 0; }
.ledger-q .ledger-plus { margin-left: auto; font-family: var(--ff-mono); font-size: 20px; color: var(--stamp); transition: transform .2s ease; flex-shrink: 0; }
.ledger-item.open .ledger-plus { transform: rotate(45deg); }
.ledger-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.ledger-a-inner { padding: 0 4px 26px 40px; font-size: 15px; color: var(--ink-soft); max-width: 640px; }
.ledger-item.open .ledger-a { max-height: 400px; }

/* ---- Testimonial scroller ---- */
.quote-scroller { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin: 0 -28px; padding-left: 28px; padding-right: 28px; }
.quote-scroller::-webkit-scrollbar { height: 6px; }
.quote-scroller::-webkit-scrollbar-thumb { background: var(--paper-line); border-radius: 4px; }
.quote-slide {
  scroll-snap-align: start; flex: 0 0 min(560px, 86vw);
  background: var(--cream); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 38px; position: relative;
}
.quote-slide .qmark { font-family: var(--ff-display); font-size: 70px; color: var(--stamp); line-height: 1; margin-bottom: -6px; opacity: .8; }
.quote-slide p { font-family: var(--ff-display); font-size: 19px; color: var(--ink); font-weight: 500; line-height: 1.44; }
.quote-who { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.quote-who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--ink); }
.quote-who strong { display: block; font-size: 14px; font-family: var(--ff-display); }
.quote-who span { font-size: 12px; color: var(--ink-faint); font-family: var(--ff-mono); }

/* ---- Final CTA ---- */
.cta-final { text-align: center; padding: 100px 0; position: relative; }
.cta-final h2 { font-size: clamp(32px, 5vw, 58px); max-width: 780px; margin: 0 auto 20px; }
.cta-final p { font-size: 17px; max-width: 480px; margin: 0 auto 36px; }
.signature-line { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; font-family: var(--ff-mono); font-size: 12px; color: var(--ink-faint); }
.signature-line .dash { width: 90px; height: 0; border-top: 1px dashed var(--ink-faint); }

/* ---- Footer (dossier back cover) ---- */
.site-footer { background: var(--ink); color: rgba(251,246,233,.7); padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 10px; padding-bottom: 44px; }
.footer-grid > div { padding: 0 28px; border-left: 1px solid rgba(251,246,233,.15); }
.footer-grid > div:first-child { border-left: none; padding-left: 0; }
.footer-brand .logo { color: var(--cream); }
.footer-brand .logo .mark { border-color: rgba(251,246,233,.4); }
.footer-brand p { font-size: 14px; max-width: 260px; margin-top: 16px; color: rgba(251,246,233,.55); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(251,246,233,.25); display: flex; align-items: center; justify-content: center; transition: background .15s ease, border-color .15s ease; }
.footer-social a:hover { background: var(--stamp); border-color: var(--stamp); }
.footer-col h5 { font-family: var(--ff-mono); color: var(--brass-light); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-col li { margin-bottom: 12px; font-size: 14.5px; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid rgba(251,246,233,.15); font-size: 12.5px; font-family: var(--ff-mono); flex-wrap: wrap; gap: 12px; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---- Mobile CTA ---- */
.mobile-cta { display: none; }

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 720px; margin: 0 auto;
  background: var(--cream); color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-ink); padding: 22px 24px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  transform: translateY(140%); opacity: 0; transition: transform .35s ease, opacity .35s ease; pointer-events: none;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner p { color: var(--ink-soft); font-size: 13.5px; margin: 0; flex: 1 1 320px; font-family: var(--ff-body); }
.cookie-banner strong { color: var(--ink); font-family: var(--ff-display); }
.cookie-banner a { text-decoration: underline; color: var(--ink); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .cookie-banner { bottom: 82px; left: 12px; right: 12px; padding: 18px; } }

/* ---- Mobile nav ---- */
.mobile-nav { position: fixed; inset: 0; background: var(--ink); z-index: 200; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid rgba(251,246,233,.15); }
.mobile-nav-top .logo { color: var(--cream); }
.mobile-nav-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(251,246,233,.3); display: flex; align-items: center; justify-content: center; color: var(--cream); }
.mobile-nav ul { padding: 20px; display: grid; gap: 4px; }
.mobile-nav a { display: block; padding: 15px 6px; font-family: var(--ff-display); font-size: 19px; font-weight: 600; color: var(--cream); border-bottom: 1px solid rgba(251,246,233,.08); }
.mobile-nav .sub { padding-left: 16px; }
.mobile-nav .sub a { font-family: var(--ff-mono); font-size: 14px; font-weight: 500; color: rgba(251,246,233,.65); padding: 11px 6px; }
.mobile-nav-actions { padding: 10px 20px 30px; display: grid; gap: 12px; }

/* ---- Reading progress ---- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--stamp); width: 0%; z-index: 400; transition: width .1s linear; }

/* ---- Generic content page (legal) ---- */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose p { font-size: 15px; }
.prose a { text-decoration: underline; }

/* ---- Breadcrumb ---- */
.breadcrumb { padding: 18px 0; font-family: var(--ff-mono); font-size: 12.5px; color: var(--ink-faint); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--stamp); }

/* ---- Page hero (subpages) ---- */
.page-hero { padding: 56px 0 74px; position: relative; }
.page-hero-inner { max-width: 780px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 50px); }
.page-hero .hero-lead { margin-top: 18px; }
.tag-list { display: flex; gap: 9px; flex-wrap: wrap; margin: 22px 0 30px; }
.tag-list span { font-family: var(--ff-mono); font-size: 12px; padding: 7px 13px; border: 1px solid var(--ink); border-radius: 999px; }

/* ---- Feature split (checklist + visual) ---- */
.feature-split { display: grid; grid-template-columns: 1fr .9fr; gap: 60px; align-items: center; }
.feature-split.reverse .feature-visual { order: 2; }
.checklist { display: grid; gap: 18px; margin: 26px 0 30px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .tick { font-family: var(--ff-mono); font-size: 12px; color: var(--stamp); border: 1px solid var(--stamp); border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.checklist div strong { display: block; font-family: var(--ff-display); font-size: 16px; color: var(--ink); }
.checklist div span { font-size: 13.5px; color: var(--ink-faint); }
.feature-visual { border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.feature-visual img { width: 100%; height: 340px; object-fit: cover; }
.feature-visual .cap { padding: 16px 20px; font-family: var(--ff-mono); font-size: 12px; color: var(--ink-faint); border-top: 1.5px solid var(--ink); }

/* ---- Simple grid cards (used sparingly) ---- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stamp-card { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 26px; background: var(--cream); }
.stamp-card h3 { font-size: 17px; }
.stamp-card p { font-size: 14px; margin: 0; color: var(--ink-faint); }

/* ---- Portrait grid (about) ---- */
.portrait-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.portrait-grid figure { margin: 0; }
.portrait-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border: 1.5px solid var(--ink); border-radius: var(--radius); filter: saturate(.9); }
.portrait-grid figcaption { font-family: var(--ff-mono); font-size: 11.5px; color: var(--ink-faint); margin-top: 10px; text-align: center; }

/* ---- Formulaire (contact) ---- */
.form-card { background: var(--cream); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-family: var(--ff-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border-radius: var(--radius); border: 1.5px solid var(--paper-line);
  font-family: var(--ff-body); font-size: 14.5px; background: var(--paper);
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--stamp); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success .ico { width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--stamp); color: var(--cream); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 26px; }

/* ---- Info rows (contact) ---- */
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--paper-line); }
.info-row:last-child { border-bottom: none; }
.info-row .ico { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--stamp); font-size: 18px; }
.info-row strong { display: block; font-family: var(--ff-display); font-size: 15px; margin-bottom: 3px; }
.info-row span, .info-row a { font-size: 14px; color: var(--ink-faint); font-family: var(--ff-mono); }

/* ---- Price cards ---- */
.price-card { background: var(--cream); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 32px; text-align: center; position: relative; }
.price-card.featured { border-color: var(--stamp); border-width: 2px; }
.price-card .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--stamp); color: var(--cream); font-family: var(--ff-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 6px 16px; border-radius: 999px; border: 1.5px solid var(--ink); }
.price-card .amount { font-family: var(--ff-display); font-size: 16px; font-weight: 600; color: var(--stamp); margin: 16px 0 20px; }

/* ---- CTA strip (subpages) ---- */
.cta-strip {
  background: var(--ink); color: var(--cream); border-radius: var(--radius);
  padding: 46px 50px; display: flex; justify-content: space-between; align-items: center;
  gap: 28px; flex-wrap: wrap; transform: rotate(-.35deg); border: 1.5px solid var(--ink);
}
.cta-strip h3 { color: var(--cream); font-size: 25px; margin-bottom: 4px; }
.cta-strip p { color: rgba(251,246,233,.65); margin: 0; }

/* ---- Document mock-up (feature visual placeholder) ---- */
.doc-mock { border: 1.5px solid var(--ink); background: var(--cream); border-radius: var(--radius); padding: 8px 28px; }
.doc-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--paper-line); }
.doc-row:last-child { border-bottom: none; }
.doc-row strong { display: block; font-family: var(--ff-display); font-size: 15.5px; color: var(--ink); font-weight: 600; }
.doc-row span { font-family: var(--ff-mono); font-size: 12px; color: var(--ink-faint); }
.doc-stamp { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--stamp); color: var(--stamp); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.reveal { transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.pending { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: translateY(0); }
.word-stagger span { display: inline-block; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 10px; }
  .footer-grid > div { border-left: none; padding-left: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap { min-height: 340px; order: -1; }
  .hero-photo { clip-path: polygon(0 0,100% 0,100% 92%,0 100%); inset: 0; width: 100%; }
  .manifesto { grid-template-columns: 1fr; gap: 32px; }
  .stat-seal { margin: 0; }
  .portrait-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 30px; }
  .feature-split.reverse .feature-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .dossier-row { grid-template-columns: 34px 1fr auto; }
  .mobile-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: var(--paper); border-top: 1.5px solid var(--ink); padding: 12px 16px; gap: 10px;
  }
  body { padding-bottom: 72px; }
  .timeline-stamp { width: 78px; height: 78px; font-size: 24px; }
}
