/* =========================================================================
   Accueil — bandeau, État du serveur, Actualités, Événements (refonte 2026-11-18)
   Chargé seulement par home.blade.php, après colophon.css. Maquette : apercu-accueil-proposition.html
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,400&display=swap');

/* ---------- carte du bandeau ---------- */
.sh-hero-card {
  width: 560px; padding: 22px 32px 24px;
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--color-neutral-900) 22%, transparent);
}
.sh-hero-card .sh-hero-kick {
  display: flex; align-items: center; gap: 9px; margin: 0 0 8px; text-align: left;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--color-accent-700);
}
.sh-hero-kick b { font-weight: 600; }
.sh-hero-kick span { color: var(--color-accent-600); letter-spacing: 0; }
.sh-hero-card h1 { font-size: 37px; line-height: 1.05; white-space: nowrap; }
.sh-hero-card p.sh-hero-lead { font-size: 14px; margin-top: 10px; text-align: left; }
.sh-hero-card p.sh-hero-quote {
  margin-top: 10px; text-align: left;
  font-family: var(--font-heading); font-style: italic; font-size: 16.5px; line-height: 1.3; color: var(--color-text);
}
.sh-hero-actions { flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sh-hero-actions .sh-btn { min-height: 40px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
.sh-btn-gold {
  border-color: var(--color-accent-500); color: var(--color-accent-900);
  background: linear-gradient(180deg, var(--color-accent-300), var(--color-accent-400));
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 55%, transparent), 0 2px 6px color-mix(in srgb, var(--color-accent-800) 28%, transparent);
  transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.sh-btn-gold:hover {
  background: linear-gradient(180deg, var(--color-accent-200), var(--color-accent-300));
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 55%, transparent), 0 5px 12px color-mix(in srgb, var(--color-accent-800) 30%, transparent);
}

/* ---------- État du serveur ---------- */
.sh-live {
  position: absolute; right: var(--page-pad); bottom: -1px; width: 250px;
  border-bottom: 0; box-shadow: 0 12px 32px color-mix(in srgb, var(--color-neutral-900) 22%, transparent);
}
.sh-live-head {
  margin: 0; padding: 7px 14px; background: var(--color-ink); color: var(--color-accent-300);
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
}
.sh-live-state { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px 8px; }
.sh-live-light { position: relative; flex: none; width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: var(--color-neutral-500); }
.sh-live[data-status-state="online"] .sh-live-light { background: var(--color-online); }
.sh-live[data-status-state="maintenance"] .sh-live-light { background: var(--color-accent); }
.sh-live[data-status-state="online"] .sh-live-light::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--color-online); opacity: 0; animation: sh-ping 2.2s ease-out infinite;
}
@keyframes sh-ping { 0% { transform: scale(.6); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.sh-live-state b { display: block; font-family: var(--font-heading); font-size: 22px; font-weight: 600; line-height: 1; color: var(--color-neutral-700); }
.sh-live[data-status-state="online"] .sh-live-state b { color: var(--color-online); }
.sh-live[data-status-state="maintenance"] .sh-live-state b { color: var(--color-accent-700); }
.sh-live-state small { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--color-neutral-800); }
.sh-live-state small[hidden] { display: none; }
.sh-live-zeny {
  display: grid; grid-template-columns: 24px auto 1fr; align-items: center; gap: 2px 8px;
  margin: 0 14px 12px; padding: 6px 10px;
  background: var(--hue-gold-wash); border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent); border-radius: var(--radius-md);
}
.sh-live-zeny img { grid-row: 2; width: 24px; height: auto; filter: drop-shadow(0 2px 2px color-mix(in srgb, var(--color-accent-900) 30%, transparent)); }
.sh-live-zeny small { grid-column: 1 / -1; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-neutral-700); }
.sh-live-zeny b { grid-row: 2; font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: var(--color-accent-800); white-space: nowrap; }
.sh-live-trend {
  grid-row: 2; justify-self: end; white-space: nowrap;
  font-size: 10.5px; color: var(--color-accent-800); background: #fff;
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent); border-radius: 999px; padding: 1px 7px;
}
.sh-live-trend[hidden] { display: none; }

/* Personnages assis sur le cadre. Image du générateur affichée en 200 × 200 ; en pose assise, le bas du personnage
   est vers 192-197 px : la ligne des 191 px tombe sur le haut du cadre (pieds posés sur le bord, titre dégagé). Ils apparaissent ensemble, en fondu, une fois leurs images chargées. */
.sh-crew { position: absolute; right: 6px; top: -191px; z-index: 3; display: flex; height: 200px; pointer-events: none; }
.sh-crew-seat { position: relative; flex: none; width: 200px; height: 200px; opacity: 0; transition: opacity .35s ease; }
.sh-crew-seat + .sh-crew-seat { margin-left: -138px; }
.sh-crew-seat.is-ready { opacity: 1; }
.sh-crew-seat picture { display: block; }
.sh-crew-seat img { width: 200px; height: 200px; max-width: none; filter: drop-shadow(0 2px 2px color-mix(in srgb, var(--color-neutral-900) 30%, transparent)); }

/* ---------- Actualités ---------- */
.sh-head-link { font-size: 12.5px; color: var(--color-accent-700); white-space: nowrap; }
.sh-feat {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px;
  margin: 14px -12px 6px; padding: 14px 12px 16px; border-radius: var(--radius-lg);
  color: inherit; transition: background-color .16s ease;
}
.sh-feat:hover { text-decoration: none; background: color-mix(in srgb, var(--color-accent-200) 35%, transparent); }
.sh-feat-vig { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 1px var(--color-divider), 0 3px 8px color-mix(in srgb, var(--color-neutral-900) 15%, transparent); }
.sh-feat-body { display: block; min-width: 0; }
.sh-feat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sh-feat-meta time, .sh-nlist time { font-size: 11.5px; color: var(--color-neutral-700); font-feature-settings: 'tnum'; }
.sh-feat-meta time { margin-left: auto; }
.sh-feat-une { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent-700); }
.sh-feat h3 { font-size: 29px; line-height: 1.08; margin: 10px 0 8px; }
.sh-feat-ex { display: block; font-size: 14px; color: var(--color-neutral-800); text-wrap: pretty; }
.sh-feat .sh-more { display: inline-block; margin-top: 10px; }
.sh-chip { display: inline-block; padding: 2px 8px 1px; border-radius: 3px; font-size: 10px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.sh-chip-sea { background: var(--hue-sea-wash); color: var(--hue-sea); }
.sh-chip-leaf { background: var(--hue-leaf-wash); color: var(--hue-leaf); }
.sh-chip-gold { background: var(--hue-gold-wash); color: var(--color-accent-800); }
.sh-nlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-divider); }
.sh-nlist li { border-bottom: 1px solid var(--color-divider); }
.sh-nlist a {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) auto 16px; align-items: center; gap: 14px;
  margin: 0 -12px; padding: 12px; border-radius: var(--radius-md); color: inherit; transition: background-color .16s ease;
}
.sh-nlist a:hover { text-decoration: none; background: color-mix(in srgb, var(--color-accent-200) 35%, transparent); }
.sh-nlist .sh-chip { justify-self: start; }
.sh-nlist-title { font-family: var(--font-heading); font-size: 18px; font-weight: 600; line-height: 1.2; }
.sh-nlist svg { color: var(--color-neutral-600); }

/* ---------- Événements ---------- */
.sh-evlist { list-style: none; margin: 10px 0 0; padding: 0; }
.sh-evlist li + li { border-top: 1px solid var(--color-divider); }
.sh-evlist a {
  display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  margin: 0 -10px; padding: 11px 10px; border-radius: var(--radius-md); color: inherit; transition: background-color .16s ease;
}
.sh-evlist a:hover { text-decoration: none; background: color-mix(in srgb, var(--color-accent-200) 35%, transparent); }
.sh-evtile {
  display: grid; place-items: center; width: 50px; height: 54px; padding-top: 4px; line-height: 1;
  background: var(--color-neutral-100); border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
  border-radius: var(--radius-md); box-shadow: inset 0 3px 0 var(--color-accent-400);
}
.sh-evtile b { font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: var(--color-accent-800); }
.sh-evtile small { margin-top: -8px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-neutral-700); }
.is-today .sh-evtile { background: var(--color-ink); border-color: var(--color-ink); }
.is-today .sh-evtile b { color: var(--color-accent-300); }
.is-today .sh-evtile small { color: var(--color-neutral-300); }
.sh-ev-body { display: block; min-width: 0; line-height: 1.25; }
.sh-ev-title { display: block; font-family: var(--font-heading); font-size: 17.5px; font-weight: 600; }
.sh-ev-when { display: block; margin-top: 3px; font-size: 12px; color: var(--color-neutral-700); }
.sh-ev-rec { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 11.5px; color: var(--color-accent-700); }
.sh-ev-badge { padding: 2px 7px; border-radius: 999px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.sh-ev-badge-live { background: color-mix(in srgb, var(--color-online) 12%, #fff); color: var(--color-online); border: 1px solid color-mix(in srgb, var(--color-online) 35%, transparent); }
.sh-events .sh-events-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }

/* ---------- écrans étroits ---------- */
@media (max-width: 1000px) {
  .sh-hero-card, .sh-live { width: auto; box-shadow: none; }
  .sh-hero-card { border-top: 3px solid var(--color-accent); }
  .sh-live { position: static; border: 0; border-top: 1px solid var(--color-divider); }
  .sh-crew { display: none; }
}
@media (max-width: 760px) {
  .sh-hero-card h1 { white-space: normal; font-size: 34px; }
  .sh-hero-actions .sh-btn-gold { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .sh-hero-card { padding: 20px 20px 22px; }
  .sh-feat { grid-template-columns: 1fr; gap: 10px; }
  .sh-feat-vig { width: 52px; height: 52px; }
  .sh-feat h3 { font-size: 25px; }
  .sh-nlist a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .sh-nlist .sh-chip { grid-column: 1 / -1; }
  .sh-nlist svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sh-live-light::after { animation: none !important; }
  .sh-btn-gold:hover { transform: none; }
  .sh-crew-seat { transition: none; }
}
