/* ═══════════════════════════════════════════
   LIAM — PORTFOLIO · landing.css (version simple)
   Mêmes couleurs et polices que la version 3D (style.css)
═══════════════════════════════════════════ */

:root {
  --night: #050b1e;
  --gold: #e8c97a;
  --cream: #f0e8d0;
  --cream-dim: rgba(240, 232, 208, .66);
  --cream-faint: rgba(240, 232, 208, .4);
  --glass: rgba(8, 12, 28, .62);
  --line: rgba(232, 201, 122, .22);
  --violet: #a78bfa;
  --serif: "Playfair Display", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: max(20px, env(safe-area-inset-left));
  color-scheme: dark;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--serif); color: var(--cream);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
em { font-style: italic; color: var(--gold); }
img { display: block; max-width: 100%; }

/* ── Ciel : le même dégradé que la fin de la vidéo ── */
#sky {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 75% 45%, rgba(232, 201, 122, .07), transparent 70%),
    linear-gradient(to bottom, #050b1e 0%, #0b182c 55%, #13263d 100%);
}
#stars { position: absolute; left: 0; top: 0; width: 1px; height: 1px; border-radius: 50%; }

/* ── La Lune (placée par js/landing.js) ── */
#moon {
  position: fixed; left: 0; top: 0; z-index: -1; pointer-events: none;
  width: 60vh; height: 60vh; opacity: 0; will-change: transform, opacity;
}
#moon::before {
  content: ""; position: absolute; inset: -18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 232, 208, .2) 30%, rgba(232, 201, 122, .06) 52%, transparent 70%);
}
#moon img { position: relative; width: 100%; height: 100%; }
body:not(.ready) #moon { transition: none; }
body.ready #moon { transition: opacity .6s linear; }

/* ═══ EN-TÊTE ═══ */
#top {
  position: fixed; left: 0; right: 0; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
#top.scrolled { background: rgba(5, 11, 30, .72); backdrop-filter: blur(14px); border-color: rgba(232, 201, 122, .12); }
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-dim);
}
.brand:hover { color: var(--cream); }
.anchors { display: flex; gap: 22px; margin-left: auto; }
.anchors a { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--cream-dim); text-decoration: none; }
.anchors a:hover { color: var(--gold); }

/* ═══ BOUTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.5rem; border-radius: 999px; text-decoration: none;
  font-family: var(--mono); font-size: .82rem; letter-spacing: .05em;
  transition: transform .25s var(--ease), background .2s, filter .2s, border-color .2s;
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn.primary { background: var(--gold); color: #14110a; box-shadow: 0 10px 40px -12px rgba(232, 201, 122, .55); }
.btn.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.ghost { border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); }
.btn.ghost:hover { border-color: rgba(232, 201, 122, .5); }

.kicker {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .42em;
  text-transform: uppercase; color: var(--gold);
}

/* ═══ ACCUEIL ═══ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px var(--gutter) 90px;
}
.hero-text { width: min(620px, 100%); margin-left: max(0px, calc((100vw - 1180px) / 2)); }
.hero h1 {
  margin-top: 18px; font-size: clamp(3.2rem, 8.4vw, 7rem); font-weight: 700; line-height: .98;
  letter-spacing: .01em; text-shadow: 0 6px 50px rgba(0, 0, 0, .55);
}
.hero h1 em { display: inline-block; }
.rule { width: min(360px, 70%); height: 1px; margin-top: 26px; background: linear-gradient(90deg, var(--gold), transparent); }
.sub { margin-top: 20px; font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-style: italic; color: rgba(240, 232, 208, .92); }
.sub em { font-weight: 700; }
.lead { margin-top: 14px; max-width: 34rem; font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--cream-dim); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hint { margin-top: 18px; max-width: 30rem; font-family: var(--mono); font-size: .7rem; line-height: 1.6; color: var(--cream-faint); }

.scroll-cue {
  position: absolute; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .34em; text-transform: uppercase; color: var(--cream-faint);
}
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Entrée de l'accueil */
.hero-text > * { animation: rise 1s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .08s; }
.hero-text > :nth-child(3) { animation-delay: .16s; }
.hero-text > :nth-child(4) { animation-delay: .24s; }
.hero-text > :nth-child(5) { animation-delay: .3s; }
.hero-text > :nth-child(6) { animation-delay: .36s; }
.hero-text > :nth-child(7) { animation-delay: .42s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }

/* ═══ SECTIONS ═══ */
main > section:not(.hero) { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.08; margin-top: 14px; }

/* Chiffres */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line); padding: 34px 0; margin-top: 10px;
}
.stat { text-align: center; padding: 0 12px; }
.stat + .stat { border-left: 1px solid rgba(232, 201, 122, .12); }
.stat b { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; line-height: 1; color: var(--cream); }
.stat span { display: block; margin-top: 8px; font-family: var(--mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* À propos */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; padding: 120px 0 40px; }
.about-pitch { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-style: italic; line-height: 1.45; }
.about ul, .card ul { list-style: none; display: grid; gap: .55rem; margin-top: 22px; }
.about li, .card li {
  position: relative; padding-left: 1.3rem;
  font-family: var(--sans); font-size: .95rem; line-height: 1.5; color: rgba(240, 232, 208, .82);
}
.about li::before, .card li::before { content: "✦"; position: absolute; left: 0; top: .1rem; color: var(--gold); font-size: .7rem; }
.label { margin-top: 26px; font-family: var(--mono); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-dim); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.tag {
  font-family: var(--mono); font-size: .72rem; padding: .25rem .6rem; border-radius: 6px;
  background: rgba(167, 139, 250, .1); border: 1px solid rgba(167, 139, 250, .25); color: #d9ccff;
}
.links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.link-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem; border-radius: 999px; text-decoration: none;
  font-family: var(--mono); font-size: .76rem; color: #14110a; background: var(--gold);
  transition: filter .2s;
}
.link-btn:hover { filter: brightness(1.1); }
.link-btn::after { content: "↗"; }

/* Projets */
.projects { padding-top: 110px; }
.section-head { max-width: 760px; }
.section-sub { margin-top: 14px; font-family: var(--sans); color: var(--cream-dim); line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem .45rem .55rem; border-radius: 999px; text-decoration: none;
  font-family: var(--mono); font-size: .74rem; color: var(--cream-dim);
  background: var(--glass); border: 1px solid rgba(232, 201, 122, .16); backdrop-filter: blur(10px);
  transition: color .2s, border-color .2s;
}
.chip:hover { color: var(--cream); border-color: rgba(232, 201, 122, .45); }
.chip i { width: 16px; height: 16px; border-radius: 50%; }
.chip small { font-size: .66rem; color: var(--gold); }

.group { margin-top: 72px; }
.group-head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.planet-dot { flex: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 30px -6px rgba(240, 232, 208, .35); }
.group-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-style: italic; font-weight: 700; line-height: 1.1; }
.group-head p { margin-top: 4px; font-family: var(--mono); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.group-count { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--cream-faint); white-space: nowrap; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; margin-top: 22px; }
.card {
  display: flex; flex-direction: column;
  padding: 24px 24px 22px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(20, 28, 56, .7), rgba(8, 12, 28, .74));
  border: 1px solid rgba(232, 201, 122, .14); backdrop-filter: blur(14px);
  transition: border-color .3s, transform .3s var(--ease);
}
.card:hover { border-color: rgba(232, 201, 122, .4); transform: translateY(-3px); }
.card.featured { border-color: rgba(232, 201, 122, .26); }
.status { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.status.s-paused, .status.s-archived, .status.s-prototype { color: var(--cream-dim); }
.card h4 { margin-top: 10px; font-size: 1.7rem; font-style: italic; font-weight: 700; line-height: 1.1; }
.crater { margin-top: 4px; font-family: var(--mono); font-size: .68rem; color: var(--cream-faint); }
.pitch { margin-top: 12px; font-family: var(--sans); font-size: .98rem; line-height: 1.55; color: var(--cream); }
.card ul { margin-top: 16px; }
.card li { font-size: .88rem; }
.card .tags { margin-top: auto; padding-top: 18px; }
.card .links { margin-top: 14px; }
/* bouton « Plus de détails » au bas de la carte */
.more-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  font: 500 .76rem var(--mono); letter-spacing: .04em; color: var(--cream); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.more-btn span { transition: transform .25s var(--ease); }
.more-btn:hover { border-color: rgba(232, 201, 122, .55); background: rgba(232, 201, 122, .08); }
.more-btn:hover span { transform: translateX(3px); }

/* la fenêtre des détails */
dialog.details {
  width: min(680px, calc(100% - 32px)); max-height: min(86vh, 900px); margin: auto; padding: 0;
  border: 1px solid rgba(232, 201, 122, .3); border-radius: 22px; color: var(--cream);
  background: linear-gradient(160deg, rgba(20, 28, 56, .97), rgba(8, 12, 28, .98));
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
}
dialog.details[open] { display: flex; animation: d-in .45s var(--ease); }
dialog.details::backdrop { background: rgba(3, 6, 18, .7); backdrop-filter: blur(4px); }
@keyframes d-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
html:has(dialog.details[open]) { overflow: hidden; }
.d-inner { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.d-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 24px 24px 16px; border-bottom: 1px solid rgba(232, 201, 122, .14);
}
.d-head h3 { margin-top: 8px; font-size: clamp(1.8rem, 5vw, 2.4rem); font-style: italic; font-weight: 700; line-height: 1.05; }
.d-head .crater { margin-top: 6px; font-family: var(--mono); font-size: .7rem; color: var(--cream-faint); }
.d-close {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--cream); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.d-close:hover { border-color: rgba(232, 201, 122, .55); }
.d-body { overflow-y: auto; padding: 20px 24px 26px; overscroll-behavior: contain; }
.d-intro { font-family: var(--sans); font-size: 1.02rem; line-height: 1.6; }
.d-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.d-facts div { padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(232, 201, 122, .16); background: rgba(255, 255, 255, .03); }
.d-facts dt { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.d-facts dd { margin-top: 2px; font-family: var(--sans); font-size: .9rem; }
.d-sec { margin-top: 22px; }
.d-sec h5 { font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.d-sec ul { list-style: none; display: grid; gap: .55rem; margin-top: 10px; }
.d-sec li { position: relative; padding-left: 1.3rem; font-family: var(--sans); font-size: .93rem; line-height: 1.5; color: rgba(240, 232, 208, .85); }
.d-sec li::before { content: "✦"; position: absolute; left: 0; top: .1rem; color: var(--gold); font-size: .7rem; }
.d-body .tags { margin-top: 22px; }
.d-body .links { margin-top: 14px; }
@media (max-width: 560px) {
  .d-head { padding: 18px 18px 12px; }
  .d-body { padding: 16px 18px 22px; }
}
@media (prefers-reduced-motion: reduce) { dialog.details[open] { animation: none; } }

.error { margin-top: 40px; font-family: var(--sans); color: var(--cream-dim); }
.error a { color: var(--gold); }

/* Appel vers la 3D */
.voyage {
  margin-top: 130px; padding: 64px 32px; text-align: center; border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(232, 201, 122, .14), transparent 70%),
    rgba(8, 12, 28, .55);
  border: 1px solid var(--line); backdrop-filter: blur(12px);
}
.voyage p:not(.kicker) { max-width: 36rem; margin: 16px auto 28px; font-family: var(--sans); line-height: 1.6; color: var(--cream-dim); }

/* ═══ PIED DE PAGE (inspiré du site de Hear) ═══ */
.footer {
  position: relative; overflow: hidden;
  margin-top: 140px; padding: 72px var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, transparent, rgba(3, 6, 18, .85) 140px);
  text-align: center;
}
.f-brand {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-size: 1.4rem; font-weight: 700; font-style: italic;
}
.f-brand img { filter: drop-shadow(0 0 14px rgba(240, 232, 208, .35)); }
.f-tag { max-width: 27rem; margin: 18px auto 0; font-family: var(--sans); font-size: .98rem; line-height: 1.6; color: var(--cream-dim); }
.f-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 200px)); justify-content: center; gap: 24px 40px;
  margin-top: 56px;
}
.f-cols h3 {
  margin-bottom: 18px; font-family: var(--mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.f-cols a, .f-cols span {
  display: block; margin-top: 12px; font-family: var(--sans); font-size: .98rem;
  color: rgba(240, 232, 208, .85); text-decoration: none;
}
.f-cols span { color: var(--cream-dim); }
.f-cols a:hover { color: var(--gold); }
.f-legal {
  max-width: 52rem; margin: 64px auto 0;
  font-family: var(--sans); font-size: .8rem; line-height: 1.6; color: var(--cream-faint);
}
.f-word {
  margin: 28px auto 0; padding: 0 .12em .06em; font-size: clamp(7rem, 30vw, 24rem); font-weight: 700; font-style: italic;
  line-height: 1.15; letter-spacing: -.02em; user-select: none;
  background: linear-gradient(to bottom, rgba(232, 201, 122, .22), rgba(240, 232, 208, .08) 70%, rgba(240, 232, 208, .03));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.f-bottom {
  position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px;
  max-width: 1180px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(232, 201, 122, .14);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--cream-faint);
}

/* ═══ TÉLÉPHONE ═══ */
@media (max-width: 860px) {
  .anchors { display: none; }

  .about { grid-template-columns: 1fr; gap: 28px; padding-top: 90px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 760px) {
  .hero { align-items: flex-end; padding-top: 32svh; padding-bottom: 84px; }
  .hint, .scroll-cue { display: none; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
  .brand span { display: none; }
  .group { margin-top: 56px; }
  .group-count { display: none; }
  .card { padding: 20px 18px; }
  .voyage { padding: 44px 20px; margin-top: 96px; }
  .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-cols > div:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══ Choix de la langue ═══ */
.lang-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--cream);
  padding: .45rem 1.7rem .45rem .85rem; border-radius: 999px;
  background: var(--glass) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2710%27 height=%276%27%3E%3Cpath d=%27M1 1l4 4 4-4%27 fill=%27none%27 stroke=%27%23e8c97a%27 stroke-width=%271.5%27/%3E%3C/svg%3E") no-repeat right .7rem center;
  border: 1px solid var(--line); backdrop-filter: blur(12px);
}
.lang-select:hover { background-color: rgba(20, 26, 50, .8); }
.lang-select option { background: #10121c; color: #f0e8d0; }

/* Chinois : polices du système (Playfair et JetBrains Mono n'ont pas les caractères chinois), pas d'italique */
:lang(zh) body { font-family: "Playfair Display", "Noto Serif SC", "Songti SC", "SimSun", serif; }
:lang(zh) * { font-style: normal !important; }
#top .lang-select { margin-left: 0; }
@media (max-width: 860px) { #top .lang-select { margin-left: auto; } }

/* ═══ MENU TÉLÉPHONE (js/menu.js) ═══ */
.menu-btn, .menu-panel, .menu-only { display: none; }
@media (max-width: 860px) {
  /* en-tête : toujours un peu de fond, pour lire par-dessus la Lune */
  #top { background: rgba(5, 11, 30, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(232, 201, 122, .1); padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px; }
  #top .lang-select { display: none; }
  .brand span { display: inline; letter-spacing: .24em; font-size: .68rem; }

  .menu-btn {
    display: grid; place-content: center; gap: 5px; margin-left: auto;
    width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
    background: var(--glass); border: 1px solid var(--line);
  }
  .menu-btn span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: var(--cream); transition: transform .35s var(--ease), opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .menu-panel {
    display: flex; flex-direction: column; justify-content: center; gap: 40px;
    position: fixed; inset: 0; z-index: 9; padding: 90px 28px max(40px, env(safe-area-inset-bottom));
    background: radial-gradient(ellipse 90% 60% at 80% 0%, rgba(232, 201, 122, .1), transparent 60%), rgba(4, 8, 22, .94);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    opacity: 0; transition: opacity .35s var(--ease);
  }
  .menu-panel[hidden] { display: none; }
  .menu-panel.show { opacity: 1; }
  .menu-links { display: grid; }
  .menu-links a, .menu-langs {
    opacity: 0; transform: translateY(18px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
    transition-delay: calc(.06s * var(--i) + .08s);
  }
  .menu-panel.show .menu-links a, .menu-panel.show .menu-langs { opacity: 1; transform: none; }
  .menu-links a {
    display: flex; align-items: baseline; gap: 14px; padding: 14px 0;
    border-bottom: 1px solid rgba(232, 201, 122, .12); text-decoration: none;
    font-size: clamp(1.9rem, 9vw, 2.6rem); font-weight: 700; font-style: italic; color: var(--cream);
  }
  .menu-links a small { font-family: var(--mono); font-size: .72rem; font-style: normal; font-weight: 400; letter-spacing: .14em; color: var(--gold); }
  .menu-links a[aria-current="true"] { color: var(--gold); }
  .menu-links a:active { color: var(--gold); }
  .menu-langs { display: flex; flex-wrap: wrap; gap: 8px; }
  .menu-langs button {
    min-width: 58px; padding: .6rem 1rem; border-radius: 999px; cursor: pointer;
    font: 600 .8rem var(--mono); letter-spacing: .06em; color: var(--cream-dim);
    background: var(--glass); border: 1px solid var(--line);
  }
  .menu-langs button[aria-pressed="true"] { background: var(--cream); color: #10121c; border-color: var(--cream); }
  body.menu-open { overflow: hidden; }
  body.menu-open #top { background: transparent; border-color: transparent; backdrop-filter: none; z-index: 11; }

  /* thèmes : une seule ligne qu'on fait glisser */
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
@media (max-width: 380px) { .brand span { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .menu-links a, .menu-langs { opacity: 1; transform: none; }
}
