/* Landing publique modbloks.com — pas de logo (ADR 0079 / 0.5.2.7) */

:root {
  --ink: #0c1218;
  --ink-soft: #1a2430;
  --fog: #c8d4e0;
  --fog-dim: #8a9aab;
  --steel: #3d6b8c;
  --steel-bright: #5a8fb0;
  --ember: #c45c2a;
  --ember-glow: rgba(196, 92, 42, 0.35);
  --glass: rgba(14, 22, 32, 0.55);
  --font-display: "Syne", "Figtree", sans-serif;
  --font-body: "Figtree", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--fog);
  background: var(--ink);
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 15% 20%, rgba(61, 107, 140, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 60% at 85% 75%, var(--ember-glow), transparent 50%),
    linear-gradient(165deg, var(--ink) 0%, var(--ink-soft) 48%, #071018 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 11px,
    rgba(200, 212, 224, 0.03) 11px,
    rgba(200, 212, 224, 0.03) 12px
  );
  pointer-events: none;
  opacity: 0.7;
}

@keyframes drift {
  from {
    filter: hue-rotate(0deg) brightness(1);
  }
  to {
    filter: hue-rotate(8deg) brightness(1.05);
  }
}

.hero {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  min-height: 100dvh;
  padding: clamp(1.5rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  animation: rise 0.9s ease-out both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 10vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #f2f6fa;
  text-shadow: 0 0 40px rgba(90, 143, 176, 0.35);
}

.status {
  margin: 0;
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  border-bottom: 1px solid rgba(196, 92, 42, 0.45);
  padding-bottom: 0.2rem;
  animation: pulse-soft 3.2s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

.invite {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  font-weight: 550;
  line-height: 1.35;
  color: #e8eef4;
  max-width: 28ch;
}

.promise {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--fog-dim);
  max-width: 36ch;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 2px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--steel-bright);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--steel);
  color: #f5f9fc;
  box-shadow: 0 8px 28px rgba(61, 107, 140, 0.35);
}

.btn-primary:hover {
  background: var(--steel-bright);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--glass);
  color: var(--fog);
  border: 1px solid rgba(200, 212, 224, 0.28);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: rgba(200, 212, 224, 0.55);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 420px) {
  .cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .status,
  .hero {
    animation: none;
  }
}
