/* ==========================================================
   Yes2Dev — Page de maintenance
   Style minimaliste · Inter · couleurs du logo
   ========================================================== */

:root {
  --teal: #77A3B3;
  --teal-strong: #4E8396;
  --copper: #C67B3F;
  --ink: #0F172A;
  --ink-2: #475569;
  --ink-3: #94A3B8;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fond : grille de points discrète + halo aux couleurs de la marque */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(600px 300px at 50% 38%, rgba(119,163,179,.14), transparent 70%),
    radial-gradient(420px 220px at 62% 52%, rgba(198,123,63,.08), transparent 70%),
    radial-gradient(circle, rgba(15,23,42,.09) 1px, transparent 1.2px) 0 0 / 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 40%, transparent 100%);
}

/* ---------- Header ---------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
}
.logo { width: 64px; height: 64px; display: block; }

.lang { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  border: 0;
  background: none;
  font: 500 13px/1 var(--font);
  letter-spacing: .04em;
  color: var(--ink-3);
  padding: 8px 6px;
  cursor: pointer;
  transition: color .2s;
}
.lang-btn:hover { color: var(--ink-2); }
.lang-btn.is-active { color: var(--ink); }
.lang-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.lang-sep { color: var(--line); font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px 48px;
}
.hero > * { animation: up .9s var(--ease) both; }
.hero > :nth-child(2) { animation-delay: .08s; }
.hero > :nth-child(3) { animation-delay: .16s; }
.hero > :nth-child(4) { animation-delay: .24s; }

@keyframes up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.pulse {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--copper);
}
.pulse::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--copper);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(2.8); opacity: 0; }
}

.title {
  font-size: clamp(40px, 7.5vw, 76px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.04em;
  margin-bottom: 24px;
}
.accent {
  background: linear-gradient(90deg, var(--teal-strong) 0%, var(--teal) 45%, var(--copper) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.text {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 40px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px 0 18px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: var(--ink);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,.2), 0 8px 24px -8px rgba(15,23,42,.35);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cta svg { width: 18px; height: 18px; flex: none; }
.cta .arrow { margin-left: 2px; opacity: .6; transition: transform .25s var(--ease), opacity .25s; }
.cta:hover {
  background: #1E293B;
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(15,23,42,.2), 0 12px 28px -8px rgba(15,23,42,.4);
}
.cta:hover .arrow { transform: translateX(3px); opacity: 1; }
.cta:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  font-size: 13px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .header { padding: 16px; }
  .logo { width: 52px; height: 52px; }
  .badge { margin-bottom: 22px; }
  .title { margin-bottom: 18px; }
  .text { font-size: 16px; margin-bottom: 32px; }
  .cta { width: 100%; max-width: 360px; justify-content: center; }
  .footer { padding: 20px 16px; flex-direction: column; align-items: center; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
