/* Charte KTD, direction 1 « charte actuelle » (Claude Design, 02/11/2026)
   Couleurs : rouge vif #d8311c (accent), rouge foncé #9e1414 (aplat preuve), noir #111111, blanc.
   Polices : Anton (titres), Inter (texte), JetBrains Mono (chiffres et étiquettes). */

:root {
  --red: #d8311c;
  --red-dark: #9e1414;
  --ink: #111111;
  --paper: #ffffff;
  --sand: #efebe8;
  --hair: #e3dcd8;
  --gutter: clamp(20px, 5vw, 72px);
  --font-title: Anton, Impact, sans-serif;
  --font-text: Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 19px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
p { margin: 0; }
.red { color: var(--red); }

/* Étiquettes et chiffres en mono */
.label {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.label-red { color: var(--red); }
.label-light { font-weight: 500; letter-spacing: 0.04em; }
.label-box {
  display: inline-block;
  border: 1.5px solid currentColor;
  padding: 12px 18px;
  letter-spacing: 0.04em;
}

/* Bouton */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  padding: 20px 36px;
}
.btn:hover { background: var(--red-dark); color: var(--paper); }

/* Emplacements photo, à remplacer par de vraies images */
.placeholder {
  position: relative;
  background: var(--sand);
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.tag {
  position: absolute;
  left: 0; top: 0;
  color: var(--paper);
  font-size: 13px;
  padding: 6px 10px;
  letter-spacing: 0.08em;
}
.tag-dark { background: var(--ink); }
.tag-red { background: var(--red); }

/* En-tête */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px var(--gutter);
  border-bottom: 2px solid var(--red);
}
.brand { display: flex; flex-direction: column; gap: 4px; }
.brand-name {
  font-family: var(--font-title);
  font-size: clamp(22px, 2.2vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand .label { font-size: 13px; }
.brand-logo { width: 56px; height: 56px; object-fit: contain; }

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 6vw, 88px) var(--gutter);
}
.hero-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(56px, 9vw, 124px); line-height: 0.95; }
.lead { font-size: clamp(19px, 1.7vw, 22px); max-width: 560px; }
.cta-block { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-figure { flex: 1 1 320px; min-width: 0; max-width: 480px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.hero-figure figcaption { font-size: 16px; line-height: 1.5; }
.portrait { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 1.5px solid var(--ink); }

/* Sections communes */
section { padding: clamp(40px, 6vw, 88px) var(--gutter); }
.section-head { display: flex; flex-direction: column; gap: 12px; }
section h2 { font-size: clamp(44px, 6.5vw, 88px); line-height: 0.95; }

/* 01 · Histoires */
.stories { border-top: 2px solid var(--red); display: flex; flex-direction: column; gap: 32px; }
.story { border: 2px solid var(--ink); display: flex; flex-wrap: wrap; }
.story-photos {
  flex: 1 1 320px; min-width: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px;
  align-content: start;
}
.story-photos .placeholder { border: 0; outline: 1px solid var(--ink); outline-offset: -1px; }
.story-montage { flex: 1 1 320px; min-width: 0; position: relative; align-self: start; }
.story-montage img { width: 100%; height: auto; }
.tag-right { left: auto; right: 0; }
.story-body {
  flex: 1 1 400px; min-width: 0;
  padding: clamp(24px, 3.5vw, 48px);
  display: flex; flex-direction: column; gap: 22px;
}
.story h3 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; }
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red);
}
.stat { padding: 14px 12px 14px 0; display: flex; flex-direction: column; gap: 4px; }
.stat:nth-child(n+3) { border-top: 1px solid var(--hair); }
.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  text-transform: uppercase;
}
.stat-label { font-size: 16px; }
blockquote { margin: 0; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; font-weight: 600; }

/* Pourquoi je fais ça */
.why {
  border-top: 2px solid var(--red);
  display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.why-figure { flex: 1 1 320px; min-width: 0; max-width: 520px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.why-figure img { width: 100%; height: auto; border: 1.5px solid var(--ink); }
.why-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.why h2 { font-size: clamp(36px, 5vw, 72px); }
.why p { max-width: 640px; }

/* 02 · Chiffres */
.proof {
  background: var(--red-dark);
  color: var(--paper);
  padding: clamp(48px, 7vw, 100px) var(--gutter);
  display: flex; flex-direction: column; gap: 40px;
}
.numbers { display: flex; flex-wrap: wrap; }
.number {
  flex: 1 1 240px; min-width: 0;
  padding: 20px 24px 20px 0;
  border-top: 1.5px solid var(--paper);
  display: flex; flex-direction: column; gap: 8px;
}
.number-value { font-family: var(--font-title); font-size: clamp(64px, 9vw, 120px); line-height: 1; }
.number-label { font-size: 19px; line-height: 1.45; }
.quotes { display: flex; flex-wrap: wrap; gap: 20px; }
.quote {
  flex: 1 1 280px; min-width: 0; margin: 0;
  border: 1.5px solid var(--paper); padding: 24px;
  display: flex; flex-direction: column; gap: 16px; justify-content: space-between;
}
.quote blockquote { font-size: 19px; font-weight: 400; }
.quote figcaption { letter-spacing: 0.06em; }
.proof-foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.note { font-size: 16px; line-height: 1.5; max-width: 620px; }

/* Comprendre (texte) */
.explain { display: flex; flex-direction: column; gap: 24px; max-width: 820px; }
.explain h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; }
.explain p { font-size: clamp(19px, 1.6vw, 21px); }

/* 03 · Quiz */
.quiz {
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  padding: clamp(48px, 7vw, 100px) var(--gutter);
  display: flex; flex-direction: column; gap: 32px;
}
.quiz h2 { font-size: clamp(56px, 9.5vw, 132px); line-height: 0.92; }
.steps { display: flex; flex-wrap: wrap; }
.step {
  flex: 1 1 240px; min-width: 0;
  padding: 18px 24px 18px 0;
  border-top: 2px solid var(--red);
  display: flex; flex-direction: column; gap: 6px;
}
.step .label { font-size: 15px; }
.step-title { font-size: 21px; font-weight: 700; }
.step-text { font-size: 18px; line-height: 1.45; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.cta-note { font-size: 18px; font-weight: 600; }

/* Pied de page */
.site-footer {
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-start;
  padding: 32px var(--gutter);
}
.site-footer img { width: 72px; height: 72px; object-fit: contain; }
.footer-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; }

/* Mobile */
@media (max-width: 600px) {
  .hero-figure { max-width: none; }
  .stat-value { font-size: 24px; }
  .btn { width: 100%; text-align: center; }
  .proof-foot { flex-direction: column; align-items: flex-start; }
}
