:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F5;
  --line: #E8E8E8;
  --field-line: #DCDCDC;
  --ink: #141414;
  --muted: #5E5E5E;
  --accent: #8A2BB8;
  --tint: #F6E8FF;
  --on-tint: #7A1FA8;
  --on-tint-strong: #2A0A3A;
  --error: #B3261E;
  --gradient: linear-gradient(135deg, #7C4DFF 0%, #B23FD6 50%, #E0337F 100%);
  --shadow-cta: 0 18px 30px -16px rgba(170, 50, 190, .6);
  --shadow-media: 0 28px 50px -24px rgba(138, 43, 184, .28);
  --radius-card: 28px;
  --radius-field: 16px;
  --radius-pill: 999px;
  --radius-media: 36px;
  --container: 1160px;
  --section-y: 96px;
  --gutter: 24px;
  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-hand: "Caveat", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-cta { transition: none; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}
.skip:focus { left: 24px; top: 12px; }

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  padding: 28px 0 8px;
}
.site-header .wrap,
.confirm-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo img {
  height: 28px;
  width: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--tint);
  color: var(--on-tint);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  min-height: 44px;
}

/* Hero */
.hero {
  padding: 32px 0 96px;
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}
.eyebrow {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero h1 .accent { color: var(--accent); }

.product-sig {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.signup {
  max-width: 520px;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.field {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius-field);
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  min-height: 44px;
}
.field::placeholder { color: #9A9A9A; }
.field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--tint);
}
.field.is-invalid {
  border-color: var(--error);
  box-shadow: none;
}
.field-error {
  min-height: 1.4em;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--error);
}
.field-error:empty { margin: 0; min-height: 0; }

.form-actions { margin-top: 16px; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: transform .18s ease, filter .18s ease;
}
.btn-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.btn-cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.btn-cta:disabled {
  cursor: wait;
  opacity: .85;
  transform: none;
  filter: none;
}
.btn-cta--inline { width: auto; min-width: 280px; }

.micro {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.margo-quote {
  margin: 32px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.margo-quote p { margin: 0 0 16px; }
.margo-quote .exclusive {
  color: var(--ink);
  font-weight: 700;
}
.sign {
  display: inline-block;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 34px;
  color: var(--accent);
  transform: rotate(-3deg);
  line-height: 1;
  margin-top: 4px;
}

.media {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}
.media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-media);
  overflow: hidden;
  background: #E6E6E6;
  box-shadow: var(--shadow-media);
}
.media-frame picture,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Section 1 */
.problem {
  background: var(--bg-alt);
  padding: var(--section-y) 0;
}
.section-lead {
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-lead h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-lead p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}
.section-lead p strong {
  color: var(--ink);
  font-weight: 700;
}

.cards {
  display: grid;
  gap: 20px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.card-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
}
.tag-preview {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--on-tint);
  background: var(--tint);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
}
.preview {
  border-radius: var(--radius-field);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}
.preview img { width: 100%; }
.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.closing {
  margin: 48px auto 0;
  max-width: 760px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
}
.closing .accent { color: var(--accent); }

/* Section 2 */
.privilege {
  padding: var(--section-y) 0;
  background: var(--bg);
}
.privilege-grid {
  display: grid;
  gap: 48px;
  margin-bottom: 48px;
}
.privilege-grid .section-lead { margin-bottom: 0; }
.perk-list { list-style: none; margin: 0; padding: 0; }
.perk-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.perk-list li:first-child { padding-top: 0; }
.perk-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.perk-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--accent);
  line-height: 1.2;
}
.perk-list h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
}
.perk-list p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.reassure {
  display: grid;
  gap: 24px;
  align-items: center;
  background: var(--tint);
  color: var(--on-tint-strong);
  border-radius: var(--radius-card);
  padding: 32px;
}
.reassure p { margin: 0; }
.reassure strong { font-weight: 700; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--muted);
}
.legal a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.legal a:hover { color: var(--accent); }

/* Confirmation */
.confirm-main {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: start center;
  padding: 48px var(--gutter) 96px;
  text-align: center;
}
.confirm-inner {
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.confirm-o {
  width: 96px;
  height: 96px;
  margin: 12px auto 28px;
}
.confirm-main h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.already {
  display: none;
  margin: 0 auto 16px;
  background: var(--tint);
  color: var(--on-tint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.already.is-on { display: inline-flex; }
.confirm-copy {
  color: var(--muted);
  margin: 0 0 16px;
}
.confirm-copy.strong {
  color: var(--ink);
  font-weight: 700;
}
/* Signature au-dessus du CTA (jamais à côté) — PDF p.13 */
.confirm-main .sign {
  display: block;
  margin: 8px 0 28px;
}
.confirm-main .btn-cta {
  display: flex;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.confirm-main .micro { margin-top: 16px; }

.legal-page { padding: 48px 0 96px; max-width: 720px; }
.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.03em;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 32px 0 12px;
}
.legal-page p, .legal-page li {
  color: var(--muted);
}
.legal-note {
  margin: 12px 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.legal-page code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-alt);
  padding: 1px 6px;
  border-radius: 6px;
}

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 10px); }
  .product-sig { font-size: 22px; }
  .sign { font-size: 34px; }
}

@media (min-width: 1024px) {
  .hero { padding: 40px 0 96px; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
  }
  .media { margin-inline: 0 0; max-width: none; }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards .card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
  .privilege-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
  .reassure {
    grid-template-columns: 1fr auto;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .site-header { padding: 16px 0 4px; }
  .hero { padding: 16px 0 64px; }
  .hero h1 { margin-bottom: 16px; }
  .product-sig { margin-bottom: 20px; }
  .problem, .privilege { padding: 72px 0; }
  .card h3 { font-size: 20px; }
  .sign { font-size: 30px; }
  .btn-cta--inline { width: 100%; }
  .reassure .btn-cta { width: 100%; }
  .margo-quote { margin-top: 24px; }
}

@media (max-width: 767px) and (max-height: 780px) {
  .eyebrow { margin-bottom: 12px; }
  .hero h1 { font-size: 40px; }
  .form-actions { margin-top: 12px; }
  .micro { margin-top: 8px; }
}
