/* Palette
  - Brun profond: #483515
  - Jaune: #F9B233
  - Orange: #FF8200
  - Blanc: #FFFFFF
  - Noir: #000000
*/

:root {
  --bg: #FFFFFF;
  --fg: #1f1b16;
  --muted: #6f6a63;
  --accent: #F9B233;
  --accent-2: #FF8200;
  --ink: #000000;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--fg);
  background: var(--bg);
}

.container {
  width: min(960px, 92%);
  margin-inline: auto;
}

.header { padding: 28px 0 8px; display: flex; justify-content: center; }
.logo { filter: none; }

.main { text-align: center; padding: 24px 0 48px; }
.headline {
  margin: 8px 0 8px;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: clamp(28px, 4.2vw, 44px);
}
.subtitle {
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(14px, 2.4vw, 18px);
  max-width: 56ch;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  gap: 14px;
  margin: 22px auto 28px;
  width: min(680px, 100%);
}
.segment {
  background: #faf8f6;
  border: 1px solid #ece7e2;
  border-radius: 14px;
  padding: 16px 10px;
  backdrop-filter: none;
}
.value {
  display: block;
  font-variant-numeric: tabular-nums; 
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 800;
  line-height: 1;
}
.label {
  display: block;
  margin-top: 6px;
  color: #8c877f;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.signup {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  width: min(560px, 100%);
  margin: 10px auto 12px;
}
.signup input[type="email"],
.signup input[type="tel"] {
  background: #ffffff;
  color: var(--fg);
  border: 1px solid #d9d3cc;
  border-radius: 12px;
  padding: 14px 14px;
  outline: none;
}
.signup input::placeholder { color: #9b958d; }
.signup input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249,178,51,0.25); }

.btn {
  cursor: pointer;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #1f1b16;
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 700;
  transition: transform .06s ease, filter .2s ease;
}
.signup .btn { height: 100%; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn:active { transform: translateY(0); filter: brightness(0.98); }

.form-message { min-height: 20px; margin: 6px 0 0; color: var(--muted); grid-column: 1 / -1; font-size: 14px; }
.form-message.success { color: #2a7a2a; }
.form-message.error { color: #b42318; }

.socials {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 20px 0 0;
}
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e8e2da;
  color: #483515;
}
.social:hover { background: #fff5e1; border-color: #ffd18a; }
.social svg { fill: currentColor; }

.footer { padding: 36px 0 32px; text-align: center; color: #8c877f; }
.footnote { margin: 0; font-size: 13px; }

@media (max-width: 520px) {
  .signup { grid-template-columns: 1fr; }
}
