/**
 * Mini accueil public — avant la page de connexion.
 */
#main-content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.public-accueil {
  --dfm-navy: #001a4d;
  --dfm-blue: #0047ab;
  position: relative;
  min-height: 100dvh;
  color: #f8fafc;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
}

.public-accueil__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #020617;
  background-image: var(--accueil-bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
}

.public-accueil__overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(0, 18, 51, 0.88) 0%, rgba(0, 26, 77, 0.62) 42%, rgba(2, 6, 23, 0.35) 100%);
}

.public-accueil__inner {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  max-width: 42rem;
}

.public-accueil__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  text-decoration: none;
  color: inherit;
}

.public-accueil__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.35rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.public-accueil__name {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.public-accueil__infinity {
  font-weight: 400;
  opacity: 0.85;
}

.public-accueil__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93c5fd;
}

.public-accueil__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}

.public-accueil__lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #e2e8f0;
  max-width: 34rem;
}

.public-accueil__meta {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.public-accueil__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  border: none;
  border-radius: 0.7rem;
  background: #2563eb;
  color: #fff !important;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
  width: fit-content;
  cursor: pointer;
}

.public-accueil__cta:hover {
  background: #1d4ed8;
}

.public-accueil__install-hint {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.public-accueil__install-hint.hidden {
  display: none;
}

.public-accueil__foot {
  margin-top: 2.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93c5fd;
}

@media (max-width: 640px) {
  .public-accueil__inner {
    justify-content: flex-end;
    padding-bottom: 2.5rem;
  }
}
