/* ============================================================
   KALIUM — Navbar + Hero
   ============================================================ */

:root {
  --navy-900: #060b1f;
  --navy-800: #0a1230;
  --navy-700: #0e1b45;
  --blue:     #2f5dff;
  --blue-2:   #4f7bff;
  --cyan:     #36d9ff;
  --violet:   #7b5cff;
  --white:    #ffffff;
  --muted:    #9fb0d4;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --maxw: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--navy-900);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   BACKGROUND FX
   ============================================================ */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -10%, #16235e 0%, transparent 55%),
    radial-gradient(100% 80% at 0% 0%, #0c1640 0%, transparent 50%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
}

.grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(120,150,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 80%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: float 14s ease-in-out infinite;
}
.orb--blue   { width: 520px; height: 520px; background: var(--blue);   top: -120px; right: -80px; }
.orb--cyan   { width: 360px; height: 360px; background: var(--cyan);   bottom: -120px; left: 35%; opacity: .25; animation-delay: -4s; }
.orb--violet { width: 420px; height: 420px; background: var(--violet); top: 30%; left: -140px; opacity: .35; animation-delay: -8s; }

.noise {
  position: absolute;
  inset: 0;
  opacity: .04;
  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='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-30px, 40px) scale(1.08); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(8, 14, 36, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(120,150,255,.12);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
}
.brand__mark {
  display: grid;
  place-items: center;
  color: var(--white);
  filter: drop-shadow(0 0 10px rgba(80,123,255,.6));
  animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.brand__name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  position: relative;
  padding: 9px 16px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 10px;
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px rgba(80,123,255,.8);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  font-size: .95rem;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn--sm { padding: 11px 20px; font-size: .88rem; }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #2348d6 100%);
  box-shadow: 0 8px 26px -8px rgba(47,93,255,.8), inset 0 1px 0 rgba(255,255,255,.25);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--ease);
}
.btn--primary:hover::before { left: 130%; }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(47,93,255,.95), inset 0 1px 0 rgba(255,255,255,.3);
}

.btn--ghost {
  color: #fff;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.35);
  transform: translateY(-2px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
}

.hero__content { padding-top: 90px; max-width: 620px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  margin-bottom: 26px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: #cdd9ff;
  background: rgba(80,123,255,.1);
  border: 1px solid rgba(80,123,255,.28);
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(54,217,255,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(54,217,255,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(54,217,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(54,217,255,0); }
}

.hero__title {
  font-family: "Anton", "Space Grotesk", sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: .96;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__title .grad {
  background: linear-gradient(100deg, var(--blue-2) 0%, var(--cyan) 60%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.hero__sub {
  margin: 26px 0 34px;
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

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

.hero__stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 46px;
}
.avatars { display: flex; }
.avatars span {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--navy-800);
  margin-left: -12px;
  background: linear-gradient(135deg, #2f5dff, #36d9ff);
  background-size: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #7b5cff, #2f5dff); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #36d9ff, #2f5dff); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #4f7bff, #7b5cff); }
.stats-text { display: flex; flex-direction: column; line-height: 1.35; }
.stats-text strong { font-size: 1.05rem; font-weight: 700; }
.stats-text span { font-size: .85rem; color: var(--muted); }

/* ---- Visual / player ---- */
.hero__visual {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-glow {
  position: absolute;
  width: 75%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,93,255,.55) 0%, rgba(54,217,255,.18) 45%, transparent 70%);
  filter: blur(20px);
  animation: float 10s ease-in-out infinite;
}
.visual-ring {
  position: absolute;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(120,150,255,.22);
  box-shadow: inset 0 0 80px rgba(80,123,255,.18);
  animation: spin 40s linear infinite;
}
.visual-ring::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(120,150,255,.16);
}
.player {
  position: relative;
  z-index: 2;
  width: 112%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.65));
  transition: transform .35s var(--ease);
  will-change: transform;
}

.kicker {
  position: absolute;
  z-index: 3;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: .35em;
  font-size: .72rem;
  color: rgba(205,217,255,.55);
  padding: 8px 14px;
  border: 1px solid rgba(120,150,255,.2);
  border-radius: 100px;
  background: rgba(10,18,48,.4);
  backdrop-filter: blur(6px);
}
.kicker--top    { top: 12%; right: 2%; }
.kicker--bottom { bottom: 14%; left: -2%; }

/* ---- Scroll hint ---- */
.scroll-hint {
  position: absolute;
  bottom: 28px; left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 20px; height: 100%;
  background: #fff;
  animation: scrollline 2.2s var(--ease) infinite;
}
@keyframes scrollline { 0% { left: -20px; } 100% { left: 60px; } }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: revealUp .9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
.hero__title .reveal { transform: translateY(40px); }
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  /* Hero immersif : la photo devient le fond du header, le fond noir
     de l'image se fond avec le thème sombre du site. */
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
    min-height: 100svh;
    background:
      linear-gradient(to bottom,
        var(--navy-900) 0%,
        rgba(6, 11, 31, .94) 14%,
        rgba(6, 11, 31, .55) 38%,
        rgba(6, 11, 31, .12) 62%,
        rgba(6, 11, 31, 0) 100%),
      url("images/main_picture.png") center bottom / cover no-repeat;
  }
  .hero__content {
    padding-top: 130px;
    padding-bottom: 52vh;      /* laisse le joueur apparaître sous le texte */
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .eyebrow, .hero__actions, .hero__stats { justify-content: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  /* l'ancien bloc visuel séparé (anneau + glow + photo en double) n'a
     plus lieu d'être : la photo est maintenant le fond du hero */
  .hero__visual { display: none; }
  .scroll-hint { display: none; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 6px;
    padding: 90px 24px 40px;
    background: rgba(8, 13, 33, .92);
    backdrop-filter: blur(22px);
    border-left: 1px solid rgba(120,150,255,.14);
    transform: translateX(110%);
    transition: transform .5s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 18px; font-size: 1rem; }
  .nav-links a.active::after { display: none; }

  .nav-cta .btn--primary { display: none; }
  .burger { display: flex; }
}

@media (max-width: 520px) {
  .nav-inner { padding: 0 18px; }
  .hero { padding: 0 18px; }
  .hero__content { padding-top: 120px; padding-bottom: 48vh; }
  .hero__sub { font-size: .98rem; }
  .btn { flex: 1; }
}

/* ---- Burger (hidden on desktop) ---- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 11px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
  z-index: 110;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SECTION COLLECTIONS — rupture chromatique (clair)
   ============================================================ */
.collections {
  --ink: #0b1228;
  --ink-soft: #5b6786;
  --line: #e2e6f0;
  position: relative;
  z-index: 2;
  margin-top: 0;                     /* le header occupe 100vh, le clair commence après */
  padding: 96px 0 110px;
  border-radius: 46px 46px 0 0;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 100% 0%, #e9edf8 0%, transparent 50%),
    radial-gradient(90% 70% at 0% 10%, #eef1f9 0%, transparent 45%),
    linear-gradient(180deg, #f4f6fb 0%, #eceff7 100%);
  box-shadow: 0 -30px 80px -30px rgba(0,0,0,.55);
  overflow: hidden;
}
/* fine ligne lumineuse sur la coupure */
.collections::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 240px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  box-shadow: 0 0 24px rgba(47,93,255,.6);
}
/* trame légère */
.collections::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11,18,40,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(120% 60% at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(120% 60% at 50% 0%, #000, transparent 70%);
  pointer-events: none;
}

.collections__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- En-tête ---- */
.col-head { text-align: center; max-width: 640px; margin: 0 auto 76px; }
.col-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blue);
}
.col-eyebrow i { width: 26px; height: 2px; background: var(--blue); border-radius: 2px; display: inline-block; }
.col-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  color: var(--ink);
}
.col-title__accent {
  position: relative;
  background: linear-gradient(100deg, var(--blue), #1f8fff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.col-lead {
  margin: 20px auto 0;
  max-width: 520px;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---- Bloc collection ---- */
.collection {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 64px;
  padding: 50px 0;
}
.collection + .collection { border-top: 1px solid var(--line); }
.collection--reverse .collection__gallery { order: 2; }

/* ---- Galerie ---- */
.collection__gallery { display: flex; flex-direction: column; gap: 16px; }
.gallery__main {
  position: relative;
  aspect-ratio: 1024 / 910;
  border-radius: 26px;
  overflow: hidden;
  background: #0c1533;                 /* aplat uni : le maillot blanc ressort */
  box-shadow:
    0 40px 80px -36px rgba(11,18,40,.55),
    inset 0 1px 0 rgba(255,255,255,.06);
}
.gallery__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .6s var(--ease), transform 1.2s var(--ease);
}
.gallery__img.is-active { opacity: 1; transform: scale(1); }
.gallery__main:hover .gallery__img.is-active { transform: scale(1.06); }

.collection__badge {
  position: absolute;
  z-index: 3;
  top: 18px; left: 18px;
  padding: 8px 15px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 100px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #2348d6);
  box-shadow: 0 10px 24px -10px rgba(47,93,255,.9);
  backdrop-filter: blur(4px);
}
.collection__badge--new { background: linear-gradient(135deg, #00b377, #00936a); box-shadow: 0 10px 24px -10px rgba(0,179,119,.8); }
.collection__badge--limited { background: linear-gradient(135deg, #b07a1f, #c9962f); box-shadow: 0 10px 24px -10px rgba(201,150,47,.8); }

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.thumb {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #0c1533;
  opacity: .55;
  transition: opacity .3s var(--ease), border-color .3s, transform .3s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: .85; transform: translateY(-3px); }
.thumb.is-active { opacity: 1; border-color: var(--blue); box-shadow: 0 8px 20px -8px rgba(47,93,255,.6); }
.thumb:focus-visible { outline: none; border-color: var(--cyan); }

/* ---- Infos ---- */
.collection__num {
  display: inline-block;
  margin-bottom: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
}
.collection__name {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: .005em;
  color: var(--ink);
  margin-bottom: 18px;
}
.collection__desc {
  max-width: 440px;
  font-size: 1.04rem;
  line-height: 1.66;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.collection__feats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.collection__feats li {
  padding: 9px 16px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: 0 4px 14px -8px rgba(11,18,40,.3);
}
.collection__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.collection__price { display: flex; flex-direction: column; line-height: 1.1; }
.collection__price span { font-size: .8rem; color: var(--ink-soft); }
.collection__price strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---- Toggle entre collections ---- */
.col-switch {
  position: relative;
  display: flex;
  width: fit-content;
  margin: 0 auto 52px;
  padding: 6px;
  gap: 4px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -16px rgba(11,18,40,.4);
}
.col-switch__pill {
  position: absolute;
  top: 6px; bottom: 6px; left: 6px;
  width: calc(50% - 6px);
  border-radius: 100px;
  background: linear-gradient(135deg, var(--blue), #2348d6);
  box-shadow: 0 8px 20px -8px rgba(47,93,255,.8);
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.col-switch.is-dark .col-switch__pill { background: linear-gradient(135deg, #1a1f2e, #0a0d16); }
.col-switch__btn {
  position: relative;
  z-index: 1;
  padding: 11px 26px;
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: none;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  transition: color .4s var(--ease);
  white-space: nowrap;
}
.col-switch__btn.is-active { color: #fff; }

/* ---- Slider ---- */
.col-slider { position: relative; }
.slider__viewport { overflow: hidden; border-radius: 24px; }
.slider__track {
  display: flex;
  will-change: transform;
  transition: transform .7s cubic-bezier(.65,.02,.25,1);
}
.slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 8px 2px;
  opacity: .25;
  transform: scale(.97);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.slide.is-active { opacity: 1; transform: scale(1); }
.slide .collection { padding: 0; }

/* collection noire : aplat uni CLAIR pour faire ressortir le maillot noir + accent doré */
.slide--dark .gallery__main { background: #edf0f6; }
.slide--dark .thumb { background: #edf0f6; }
.slide--dark .thumb.is-active { border-color: #c9962f; box-shadow: 0 8px 20px -8px rgba(201,150,47,.6); }
.slide--dark .collection__num { color: #b8860b; }

/* flèches */
.slider-arrow {
  position: absolute;
  top: 38%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px -14px rgba(11,18,40,.5);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.slider-arrow:hover { transform: scale(1.08); background: var(--blue); color: #fff; border-color: var(--blue); }
.slider-arrow:active { transform: scale(.96); }
.slider-arrow--prev { left: -22px; }
.slider-arrow--next { right: -22px; }
.slider-arrow:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* reveal */
.col-head, .col-switch, .col-slider {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
}
.col-switch { transition-delay: .08s; }
.col-slider { transition-delay: .16s; }
.is-visible.col-head, .is-visible.col-switch, .is-visible.col-slider {
  opacity: 1; transform: translateY(0);
}

@media (max-width: 900px) {
  .collections { margin-top: 0; padding: 72px 0 80px; border-radius: 34px 34px 0 0; }
  .col-head { margin-bottom: 52px; }
  .collection {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 46px 0;
    text-align: center;
  }
  .collection--reverse .collection__gallery { order: 0; }
  .collection__desc { margin-left: auto; margin-right: auto; }
  .collection__feats, .collection__foot { justify-content: center; }
  .gallery__main { max-width: 440px; margin: 0 auto; width: 100%; }
  .gallery__thumbs { max-width: 440px; margin: 0 auto; width: 100%; }
  .slider-arrow { width: 46px; height: 46px; top: auto; bottom: -8px; }
  .slider-arrow--prev { left: calc(50% - 58px); }
  .slider-arrow--next { right: calc(50% - 58px); }
  .col-slider { padding-bottom: 64px; }
}
@media (max-width: 460px) {
  .col-switch { width: 100%; }
  .col-switch__btn { flex: 1; padding: 11px 10px; }
  .collection__foot { flex-direction: column; align-items: stretch; gap: 16px; }
  .collection__foot .btn { width: 100%; }
}

/* ============================================================
   SECTION PERSONNALISATION — fond sombre + logo géant rotatif
   ============================================================ */
.perso {
  position: relative;
  z-index: 3;
  overflow: hidden;
  margin-top: -1px;
  padding: 120px 0 130px;
  border-radius: 46px 46px 0 0;
  color: #fff;
  background:
    radial-gradient(90% 70% at 50% 0%, #15205a 0%, transparent 55%),
    radial-gradient(80% 60% at 15% 100%, #0c1742 0%, transparent 50%),
    linear-gradient(180deg, #0a1130 0%, #05070f 100%);
  box-shadow: 0 -30px 80px -30px rgba(0,0,0,.6);
}
.perso::before {            /* trait lumineux sur la coupure */
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 240px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  box-shadow: 0 0 24px rgba(47,93,255,.6);
}

/* logo Kalium géant qui tourne */
.perso__logo-bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 0;
  pointer-events: none;
}
.perso__mark {
  width: clamp(420px, 64vw, 880px);
  height: auto;
  color: #5f86ff;
  opacity: .07;
  animation: spin 60s linear infinite;
}
.perso__halo {
  position: absolute;
  width: clamp(420px, 60vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,93,255,.28), transparent 65%);
  filter: blur(50px);
  animation: float 14s ease-in-out infinite;
}

.perso__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* en-tête */
.perso__head { text-align: center; max-width: 620px; margin: 0 auto 64px; }
.perso__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--cyan);
}
.perso__eyebrow i { width: 26px; height: 2px; background: var(--cyan); border-radius: 2px; display: inline-block; }
.perso__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -.015em;
}
.perso__title .grad {
  background: linear-gradient(100deg, var(--blue-2), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.perso__lead {
  margin: 20px auto 0;
  max-width: 540px;
  font-size: 1.06rem; line-height: 1.65;
  color: var(--muted);
}

/* grille des axes de personnalisation */
.perso__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.perso__feature {
  position: relative;
  padding: 30px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid rgba(120,150,255,.14);
  backdrop-filter: blur(8px);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s, background .4s;
}
.perso__feature:hover {
  transform: translateY(-6px);
  border-color: rgba(80,123,255,.5);
  box-shadow: 0 24px 50px -22px rgba(47,93,255,.45);
}
.pf-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  margin-bottom: 18px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(47,93,255,.22), rgba(54,217,255,.1));
  border: 1px solid rgba(80,123,255,.3);
  transition: transform .4s var(--ease), color .4s;
}
.perso__feature:hover .pf-icon { transform: scale(1.08) rotate(-4deg); color: #fff; }
.perso__feature h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.22rem; font-weight: 600;
  margin-bottom: 9px;
}
.perso__feature p { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* carte CTA dans la grille */
.perso__feature--cta {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  background: linear-gradient(150deg, rgba(47,93,255,.24), rgba(54,217,255,.08));
  border-color: rgba(80,123,255,.4);
}
.pf-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
  font-weight: 600; color: var(--cyan);
  transition: gap .3s var(--ease);
}
.pf-link span { transition: transform .3s var(--ease); }
.perso__feature--cta:hover .pf-link span { transform: translateX(5px); }

/* CTA principal */
.perso__cta { text-align: center; margin-top: 56px; }
.btn--lg { padding: 18px 34px; font-size: 1.02rem; border-radius: 14px; }
.perso__note { margin-top: 16px; font-size: .88rem; color: var(--muted); letter-spacing: .02em; }

/* reveal */
.perso__head, .perso__feature, .perso__cta {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
}
.perso__feature:nth-child(2) { transition-delay: .06s; }
.perso__feature:nth-child(3) { transition-delay: .12s; }
.perso__feature:nth-child(4) { transition-delay: .06s; }
.perso__feature:nth-child(5) { transition-delay: .12s; }
.perso__feature:nth-child(6) { transition-delay: .18s; }
.is-visible.perso__head, .is-visible.perso__feature, .is-visible.perso__cta {
  opacity: 1; transform: translateY(0);
}

@media (max-width: 900px) {
  .perso { padding: 84px 0 96px; border-radius: 34px 34px 0 0; }
  .perso__grid { grid-template-columns: repeat(2, 1fr); }
  .perso__head { margin-bottom: 48px; }
}
@media (max-width: 560px) {
  .perso__grid { grid-template-columns: 1fr; }
  .btn--lg { width: 100%; }
}

/* ============================================================
   SECTION CONTACT — retour au clair, formulaire design
   ============================================================ */
.contact {
  --ink: #0b1228;
  --ink-soft: #5b6786;
  --line: #e2e6f0;
  position: relative;
  z-index: 4;
  margin-top: -1px;
  padding: 110px 0 130px;
  border-radius: 46px 46px 0 0;
  color: var(--ink);
  background:
    radial-gradient(110% 80% at 100% 0%, #e9edf8 0%, transparent 52%),
    radial-gradient(90% 70% at 0% 8%, #eef1f9 0%, transparent 46%),
    linear-gradient(180deg, #f4f6fb 0%, #eceff7 100%);
  box-shadow: 0 -30px 80px -30px rgba(0,0,0,.5);
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 240px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  box-shadow: 0 0 24px rgba(47,93,255,.55);
}
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11,18,40,.045) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(120% 60% at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(120% 60% at 50% 0%, #000, transparent 70%);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.contact__head { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.contact__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--blue);
}
.contact__eyebrow i { width: 26px; height: 2px; background: var(--blue); border-radius: 2px; display: inline-block; }
.contact__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.04; letter-spacing: -.015em;
  color: var(--ink);
}
.contact__title .grad {
  background: linear-gradient(100deg, var(--blue), #1f8fff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact__lead {
  margin: 18px auto 0;
  max-width: 520px;
  font-size: 1.04rem; line-height: 1.65;
  color: var(--ink-soft);
}

.contact__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: stretch;
}

/* ---- Colonne infos ---- */
.contact__aside {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(165deg, #0c1533, #0a1228);
  color: #fff;
  box-shadow: 0 30px 70px -34px rgba(11,18,40,.7);
}
.contact__list { list-style: none; display: grid; gap: 22px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list .ci {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(80,123,255,.16);
  border: 1px solid rgba(80,123,255,.3);
}
.contact__list div { display: flex; flex-direction: column; line-height: 1.4; }
.contact__list strong { font-size: .8rem; color: #9fb0d4; font-weight: 500; }
.contact__list a, .contact__list span:not(.ci) { font-size: 1rem; font-weight: 600; color: #fff; transition: color .25s; }
.contact__list a:hover { color: var(--cyan); }

.contact__badge {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 28px;
  padding: 10px 16px;
  font-size: .84rem; font-weight: 500;
  border-radius: 100px;
  color: #cdf3e6;
  background: rgba(88,230,160,.1);
  border: 1px solid rgba(88,230,160,.3);
  align-self: flex-start;
}
.cb-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #58e6a0;
  box-shadow: 0 0 0 0 rgba(88,230,160,.6);
  animation: pulse 2s infinite;
}
.contact__socials { display: flex; gap: 10px; margin-top: auto; padding-top: 30px; }
.contact__socials a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: #9fb0d4;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(120,150,255,.18);
  transition: transform .3s var(--ease), color .3s, background .3s, border-color .3s;
}
.contact__socials a:hover {
  color: #fff; transform: translateY(-3px);
  background: rgba(80,123,255,.22); border-color: rgba(80,123,255,.55);
}

/* ---- Formulaire ---- */
.contact__form {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -34px rgba(11,18,40,.4);
}
.contact__form::before {            /* bordure dégradée animée */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: conic-gradient(from var(--a, 0deg), transparent 0deg, var(--blue) 70deg, var(--cyan) 120deg, transparent 200deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55;
  animation: borderspin 9s linear infinite;
  pointer-events: none;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes borderspin { to { --a: 360deg; } }
.cf-glow {
  position: absolute;
  top: -90px; left: 50%;
  width: 280px; height: 170px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(47,93,255,.18), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.cf-chips-label { font-size: .82rem; color: var(--ink-soft); margin-bottom: 12px; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.cf-chip {
  font: inherit; font-size: .86rem; font-weight: 500;
  padding: 9px 16px;
  border-radius: 100px;
  color: var(--ink-soft);
  background: #f3f5fa;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: color .3s var(--ease), background .3s, border-color .3s, transform .25s var(--ease);
}
.cf-chip:hover { color: var(--ink); transform: translateY(-2px); }
.cf-chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #2348d6);
  border-color: transparent;
  box-shadow: 0 8px 22px -8px rgba(47,93,255,.7);
}

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.cf-field { position: relative; margin-bottom: 14px; }
.cf-row .cf-field { margin-bottom: 0; }

.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  padding: 19px 16px 8px;
  font: inherit; font-size: .96rem;
  color: var(--ink);
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
.cf-field textarea { padding-top: 23px; resize: vertical; min-height: 110px; }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47,93,255,.12);
}
/* masque les flèches du input number */
.cf-field input[type="number"]::-webkit-outer-spin-button,
.cf-field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cf-field label {
  position: absolute;
  left: 16px; top: 16px;
  font-size: .96rem;
  color: var(--ink-soft);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .22s var(--ease), color .22s;
}
.cf-field input:focus + label,
.cf-field input:not(:placeholder-shown) + label,
.cf-field textarea:focus + label,
.cf-field textarea:not(:placeholder-shown) + label,
.cf-field .cf-label-static {
  transform: translateY(-9px) scale(.78);
  color: var(--blue);
}
.cf-field .cf-label-static { top: 14px; }

.cf-field select { color: var(--ink-soft); cursor: pointer; }
.cf-field select:valid { color: var(--ink); }
.cf-field select option { color: var(--ink); }
.cf-caret {
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
}

/* ---- honeypot anti-spam (caché) ---- */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- validation des champs ---- */
.cf-check {
  position: absolute;
  right: 14px; top: 16px;
  color: #1f8f5f;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .2s var(--ease), transform .25s var(--ease);
  pointer-events: none;
}
.cf-check--textarea { top: 14px; }
.cf-field.is-valid .cf-check { opacity: 1; transform: scale(1); }
.cf-field.is-valid input,
.cf-field.is-valid textarea,
.cf-field.is-valid select {
  border-color: rgba(31,143,95,.55);
  background: #f3fbf7;
}
.cf-field.is-invalid input,
.cf-field.is-invalid textarea,
.cf-field.is-invalid select {
  border-color: #d8473b;
  background: #fdf5f4;
}
.cf-field.is-invalid input:focus,
.cf-field.is-invalid textarea:focus,
.cf-field.is-invalid select:focus {
  box-shadow: 0 0 0 4px rgba(216,71,59,.12);
}
.cf-error {
  display: block;
  margin: 5px 4px 0;
  font-size: .78rem;
  line-height: 1.3;
  color: #d8473b;
  min-height: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .2s, max-height .2s;
}
.cf-field.is-invalid .cf-error { opacity: 1; max-height: 3em; }
.cf-row .cf-field.is-invalid { margin-bottom: 0; }

.cf-status.is-error { color: #d8473b; }

.contact__form .btn--block { width: 100%; margin-top: 6px; }
.cf-status {
  margin-top: 14px;
  font-size: .9rem; text-align: center; min-height: 1.2em;
  color: #1f8f5f; font-weight: 500;
}

/* reveal */
.contact__head, .contact__aside, .contact__form {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
}
.contact__form { transition-delay: .1s; }
.is-visible.contact__head, .is-visible.contact__aside, .is-visible.contact__form {
  opacity: 1; transform: translateY(0);
}

@media (max-width: 900px) {
  .contact { padding: 80px 0 96px; border-radius: 34px 34px 0 0; }
  .contact__grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .contact__form { padding: 26px 20px; }
  .contact__aside { padding: 28px 22px; }
  .cf-row { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  overflow: hidden;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 28px 32px;
  border-top: 1px solid rgba(120,150,255,.14);
}
.footer__glow {
  position: absolute;
  top: -140px; left: 50%;
  width: 600px; height: 300px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(47,93,255,.28), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.footer__top {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 56px;
  padding-bottom: 48px;
}

.footer__brand .brand { margin-bottom: 20px; }
.footer__tag {
  max-width: 340px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(120,150,255,.16);
  transition: transform .3s var(--ease), color .3s, background .3s, border-color .3s;
}
.socials a:hover {
  color: #fff;
  transform: translateY(-3px);
  background: rgba(80,123,255,.18);
  border-color: rgba(80,123,255,.5);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.footer__col a, .footer__addr {
  font-size: .94rem;
  color: var(--muted);
  transition: color .25s, transform .25s var(--ease);
}
.footer__col a { width: fit-content; }
.footer__col a:hover { color: #fff; transform: translateX(4px); }

.footer__bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(120,150,255,.1);
  font-size: .86rem;
  color: var(--muted);
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { color: var(--muted); transition: color .25s; }
.footer__legal a:hover { color: #fff; }

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer { padding: 56px 18px 28px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

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