/* ==========================================================
   Lou Vidal — Maison d'Orsay · Site auteur (jeux d'enquête)
   Univers : dossier confidentiel 1924 — noir sépia, rouge sang,
             parchemin, or. Commissaire Vasco.
   Typo    : Oswald (titres affiche) · Playfair Display (serif vintage)
             Special Elite (machine à écrire / tampons) · Caveat (manuscrit)
             Inter (corps)
   ========================================================== */

:root {
  --paper:      #ece0c8;   /* papier vieilli — base */
  --paper-2:    #e1d2b1;   /* papier plus soutenu */
  --paper-3:    #f4edda;   /* papier clair — cartes */
  --noir:       #17120d;   /* noir sépia profond */
  --noir-2:     #211a12;   /* noir sépia plus doux */
  --velvet:     #5a0f12;   /* velours bordeaux */
  --velvet-2:   #3a090b;   /* velours sombre */
  --sang:       #ae1219;   /* rouge crime — titres/accents */
  --sang-bright:#d21a20;   /* rouge vif */
  --or:         #c39a3e;   /* or Maison d'Orsay */
  --or-soft:    #d8b968;   /* or clair */
  --encre:      #241a10;   /* encre brune — texte sur papier */
  --encre-soft: #4a3a26;   /* encre plus douce */
  --muted:      #7c6b4f;   /* encre passée */
  --border:     #c9b88f;   /* bordure papier */
  --white:      #fffdf8;

  --display: 'Oswald', 'Arial Narrow', 'Segoe UI', sans-serif;
  --serif:   'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --type:    'Special Elite', 'Courier New', monospace;
  --script:  'Caveat', 'Kalam', cursive;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(23, 18, 13, 0.12);
  --shadow-md: 0 6px 20px rgba(23, 18, 13, 0.18);
  --shadow-lg: 0 16px 46px rgba(23, 18, 13, 0.28);

  --container: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--encre);
  background: var(--paper);
  position: relative;
}

/* Grain papier — bruit discret sur toute la page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch' seed='7'/><feColorMatrix values='0 0 0 0 0.14  0 0 0 0 0.10  0 0 0 0 0.06  0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--encre);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0 0 0.6em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }

a {
  color: var(--sang);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--encre); }

img { max-width: 100%; height: auto; display: block; }

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

.eyebrow {
  font-family: var(--type);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sang);
  margin: 0 0 1rem;
}

.lead { font-size: 1.1rem; color: var(--encre-soft); font-family: var(--sans); }

.center { text-align: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--sang);
  color: var(--paper-3);
  border-color: var(--sang);
}
.btn-primary:hover {
  background: var(--velvet);
  border-color: var(--velvet);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--encre);
  border-color: var(--encre);
}
.btn-secondary:hover {
  background: var(--encre);
  color: var(--paper-3);
}

.btn-gold {
  background: var(--or);
  color: var(--noir);
  border-color: var(--or);
}
.btn-gold:hover {
  background: var(--or-soft);
  border-color: var(--or-soft);
}

/* Sur fonds sombres */
.on-dark .btn-secondary { color: var(--paper); border-color: var(--paper); }
.on-dark .btn-secondary:hover { background: var(--paper); color: var(--noir); }

/* ---------- Header ---------- */

.site-header {
  background: rgba(23, 18, 13, 0.96);
  border-bottom: 2px solid var(--or);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}
.brand em {
  color: var(--or);
  font-style: normal;
  font-weight: 500;
}
.brand small {
  font-family: var(--type);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.9rem;
  align-items: center;
}
.nav a {
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--sang-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover { color: var(--or); }
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--paper);
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--noir);
    border-bottom: 2px solid var(--or);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.9rem var(--gutter); width: 100%; }
  .nav-toggle { display: block; }
}

/* ---------- Hero (dossier confidentiel sur velours) ---------- */

.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(circle at 20% 10%, rgba(90,15,18,0.55) 0%, transparent 55%),
    linear-gradient(160deg, var(--noir) 0%, var(--velvet-2) 60%, var(--noir) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero h1 { color: var(--paper); }
.hero h1 em {
  color: var(--sang-bright);
  font-style: normal;
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero p.lead { font-size: 1.08rem; margin-bottom: 1.8rem; color: rgba(236, 224, 200, 0.82); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-trust {
  font-family: var(--type);
  font-size: 0.82rem;
  color: rgba(236, 224, 200, 0.6);
  border-top: 1px solid rgba(195, 154, 62, 0.35);
  padding-top: 1.1rem;
  margin-top: 0.6rem;
  letter-spacing: 0.04em;
}
.hero-trust::before {
  content: '● ';
  color: var(--sang-bright);
}

/* Dossier "case file" à droite du hero */
.hero-dossier {
  position: relative;
  background: var(--paper-3);
  color: var(--encre);
  border-radius: 3px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.4deg);
  border: 1px solid var(--border);
  max-width: 380px;
  justify-self: end;
}
.hero-dossier::before {
  /* trombone */
  content: '';
  position: absolute;
  top: -14px; left: 28px;
  width: 18px; height: 46px;
  border: 3px solid #9a9385;
  border-radius: 10px;
  border-bottom-color: transparent;
  transform: rotate(-8deg);
  opacity: 0.8;
}
.dossier-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--encre);
  padding-bottom: 0.6rem;
  margin-bottom: 0.9rem;
}
.dossier-head .ref {
  font-family: var(--type);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.5;
}
.dossier-head .ref strong { color: var(--encre); display: block; font-size: 0.85rem; }
.dossier-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  color: var(--velvet);
  text-transform: none;
}
.dossier-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-family: var(--type);
  font-size: 0.88rem;
  color: var(--encre-soft);
}
.dossier-list li {
  padding: 0.3rem 0;
  border-bottom: 1px dotted var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dossier-list li::before { content: '☐'; color: var(--muted); }
.dossier-list li.done { color: var(--muted); }
.dossier-list li.done::before { content: '☑'; color: var(--sang); }
.dossier-list li.done span { text-decoration: line-through; }
.dossier-suspect {
  font-family: var(--script);
  font-size: 1.15rem;
  color: var(--sang);
  transform: rotate(-2deg);
}

.hero-seal {
  position: absolute;
  right: -18px; bottom: -18px;
  width: 84px; height: 84px;
  z-index: 3;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-dossier { justify-self: center; margin-top: 1rem; max-width: 340px; }
}

/* ---------- Sections génériques ---------- */

section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3rem;
}
.section-head .lead { margin-top: 0.4rem; }

/* bandeau sombre réutilisable */
.band-dark {
  background:
    linear-gradient(160deg, var(--noir) 0%, var(--velvet-2) 120%);
  color: var(--paper);
}
.band-dark h2, .band-dark h3 { color: var(--paper); }
.band-dark .lead { color: rgba(236, 224, 200, 0.75); }
.band-dark .eyebrow { color: var(--or); }

/* ---------- Timeline : les 3 temps de l'enquête ---------- */

.timeline {
  position: relative;
  max-width: 960px;
  margin: 3rem auto 0;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 3.6rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--sang) 0 8px, transparent 8px 16px);
  opacity: 0.5;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.timeline-step { text-align: center; padding: 0 0.5rem; }
.timeline-icon {
  color: var(--sang);
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  display: block;
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 0 0 6px var(--paper);
}
.band-dark .timeline-icon,
.band-dark .timeline-step .timeline-icon {
  background: var(--noir);
  box-shadow: 0 0 0 6px var(--noir);
  color: var(--or);
}
.timeline-num {
  font-family: var(--type);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--sang);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.timeline-step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.timeline-step p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 auto;
  max-width: 250px;
}
.band-dark .timeline-step p { color: rgba(236,224,200,0.7); }

@media (max-width: 700px) {
  .timeline::before { display: none; }
  .timeline-track { grid-template-columns: 1fr; gap: 2.25rem; }
  .timeline-step { border-left: 2px solid var(--sang); padding-left: 1.5rem; text-align: left; }
  .timeline-icon { margin: 0 0 0.6rem; box-shadow: none; }
  .timeline-step p { margin-left: 0; }
}

/* ---------- Un mot de l'auteure ---------- */

.word-from-me {
  background: var(--paper-2);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  position: relative;
}
.word-from-me::before, .word-from-me::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--or) 0 10px, transparent 10px 20px);
  opacity: 0.45;
}
.word-from-me::before { top: 0; }
.word-from-me::after { bottom: 0; }

.word-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.word-mark {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--sang);
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.4;
}
.word-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.45;
  font-weight: 400;
  font-style: italic;
  color: var(--encre);
  margin: 0 0 2rem;
}
.word-quote em { color: var(--sang); font-style: italic; }

.signature-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
}
.signature {
  font-family: var(--script);
  font-size: 2.4rem;
  color: var(--encre);
  line-height: 1;
  transform: rotate(-3deg);
  font-weight: 600;
}
.signature-meta {
  font-family: var(--type);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Collection (fiches livres) ---------- */

.collection { background: var(--paper); }

.book-card {
  background: var(--paper-3);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.book-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--sang);
}

.book-cover {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 10px 28px rgba(23, 18, 13, 0.32);
}

.book-tag {
  font-family: var(--type);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sang);
  margin-bottom: 0.6rem;
}

.book-card h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 0.4rem;
}
.book-subtitle {
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 0.9rem;
  text-transform: none;
}
.book-pitch { margin-bottom: 1rem; color: var(--encre-soft); }

.book-stats {
  display: flex;
  gap: 1.5rem;
  margin: 0 0 1.25rem;
  flex-wrap: wrap;
}
.book-stat { text-align: center; }
.book-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--sang);
  line-height: 1;
}
.book-stat span {
  font-family: var(--type);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.book-excerpt {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--encre-soft);
  border-left: 2px solid var(--or);
  padding: 0.25rem 0 0.25rem 1rem;
  margin: 0.5rem 0 1.25rem;
  line-height: 1.55;
}

.book-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Carte "à venir" */
.book-card--soon { opacity: 0.96; }
.book-card--soon::before { background: var(--or); }
.book-cover-soon {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 3px;
  background:
    repeating-linear-gradient(45deg, var(--noir-2) 0 12px, var(--noir) 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--or);
  font-family: var(--type);
  letter-spacing: 0.2em;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 10px 28px rgba(23,18,13,0.32);
  border: 2px solid var(--or);
}
.badge-soon {
  display: inline-block;
  font-family: var(--type);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--noir);
  background: var(--or);
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

@media (max-width: 720px) {
  .book-card { grid-template-columns: 1fr; text-align: center; }
  .book-cover, .book-cover-soon { max-width: 190px; margin: 0 auto; }
  .book-actions, .book-stats { justify-content: center; }
}

/* ---------- Kit gratuit (bloc velours, kit unique) ---------- */

.kit-block { position: relative; }
.kit-feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(244, 237, 218, 0.05);
  border: 1px solid rgba(195, 154, 62, 0.35);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.kit-docs { list-style: none; margin: 1.5rem 0; padding: 0; }
.kit-docs li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.9rem 0;
  border-bottom: 1px dotted rgba(195, 154, 62, 0.35);
}
.kit-docs li:last-child { border-bottom: none; }
.kit-doc-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--or);
  color: var(--or);
  font-family: var(--display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kit-docs h4 {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  color: var(--paper);
  margin: 0 0 0.2rem;
}
.kit-docs p { margin: 0; font-size: 0.92rem; color: rgba(236,224,200,0.7); }

.kit-visual-card {
  background: var(--paper-3);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: rotate(-1.4deg);
  border-top: 5px solid var(--sang);
}
.kit-visual-card .stamp-conf { margin: 0 auto 1rem; }
.kit-visual-card .kit-visual-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--velvet);
  text-transform: none;
  margin: 0.5rem 0;
}
.kit-visual-card .kit-visual-meta {
  font-family: var(--type);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .kit-feature { grid-template-columns: 1fr; }
  .kit-visual-card { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ---------- Par où commencer ---------- */

.start-choice { background: var(--paper-2); }
.start-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 980px;
  margin: 2.5rem auto 0;
}
.start-item {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--sang);
  background: var(--paper-3);
  border-radius: 0 0 var(--radius) var(--radius);
}
.start-item strong {
  display: block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  color: var(--encre);
}
.start-item span { color: var(--muted); font-size: 0.95rem; }
.start-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}
@media (max-width: 820px) { .start-guide { grid-template-columns: 1fr; } }

/* ---------- À propos ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-grid p { color: var(--encre-soft); }
.about-card {
  background: var(--paper-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: sticky;
  top: 92px;
}
.about-card .stamp-conf { margin: 0 auto 1rem; }
.about-card .about-name {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.5rem;
  margin: 0.75rem 0 0.2rem;
}
.about-card .about-role {
  font-family: var(--type);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.article h2 { margin-top: 2.5rem; font-size: 1.5rem; color: var(--velvet); }
.article h3 { margin-top: 1.75rem; font-size: 1.15rem; }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; max-width: 340px; margin: 0 auto; }
}

/* ---------- Contenu article (mentions, politique) ---------- */

.article {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  max-width: 780px;
  margin: 0 auto;
}
.article ul { padding-left: 1.5rem; margin-bottom: 1em; }
.article li { margin-bottom: 0.4rem; }
.article p, .article li { color: var(--encre-soft); }
.article h1 { color: var(--encre); }

/* ==========================================================
   Tampons & cachet
   ========================================================== */

.stamp-conf {
  display: inline-block;
  font-family: var(--type);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sang);
  border: 2.5px solid var(--sang);
  border-radius: 4px;
  padding: 0.35rem 0.9rem;
  transform: rotate(-6deg);
  opacity: 0.85;
  box-shadow: inset 0 0 0 1px var(--paper-3);
}

.stamp-tome {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--paper);
  background: var(--sang);
  padding: 0.35rem 0.9rem;
  border-radius: 3px;
  transform: rotate(-2deg);
}

/* cachet de cire (SVG inline coloré) */
.wax { color: var(--velvet); filter: drop-shadow(0 3px 4px rgba(0,0,0,0.35)); }

/* accents manuscrits */
.script-accent {
  font-family: var(--script);
  color: var(--or);
  font-size: 1.35rem;
  font-weight: 600;
  display: inline-block;
  transform: rotate(-3deg);
}

/* ==========================================================
   Landing kit (page dédiée capture email)
   ========================================================== */

.kit-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }

.kit-page-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.kit-page h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 1.25rem; line-height: 1.05; }
.kit-page h1 .accent { display: block; color: var(--sang); }
.kit-intro { font-size: 1.08rem; line-height: 1.6; color: var(--encre-soft); margin-bottom: 2.25rem; }

.kit-items { display: grid; gap: 1.4rem; margin-bottom: 2.25rem; }
.kit-item { display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; align-items: start; }
.kit-item-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--sang);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--sang);
  flex-shrink: 0;
}
.kit-item-body h3 {
  font-size: 1.08rem;
  margin-bottom: 0.3rem;
  color: var(--encre);
  font-family: var(--sans);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.kit-item-body p { color: var(--encre-soft); font-size: 0.97rem; margin: 0; line-height: 1.55; }

.kit-quote { padding: 1.5rem 0 0.5rem; border-top: 1px dashed var(--border); text-align: center; }
.kit-quote-text {
  font-family: var(--serif);
  font-style: italic;
  color: var(--encre);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 auto 0.85rem;
  max-width: 480px;
}
.kit-quote-author {
  font-family: var(--script);
  font-size: 1.6rem;
  color: var(--sang);
  transform: rotate(-2deg);
  display: inline-block;
}

/* form card */
.kit-form-card {
  background: var(--paper-3);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  border-top: 5px solid var(--sang);
  position: sticky;
  top: 92px;
}

.pdf-stack {
  position: relative;
  height: 210px;
  margin: 0 auto 1.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pdf-stack picture, .pdf-stack .pdf-mock {
  position: absolute;
  width: 140px;
  height: 197px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(23,18,13,0.3), 0 2px 6px rgba(23,18,13,0.18);
  background: var(--white);
  transition: transform .3s ease;
  overflow: hidden;
  display: block;
}
.pdf-preview { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }
.pdf-stack > *:nth-child(1) { transform: translateX(-52px) rotate(-8deg); z-index: 1; }
.pdf-stack > *:nth-child(2) { transform: translateY(-8px); z-index: 3; }
.pdf-stack > *:nth-child(3) { transform: translateX(52px) rotate(8deg); z-index: 2; }
.kit-form-card:hover .pdf-stack > *:nth-child(1) { transform: translateX(-58px) rotate(-10deg); }
.kit-form-card:hover .pdf-stack > *:nth-child(3) { transform: translateX(58px) rotate(10deg); }

/* mock PDF (quand pas d'aperçu image) */
.pdf-mock {
  background: var(--paper-3);
  border: 1px solid var(--border);
  padding: 0.9rem;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.pdf-mock small {
  font-family: var(--type);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: var(--sang);
  text-transform: uppercase;
}
.pdf-mock strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--velvet);
  line-height: 1.2;
  margin-top: 0.4rem;
}

.kit-form-heading { text-align: center; margin-bottom: 0.4rem; }
.kit-form-heading h2 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.kit-form-subtitle { text-align: center; color: var(--muted); font-size: 0.95rem; margin: 0 0 1.5rem; }

.kit-form .form-field { margin-bottom: 0.9rem; }
.kit-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--encre);
  background: var(--paper);
  transition: border-color .15s ease;
}
.kit-form input::placeholder { color: rgba(124, 107, 79, 0.75); }
.kit-form input:focus { outline: none; border-color: var(--sang); background: var(--white); }

.kit-form-submit { width: 100%; justify-content: center; padding: 1.05rem; font-size: 1rem; margin-top: 0.4rem; }
.kit-form-consent { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 0.9rem; line-height: 1.5; }
.kit-form-consent a { text-decoration: underline; color: var(--sang); }

.kit-badges {
  display: flex; justify-content: center; gap: 1.5rem;
  padding-top: 1.25rem; margin-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--type);
  font-size: 0.78rem; color: var(--muted); flex-wrap: wrap;
  letter-spacing: 0.04em;
}
.kit-badges span::before { content: '● '; color: var(--sang); }

@media (max-width: 900px) {
  .kit-page-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .kit-form-card { position: static; }
  .kit-page-grid aside { order: -1; }
}
@media (max-width: 500px) {
  .pdf-stack picture, .pdf-stack .pdf-mock { width: 118px; height: 166px; }
  .pdf-stack > *:nth-child(1) { transform: translateX(-44px) rotate(-8deg); }
  .pdf-stack > *:nth-child(3) { transform: translateX(44px) rotate(8deg); }
}

/* ==========================================================
   Landing téléchargement (après inscription)
   ========================================================== */

.download-page { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 5vw, 4rem); }
.download-hero { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.download-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 3px;
  background: var(--sang);
  color: var(--paper-3);
  font-family: var(--type);
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.download-badge::before { content: '✓'; }
.download-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.download-hero p { color: var(--encre-soft); font-size: 1.05rem; }

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}
.download-card {
  background: var(--paper-3);
  border: 1px solid var(--border);
  border-top: 4px solid var(--sang);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.download-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.download-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper-2); color: var(--sang);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.download-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.download-card p { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.5rem; flex-grow: 1; }
.download-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  background: var(--sang); color: var(--paper-3);
  border-radius: var(--radius);
  font-family: var(--display); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; transition: all .18s ease; align-self: center;
}
.download-btn:hover { background: var(--velvet); color: var(--white); transform: translateY(-1px); }
.download-cross-sell {
  text-align: center; margin: 3rem auto 0; padding-top: 2rem;
  border-top: 1px solid var(--border); max-width: 660px; color: var(--muted);
}

@media (max-width: 780px) { .download-grid { grid-template-columns: 1fr; } }

/* ---------- Message succès (merci) ---------- */

.success-card {
  background: var(--paper-3);
  border: 1px solid var(--border);
  border-top: 5px solid var(--sang);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 620px;
  margin: 3rem auto;
}
.success-icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--sang); color: var(--paper-3);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 1rem;
}

/* mini fiche (merci / cross-sell) */
.mini-book {
  background: var(--paper-3);
  border: 1px solid var(--border);
  border-left: 4px solid var(--sang);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.mini-book .book-tag { margin-bottom: 0.4rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--noir);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 4rem) 0 1.5rem;
  border-top: 2px solid var(--or);
  margin-top: 0;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer h4 {
  color: var(--or);
  font-family: var(--type);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-weight: 400;
}
.site-footer .brand { color: var(--paper); display: inline-flex; margin-bottom: 0.75rem; }
.site-footer p, .site-footer a { color: rgba(236, 224, 200, 0.72); font-size: 0.92rem; }
.site-footer a:hover { color: var(--or); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(195,154,62,0.25);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--type);
  font-size: 0.78rem;
  color: rgba(236, 224, 200, 0.5);
  letter-spacing: 0.03em;
}
@media (max-width: 820px) { .site-footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .site-footer .container { grid-template-columns: 1fr; } }
