:root {
  --bg-start: #071312;
  --bg-mid: #0d1f1c;
  --bg-end: #2f7f73;
  --mint: #8fd1bf;
  --mint-strong: #5dd6bf;
  --mint-hover: #4bc7ae;
  --card-bg: #eef4f1;
  --card-bg-2: #e6f0ec;
  --ink: #111111;
  --ink-muted: #52605b;
  --white: #ffffff;
  --text-on-dark: #f3f5f4;
  --text-muted-on-dark: #b9c4c0;
  --border-on-card: #d3e2dc;
  --deep-green: #1c4b39;
  --radius-lg: 24px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-on-dark);
  min-height: 100vh;
  background: radial-gradient(circle at 88% 85%, var(--bg-end) 0%, transparent 55%),
              linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 45%, var(--bg-end) 130%);
  background-attachment: fixed;
}

/*
  Layout: mobile-first single column, deterministic 2-column CSS Grid from
  1024px up. Grid (not flex-wrap) so the two columns never wrap based on
  content width — flex-wrap: wrap was letting long words / min-content
  sizing tip the layout into a stacked single column even on desktop.
*/
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
}

.brand-panel {
  animation: heroIn 0.7s ease both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-panel {
  display: flex;
}

body.started .brand-panel {
  display: none;
}

@media (min-width: 1024px) {
  .page-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr);
    align-items: center;
    gap: clamp(56px, 6vw, 100px);
    width: min(1320px, calc(100% - 80px));
    padding: 32px 0;
  }

  .card-panel {
    justify-content: flex-start;
  }

  body.started .page-shell {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* Eyebrow */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--text-muted-on-dark);
}

.card .eyebrow {
  color: #2f6a55;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
}

/* Icons */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

/* Pill badge (card eyebrow with icon) */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(143, 205, 182, 0.4);
  color: var(--deep-green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  margin: 0 0 22px;
}

.badge-pill .icon {
  width: 15px;
  height: 15px;
}

/* Brand panel (left, hero) */
.brand-headline {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--white);
}

@media (min-width: 1024px) {
  .brand-headline {
    /* Lower bound eases off right at the 1024px floor (narrow column,
       CTA-above-the-fold takes priority there); reaches the full 64-78px
       target by ~1160px and up, which covers all standard desktop sizes. */
    font-size: clamp(1.9rem, 3.6vw, 4rem);
    max-width: 760px;
  }
}

.accent-line {
  display: block;
  width: 150px;
  height: 19px;
  color: var(--mint-strong);
  margin: 0 0 20px;
}

.brand-sub {
  color: var(--text-muted-on-dark);
  font-size: 1.15rem;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 46ch;
}

@media (min-width: 1024px) {
  .brand-sub {
    font-size: 1.3rem;
    margin-bottom: 24px;
  }
}

.brand-sub strong {
  color: var(--text-on-dark);
}

/* Checklist (left column, 4 benefit items) */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-on-dark);
  font-size: 1rem;
}

.checklist strong {
  color: var(--white);
}

.checklist-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(93, 214, 191, 0.16);
  color: var(--mint-strong);
  flex-shrink: 0;
}

.checklist-icon .icon {
  width: 24px;
  height: 24px;
}

/* Card panel (right / active step) */
.card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(160deg, var(--card-bg) 0%, var(--card-bg-2) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  animation: fadeIn 0.4s ease 0.1s both;
}

body.started .card {
  max-width: 560px;
}

.card-hero {
  max-width: 590px;
  text-align: left;
}

@media (min-width: 1024px) {
  .card-hero {
    max-width: 660px;
    padding: 36px 48px;
    border-radius: 32px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-title {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 14px;
}

.card-lede {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 28px;
}

.card-hero .card-title {
  margin-bottom: 28px;
  text-align: center;
}

@media (min-width: 1024px) {
  .card-hero .card-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}

/* Process steps (right card, "tu réponds / tu découvres / tu reçois") */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}

.process-step {
  text-align: center;
  padding: 6px 4px;
}

.process-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 144px;
  height: 144px;
  color: var(--mint-strong);
  margin: 0 0 12px;
}

.process-icon::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 214, 191, .38) 0%, rgba(93, 214, 191, .14) 55%, rgba(93, 214, 191, 0) 76%);
  filter: blur(7px);
  z-index: 0;
}

.process-icon .icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
}

.process-icon-accent {
  width: auto;
  min-width: 144px;
  padding: 0 6px;
}

.process-icon-accent::before {
  inset: -18px -30px;
  border-radius: 40%;
}

.process-icon-accent .icon {
  width: 104px;
  height: 76px;
}

.process-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 4px;
}

.process-sub {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.35;
  margin: 0;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-strong);
  padding: 2px 0;
}

.process-arrow .icon {
  width: 44px;
  height: 20px;
  transform: rotate(90deg);
}

@media (min-width: 1024px) {
  .process-steps {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 22px;
  }

  .process-step {
    padding: 6px 2px;
  }

  .process-arrow {
    height: 144px;
  }

  .process-arrow .icon {
    transform: none;
  }
}

/* Highlighted note under the process steps */
.hero-note {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(93, 214, 191, 0.14);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.hero-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--mint-hover);
  flex-shrink: 0;
}

.hero-note-icon .icon {
  width: 100%;
  height: 100%;
}

.hero-note p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.45;
  text-align: left;
}

.hero-note p strong {
  color: var(--ink);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  background: var(--mint-strong);
  color: #071312;
  font-size: 1.04rem;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  padding: 17px 22px;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(93, 214, 191, 0.55);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-hero {
  gap: 10px;
  min-height: 68px;
  font-size: 1.1rem;
  justify-content: space-between;
}

.btn-hero .icon-sm {
  width: 20px;
  height: 20px;
}

.btn-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-cta-arrow {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .btn-hero {
    min-height: 74px;
    font-size: 1.25rem;
  }
}

.btn-primary:hover {
  background: var(--mint-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(93, 214, 191, 0.65);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px -10px rgba(93, 214, 191, 0.5);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
}

.micro {
  color: var(--ink-muted);
  font-size: 0.82rem;
  margin: 14px 0 0;
  text-align: center;
}

/* Progress bar */
.progress-track {
  background: var(--border-on-card);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  background: var(--mint);
  height: 100%;
  width: 0%;
  transition: width 0.25s ease;
}

.progress-label {
  color: var(--ink-muted);
  font-size: 0.8rem;
  margin: 0 0 22px;
  font-weight: 600;
}

.question-title {
  margin-bottom: 20px;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border-on-card);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.96rem;
  line-height: 1.42;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.option-btn:hover {
  border-color: var(--mint);
  background: #f4fbf8;
}

/* Capture form */
.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-on-card);
  color: var(--ink);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 1rem;
}

.field input:focus {
  outline: none;
  border-color: var(--mint);
}

.error-text {
  color: #c4432f;
  font-size: 0.88rem;
  margin: -4px 0 14px;
}

/* Result */
.result-text {
  margin-bottom: 0;
}

[hidden] {
  display: none !important;
}

