:root {
  --bg: #080808;
  --panel: #171717;
  --ink: #f5f5f2;
  --mute: #a3a3a0;
  --faint: #7f7f7a;
  --line: #333333;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #f5f5f2;
  color: #080808;
}

*:focus-visible {
  outline: 1px solid #f5f5f2;
  outline-offset: 3px;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100svh;
  padding: 48px 20px 56px;
}

.logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.titre {
  margin-top: 40px;
  font-size: clamp(1.8rem, 7vw, 2.25rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-align: center;
}

.intro {
  margin-top: 20px;
  max-width: 448px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mute);
}

.form {
  display: grid;
  gap: 28px;
  width: 100%;
  max-width: 448px;
  margin-top: 40px;
}

.champ {
  display: flex;
  flex-direction: column;
}

.champ label {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--mute);
}

.champ input,
.champ select,
.champ textarea {
  margin-top: 8px;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  color-scheme: dark;
  transition: border-color 0.3s var(--ease);
}

.champ input::placeholder,
.champ textarea::placeholder {
  color: var(--faint);
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.champ textarea {
  resize: none;
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  border: none;
}

.rgpd-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--mute);
}

.rgpd-label input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
}

.rgpd-label input:checked {
  background: var(--ink);
}

.rgpd-label a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rgpd-label a:hover {
  color: var(--ink);
}

button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid rgba(245, 245, 242, 0.3);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

button[type="submit"]:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: wait;
}

.icone {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 448px;
  margin-top: 40px;
  padding: 16px 24px;
  background: #25d366;
  color: #ffffff;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.3s var(--ease);
}

.whatsapp .icone {
  width: 20px;
  height: 20px;
}

.whatsapp:hover {
  filter: brightness(0.95);
}

.noscript {
  margin-top: 32px;
  max-width: 448px;
  text-align: center;
  color: var(--mute);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(8px);
  max-width: min(90vw, 448px);
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 12px 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 640px) {
  .page {
    padding-top: 64px;
  }

  .logo {
    height: 40px;
  }
}
