/* ═══════════════════════════════════════════════
   TEKIO — Stylesheet global
   Inspiration : Apple.com / éditorial magazine
═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F2;
  --bg-tertiary: #FAFAF7;
  --text-primary: #0A0A0A;
  --text-secondary: #6B6B6B;
  --text-tertiary: #A3A3A0;
  --border: rgba(10, 10, 10, 0.08);
  --border-strong: rgba(10, 10, 10, 0.16);
  --header-bg: rgba(255, 255, 255, 0.85);
  --logo-filter: none;
  --max-content: 1200px;
  --max-reading: 720px;
  --pad-x: 48px;

  --font-display: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── Dark mode ─── */
[data-theme="dark"] {
  --bg-primary: #0A0A0A;
  --bg-secondary: #141414;
  --bg-tertiary: #1A1A1A;
  --text-primary: #F5F5F2;
  --text-secondary: #9B9B9B;
  --text-tertiary: #6B6B6B;
  --border: rgba(245, 245, 242, 0.10);
  --border-strong: rgba(245, 245, 242, 0.20);
  --header-bg: rgba(10, 10, 10, 0.85);
  --logo-filter: invert(1) brightness(1.2);
}

/* Auto dark mode (if user picked "system" and system is dark) */
@media (prefers-color-scheme: dark) {
  [data-theme="system"] {
    --bg-primary: #0A0A0A;
    --bg-secondary: #141414;
    --bg-tertiary: #1A1A1A;
    --text-primary: #F5F5F2;
    --text-secondary: #9B9B9B;
    --text-tertiary: #6B6B6B;
    --border: rgba(245, 245, 242, 0.10);
    --border-strong: rgba(245, 245, 242, 0.20);
    --header-bg: rgba(10, 10, 10, 0.85);
    --logo-filter: invert(1) brightness(1.2);
  }
}

/* Transition fluide quand on change de thème */
body, body * {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-primary);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── Hero section avec image de fond (page d'accueil) ─── */
.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}
.hero-section::after {
  /* Overlay clair par défaut pour lisibilité du texte foncé */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.55) 100%
  );
  z-index: -1;
  pointer-events: none;
}

/* En dark mode : on assombrit l'image elle-même via filter, et on garde un overlay subtil */
[data-theme="dark"] .hero-section::before {
  filter: brightness(0.45) saturate(1.1);
}
[data-theme="dark"] .hero-section::after {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.20) 0%,
    rgba(10, 10, 10, 0.05) 50%,
    rgba(10, 10, 10, 0.30) 100%
  );
}
@media (prefers-color-scheme: dark) {
  [data-theme="system"] .hero-section::before {
    filter: brightness(0.45) saturate(1.1);
  }
  [data-theme="system"] .hero-section::after {
    background: linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.20) 0%,
      rgba(10, 10, 10, 0.05) 50%,
      rgba(10, 10, 10, 0.30) 100%
    );
  }
}

/* La hero elle-même devient transparente pour laisser apparaître le fond */
.hero-section .hero {
  background: transparent;
}

/* Légère ombre sur les textes pour garantir la lisibilité par-dessus l'image */
.hero-section .hero-title,
.hero-section .hero-sub,
.hero-section .eyebrow {
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.4);
}
[data-theme="dark"] .hero-section .hero-title,
[data-theme="dark"] .hero-section .hero-sub,
[data-theme="dark"] .hero-section .eyebrow {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.7);
}
@media (prefers-color-scheme: dark) {
  [data-theme="system"] .hero-section .hero-title,
  [data-theme="system"] .hero-section .hero-sub,
  [data-theme="system"] .hero-section .eyebrow {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.7);
  }
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ─── Typography ────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  display: inline-block;
}

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
}
h1.hero-title em { font-style: italic; font-weight: 700; color: var(--text-secondary); }

h2.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
h2.section-title em { font-style: italic; font-weight: 700; color: var(--text-secondary); }

/* ─── Header ─────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--border);
}

.nav {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  height: 30px;
  width: auto;
  display: block;
  filter: var(--logo-filter);
  transition: filter 0.3s ease;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  padding: 9px 18px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 0.5px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--text-primary); }

.btn-large {
  padding: 13px 24px;
  font-size: 14px;
}

/* ─── Hero ─── */
.hero {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 120px var(--pad-x) 100px;
  text-align: center;
}
.hero .eyebrow { margin-bottom: 28px; }
.hero-title {
  margin-bottom: 28px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 44px;
  font-weight: 400;
}
.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── Marquee ─── */
.marquee {
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  overflow: hidden;
  background: var(--bg-primary);
}
.marquee-track {
  display: flex;
  gap: 64px;
  padding: 16px 0;
  animation: scroll 50s linear infinite;
  white-space: nowrap;
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}
.marquee-track span::before {
  content: "○ ";
  color: var(--text-tertiary);
  margin-right: 12px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Sections ─── */
.section {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 96px var(--pad-x);
}
.section-narrow {
  max-width: var(--max-reading);
  margin: 0 auto;
  padding: 96px var(--pad-x);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 32px;
}
.section-head .label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}
.section-head .label:hover { color: var(--text-primary); }

/* ─── Article cards ─── */
.grid-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  display: block;
  cursor: pointer;
}

.card-thumb {
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  border-radius: 14px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.article-card:hover .card-thumb { transform: translateY(-4px); }
.card-thumb svg { width: 100%; height: 100%; display: block; }
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  font-weight: 500;
}
.card-meta .dot {
  width: 3px; height: 3px;
  background: var(--text-tertiary);
  border-radius: 50%;
}

.card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.card-foot {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ─── Newsletter band ─── */
.newsletter-band {
  background: var(--bg-secondary);
  padding: 120px var(--pad-x);
  text-align: center;
}
.newsletter-inner {
  max-width: 620px;
  margin: 0 auto;
}
.newsletter-band .eyebrow { margin-bottom: 24px; }
.newsletter-band h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 24px;
}
.newsletter-band h2 em {
  font-style: italic;
  color: var(--text-secondary);
}
.newsletter-band p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.5;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto 16px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 14px;
  border: 0.5px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: var(--text-tertiary); }
.newsletter-form input:focus { border-color: var(--text-primary); }
.newsletter-form button {
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 500;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: 999px;
  transition: all 0.2s;
}
.newsletter-form button:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}
.newsletter-meta {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 0;
}

/* ─── Newsletter status message ─── */
.newsletter-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 480px;
  margin: 20px auto 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--bg-tertiary);
  border: 0.5px solid var(--border);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: left;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.newsletter-status--visible {
  opacity: 1;
  transform: translateY(0);
}
.newsletter-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--text-tertiary);
}

/* ─── Manifesto / Pillars ─── */
.manifesto {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 140px var(--pad-x);
}
.manifesto-head {
  text-align: center;
  margin-bottom: 88px;
}
.manifesto-head .eyebrow { margin-bottom: 24px; }
.manifesto-head h2 {
  max-width: 720px;
  margin: 0 auto;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid var(--border);
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.pillar h3 em { font-style: italic; }
.pillar p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ─── Pro section ─── */
.pro {
  border-top: 0.5px solid var(--border);
  max-width: var(--max-content);
  margin: 0 auto;
}
.pro-inner {
  padding: 100px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.pro-text .eyebrow { margin-bottom: 20px; }
.pro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.pro-text h2 em { font-style: italic; color: var(--text-secondary); }
.pro-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 460px;
}
.pro-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 0.5px solid var(--text-primary);
  padding-bottom: 4px;
  transition: gap 0.2s;
}
.pro-link:hover { gap: 10px; }
.pro-visual {
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.pro-visual svg { width: 100%; height: 100%; display: block; }
.pro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Footer ─── */
footer {
  border-top: 0.5px solid var(--border);
  padding: 48px var(--pad-x) 36px;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo img {
  height: 24px;
  width: auto;
  filter: var(--logo-filter);
  transition: filter 0.3s ease;
}
.footer-logo span {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a:hover { color: var(--text-primary); }

/* ─── Theme switcher (in footer) ─── */
.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 0.5px solid var(--border);
  border-radius: 999px;
  background: var(--bg-secondary);
}
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
}
.theme-btn:hover {
  color: var(--text-primary);
}
.theme-btn.active {
  background: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.theme-btn svg {
  width: 14px;
  height: 14px;
}

/* ═══════════════════════════════════════════════
   PAGE — Liste des actus
═══════════════════════════════════════════════ */
.page-hero {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 100px var(--pad-x) 60px;
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  max-width: 720px;
}
.page-hero h1 em { font-style: italic; color: var(--text-secondary); }
.page-hero .lead {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 540px;
  margin-top: 28px;
  line-height: 1.5;
}

/* ─── Pagination ─── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0.5px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--text-primary);
  color: var(--text-primary);
}
.page-btn.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
  cursor: default;
}
.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.page-btn.page-num { padding: 0 14px; }

/* ─── Footnote actus avec puce ─── */
.actus-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 72px;
  padding: 32px 0;
  border-top: 0.5px solid var(--border);
  color: var(--text-tertiary);
  font-size: 14px;
}
.footnote-bullet {
  width: 6px;
  height: 6px;
  background: var(--text-tertiary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   PAGE — Article
═══════════════════════════════════════════════ */
.article-hero {
  max-width: var(--max-reading);
  margin: 0 auto;
  padding: 80px var(--pad-x) 40px;
}
.article-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  font-weight: 500;
}
.article-meta-top .dot {
  width: 3px; height: 3px;
  background: var(--text-tertiary);
  border-radius: 50%;
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.article-hero h1 em { font-style: italic; color: var(--text-secondary); }
.article-subtitle {
  font-size: 21px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 36px;
  font-weight: 400;
}
.author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 0.5px solid var(--border);
}
.author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}
.author-info {
  display: flex;
  flex-direction: column;
}
.author-info .name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}
.author-info .role {
  font-size: 12px;
  color: var(--text-secondary);
}

.cover-image {
  max-width: 720px;
  margin: 0 auto 80px;
  padding: 0 var(--pad-x);
}
.cover-image-inner {
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  border-radius: 18px;
  overflow: hidden;
}
.cover-image-inner svg { width: 100%; height: 100%; display: block; }
.cover-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-body {
  max-width: var(--max-reading);
  margin: 0 auto;
  padding: 0 var(--pad-x) 60px;
}
.article-body p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px;
  color: var(--text-primary);
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 56px 0 20px;
}
.article-body h2 em { font-style: italic; }

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--text-primary);
  border-left: 2px solid var(--text-primary);
  padding: 8px 0 8px 28px;
  margin: 48px 0;
}

.takeaways {
  background: var(--bg-secondary);
  border-radius: 18px;
  padding: 40px;
  margin: 48px 0;
}
.takeaways .eyebrow { margin-bottom: 20px; }
.takeaways ul { list-style: none; }
.takeaways li {
  font-size: 17px;
  line-height: 1.55;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  gap: 16px;
}
.takeaways li:last-child { border-bottom: none; }
.takeaways li::before {
  content: "→";
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.article-newsletter {
  max-width: var(--max-reading);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.article-newsletter-inner {
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 48px 0;
  text-align: center;
}
.article-newsletter-inner .eyebrow { margin-bottom: 16px; }
.article-newsletter-inner h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 28px;
}
.article-newsletter-inner h3 em { font-style: italic; color: var(--text-secondary); }

.related {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 80px var(--pad-x);
}
.related .eyebrow { margin-bottom: 32px; }
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* ═══════════════════════════════════════════════
   PAGE — Newsletter landing
═══════════════════════════════════════════════ */
.nl-hero {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 120px var(--pad-x) 80px;
  text-align: center;
}
.nl-hero .eyebrow { margin-bottom: 28px; }
.nl-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(54px, 8vw, 100px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 28px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.nl-hero h1 em { font-style: italic; }
.nl-hero p {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.5;
}

.benefits-grid {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 80px var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit {
  border: 0.5px solid var(--border);
  border-radius: 18px;
  padding: 40px;
  background: var(--bg-primary);
  transition: border-color 0.3s;
}
.benefit:hover { border-color: var(--border-strong); }
.benefit-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.benefit h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.benefit h3 em { font-style: italic; }
.benefit p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.testimonial-band {
  background: var(--bg-secondary);
  padding: 100px var(--pad-x);
  text-align: center;
}
.testimonial-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* ─── Testimonial carousel ─── */
.testimonial-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 56px;
}
.testimonial-track {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 32px;
  max-width: 620px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.testimonial-author .author-avatar { background: var(--bg-primary); }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 0.5px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}
.carousel-arrow:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: translateY(-50%) scale(1.05);
}
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-tertiary);
  opacity: 0.3;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dot.active {
  opacity: 1;
  background: var(--text-primary);
  transform: scale(1.3);
}
.carousel-dot:hover { opacity: 0.7; }

/* ═══════════════════════════════════════════════
   PAGE — À propos
═══════════════════════════════════════════════ */
.about-hero {
  max-width: var(--max-reading);
  margin: 0 auto;
  padding: 100px var(--pad-x) 60px;
}
.about-hero .eyebrow { margin-bottom: 24px; }
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 32px;
}
.about-hero h1 em { font-style: italic; color: var(--text-secondary); }
.about-hero .lead {
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.about-feature {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 var(--pad-x);
}
.about-feature-inner {
  aspect-ratio: 21 / 9;
  background: var(--bg-secondary);
  border-radius: 18px;
  overflow: hidden;
}
.about-feature-inner svg { width: 100%; height: 100%; display: block; }
.about-feature-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-section {
  max-width: var(--max-reading);
  margin: 0 auto;
  padding: 0 var(--pad-x) 80px;
}
.about-section h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 28px;
}
.about-section h2 em { font-style: italic; }
.about-section p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.principles-band {
  background: var(--bg-secondary);
  padding: 100px var(--pad-x);
}
.principles-inner {
  max-width: 920px;
  margin: 0 auto;
}
.principles-inner .eyebrow { margin-bottom: 20px; }
.principles-inner > h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 64px;
  max-width: 720px;
}
.principles-inner > h2 em { font-style: italic; color: var(--text-secondary); }
.principle {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 0.5px solid var(--border);
}
.principle:last-child { border-bottom: 0.5px solid var(--border); }
.principle-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-tertiary);
}
.principle h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.principle h3 em { font-style: italic; }
.principle p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════
   PAGE — Pro
═══════════════════════════════════════════════ */
.pro-hero {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 120px var(--pad-x) 80px;
  text-align: center;
}
.pro-hero .eyebrow { margin-bottom: 28px; }
.pro-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 28px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.pro-hero h1 em { font-style: italic; color: var(--text-secondary); }
.pro-hero .lead {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.5;
}

.offers-grid {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 80px var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer {
  border: 0.5px solid var(--border);
  border-radius: 18px;
  padding: 40px 32px;
  background: var(--bg-primary);
  transition: border-color 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.offer:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.offer-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 20px;
}
.offer h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.offer h3 em { font-style: italic; }
.offer p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.offer ul {
  list-style: none;
  margin-bottom: 0;
}
.offer ul li {
  font-size: 14px;
  padding: 10px 0;
  border-top: 0.5px solid var(--border);
  display: flex;
  gap: 12px;
  color: var(--text-primary);
}
.offer ul li::before {
  content: "✓";
  color: var(--text-tertiary);
  font-size: 14px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 100px var(--pad-x);
}
.contact-form .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 20px;
}
.contact-form h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-align: center;
  margin-bottom: 16px;
}
.contact-form h2 em { font-style: italic; color: var(--text-secondary); }
.contact-form .lead {
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 56px;
}
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-grid label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  border: 0.5px solid var(--border-strong);
  border-radius: 14px;
  background: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.form-grid textarea {
  resize: vertical;
  min-height: 120px;
  border-radius: 14px;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus { border-color: var(--text-primary); }
.form-submit {
  margin-top: 16px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 500;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: 999px;
  align-self: center;
  transition: all 0.2s;
}
.form-submit:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════
   Responsive
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --pad-x: 24px; }
  .nav-links { display: none; }
  .grid-articles { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: 1fr; gap: 48px; }
  .pro-inner { grid-template-columns: 1fr; gap: 40px; padding: 72px var(--pad-x); }
  .hero { padding: 80px var(--pad-x) 64px; }
  .section, .manifesto { padding: 72px var(--pad-x); }
  .newsletter-band { padding: 80px var(--pad-x); }
  .newsletter-form { flex-direction: column; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .related-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: 1fr; }
  .principle { grid-template-columns: 1fr; gap: 12px; }
}

/* ─── Subtle entrance ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.fade-in.delay-1 { animation-delay: 0.15s; }
.fade-in.delay-2 { animation-delay: 0.3s; }
.fade-in.delay-3 { animation-delay: 0.45s; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
