/* ══════════════════════════════════════════════════════
   SSG Home — Landing page styles
   wildriftcore.com
   ══════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --home-cyan: #00c8ff;
  --home-gold: #c89b3c;
  --home-gold-dim: rgba(200,155,60,.18);
  --home-border: rgba(0,200,255,.14);
  --home-card-bg: rgba(10,18,38,.72);
  --home-section-gap: clamp(56px, 8vw, 96px);
  --home-max-w: 1240px;
  --home-px: clamp(16px, 4vw, 48px);
  /* Role accent colors */
  --role-top:     #e8734a;
  --role-jungle:  #4ade80;
  --role-mid:     #c084fc;
  --role-bot:     #60a5fa;
  --role-support: #fbbf24;
}

/* ── Base ── */
.home-page {
  background: #060b16;
  color: #e8eaf2;
  font-family: system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

/* ── Shared section layout ── */
.home-section {
  padding: var(--home-section-gap) var(--home-px);
  max-width: var(--home-max-w);
  margin: 0 auto;
}

/* ── Tier badge shared ── */
.tier-badge {
  display: inline-block;
  font-size: .65rem; font-weight: 800;
  padding: 2px 6px; border-radius: 5px;
  text-transform: uppercase; letter-spacing: .04em;
  line-height: 1.2;
}
.tier-badge--sp { background: rgba(239,68,68,.18); color: #f87171; border: 1px solid rgba(239,68,68,.3); }
.tier-badge--s  { background: rgba(251,191,36,.14); color: #fbbf24; border: 1px solid rgba(251,191,36,.28); }
.tier-badge--ap { background: rgba(0,200,255,.14); color: var(--home-cyan); border: 1px solid var(--home-border); }
.tier-badge--a  { background: rgba(139,92,246,.14); color: #a78bfa; border: 1px solid rgba(139,92,246,.3); }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.home-hero {
  --home-hero-bg-opacity: 1;
  --home-hero-bg-scale: 1;
  --home-hero-bg-pos-x: 50%;
  --home-hero-bg-pos-y: 50%;
  --home-hero-light-x: 60%;
  --home-hero-light-y: 30%;
  --home-hero-light-size: 51%;
  --home-hero-light-opacity: 0;
  --home-hero-overlay-left: 0;
  --home-hero-overlay-mid: 0;
  --home-hero-overlay-right: 0;
  --home-hero-overlay-bottom: .52;
  --home-hero-overlay-bottom-stop: 26%;
  position: relative;
  z-index: 1;
  min-height: clamp(580px, 75vh, 820px);
  display: flex; align-items: center;
  overflow: visible;
  padding: 0 var(--home-px);
  /* Space for fixed header */
  padding-top: clamp(96px, 12vh, 140px);
  padding-bottom: clamp(48px, 6vh, 80px);
  background-color: #060b16;
}

.home-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--home-hero-bg-pos-x) var(--home-hero-bg-pos-y);
  display: block;
  opacity: var(--home-hero-bg-opacity);
  transform: scale(var(--home-hero-bg-scale));
  transform-origin: center center;
  z-index: 0;
}

.home-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(
      circle at var(--home-hero-light-x) var(--home-hero-light-y),
      rgb(120 195 255 / var(--home-hero-light-opacity)) 0%,
      rgb(120 195 255 / 0) var(--home-hero-light-size)
    ),
    linear-gradient(
      90deg,
      rgba(6,11,22,var(--home-hero-overlay-left)) 0%,
      rgba(6,11,22,var(--home-hero-overlay-mid)) 50%,
      rgba(6,11,22,var(--home-hero-overlay-right)) 100%
    ),
    linear-gradient(
      0deg,
      rgba(6,11,22,var(--home-hero-overlay-bottom)) 0%,
      transparent var(--home-hero-overlay-bottom-stop)
    );
}

.home-hero__content {
  position: relative; z-index: 2;
  isolation: isolate;
  max-width: var(--home-max-w);
  width: 100%; margin: 0 auto;
  margin-top: 28px;
}

.home-hero__content::before {
  content: '';
  position: absolute;
  left: -24px;
  top: -28px;
  width: min(760px, calc(100% + 32px));
  height: calc(100% + 88px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 22%, rgba(8,14,24,.74) 0%, rgba(8,14,24,.52) 42%, rgba(8,14,24,0) 82%),
    linear-gradient(90deg, rgba(8,14,24,.68) 0%, rgba(8,14,24,.38) 58%, rgba(8,14,24,0) 100%);
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}

.home-hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 16px;
  max-width: 680px;
}

.home-hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--home-cyan), #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero__sub {
  font-size: clamp(.9rem, 1.6vw, 1.05rem);
  color: rgba(255,255,255,.96);
  text-shadow:
    0 2px 12px rgba(0,0,0,.52),
    0 0 24px rgba(0,0,0,.18),
    0 0 20px rgba(0,190,255,.12);
  max-width: 560px;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* ── Search bar ── */
.home-hero__search {
  width: 100%;
  max-width: 560px;
  margin-bottom: 28px;
}

.home-search__wrap {
  position: relative;
}

.home-search__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.35);
  pointer-events: none;
  z-index: 1;
}

.home-search__input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  background: rgba(10,18,38,.88);
  border: 1.5px solid rgba(0,200,255,.28);
  border-radius: 14px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  backdrop-filter: blur(8px);
  box-sizing: border-box;
}
.home-search__input::placeholder { color: rgba(255,255,255,.32); }
.home-search__input:focus {
  border-color: rgba(0,200,255,.55);
  box-shadow: 0 0 0 3px rgba(0,200,255,.08), 0 4px 24px rgba(0,200,255,.12);
}
.home-search__input::-webkit-search-cancel-button { display: none; }

.home-search__results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: rgba(8,14,30,.97);
  border: 1px solid rgba(0,200,255,.22);
  border-radius: 14px;
  overflow: hidden;
  z-index: 200;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0,0,0,.65);
}

.home-search__result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
  transition: background 100ms ease;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.home-search__result:last-child { border-bottom: none; }
.home-search__result:hover,
.home-search__result.is-active {
  background: rgba(0,200,255,.1);
  color: #fff;
}
.home-search__result img {
  width: 36px; height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,.06);
}

@keyframes parcours-ring-rotate {
  to { transform: rotate(360deg); }
}

.home-champions {
  padding: var(--home-section-gap) var(--home-px);
  border-top: 1px solid rgba(0,200,255,.22);
  border-bottom: 1px solid rgba(0,200,255,.12);
  background:
    radial-gradient(ellipse 140% 60% at 50% 0, rgba(0,200,255,.13) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 15% 100%, rgba(0,200,255,.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 60%, rgba(0,180,230,.05) 0%, transparent 45%),
    linear-gradient(180deg, rgba(0,200,255,.04) 0%, rgba(0,10,28,.0) 100%);
}

.home-section--builds .home-section__title,
#buildsHeading {
  background: linear-gradient(90deg, var(--home-gold), #f0d080);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  border-left-color: var(--home-gold);
}

/* ══════════════════════════════════════════
   DRAFT CTA BANNER
   ══════════════════════════════════════════ */
.home-draft {
  padding: 0 var(--home-px) var(--home-section-gap);
}

/* ══════════════════════════════════���═══════
   NEWSLETTER
   ══════════════════════════════════════════ */
.home-newsletter {
  background:
    radial-gradient(circle at top left, rgba(0,200,255,.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255,184,0,.12), transparent 34%),
    rgba(0,0,0,.25);
  border-top: 1px solid var(--home-border);
}

.home-newsletter__inner {
  max-width: var(--home-max-w);
  margin: 0 auto;
  padding: 28px 0 0;
}

.home-newsletter__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0,200,255,.05), transparent 28%),
    linear-gradient(225deg, rgba(255,184,0,.05), transparent 34%),
    #050608;
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}

.home-newsletter__panel {
  display: flex;
  align-items: center;
  padding: 34px 34px 30px;
  min-width: 0;
}

.home-newsletter__content {
  width: min(100%, 560px);
}

.home-newsletter__eyebrow {
  margin: 0 0 14px;
  color: rgba(120,224,255,.88);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.home-newsletter__title {
  margin: 0 0 12px;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  color: #fbfcff;
  text-wrap: balance;
}

.home-newsletter__title-core {
  display: inline-block;
  padding: 0 .18em;
  border-radius: .42em;
  background: linear-gradient(135deg, rgba(0,200,255,.26), rgba(255,184,0,.22));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 10px 24px rgba(0,0,0,.15);
}

.home-newsletter__sub {
  margin: 0 0 26px;
  font-size: .95rem;
  line-height: 1.65;
  color: rgba(255,255,255,.68);
  max-width: 52ch;
}

.home-newsletter__form-wrap {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,200,255,.12), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(255,184,0,.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    #0a0f18;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.home-newsletter__form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-newsletter__profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.home-newsletter__form {
  display: flex;
  gap: 10px;
  min-width: 0;
}

.home-rank-select {
  position: relative;
}

.home-rank-select__trigger {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.home-rank-select__trigger-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-rank-select__trigger-icon,
.home-rank-select__option-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.home-rank-select__trigger-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-rank-select__trigger-label {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(120,224,255,.8);
}

.home-rank-select__trigger-value {
  font-size: .92rem;
  font-weight: 700;
  color: rgba(255,255,255,.96);
}

.home-rank-select__trigger-chevron {
  color: rgba(255,255,255,.5);
  flex-shrink: 0;
}

.home-rank-select__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10;
  display: none;
  max-height: 280px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(8,12,20,.98);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.home-rank-select.is-open .home-rank-select__menu {
  display: grid;
  gap: 6px;
}

.home-rank-select__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.92);
  cursor: pointer;
  text-align: left;
}

.home-rank-select__option:hover,
.home-rank-select__option.is-selected {
  border-color: rgba(120,224,255,.26);
  background: rgba(120,224,255,.08);
}

.home-rank-select__option-label {
  font-size: .9rem;
  font-weight: 600;
}

.home-newsletter__input {
  flex: 1 1 auto;
  height: 48px;
  padding: 0 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: #fff;
  font-size: .92rem;
  outline: none;
  transition: border-color 140ms ease, background 140ms ease;
  min-width: 0;
}
.home-newsletter__input::placeholder { color: rgba(255,255,255,.3); }
.home-newsletter__input:focus {
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.05);
}

.home-newsletter__submit {
  height: 48px;
  padding: 0 24px;
  border: none;
  border-radius: 10px;
  background: #f4f5f7;
  color: #07090d;
  font-size: .92rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 120ms ease, opacity 160ms ease;
}
.home-newsletter__submit:hover {
  opacity: .94;
  transform: translateY(-1px);
}
.home-newsletter__submit:disabled { opacity: .5; cursor: not-allowed; }

.home-newsletter__divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.28);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.home-newsletter__divider::before,
.home-newsletter__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.08);
}

.home-newsletter__google {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  color: rgba(255,255,255,.92);
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}
.home-newsletter__google:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.26);
}
.home-newsletter__google:disabled { opacity: .5; cursor: not-allowed; }
.home-newsletter__google svg { flex-shrink: 0; }

.home-newsletter__status {
  margin-top: 10px;
  min-height: 20px;
  font-size: .8rem;
}
.home-newsletter__status--ok { color: #34d399; }
.home-newsletter__status--err { color: #f87171; }

.home-newsletter__legal {
  margin-top: 6px;
  font-size: .7rem;
  line-height: 1.5;
  color: rgba(255,255,255,.26);
}

.home-newsletter__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-top: 18px;
}

.home-newsletter__benefit {
  padding: 14px 14px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}

.home-newsletter__benefit-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.home-newsletter__benefit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0,200,255,.12);
  color: rgba(134,236,255,.92);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.home-newsletter__benefit--future .home-newsletter__benefit-badge {
  background: rgba(255,184,0,.12);
  color: rgba(255,224,153,.9);
}

.home-newsletter__benefit-title {
  margin: 0;
  font-size: .92rem;
  font-weight: 800;
  color: #ffffff;
}

.home-newsletter__benefit-text {
  margin: 0;
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(205,228,255,.72);
}

.home-newsletter__benefit:nth-child(1) .home-newsletter__benefit-title {
  color: rgba(134,236,255,.98);
}

.home-newsletter__benefit:nth-child(2) .home-newsletter__benefit-title {
  color: rgba(255,224,153,.98);
}

.home-newsletter__benefit:nth-child(3) .home-newsletter__benefit-title {
  color: rgba(255,255,255,.98);
}

.home-newsletter__benefit:nth-child(4) .home-newsletter__benefit-title {
  color: rgba(255,184,107,.98);
}

.home-newsletter__media {
  position: relative;
  min-height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,200,255,.12), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(255,184,0,.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    #0a0f18;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 28px;
}

.home-newsletter__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,6,8,.28), transparent 22%, transparent);
  pointer-events: none;
}

.home-newsletter__media-brand {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.home-newsletter__orbital-stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-inline: auto;
  justify-items: center;
}

.home-newsletter__orbital-fx {
  position: absolute;
  inset: 0;
  animation: home-newsletter-fx-hue 4s linear infinite;
}

.home-newsletter__orbital-stage::after {
  content: '';
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,200,255,.14) 0%, rgba(91,200,255,.08) 48%, transparent 72%);
  mix-blend-mode: screen;
  opacity: .55;
  pointer-events: none;
  z-index: 3;
  animation: home-newsletter-fx-hue 4s linear infinite;
}

.home-newsletter__orbital-halo {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,200,255,.38) 0%, transparent 62%);
  filter: blur(22px);
}

.home-newsletter__orbital-ring {
  position: absolute;
  inset: 10%;
  border: 1px solid #5bc8ff;
  border-radius: 50%;
  opacity: .28;
  animation: parcours-ring-rotate 28s linear infinite;
  will-change: transform;
}

.home-newsletter__orbital-ring::before,
.home-newsletter__orbital-ring::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5bc8ff;
  box-shadow: 0 0 12px #5bc8ff;
}

.home-newsletter__orbital-ring::before {
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
}

.home-newsletter__orbital-ring::after {
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
}

.home-newsletter__orbital-ring--inner {
  inset: 22%;
  opacity: .4;
  border-style: dashed;
  border-color: rgba(255,255,255,.28);
  animation: parcours-ring-rotate 45s linear infinite reverse;
}

.home-newsletter__orbital-ring--inner::before,
.home-newsletter__orbital-ring--inner::after {
  display: none;
}

@keyframes home-newsletter-fx-hue {
  0%,
  100% { filter: hue-rotate(0deg); }
  33% { filter: hue-rotate(72deg); }
  66% { filter: hue-rotate(145deg); }
}

.home-newsletter__media-image {
  display: block;
  width: min(100%, 500px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  justify-self: center;
  align-self: center;
  margin-inline: auto;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.35));
}

.home-newsletter__media .home-newsletter__form-wrap {
  width: min(100%, 420px);
  margin: auto;
  align-self: center;
}

@media (max-width: 980px) {
  .home-newsletter__shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-newsletter__media {
    min-height: 240px;
    order: -1;
  }

  .home-newsletter__media::after {
    background: linear-gradient(180deg, rgba(5,6,8,.2), transparent 25%, transparent);
  }

  .home-newsletter__media .home-newsletter__form-wrap {
    width: min(100%, 460px);
  }
}

@media (max-width: 640px) {
  .home-newsletter__inner {
    padding: calc(var(--home-section-gap) * .82) var(--home-px);
  }

  .home-newsletter__shell {
    gap: 0;
  }

  .home-newsletter__panel {
    padding: 22px 18px 12px;
  }

  .home-newsletter__title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .home-newsletter__benefits {
    grid-template-columns: 1fr;
  }

  .home-newsletter__benefit {
    padding: 13px 13px 12px;
  }

  .home-newsletter__form {
    flex-direction: column;
  }

  .home-newsletter__submit {
    width: 100%;
  }

  .home-newsletter__media {
    min-height: 0;
    order: 0;
    padding: 4px 18px 22px;
    justify-content: flex-start;
    gap: 14px;
    background: transparent;
  }

  .home-newsletter__media::after {
    display: none;
  }

  .home-newsletter__media-brand {
    width: auto;
  }

  .home-newsletter__orbital-stage {
    width: 120px;
    max-width: 120px;
  }

  .home-newsletter__orbital-halo {
    inset: 30%;
    filter: blur(10px);
  }

  .home-newsletter__orbital-ring {
    inset: 22%;
  }

  .home-newsletter__orbital-ring--inner {
    inset: 34%;
  }

  .home-newsletter__media .home-newsletter__form-wrap {
    width: 100%;
    margin: 0;
  }

  .home-newsletter__media-image {
    width: 82px;
    max-width: 82px;
  }

}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.home-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 40px var(--home-px, clamp(20px, 4vw, 48px)) 24px;
}

.home-footer__inner {
  max-width: var(--home-max-w, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(120px, auto));
  gap: 40px 32px;
  align-items: start;
}

.home-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.home-footer__logo {
  display: block;
  height: clamp(28px, 6vw, 120px);
  width: auto;
}

.home-footer__brand-desc {
  font-size: .78rem; color: rgba(255,255,255,.3); max-width: 280px; line-height: 1.6;
}

.home-footer__col { display: flex; flex-direction: column; gap: 10px; }
.home-footer__col--info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  align-content: start;
}
.home-footer__col--info::before,
.home-footer__col--info .home-footer__col-title { grid-column: 1 / -1; }
.home-footer__col--explore,
.home-footer__col--tools,
.home-footer__col--info,
.home-footer__col--social {
  position: relative;
  padding: 12px 14px 14px;
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
}

.home-footer__col--explore::before,
.home-footer__col--tools::before,
.home-footer__col--info::before,
.home-footer__col--social::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 14px;
  right: 14px;
  height: 1px;
  border-radius: 999px;
}

.home-footer__col--explore::before { background: linear-gradient(90deg, rgba(66,183,255,.9), rgba(66,183,255,0)); }
.home-footer__col--tools::before { background: linear-gradient(90deg, rgba(245,158,11,.88), rgba(245,158,11,0)); }
.home-footer__col--info::before { background: linear-gradient(90deg, rgba(255,255,255,.42), rgba(255,255,255,0)); }
.home-footer__col--social::before { background: linear-gradient(90deg, rgba(244,114,182,.85), rgba(168,85,247,0)); }

.home-footer__col--social { gap: 14px; }

.home-footer__col-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

.home-footer__link {
  font-size: .8rem; color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color 120ms ease;
}
.home-footer__link:hover { color: rgba(255,255,255,.8); }

.home-footer__social-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.home-footer__social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.home-footer__social-title {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.24);
}

.home-footer__col--explore .home-footer__col-title { color: rgba(66,183,255,.78); }
.home-footer__col--tools .home-footer__col-title { color: rgba(245,158,11,.82); }
.home-footer__col--info .home-footer__col-title { color: rgba(255,255,255,.52); }
.home-footer__col--social .home-footer__col-title { color: rgba(236,72,153,.78); }

.home-footer__col--explore .home-footer__link:hover { color: rgba(123,211,255,.96); }
.home-footer__col--tools .home-footer__link:hover { color: rgba(253,186,116,.98); }
.home-footer__col--info .home-footer__link:hover { color: rgba(255,255,255,.92); }

.footer-social-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition:
    color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-social-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  display: inline-block;
  background-color: rgba(255,255,255,.92);
  -webkit-mask-image: var(--social-icon);
  mask-image: var(--social-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0.78;
  filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  transition:
    background-color 180ms ease,
    opacity 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.footer-social-link--facebook .footer-social-icon {
  background-color: #1877F2;
}

.footer-social-link--x .footer-social-icon {
  background-color: #FFFFFF;
}

.footer-social-link--instagram .footer-social-icon {
  background-color: #E4405F;
}

.footer-social-link--tiktok .footer-social-icon {
  background-color: #FFFFFF;
  filter: drop-shadow(-1px 0 0 rgba(37, 244, 238, .72)) drop-shadow(1px 0 0 rgba(254, 44, 85, .72));
}

.footer-social-link--youtube .footer-social-icon {
  background-color: #FF0000;
}

.footer-social-link:hover .footer-social-icon,
.footer-social-link:focus-visible .footer-social-icon {
  opacity: 1;
  transform: scale(1.08);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.22));
}

.footer-social-link--facebook:hover .footer-social-icon,
.footer-social-link--facebook:focus-visible .footer-social-icon {
  filter: drop-shadow(0 0 8px rgba(24, 119, 242, .38));
}

.footer-social-link--instagram:hover .footer-social-icon,
.footer-social-link--instagram:focus-visible .footer-social-icon {
  filter: drop-shadow(0 0 8px rgba(228, 64, 95, .34));
}

.footer-social-link--youtube:hover .footer-social-icon,
.footer-social-link--youtube:focus-visible .footer-social-icon {
  filter: drop-shadow(0 0 8px rgba(255, 0, 0, .32));
}

.footer-social-link--tiktok:hover .footer-social-icon,
.footer-social-link--tiktok:focus-visible .footer-social-icon {
  filter:
    drop-shadow(-1px 0 0 rgba(37, 244, 238, .92))
    drop-shadow(1px 0 0 rgba(254, 44, 85, .92))
    drop-shadow(0 0 8px rgba(255,255,255,.18));
}

.home-footer__bottom {
  max-width: var(--home-max-w, 1280px);
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .72rem; color: rgba(255,255,255,.2);
}

.home-footer__note {
  max-width: var(--home-max-w, 1280px);
  margin: 16px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.04);
  font-size: .68rem;
  line-height: 1.6;
  color: rgba(255,255,255,.22);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 900px) {

  .home-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .home-footer__brand {
    display: none;
  }

  .home-footer__social-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {

  .home-hero__bg {
    background-size: cover;
    background-position: center center;
  }

  .home-hero {
    min-height: clamp(560px, 80vh, 820px);
  }

  .home-hero__search,
  .home-hero__stats { max-width: 100%; }
}

@media (max-width: 600px) {

  .home-hero__title { font-size: clamp(1.7rem, 7vw, 2.4rem); }

  .home-footer__inner {
    grid-template-columns: 1fr;
  }

  .home-footer__col--explore,
  .home-footer__col--tools,
  .home-footer__col--info,
  .home-footer__col--social {
    padding: 12px;
  }

}

/* ══════════════════════════════════════════
   HOME PAGE — HEADER OVERRIDES
   ══════════════════════════════════════════ */

/* Home — overrides nav (ajuste ici pour la home uniquement) */
@media (max-width: 900px) {
  /* Masque le bouton draft dans la nav de la home (draft accessible via hero CTA) */
  .home-page .header-nexus .nav-actions .nav-btn--draft {
    display: none;
  }
}

/* ══════════════════════════════════════════
   HOME VITRINE (2026-10-13 — docs/second-brain/sessions/2026-10-13-home-vitrine.md)
   Une « ligne de jeu » relie sept stations, chacune avec son identité : héros (recherche, portes,
   figure du n° 1), 01 Méta (podium), 02 Draft (plateau qui se joue en boucle), 03 Coach (conversation
   Nexus), 04 Poche (téléphone + notifications), 05 Semaine (mouvements réels), 06 Toi (compte).
   Langage commun : Chakra Petch pour les titres, plaques à coins chanfreinés (--hv-cut), rail + nœud
   de station, un accent par station. Mouvement : transform/opacity seulement, boucles seulement
   sous `.is-live` (IntersectionObserver), scroll-driven sous @supports, rien sous reduced-motion.
   Sans JS (`.hl-anim` absent) : tout est visible à l'état final.
   ══════════════════════════════════════════ */
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/chakra-petch/chakra-petch-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/chakra-petch/chakra-petch-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/chakra-petch/chakra-petch-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/chakra-petch/chakra-petch-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.home-page {
  --hv-display: 'Chakra Petch', 'Barlow', system-ui, sans-serif;
  --hv-ink: #eef2ff; --hv-mute: #9ea8c7; --hv-bg: #060b16;
  --hv-cyan: #42b7ff; --hv-gold: #d4b171; --hv-red: #ff6b6b; --hv-violet: #9b8cff; --hv-mint: #66d39e; --hv-orange: #ff9f43;
  --hv-cut: 14px;
  --hv-plate: polygon(var(--hv-cut) 0, 100% 0, 100% calc(100% - var(--hv-cut)), calc(100% - var(--hv-cut)) 100%, 0 100%, 0 var(--hv-cut));
  --hv-ease: cubic-bezier(.2, .7, .2, 1);
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
}
.hl-hero .home-hero__content { margin-top: 0; }
.hl-hero > picture { position: absolute; inset: 0; overflow: hidden; }
.hv-figure picture { display: block; }

/* ── Langage commun ── */
.hl-wrap { position: relative; max-width: var(--home-max-w); margin: 0 auto; padding: 0 var(--home-px); }
.hv-tier, .hv-draft, .hv-nexus, .hv-app, .hv-week { padding: 0 0 clamp(44px, 6vw, 80px); }
.hv-title { margin: 0 0 8px; font-family: var(--hv-display); font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.hv-title em { font-style: normal; color: var(--hv-cyan); }
.hv-head { margin-bottom: 16px; }
.hv-head--row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.hv-meta { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .78rem; color: var(--hv-mute); }
.hv-eyebrow { margin: 0 0 8px; font-family: var(--hv-display); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--hv-gold); }
.hv-eyebrow--violet { color: var(--hv-violet); }
.hv-eyebrow--mint { color: var(--hv-mint); }
.hv-text { max-width: 480px; margin: 0; font-size: 1rem; line-height: 1.6; color: #d7ddef; }
.hl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; }
.hv-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; overflow: hidden;
  clip-path: var(--hv-plate); --hv-cut: 10px;
  font-family: var(--hv-display); font-size: .86rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: #05060d;
  background: var(--hv-cyan); transition: transform 160ms var(--hv-ease), filter 160ms ease;
}
.hv-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); }
.hv-btn--gold { background: linear-gradient(90deg, #c89b3c, #e6c88f); }
.hv-btn--blue { background: linear-gradient(90deg, #42b7ff, #7dd4ff); }
.hv-btn--violet { background: linear-gradient(90deg, #8f7dff, #b9adff); }
.hv-btn--ghost { color: #d7ddef; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.hv-free { font-size: .8rem; color: var(--hv-mute); }
.hv-link-dashed { display: inline-block; margin-top: 14px; font-size: .82rem; text-decoration: none; color: var(--hv-gold); border-bottom: 1px dashed rgba(212,177,113,.45); }

/* Station : rail qui se dessine, nœud, numéro, libellé. Un trait continu court derrière, sur grand écran. */
.hv-station { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding-top: 48px; --acc: var(--hv-cyan); }
.hv-station__rail { position: absolute; left: 17px; top: 0; width: 2px; height: 36px; background: linear-gradient(180deg, transparent, var(--acc)); transform-origin: top; }
.hv-station__node { position: relative; width: 36px; height: 36px; flex: 0 0 auto; border: 2px solid var(--acc); border-radius: 50%; box-shadow: 0 0 22px -4px var(--acc); }
.hv-station__node::after { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: var(--acc); }
.hv-station__n { font-family: var(--hv-display); font-size: 1.05rem; font-weight: 700; letter-spacing: .1em; color: var(--acc); }
.hv-station__label { font-family: var(--hv-display); font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--hv-mute); }
@media (min-width: 900px) {
  .hv-tier .hl-wrap::before, .hv-draft .hl-wrap::before, .hv-nexus .hl-wrap::before, .hv-app .hl-wrap::before, .hv-week .hl-wrap::before, .hv-account-head::before {
    content: ''; position: absolute; left: calc(var(--home-px) + 17px); top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.045); pointer-events: none;
  }
}

/* ══ HÉROS ══ */
.hv-hero { --home-hero-overlay-left: .78; --home-hero-overlay-mid: .34; --home-hero-overlay-right: .1; --home-hero-overlay-bottom: .9; --home-hero-overlay-bottom-stop: 40%; isolation: isolate; }
.hv-hero .home-hero__title { font-family: var(--hv-display); font-size: clamp(1.9rem, 4.6vw, 3.3rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
.hv-hero .home-hero__title em { background: linear-gradient(90deg, #7dd4ff, var(--hv-cyan) 60%, #c9ecff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hl-hero__sub { margin-bottom: 18px; }
.hv-hero .home-hero__search { margin-bottom: 16px; }
.hv-hero__grid {
  position: absolute; left: 0; right: 0; bottom: -40px; height: 46%; z-index: 1; pointer-events: none; opacity: .5;
  background:
    repeating-linear-gradient(90deg, rgba(66,183,255,.16) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(66,183,255,.12) 0 1px, transparent 1px 40px);
  transform: perspective(700px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%, #000); mask-image: linear-gradient(180deg, transparent, #000 55%, #000);
}
.hv-hero__wm {
  position: absolute; right: 0; top: 56px; z-index: 1; max-width: 100%; overflow: hidden; pointer-events: none; user-select: none; text-align: right;
  font-family: var(--hv-display); font-size: clamp(7rem, 24vw, 22rem); font-weight: 700; line-height: .85; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(125,212,255,.16);
}
.hv-figure { position: absolute; right: clamp(16px, 5vw, 90px); bottom: 0; z-index: 1; margin: 0; display: none; pointer-events: none; }
.hv-figure img { display: block; height: clamp(360px, 46vw, 540px); width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)) drop-shadow(0 0 40px rgba(66,183,255,.18)); }
.hv-figure figcaption {
  position: absolute; left: -24px; bottom: 56px; display: grid; gap: 2px; padding: 10px 14px; clip-path: var(--hv-plate); --hv-cut: 10px;
  background: rgba(8,13,28,.92); box-shadow: inset 0 0 0 1px rgba(212,177,113,.45);
}
.hv-figure figcaption span { font-family: var(--hv-display); font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--hv-gold); }
.hv-figure figcaption b { font-family: var(--hv-display); font-size: 1.1rem; color: #fff; }
.hv-figure figcaption i { font-style: normal; font-size: .76rem; color: var(--hv-mute); }
@media (min-width: 1024px) { .hv-figure { display: block; } .hv-hero .home-hero__content { padding-right: clamp(280px, 32vw, 420px); } }
.hl-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 12px; clip-path: var(--hv-plate); --hv-cut: 8px; font-family: var(--hv-display); font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: #bdf5d6; background: rgba(102,211,158,.12); box-shadow: inset 0 0 0 1px rgba(102,211,158,.35); }
.hl-badge__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #66d39e; flex: 0 0 auto; }
.hl-badge__dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: hl-ping 2.4s ease-out infinite; }
.home-search__scan { position: absolute; top: 2px; bottom: 2px; left: 2px; width: 34%; border-radius: 12px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, rgba(66,183,255,.35), transparent); }
.hv-hero .home-search__input { font-family: inherit; }

.hv-quick { margin: 0 0 16px; }
.hv-quick__label { margin: 0 0 8px; font-family: var(--hv-display); font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hv-quick__picks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 620px; }
.hv-pick {
  --role-c: #9ea8c7; position: relative; display: grid; justify-items: center; gap: 3px; min-width: 0; padding: 10px 6px 8px;
  clip-path: var(--hv-plate); --hv-cut: 10px; text-decoration: none; text-align: center; color: var(--hv-ink); font-size: .74rem; font-weight: 700;
  background: rgba(10,18,38,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), inset 3px 0 0 var(--role-c);
  transition: transform 160ms var(--hv-ease), box-shadow 160ms ease;
}
.hv-pick[data-role="TOP"] { --role-c: var(--role-top); } .hv-pick[data-role="JUNGLE"] { --role-c: var(--role-jungle); } .hv-pick[data-role="MID"] { --role-c: var(--role-mid); } .hv-pick[data-role="DRAGON"] { --role-c: var(--role-bot); } .hv-pick[data-role="SUPPORT"] { --role-c: var(--role-support); }
.hv-pick img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; transition: transform 200ms var(--hv-ease); }
.hv-pick span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-pick small { font-size: .56rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--role-c); }
.hv-pick b { font-family: var(--hv-display); font-size: .72rem; color: var(--hv-mint); }

.hv-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 620px; margin: 0 0 18px; }
.hv-door {
  --c: var(--hv-gold); position: relative; display: grid; align-content: start; gap: 3px; padding: 14px 14px 12px; overflow: hidden;
  clip-path: var(--hv-plate); --hv-cut: 12px; text-decoration: none; color: var(--hv-ink);
  background: linear-gradient(180deg, rgba(14,22,44,.92), rgba(8,13,28,.94)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 2px 0 var(--c);
  transition: transform 180ms var(--hv-ease), box-shadow 180ms ease;
}
.hv-door--draft { --c: var(--hv-cyan); } .hv-door--counters { --c: var(--hv-red); }
.hv-door svg { color: var(--c); margin-bottom: 4px; }
.hv-door strong { font-family: var(--hv-display); font-size: 1.02rem; font-weight: 700; }
.hv-door span { font-size: .74rem; line-height: 1.35; color: var(--hv-mute); }
.hv-door i { position: absolute; right: 12px; top: 12px; font-style: normal; font-family: var(--hv-display); color: var(--c); opacity: .6; transition: transform 180ms var(--hv-ease), opacity 180ms ease; }
.hv-door::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%); transform: translateX(-130%); }
.hl-counts { display: flex; gap: 24px; margin: 0; }
.hl-counts div { display: flex; flex-direction: column-reverse; }
.hl-counts dt { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.hl-counts dd { margin: 0; min-width: 3ch; font-family: var(--hv-display); font-size: 1.4rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

/* ══ 01 · MÉTA — podium ══ */
.hv-tier { border-top: 1px solid rgba(212,177,113,.18); background: radial-gradient(ellipse 120% 50% at 50% 0, rgba(212,177,113,.08), transparent 60%), var(--hv-bg); }
.hv-tabs { display: flex; gap: 6px; margin: 0 0 18px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; }
.hv-tabs .hl-tier__tab {
  --acc: var(--hv-cyan); flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; cursor: pointer;
  clip-path: var(--hv-plate); --hv-cut: 8px; font: inherit; font-family: var(--hv-display); font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: #d7ddef;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); border: 0; transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}
.hl-tier__tab[data-role="TOP"] { --acc: var(--role-top); } .hl-tier__tab[data-role="JUNGLE"] { --acc: var(--role-jungle); } .hl-tier__tab[data-role="MID"] { --acc: var(--role-mid); } .hl-tier__tab[data-role="DRAGON"] { --acc: var(--role-bot); } .hl-tier__tab[data-role="SUPPORT"] { --acc: var(--role-support); }
.hv-tabs .hl-tier__tab[aria-pressed="true"] { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--acc), inset 0 -2px 0 var(--acc); }
.hl-tier__panel[hidden] { display: none; }
.hv-podium { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; margin: 0; padding: 28px 0 0; list-style: none; }
.hv-podium::before { content: ''; position: absolute; left: 10%; right: 10%; top: -10px; height: 70%; z-index: 0; pointer-events: none; opacity: .16; background: radial-gradient(ellipse at 50% 0, var(--acc), transparent 62%); }
.hv-step { position: relative; z-index: 1; display: grid; min-width: 0; }
.hv-step--1 { order: 2; } .hv-step--2 { order: 1; } .hv-step--3 { order: 3; }
.hv-step__card {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 14px 10px 12px; overflow: hidden; min-width: 0;
  clip-path: var(--hv-plate); text-decoration: none; text-align: center; color: var(--hv-ink);
  background: linear-gradient(180deg, rgba(14,22,44,.92), rgba(8,13,28,.96)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform 200ms var(--hv-ease), box-shadow 200ms ease;
}
.hv-step--1 .hv-step__card { box-shadow: inset 0 0 0 1px var(--acc), 0 0 50px -16px var(--acc); }
.hv-step__card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.12) 50%, transparent 65%); transform: translateX(-130%); }
.hv-step__art { display: flex; align-items: flex-end; justify-content: center; height: 120px; }
.hv-step--1 .hv-step__art { height: 150px; }
.hv-step__art img { display: block; height: 120px; width: auto; max-width: 100%; object-fit: contain; border-radius: 0; filter: drop-shadow(0 14px 22px rgba(0,0,0,.6)); }
.hv-step--1 .hv-step__art img { height: 150px; }
.hv-step__art img[width] { border-radius: 18px; }
.hv-step__name { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; max-width: 100%; font-family: var(--hv-display); font-size: 1rem; font-weight: 700; }
.hv-step__wr { display: grid; line-height: 1.1; }
.hv-step__wr b { font-family: var(--hv-display); font-size: 1.5rem; font-weight: 700; color: var(--hv-mint); }
.hv-step--1 .hv-step__wr b { font-size: 1.8rem; }
.hv-step__wr small { font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--hv-mute); }
.hv-step__pick { font-size: .74rem; color: var(--hv-mute); }
.hv-step__base { position: relative; display: block; height: 30px; margin-top: 2px; transform-origin: bottom; clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 100%, 0 100%); background: linear-gradient(180deg, var(--acc), transparent 140%); opacity: .9; }
.hv-step--2 .hv-step__base { height: 44px; } .hv-step--1 .hv-step__base { height: 68px; }
.hv-step__base b { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); font-family: var(--hv-display); font-size: 1.3rem; font-weight: 700; color: #060b16; }

/* ══ 02 · DRAFT — plateau ══ */
.hv-draft { border-top: 1px solid rgba(255,255,255,.06); background: radial-gradient(ellipse at 12% 60%, rgba(66,183,255,.1), transparent 55%), radial-gradient(ellipse at 88% 60%, rgba(255,107,107,.1), transparent 55%), #070b18; }
.hv-draft__grid { display: grid; gap: 28px; align-items: center; }
.hv-stage {
  position: relative; padding: 14px; clip-path: var(--hv-plate); --hv-cut: 18px;
  background: linear-gradient(90deg, rgba(66,183,255,.1), rgba(8,13,28,.96) 32% 68%, rgba(255,107,107,.1)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
}
.hv-stage__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 12px; }
.hv-stage__team { font-family: var(--hv-display); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--hv-cyan); }
.hv-stage__team--red { text-align: right; color: var(--hv-red); }
.hv-stage__timer { position: relative; width: 46px; height: 46px; --hv-t: 10; }
.hv-stage__timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hv-stage__ring-bg { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 3; }
.hv-stage__ring { fill: none; stroke: var(--hv-gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hv-stage__timer i { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--hv-display); font-size: .82rem; font-weight: 700; font-style: normal; color: var(--hv-gold); }
.hv-stage__timer i::after { counter-reset: hvt var(--hv-t); content: counter(hvt); }
@property --hv-t { syntax: '<integer>'; inherits: true; initial-value: 10; }
.hv-stage__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.hv-stage__side { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hv-slot {
  position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 8px; clip-path: var(--hv-plate); --hv-cut: 8px;
  --hv-lock: hv-lock-0; font-size: .8rem; font-weight: 700; color: var(--hv-ink);
  background: rgba(66,183,255,.08); box-shadow: inset 0 0 0 1px rgba(66,183,255,.28);
}
.hv-stage__side--red .hv-slot { flex-direction: row-reverse; text-align: right; background: rgba(255,107,107,.08); box-shadow: inset 0 0 0 1px rgba(255,107,107,.28); }
.hv-slot img { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
.hv-slot__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-slot small { font-size: .56rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hv-mute); }
.hv-slot__lock { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--hv-mint); box-shadow: 0 0 8px var(--hv-mint); }
.hv-slot[data-o="0"] { --hv-lock: hv-lock-0; } .hv-slot[data-o="1"] { --hv-lock: hv-lock-1; } .hv-slot[data-o="2"] { --hv-lock: hv-lock-2; } .hv-slot[data-o="3"] { --hv-lock: hv-lock-3; } .hv-slot[data-o="4"] { --hv-lock: hv-lock-4; }
.hv-slot[data-o="5"] { --hv-lock: hv-lock-5; } .hv-slot[data-o="6"] { --hv-lock: hv-lock-6; } .hv-slot[data-o="7"] { --hv-lock: hv-lock-7; } .hv-slot[data-o="8"] { --hv-lock: hv-lock-8; } .hv-slot[data-o="9"] { --hv-lock: hv-lock-9; }
.hv-stage__vs { font-family: var(--hv-display); font-size: 1.25rem; font-weight: 700; color: var(--hv-gold); text-shadow: 0 0 18px rgba(212,177,113,.55); }
.hv-stage__hint { margin: 12px 0 0; text-align: center; font-size: .78rem; color: #d7ddef; }
.hv-stage__hint span { display: inline-block; padding: 6px 12px; clip-path: var(--hv-plate); --hv-cut: 8px; background: rgba(212,177,113,.1); box-shadow: inset 0 0 0 1px rgba(212,177,113,.4); }

/* ══ 03 · COACH — conversation ══ */
.hv-nexus { border-top: 1px solid rgba(155,140,255,.16); background: radial-gradient(ellipse at 82% 30%, rgba(155,140,255,.14), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(66,183,255,.06), transparent 50%), #070a1a; }
.hv-nexus__grid { display: grid; gap: 28px; align-items: center; }
.hv-chat { display: grid; gap: 12px; width: 100%; max-width: 540px; }
.hv-chat__tag { margin: 0; font-family: var(--hv-display); font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--hv-violet); }
.hv-chat__q { justify-self: end; max-width: 86%; padding: 12px 14px; clip-path: var(--hv-plate); --hv-cut: 10px; font-size: .92rem; line-height: 1.45; background: rgba(66,183,255,.1); box-shadow: inset 0 0 0 1px rgba(66,183,255,.3); }
.hv-chat__a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: start; }
.hv-chat__avatar { position: relative; width: 40px; height: 40px; }
.hv-chat__avatar img { display: block; width: 40px; height: 40px; border-radius: 50%; }
.hv-chat__avatar i { position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--hv-violet); border-right-color: rgba(155,140,255,.35); opacity: 0; }
.hv-chat__body { display: grid; gap: 8px; padding: 14px 16px; clip-path: var(--hv-plate); --hv-cut: 12px; background: rgba(12,16,36,.92); box-shadow: inset 0 0 0 1px rgba(155,140,255,.3); }
.hv-chat__kicker { margin: 0; font-family: var(--hv-display); font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--hv-violet); }
.hv-chat__line { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--hv-ink); }
.hv-chat__mission { display: grid; gap: 4px; margin-top: 4px; padding: 10px 12px; clip-path: var(--hv-plate); --hv-cut: 8px; background: rgba(212,177,113,.09); box-shadow: inset 0 0 0 1px rgba(212,177,113,.5); }
.hv-chat__mission b { font-family: var(--hv-display); font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--hv-gold); }
.hv-chat__mission span { font-size: .86rem; line-height: 1.45; }

/* ══ 04 · POCHE — téléphone ══ */
.hv-app { border-top: 1px solid rgba(102,211,158,.16); background: radial-gradient(ellipse at 18% 50%, rgba(102,211,158,.12), transparent 55%), #060b16; }
.hv-app__grid { display: grid; gap: 28px; align-items: center; }
.hv-app__scene { position: relative; display: grid; place-items: center; min-height: 440px; perspective: 1200px; }
.hv-phone {
  position: relative; width: clamp(190px, 56vw, 240px); aspect-ratio: 420 / 898; padding: 8px; border-radius: 36px;
  background: linear-gradient(160deg, #1b2236, #0a0f1d); box-shadow: 0 40px 70px -24px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.12), 0 0 80px -24px var(--hv-mint);
  transform: rotateY(-14deg) rotateX(4deg);
}
.hv-phone::before { content: ''; position: absolute; left: 50%; top: 14px; z-index: 2; width: 70px; height: 18px; border-radius: 10px; background: #05070d; transform: translateX(-50%); }
.hv-phone__screen { height: 100%; overflow: hidden; border-radius: 28px; background: #0a0f1d; }
.hv-phone__screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hv-notif {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; max-width: 230px; padding: 8px 12px; clip-path: var(--hv-plate); --hv-cut: 8px;
  font-size: .78rem; font-weight: 600; line-height: 1.3; color: var(--hv-ink); background: rgba(10,16,32,.96); box-shadow: inset 0 0 0 1px rgba(102,211,158,.4), 0 14px 30px rgba(0,0,0,.5);
}
.hv-notif img { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; }
.hv-notif[style*="--i:0"] { top: 9%; left: 0; } .hv-notif[style*="--i:1"] { top: 44%; right: 0; } .hv-notif[style*="--i:2"] { bottom: 10%; left: 4%; }
.hv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.hv-chips li { padding: 5px 10px; clip-path: var(--hv-plate); --hv-cut: 6px; font-family: var(--hv-display); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #bdf5d6; background: rgba(102,211,158,.1); box-shadow: inset 0 0 0 1px rgba(102,211,158,.35); }
.hv-stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.hv-stores a { display: inline-block; line-height: 0; transition: transform 160ms var(--hv-ease); }
.hv-stores img { height: 44px; width: auto; }

/* ══ 05 · SEMAINE — mouvements, tickets, bandeau ══ */
.hv-week { border-top: 1px solid rgba(255,159,67,.16); background: radial-gradient(ellipse at 50% 0, rgba(255,159,67,.07), transparent 55%), var(--hv-bg); }
.hv-week__date { font-family: var(--hv-display); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--hv-orange); }
.hv-movers { display: grid; gap: 12px; margin-bottom: 14px; }
.hv-movers__col { --mc: var(--hv-mint); display: grid; gap: 4px; padding: 12px 12px 8px; clip-path: var(--hv-plate); background: rgba(10,18,38,.74); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 2px 0 var(--mc); }
.hv-movers__col--down { --mc: var(--hv-red); }
.hv-movers__head { margin: 0 0 4px; font-family: var(--hv-display); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mc); }
.hv-movers__head b { display: inline-block; margin-right: 2px; }
.hv-movers__head small { font-size: .66rem; font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--hv-mute); }
.hv-mover { display: grid; grid-template-columns: 36px minmax(0, 1fr) 110px 58px; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; text-decoration: none; color: var(--hv-ink); transition: background 140ms ease; }
.hv-mover img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.hv-mover__name { display: grid; min-width: 0; font-size: .9rem; font-weight: 700; }
.hv-mover__name small { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hv-mute); }
.hv-spark { width: 110px; height: 30px; }
.hv-spark polyline { fill: none; stroke: var(--mc); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hv-mover__delta { font-family: var(--hv-display); font-size: .95rem; font-weight: 700; text-align: right; color: var(--mc); }
.hv-tickets { display: grid; gap: 10px; }
.hv-ticket { --c: var(--hv-cyan); position: relative; display: grid; gap: 4px; padding: 14px 36px 14px 16px; clip-path: var(--hv-plate); --hv-cut: 10px; text-decoration: none; color: var(--hv-ink); background: rgba(10,18,38,.74); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 3px 0 0 var(--c); transition: transform 160ms var(--hv-ease); }
.hv-ticket strong { font-family: var(--hv-display); font-size: 1rem; font-weight: 700; }
.hv-ticket span { font-size: .82rem; line-height: 1.4; color: var(--hv-mute); }
.hv-ticket i { position: absolute; right: 14px; top: 14px; font-style: normal; font-family: var(--hv-display); color: var(--c); transition: transform 160ms var(--hv-ease); }
.hv-ticket--movers { --c: var(--hv-mint); } .hv-ticket--patch { --c: var(--hv-orange); } .hv-ticket--trends { --c: var(--hv-violet); }
.hv-ticker { margin-top: 16px; padding: 10px 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.hv-ticker__track { display: flex; flex-wrap: wrap; }
.hv-ticker__list { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.hv-ticker__list[aria-hidden] { display: none; }
.hv-ticker__list a { display: inline-flex; align-items: center; padding: 4px 18px 4px 0; font-family: var(--hv-display); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #d7ddef; white-space: nowrap; transition: color 140ms ease; }
.hv-ticker__list a::after { content: '◆'; margin-left: 18px; font-size: .5rem; color: var(--hv-orange); }
.hl-anim .hv-ticker { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6% 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6% 94%, transparent); }
.hl-anim .hv-ticker__track { flex-wrap: nowrap; width: max-content; }
.hl-anim .hv-ticker__list { flex-wrap: nowrap; }
.hl-anim .hv-ticker__list[aria-hidden] { display: flex; }

/* ══ 06 · TOI — compte : avantages qui se cochent, carte joueur qui grimpe les rangs en boucle ══ */
.hv-account-head { position: relative; }
.home-page .home-newsletter { border-top: 0; padding-bottom: clamp(44px, 6vw, 80px); background: radial-gradient(ellipse at 20% 0, rgba(66,183,255,.1), transparent 55%), var(--hv-bg); }
.home-page .home-newsletter__inner { padding-top: 0; }
.home-page .home-newsletter__shell { min-height: 0; border: 0; border-radius: 0; clip-path: var(--hv-plate); --hv-cut: 18px; background: rgba(10,16,32,.86); box-shadow: inset 0 0 0 1px rgba(66,183,255,.22); }
.home-page .home-newsletter__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 272px); gap: 26px; align-items: center; padding: 30px 30px 28px; }
.home-page .home-newsletter__content { width: auto; }
.home-page .home-newsletter__eyebrow { font-family: var(--hv-display); letter-spacing: .22em; color: var(--hv-cyan); }
.home-page .home-newsletter__title { font-family: var(--hv-display); font-weight: 700; }
.home-page .home-newsletter__sub { margin-bottom: 18px; }
.hv-perks { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.hv-perks li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--hv-ink); }
.hv-perks i { position: relative; flex: 0 0 auto; width: 20px; height: 20px; clip-path: var(--hv-plate); --hv-cut: 5px; background: rgba(66,183,255,.14); box-shadow: inset 0 0 0 1px rgba(66,183,255,.5); }
.hv-perks i::after { content: ''; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--hv-cyan); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hv-card { position: relative; display: grid; gap: 14px; padding: 16px; clip-path: var(--hv-plate); --hv-cut: 14px; background: linear-gradient(160deg, rgba(66,183,255,.16), rgba(10,16,32,.92) 55%); box-shadow: inset 0 0 0 1px rgba(66,183,255,.35); }
.hv-card::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 10px); pointer-events: none; }
.hv-card__top { display: flex; align-items: center; gap: 10px; }
.hv-card__avatar { position: relative; width: 36px; height: 36px; flex: 0 0 auto; border: 2px solid var(--hv-cyan); border-radius: 50%; box-shadow: 0 0 22px -4px var(--hv-cyan); }
.hv-card__avatar::after { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: var(--hv-cyan); }
.hv-card__id b { display: block; font-family: var(--hv-display); font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.hv-card__id small { display: block; font-size: .72rem; color: var(--hv-mute); }
.hv-ladder { display: grid; gap: 4px; }
.hv-ladder__label, .hv-card__bar span { font-family: var(--hv-display); font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--hv-mute); }
.hv-ladder__win { height: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.hv-ladder__track { margin: 0; padding: 0; list-style: none; transform: translateY(calc(-3 * 56px)); }
.hv-ladder__track li { display: flex; align-items: center; gap: 12px; height: 56px; }
.hv-ladder__track img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.hv-ladder__track span { font-family: var(--hv-display); font-size: 1.2rem; font-weight: 700; color: #fff; }
.hv-card__bar { display: grid; gap: 6px; }
.hv-card__bar i { display: block; height: 6px; overflow: hidden; clip-path: var(--hv-plate); --hv-cut: 3px; background: rgba(255,255,255,.08); }
.hv-card__bar b { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--hv-cyan), #c9ecff); transform: scaleX(.72); transform-origin: left; }
/* Entrée : avantages cochés un à un, carte posée ; boucle tant que la carte est visible : un rang toutes les 1,6 s (7 rangs, le 8e répète le premier), barre qui se remplit à chaque palier */
.hl-anim .hv-you .hv-perks li { opacity: 0; transform: translateX(-10px); }
.hl-anim .hv-you.is-in .hv-perks li { animation: hv-perk .5s var(--hv-ease) calc(.25s + var(--d) * .18s) both; }
.hl-anim .hv-you .hv-perks i::after { transform: rotate(45deg) scale(0); }
.hl-anim .hv-you.is-in .hv-perks i::after { animation: hv-tick .35s var(--hv-ease) calc(.5s + var(--d) * .18s) both; }
.hl-anim .hv-you .hv-card { opacity: 0; transform: translateY(16px) rotate(-2deg); }
.hl-anim .hv-you.is-in .hv-card { animation: hv-card-in .7s var(--hv-ease) .15s both; }
.hl-anim .hv-you.is-live .hv-ladder__track { animation: hv-climb 11.2s steps(7, end) infinite; }
.hl-anim .hv-you.is-live .hv-card__bar b { animation: hv-fill 1.6s linear infinite; }
@keyframes hv-perk { to { opacity: 1; transform: none; } }
@keyframes hv-tick { to { transform: rotate(45deg) scale(1); } }
@keyframes hv-card-in { to { opacity: 1; transform: none; } }
@keyframes hv-climb { from { transform: translateY(0); } to { transform: translateY(calc(-7 * 56px)); } }
@keyframes hv-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 760px) { .home-page .home-newsletter__panel { grid-template-columns: 1fr; padding: 22px 18px; } .hv-card { max-width: 320px; } }

/* ── Survol (pointeur fin seulement) ── */
@media (hover: hover) and (pointer: fine) {
  .hv-pick:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--role-c), inset 3px 0 0 var(--role-c); }
  .hv-pick:hover img { transform: scale(1.08); }
  .hv-door:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--c), inset 0 2px 0 var(--c); }
  .hv-door:hover::after { animation: hv-sweep .7s var(--hv-ease) both; }
  .hv-door:hover i { transform: translateX(4px); opacity: 1; }
  .hv-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
  .hv-btn:hover::after { animation: hv-sweep .6s var(--hv-ease) both; }
  .hv-step__card:hover { transform: translateY(-4px); }
  .hv-step__card:hover::after { animation: hv-sweep .7s var(--hv-ease) both; }
  .hv-mover:hover { background: rgba(255,255,255,.05); }
  .hv-ticket:hover { transform: translateY(-2px); }
  .hv-ticket:hover i { transform: translateX(4px); }
  .hv-ticker__list a:hover { color: #fff; }
  .hv-stores a:hover { transform: translateY(-2px); }
  .hl-anim .hv-ticker:hover .hv-ticker__track { animation-play-state: paused; }
}

/* ── Grilles larges ── */
@media (min-width: 768px) {
  .hv-movers { grid-template-columns: 1fr 1fr; }
  .hv-tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .hv-step__art { height: 170px; } .hv-step__art img { height: 170px; } .hv-step--1 .hv-step__art { height: 215px; } .hv-step--1 .hv-step__art img { height: 215px; }
  .hv-step__card { padding: 18px 14px 14px; } .hv-step__name { font-size: 1.1rem; } .hv-step--1 .hv-step__wr b { font-size: 2.1rem; }
  .hv-draft__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .hv-nexus__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .hv-nexus__grid .hv-chat { justify-self: end; }
  .hv-app__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hl-hero { min-height: 0; padding-top: 100px; padding-bottom: 28px; }
  .hv-hero .home-hero__title { font-size: 1.8rem; }
  .hl-hero__sub { font-size: .9rem; margin-bottom: 14px; }
  .hv-hero__wm { top: 72px; font-size: 6.5rem; }
  .hv-quick__picks { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; margin-right: calc(-1 * var(--home-px)); padding-right: var(--home-px); }
  .hv-pick { flex: 0 0 96px; scroll-snap-align: start; }
  .hv-door { padding: 12px 10px 10px; } .hv-door span { font-size: .66rem; } .hv-door i { right: 8px; top: 8px; }
  .hv-step__art { height: 92px; } .hv-step__art img { height: 92px; } .hv-step--1 .hv-step__art { height: 116px; } .hv-step--1 .hv-step__art img { height: 116px; }
  .hv-step__card { padding: 10px 6px 10px; } .hv-step__name { font-size: .84rem; } .hv-step__wr b { font-size: 1.15rem; } .hv-step--1 .hv-step__wr b { font-size: 1.4rem; } .hv-step__pick { font-size: .66rem; }
  .hv-stage { padding: 10px; } .hv-slot { padding: 5px 6px; font-size: .72rem; gap: 6px; } .hv-slot img { width: 32px; height: 32px; } .hv-slot small { display: none; }
  .hv-tier, .hv-draft, .hv-nexus, .hv-app, .hv-week { padding-bottom: 36px; }
  .hv-app__scene { min-height: 360px; }
  .hv-phone { width: clamp(170px, 46vw, 200px); }
  .hv-mover { padding: 4px; }
  .hv-movers__col { padding: 10px 10px 6px; }
  .hv-notif { max-width: 190px; font-size: .72rem; }
  .hv-mover { grid-template-columns: 32px minmax(0, 1fr) 80px 52px; gap: 8px; } .hv-spark { width: 80px; }
  .hv-station { padding-top: 36px; } .hv-station__rail { height: 26px; }
}

/* ── Mouvement : entrées à la vue (IO → .is-in), boucles à la vue (.is-live), scroll-driven sous @supports ── */
@keyframes hl-ping { from { transform: scale(1); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }
@keyframes hv-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes hv-in-l { from { opacity: 0; transform: translateX(-24px); } }
@keyframes hv-in-r { from { opacity: 0; transform: translateX(24px); } }
@keyframes hv-sweep { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes hv-rail { from { transform: scaleY(0); } }
@keyframes hv-node { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.18); } }
@keyframes hv-rise-y { from { transform: scaleY(0); } }
@keyframes hv-scan { 0% { opacity: 0; transform: translateX(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateX(190%); } }
@keyframes hv-figure-in { from { opacity: 0; transform: translateY(40px); } }
@keyframes hv-spin { to { transform: rotate(360deg); } }
@keyframes hv-pulse { 50% { transform: scale(1.18); opacity: .75; } }
@keyframes hv-drift { to { transform: translateY(60px) scale(1.06); } }
@keyframes hv-wm-drift { to { transform: translateY(140px); } }
@keyframes hv-figure-drift { to { transform: translateY(70px); } }
@keyframes hv-straight { from { transform: rotateY(-26deg) rotateX(7deg) translateY(30px); } to { transform: rotateY(-10deg) rotateX(3deg) translateY(0); } }
@keyframes hv-draw { from { stroke-dashoffset: 1; } }
@keyframes hv-ring { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 1; } }
@keyframes hv-count { from { --hv-t: 10; } to { --hv-t: 0; } }
@keyframes hv-marquee { to { transform: translateX(-50%); } }
@keyframes hv-notif { 0% { opacity: 0; transform: translateY(12px) scale(.96); } 8% { opacity: 1; transform: translateY(0) scale(1); } 28% { opacity: 1; transform: translateY(-4px) scale(1); } 36% { opacity: 0; transform: translateY(-16px) scale(.98); } 100% { opacity: 0; transform: translateY(-16px) scale(.98); } }
@keyframes hv-hint { 0%, 78% { opacity: 0; transform: translateY(8px); } 83%, 93% { opacity: 1; transform: translateY(0); } 98%, 100% { opacity: 0; transform: translateY(8px); } }
/* Ordre réel des picks (B, R, R, B, B, R, R, B, B, R), un pick par seconde, cycle de 14 s. */
@keyframes hv-lock-0 { 0%, 7.1% { opacity: .28; } 9.5% { opacity: 1; transform: scale(1.06); } 11.5% { transform: scale(1); } 90% { opacity: 1; } 95%, 100% { opacity: .28; } }
@keyframes hv-lock-1 { 0%, 14.3% { opacity: .28; } 16.7% { opacity: 1; transform: scale(1.06); } 18.7% { transform: scale(1); } 90% { opacity: 1; } 95%, 100% { opacity: .28; } }
@keyframes hv-lock-2 { 0%, 21.4% { opacity: .28; } 23.8% { opacity: 1; transform: scale(1.06); } 25.8% { transform: scale(1); } 90% { opacity: 1; } 95%, 100% { opacity: .28; } }
@keyframes hv-lock-3 { 0%, 28.6% { opacity: .28; } 31% { opacity: 1; transform: scale(1.06); } 33% { transform: scale(1); } 90% { opacity: 1; } 95%, 100% { opacity: .28; } }
@keyframes hv-lock-4 { 0%, 35.7% { opacity: .28; } 38.1% { opacity: 1; transform: scale(1.06); } 40.1% { transform: scale(1); } 90% { opacity: 1; } 95%, 100% { opacity: .28; } }
@keyframes hv-lock-5 { 0%, 42.9% { opacity: .28; } 45.3% { opacity: 1; transform: scale(1.06); } 47.3% { transform: scale(1); } 90% { opacity: 1; } 95%, 100% { opacity: .28; } }
@keyframes hv-lock-6 { 0%, 50% { opacity: .28; } 52.4% { opacity: 1; transform: scale(1.06); } 54.4% { transform: scale(1); } 90% { opacity: 1; } 95%, 100% { opacity: .28; } }
@keyframes hv-lock-7 { 0%, 57.1% { opacity: .28; } 59.5% { opacity: 1; transform: scale(1.06); } 61.5% { transform: scale(1); } 90% { opacity: 1; } 95%, 100% { opacity: .28; } }
@keyframes hv-lock-8 { 0%, 64.3% { opacity: .28; } 66.7% { opacity: 1; transform: scale(1.06); } 68.7% { transform: scale(1); } 90% { opacity: 1; } 95%, 100% { opacity: .28; } }
@keyframes hv-lock-9 { 0%, 71.4% { opacity: .28; } 73.8% { opacity: 1; transform: scale(1.06); } 75.8% { transform: scale(1); } 90% { opacity: 1; } 95%, 100% { opacity: .28; } }

/* Héros : entrée en cascade au chargement, balayage de la recherche, figure qui monte */
.hl-anim .hv-hero .home-hero__content > [style*="--i:"] { animation: hv-up .7s var(--hv-ease) calc(var(--i) * 90ms) both; }
.hl-anim .hv-hero .hv-pick { animation: hv-up .5s var(--hv-ease) calc(420ms + var(--k) * 70ms) both; }
.hl-anim .hv-hero .hv-door { animation: hv-up .5s var(--hv-ease) calc(560ms + var(--k) * 90ms) both; }
.hl-anim .hv-hero .home-search__scan { animation: hv-scan 1.8s ease-out .9s both; }
.hl-anim .hv-figure { animation: hv-figure-in .9s var(--hv-ease) .2s both; }
/* Stations : rail puis nœud */
.hl-anim .hv-station:not(.is-in) .hv-station__rail { transform: scaleY(0); }
.hl-anim .hv-station:not(.is-in) .hv-station__node, .hl-anim .hv-station:not(.is-in) .hv-station__n, .hl-anim .hv-station:not(.is-in) .hv-station__label { opacity: 0; }
.hl-anim .hv-station.is-in .hv-station__rail { animation: hv-rail .5s ease-out both; }
.hl-anim .hv-station.is-in .hv-station__node { animation: hv-node .5s var(--hv-ease) .35s both; }
.hl-anim .hv-station.is-in .hv-station__n, .hl-anim .hv-station.is-in .hv-station__label { animation: hv-in-l .5s var(--hv-ease) .5s both; }
/* 01 · podium : les marches montent, les cartes suivent, lumière sur le n° 1 */
.hl-anim .hl-tier__panel:not(.is-in) .hv-step { opacity: 0; }
.hl-anim .hl-tier__panel.is-in .hv-step { animation: hv-up .55s var(--hv-ease) calc(var(--d) * 110ms) both; }
.hl-anim .hl-tier__panel.is-in .hv-step__base { animation: hv-rise-y .7s var(--hv-ease) calc(var(--d) * 110ms + .1s) both; }
.hl-anim .hl-tier__panel.is-in .hv-step--1 .hv-step__card::after { animation: hv-sweep .9s var(--hv-ease) .9s both; }
/* 02 · plateau : entrée des deux côtés, puis la draft se joue en boucle tant que la scène est visible */
.hl-anim .hv-stage:not(.is-in) .hv-slot { opacity: 0; }
.hl-anim .hv-stage.is-in .hv-stage__side--blue .hv-slot { animation: hv-in-l .5s var(--hv-ease) both; }
.hl-anim .hv-stage.is-in .hv-stage__side--red .hv-slot { animation: hv-in-r .5s var(--hv-ease) both; }
.hl-anim .hv-stage.is-live .hv-stage__side .hv-slot { animation: var(--hv-lock) 14s linear infinite; }
.hl-anim .hv-stage.is-live .hv-stage__ring { animation: hv-ring 14s linear infinite; }
.hl-anim .hv-stage.is-live .hv-stage__timer i { animation: hv-count 14s linear infinite; }
.hl-anim .hv-stage.is-live .hv-stage__vs { animation: hv-pulse 1.8s ease-in-out infinite; }
.hl-anim .hv-stage.is-live .hv-stage__hint { animation: hv-hint 14s linear infinite; }
/* 03 · conversation : la question, l'anneau qui réfléchit, le plan ligne par ligne, la mission — rejoué à chaque retour */
.hl-anim .hv-chat:not(.is-live) :is(.hv-chat__q, .hv-chat__line, .hv-chat__mission, .hv-chat__kicker) { opacity: 0; }
.hl-anim .hv-chat.is-live .hv-chat__q { animation: hv-in-r .5s var(--hv-ease) both; }
.hl-anim .hv-chat.is-live .hv-chat__avatar i { animation: hv-spin .9s linear .4s 2 both, hv-up .3s ease .4s both; }
.hl-anim .hv-chat.is-live .hv-chat__kicker { animation: hv-up .4s var(--hv-ease) 1.2s both; }
.hl-anim .hv-chat.is-live .hv-chat__line { animation: hv-in-l .5s var(--hv-ease) calc(1.5s + var(--d) * .8s) both; }
.hl-anim .hv-chat.is-live .hv-chat__mission { animation: hv-up .6s var(--hv-ease) 4.2s both; }
/* 04 · téléphone : flotte, notifications en rotation */
.hl-anim .hv-app__scene:not(.is-in) .hv-phone { opacity: 0; }
.hl-anim .hv-app__scene.is-in .hv-phone { animation: hv-up .8s var(--hv-ease) both; }
.hl-anim .hv-app__scene.is-live .hv-notif { animation: hv-notif 9s ease-in-out calc(var(--i) * 3s) infinite both; }
/* 05 · mouvements : les courbes se tracent, le bandeau défile */
.hl-anim .hv-movers:not(.is-in) .hv-mover { opacity: 0; }
.hl-anim .hv-movers.is-in .hv-mover { animation: hv-up .5s var(--hv-ease) calc(var(--d) * 90ms) both; }
.hl-anim .hv-movers.is-in .hv-spark polyline { animation: hv-draw 1.1s ease-out calc(var(--d) * 90ms + .3s) both; }
.hl-anim .hv-ticker.is-live .hv-ticker__track { animation: hv-marquee 30s linear infinite; }
/* Scroll-driven (Chrome 115+, Safari 26+) : dérive de la mosaïque, du filigrane et de la figure ; le téléphone se redresse en entrant */
@supports (animation-timeline: scroll()) {
  .hl-hero .home-hero__bg { animation: hv-drift linear both; animation-timeline: scroll(root); animation-range: 0 640px; }
  .hv-hero__wm { animation: hv-wm-drift linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
  .hl-anim .hv-figure { animation: hv-figure-in .9s var(--hv-ease) .2s both, hv-figure-drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 700px; }
  .hv-phone { animation: hv-straight linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  .hl-anim .hv-app__scene.is-in .hv-phone { animation: hv-up .8s var(--hv-ease) both, hv-straight linear both; animation-timeline: auto, view(); animation-range: normal, entry 0% cover 45%; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-hero .home-hero__bg, .hv-hero__wm, .hv-figure, .hl-badge__dot::after, .hv-phone, .hv-notif, .hv-ticker__track, .hv-stage *, .hv-chat *, .hv-step__card::after { animation: none !important; }
}
