@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================
   1. VARIABLES SHIRABERI
========================= */
:root {
  --violet: #7B5599;
  --rose: #F4A6C9;
  --jaune: #FFD9A7;
  --beige: #E5C4B7;
  --vert: #215735;
  --noir: #010201;
  --gris: #4E4E4D;

  --blanc: #ffffff;

  --fond-site: #f8f3ef;
  --fond-clair: #fffaf7;
  --fond-lavande: #f2ebf6;
  --fond-rose: #fcf1f6;
  --fond-vert: #edf4ef;

  --texte: #2f2b2f;
  --texte-muted: #625c62;
  --texte-clair: rgba(255, 255, 255, 0.92);

  --border-soft: rgba(123, 85, 153, 0.14);
  --border-dark: rgba(1, 2, 1, 0.12);

  --shadow-soft: 0 10px 30px rgba(32, 20, 40, 0.08);
  --shadow-card: 0 12px 28px rgba(28, 18, 36, 0.10);
  --shadow-hover: 0 18px 40px rgba(28, 18, 36, 0.15);

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  --container: 1200px;
  --container-narrow: 920px;

  --transition: 0.28s ease;
}

/* =========================
   2. RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

/* =========================
   3. BASE
========================= */
body {
  font-family: "Poppins", sans-serif;
  background: var(--fond-site);
  color: var(--texte);
  line-height: 1.65;
  padding-top: 88px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.narrow-container {
  max-width: var(--container-narrow);
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--fond-clair);
}

.section-lavender {
  background: var(--fond-lavande);
}

.section-beige {
  background: var(--beige);
}

.section-gradient {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 217, 167, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(123, 85, 153, 0.96), rgba(244, 166, 201, 0.72));
}

.section-dark {
  background:
    linear-gradient(rgba(1, 2, 1, 0.76), rgba(1, 2, 1, 0.76)),
    linear-gradient(135deg, var(--vert), var(--violet));
  color: var(--texte-clair);
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  color: var(--violet);
  margin-bottom: 12px;
}

.section-title p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--texte-muted);
  font-size: 1rem;
}

.section-dark .section-title h2,
.section-gradient .section-title h2 {
  color: var(--blanc);
}

.section-dark .section-title p,
.section-gradient .section-title p {
  color: var(--texte-clair);
}

.section-action {
  text-align: center;
  margin-top: 34px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  background: rgba(123, 85, 153, 0.10);
  color: var(--violet);
}

.light-kicker {
  background: rgba(255, 255, 255, 0.16);
  color: var(--blanc);
}

#gray {
  background: rgba(33, 87, 53, 0.14);
  color: var(--vert);
}

.dark-kicker {
  background: rgba(123, 85, 153, 0.10);
  color: var(--violet);
}
.gray{
  background: rgba(33, 87, 53, 0.14);
  color: var(--vert);
}

.tags00 {
color: #ffffff;
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 18px 0;
}

.gold-kicker {
  background: rgba(255, 217, 167, 0.16);
  color: var(--jaune);
}

.text-block {
  display: grid;
  gap: 18px;
  background: rgba(255, 255, 255, 0.70);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.text-block p {
  color: var(--texte);
}

.quote-block {
  background: rgba(255, 255, 255, 0.72);
  border-left: 5px solid var(--violet);
  border-radius: var(--radius-md);
  padding: 28px 28px 28px 22px;
  box-shadow: var(--shadow-soft);
}

.quote-block p {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--texte);
}

.project-status-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.project-status-box p {
  color: var(--texte);
}

/* =========================
   4. HEADER / NAV
========================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(123, 85, 153, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(12, 12, 12, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  position: relative;
  color: var(--blanc);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--jaune);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--rose);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* =========================
   5. BOUTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--violet);
  color: var(--blanc);
  box-shadow: 0 8px 18px rgba(123, 85, 153, 0.22);
}

.btn-primary:hover {
  background: #6a4688;
}

.btn-secondary {
  background: var(--jaune);
  color: var(--noir);
  box-shadow: 0 8px 18px rgba(255, 217, 167, 0.22);
}

.btn-secondary:hover {
  background: var(--rose);
}

.btn-dark {
  background: var(--noir);
  color: var(--blanc);
}

.btn-dark:hover {
  background: var(--gris);
}

.btn-gold {
  background: var(--jaune);
  color: var(--noir);
}

.btn-gold:hover {
  background: #f6c987;
}

.btn-small {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.88rem;
  background: var(--violet);
  color: var(--blanc);
}

.btn-small:hover {
  background: var(--rose);
  color: var(--noir);
}

.text-link {
  font-weight: 700;
  color: var(--violet);
  transition: color var(--transition);
}

.text-link:hover {
  color: var(--vert);
}

/* =========================
   6. HERO HOME
========================= */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(244, 166, 201, 0.20), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255, 217, 167, 0.20), transparent 28%),
    linear-gradient(135deg, rgba(123, 85, 153, 0.94), rgba(229, 196, 183, 0.96));
  padding: 100px 0 90px;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 52px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.04;
  color: var(--blanc);
  margin-bottom: 18px;
}

.hero p {
  max-width: 620px;
  font-size: 1.06rem;
  color: var(--texte-clair);
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-soft);
}

.hero-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
}

/* =========================
   7. PAGE HERO
========================= */
.page-hero {
  text-align: center;
  padding: 110px 0 90px;
}

.page-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.08;
  color: var(--blanc);
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--texte-clair);
  font-size: 1.05rem;
}

.page-hero-games,
.page-hero-video,
.page-hero-shiraberi,
.page-hero-apropos {
  background:
    radial-gradient(circle at top center, rgba(255, 217, 167, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(123, 85, 153, 0.95), rgba(244, 166, 201, 0.68));
}

.page-hero-game,
.page-hero-member,
.page-hero-lore {
  background:
    radial-gradient(circle at top center, rgba(255, 217, 167, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(33, 87, 53, 0.92), rgba(123, 85, 153, 0.94));
}

/* =========================
   8. GRILLES
========================= */
.explore-grid,
.card-grid,
.info-grid,
.feature-list-grid,
.gallery-grid,
.credits-grid {
  display: grid;
  gap: 28px;
}

.explore-grid,
.card-grid-3,
.info-grid,
.feature-list-grid,
.credits-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* =========================
   9. CARTES GÉNÉRIQUES
========================= */
.info-card,
.feature-item,
.credit-card,
.media-card,
.member-card,
.model-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.info-card,
.feature-item,
.credit-card {
  padding: 26px;
}

.info-card h3,
.feature-item h3,
.credit-card h3 {
  font-size: 1.22rem;
  line-height: 1.2;
  color: var(--violet);
  margin-bottom: 10px;
}

.info-card p,
.feature-item p,
.credit-card p {
  color: var(--texte-muted);
}

.media-card,
.member-card {
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.media-card:hover,
.member-card:hover,
.model-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.media-card img,
.member-card-image img,
.model-card-image img {
  width: 100%;
  object-fit: cover;
}

.media-card img {
  height: 240px;
}

.media-card-body,
.member-card-body,
.model-card-body {
  padding: 22px;
}

.media-card-body h3,
.member-card-body h3,
.model-card-body h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--texte);
  margin-bottom: 10px;
}

.media-card-body p,
.member-card-body p,
.model-card-body p {
  color: var(--texte-muted);
}

.member-card-image img {
  height: 300px;
}

.member-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.member-card-body .btn {
  margin-top: 14px;
}

.member-role {
  color: var(--violet);
  font-weight: 600;
  margin-bottom: 10px;
}

.info-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* =========================
   10. TAGS / BADGES
========================= */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(123, 85, 153, 0.12);
  color: var(--violet);
}

.game-meta,
.video-meta {
  margin-bottom: 12px;
}

.game-status,
.video-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
}

.status-dev {
  background: rgba(123, 85, 153, 0.14);
  color: var(--violet);
}

.status-wip {
  background: rgba(244, 166, 201, 0.18);
  color: #9f4f77;
}

.status-demo {
  background: rgba(255, 217, 167, 0.24);
  color: #8b6330;
}

.status-free {
  background: rgba(33, 87, 53, 0.14);
  color: var(--vert);
}

.video-type {
  background: rgba(123, 85, 153, 0.12);
  color: var(--violet);
}

/* =========================
   11. SPLIT LAYOUT
========================= */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.split-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.10;
  margin-bottom: 18px;
  color: var(--violet);
}

.split-text p {
  color: var(--texte-muted);
  margin-bottom: 16px;
  max-width: 620px;
}

.split-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.light-text h2,
.light-text p {
  color: var(--blanc);
}

.portrait-visual img {
  max-width: 360px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.32);
  padding: 18px;
}

/* =========================
   12. FEATURED GAME / VIDEO
========================= */
.featured-game,
.featured-video {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.featured-game-visual img,
.featured-video-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.featured-game-text h2,
.featured-video-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: var(--violet);
  margin-bottom: 14px;
}

.featured-game-text p,
.featured-video-text p {
  color: var(--texte-muted);
}

.featured-game-actions,
.featured-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

/* =========================
   13. FICHE JEU / FICHE MEMBRE
========================= */
.game-hero-layout,
.member-hero-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 38px;
}

.game-hero-visual img,
.member-hero-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.game-hero-text h1,
.member-hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  color: var(--blanc);
  margin-bottom: 14px;
}

.game-subtitle,
.member-subtitle {
  color: var(--texte-clair);
  font-size: 1.04rem;
  margin-bottom: 20px;
}

.game-meta-list,
.member-meta-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.game-meta-item,
.member-meta-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--texte-clair);
}

.game-meta-item strong,
.member-meta-item strong {
  color: var(--jaune);
}

.game-hero-actions,
.member-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* =========================
   14. GALERIE
========================= */
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* =========================
   15. CAROUSEL GLB
========================= */
.glb-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.glb-carousel-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(123, 85, 153, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.glb-viewer-shell {
  background: linear-gradient(135deg, rgba(123, 85, 153, 0.16), rgba(33, 87, 53, 0.12));
  border-radius: var(--radius-lg);
  padding: 14px;
}

.glb-viewer-frame {
  width: 100%;
  height: 560px;
  border: none;
  border-radius: var(--radius-md);
  background: #b597cb;
  display: block;
}

.glb-carousel-info h3 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  color: var(--violet);
  margin-bottom: 14px;
}

.glb-carousel-info p {
  color: var(--texte-muted);
  margin-bottom: 22px;
}

.glb-carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--blanc);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition);
}

.glb-carousel-btn:hover {
  transform: translateY(-2px);
  background: var(--rose);
  color: var(--noir);
}

.glb-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.glb-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(123, 85, 153, 0.22);
  transition:
    background var(--transition),
    transform var(--transition);
}

.glb-dot.active,
.glb-dot:hover {
  background: var(--violet);
  transform: scale(1.08);
}

/* =========================
   16. ANCIEN CAROUSEL IMAGE
   (gardé au cas où)
========================= */
.model-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--violet);
  color: var(--blanc);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition),
    background var(--transition);
}

.carousel-btn:hover {
  transform: translateY(-2px);
  background: var(--rose);
  color: var(--noir);
}

.carousel-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(123, 85, 153, 0.35);
  border-radius: var(--radius-pill);
}

.carousel-slide {
  scroll-snap-align: start;
}

.model-card-image img {
  height: 360px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(123, 85, 153, 0.22);
  transition:
    background var(--transition),
    transform var(--transition);
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--violet);
  transform: scale(1.08);
}

/* =========================
   17. LORE TABS
========================= */
.lore-tabs-section {
  padding-top: 68px;
  padding-bottom: 40px;
}

.lore-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.lore-tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: rgba(123, 85, 153, 0.12);
  color: var(--violet);
  font-weight: 700;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.lore-tab-button:hover,
.lore-tab-button.active {
  background: var(--violet);
  color: var(--blanc);
  transform: translateY(-2px);
}

.lore-panel {
  scroll-margin-top: 120px;
}

/* =========================
   18. FINAL CTA
========================= */
.final-cta {
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 42px 28px;
  box-shadow: var(--shadow-soft);
}

.section-dark .final-cta,
.section-gradient .final-cta {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--blanc);
}

.section-soft .final-cta,
.section-beige .final-cta,
.section-lavender .final-cta,
body .final-cta {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--border-soft);
  color: var(--texte);
}

.final-cta h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 12px;
  color: inherit;
}

.final-cta p {
  max-width: 700px;
  margin: 0 auto 22px;
  color: inherit;
}

/* =========================
   19. FOOTER
========================= */
.site-footer {
  background: var(--noir);
  color: var(--blanc);
  padding: 64px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer-brand img {
  width: 86px;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links h4 {
  margin-bottom: 12px;
  color: var(--jaune);
  font-size: 1rem;
}

.footer-links ul {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--rose);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.92rem;
}

/* =========================
   LANG SWITCH
========================= */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: var(--blanc);
  font-size: 0.84rem;
  font-weight: 700;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.lang-switch a:hover,
.lang-switch a.active {
  background: var(--jaune);
  color: var(--noir);
  transform: translateY(-1px);
}

/* =========================
   20. ACCESSIBILITÉ
========================= */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 8px;
}

/* =========================
   21. RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .hero-content,
  .split-layout,
  .featured-game,
  .featured-video,
  .game-hero-layout,
  .member-hero-layout,
  .footer-top,
  .card-grid-3,
  .info-grid,
  .feature-list-grid,
  .credits-grid,
  .explore-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .hero-card img {
    height: 360px;
  }

  .featured-game-visual img,
  .featured-video-visual img {
    height: 340px;
  }

  .game-hero-visual img,
  .member-hero-visual img {
    height: 430px;
  }
}

@media (max-width: 900px) {
  .glb-carousel {
    grid-template-columns: 1fr;
  }

  .glb-carousel-content {
    grid-template-columns: 1fr;
  }

  .glb-carousel-btn {
    display: none;
  }

  .glb-viewer-frame {
    height: 420px;
  }

  .glb-carousel-info {
    text-align: center;
  }

  .glb-carousel-dots {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  body {
    padding-top: 112px;
  }

  .header-container {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .main-nav ul {
    justify-content: center;
    gap: 14px;
  }

  .section {
    padding: 74px 0;
  }

  .hero,
  .page-hero {
    padding-top: 84px;
    padding-bottom: 74px;
  }

  .hero-content,
  .split-layout,
  .featured-game,
  .featured-video,
  .game-hero-layout,
  .member-hero-layout,
  .card-grid-3,
  .info-grid,
  .feature-list-grid,
  .gallery-grid,
  .credits-grid,
  .explore-grid,
  .footer-top,
  .model-carousel {
    grid-template-columns: 1fr;
  }

  .reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-text,
  .split-text,
  .featured-game-text,
  .featured-video-text,
  .game-hero-text,
  .member-hero-text,
  .section-title,
  .final-cta {
    text-align: center;
  }

  .hero p,
  .split-text p,
  .featured-game-text p,
  .featured-video-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .featured-game-actions,
  .featured-video-actions,
  .game-hero-actions,
  .member-hero-actions {
    justify-content: center;
  }

  .hero-card img {
    height: 300px;
  }

  .media-card img {
    height: 220px;
  }

  .member-card-image img,
  .model-card-image img {
    height: 300px;
  }

  .gallery-item img {
    height: 250px;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-track {
    grid-template-columns: repeat(4, 80%);
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section-title h2,
  .split-text h2,
  .featured-game-text h2,
  .featured-video-text h2,
  .final-cta h2 {
    font-size: 1.85rem;
  }

  .hero h1,
  .page-hero h1,
  .game-hero-text h1,
  .member-hero-text h1 {
    font-size: 2rem;
  }

  .text-block,
  .info-card,
  .feature-item,
  .credit-card,
  .media-card-body,
  .member-card-body,
  .model-card-body,
  .final-cta,
  .featured-game,
  .featured-video,
  .project-status-box,
  .quote-block,
  .glb-carousel-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .btn,
  .btn-small {
    width: 100%;
  }

  .hero-buttons,
  .featured-game-actions,
  .featured-video-actions,
  .game-hero-actions,
  .member-hero-actions {
    flex-direction: column;
  }

  .glb-viewer-frame {
    height: 300px;
  }

  .carousel-track {
    grid-template-columns: repeat(4, 92%);
  }
}
.lang-switch {
  justify-content: center;
}