/* SoftCiel — mise en page responsive, sans déformation du visuel */
* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #020b17;
}
body { font-family: Arial, Helvetica, sans-serif; }

.softciel-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  overflow: hidden;
  background: #020b17;
}

/* Le visuel couvre exactement la fenêtre : aucun espace vide ni défilement.
   La scène complète reste visible ; les proportions peuvent s'adapter légèrement
   aux écrans dont le ratio diffère de celui de la maquette. */
.softciel-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  z-index: 5;
  display: block;
  border-radius: 999px;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}
.hotspot:hover { background: rgba(57, 205, 255, 0.08); }
.hotspot:focus-visible { outline: 2px solid #8deaff; outline-offset: 3px; }

/* Zones cliquables relatives au visuel 16:9 */
.home { left: 4.4%; top: 1.2%; width: 5%; height: 8.5%; }
.notifications { left: 12.8%; top: 1.2%; width: 5.2%; height: 8.5%; }
.forum-top { right: 3%; top: 1.2%; width: 13.4%; height: 8.5%; }
.forum-main { z-index: 10; left: 38.1%; top: 65%; width: 22.5%; height: 9.6%; }
.facebook { left: 6%; bottom: 1%; width: 15%; height: 9.2%; }
.news { right: 5%; bottom: 1%; width: 14.5%; height: 9.2%; }

.redirect-countdown {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 80%;
  transform: translateX(-50%);
  display: block;
  max-width: calc(100% - 24px);
  color: rgba(225, 240, 250, .78);
  font: 400 clamp(9px, 0.82vw, 12px)/1.35 Arial, Helvetica, sans-serif;
  letter-spacing: .015em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
.countdown-dot { display: none; }
.countdown-number {
  color: rgba(93, 211, 244, .9);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-shadow: none;
}

/* Texte indépendant : axe légèrement abaissé pour coïncider avec les lignes et losanges. */
.footer-slogan {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 92.9%;
  transform: translate(-50%, -50%);
  margin: 0;
  max-width: 72%;
  color: #eaf3ff;
  font: italic 400 clamp(8px, 1.15vw, 19px)/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: .005em;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 8, 22, .75);
  pointer-events: none;
}

@media (max-width: 600px) {
  .footer-slogan {
    top: 92.9%;
    font-size: clamp(7px, 1.42vw, 9px);
    max-width: 72%;
  }
  .redirect-countdown { top: 80%; font-size: clamp(8px, 2.1vw, 11px); }
}


/* Verrouillage de l'affichage sur une seule page, y compris sur mobile. */
html, body, .softciel-screen {
  max-width: 100%;
  max-height: 100%;
  overscroll-behavior: none;
}
body {
  position: fixed;
  inset: 0;
}
.softciel-screen {
  inset: 0;
}


/* Séparateurs raffinés : petits losanges cyan rappelant ceux des lignes latérales.
   La taille, la position et le reste de la typographie du slogan ne changent pas. */
.footer-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 0.62vw, 10px);
}
.slogan-word {
  display: inline-block;
}
.slogan-separator {
  display: inline-block;
  flex: 0 0 auto;
  color: #20bfff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.38em;
  font-style: normal;
  line-height: 1;
  opacity: .95;
  text-shadow: 0 0 4px rgba(0, 174, 255, .9), 0 0 8px rgba(0, 112, 255, .45);
  transform: translateY(-.04em);
}
