/**
 * Echolya — landing mode chantier (temporaire).
 */

:root {
  --echolya-navy: #001247;
  --echolya-blue: #1976cf;
  --echolya-purple: #aa86ee;
  --echolya-pink: #f16dd0;
  --echolya-soft: #f8f9fc;
  --echolya-text-secondary: #3d4f6f;
  --echolya-text-muted: #6b7a94;
  --echolya-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --echolya-font-display: "Cormorant Garamond", Georgia, serif;
  --echolya-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html.echolya-construction-html,
body.echolya-construction-body {
  margin: 0;
  min-height: 100%;
  background: var(--echolya-soft);
  color: var(--echolya-navy);
  font-family: var(--echolya-font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.echolya-construction {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(2rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right))
    max(2rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
  text-align: center;
  overflow-x: hidden;
}

.echolya-construction__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 80% at 50% -10%,
    rgba(25, 118, 207, 0.1) 0%,
    rgba(170, 134, 238, 0.06) 42%,
    transparent 70%
  );
  pointer-events: none;
}

.echolya-construction__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.35;
  pointer-events: none;
  animation: echolya-construction-float 9s var(--echolya-ease) infinite alternate;
}

.echolya-construction__orb--blue {
  width: 220px;
  height: 220px;
  top: 8%;
  left: -4%;
  background: rgba(25, 118, 207, 0.22);
}

.echolya-construction__orb--violet {
  width: 180px;
  height: 180px;
  top: 18%;
  right: -6%;
  background: rgba(170, 134, 238, 0.2);
  animation-delay: -3s;
}

.echolya-construction__orb--rose {
  width: 140px;
  height: 140px;
  bottom: 12%;
  left: 12%;
  background: rgba(241, 109, 208, 0.16);
  animation-delay: -5s;
}

@keyframes echolya-construction-float {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(12px) scale(1.04);
  }
}

.echolya-construction__brand {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
}

.echolya-construction__logo img {
  max-width: min(200px, 42vw);
  height: auto;
  width: auto;
}

.echolya-construction__wordmark {
  font-family: var(--echolya-font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--echolya-navy);
}

.echolya-construction__wave {
  position: relative;
  z-index: 1;
  margin: 0.5rem 0 1.75rem;
  opacity: 0.95;
}

.echolya-construction__wave img {
  display: block;
  width: 200px;
  max-width: 52vw;
  height: auto;
  margin: 0 auto;
}

.echolya-construction__title {
  position: relative;
  z-index: 1;
  font-family: var(--echolya-font-display);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--echolya-navy);
}

.echolya-construction__tagline {
  position: relative;
  z-index: 1;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 1.25rem;
  color: var(--echolya-blue);
}

.echolya-construction__lead {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  margin: 0 0 0.75rem;
  color: var(--echolya-text-secondary);
}

.echolya-construction__status {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  margin: 0 0 2rem;
  color: var(--echolya-text-muted);
}

.echolya-construction__cta {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.echolya-construction__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 12rem;
  padding: 0 2rem;
  border-radius: 999px;
  background: var(--echolya-navy);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 18, 71, 0.18);
  transition: transform 0.2s var(--echolya-ease), box-shadow 0.2s var(--echolya-ease),
    background 0.2s ease;
}

.echolya-construction__button:hover {
  background: #0a2a6e;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 18, 71, 0.22);
}

.echolya-construction__button:focus {
  outline: none;
}

.echolya-construction__button:focus-visible {
  outline: 3px solid var(--echolya-blue);
  outline-offset: 3px;
}

.echolya-construction__note {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  margin: 0;
  color: var(--echolya-text-muted);
}

@media (min-width: 768px) and (max-width: 1024px) {
  .echolya-construction__lead {
    max-width: 32rem;
  }
}

@media (max-width: 430px) {
  .echolya-construction {
    padding-top: max(2.5rem, env(safe-area-inset-top));
  }

  .echolya-construction__button {
    width: 100%;
    max-width: 20rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .echolya-construction__orb {
    animation: none;
  }

  .echolya-construction__button {
    transition: none;
  }
}
