:root{
  --bg: rgb(36, 36, 36);
  --fg: #fff;
  --muted: rgba(255,255,255,.55);
  --line: rgba(255,255,255,.18);
}
*{ box-sizing: border-box; }
html, body{ margin: 0; }
html{ height: 100%; }
body{
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Roboto Condensed', sans-serif;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.glow{
  position: fixed; inset: -20%;
  background:
    radial-gradient(40% 35% at 30% 30%, rgba(255,255,255,.08), transparent 70%),
    radial-gradient(35% 30% at 70% 70%, rgba(255,255,255,.06), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift{
  from{ transform: translate(-3%, -2%) rotate(0deg); }
  to  { transform: translate(3%, 2%) rotate(8deg); }
}
.grain{
  position: fixed; inset: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lang{
  position: fixed; top: 20px; right: 30px; z-index: 2;
  display: flex; gap: 4px;
}
.lang a{
  font-weight: 700; letter-spacing: 1px; font-size: 13px;
  color: var(--muted); text-decoration: none;
  border: 1px solid transparent; border-radius: 100px;
  padding: 5px 12px;
  transition: color .2s, border-color .2s;
}
.lang a[aria-current="page"]{ color: var(--fg); border-color: var(--fg); }
.lang a:hover{ color: var(--fg); }

main{
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 30px 20px;
  gap: clamp(18px, 3.5vh, 34px);
}
.logo{
  width: clamp(110px, 18vw, 190px);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.5));
}

.eyebrow{
  font-size: 13px; letter-spacing: 6px; text-transform: uppercase; color: var(--muted);
  margin: 0;
}
h1{
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(40px, 9vw, 120px);
  line-height: .9;
  letter-spacing: -1px;
  text-transform: uppercase;
}
h1 .outline{
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
}

/* compte à rebours */
.countdown{
  display: flex; gap: clamp(8px, 2vw, 18px);
}
.unit{
  min-width: clamp(64px, 11vw, 110px);
  padding: 14px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
}
.unit span{
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 56px);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.unit small{
  display: block; margin-top: 6px;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted);
}

.cta{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 26px;
  border: 1px solid var(--fg); border-radius: 100px;
  color: var(--fg); text-decoration: none;
  font-weight: 700; letter-spacing: 2px; font-size: 14px; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.cta img{ width: 18px; height: 18px; transition: filter .25s; }
.cta:hover{ background: var(--fg); color: var(--bg); }
.cta:hover img{ filter: invert(1); }

footer{
  position: relative; z-index: 1;
  text-align: center; padding: 0 20px 22px;
  font-size: 12px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase;
}

.open .countdown{ display: none; }

@media (max-width: 520px){
  .lang{ top: 14px; right: 14px; }
}
@media (orientation: landscape) and (max-height: 500px){
  .lang{ position: absolute; top: 12px; right: 14px; }
  main{ padding: 54px 20px 20px; gap: 14px; }
  .logo{ width: 72px; }
  h1{ font-size: clamp(30px, 11vh, 56px); }
  .unit{ min-width: 64px; padding: 10px 6px 8px; border-radius: 14px; }
  .unit span{ font-size: 26px; }
  .cta{ padding: 10px 22px; }
  footer{ padding-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce){
  .glow{ animation: none; }
}
