:root{
  --bg:#0f1115;
  --bg-soft:#131722;
  --text:#e7e7ea;
  --muted:#b7b9c0;
  --brand:#c81d25;
  --brand-600:#a9161c;
  --card:#151a26;
  --border:#232839;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --gutter: clamp(20px, 5vw, 80px);
}

*{ box-sizing:border-box }
html,body{ height:100% }

body{
  margin:0;
  min-height:100svh; /* mieux sur mobile que 100vh */
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(200,29,37,.18), transparent 60%), var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  display:grid;
  place-items:center;
  padding: var(--gutter);
}

.container{
  width:min(1000px, 100%);
  text-align:center;
}

/* ---------- Brand ---------- */
.brand{
  display:inline-flex;
  align-items:center;
  gap:14px;
  margin-bottom: 6px; /* badge va gérer son propre écart */
}

.brand-stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;          /* espace logo ↔ badge */
  margin-bottom: 12px;/* espace sous le bloc */
}



.brand__logo{
  border-radius:12px;
  display:grid; place-items:center; font-weight:900;
}
.brand__logo img{ max-height: 100%; max-width: 100%; object-fit: contain; }
.brand__text{
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 900;
  letter-spacing: .3px;
}

/* ---------- Title & lead ---------- */
h1{
  font-size: clamp(28px, 6vw, 56px);
  line-height:1.1;
  margin: 10px 0 12px;
}
.lead{
  color: var(--muted);
  font-size: clamp(16px, 2.6vw, 18px);
  margin: 0 auto 26px;
  max-width: 70ch;
}

/* ---------- Countdown ---------- */
.countdown{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin: 24px auto 18px;
}
.tile{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.num{
  font-size: clamp(26px, 6vw, 42px);
  font-weight: 900;
  line-height:1;
}
.lbl{
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
  display:block;
}

/* ---------- Progress ---------- */
.progress{
  height: 8px;
  background: #0c0f16;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin: 22px auto 0; /* un peu plus d’air sous les tuiles */
  width: min(560px, 100%);
}
.progress__bar{
  height:100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-600));
  width: 0%;
  transition: width .6s ease;
}

/* ---------- CTA & footer ---------- */
.btn{
  display:inline-block; margin-top: 16px;
  padding: 12px 16px; border-radius: 12px;
  font-weight: 800; letter-spacing:.2px;
  background: var(--brand); color:#fff; border: none;
  box-shadow: var(--shadow);
  text-decoration:none;
}
.btn:hover{ opacity:.92 }

.footer{
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Badge (descendu sous le logo) ---------- */
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--border);
  border-radius:999px;
  padding:6px 10px;
  background:#0c0f16;
  color:var(--muted);
  font-size:13px;
	margin-top: 0;      /* on laisse le stack gérer l’espace */
}


.badge .dot{
  width:8px; height:8px; border-radius:50%;
  background:#2ecc71; box-shadow:0 0 16px rgba(46,204,113,.6)
}

/* ---------- Responsive ---------- */
@media (max-width: 720px){
  .countdown{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
