/* Généré par starter/outils/generer-css.py : ne pas modifier à la main. */
:root {
  --canvas: #f8faf6;
  --surface: #ffffff;
  --surface-sage: #eef2e8;
  --surface-sage-strong: #dce8d4;
  --surface-dark: #19392b;
  --hero-halo: #c9e6be;
  --text: #17271f;
  --text-soft: #546258;
  --text-muted: #5d6b61;
  --border: #dbe3d6;
  --border-strong: #c5d1be;
  --accent: #0e7c5a;
  --accent-hover: #0a6448;
  --accent-soft: #0e7c5a14;
  --on-accent: #ffffff;
  --highlight: #e0edba;
  --on-highlight: #244b32;
  --on-dark: #f4f7ed;
  --on-dark-soft: #c5d5c3;
  --border-on-dark: #47614e;
  --accent-on-dark: var(--highlight);
  --error: #b42318;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --margin-post: 88px;
  --repere-vertical-haut: 220px;
  --repere-vertical-bas: 400px;
  --repere-vertical-droite: 160px;
  --radius-xs: 12px;
  --radius-action: 22px;
  --radius-card: 36px;
  --radius-panel: 56px;
  --radius-pill: 9999px;
  --shadow-card: 0 6px 14px rgba(25, 57, 43, 0.03), 0 30px 80px -48px rgba(25, 57, 43, 0.26);
  --shadow-capture: 0 8px 16px rgba(25, 57, 43, 0.04), 0 44px 96px -56px rgba(25, 57, 43, 0.34);
  --format-carrousel: 4 / 5;
  --format-carre: 1 / 1;
  --format-vertical: 9 / 16;
  --format-lien: 1.91 / 1;
  --font-sans: "Geist Sans", Geist, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@font-face { font-family: "Geist Sans"; src: url("project/fonts/geist-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: "Geist Sans"; src: url("project/fonts/geist-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: block; }
.post-display { font-family: var(--font-sans); font-size: 112px; line-height: 1.02; font-weight: 700; letter-spacing: -0.05em; }
.post-title { font-family: var(--font-sans); font-size: 80px; line-height: 1.06; font-weight: 700; letter-spacing: -0.045em; }
.post-heading { font-family: var(--font-sans); font-size: 56px; line-height: 1.14; font-weight: 700; letter-spacing: -0.04em; }
.post-quote { font-family: var(--font-sans); font-size: 58px; line-height: 1.26; font-weight: 400; letter-spacing: -0.025em; }
.post-lead { font-family: var(--font-sans); font-size: 46px; line-height: 1.42; font-weight: 400; letter-spacing: -0.015em; }
.post-body { font-family: var(--font-sans); font-size: 40px; line-height: 1.5; font-weight: 400; letter-spacing: -0.01em; }
.post-kicker { font-family: var(--font-sans); font-size: 36px; line-height: 1.3; font-weight: 700; letter-spacing: 0.14em; }
.post-caption { font-family: var(--font-sans); font-size: 36px; line-height: 1.4; font-weight: 400; letter-spacing: 0em; }
.post-counter { font-family: var(--font-sans); font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: 0.04em; }
.post-wordmark { font-family: var(--font-sans); font-size: 46px; line-height: 1; font-weight: 700; letter-spacing: -0.055em; }
.post-figure { font-family: var(--font-sans); font-size: 220px; line-height: 0.9; font-weight: 700; letter-spacing: -0.06em; }
.post-signature { font-family: var(--font-sans); font-size: 160px; line-height: 1; font-weight: 700; letter-spacing: -0.075em; }

/* Gabarits de publication d'Unai Etchart. Toutes les mesures sont en pixels de toile (1080 de large). */
body { margin: 0; background: var(--canvas); color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }

.us-stage { display: flex; gap: 64px; align-items: flex-start; }
.us-stage--col { flex-direction: column; }

/* Toiles */
.us-post { position: relative; box-sizing: border-box; width: 1080px; height: 1350px; overflow: hidden; display: flex; flex-direction: column; padding: var(--margin-post); background: var(--canvas); color: var(--text); font-family: var(--font-sans); }
.us-post--carre { height: 1080px; }
.us-post--vertical { height: 1920px; padding: var(--repere-vertical-haut) var(--repere-vertical-droite) var(--repere-vertical-bas) var(--margin-post); }
.us-post--lien { width: 1200px; height: 630px; padding: 0; background: var(--canvas); }
.us-post--sage { background: var(--surface-sage); }
.us-post--dark { background: var(--surface-dark); color: var(--on-dark); }
.us-post--halo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 90% 60% at 50% 88%, var(--hero-halo), transparent 63%); pointer-events: none; }
.us-post > * { position: relative; }

/* Tête : logotype et pagination */
.us-chrome { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.us-brand { display: inline-flex; align-items: center; gap: var(--space-3); }
.us-mark { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: var(--radius-action); background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 38px; letter-spacing: -0.04em; }
.us-wordmark { font-size: 46px; line-height: 1; font-weight: 700; letter-spacing: -0.055em; color: var(--text); }
.us-wordmark span { font-weight: 400; }
.us-post--dark .us-wordmark { color: var(--on-dark); }
.us-counter { font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: 0.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.us-counter b { color: var(--text-muted); font-weight: 400; }
.us-post--dark .us-counter { color: var(--highlight); }
.us-post--dark .us-counter b { color: var(--on-dark-soft); }

/* Texte */
.us-kicker { margin: 0; text-transform: uppercase; color: var(--accent); }
.us-post--dark .us-kicker { color: var(--highlight); }
.us-headline { margin: 0; text-wrap: balance; }
.us-accent { font-style: normal; color: var(--accent); }
.us-post--dark .us-accent { color: var(--accent-on-dark); }
.us-lead { margin: 0; color: var(--text-soft); text-wrap: pretty; }
.us-body { margin: 0; color: var(--text); text-wrap: pretty; }
.us-note { margin: 0; color: var(--text-muted); }
.us-post--dark .us-note, .us-post--dark .us-lead { color: var(--on-dark-soft); }
.us-grow { flex: 1; }
.us-stack { display: flex; flex-direction: column; }
.us-stack--2 { gap: var(--space-2); }
.us-stack--4 { gap: var(--space-4); }
.us-stack--6 { gap: var(--space-6); }
.us-stack--8 { gap: var(--space-8); }

/* Pied : tuile de flèche */
.us-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.us-swipe { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--text-soft); }
.us-arrow { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: var(--radius-action); background: var(--accent); color: var(--on-accent); }
.us-arrow svg { width: 44px; height: 44px; }

/* Étiquette de preuve */
.us-proof { display: inline-flex; align-items: center; gap: var(--space-2); text-transform: uppercase; }
.us-proof::before { content: ""; width: 20px; height: 20px; border-radius: var(--radius-pill); background: currentColor; }
.us-proof--client { color: var(--accent); }
.us-proof--perso { color: var(--accent-hover); }
.us-proof--essai { color: var(--text-soft); }
.us-proof--essai::before { background: transparent; box-shadow: inset 0 0 0 4px currentColor; }
.us-post--dark .us-proof--client, .us-post--dark .us-proof--perso { color: var(--highlight); }
.us-post--dark .us-proof--essai { color: var(--on-dark-soft); }

/* Citation */
.us-quote-card { position: relative; background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 150px var(--space-8) var(--space-8); }
.us-quote-mark { position: absolute; top: -8px; left: var(--space-8); font-size: 180px; line-height: 1; font-weight: 700; color: var(--accent); letter-spacing: -0.06em; }
.us-quote { margin: 0; color: var(--text); text-wrap: balance; }
.us-source { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-3); row-gap: var(--space-1);margin-top: var(--space-6); padding-top: var(--space-4); border-top: 2px solid var(--border); }

/* Capture réelle mise en perspective */
.us-shot-row { display: grid; grid-template-columns: 500px 1fr; gap: var(--space-8); align-items: center; }
.us-shot { position: relative; transform: perspective(2400px) rotateY(10deg) rotateZ(-1.5deg); transform-origin: right center; }
.us-shot img { display: block; width: 500px; height: auto; border-radius: var(--radius-card); box-shadow: var(--shadow-capture); outline: 2px solid var(--border); }
.us-pin { position: absolute; left: -26px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-size: 34px; font-weight: 700; box-shadow: 0 0 0 8px var(--canvas); }
.us-callouts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-8); }
.us-callouts li { display: grid; grid-template-columns: 64px 1fr; gap: var(--space-3); align-items: start; }
.us-callouts .us-num { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent); font-size: 34px; font-weight: 700; }

/* Liste à garder */
.us-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.us-list li { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-4); align-items: center; padding-block: var(--space-6); border-top: 2px solid var(--border-strong); }
.us-list li:last-child { border-bottom: 2px solid var(--border-strong); }
.us-list .us-big { font-size: 120px; line-height: 0.9; font-weight: 700; letter-spacing: -0.06em; color: var(--accent); font-variant-numeric: tabular-nums; }

/* Emplacements (avant/après, capture à venir) */
.us-slot { position: relative; display: flex; flex-direction: column; justify-content: space-between; border-radius: var(--radius-card); border: 4px dashed var(--border-strong); background: var(--surface); padding: var(--space-6); box-sizing: border-box; }
.us-slot-tag { align-self: flex-start; padding: 10px 22px; border-radius: var(--radius-xs); background: var(--surface-sage-strong); color: var(--accent-hover); text-transform: uppercase; }
.us-slot-tag--apres { background: var(--accent); color: var(--on-accent); }
.us-slot-hint { color: var(--text-muted); }

/* Repères du format vertical */
.us-safe { position: absolute; pointer-events: none; background: repeating-linear-gradient(135deg, rgba(180, 35, 24, 0.10) 0 16px, rgba(180, 35, 24, 0.02) 16px 32px); border: 3px dashed var(--error); box-sizing: border-box; display: flex; align-items: center; justify-content: center; color: var(--error); font-size: 30px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; text-align: center; }

/* Carte de fin */
.us-signature { margin: 0; color: var(--on-dark); white-space: nowrap; }
.us-signature span { font-weight: 400; }
.us-rule-dark { height: 2px; background: var(--border-on-dark); border: 0; margin: 0; }

/* Aperçu de lien, calqué sur l'aperçu actuel du site */
.us-link-card { position: absolute; inset: 32px; border-radius: 28px; background: var(--surface); border: 2px solid var(--border); box-shadow: var(--shadow-card); padding: 64px 64px 40px; display: flex; flex-direction: column; box-sizing: border-box; }
.us-link-title { margin: 0; font-size: 60px; line-height: 1.12; font-weight: 700; letter-spacing: -0.035em; color: var(--text); text-wrap: balance; }
.us-link-kicker { margin: 0 0 40px; font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.us-link-sub { margin: 28px 0 0; font-size: 26px; line-height: 1.45; color: var(--text-soft); }
.us-link-url { display: flex; align-items: center; gap: 16px; font-size: 22px; color: var(--text-soft); }
.us-link-url::before { content: ""; width: 24px; height: 24px; border-radius: 6px; background: var(--accent); }
