/* ============================================================
   mots-fleches.css — Pages SEO « Mots fléchés » de Zikof.
   Hub + 9 pages univers. Identité Zikof brutaliste (Bricolage/Hanken,
   sombre crème, ombres dures, jaune/bleu/rose pop). Auto-suffisant.
   Généré/servi statiquement ; ne dépend que des Google Fonts.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;600;700;800&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #17151f;
  --bg2: #241f33;
  --bg3: #2d2740;
  --ink: #fbf2dd;
  --text2: #b9b3c9;
  --blue: #2b2bff;
  --yellow: #ffd23f;
  --pink: #ff5da2;
  --green: #16c08a;
  --line: #0c0b12;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* fond à pois discret, signature Zikof */
  background-image: radial-gradient(rgba(251,242,221,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}
a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ─── Barre du haut ─── */
.mf-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  max-width: 1100px; margin: 0 auto; padding: 14px 20px;
}
.mf-topbar .brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  color: var(--ink); letter-spacing: 0.02em;
}
.mf-topbar .brand span { color: var(--yellow); }
.mf-topbar .brand img.mf-logo { height: 30px; width: auto; display: block; }
.mf-topbar nav { display: flex; gap: 16px; font-weight: 600; font-size: 0.9rem; }
.mf-topbar nav a { color: var(--text2); }
.mf-topbar nav a:hover { color: var(--yellow); text-decoration: none; }

/* ─── Conteneur ─── */
.mf-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px 80px; }
.mf-breadcrumb { font-size: 0.82rem; color: var(--text2); margin: 8px 0 28px; }
.mf-breadcrumb a { color: var(--text2); }
.mf-breadcrumb a:hover { color: var(--yellow); }

/* ─── Hero ─── */
.mf-hero { text-align: center; padding: 30px 0 14px; }
.mf-hero .kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', var(--font-body), monospace;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #1f1300; background: var(--yellow);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.mf-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.05;
  letter-spacing: -0.01em; margin-bottom: 16px;
}
.mf-hero h1 em { color: var(--yellow); font-style: normal; }
.mf-hero .lead {
  max-width: 680px; margin: 0 auto; font-size: 1.08rem; color: var(--text2);
}
.mf-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 8px; }
.mf-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 13px 24px; border-radius: 14px; border: 2.5px solid var(--line);
  cursor: pointer; transition: transform 0.16s, box-shadow 0.16s;
}
.mf-btn-primary { background: var(--yellow); color: #1f1300; box-shadow: 4px 4px 0 var(--line); }
.mf-btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--line); text-decoration: none; }
.mf-btn-ghost { background: var(--bg2); color: var(--ink); box-shadow: 4px 4px 0 var(--line); }
.mf-btn-ghost:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--line); text-decoration: none; color: var(--yellow); }

/* ─── Bandeau de features (hub) ─── */
.mf-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin: 44px 0;
}
.mf-feature {
  background: var(--bg2); border: 2px solid var(--line); border-radius: 16px;
  padding: 22px 20px; box-shadow: 4px 4px 0 var(--line);
}
.mf-feature .ico { font-size: 1.8rem; }
.mf-feature h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 10px 0 6px; }
.mf-feature p { font-size: 0.94rem; color: var(--text2); }

/* ─── Modes de jeu (hub) ─── */
.mf-modes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.mf-mode {
  background: var(--bg2); border: 2px solid var(--line); border-radius: 16px;
  padding: 24px 22px; box-shadow: 4px 4px 0 var(--line);
}
.mf-mode .cat-ico { font-size: 2rem; display: block; margin-bottom: 8px; }
.mf-mode h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.mf-mode p { font-size: 0.94rem; color: var(--text2); }
.mf-mode:last-child { border-color: var(--pink); }
.mf-mode:last-child .cat-ico { filter: drop-shadow(0 0 8px rgba(255,93,162,0.5)); }

/* ─── Sections ─── */
.mf-section { margin: 56px 0; }
.mf-section > h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 8px;
}
.mf-section > .sub { color: var(--text2); margin-bottom: 24px; max-width: 760px; }

/* ─── Grille de cartes (univers ou grilles) ─── */
.mf-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.mf-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--bg2); border: 2px solid var(--line); border-radius: 16px;
  padding: 18px; box-shadow: 4px 4px 0 var(--line);
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.2s;
  color: var(--ink);
}
.mf-card:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--line); border-color: var(--yellow); text-decoration: none; }
.mf-card .cat-ico { font-size: 1.6rem; }
.mf-card h3 { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.2; }
.mf-card .desc { font-size: 0.9rem; color: var(--text2); flex: 1; }
.mf-card .meta {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--text2);
  margin-top: 4px;
}
.mf-card .pill {
  padding: 2px 9px; border-radius: 999px; font-weight: 700; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.pill-facile    { background: rgba(22,192,138,0.18); color: #4ee0af; }
.pill-medium    { background: rgba(255,210,63,0.18); color: var(--yellow); }
.pill-difficile { background: rgba(255,93,162,0.18); color: var(--pink); }
.mf-card .go { font-family: var(--font-display); font-weight: 700; color: var(--yellow); font-size: 0.92rem; margin-top: 6px; }

/* ─── Prose (intro/contenu) ─── */
.mf-prose { max-width: 760px; }
.mf-prose p { margin-bottom: 16px; color: #e8e0d0; }
.mf-prose h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 32px 0 12px; }
.mf-prose strong { color: var(--ink); }

/* ─── FAQ ─── */
.mf-faq { max-width: 820px; }
.mf-faq details {
  background: var(--bg2); border: 2px solid var(--line); border-radius: 14px;
  margin-bottom: 10px; overflow: hidden; box-shadow: 3px 3px 0 var(--line);
}
.mf-faq summary {
  padding: 16px 44px 16px 18px; cursor: pointer; position: relative;
  font-family: var(--font-display); font-size: 1rem; list-style: none;
}
.mf-faq summary::-webkit-details-marker { display: none; }
.mf-faq summary::after {
  content: '+'; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%); color: var(--yellow); font-weight: 800; font-size: 1.3rem;
}
.mf-faq details[open] summary::after { content: '−'; }
.mf-faq details p { padding: 0 18px 16px; color: var(--text2); font-size: 0.95rem; }

/* ─── Cross-links univers ─── */
.mf-siblings {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px;
}
.mf-siblings a {
  background: var(--bg2); border: 2px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: 0.9rem; color: var(--ink);
  box-shadow: 2px 2px 0 var(--line);
}
.mf-siblings a:hover { border-color: var(--yellow); color: var(--yellow); text-decoration: none; }

/* ─── Footer ─── */
.mf-footer {
  border-top: 2px solid var(--line); margin-top: 60px; padding: 28px 20px;
  text-align: center; color: var(--text2); font-size: 0.85rem;
}
.mf-footer a { color: var(--text2); }
.mf-footer a:hover { color: var(--yellow); }

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .mf-hero { padding-top: 16px; }
  .mf-section { margin: 40px 0; }
  .mf-cards { grid-template-columns: 1fr; }
}
