/* ═══════════════════════════════════════════════
   LAZULIA · Système visuel
   Navy nuit #0F1629 · Gold #C8A45C · Gold clair #e8c97a
   ═══════════════════════════════════════════════ */

:root {
  --navy: #141210;
  --navy-2: #0d0c0a;
  --navy-3: #201c17;
  --gold: #C8A45C;
  --gold-light: #e8c97a;
  --gold-deep: #a08040;
  --ink: #f0ece4;
  --ink-soft: #b9b2a4;
  --ink-dim: #6a655c;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Jost', sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-exp: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body[data-loading] { overflow: hidden; }

::selection { background: var(--gold); color: var(--navy); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }

/* ─────────── PRELOADER ─────────── */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.preloader-panel { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--navy-2); }
.preloader-panel.left { left: 0; }
.preloader-panel.right { right: 0; }
.preloader-inner { position: relative; z-index: 2; text-align: center; }
.preloader-logo { opacity: .9; }
.pl-moon, .pl-crystal { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 2s var(--ease-exp) forwards; }
.pl-crystal { animation-delay: .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader-word {
  font-family: var(--sans); font-weight: 200; letter-spacing: .55em;
  font-size: 15px; color: var(--gold-light); margin-top: 22px; padding-left: .55em;
}
.preloader-count {
  font-family: var(--serif); font-style: italic; font-size: 13px;
  color: var(--ink-dim); margin-top: 10px;
}
.preloader-count::after { content: ' %'; }

/* ─────────── SCROLL PROGRESS ─────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 900;
  background: rgba(200, 164, 92, .08);
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
}

/* ─────────── NAVIGATION ─────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px clamp(24px, 5vw, 64px);
  transition: padding .5s var(--ease-out), background .5s, backdrop-filter .5s;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav.is-scrolled {
  padding: 14px clamp(24px, 5vw, 64px);
  background: rgba(10, 15, 30, .55);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgba(200, 164, 92, .1);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 34px; height: 34px; transition: transform .8s var(--ease-out); }
.nav-brand:hover .nav-logo { transform: rotate(180deg); }
.nav-word { font-weight: 300; letter-spacing: .45em; font-size: 14px; color: var(--ink); }
.nav-links { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav-links a {
  position: relative; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-soft);
  transition: color .35s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-burger { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.nav-burger span { width: 26px; height: 1px; background: var(--ink); transition: .4s var(--ease-out); }

/* ─────────── NAV DROITE ─────────── */
.nav-right { display: flex; align-items: center; gap: 18px; }

/* ─────────── HERO ─────────── */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, var(--navy-3) 0%, var(--navy) 55%, var(--navy-2) 100%);
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; z-index: 1;
}
.hero-grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .05; z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 10% { transform: translate(-5%,-8%); }
  30% { transform: translate(3%,-12%); } 50% { transform: translate(8%,4%); }
  70% { transform: translate(-8%,8%); } 90% { transform: translate(4%,3%); }
}
.hero-content {
  position: relative; z-index: 5; text-align: center;
  padding: 90px 24px 0;
  max-width: 1200px;
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px; padding-left: .5em;
}
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(52px, 11vw, 148px);
  line-height: .98; letter-spacing: .01em;
}
.ht-line { display: block; overflow: hidden; }
.ht-line > span { display: inline-block; transform: translateY(115%); }
.ht-italic { font-style: italic; color: var(--gold-light); }
.hero-sub {
  margin-top: 30px; font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 200; line-height: 1.8; color: var(--ink-soft);
}
.hero-cta { display: flex; gap: 18px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
[data-hero-fade] { opacity: 0; transform: translateY(26px); }

.hero-hint {
  position: absolute; bottom: 110px; left: clamp(24px, 5vw, 64px); z-index: 5;
  display: flex; align-items: center; gap: 14px;
}
.hero-hint-line { width: 44px; height: 1px; background: var(--gold-deep); }
.hero-hint-txt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 1px solid rgba(200,164,92,.35); border-radius: 14px;
  display: flex; justify-content: center; z-index: 5;
}
.hero-scroll span {
  width: 2px; height: 8px; background: var(--gold); border-radius: 2px; margin-top: 8px;
  animation: scrollHint 2s var(--ease-out) infinite;
}
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ─────────── BOUTONS ─────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  overflow: hidden; transition: color .45s var(--ease-out); will-change: transform;
}
.btn span { position: relative; z-index: 2; }
.btn::before {
  content: ''; position: absolute; inset: 0;
  transition: transform .6s var(--ease-exp);
}
.btn-gold { color: var(--navy); }
.btn-gold::before { background: linear-gradient(120deg, var(--gold-deep), var(--gold), var(--gold-light), var(--gold)); background-size: 220% 100%; }
.btn-gold:hover::before { transform: translateX(-40%); }
.btn-ghost { color: var(--gold-light); border: 1px solid rgba(200,164,92,.4); }
.btn-ghost::before { background: var(--gold); transform: translateY(101%); }
.btn-ghost:hover { color: var(--navy); }
.btn-ghost:hover::before { transform: translateY(0); }

/* ─────────── SECTIONS COMMUNES ─────────── */
.section-head { max-width: 1100px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 64px); }
.eyebrow {
  font-size: 11px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px; padding-left: .5em;
}
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(38px, 6vw, 76px); line-height: 1.04;
}
.section-sub { margin-top: 22px; color: var(--ink-soft); font-weight: 200; line-height: 1.8; max-width: 480px; }
.split-title .st-line { display: block; overflow: hidden; }
.split-title .st-line > span { display: inline-block; transform: translateY(110%); }

/* ─────────── MANIFESTE ─────────── */
.manifesto { padding: clamp(120px, 20vh, 220px) 24px; }
.manifesto-text {
  max-width: 900px; margin: 0 auto; text-align: center;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 4.2vw, 48px); line-height: 1.35;
}
.manifesto-text .w { opacity: .12; display: inline-block; transition: opacity .1s linear; }

/* ─────────── MARQUEE ─────────── */
.marquee {
  overflow: hidden; padding: 30px 0;
  border-top: 1px solid rgba(200,164,92,.12);
  border-bottom: 1px solid rgba(200,164,92,.12);
}
.marquee-track { display: flex; align-items: center; gap: 42px; width: max-content; will-change: transform; }
.marquee-track span {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(22px, 3vw, 34px); color: var(--ink-soft); white-space: nowrap;
}
.marquee-track i { color: var(--gold); font-style: normal; font-size: 14px; }

/* ─────────── COLLECTIONS ─────────── */
.collections { position: relative; padding: clamp(100px, 16vh, 180px) 0; }
.coll-list { max-width: 1100px; margin: 70px auto 0; padding: 0 clamp(24px, 5vw, 64px); }
.coll-item {
  position: relative; display: flex; align-items: center; gap: clamp(20px, 4vw, 56px);
  padding: clamp(30px, 5vh, 48px) 0;
  border-top: 1px solid rgba(200,164,92,.14);
  cursor: pointer;
}
.coll-item:last-child { border-bottom: 1px solid rgba(200,164,92,.14); }
.coll-index {
  font-family: var(--serif); font-style: italic; font-size: 15px;
  color: var(--gold-deep); min-width: 34px;
  transition: color .4s;
}
.coll-body { flex: 1; }
.coll-name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 5vw, 60px); line-height: 1;
  transition: transform .6s var(--ease-out), color .4s;
}
.coll-desc {
  margin-top: 12px; max-width: 460px; color: var(--ink-soft);
  font-size: 14px; line-height: 1.75; font-weight: 200;
}
.coll-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateX(-12px);
  transition: opacity .45s, transform .45s var(--ease-out);
}
.coll-cta i { font-style: normal; transition: transform .35s; }
.coll-item:hover .coll-name { transform: translateX(16px); color: var(--gold-light); }
.coll-item:hover .coll-index { color: var(--gold-light); }
.coll-item:hover .coll-cta { opacity: 1; transform: translateX(0); }
.coll-item:hover .coll-cta i { transform: translateX(5px); }

.coll-thumb {
  flex-shrink: 0; width: clamp(120px, 15vw, 190px); aspect-ratio: 4/5;
  overflow: hidden; border-radius: 5px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  transition: transform .6s var(--ease-out), box-shadow .6s;
}
.coll-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform .8s var(--ease-out);
}
.coll-item:hover .coll-thumb { transform: translateY(-6px) rotate(-1.2deg); box-shadow: 0 26px 54px rgba(0,0,0,.45); }
.coll-item:hover .coll-thumb img { transform: scale(1.0); }

/* ─────────── MINÉRAUX : grille éditoriale ─────────── */
.gallery { padding: clamp(100px, 16vh, 180px) 0; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 34px);
  max-width: 1280px; margin: 60px auto 0;
  padding: 0 clamp(24px, 5vw, 64px);
}
.gcard { position: relative; }
.gcard-img {
  position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 6px;
}
.gcard-tall .gcard-img { aspect-ratio: 4/5.6; }
.gcard-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,15,30,.45) 100%);
  opacity: 0; transition: opacity .5s;
}
.gcard-img img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); transition: transform 1s var(--ease-out);
  will-change: transform;
}
.gcard:hover .gcard-img img { transform: scale(1.0); }
.gcard:hover .gcard-img::after { opacity: 1; }
.gcard figcaption {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: 16px; padding: 0 2px;
}
.gcard-name { font-family: var(--serif); font-size: 24px; font-weight: 300; }
.gcard-tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ─────────── RITUEL ─────────── */
.ritual { padding: clamp(100px, 16vh, 180px) 0; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 50%, var(--navy) 100%); }
.ritual .section-head { text-align: center; }
.ritual .section-sub { margin-left: auto; margin-right: auto; }
.ritual-box {
  position: relative; max-width: 720px; margin: 60px auto 0;
  padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 60px);
  border: 1px solid rgba(200,164,92,.18); border-radius: 8px;
  background: rgba(15, 22, 41, .5);
  backdrop-filter: blur(10px);
  min-height: 380px;
}
.ritual-progress {
  position: absolute; top: -1px; left: 10%; right: 10%; height: 2px;
  background: rgba(200,164,92,.12); border-radius: 2px; overflow: hidden;
}
.ritual-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); transition: width .7s var(--ease-out); }
.ritual-step { display: none; }
.ritual-step.is-active { display: block; animation: stepIn .7s var(--ease-exp); }
@keyframes stepIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.ritual-q {
  font-family: var(--serif); font-weight: 300; text-align: center;
  font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 40px;
}
.ritual-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.ritual-opt {
  padding: 18px 12px; border: 1px solid rgba(200,164,92,.25); border-radius: 4px;
  font-size: 13px; letter-spacing: .12em; color: var(--ink-soft);
  transition: all .4s var(--ease-out);
}
.ritual-opt:hover {
  border-color: var(--gold); color: var(--gold-light);
  background: rgba(200,164,92,.06); transform: translateY(-3px);
}
.ritual-colors { display: flex; justify-content: center; gap: 22px; }
.ritual-color {
  width: 58px; height: 58px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--c), color-mix(in srgb, var(--c) 55%, black));
  transition: transform .4s var(--ease-out), box-shadow .4s;
  position: relative;
}
.ritual-color::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid transparent; transition: border-color .4s;
}
.ritual-color:hover { transform: scale(1.14); box-shadow: 0 12px 34px color-mix(in srgb, var(--c) 45%, transparent); }
.ritual-color:hover::after { border-color: var(--gold); }

.ritual-result { display: none; text-align: center; position: relative; }
.ritual-result.is-active { display: block; animation: stepIn .9s var(--ease-exp); }
.ritual-result-glow {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,164,92,.16) 0%, transparent 65%);
  pointer-events: none;
}
.ritual-result-label { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); padding-left: .4em; }
.ritual-result-name {
  font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 7vw, 72px);
  color: var(--gold-light); margin: 16px 0;
}
.ritual-result-desc { max-width: 440px; margin: 0 auto; color: var(--ink-soft); line-height: 1.8; font-weight: 200; }
.ritual-result-actions { display: flex; gap: 16px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

/* ─────────── HISTOIRE ─────────── */
.story {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px); align-items: center;
  max-width: 1280px; margin: 0 auto;
  padding: clamp(100px, 16vh, 180px) clamp(24px, 5vw, 64px);
}
.story-media { position: relative; }
.story-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px;
  will-change: transform;
}
.story-media-frame {
  position: absolute; inset: 20px -20px -20px 20px;
  border: 1px solid rgba(200,164,92,.3); border-radius: 6px;
  pointer-events: none; z-index: -1;
}
.story-body .section-title { font-size: clamp(32px, 3.8vw, 52px); }
.story-text { margin-top: 26px; color: var(--ink-soft); line-height: 1.9; font-weight: 200; max-width: 520px; }
.story-body .btn { margin-top: 36px; }

/* ─────────── CONTACT ─────────── */
.contact { padding: clamp(100px, 16vh, 180px) 0 clamp(80px, 12vh, 140px); }
.contact .section-head { text-align: center; }
.contact .section-sub { margin-left: auto; margin-right: auto; }
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px; max-width: 1000px; margin: 60px auto 0;
  padding: 0 clamp(24px, 5vw, 64px);
}
.contact-card {
  display: block; padding: 40px 30px; text-align: center;
  border: 1px solid rgba(200,164,92,.16); border-radius: 6px;
  background: rgba(22, 32, 58, .3);
  transition: border-color .4s, transform .5s var(--ease-out), background .4s;
}
.contact-card:hover { border-color: rgba(200,164,92,.45); transform: translateY(-6px); background: rgba(22, 32, 58, .55); }
.contact-ico { display: block; font-size: 22px; color: var(--gold); margin-bottom: 18px; }
.contact-card h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-bottom: 12px; }
.contact-card p { font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); font-weight: 200; }

/* ─────────── FOOTER ─────────── */
.footer { position: relative; overflow: hidden; border-top: 1px solid rgba(200,164,92,.12); }
.footer-giant {
  padding: clamp(30px, 6vh, 70px) 0 0;
  text-align: center; line-height: .8; user-select: none;
}
.footer-giant span {
  font-family: var(--sans); font-weight: 200;
  font-size: clamp(64px, 16.5vw, 240px); letter-spacing: .12em;
  background: linear-gradient(180deg, rgba(200,164,92,.35) 0%, rgba(200,164,92,.02) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.footer-row {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
  max-width: 1100px; margin: 0 auto;
  padding: clamp(40px, 7vh, 80px) clamp(24px, 5vw, 64px);
}
.footer-col p, .footer-col a { font-size: 13px; color: var(--ink-soft); font-weight: 200; line-height: 2; display: block; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-head { color: var(--gold) !important; letter-spacing: .2em; text-transform: uppercase; font-size: 11px !important; margin-bottom: 8px; }
.footer-logo { width: 40px; margin-bottom: 16px; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 22px clamp(24px, 5vw, 64px);
  border-top: 1px solid rgba(200,164,92,.08);
  font-size: 12px; color: var(--ink-dim); font-weight: 200;
}
.footer-credit a { color: var(--gold); }

/* ─────────── CHATBOT ─────────── */
.chat-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 950;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: var(--navy);
  box-shadow: 0 12px 34px rgba(200,164,92,.35);
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.chat-fab:hover { transform: scale(1.08) rotate(8deg); box-shadow: 0 16px 44px rgba(200,164,92,.5); }
.chat-fab-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--gold);
  animation: fabPulse 2.6s var(--ease-out) infinite;
}
@keyframes fabPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

.chat {
  position: fixed; bottom: 100px; right: 26px; z-index: 951;
  width: min(390px, calc(100vw - 40px));
  height: min(560px, calc(100vh - 140px));
  display: flex; flex-direction: column;
  background: rgba(10, 15, 30, .92);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(200,164,92,.22); border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(24px) scale(.96); pointer-events: none;
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-exp);
}
.chat.is-open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid rgba(200,164,92,.14);
}
.chat-head-id { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold)); color: var(--navy);
}
.chat-name { font-size: 14px; font-weight: 400; letter-spacing: .04em; }
.chat-status { font-size: 11px; color: var(--ink-dim); display: flex; align-items: center; gap: 6px; }
.chat-status i { width: 6px; height: 6px; border-radius: 50%; background: #7fc98f; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .4; } }
.chat-close { font-size: 13px; color: var(--ink-dim); padding: 6px; transition: color .3s; }
.chat-close:hover { color: var(--ink); }
.chat-body {
  flex: 1; overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin; scrollbar-color: rgba(200,164,92,.3) transparent;
}
.chat-msg {
  max-width: 82%; padding: 12px 16px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.65; font-weight: 200;
  animation: msgIn .5s var(--ease-exp);
}
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chat-msg.bot { align-self: flex-start; background: rgba(22,32,58,.8); border: 1px solid rgba(200,164,92,.14); border-bottom-left-radius: 4px; color: var(--ink); }
.chat-msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--gold-deep), var(--gold)); border-bottom-right-radius: 4px; color: var(--navy); font-weight: 400; }
.chat-msg.typing { display: flex; gap: 5px; padding: 16px 18px; }
.chat-msg.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: typingDot 1.2s infinite;
}
.chat-msg.typing i:nth-child(2) { animation-delay: .18s; }
.chat-msg.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typingDot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-suggest {
  display: flex; gap: 8px; padding: 0 18px 12px;
  flex-wrap: wrap;
}
.chat-chip {
  padding: 8px 14px; border: 1px solid rgba(200,164,92,.3); border-radius: 20px;
  font-size: 11.5px; letter-spacing: .04em; color: var(--gold-light);
  transition: all .3s;
  animation: msgIn .5s var(--ease-exp);
}
.chat-chip:hover { background: rgba(200,164,92,.12); border-color: var(--gold); }
.chat-form {
  display: flex; gap: 10px; padding: 14px 16px;
  border-top: 1px solid rgba(200,164,92,.14);
}
.chat-form input {
  flex: 1; background: rgba(22,32,58,.6); border: 1px solid rgba(200,164,92,.16);
  border-radius: 24px; padding: 11px 18px; color: var(--ink);
  font-family: var(--sans); font-size: 13px; font-weight: 300; outline: none;
  transition: border-color .3s;
}
.chat-form input:focus { border-color: var(--gold); }
.chat-form input::placeholder { color: var(--ink-dim); }
.chat-form button {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold)); color: var(--navy);
  transition: transform .35s var(--ease-out);
}
.chat-form button:hover { transform: scale(1.1); }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 34px;
    background: rgba(10,15,30,.97); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity .5s;
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 15px; }
  .nav-burger { display: flex; }
  .nav-burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .story { grid-template-columns: 1fr; }
  .story-media-frame { inset: 14px -14px -14px 14px; }
  .hero-hint { display: none; }
  .coll-preview { display: none; }
  .coll-item:hover .coll-name { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}