/* Autiste, enfin. — charte statique
   Design system « Le continuum » (handoff Claude Design 2026-07-04) :
   fond encre #0B0B0C, surfaces #131316, jaune signal #EDE100,
   titres Space Grotesk, texte Hanken Grotesk. */

/* Polices auto-hébergées (variables 400-700), sous-ensembles latin + latin-ext.
   Évite le hit vers fonts.gstatic.com (perf LCP + pas de fuite RGPD). */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #0B0B0C;
  --bg-alt: #0E0E10;
  --surface: #131316;
  --line: #26262A;
  --line-soft: #1A1A1E;
  --line-hover: #3A3A3F;
  --accent: #EDE100;
  --ink-on-accent: #0B0B0C;
  --fg: #F4F4F2;
  --fg-soft: #C9C9CD;
  --fg-muted: #A7A7AD;
  --fg-dim: #8B8B90;
  --fg-faint: #6F6F74;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --pad-x: clamp(24px, 4.5vw, 56px);
  --wrap: 1328px;
  --wrap-prose: 46rem;
  --stripes: repeating-linear-gradient(135deg, #141418 0 14px, #0F0F12 14px 28px);
  --stripes-fine: repeating-linear-gradient(135deg, #161619 0 12px, #101013 12px 24px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--ink-on-accent); }

a { color: inherit; text-decoration: none; }

.dot { color: var(--accent); }

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

/* Sur-titres / labels (kickers) */
.kicker {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Boutons pill */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  padding: 15px 28px;
  border-radius: 999px;
  transition: filter .15s, border-color .15s;
}
.btn-solid { background: var(--accent); color: var(--ink-on-accent); }
.btn-solid:hover { filter: brightness(0.92); }
.btn-ghost { border: 1px solid #33333A; color: var(--fg); }
.btn-ghost:hover { border-color: var(--line-hover); }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 22px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand svg { display: block; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); flex-wrap: wrap; }
.site-nav a { font-family: var(--font-display); font-size: 16px; color: var(--fg-soft); transition: color .15s; }
.site-nav a:hover { color: var(--fg); }
.site-nav a.active { color: var(--accent); }

/* Fil d'Ariane */
.breadcrumb { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--pad-x) 0; font-size: 14px; color: var(--fg-dim); }
.breadcrumb a { color: var(--fg-dim); }
.breadcrumb a:hover { color: var(--fg-soft); }
.breadcrumb .sep { margin: 0 0.55rem; color: #4F4F54; }
.breadcrumb [aria-current="page"] { color: var(--fg-soft); }

/* ------------------------------------------------------------------ */
/* Accueil                                                             */
/* ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 100% at 80% 0%, #16161B 0%, #0B0B0C 60%);
  border-bottom: 1px solid var(--line-soft);
}
.hero-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 96px var(--pad-x) 88px; }
.hero-mark { position: absolute; right: -40px; top: 40px; opacity: 0.5; pointer-events: none; }
.hero-content { position: relative; max-width: 840px; display: flex; flex-direction: column; gap: 28px; }
.hero-badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  border: 1px solid #2A2A2E; border-radius: 999px; padding: 8px 16px;
  font-size: 14px; color: var(--fg-soft);
}
.hero-badge .pin { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); flex: none; }
.hero h1 {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 5.5vw, 74px); line-height: 1.02; letter-spacing: -0.03em;
}
.hero .lede { margin: 0; font-size: clamp(18px, 1.6vw, 22px); color: var(--fg-muted); line-height: 1.5; max-width: 680px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }

/* Dossier phare */
.feature { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--pad-x); display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.feature-media {
  min-height: 400px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--stripes);
  display: flex; align-items: center; justify-content: center;
  color: #5F5F64; font-family: var(--font-display); font-size: 14px; letter-spacing: 0.06em;
  text-align: center; padding: 1rem;
}
.feature-body { display: flex; flex-direction: column; gap: 22px; }
.feature-body h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.feature-body .excerpt { margin: 0; font-size: 18px; color: var(--fg-muted); line-height: 1.6; }
.feature-stats { display: flex; gap: 28px; margin-top: 6px; }
.feature-stats .stat { display: flex; flex-direction: column; gap: 4px; }
.feature-stats .num { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--accent); }
.feature-stats .lbl { font-size: 14px; color: var(--fg-dim); }
.feature-stats .rule { width: 1px; background: var(--line); }
.link-underline {
  align-self: flex-start; margin-top: 8px; padding-bottom: 3px;
  border-bottom: 2px solid var(--accent);
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
}
.link-underline:hover { color: var(--accent); }

/* Sections de l'accueil */
.home-sec { border-top: 1px solid var(--line-soft); }
.home-sec.alt { background: var(--bg-alt); }
.home-sec-inner { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--pad-x) 64px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -0.02em; }
.more { font-family: var(--font-display); font-size: 16px; color: var(--fg-dim); }
.more:hover { color: var(--accent); }

/* Grilles de cartes */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px;
  transition: border-color .15s, background .15s;
}
.card:hover { border-color: var(--line-hover); background: #17171B; }
.card .kicker { font-size: 12px; letter-spacing: 0.14em; }
.card h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--fg); }
.card .excerpt { margin: 0; font-size: 15px; color: var(--fg-muted); line-height: 1.55; flex: 1; }
.card .meta { font-size: 13px; color: var(--fg-faint); margin-top: 4px; }

/* Carte avec vignette (grille d'articles) */
.card-thumbed { padding: 0; overflow: hidden; }
.card-thumb { height: 170px; background: var(--stripes-fine); border-bottom: 1px solid var(--line-soft); }
.card-thumbed .card-body { display: flex; flex-direction: column; gap: 12px; padding: 26px; flex: 1; }

/* Blocs formats (Vidéos / Podcasts / Ressources) */
.format-card {
  display: flex; flex-direction: column; gap: 14px; min-height: 180px;
  border: 1px solid var(--line); border-radius: 16px; padding: 34px;
  transition: border-color .15s;
}
.format-card:hover { border-color: var(--line-hover); }
.format-card h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.format-card p { margin: 0; font-size: 16px; color: var(--fg-muted); line-height: 1.55; flex: 1; }
.format-card .go { font-family: var(--font-display); font-size: 15px; color: var(--accent); }

/* ------------------------------------------------------------------ */
/* Pages de section (index) et pages d'entrée                          */
/* ------------------------------------------------------------------ */
.page-head { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--pad-x) 40px; display: flex; flex-direction: column; gap: 20px; }
.page-head h1 {
  margin: 0; max-width: 900px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 4.5vw, 64px); letter-spacing: -0.03em; line-height: 1;
}
.page-head .lede { margin: 0; max-width: 900px; font-size: 20px; color: var(--fg-muted); line-height: 1.55; }
.page-head .lede p { margin: 0.4em 0; }

.section-list { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x) 64px; }

/* Entrée à la une (index de section) */
.featured {
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr;
  margin-bottom: 48px;
  transition: border-color .15s;
}
.featured:hover { border-color: var(--line-hover); }
.featured-media {
  min-height: 360px; background: var(--stripes);
  display: flex; align-items: center; justify-content: center;
  color: #5F5F64; font-family: var(--font-display); font-size: 14px;
}
.featured-body { padding: 48px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.featured-body .topline { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.featured-body .topline .kicker { font-size: 12px; letter-spacing: 0.14em; }
.featured-body .topline .dur { font-size: 14px; color: var(--fg-faint); }
.featured-body h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -0.02em; }
.featured-body .excerpt { margin: 0; font-size: 18px; color: var(--fg-muted); line-height: 1.6; }
.featured-body .byline-row { font-size: 15px; color: var(--fg-soft); margin-top: 8px; }

.empty { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x) 64px; color: var(--fg-dim); font-size: 17px; }

/* Page d'entrée (article, témoignage) */
.entry { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--pad-x) 72px; }
.entry-head { max-width: var(--wrap-prose); margin: 0 auto 2.2rem; display: flex; flex-direction: column; gap: 18px; }
.entry-head .kicker { font-size: 12px; letter-spacing: 0.14em; }
.entry-head h1 {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.02em;
}
.entry-head .byline { margin: 0; font-size: 15px; color: var(--fg-dim); }
.entry-head .byline a { color: var(--fg-soft); font-weight: 600; }

/* Prose */
.prose { max-width: var(--wrap-prose); margin: 0 auto; font-size: 1.08rem; line-height: 1.7; }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; letter-spacing: -0.01em; line-height: 1.2; margin: 2.6rem 0 0.8rem; }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.prose p, .prose li { color: var(--fg-soft); }
.prose strong { color: var(--fg); }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose blockquote { border-left: 3px solid var(--accent); margin: 1.6rem 0; padding: 0.2rem 0 0.2rem 1.2rem; color: var(--fg); font-style: italic; }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }

/* Transcription repliée (indexable, sans encombrer la lecture) */
.transcript { border: 1px solid var(--line); border-radius: 16px; margin: 2rem 0; background: var(--surface); }
.transcript summary {
  cursor: pointer; list-style: none; padding: 18px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--fg);
}
.transcript summary::before { content: "+"; color: var(--accent); font-weight: 700; margin-right: 12px; }
.transcript[open] summary::before { content: "–"; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary:hover { color: var(--accent); }
.transcript .transcript-body { padding: 0 24px 18px; font-size: 0.98rem; }
.transcript .transcript-body p { color: var(--fg-muted); }

/* Embeds responsifs */
.embed-video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 1.6rem 0; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.embed-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-podcast { margin: 1.6rem 0; }
.embed-podcast iframe { width: 100%; height: 232px; border: 0; border-radius: 16px; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line-soft); margin-top: 4rem; }
.footer-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 48px var(--pad-x);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 2.5rem; flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .brand-name { font-size: 19px; }
.footer-brand .baseline { font-size: 14px; color: var(--fg-faint); }
.footer-cols { display: flex; gap: 60px; font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .col-title { color: var(--fg-faint); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col a { color: var(--fg-muted); }
.footer-col a:hover { color: var(--fg); }

/* 404 */
.plain { max-width: var(--wrap); margin: 0 auto; padding: 96px var(--pad-x); }
.plain h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4vw, 58px); letter-spacing: -0.03em; margin: 0 0 1rem; }
.plain p { color: var(--fg-muted); font-size: 18px; }
.plain a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature-media { min-height: 280px; }
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 220px; }
  .featured-body { padding: 32px; }
}

@media (max-width: 700px) {
  .grid3 { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 64px; padding-bottom: 56px; }
  .hero-mark { display: none; }
  .header-inner { padding-top: 16px; padding-bottom: 16px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 14px; }
  .brand-name { font-size: 19px; }
  .footer-cols { gap: 36px; }
  .feature, .home-sec-inner { padding-top: 40px; padding-bottom: 44px; }
}
