/* ============================================================
   PXD ELITE — Le Protocole Sèche PXD
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-elev: #131316;
  --bg-elev-2: #17171b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --red: #e6142c;
  --red-bright: #ff2d44;
  --red-dim: #8c0f1f;
  --red-glow: rgba(230, 20, 44, 0.45);
  --red-cta: #e8151f;
  --red-cta-hover: #ff2029;
  --red-cta-glow: rgba(232, 21, 31, 0.45);

  --white: #f6f6f8;
  --grey: #a6a6ae;
  --grey-dim: #6f6f78;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 560px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ambient background glow */
.glow-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 420px at 50% 0%, rgba(230, 20, 44, 0.16), transparent 70%),
    radial-gradient(480px 380px at 85% 60%, rgba(230, 20, 44, 0.08), transparent 70%);
}

.page {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.accent {
  color: var(--red-bright);
}

/* ---------- Brand header ---------- */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.brand__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(230, 20, 44, 0.35));
}

.brand__word {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
}

.brand__word .accent {
  color: var(--red-bright);
}

/* ---------- Hero copy ---------- */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: 40px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(230, 20, 44, 0.1);
  border: 1px solid rgba(230, 20, 44, 0.4);
  color: var(--red-bright);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(230, 20, 44, 0.18);
}

.headline {
  font-size: clamp(2.15rem, 9vw, 3rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.subtitle {
  max-width: 38ch;
  color: var(--grey);
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 400;
}

.subtitle strong {
  color: var(--white);
  font-weight: 700;
}

/* ---------- "Ce qui t'attend" card ---------- */
.expect-card {
  width: 100%;
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-elev-2) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  margin-bottom: 40px;
}

.expect-card__title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-bottom: 20px;
}

.expect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.expect-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.expect-item__icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(230, 20, 44, 0.14);
  border: 1px solid rgba(230, 20, 44, 0.4);
  color: var(--red-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.expect-item__icon svg {
  width: 13px;
  height: 13px;
}

.expect-item__text {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  padding-top: 2px;
}

.expect-item__text .dim {
  color: var(--grey-dim);
  font-weight: 500;
}

/* ---------- Signup form (Brevo) ---------- */
.signup {
  width: 100%;
  scroll-margin-top: 32px;
  margin-bottom: 8px;
}

.brevo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.entry__field {
  width: 100%;
}

.input.brevo-email {
  display: block;
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input.brevo-email::placeholder {
  color: var(--grey-dim);
}

.input.brevo-email:focus {
  border-color: var(--red-cta);
  box-shadow: 0 0 0 3px rgba(232, 21, 31, 0.18);
}

.entry__error {
  display: block;
  color: #ff6b6b;
  font-size: 12.5px;
  text-align: left;
}

.entry__error:empty {
  display: none;
}

.brevo-optin-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}

.brevo-checkbox {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red-cta);
  cursor: pointer;
}

.brevo-optin-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--grey-dim);
}

.brevo-optin-sub {
  display: block;
  margin-top: 4px;
}

.input--hidden {
  display: none;
}

/* ---------- CTA (Brevo submit button) ---------- */
.cta-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 18px 24px;
  border-radius: 14px;
  border: none;
  background: var(--red-cta);
  color: #fff;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 34px -10px var(--red-cta-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.cta-button:hover {
  background: var(--red-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -10px var(--red-cta-glow), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.cta-button:active {
  transform: translateY(0);
  filter: brightness(0.92);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 32px;
  color: var(--grey-dim);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ---------- Responsive scale-up ---------- */
@media (min-width: 640px) {
  .page {
    padding-top: 72px;
  }

  .brand__logo {
    width: 76px;
    height: 76px;
  }

  .headline {
    font-size: 3.1rem;
  }
}

@media (min-width: 900px) {
  :root {
    --container: 600px;
  }

  .page {
    padding-top: 88px;
  }
}
