/* ════════════════════════════════════════════════════════════
   CHARTE GRAPHIQUE HOVRYS · The Food Game
   Marron #230f01 · Beige #fbfbf3 · Bleu ciel #c8ebfe
   Polices : Dystopian (titres) · EB Garamond Italic (accents)
   Fichier partagé entre toutes les pages-marchés
════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Dystopian';
  src: url('fonts/Dystopian-Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Dystopian';
  src: url('fonts/Dystopian-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Dystopian';
  src: url('fonts/Dystopian-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Dystopian';
  src: url('fonts/Dystopian-Black.otf') format('opentype');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'EB Garamond';
  src: url('fonts/EBGaramond-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'EB Garamond';
  src: url('fonts/EBGaramond-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --marron: #230f01;
  --marron-60: #7a6d64;
  --marron-30: #bfb7b0;
  --marron-10: rgba(35, 15, 1, 0.10);
  --beige: #fbfbf3;
  --beige-dk: #f0eee1;
  --bleu: #c8ebfe;
  --bleu-dk: #89c5e5;
  --bleu-text: #1e5375;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Dystopian', 'Helvetica Neue', Arial, sans-serif;
  background: var(--beige);
  color: var(--marron);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.container {
  width: 100%; max-width: 1280px;
  padding: 0 48px; margin: 0 auto;
}
.small-caps {
  font-family: 'Dystopian', sans-serif;
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
}

/* ─── NAV ───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 22px 0;
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(251, 251, 243, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--marron-10);
  padding: 14px 0;
}
nav .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-mono {
  width: 32px; height: 32px;
  object-fit: contain; object-position: center; display: block;
}
.nav-name {
  font-family: 'Dystopian', sans-serif; font-weight: 900;
  font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase;
}
.nav-right { display: flex; align-items: center; gap: 28px; }
nav ul {
  list-style: none; display: flex; gap: 30px;
}
nav ul a {
  font-family: 'Dystopian', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  transition: opacity 0.2s;
}
nav ul a:hover { opacity: 0.55; }

/* Language selector */
.lang-selector {
  position: relative;
}
.lang-current {
  font-family: 'Dystopian', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--marron);
  background: transparent;
  cursor: pointer;
  color: var(--marron);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s;
}
.lang-current:hover { background: var(--marron); color: var(--beige); }
.lang-current::after { content: "▾"; font-size: 9px; opacity: 0.7; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--beige); border: 1px solid var(--marron);
  min-width: 240px; z-index: 100;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lang-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lang-menu .lang-group {
  padding: 14px 18px; border-bottom: 1px solid var(--marron-10);
}
.lang-menu .lang-group:last-child { border-bottom: none; }
.lang-menu .lang-group-title {
  font-family: 'Dystopian', sans-serif; font-weight: 700;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--marron-60);
  margin-bottom: 8px;
}
.lang-menu a {
  display: flex; align-items: baseline; gap: 8px;
  font-family: 'Dystopian', sans-serif; font-weight: 400;
  font-size: 14px;
  padding: 6px 0;
  color: var(--marron);
  transition: opacity 0.2s;
}
.lang-menu a:hover { opacity: 0.6; }
.lang-menu a.active {
  font-weight: 700;
  color: var(--bleu-text);
}
.lang-menu a.active::before { content: "▸"; margin-right: 4px; }
.lang-menu .lang-flag { font-size: 16px; }

/* ─── HERO ──────────────────────────────────────────── */
header.hero {
  min-height: 100vh;
  padding: 100px 0 50px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; }
.hero-issue {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 22px; margin-bottom: 6px;
}
.hero-mono {
  width: 72px; height: 72px;
  object-fit: contain; object-position: center; display: block;
}
.hero-center { margin: 60px 0; }
.hero-the {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-weight: 400; font-size: clamp(60px, 8vw, 110px);
  line-height: 0.9; margin-bottom: -8px; padding-left: 6px;
}
.hero-title {
  font-family: 'Dystopian', sans-serif; font-weight: 900;
  font-size: clamp(110px, 16vw, 240px);
  line-height: 0.86; letter-spacing: -0.02em; text-transform: uppercase;
}
.hero-rule { width: 80px; height: 1.5px; background: var(--marron); margin: 32px 0 28px; }
.hero-subtitle {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px); line-height: 1.4;
  max-width: 720px; margin-bottom: 32px;
}
.hero-pills { display: inline-flex; align-items: stretch; }
.pill-blue {
  background: var(--bleu); color: var(--bleu-text);
  padding: 12px 20px;
  font-family: 'Dystopian', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  display: inline-flex; align-items: center;
}
.pill-dark {
  background: var(--marron); color: var(--beige);
  padding: 12px 20px;
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 14px;
  display: inline-flex; align-items: center;
}
.hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid var(--marron); padding-top: 18px;
}
.hero-bottom-left { display: flex; align-items: baseline; gap: 6px; }
.hero-bottom-left .by {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 14px; color: var(--marron-60);
}
.hero-bottom-left .name {
  font-family: 'Dystopian', sans-serif; font-weight: 900;
  letter-spacing: 0.22em; font-size: 13px;
}
.hero-bottom-right {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 14px; color: var(--marron-60);
}

/* ─── SECTION ─────────────────────────────────────── */
section { padding: 130px 0; border-top: 1px solid var(--marron-10); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--marron-10);
  padding-bottom: 18px; margin-bottom: 64px;
}
.section-head .left {
  font-family: 'Dystopian', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
}
.section-head .right {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 18px; color: var(--marron-60);
}
h2.section-title {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-weight: 400; font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05; letter-spacing: -0.005em;
  margin-bottom: 32px; max-width: 920px;
}
h2.section-title .bold {
  font-family: 'Dystopian', sans-serif; font-style: normal;
  font-weight: 900; font-size: clamp(48px, 6.5vw, 90px);
  line-height: 0.95; letter-spacing: -0.02em;
  text-transform: uppercase; display: block; margin-top: 6px;
}
.section-intro {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 19px; line-height: 1.5; max-width: 680px;
  margin-bottom: 64px;
}

/* ─── CONSTAT ─────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-cell { padding-right: 32px; border-right: 1px solid var(--marron-10); }
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'Dystopian', sans-serif; font-weight: 900;
  font-size: clamp(48px, 6vw, 84px); line-height: 1;
  letter-spacing: -0.02em; margin-bottom: 18px;
}
.stat-num .pct { font-size: 0.5em; }
.stat-label {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 16px; line-height: 1.4; color: var(--marron-60);
  max-width: 220px;
}

/* ─── 14 NIVEAUX ──────────────────────────────────── */
.niveaux-list { border-top: 1px solid var(--marron); }
.niveau-row {
  display: grid; grid-template-columns: 80px 1.2fr 2fr 60px;
  gap: 32px; padding: 26px 0;
  border-bottom: 1px solid var(--marron-10);
  align-items: baseline;
  transition: all 0.3s ease;
}
.niveau-row:hover { background: var(--beige-dk); padding-left: 16px; padding-right: 16px; }
.niveau-num {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic; font-size: 26px;
}
.niveau-name {
  font-family: 'Dystopian', sans-serif; font-weight: 900;
  text-transform: uppercase; font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.005em;
}
.niveau-boss {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 17px; color: var(--marron-60);
}
.niveau-arrow { text-align: right; font-size: 14px; color: var(--marron-60); }

/* ─── MODULES ─────────────────────────────────────── */
.modules-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--marron-10);
  border-left: 1px solid var(--marron-10);
}
.module-card {
  padding: 44px 36px;
  border-right: 1px solid var(--marron-10);
  border-bottom: 1px solid var(--marron-10);
  transition: background 0.3s ease;
}
.module-card:hover { background: var(--beige-dk); }
.module-tag {
  font-family: 'Dystopian', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--marron-60); margin-bottom: 22px;
}
.module-title {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-weight: 500; font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.2; margin-bottom: 18px; letter-spacing: -0.005em;
}
.module-desc {
  font-family: 'Dystopian', sans-serif; font-weight: 400;
  font-size: 15px; line-height: 1.55; max-width: 480px;
}

/* ─── POUR QUI ────────────────────────────────────── */
.personas-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--marron-10);
}
.persona { padding: 48px 28px 48px 0; border-right: 1px solid var(--marron-10); }
.persona:not(:first-child) { padding-left: 28px; }
.persona:last-child { border-right: none; padding-right: 0; }
.persona-num {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 18px; color: var(--marron-60); margin-bottom: 22px;
}
.persona h3 {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-weight: 500; font-size: 26px; line-height: 1.2; margin-bottom: 16px;
}
.persona p {
  font-family: 'Dystopian', sans-serif; font-weight: 400;
  font-size: 15px; line-height: 1.55;
}

/* ─── PROMESSE ────────────────────────────────────── */
.promesse-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--marron-10); border-left: 1px solid var(--marron-10);
}
.promesse-cell {
  padding: 38px 32px;
  border-right: 1px solid var(--marron-10);
  border-bottom: 1px solid var(--marron-10);
}
.promesse-letter {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 22px; color: var(--bleu-dk); margin-bottom: 18px;
}
.promesse-cell h4 {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-weight: 500; font-size: 24px; line-height: 1.25; margin-bottom: 14px;
}
.promesse-cell p {
  font-family: 'Dystopian', sans-serif; font-weight: 400;
  font-size: 15px; line-height: 1.55;
}

/* ─── FONDATEUR ───────────────────────────────────── */
.fondateur { background: var(--beige-dk); }
.fondateur-quote {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-weight: 400; font-size: clamp(28px, 4vw, 46px);
  line-height: 1.3; max-width: 1000px; margin-bottom: 36px;
}
.fondateur-attribution {
  font-family: 'Dystopian', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
}

/* ─── CTA FINAL ───────────────────────────────────── */
.cta-final {
  background: var(--marron); color: var(--beige);
  padding: 160px 0; border-top: none;
}
.cta-final .section-head { border-bottom-color: rgba(251, 251, 243, 0.2); }
.cta-final .section-head .left { color: var(--bleu); }
.cta-final .section-head .right { color: rgba(251, 251, 243, 0.6); }
.cta-final h2.section-title { color: var(--beige); }
.cta-final h2.section-title .bold { color: var(--beige); }
.cta-final .section-intro { color: rgba(251, 251, 243, 0.78); }

.cta-button {
  display: inline-block;
  background: var(--bleu); color: var(--bleu-text);
  padding: 22px 38px;
  font-family: 'Dystopian', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  transition: all 0.2s ease;
  margin-top: 16px;
}
/* ─── BLOC PRIX (CTA) ─────────────────────────────── */
.price-block {
  margin: 24px 0 36px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.price-flag {
  background: var(--bleu);
  color: var(--bleu-text);
  padding: 10px 16px;
  font-family: 'Dystopian', sans-serif;
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 26px;
  display: inline-block;
}
.price-display {
  display: flex; align-items: baseline; gap: 22px;
  flex-wrap: wrap;
}
.price-current {
  font-family: 'Dystopian', sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 10vw, 130px);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--beige);
}
.price-old {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: rgba(251, 251, 243, 0.55);
}
.price-old s { text-decoration: line-through; }
.price-fineprint {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: rgba(251, 251, 243, 0.6);
  margin-top: 16px;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200, 235, 254, 0.3); }
.cta-fineprint {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 14px; color: rgba(251, 251, 243, 0.55); margin-top: 24px;
}

/* ─── FOOTER ──────────────────────────────────────── */
footer { background: var(--beige); padding: 56px 0 40px; border-top: 1px solid var(--marron-10); }
footer .row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px;
  align-items: flex-end;
}
footer .by-text {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 14px; color: var(--marron-60);
}
footer .by-name {
  font-family: 'Dystopian', sans-serif; font-weight: 900;
  font-size: 13px; letter-spacing: 0.22em;
}
footer .tag {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 14px; color: var(--marron-60); max-width: 360px;
  line-height: 1.5; margin-top: 6px;
}
footer ul { list-style: none; display: flex; gap: 30px; }
footer ul a {
  font-family: 'Dystopian', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
}
footer .legal {
  font-family: 'EB Garamond', Georgia, serif; font-style: italic;
  font-size: 13px; color: var(--marron-60); margin-top: 32px;
}

/* ─── ANIMATIONS ──────────────────────────────────── */
.fade-in {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 920px) {
  .container { padding: 0 24px; }
  nav ul { display: none; }
  .nav-right { gap: 12px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat-cell { border-right: none; padding-right: 0; }
  .modules-grid { grid-template-columns: 1fr; }
  .promesse-grid { grid-template-columns: 1fr; }
  .personas-row { grid-template-columns: 1fr; border-left: 1px solid var(--marron-10); }
  .persona { border-right: none; border-bottom: 1px solid var(--marron-10); padding-left: 24px !important; padding-right: 24px; }
  .niveau-row { grid-template-columns: 50px 1fr; gap: 16px; padding: 22px 0; }
  .niveau-boss { grid-column: 1 / -1; padding-left: 66px; margin-top: -10px; font-size: 15px; }
  .niveau-arrow { display: none; }
  .niveau-row:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-pills { flex-direction: column; align-items: flex-start; }
  section { padding: 90px 0; }
  .section-head { margin-bottom: 44px; }
  .lang-menu { right: -50px; }
}
