:root {
  --blue: #14307A;      /* "Uza" : bleu foncé */
  --red: #A3141F;       /* "Cash" : rouge foncé */
  --ink: #1B2238;
  --muted: #5A637C;
  --paper: #F6F7FB;
  --line: #DDE1EC;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) clamp(1.25rem, 5vw, 3rem) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- Logotype ---------- */
.wordmark {
  margin: 0;
  font-family: "Sora", "Public Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(3.25rem, 17vw, 11.5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.wordmark .uza  { color: var(--blue); display: inline-block; }
.wordmark .cash { color: var(--red);  display: inline-block; }

/* Filet bicolore sous le logotype */
.rule {
  height: 6px;
  width: 100%;
  margin: clamp(1.25rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 3rem);
  background: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50% 100%);
  transform-origin: left center;
}

/* ---------- Contenu ---------- */
.content { max-width: 40rem; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.9rem 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--red);
}

.headline {
  margin: 0 0 1rem;
  font-family: "Sora", "Public Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--muted);
}

/* ---------- Compte à rebours (optionnel) ---------- */
.countdown { margin: 0 0 2rem; }
.countdown[hidden] { display: none; }
.countdown-label {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.countdown-grid {
  display: flex;
  gap: 1.75rem;
  margin: 0;
}
.countdown-grid div { display: flex; flex-direction: column-reverse; }
.countdown-grid dt { font-size: 0.85rem; color: var(--muted); }
.countdown-grid dd {
  margin: 0;
  font-family: "Sora", "Public Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

/* ---------- Bouton ---------- */
.contact {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.contact:hover { background: var(--red); }

a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Pied de page ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.footer p { margin: 0; }
.footer a { color: var(--blue); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- Animation d'entrée : une seule séquence ---------- */
@media (prefers-reduced-motion: no-preference) {
  .wordmark .uza  { animation: from-left 0.8s cubic-bezier(.2,.7,.2,1) both; }
  .wordmark .cash { animation: from-right 0.8s cubic-bezier(.2,.7,.2,1) both; }
  .rule           { animation: grow 0.7s cubic-bezier(.2,.7,.2,1) 0.6s both; }
  .content        { animation: show 0.6s ease 1s both; }
}

@keyframes from-left  { from { opacity: 0; transform: translateX(-2.5rem); } }
@keyframes from-right { from { opacity: 0; transform: translateX(2.5rem); } }
@keyframes grow       { from { transform: scaleX(0); } }
@keyframes show       { from { opacity: 0; } }
