:root {
  --navy: #0E1A26;
  --navy-deep: #081119;
  --cream: #F3EEE2;
  --gold: #E0A458;
  --turquoise: #2EC4B6;
  --terracotta: #D9694F;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

html, body {
  height: 100%;
}

body {
  background: radial-gradient(circle at 50% -10%, #142433 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--cream);
  font-family: var(--font-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- fond quadrillage type plan de construction --- */
.blueprint-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 238, 226, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 238, 226, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 40%, black 0%, transparent 75%);
}

.site {
  width: 100%;
  max-width: 960px;
   padding: 160px 24px 40px;
  z-index: 1;
}

/* --- eyebrow / header --- */
.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(224, 164, 88, 0.35);
  background: rgba(224, 164, 88, 0.08);
  padding: 7px 14px;
  border-radius: 100px;
}
.tag svg { color: var(--gold); flex-shrink: 0; }

.brand-mark {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 15px;
  color: var(--cream);
  opacity: 0.85;
}

/* --- hero --- */
.hero {
  text-align: center;
  margin-bottom: 48px;
}

.headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.headline .accent {
  color: var(--turquoise);
}

.sub {
  margin-top: 20px;
  font-size: 1.05rem;
  color: rgba(243, 238, 226, 0.65);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- illustration signature --- */
.site-illustration {
  margin: 0 auto 48px;
  max-width: 820px;
}

.skyline {
  width: 100%;
  height: auto;
  display: block;
}

.stall {
  transition: height 1.4s cubic-bezier(0.22, 1, 0.36, 1), y 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.crane {
  opacity: 0.85;
}

.progress-caption {
  text-align: center;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 238, 226, 0.5);
}

.progress-caption #progressPercent {
  color: var(--gold);
  font-weight: 700;
}

/* --- compte à rebours --- */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 560px;
  margin: 0 auto 40px;
}

.plate {
  position: relative;
  background: linear-gradient(160deg, #16283A 0%, #0E1D2B 100%);
  border: 1px solid rgba(224, 164, 88, 0.25);
  border-radius: 10px;
  padding: 18px 8px 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25) inset, 0 4px 14px rgba(0,0,0,0.3);
}

/* rivets aux coins, clin d'oeil "plaque de chantier" */
.plate::before,
.plate::after {
  content: '';
  position: absolute;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.7;
}
.plate::before { left: 8px; }
.plate::after { right: 8px; }

.plate-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

.plate-label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- footer --- */
.footer {
  text-align: center;
  font-size: 13px;
  color: rgba(243, 238, 226, 0.45);
}

.footer strong {
  color: var(--turquoise);
  font-weight: 600;
}

/* --- responsive --- */
@media (max-width: 560px) {
  .countdown { gap: 8px; }
  .plate { padding: 14px 4px 10px; border-radius: 8px; }
  .eyebrow-row { justify-content: center; text-align: center; }
}

/* --- accessibilité: réduction de mouvement --- */
@media (prefers-reduced-motion: reduce) {
  .stall { transition: none; }
}
