/* carlita/ — V2 · W2 · T2 · B2 r6 · F1 + F2 sections */

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --ink: #1A1618;
  --ink-2: #57524B;
  --ink-3: #8A8279;
  --border: #E8E5DD;
  --border-strong: #D8D4CB;
  --accent: #C91A6B;
  --accent-2: #FF5B1F;

  --ff-display: 'Inter', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --ff-mono: ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r: 6px;
  --r-sm: 4px;
  --r-lg: 10px;

  --max-w: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: opacity 150ms ease; }
a:hover { opacity: 0.75; }
button:hover, input:focus, textarea:focus, select:focus { outline: none; }
::selection { background: var(--accent); color: var(--bg); }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.page { background: var(--bg); color: var(--ink); min-height: 100vh; }

/* Wordmark */
.wordmark {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.91px;
  color: var(--ink);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.wordmark__slash { color: var(--accent); font-weight: 500; }

/* Favicon (rendered inline) */
.favicon {
  width: 40px; height: 40px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.6px;
  color: var(--ink);
  line-height: 1;
}
.favicon--sm { width: 28px; height: 28px; font-size: 14px; }
.favicon__slash { color: var(--accent); font-weight: 500; margin-left: 0.8px; }

/* Nav */
.nav {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 250, 247, 0.92);
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__brand { text-decoration: none; }
.nav__links {
  display: flex;
  gap: 28px;
  flex: 1;
  margin-left: 12px;
}
.nav__link {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 450;
  color: var(--ink-2);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1.5px solid transparent;
  transition: all 150ms ease;
}
.nav__link--active { color: var(--ink); border-bottom-color: var(--accent); }
.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 8px 12px;
  cursor: pointer;
  font-family: var(--ff-mono);
  font-size: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--r);
  line-height: 1;
  white-space: nowrap;
  transition: all 150ms ease;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 12px 20px;
  font-size: 14px;
}
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--accent { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn--primary:hover, .btn--accent:hover { opacity: 1; transform: translateY(-1px); }

/* Underlined link */
.link-ul {
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--accent);
  white-space: nowrap;
}

/* Mono label (eyebrow) */
.mono {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mono__bar {
  width: 20px; height: 1px; background: var(--accent);
}
.mono--light { color: rgba(250,250,247,0.55); }

/* Accent italic */
.accent-it {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

/* Display headings */
.h-display {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -2.2px;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

/* F2 grid background (section ambience) */
.f2 {
  background-image:
    linear-gradient(rgba(26,22,24,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,22,24,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}

/* Section header */
.section-header { margin-bottom: 48px; max-width: 900px; }
.section-header--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 760px; }
.section-header h1 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 68px;
  letter-spacing: -2.2px;
  line-height: 1.02;
  margin: 16px 0 20px;
  text-wrap: balance;
}
.section-header p {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  max-width: 680px;
}
.section-header--center p { margin-left: auto; margin-right: auto; }

/* ========== HOME ========== */

/* Hero */
.hero { position: relative; border-bottom: 1px solid var(--border); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
}
.hero__bg > div { position: relative; }
.hero__bg > div:nth-child(3n) { background: #3a3436; }
.hero__bg > div:nth-child(3n+1) { background: #1a1618; }
.hero__bg > div:nth-child(3n+2) { background: #2a2426; }
.hero__bg > div::after {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.06;
  background-image: repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 14px);
}
.hero__fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(250,250,247,0.92) 40%, var(--bg) 100%);
  pointer-events: none;
}
.hero__container { position: relative; padding: 96px 32px 80px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 84px;
  letter-spacing: -3px;
  line-height: 0.98;
  margin: 0 0 24px;
  max-width: 760px;
  text-wrap: balance;
}
.hero__lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 520px;
}
.hero__cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero__meta {
  display: flex; align-items: center; gap: 18px;
}
.hero__meta-divider { width: 1px; height: 16px; background: var(--border); display: inline-block; }
.hero__meta-text {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--ink-3);
}
.hero__card {
  aspect-ratio: 16/9;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(26,22,24,0.22), 0 4px 12px -4px rgba(26,22,24,0.08);
  width: 100%;
}
/* Fallback pour les anciens navigateurs sans support de aspect-ratio (Safari 14, etc.) */
@supports not (aspect-ratio: 16/9) {
  .hero__card {
    height: 0;
    padding-bottom: 56.25%; /* 9 / 16 = 0.5625 → 56.25% */
  }
}
.hero__card .hero__video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: inherit;
  background: var(--surface);
  animation: hero-video-fade 600ms ease-out;
}
@keyframes hero-video-fade {
  from { opacity: 0.5; }
  to { opacity: 1; }
}
.hero__badge {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__dot { width: 6px; height: 6px; border-radius: 3px; background: var(--accent); }

/* Social icons */
.social {
  display: inline-flex;
  gap: 16px;
  align-items: center;
}
.social a {
  display: inline-flex;
  transition: transform 200ms ease;
}
.social a:hover { transform: translateY(-2px); opacity: 1; }
.social svg { width: 20px; height: 20px; fill: currentColor; display: block; }

/* Couleurs de marque officielles */
.social a[aria-label="YouTube"]    { color: #FF0000; }
.social a[aria-label="X / Twitter"] { color: #000000; }
.social a[aria-label="Instagram"]  { color: #E1306C; }
.social a[aria-label="LinkedIn"]   { color: #0A66C2; }
.social a[aria-label="TikTok"]     { color: #4C1D95; }
.social a[aria-label="Twitch"]     { color: #9146FF; }

/* Stats */
.stats { border-bottom: 1px solid var(--border); background: var(--bg); }
.stats__inner {
  padding: 48px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.stats__item {
  display: flex; flex-direction: column; gap: 8px;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  border-left: 1px solid var(--border);
}
.stats__item:first-child { border-left: 0; }
.stats__item--link {
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease;
}
.stats__item--link:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.stats__item--link:hover .stats__value { color: var(--accent); }
.stats__value {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 52px;
  letter-spacing: -1.6px; color: var(--ink); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stats__label {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.6px; color: var(--ink-3);
  text-transform: lowercase;
}
/* Section common */
.section { padding: 96px 0 72px; }
.section--lg { padding: 120px 0; }
.section--md { padding: 72px 0; }
.section-head {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px; gap: 32px; flex-wrap: wrap;
}
.section-head h2,
.section-head .section-head__h1 {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 52px;
  letter-spacing: -1.8px; line-height: 1; margin: 14px 0 0;
}

/* Video card */
.video { text-decoration: none; color: inherit; display: block; }
.video__embed {
  position: relative;
  aspect-ratio: 16/9;
  background: #1A1618;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 14px;
}
.video__embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* Video lite — miniature YouTube + titre, swap en iframe au clic */
.video-lite {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 200ms ease;
}
.video-lite:hover { transform: translateY(-2px); opacity: 1; }
.video-lite__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  width: 100%;
  background: #1A1618;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 14px;
  transition: box-shadow 200ms ease;
}
.video-lite:hover .video-lite__thumb {
  box-shadow: 0 12px 28px -16px rgba(26,22,24,0.25);
}
.video-lite__thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease, opacity 200ms ease;
}
.video-lite:hover .video-lite__thumb img { transform: scale(1.04); opacity: 0.88; }
.video-lite__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: background 200ms ease, transform 200ms ease;
  backdrop-filter: blur(2px);
}
.video-lite:hover .video-lite__play {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}
.video-lite__play::after {
  content: '';
  width: 0; height: 0;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.video-lite__title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.video-lite__author {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--ink-3);
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.video-lite__author::before {
  content: '';
  display: inline-block;
  width: 14px; height: 1px;
  background: var(--accent);
}
.video-lite.is-playing { cursor: default; }
.video-lite.is-playing:hover { transform: none; }
.video-lite.is-playing:hover .video-lite__thumb { box-shadow: none; }
.video-lite__thumb iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
[hidden] { display: none !important; }

/* Featured videos layout */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.featured-grid__small {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 32px;
}
.video-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.video-grid-3--wide { gap: 40px; }

/* Tools section */
.tools-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
  position: relative;
}
.tools-section__tag {
  position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 14px;
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink-3);
}
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: flex-start;
  margin-bottom: 0;
}
.tools-grid h2 {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 52px;
  letter-spacing: -1.8px; line-height: 1;
  margin: 14px 0 18px;
}
.tools-grid p {
  font-size: 17px; color: var(--ink-2);
  line-height: 1.55; margin: 0; max-width: 380px;
}
.tools-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  background: var(--surface);
}
.tool {
  padding: 24px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tool:nth-child(2n) { border-right: none; }
.tool:nth-last-child(-n+2) { border-bottom: none; }
.tool__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tool__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
}
.tool__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Variante "bleed" — pour les logos qui ont déjà leur propre fond (ex: Krak) */
.tool__icon--bleed {
  padding: 0;
  border: none;
  background: transparent;
}
.tool__icon--bleed img {
  object-fit: cover;
}
.tool__name {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 22px;
  letter-spacing: -0.6px; margin: 0;
  flex: 1;
}
.tool__cat {
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-3);
  flex-shrink: 0;
}
.tool__use { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.tool__why { font-size: 13px; color: var(--ink); line-height: 1.45; font-style: italic; }

/* Portrait */
.portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--bg) 0%, #EDE5D8 50%, #D8C8B0 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 16px;
}
.portrait__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.portrait--tall { aspect-ratio: 3/4; max-height: 640px; }
.portrait::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 38%, rgba(26,22,24,0.14) 0 20%, transparent 21%),
    radial-gradient(ellipse at 50% 85%, rgba(26,22,24,0.2) 0 30%, transparent 31%);
}

/* About teaser */
.about-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}
.about-teaser-grid h2 {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 56px;
  letter-spacing: -1.8px; line-height: 1.02;
  margin: 18px 0 24px;
  text-wrap: balance;
}
.about-teaser-grid p {
  font-size: 18px; line-height: 1.6;
  color: var(--ink-2); margin: 0 0 16px;
}
.about-teaser-grid p:last-of-type { margin-bottom: 32px; }
.about-teaser__kicker {
  font-size: 19px !important;
  color: var(--ink) !important;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  margin-top: 8px !important;
}
.about-teaser__kicker em {
  font-style: italic;
  font-weight: 500;
}
.about-teaser-grid__cta { display: flex; gap: 16px; align-items: center; }

/* Trust strip (logos) */
.trust-strip {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-strip__head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.trust-strip__head .mono { justify-content: center; }
.trust-strip__head h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -1.6px;
  line-height: 1.05;
  margin: 16px 0 0;
  text-wrap: balance;
}
/* Logo marquee — horizontal infinite loop, left-to-right */
.logo-marquee {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: logo-marquee-ltr 50s linear infinite;
  will-change: transform;
}
.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}
.logo-marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  min-width: 180px;
  padding: 0 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity 200ms ease, transform 200ms ease;
}
.logo-marquee__item:hover {
  opacity: 0.7;
  transform: scale(1.03);
}
.logo-marquee__item img {
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-marquee__item .logo--multiply {
  mix-blend-mode: multiply;
}

/* Per-logo calibration — each source image has different inner padding, so we tune heights individually to match visually */
.logo-img--kraken      { height: 52px; }
.logo-img--ledger      { height: 36px; }   /* SVG — tight bounds, renders large */
.logo-img--pbw         { height: 40px; }   /* SVG wordmark */
.logo-img--token2049   { height: 34px; max-width: 220px; }  /* very wide logo */
.logo-img--beincrypto  { height: 64px; }   /* canvas has padding around text */
.logo-img--alephium    { height: 44px; }   /* icon + wordmark, already tight */
.logo-img--xrplcommons { height: 56px; max-width: 200px; } /* wide, white bg */
.logo-img--ethcc       { height: 64px; }   /* canvas has vertical padding */

@keyframes logo-marquee-ltr {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track { animation: none; }
}


.trust-strip__foot {
  text-align: center;
  margin-top: 40px;
}


/* Articles teaser (home) */
.articles-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  text-decoration: none; color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  overflow: hidden;
}
.article-card:hover {
  opacity: 1;
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(26,22,24,0.22);
}

.article-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.article-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.article-card:hover .article-card__img img { transform: scale(1.04); }

.article-card__body {
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
}
.article-card__head { display: flex; justify-content: space-between; align-items: center; }
.article-card__cat {
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent);
  padding: 3px 8px;
  align-self: flex-start;
}
.article-card__read {
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--ink-3);
}
.article-card__title {
  font-family: var(--ff-display);
  font-weight: 600; font-size: 20px;
  letter-spacing: -0.5px; line-height: 1.25;
  margin: 0; flex: 1; text-wrap: balance;
}
.article-card__foot {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.4px; color: var(--ink-3);
}

/* Big CTA newsletter */
.big-cta {
  padding: 120px 0;
  background: var(--ink);
  color: var(--bg);
}
.big-cta__inner { text-align: center; max-width: 860px; margin: 0 auto; }
.big-cta h2 {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 76px;
  letter-spacing: -2.6px; line-height: 1;
  margin: 28px 0; text-wrap: balance;
}
.big-cta p {
  font-size: 22px; line-height: 1.45;
  color: rgba(250,250,247,0.75);
  margin: 0 auto 40px; max-width: 620px;
}
.big-cta__form {
  display: flex; gap: 10px; max-width: 520px;
  margin: 0 auto;
  padding: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r);
}
.big-cta__form input {
  flex: 1; background: transparent; border: none;
  color: var(--bg);
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--ff-body);
}
.big-cta__form input::placeholder { color: rgba(250,250,247,0.45); }
.big-cta__note {
  margin-top: 20px;
  font-family: var(--ff-mono); font-size: 12px;
  letter-spacing: 0.4px;
  color: rgba(250,250,247,0.5);
}

/* ========== VIDEOS PAGE ========== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.videos-foot { text-align: center; margin-top: 64px; }
.videos-foot__note {
  margin-top: 16px;
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--ink-3);
}

/* YouTube embed banner */
.yt-banner {
  padding: 72px 0 56px;
  border-top: 1px solid var(--border);
}
/* Zero out footer margin quand la dernière section a déjà sa propre respiration */
main:has(> .yt-banner) + .footer,
main:has(> .big-cta) + .footer,
main:has(> .collab-cta) + .footer,
main:has(> .contact-section:last-child) + .footer { margin-top: 0; }
.yt-banner__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.yt-banner h2 {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 44px;
  letter-spacing: -1.4px; line-height: 1.05;
  margin: 14px 0 20px;
}
.yt-banner p {
  font-size: 17px; color: var(--ink-2);
  line-height: 1.55; margin: 0 0 28px;
}
.yt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
}
.yt-card__head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.yt-card__avatar {
  width: 48px; height: 48px; border-radius: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-weight: 700;
  font-size: 22px; color: var(--bg);
}
.yt-card__name {
  font-family: var(--ff-display); font-weight: 600; font-size: 18px;
}
.yt-card__subs {
  font-family: var(--ff-mono); font-size: 12px; color: var(--ink-3);
}
.yt-card__sub-btn { margin-left: auto; }
.yt-card__embed {
  aspect-ratio: 16/9;
  background: #1A1618;
  border-radius: var(--r-sm);
  position: relative; overflow: hidden;
}
.yt-card__embed iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.yt-card__sub-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  background: #FF0000;
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--r);
  text-decoration: none;
  letter-spacing: -0.1px;
  transition: background 200ms ease, transform 200ms ease;
}
.yt-card__sub-cta:hover {
  background: #CC0000;
  opacity: 1;
  transform: translateY(-1px);
}
.yt-card__sub-cta svg { display: block; flex-shrink: 0; }
.yt-card__note {
  margin-top: 16px;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--ink-3);
  text-align: center;
}

/* ========== ARTICLES PAGE ========== */
.articles-feat { margin-bottom: 56px; }
.articles-feat__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.articles-feat__img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: var(--r-sm);
  position: relative; overflow: hidden;
}
.articles-feat__img::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(255,255,255,0.3), transparent 50%);
  pointer-events: none;
}
.articles-feat__img--real { background: #1a1618; display: block; text-decoration: none; }
.articles-feat__img--real::after { display: none; }
.articles-feat__img--real img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.articles-feat__img--real:hover img { transform: scale(1.03); opacity: 1; }
.articles-feat__img span {
  position: absolute; bottom: 24px; left: 24px;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--bg);
  background: rgba(0,0,0,0.25);
  padding: 4px 10px; border-radius: 3px;
  backdrop-filter: blur(4px);
}
.articles-feat__meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.articles-feat__pill {
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent);
  padding: 4px 10px;
}
.articles-feat__date {
  font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3);
}
.articles-feat__title {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 44px;
  letter-spacing: -1.4px; line-height: 1.08;
  margin: 0 0 20px; text-wrap: balance;
}
.articles-feat__title a { color: inherit; text-decoration: none; }
.articles-feat__excerpt {
  font-size: 17px; color: var(--ink-2);
  line-height: 1.55; margin: 0 0 24px;
}
.articles-list { border-top: 1px solid var(--border); }
.article-row {
  text-decoration: none; color: inherit;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 150px 1fr auto auto;
  gap: 40px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.article-row__date {
  font-family: var(--ff-mono); font-size: 12px;
  letter-spacing: 0.4px; color: var(--ink-3);
}
.article-row__title {
  font-family: var(--ff-display); font-weight: 600;
  font-size: 26px; letter-spacing: -0.7px;
  line-height: 1.2; margin: 0;
}
.article-row__cat {
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
}
.article-row__read {
  font-family: var(--ff-mono); font-size: 12px; color: var(--ink-3);
}

/* Collab CTA */
.collab-cta {
  padding: 96px 0;
  background: var(--ink); color: var(--bg);
}
.collab-cta__inner {
  text-align: center; max-width: 760px; margin: 0 auto;
}
.collab-cta h2 {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 56px;
  letter-spacing: -2px; line-height: 1.02;
  margin: 0 0 24px;
}
.collab-cta p {
  font-size: 20px; line-height: 1.5;
  color: rgba(250,250,247,0.75);
  margin: 0 0 36px;
}

/* ========== ABOUT PAGE ========== */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-hero-grid h1 {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 84px;
  letter-spacing: -3px; line-height: 0.98;
  margin: 22px 0 28px; text-wrap: balance;
}
.about-hero-grid p {
  font-size: 21px; line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.about-hero-grid p:last-child { margin-bottom: 0; }
.about-hero-grid strong { color: var(--ink); font-weight: 600; }

/* About narrative prose */
.about-prose {
  max-width: 720px;
  margin: 0 auto;
}
.about-prose p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.about-prose p:last-child { margin-bottom: 0; }
.about-prose p strong {
  color: var(--ink);
  font-weight: 600;
}
.about-prose p em {
  font-style: italic;
  color: var(--ink);
}
.about-prose__quote {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 32px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.8px;
  color: var(--ink) !important;
  margin: 40px 0 !important;
  text-wrap: balance;
}
.about-prose__kicker {
  font-family: var(--ff-display);
  font-weight: 500;
  font-style: italic;
  font-size: 26px !important;
  line-height: 1.3 !important;
  color: var(--ink) !important;
  margin-top: 48px !important;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  letter-spacing: -0.4px;
}

/* Timeline */
.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: flex-start;
}
.timeline-aside { position: sticky; top: 120px; }
.timeline-aside h2 {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 48px;
  letter-spacing: -1.6px; line-height: 1;
  margin: 14px 0 20px;
}
.timeline-aside p {
  font-size: 16px; color: var(--ink-2);
  line-height: 1.55; margin: 0;
}
.timeline { position: relative; }
.timeline::before {
  content: ''; position: absolute;
  left: 60px; top: 12px; bottom: 12px; width: 1px;
  background: var(--border);
}
.timeline__event {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px; align-items: flex-start;
  padding-bottom: 40px; position: relative;
}
.timeline__event:last-child { padding-bottom: 0; }
.timeline__year {
  font-family: var(--ff-mono); font-size: 14px;
  letter-spacing: 0.6px; color: var(--ink);
  font-weight: 500; padding-top: 4px;
}
.timeline__content { padding-left: 24px; position: relative; }
.timeline__dot {
  position: absolute; left: -5px; top: 10px;
  width: 11px; height: 11px; border-radius: 6px;
  background: var(--ink);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--ink);
}
.timeline__dot--accent { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.timeline__title {
  font-family: var(--ff-display); font-weight: 600;
  font-size: 24px; letter-spacing: -0.6px;
  line-height: 1.2; margin: 0 0 8px;
}
.timeline__desc {
  font-size: 16px; color: var(--ink-2);
  line-height: 1.55; margin: 0;
}

/* Socials breakdown */
.socials-section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.socials-section__head { text-align: center; margin-bottom: 48px; }
.socials-section__head h2 {
  font-family: var(--ff-display);
  font-weight: 700; font-size: 44px;
  letter-spacing: -1.4px; line-height: 1;
  margin: 12px 0 0;
}
.socials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--border);
  background: var(--surface);
}
.social-col {
  padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--border);
  background: var(--surface);
}
.social-col:last-child { border-right: none; }
.social-col__name {
  font-family: var(--ff-mono); font-size: 10px;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 4px;
}
.social-col__v {
  font-family: var(--ff-display); font-weight: 700;
  font-size: 32px; letter-spacing: -1px; line-height: 1;
}
.social-col__h {
  font-family: var(--ff-mono); font-size: 11px; color: var(--ink-3);
}


/* ========== CONTACT PAGE ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: flex-start;
}
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__label {
  font-family: var(--ff-body); font-size: 14px; font-weight: 500;
  color: var(--ink);
}
.form__input,
.form__textarea {
  font-family: var(--ff-body); font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r);
  color: var(--ink);
  width: 100%;
}
.form__textarea { resize: vertical; min-height: 140px; }
.form__radios {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; margin-top: 10px;
}
.form__radio {
  font-family: var(--ff-body); font-size: 14px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r);
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
}
.form__radio input { accent-color: var(--accent); }
.form__submit { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.form__note {
  font-family: var(--ff-mono); font-size: 12px; color: var(--ink-3);
}

/* Confirmation après envoi du form contact (remplace le formulaire entier) */
.contact-success {
  text-align: center;
  padding: 56px 32px;
  border: 1px solid var(--accent);
  background: rgba(201, 26, 107, 0.05);
  border-radius: var(--r-lg);
  animation: fade-in 360ms ease-out;
}
.contact-success__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1;
}
.contact-success h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -1px;
  color: var(--ink);
  margin: 0 0 12px;
}
.contact-success p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Honeypot — invisible to humans, catches bots that auto-fill every input */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* État "déjà inscrit" — message persistant qui remplace le formulaire newsletter */
.newsletter-success {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.3px;
  padding: 14px 18px;
  border-radius: var(--r);
  background: rgba(201, 26, 107, 0.08);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  animation: fade-in 360ms ease-out;
}
.newsletter-success span { font-size: 1.2em; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
/* Variante dans la big CTA noire (home) — texte blanc sur fond plus contrasté */
.big-cta .newsletter-success {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--bg);
  font-size: 20px;
  padding: 18px 24px;
}
form.is-subscribed { background: transparent !important; border: none !important; padding: 0 !important; }

/* Direct channels */
.aside-stack { display: flex; flex-direction: column; gap: 20px; }
.direct {
  text-decoration: none; color: inherit;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex; flex-direction: column; gap: 10px;
  transition: all 150ms ease;
}
.direct:hover { border-color: var(--ink); opacity: 1; transform: translateY(-2px); }
.direct__label {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.6px; color: var(--ink-3);
}
.direct__value {
  font-family: var(--ff-display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.5px;
  color: var(--ink);
}
.direct__note {
  font-size: 14px; color: var(--ink-2); line-height: 1.4;
}

.dont-box {
  background: var(--ink); color: var(--bg);
  padding: 28px; border-radius: var(--r);
}
.dont-box__label {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.6px;
  color: rgba(250,250,247,0.55);
  margin-bottom: 14px;
}
.dont-box ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.dont-box li { font-size: 15px; line-height: 1.45; }


/* ========== FOOTER ========== */
.footer { border-top: 1px solid var(--border); margin-top: 96px; }
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 32px 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer__news h3 {
  font-family: var(--ff-display);
  font-weight: 600; font-size: 28px;
  letter-spacing: -0.8px; line-height: 1.15;
  margin: 0 0 14px;
}
.footer__news p {
  font-size: 14px; color: var(--ink-2);
  line-height: 1.55; margin: 0 0 18px;
  max-width: 360px;
}
.footer__form {
  display: flex; gap: 10px; max-width: 420px;
}
.footer__form input {
  flex: 1;
  font-family: var(--ff-body); font-size: 14px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r);
  color: var(--ink);
}
.footer__col h4 { all: unset; }
.footer__col { display: flex; flex-direction: column; }
.footer__col-label { margin-bottom: 16px; }
.footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer__col a {
  font-family: var(--ff-body); font-size: 14px;
  color: var(--ink); text-decoration: none;
}
.footer__bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer__mark {
  display: flex; align-items: center; gap: 14px;
}
.footer__copy,
.footer__made {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--ink-3);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 60px; letter-spacing: -2px; }
  .hero__container { padding: 64px 24px 56px; }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stats__item { padding-left: 0; border-left: 0; }

  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid__small { grid-template-rows: auto auto; grid-template-columns: 1fr 1fr; }
  .video-grid-3 { grid-template-columns: 1fr 1fr; }

  .tools-grid { grid-template-columns: 1fr; gap: 40px; }
  .tools-grid h2 { font-size: 40px; }

  .about-teaser-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-teaser-grid h2 { font-size: 40px; }

  .trust-strip { padding: 64px 0; }
  .trust-strip__head h2 { font-size: 36px; letter-spacing: -1.2px; }
  .logo-marquee__track { gap: 48px; animation-duration: 40s; }
  .logo-marquee__item { min-width: 130px; height: 48px; }
  .logo-marquee__item img { max-height: 36px; max-width: 150px; }

  .articles-teaser-grid { grid-template-columns: 1fr; gap: 20px; }

  .big-cta h2 { font-size: 48px; letter-spacing: -1.6px; }

  .articles-feat__grid { grid-template-columns: 1fr; }
  .articles-feat__title { font-size: 32px; }
  .article-row { grid-template-columns: 100px 1fr auto; gap: 16px; }
  .article-row__cat { display: none; }
  .article-row__title { font-size: 20px; }

  .collab-cta h2 { font-size: 40px; letter-spacing: -1.4px; }

  .about-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-hero-grid h1 { font-size: 56px; letter-spacing: -2px; }
  .about-prose p { font-size: 17px; line-height: 1.7; }
  .about-prose__quote { font-size: 26px !important; margin: 32px 0 !important; }
  .about-prose__kicker { font-size: 22px !important; margin-top: 40px !important; }
  .timeline-grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline-aside { position: static; }
  .timeline-aside h2 { font-size: 36px; }
  .socials-grid { grid-template-columns: repeat(2, 1fr); }
  .social-col { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .social-col:nth-child(2n) { border-right: none; }
  .social-col:nth-last-child(-n+2) { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form__row { grid-template-columns: 1fr; }
  .form__radios { grid-template-columns: 1fr; }

  .videos-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .yt-banner__grid { grid-template-columns: 1fr; gap: 32px; }

  .section-header h1 { font-size: 48px; letter-spacing: -1.6px; }
  .section-head h2 { font-size: 36px; letter-spacing: -1.2px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__news { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }

  /* Nav mobile : juste brand à gauche + burger à droite. CTA newsletter cachée. */
  .nav__inner {
    padding: 0 20px;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .nav__links {
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 16px 0 0;
    width: 100%;
    flex-basis: 100%;
    border-top: 1px solid var(--border);
    padding-top: 16px;
  }
  .nav--open .nav__links { display: flex; }
  .nav__links .nav__link {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: none;
  }
  .nav__links .nav__link--active {
    border-bottom: none;
    color: var(--accent);
  }
  .nav__cta { display: none; }

  /* Burger 3 lignes propre */
  .nav__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    gap: 5px;
    border: none;
    background: transparent;
    font-size: 0;
    margin-left: auto;
  }
  .nav__toggle::before,
  .nav__toggle::after,
  .nav__toggle > span {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 200ms ease, opacity 200ms ease;
  }
  /* Quand le menu est ouvert : transformer le burger en X */
  .nav--open .nav__toggle::before { transform: translateY(7px) rotate(45deg); }
  .nav--open .nav__toggle::after { transform: translateY(-7px) rotate(-45deg); }
  .nav--open .nav__toggle > span { opacity: 0; }

  .hero h1 { font-size: 44px; letter-spacing: -1.4px; }

  .featured-grid__small { grid-template-columns: 1fr; }
  .video-grid-3 { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }

  /* Stats : chiffres réduits + 1 col pour pas qu'ils débordent à droite */
  .stats__inner { grid-template-columns: 1fr 1fr; gap: 20px; padding: 32px 20px; }
  .stats__value { font-size: 30px !important; letter-spacing: -0.6px; }
  .stats__label { font-size: 10px; }
  .stats__item { padding: 0 8px; }

  /* Section Tools : passer en 1 col sur mobile (2 cols ça déborde) */
  .tools-list { grid-template-columns: 1fr !important; }
  .tool { border-right: none !important; }
  .tool:nth-child(odd) { border-bottom: 1px solid var(--border); }
  .tool:last-child { border-bottom: none !important; }

  /* Hero : titre encore réduit pour les petits écrans */
  .hero h1 { font-size: 38px; letter-spacing: -1.2px; }
  .hero__container { padding: 48px 20px 40px; }
  .hero__lead { font-size: 17px; }
  .logo-marquee__track { gap: 40px; animation-duration: 32s; }
  .logo-marquee__item { min-width: 110px; height: 44px; padding: 0 8px; }
  .logo-marquee__item img { max-height: 32px; max-width: 130px; }

  .big-cta { padding: 72px 0; }
  .big-cta h2 { font-size: 38px; letter-spacing: -1.2px; }
  .big-cta__form { flex-direction: column; padding: 10px; }
  .big-cta__form input { font-size: 15px; }

  .section { padding: 72px 0 56px; }
  .section--lg { padding: 72px 0; }

  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  .section-header h1 { font-size: 40px; letter-spacing: -1.4px; }
  .about-hero-grid h1 { font-size: 42px; letter-spacing: -1.4px; }
}
