:root {
  --bg: #0f0e13;
  --text: #f1ece2;
  --muted: #a49f97;
  --red: #d54c56;
  --violet: #8b6cf0;
  --line: rgba(241, 236, 226, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Figtree", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  padding: 16px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  background: rgba(15, 14, 19, 0.8);
  backdrop-filter: blur(8px);
}

.lang-switch button {
  padding: 8px 14px;
  border: 0;
  background: transparent;
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--red);
  color: var(--text);
}

.lang-switch button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: -2px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 16px 64px;
}

.brand {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 640px);
}

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

/* Le logo a un halo transparent tout autour : on remonte le sous-titre dessous. */
.brand-sub {
  margin-top: -9%;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: clamp(14px, 3.4vw, 22px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding-left: 0.32em;
  color: var(--red);
}

.hero-intro {
  max-width: 520px;
  margin: -8px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
}

.player {
  width: min(100%, 380px);
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 0 80px rgba(213, 76, 86, 0.25), 0 0 160px rgba(139, 108, 240, 0.15);
}

.player video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  aspect-ratio: 9 / 16;
  background: #000;
}

.section {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 48px 0;
}

.section-title {
  margin: 0 0 24px;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 5vw, 36px);
  line-height: 1.15;
}

.section-intro {
  margin: -8px 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  position: relative;
  counter-increment: step;
  padding: 0 0 32px 64px;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red);
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--red);
  background: var(--bg);
}

/* Le trait vertical qui relie les étapes */
.step::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--red), var(--line));
}

.step:last-child::after {
  display: none;
}

.step h3 {
  margin: 8px 0 6px;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.modes {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.modes li {
  padding-left: 12px;
  border-left: 2px solid var(--red);
  color: var(--muted);
  font-size: 15px;
}

.modes strong {
  display: block;
  color: var(--text);
  font-weight: 700;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 720px) {
  .tiers {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tier {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 16px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(213, 76, 86, 0.12), rgba(139, 108, 240, 0.06));
}

.tier-views {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: clamp(17px, 5vw, 26px);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tier-label {
  color: var(--muted);
  font-size: 14px;
}

.tier-bonus {
  margin-top: 12px;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--red);
}

.tiers-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.conditions {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.conditions li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.signup {
  padding-bottom: 96px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}

.countdown div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 4px;
  border: 1px solid var(--line);
}

.countdown span {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 9vw, 56px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.started {
  margin: 0 0 32px;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--red);
}

.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signup-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(241, 236, 226, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--red);
}

.signup-form button {
  flex: 1 1 auto;
  padding: 16px 24px;
  border: 0;
  background: var(--red);
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.signup-form button:hover {
  background: #e05d67;
}

.signup-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  font-weight: 500;
}

.form-status.is-error {
  color: #ff8a92;
}

.signup-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
