/* D.Majin — Hub d'accueil (post-intro) */

body.page-home.hero-intro-done .hero-content,
body.page-home.hero-intro-skip-all .hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  text-align: center;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

/* — Emblème logo + Navi — */
.home-hub-emblem {
  margin: 0;
}

body.page-home .hero {
  overflow: visible;
}

body.page-home main.page-content {
  overflow: visible;
}

.home-emblem-stage {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 0.35rem;
  padding: 0.25rem 0;
  overflow: visible;
}

.home-emblem-core {
  position: relative;
  display: inline-block;
  line-height: 0;
  overflow: visible;
}

.home-emblem-orbit {
  position: absolute;
  inset: -22px -26px -22px -26px;
  animation: homeNaviOrbit 11s linear infinite;
  pointer-events: none;
  z-index: 4;
  overflow: visible;
}

.home-emblem-navi-wrap {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 64px;
  height: 68px;
  margin-left: -32px;
  animation: homeNaviUpright 11s linear infinite;
  overflow: visible;
}

.home-emblem-navi-aura {
  position: absolute;
  inset: -6px -4px -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.35) 0%, rgba(254, 228, 64, 0.12) 45%, transparent 72%);
  animation: homeNaviAuraPulse 1.8s ease-in-out infinite;
  pointer-events: none;
}

.home-emblem-navi-viewport {
  position: relative;
  z-index: 1;
  display: block;
  width: 56px;
  height: 60px;
  margin: 0 auto;
  overflow: visible;
  animation: homeNaviFloat 2.1s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(0, 245, 212, 0.9)) drop-shadow(0 0 6px rgba(254, 228, 64, 0.5));
}

.home-emblem-navi-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  image-rendering: pixelated;
  object-fit: contain;
  opacity: 0;
}

.home-emblem-navi-frame--0 {
  opacity: 1;
  animation: homeNaviShow0 0.52s step-end infinite;
}
.home-emblem-navi-frame--1 { animation: homeNaviShow1 0.52s step-end infinite; }
.home-emblem-navi-frame--2 { animation: homeNaviShow2 0.52s step-end infinite; }
.home-emblem-navi-frame--3 { animation: homeNaviShow3 0.52s step-end infinite; }

@keyframes homeNaviShow0 {
  0%, 24% { opacity: 1; }
  25%, 100% { opacity: 0; }
}

@keyframes homeNaviShow1 {
  0%, 24% { opacity: 0; }
  25%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes homeNaviShow2 {
  0%, 49% { opacity: 0; }
  50%, 74% { opacity: 1; }
  75%, 100% { opacity: 0; }
}

@keyframes homeNaviShow3 {
  0%, 74% { opacity: 0; }
  75%, 99% { opacity: 1; }
  100% { opacity: 0; }
}

.home-emblem-navi-pix {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 245, 212, 0.95);
  box-shadow: 0 0 8px rgba(0, 245, 212, 0.8);
  pointer-events: none;
  opacity: 0;
}

.home-emblem-navi-pix--1 {
  left: 18px;
  bottom: 2px;
  animation: homeNaviPixFall 1.4s ease-out infinite;
}

.home-emblem-navi-pix--2 {
  left: 32px;
  bottom: 4px;
  animation: homeNaviPixFall 1.4s ease-out 0.45s infinite;
}

.home-emblem-navi-pix--3 {
  left: 44px;
  bottom: 0;
  width: 4px;
  height: 4px;
  animation: homeNaviPixFall 1.4s ease-out 0.9s infinite;
}

@keyframes homeNaviFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

@keyframes homeNaviAuraPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes homeNaviPixFall {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateY(22px) scale(0.2); }
}

.home-emblem-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72vw, 240px);
  height: min(40vw, 140px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.18) 0%, transparent 68%);
  animation: homeEmblemGlow 5s ease-in-out infinite alternate;
  pointer-events: none;
}

.home-emblem-logo {
  position: relative;
  display: block;
  width: min(56vw, 11rem);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
  z-index: 2;
}

@keyframes homeNaviOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes homeNaviUpright {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes homeEmblemGlow {
  from { opacity: 0.55; transform: translate(-50%, -50%) scale(0.94); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

body.page-home .hero-label {
  margin-bottom: 0.35rem;
}

.hero-home-tagline {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5vw, 2rem);
  letter-spacing: 0.06em;
  color: var(--blanc);
  line-height: 1.1;
}

.hero-home-tagline span {
  color: var(--turquoise);
  text-shadow: 0 0 20px rgba(0, 245, 212, 0.35);
}

.hero-home-lead {
  margin: 0 auto 0.65rem;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--gris);
  line-height: 1.55;
  max-width: 30rem;
}

.home-hub-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.55rem;
}

.home-hub-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 245, 212, 0.18);
  background: rgba(0, 245, 212, 0.05);
}

.home-hub-highlights .home-hub-ic {
  color: rgba(0, 245, 212, 0.85);
}

/* — Bandeau spécialités (posts) — */
.home-hub-taste {
  text-align: center;
}

.home-hub-taste-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(254, 228, 64, 0.78);
}

.home-hub-taste-row {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.home-taste-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  transition: transform 0.2s, color 0.2s;
}

.home-taste-item:hover {
  transform: translateY(-3px);
  color: var(--turquoise);
}

.home-taste-item img {
  width: 4.5rem;
  height: 4.5rem;
  aspect-ratio: 1;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 245, 212, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 16px rgba(0, 245, 212, 0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.home-taste-item:hover img {
  border-color: rgba(0, 245, 212, 0.65);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 22px rgba(0, 245, 212, 0.2);
}

.home-taste-item:nth-child(2) img { animation: homeTasteFloat 5s ease-in-out 0.5s infinite; }
.home-taste-item:nth-child(3) img { animation: homeTasteFloat 5s ease-in-out 1s infinite; }
.home-taste-item:nth-child(4) img { animation: homeTasteFloat 5s ease-in-out 1.5s infinite; }

@keyframes homeTasteFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Fond ambiance restaurant */
.home-ambiance-bg {
  position: absolute;
  inset: -10% -5%;
  background: url('assets/posts/nouvelle-salle.png') center / cover no-repeat;
  opacity: 0.14;
  filter: blur(28px) saturate(1.1);
  pointer-events: none;
  z-index: 0;
  animation: homeAmbianceDrift 18s ease-in-out infinite alternate;
}

@keyframes homeAmbianceDrift {
  from { transform: scale(1.02) translateX(-1%); }
  to { transform: scale(1.06) translateX(1%); }
}

body.page-home .hero-bg > :not(.home-ambiance-bg) {
  z-index: 1;
}

/* — Dock réservation (sans carte) — */
.home-hub-dock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  padding: 0.25rem 0 0.15rem;
}

.home-hub-dock-essentials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
}

.home-hub-dock-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.home-hub-dock-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.home-hub-dock-pin:hover {
  color: var(--turquoise);
}

.home-hub-dock-pin .home-hub-ic {
  color: var(--turquoise);
}

.home-hub-dock-dot {
  opacity: 0.35;
}

.home-hub-status {
  color: rgba(0, 245, 212, 0.88);
  letter-spacing: 0.02em;
}

.home-hub-dock-trigger {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.home-hub-dock-trigger:hover,
.home-hub-dock-trigger:focus-visible {
  color: var(--turquoise);
  outline: none;
}

.home-hub-dock-trigger:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 245, 212, 0.45);
  border-radius: 4px;
}

.home-hub-dock-trigger--note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.4;
  text-decoration: none;
}

.home-hub-dock-trigger--note:hover,
.home-hub-dock-trigger--note:focus-visible {
  color: rgba(255, 255, 255, 0.62);
}

.home-hub-dock-trigger--note strong {
  color: rgba(0, 245, 212, 0.85);
  font-weight: 600;
}

.home-hub-chip--clickable {
  cursor: pointer;
  border: 1px solid rgba(0, 245, 212, 0.18);
  font: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.home-hub-chip--clickable:hover,
.home-hub-chip--clickable:focus-visible {
  border-color: rgba(0, 245, 212, 0.45);
  background: rgba(0, 245, 212, 0.1);
  outline: none;
}

.home-hub-chip--clickable:active {
  transform: scale(0.98);
}

/* Popup horaires */
.home-service-popup {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.home-service-popup[hidden] {
  display: none;
}

.home-service-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.home-service-popup-panel {
  position: relative;
  z-index: 1;
  width: min(22rem, 100%);
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 245, 212, 0.28);
  background: linear-gradient(160deg, rgba(18, 22, 24, 0.98), rgba(10, 12, 14, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 245, 212, 0.12);
}

.home-service-popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.home-service-popup-close:hover {
  background: rgba(0, 245, 212, 0.15);
  color: var(--turquoise);
}

.home-service-popup-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--blanc);
}

.home-service-popup-lead {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.home-service-popup-lead strong {
  color: var(--turquoise);
}

.home-service-popup-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-service-popup-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(0, 245, 212, 0.06);
  border: 1px solid rgba(0, 245, 212, 0.14);
  text-align: left;
}

.home-service-popup-day {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(254, 228, 64, 0.85);
  font-weight: 600;
}

.home-service-popup-slot {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

.home-service-popup-slot strong {
  color: var(--turquoise);
}

.home-service-popup-footer {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.home-service-popup-cta {
  width: 100%;
  justify-content: center;
}

.home-service-popup.is-open .home-service-popup-panel {
  animation: homeServicePopupIn 0.28s var(--ease-out) forwards;
}

@keyframes homeServicePopupIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.home-hub-dock-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
}

.home-hub-dock-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: min(100%, 18rem);
  padding: 1.05rem 1.6rem 1.05rem 1.25rem !important;
  border-radius: 999px !important;
  overflow: visible;
  isolation: isolate;
  animation: homeDockPulse 4s ease-in-out infinite;
}

.home-hub-dock-aura {
  position: absolute;
  inset: -18px -8px;
  border-radius: 999px;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0, 245, 212, 0.22), transparent 68%);
  z-index: -1;
  pointer-events: none;
  animation: homeDockAura 5s ease-in-out infinite alternate;
}

.home-hub-dock-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  animation: homeDockGlyphBob 4.5s ease-in-out infinite;
}

.home-hub-dock-ic {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
  color: rgba(0, 0, 0, 0.82);
}

.home-hub-dock-secondary {
  border-radius: 999px !important;
  padding: 0.95rem 1.35rem !important;
  min-width: 10rem;
}

.home-hub-dock-note {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.4;
}

.home-hub-dock-note strong {
  color: rgba(0, 245, 212, 0.85);
  font-weight: 600;
}

@keyframes homeDockPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(0, 245, 212, 0.35), 0 6px 20px rgba(0, 245, 212, 0.2); }
  50% { box-shadow: 0 0 28px rgba(0, 245, 212, 0.5), 0 8px 28px rgba(0, 245, 212, 0.28); }
}

@keyframes homeDockAura {
  from { opacity: 0.55; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.04); }
}

@keyframes homeDockGlyphBob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-3px) rotate(4deg); }
}

/* — Mosaïque asymétrique — */
.home-hub-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.6rem;
  text-align: left;
}

.home-mosaic {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 5.5rem;
  padding: 0.85rem 0.9rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.04) 0%, rgba(10, 10, 14, 0.72) 75%);
  color: var(--blanc);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.home-mosaic:hover {
  border-color: rgba(0, 245, 212, 0.38);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 245, 212, 0.08);
}

.home-mosaic--menu {
  grid-row: span 2;
  min-height: 12.5rem;
  padding: 1rem 1rem 1.05rem;
}

.home-mosaic--world {
  min-height: 7.5rem;
}

.home-mosaic-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transition: transform 0.45s var(--ease-out, ease-out);
}

.home-mosaic:hover .home-mosaic-cover {
  transform: scale(1.04);
}

.home-mosaic-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(10, 10, 14, 0.2) 0%,
    rgba(10, 10, 14, 0.45) 45%,
    rgba(10, 10, 14, 0.88) 100%
  );
  pointer-events: none;
}

.home-mosaic--menu .home-mosaic-shade {
  background: linear-gradient(
    to top,
    rgba(10, 10, 14, 0.94) 0%,
    rgba(10, 10, 14, 0.5) 42%,
    rgba(10, 10, 14, 0.12) 100%
  );
}

.home-mosaic--world .home-mosaic-shade {
  background: linear-gradient(
    to top,
    rgba(10, 10, 14, 0.92) 0%,
    rgba(10, 10, 14, 0.4) 50%,
    rgba(10, 10, 14, 0.1) 100%
  );
}

.home-mosaic--game {
  min-height: 4.5rem;
  padding: 0.7rem 0.85rem;
  opacity: 0.92;
  border-color: rgba(255, 255, 255, 0.06);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.02) 0%, rgba(10, 10, 14, 0.55) 80%);
}

.home-mosaic-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.home-mosaic .home-hub-ic {
  color: var(--turquoise);
  margin-bottom: 0.15rem;
}

.home-mosaic-title {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--turquoise);
}

.home-mosaic--menu .home-mosaic-title { font-size: 1.15rem; }
.home-mosaic--world .home-mosaic-title { font-size: 0.95rem; }
.home-mosaic--game .home-mosaic-title { font-size: 0.82rem; }

.home-mosaic-desc {
  font-size: 0.72rem;
  color: var(--gris);
  line-height: 1.35;
}

.home-mosaic--game .home-mosaic-desc {
  font-size: 0.66rem;
  opacity: 0.85;
}

/* — Avis discret — */
.home-hub-review-link {
  margin: 0;
}

.home-hub-review-anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: rgba(254, 228, 64, 0.82);
  text-decoration: none;
  transition: color 0.2s;
}

.home-hub-review-anchor:hover {
  color: var(--jaune);
  text-decoration: underline;
}

.home-hub-review-anchor .home-hub-ic {
  color: rgba(254, 228, 64, 0.9);
}

/* — Rappels en chips — */
.home-hub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.home-hub-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

a.home-hub-chip:hover {
  border-color: rgba(0, 245, 212, 0.35);
  background: rgba(0, 245, 212, 0.06);
  color: var(--turquoise);
}

.home-hub-chip--accent {
  border-color: rgba(0, 245, 212, 0.22);
  background: rgba(0, 245, 212, 0.06);
  color: rgba(255, 255, 255, 0.78);
}

.home-hub-chip--quiet {
  opacity: 0.75;
  font-size: 0.7rem;
}

.home-hub-chip .home-hub-ic {
  color: rgba(0, 245, 212, 0.75);
}

.home-hub-dismiss {
  border: none;
  background: transparent;
  color: var(--turquoise);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  margin-left: 0.25rem;
}

/* Icônes Lucide */
.home-hub-ic {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.home-hub-ic--sm {
  width: 16px;
  height: 16px;
}

/* Fond accueil : orbes + artefacts */
body.page-home .hero-glow {
  animation: glowPulse 7s ease-in-out infinite alternate;
  opacity: 0.34;
  filter: blur(90px);
}

body.page-home .hero-full .hero-glow-2 {
  animation-delay: 2.5s;
}

body.page-home .hero-bg {
  overflow: hidden;
}

body.page-home .hero-full .hero-glow-1 {
  width: 320px;
  height: 320px;
}

body.page-home .hero-full .hero-glow-2 {
  width: 260px;
  height: 260px;
  opacity: 0.28;
}

/* Intro reveal — cibler nouvelles sections */
body.page-home.hero-intro-done .home-hub-taste,
body.page-home.hero-intro-skip-all .home-hub-taste {
  opacity: 0;
  animation: heroBlurIn 0.5s var(--ease-out) 0.24s forwards;
}

body.page-home.hero-intro-done .home-hub-dock,
body.page-home.hero-intro-skip-all .home-hub-dock {
  opacity: 0;
  animation: heroBlurIn 0.5s var(--ease-out) 0.2s forwards;
}

body.page-home.hero-intro-done .home-hub-emblem,
body.page-home.hero-intro-skip-all .home-hub-emblem {
  opacity: 0;
  animation: heroBlurIn 0.55s var(--ease-out) 0.06s forwards;
}

body.page-home.hero-intro-done .home-hub-mosaic,
body.page-home.hero-intro-skip-all .home-hub-mosaic {
  opacity: 0;
  animation: heroBlurIn 0.5s var(--ease-out) 0.34s forwards;
}

body.page-home.hero-intro-done .home-hub-review-link,
body.page-home.hero-intro-skip-all .home-hub-review-link {
  opacity: 0;
  animation: heroBlurIn 0.5s var(--ease-out) 0.44s forwards;
}

body.page-home.hero-intro-done .home-hub-chips,
body.page-home.hero-intro-skip-all .home-hub-chips {
  opacity: 0;
  animation: heroBlurIn 0.5s var(--ease-out) 0.52s forwards;
}

body.page-home.hero-intro-done .home-hub-footer,
body.page-home.hero-intro-skip-all .home-hub-footer {
  opacity: 0;
  animation: heroBlurIn 0.5s var(--ease-out) 0.58s forwards;
}

/* Footer intégré au hero (plus de bande noire séparée) */
.home-hub-footer {
  width: 100%;
  margin-top: 0.15rem;
  margin-bottom: 0;
  padding-top: 0.85rem;
  padding-bottom: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hub-footer .site-footer-address,
.home-hub-footer .site-footer-legal {
  color: rgba(255, 255, 255, 0.55);
}

.home-hub-footer .site-footer-address a {
  color: rgba(255, 255, 255, 0.82);
}

.home-hub-footer > a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.home-hub-footer > a:hover,
.home-hub-footer .site-footer-address a:hover {
  color: var(--turquoise);
}

@media (max-width: 768px) {
  body.page-home.hero-intro-done .hero,
  body.page-home.hero-intro-skip-all .hero {
    padding-top: max(3.25rem, calc(env(safe-area-inset-top) + 2.15rem));
    padding-bottom: 0.75rem;
  }

  body.page-home.hero-intro-done .hero-content,
  body.page-home.hero-intro-skip-all .hero-content {
    gap: 0.75rem;
  }

  /* Logo centré : Navi en overlay (pas en flex à côté) */
  .home-emblem-stage {
    padding: 0.35rem 1.75rem 0.2rem;
  }

  .home-emblem-core {
    display: inline-block;
  }

  .home-emblem-logo {
    width: min(46vw, 8.25rem);
    margin: 0 auto;
  }

  .home-emblem-orbit {
    position: absolute;
    inset: -14px -20px -14px -20px;
    animation: homeNaviOrbit 11s linear infinite;
    transform: none;
    overflow: visible;
  }

  .home-emblem-navi-wrap {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 58px;
    height: 62px;
    margin-left: -29px;
    animation: homeNaviUpright 11s linear infinite;
    transform: none;
  }

  .home-emblem-navi-viewport,
  .home-emblem-navi-frame {
    width: 52px;
    height: 52px;
  }

  .home-emblem-navi-viewport {
    height: 56px;
    animation: homeNaviFloat 2.1s ease-in-out infinite;
  }

  .home-emblem-glow {
    width: min(90vw, 260px);
    height: min(34vw, 110px);
  }

  .home-hub-taste-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0 0.5rem;
    align-items: start;
  }

  .home-taste-item {
    flex: none;
    width: auto;
    min-width: 0;
  }

  .home-taste-item img {
    width: 100%;
    max-width: 3.35rem;
    height: auto;
    aspect-ratio: 1;
    flex-shrink: 0;
    display: block;
    margin: 0 auto;
    object-fit: cover;
  }

  .hero-home-tagline {
    font-size: 1.1rem;
  }
}

@media (max-width: 560px) {
  .home-hub-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .home-mosaic--menu {
    grid-row: auto;
    min-height: 9.5rem;
  }

  .home-mosaic--world,
  .home-mosaic--game {
    min-height: 5rem;
  }

  .home-mosaic--menu {
    grid-row: auto;
    min-height: 10.5rem;
  }

  .home-emblem-stage {
    margin-bottom: 0.15rem;
  }

  .home-hub-dock-actions {
    flex-direction: column;
    width: 100%;
  }

  .home-hub-dock-primary,
  .home-hub-dock-secondary {
    width: 100%;
    justify-content: center;
  }

  .home-hub-dock-meta {
    flex-direction: column;
    gap: 0.2rem;
  }

  .home-hub-dock-dot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .hero-glow {
    animation: none;
    filter: blur(60px);
  }

  .home-hub-loot-track,
  .home-hub-loot-item,
  .home-mosaic-cover,
  .home-emblem-orbit,
  .home-emblem-navi-wrap,
  .home-emblem-navi-viewport,
  .home-emblem-navi-frame,
  .home-emblem-navi-aura,
  .home-emblem-navi-pix,
  .home-emblem-glow,
  .home-ambiance-bg,
  .home-taste-item img,
  .home-hub-dock-primary,
  .home-hub-dock-glyph,
  .home-hub-dock-aura {
    animation: none !important;
  }

  .home-emblem-navi-frame {
    animation: none !important;
    opacity: 0 !important;
  }

  .home-emblem-navi-frame--0 {
    opacity: 1 !important;
  }

  .home-loot-field {
    display: none;
  }
}
