/* Pages de connexion : panneau sombre d'écrans d'exemple à gauche, formulaire à droite ; le panneau disparaît sur téléphone. */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 30%); background: var(--surface); }
.auth-panel { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 48px 56px 28px; min-height: 100vh; background: var(--surface); }
.auth-logo { font-size: 56px; }
.auth-body { flex: 1; width: 100%; max-width: 380px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.auth-card { display: flex; flex-direction: column; gap: 18px; }
.auth-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-card h1 { font-size: 28px; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.auth-card p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.auth-head .lang-form .select { width: 130px; }
.auth-card .auth-head + p { margin-top: -10px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .btn-primary { height: 44px; font-size: 15px; }
.auth-footer { font-size: 13px; color: var(--text-2); display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; }
.auth-footer form { margin: 0; }
.auth-player { width: 100%; max-width: 380px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.auth-player a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }

.auth-hero {
  position: relative; display: flex; flex-direction: column; gap: 40px; min-height: 100vh; padding: 56px 0 0; overflow: hidden; color: #e8eef5;
  background:
    linear-gradient(rgba(106, 168, 224, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(106, 168, 224, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(ellipse at 55% 60%, #17345e 0%, #0b1f3a 55%, #081628 100%);
}
.hero-text { padding: 0 72px; max-width: 920px; }
.hero-live { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #9aaabd; }
.hero-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3cb37a; box-shadow: 0 0 0 4px rgba(60, 179, 122, 0.2); }
.hero-title { margin: 0 0 18px; font-size: clamp(30px, 3.2vw, 46px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.hero-title em { font-style: normal; white-space: nowrap; color: #6aa8e0; }
.hero-lead { margin: 0; max-width: 480px; font-size: 17px; line-height: 1.5; color: #c4d0de; }

.hero-wall {
  flex: 1; align-self: center; display: grid; grid-template-columns: 1fr 1.1fr 0.8fr; grid-template-rows: 1fr 1fr; gap: 18px;
  width: min(84%, 900px); max-height: 540px; margin-bottom: 72px; transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
}
.hero-screen {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; overflow: hidden; border: 5px solid #050d18;
  border-radius: 8px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45); min-height: 0;
}
.hero-screen strong { font-size: clamp(18px, 2vw, 30px); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.hs-tag { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; }
.hs-small { font-size: 13px; opacity: 0.85; }
.hs-event { justify-content: flex-end; color: #fff; background: linear-gradient(180deg, #f3b26b 0%, #e5866a 45%, #8a4b78 100%); }
.hs-event .hs-tag { position: absolute; top: 18px; left: 20px; }
.hs-sun { position: absolute; top: 22%; right: 18%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: #fbe3a0; }
.hs-hill { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 70%; border-radius: 50% 50% 0 0; background: #5b2f63; }
.hs-event strong, .hs-event .hs-small { position: relative; }
.hs-weather { color: #fff; background: linear-gradient(180deg, #6aa8e0, #3f86cf); justify-content: space-between; }
.hs-temp { display: flex; align-items: center; gap: 14px; font-size: clamp(28px, 3vw, 46px); font-weight: 500; }
.hs-temp .i { width: 1em; height: 1em; color: #fde68a; }
.hs-days { display: flex; gap: 8px; }
.hs-days span { flex: 1; white-space: nowrap; padding: 5px 6px; text-align: center; font-size: 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); }
.hs-agenda { grid-row: span 2; color: #0b1f3a; background: #fff; gap: 10px; }
.hs-agenda ol { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hs-agenda li { display: flex; flex-direction: column; gap: 2px; padding-left: 12px; border-left: 3px solid #2f6fad; font-size: 15px; }
.hs-time { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; color: #5a6b80; }
.hs-goal { flex-direction: row; align-items: center; gap: 18px; color: #0b1f3a; background: #fff; }
.hs-ring { flex: none; display: grid; place-items: center; width: clamp(80px, 8vw, 120px); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#1e8e5a 0 82%, #e3e8ee 82% 100%); }
.hs-ring b { display: grid; place-items: center; width: 76%; aspect-ratio: 1; border-radius: 50%; background: #fff; font-size: clamp(16px, 1.6vw, 24px); font-weight: 500; }
.hs-goal-text { display: flex; flex-direction: column; gap: 6px; }
.hs-room { color: #fff; background: linear-gradient(160deg, #3f7d5a, #24553b); justify-content: space-between; }
.hs-room strong { font-size: clamp(28px, 3vw, 46px); }

.hero-ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; overflow: hidden; display: flex; align-items: center; border-top: 1px solid rgba(154, 170, 189, 0.2); background: rgba(5, 13, 24, 0.55); }
.hero-ticker-track { display: flex; flex: none; gap: 40px; padding-left: 40px; white-space: nowrap; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; color: #c4d0de; animation: hero-scroll 40s linear infinite; }
.hero-ticker-track span { display: inline-flex; align-items: center; gap: 10px; }
.hero-ticker-track span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3cb37a; }
@keyframes hero-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero-ticker-track { animation: none; } }

@media (max-width: 1100px) {
  .hero-text { padding: 0 48px; }
  .hero-wall { grid-template-columns: 1fr 1fr; }
  .hs-agenda { display: none; }
}
@media (max-width: 860px) {
  .auth-page { grid-template-columns: minmax(0, 1fr); }
  .auth-hero { display: none; }
  .auth-panel { padding: 32px 20px 20px; gap: 32px; }
  .auth-body { justify-content: flex-start; }
  .auth-logo { font-size: 40px; }
  .auth-card h1 { font-size: 24px; }
}
