/* ═══════════════════════════════════════════════════════════════════════════
   TIMECLAW — STUDIO DE JEUX VIDÉO INDÉPENDANT
   Design System : Thème Clair (#eceff3), Accents Violets (#5100B338 / #5100B3)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Couleurs demandées & dérivées */
  --bg-main: #eceff3;
  --bg-surface: #f7f9fc;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-solid: #ffffff;

  --purple-tint: #5100B338;       /* Le Violet fourni avec transparence */
  --purple-soft: rgba(81, 0, 179, 0.08);
  --purple-border: rgba(81, 0, 179, 0.22);
  --purple-base: #5100B3;         /* Version opaque de #5100B338 */
  --purple-hover: #6508d6;
  --purple-vivid: #7c2ae8;

  /* Typographie & Contrastes (Logo noir, site clair) */
  --text-primary: #0f1117;
  --text-secondary: #3e4556;
  --text-muted: #646d82;

  --border-subtle: rgba(15, 17, 23, 0.08);
  --border-strong: rgba(15, 17, 23, 0.14);

  /* Effets & Ombres */
  --shadow-sm: 0 4px 14px rgba(15, 17, 23, 0.04);
  --shadow-md: 0 14px 36px rgba(15, 17, 23, 0.06), 0 4px 12px rgba(81, 0, 179, 0.05);
  --shadow-lg: 0 24px 56px rgba(81, 0, 179, 0.12), 0 8px 20px rgba(15, 17, 23, 0.06);

  /* Polices */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Rayons & Espacements */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container-max: 1200px;
}

/* ═══════════ RESET & BASE ═══════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  /* Grille subtile d'arrière-plan */
  background-image:
    radial-gradient(rgba(81, 0, 179, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

ul {
  list-style: none;
}

.mono {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══════════ AMBIENT GLOWS (#5100B338) ═══════════ */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(95px);
}

.ambient-glow--top {
  width: 580px;
  height: 580px;
  background: var(--purple-tint);
  top: -180px;
  right: -120px;
}

.ambient-glow--mid {
  width: 500px;
  height: 500px;
  background: var(--purple-tint);
  top: 45%;
  left: -200px;
  opacity: 0.75;
}

/* ═══════════ NAVIGATION ═══════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(236, 239, 243, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.navbar.is-scrolled {
  background: rgba(247, 249, 252, 0.92);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1.5rem;
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.navbar__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__brand:hover .navbar__logo {
  transform: rotate(-6deg) scale(1.06);
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.navbar__title span {
  color: var(--purple-base);
}

.navbar__subtitle {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-top: 2px;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
}

.navbar__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--purple-base);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.navbar__link:hover,
.navbar__link.is-active {
  color: var(--purple-base);
}

.navbar__link:hover::after,
.navbar__link.is-active::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn.navbar__cta--mobile {
  display: none;
}

.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0 9px;
}

.navbar__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.navbar__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════ BUTTONS & BADGES ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}

.btn--sm {
  padding: 0.58rem 1.1rem;
  font-size: 0.88rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--purple-base);
  color: #ffffff;
  box-shadow: 0 8px 22px var(--purple-tint);
}

.btn--primary:hover {
  background: var(--purple-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(81, 0, 179, 0.32);
}

.btn--ghost {
  background: var(--bg-card-solid);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--purple-base);
  color: var(--purple-base);
  background: #ffffff;
  transform: translateY(-2px);
}

.btn--outline {
  background: var(--purple-soft);
  color: var(--purple-base);
  border-color: var(--purple-border);
}

.btn--outline:hover {
  background: var(--purple-base);
  color: #ffffff;
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  background: var(--purple-tint);
  border: 1px solid var(--purple-border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple-base);
  margin-bottom: 1.35rem;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-base);
  box-shadow: 0 0 0 4px rgba(81, 0, 179, 0.18);
}

.inline-link {
  color: var(--purple-base);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--purple-tint);
  text-underline-offset: 3px;
}

.inline-link:hover {
  text-decoration-color: var(--purple-base);
}

/* ═══════════ PARTIE 1 : HERO ═══════════ */
.hero {
  padding: 4.5rem 0 5.5rem;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.35rem;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(120deg, var(--purple-base) 0%, var(--purple-vivid) 60%, #1a102b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.18rem;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
  max-width: 58ch;
}

.hero__sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 56ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero__metrics {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--purple-base);
  line-height: 1.1;
}

.metric__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric__divider {
  width: 1px;
  height: 32px;
  background: var(--border-strong);
}

/* Logo Showcase Card */
.hero__visual {
  display: flex;
  justify-content: center;
}

.logo-showcase {
  position: relative;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-showcase__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.logo-showcase__ring--outer {
  inset: -12px;
  border: 1px dashed var(--purple-border);
  animation: slowSpin 38s linear infinite;
}

.logo-showcase__ring--inner {
  inset: 22px;
  background: radial-gradient(circle, var(--purple-tint) 0%, transparent 70%);
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-showcase__card {
  position: relative;
  width: 88%;
  height: 88%;
  background: linear-gradient(145deg, #ffffff 0%, #f1ecf8 100%);
  border: 2px solid var(--purple-tint);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.logo-showcase__card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 30px 64px rgba(81, 0, 179, 0.18);
}

.logo-showcase__img {
  width: 100%;
  max-width: 265px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(15, 17, 23, 0.12));
}

.logo-showcase__tag {
  margin-top: 1.35rem;
  padding: 0.35rem 0.85rem;
  background: var(--purple-tint);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--purple-base);
}

/* ═══════════ SECTIONS COMMUNES ═══════════ */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, rgba(81, 0, 179, 0.04) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(81, 0, 179, 0.04) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section__header {
  max-width: 680px;
  margin-bottom: 3.25rem;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-base);
  background: var(--purple-tint);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.9rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}

.section__desc {
  font-size: 1.06rem;
  color: var(--text-secondary);
}

/* ═══════════ PARTIE 2 : À PROPOS DU STUDIO ═══════════ */
.studio-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f3edf9 100%);
  border: 1.5px solid var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-md);
}

.studio-banner__quote {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 760px;
}

.studio-banner__icon {
  flex-shrink: 0;
  color: var(--purple-base);
  background: var(--purple-tint);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.studio-banner blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
}

.studio-banner__meta {
  flex-shrink: 0;
  background: var(--bg-main);
  padding: 0.95rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  text-align: right;
}

.studio-banner__meta span {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.studio-banner__meta strong {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--purple-base);
  margin-top: 2px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-border);
  box-shadow: var(--shadow-md);
}

.pillar-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--purple-tint);
  color: var(--purple-base);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.pillar-card__text {
  font-size: 0.96rem;
  color: var(--text-secondary);
}

/* ═══════════ PARTIE 3 : LES 2 JEUX ═══════════ */
.games-list {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.game-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  background: var(--bg-card-solid);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  border-color: var(--purple-border);
  box-shadow: var(--shadow-lg);
}

.game-card__visual {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  overflow: hidden;
}

.game-card__visual--rhodotales {
  background:
    radial-gradient(circle at 20% 20%, rgba(81, 0, 179, 0.28), transparent 60%),
    linear-gradient(145deg, #161224 0%, #24173d 55%, #121526 100%);
  color: #ffffff;
}

.game-card__visual--rwz {
  background:
    radial-gradient(circle at 80% 25%, rgba(124, 42, 232, 0.35), transparent 55%),
    linear-gradient(145deg, #121318 0%, #2b1338 60%, #170f21 100%);
  color: #ffffff;
}

.game-card__collab-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #f3f4f6;
  width: fit-content;
  z-index: 2;
}

.game-card__collab-ribbon img {
  background: #ffffff;
  border-radius: 50%;
  padding: 2px;
}

/* Illustrations CSS pour les 2 jeux */
.game-art {
  position: relative;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.game-art__watermark {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.1rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  text-align: center;
}

/* RhodoTales 3-planes illustration */
.rhodo-planes {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 320px;
}

.rhodo-plane {
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease;
}

.rhodo-plane--back {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(24px) scale(0.92);
  color: rgba(255, 255, 255, 0.65);
}

.rhodo-plane--mid {
  background: rgba(124, 42, 232, 0.25);
  transform: translateX(12px) scale(0.96);
  color: rgba(255, 255, 255, 0.88);
}

.rhodo-plane--front {
  background: rgba(81, 0, 179, 0.55);
  border-color: rgba(196, 149, 255, 0.55);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.game-card:hover .rhodo-plane--back {
  transform: translateX(32px) scale(0.92);
}
.game-card:hover .rhodo-plane--front {
  transform: translateX(-6px) scale(1.02);
}

/* Rock With Zombies Equalizer illustration */
.rwz-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 76px;
  margin-bottom: 1rem;
}

.rwz-equalizer span {
  width: 8px;
  background: linear-gradient(180deg, #c694ff 0%, var(--purple-base) 100%);
  border-radius: 99px;
  animation: eqPulse 1.4s ease-in-out infinite alternate;
}

.rwz-equalizer span:nth-child(1) { height: 28%; animation-delay: 0.1s; }
.rwz-equalizer span:nth-child(2) { height: 62%; animation-delay: 0.3s; }
.rwz-equalizer span:nth-child(3) { height: 90%; animation-delay: 0.0s; }
.rwz-equalizer span:nth-child(4) { height: 45%; animation-delay: 0.4s; }
.rwz-equalizer span:nth-child(5) { height: 80%; animation-delay: 0.2s; }
.rwz-equalizer span:nth-child(6) { height: 100%; animation-delay: 0.5s; }
.rwz-equalizer span:nth-child(7) { height: 55%; animation-delay: 0.15s; }
.rwz-equalizer span:nth-child(8) { height: 85%; animation-delay: 0.35s; }
.rwz-equalizer span:nth-child(9) { height: 40%; animation-delay: 0.25s; }
.rwz-equalizer span:nth-child(10) { height: 70%; animation-delay: 0.45s; }
.rwz-equalizer span:nth-child(11) { height: 32%; animation-delay: 0.05s; }

@keyframes eqPulse {
  0% { transform: scaleY(0.45); opacity: 0.7; }
  100% { transform: scaleY(1); opacity: 1; }
}

.rwz-emblem {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2c6ff;
}

.game-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  z-index: 2;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  padding: 0.32rem 0.7rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.game-card__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.game-card__badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 6px;
  background: var(--purple-tint);
  color: var(--purple-base);
}

.game-card__status {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}

.game-card__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}

.collab-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  background: var(--purple-soft);
  border-left: 4px solid var(--purple-base);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.collab-notice__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.collab-notice a {
  color: var(--purple-base);
  font-weight: 700;
  text-decoration: underline;
}

.game-card__description {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.game-card__highlights {
  margin: 0.5rem 0 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.game-card__highlights li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.game-card__highlights li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--purple-base);
  font-weight: 700;
}

.game-card__footer {
  margin-top: auto;
}

/* ═══════════ PARTIE 4 : MATHYS LACOQUE ═══════════ */
.founder-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.75rem;
  align-items: center;
}

.founder-frame {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.founder-frame__accent {
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: var(--purple-tint);
  border: 1.5px solid var(--purple-border);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.founder-frame__img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-lg);
}

.founder-frame__badge {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--purple-border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.founder-frame__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text-primary);
}

.founder-frame__role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--purple-base);
  font-weight: 600;
}

.founder-bio__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.founder-bio__lead {
  font-size: 1.14rem;
  color: var(--text-primary);
}

.founder-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.timeline-item {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--purple-base);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.timeline-item__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--purple-base);
  margin-bottom: 0.4rem;
}

.timeline-item__desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ═══════════ ÉCOSYSTÈME & PARTENAIRES ═══════════ */
.section--partners {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.partners-box {
  background: linear-gradient(135deg, #ffffff 0%, #f5f0fb 100%);
  border: 1.5px solid var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}

.partners-box__intro {
  max-width: 680px;
  margin-bottom: 2rem;
}

.partners-box__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.partners-box__desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.partner-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: var(--purple-base);
  box-shadow: var(--shadow-sm);
}

.partner-card__logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  flex-shrink: 0;
}

.partner-card__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card__role {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--purple-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.partner-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.15rem 0 0.35rem;
}

.partner-card__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.55rem;
  line-height: 1.45;
}

.partner-card__url {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple-base);
}

/* ═══════════ PARTIE 5 : CONTACT ═══════════ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-mini-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.contact-mini-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--purple-tint);
  color: var(--purple-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-mini-card__label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-mini-card__value {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.contact-form-card {
  background: var(--bg-card-solid);
  border: 1.5px solid var(--purple-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-main);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.82rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--purple-base);
  box-shadow: 0 0 0 4px var(--purple-tint);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.2rem;
}

.form-status.is-success {
  color: #15803d;
}

.form-status.is-error {
  color: #b91c1c;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: #e2e6ed;
  border-top: 1px solid var(--border-strong);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-strong);
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 1rem 0 0.75rem;
  max-width: 36ch;
}

.footer__siret {
  font-size: 0.8rem;
  color: var(--purple-base);
  font-weight: 600;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.footer__socials--inline {
  margin-top: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 1.2rem;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.social-link:hover {
  background: var(--purple-base);
  border-color: var(--purple-base);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px var(--purple-tint);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer__links a:hover {
  color: var(--purple-base);
}

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer__credits a {
  color: var(--purple-base);
  font-weight: 600;
}

.footer__credits a:hover {
  text-decoration: underline;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.lang-switch i {
  font-size: 0.95rem;
  color: var(--purple-base);
  margin-right: 0.15rem;
}

.lang-switch__btn {
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch__btn:hover {
  color: var(--purple-base);
}

.lang-switch__btn.is-active {
  background: var(--purple-base);
  color: #ffffff;
}

.lang-switch__sep {
  opacity: 0.4;
}

/* ═══════════ PAGE MENTIONS LÉGALES ═══════════ */
.legal-page {
  padding: 4rem 0 5rem;
}

.legal-header {
  max-width: 760px;
  margin-bottom: 3rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.legal-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.legal-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-card__header img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.legal-card__step {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--purple-base);
}

.legal-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.legal-card__body {
  font-size: 0.94rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-list li {
  padding-left: 1rem;
  position: relative;
}

.legal-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--purple-base);
  font-weight: 700;
}

.legal-back {
  text-align: center;
}

/* ═══════════ PAGE 404 ═══════════ */
.error-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 0;
}

.error-card {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(145deg, #ffffff 0%, #f3edf9 100%);
  border: 1.5px solid var(--purple-border);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.error-card__visual {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.error-card__logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(15, 17, 23, 0.14));
}

.error-card__code {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--purple-base) 0%, var(--purple-vivid) 65%, #1a102b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.error-card__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.error-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ═══════════ ANIMATIONS REVEAL ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .logo-showcase__ring--outer,
  .rwz-equalizer span {
    animation: none;
  }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
  .hero__grid,
  .game-card,
  .founder-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .logo-showcase {
    max-width: 300px;
  }

  .pillars-grid,
  .partners-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .studio-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .studio-banner__meta {
    width: 100%;
    text-align: left;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar__burger {
    display: flex;
  }

  .btn.navbar__cta--desktop {
    display: none;
  }

  .btn.navbar__cta--mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 0.35rem;
  }

  .navbar__nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--bg-card-solid);
    border-bottom: 1px solid var(--border-strong);
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .navbar__nav.is-open {
    display: flex;
  }

  .founder-timeline,
  .form-row,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .game-card__body,
  .contact-form-card,
  .partners-box {
    padding: 1.65rem;
  }

  .hero__cta {
    width: 100%;
  }

  .hero__cta .btn {
    flex: 1 1 100%;
  }

  .hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    text-align: center;
  }

  .metric {
    align-items: center;
    padding: 0 0.35rem;
    position: relative;
  }

  .metric:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.25rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--border-strong);
  }

  .metric__divider {
    display: none;
  }

  .metric__value {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
  }

  .metric__label {
    font-size: 0.72rem;
    line-height: 1.25;
  }
}

@media (max-width: 520px) {
  .hero__metrics {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.4rem 1.15rem;
    text-align: left;
  }

  .metric {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
  }

  .metric:not(:last-child)::after {
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 1px;
  }

  .metric__value {
    font-size: 1.3rem;
    margin-bottom: 0;
  }

  .metric__label {
    font-size: 0.85rem;
    text-align: right;
  }
}


