/* ============================================================
   ALIMIO.AI — Page de pré-lancement
   Palette immobilier premium : pierre, or champagne, ardoise.
   Associations sublimales : patrimoine, pierre de taille,
   lumière naturelle, confiance, stabilité.
   ============================================================ */

/* === TOKENS === */
:root {
  /* Fond unique du body — pierre claire, plus éditorial que blanc SaaS */
  --bg:            #f8f1e7;
  --surface:       #fffaf3;

  /* Panel sombre partagé header / footer / waitlist */
  --panel:         #09070a;
  --panel-border:  rgba(255, 255, 255, 0.07);

  /* Saphir — couleur technologique assumée, moins générique qu'un bleu SaaS */
  --blue:          #3847ff;
  --blue-dark:     #2029c9;
  --blue-glow:     rgba(56, 71, 255, 0.18);

  /* Champagne cuivre — luxe, patrimoine, pierre de taille */
  --amber:         #c9893b;
  --amber-light:   #f0b76b;
  --amber-glow:    rgba(201, 137, 59, 0.28);
  --wine:          #351322;
  --wine-glow:     rgba(68, 24, 45, 0.18);

  /* Texte */
  --text:          #120c10;
  --muted:         #756f78;

  /* Séparations */
  --border:        rgba(72, 53, 34, 0.14);

  /* Rayons */
  --r-card:        24px;
  --r-btn:         999px;
  --r-input:       12px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 82% 8%, var(--amber-glow) 0, transparent 32vw),
    radial-gradient(circle at 6% 30%, var(--blue-glow) 0, transparent 34vw),
    radial-gradient(circle at 68% 44%, var(--wine-glow) 0, transparent 30vw),
    linear-gradient(180deg, #fbf7f1 0%, var(--bg) 48%, #fbfaf8 100%);
  background-attachment: fixed, fixed, fixed, scroll;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes content-swap-in {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes image-swap-in {
  from {
    opacity: 0;
    transform: translateY(var(--agent-image-y, 0%)) scale(0.985);
    filter: blur(4px) drop-shadow(0 14px 24px rgba(0, 0, 0, 0.16));
  }
  to {
    opacity: 1;
    transform: translateY(var(--agent-image-y, 0%)) scale(1);
    filter: blur(0) drop-shadow(0 26px 34px rgba(0, 0, 0, 0.32));
  }
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.82);
    box-shadow: 0 0 0 5px rgba(37, 211, 127, 0.08);
  }
  50% {
    opacity: 1;
    transform: scale(1.22);
    box-shadow: 0 0 0 9px rgba(37, 211, 127, 0.18);
  }
}

@keyframes input-guide-pulse {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 rgba(240, 183, 107, 0);
  }
  45% {
    border-color: var(--amber-light);
    box-shadow: 0 0 0 5px rgba(240, 183, 107, 0.16);
  }
}

body {
  opacity: 0;
  animation: page-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  body,
  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* === CONTENEUR === */
.shell {
  /* Largeur maximale centrée — on laisse respirer l'information
     sur les grands écrans tout en gardant des marges confortables. */
  width: min(1560px, 94vw);
  margin: 0 auto;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: var(--r-btn);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }

/* Bleu — action principale neutre */
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #6d4aff 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(56, 71, 255, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #5b35e8 100%);
  box-shadow: 0 18px 42px rgba(56, 71, 255, 0.38);
}

/* Amber — appel à l'action chaud (waitlist, réponse) */
.btn-amber {
  background: linear-gradient(135deg, #f0b76b 0%, var(--amber) 52%, #7a3a1d 100%);
  color: #170d07;
  box-shadow: 0 12px 30px rgba(201, 137, 59, 0.3);
}
.btn-amber:hover {
  background: linear-gradient(135deg, #ffd08b 0%, #d99a4d 52%, #8e4724 100%);
  box-shadow: 0 16px 40px rgba(201, 137, 59, 0.42);
}
.btn-amber-on-light {
  color: #fff;
  text-shadow: 0 1px 1px rgba(18, 8, 13, 0.32);
}

.btn-stacked {
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px;
  line-height: 1.05;
}

.btn-stacked small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* Ghost — action secondaire, sobre */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); }

/* Pleine largeur — formulaire */
.btn-full { width: 100%; text-align: center; padding: 16px; font-size: 1rem; }

/* ============================================================
   TYPOGRAPHIE COMMUNE
   ============================================================ */
.eyebrow {
  /* Étiquette de section — upperase, espacé, coloré */
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow-on-dark { color: var(--amber-light); }

h1 {
  font-size: clamp(3rem, 4.8vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.96;
  max-width: 16ch;
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
  margin-top: 20px;
}

.section-heading {
  /* Bloc texte centré en tête de section */
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-heading h2 { margin-bottom: 16px; }
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.text-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.text-link:hover { color: var(--blue-dark); }

/* ============================================================
   HEADER — sticky, fond sombre
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 7, 10, 0.92);
  border-bottom: 1px solid var(--panel-border);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.brand-logo {
  width: auto;
  height: 44px;
  object-fit: contain;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-tag {
  /* Badge "Accès anticipé" dans le header */
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-light);
  background: rgba(240, 183, 107, 0.1);
  border: 1px solid rgba(240, 183, 107, 0.28);
  border-radius: var(--r-btn);
  padding: 5px 12px;
}

/* ============================================================
   HERO — plein écran, gradient amber → bleu
   L'effet solaire (amber en haut à droite, bleu en bas à gauche)
   donne une sensation d'espace ouvert et d'énergie.
   ============================================================ */
.hero-band {
  position: relative;
  overflow: hidden;
  /* Objectif : environ 65-70 % de la hauteur d'écran pour qu'on
     aperçoive toujours la section suivante sans scroller. */
  min-height: min(640px, calc(100vh - 70px));
  display: grid;
  align-items: center;
  padding: clamp(48px, 6vh, 80px) 0 clamp(34px, 5vh, 56px);
  background:
    radial-gradient(circle at 78% 14%, rgba(240, 183, 107, 0.16), transparent 34vw),
    radial-gradient(circle at 22% 80%, rgba(56, 71, 255, 0.18), transparent 34vw),
    linear-gradient(180deg, #09070a 0%, #120c10 100%);
  color: #fffaf3;
}

/* Les lueurs vivent maintenant sur le body pour rester continues au scroll. */
.hero-glow { display: none; }

.hero-content {
  position: relative; /* passe au-dessus des glows */
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: clamp(56px, 8vw, 118px);
  align-items: center;
}
.hero-band h1 { margin-bottom: 0; }
.hero-band .eyebrow { color: var(--amber-light); }
.hero-band .lead { color: rgba(255, 250, 243, 0.68); }
.hero-band .btn-ghost {
  color: #fffaf3;
  border-color: rgba(255, 250, 243, 0.18);
  background: rgba(255, 250, 243, 0.06);
}
.hero-band .btn-ghost:hover { background: rgba(255, 250, 243, 0.12); }

.hero-agent-strip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  vertical-align: middle;
}

.hero-agent-pill {
  --hero-agent-size: 34px;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  width: var(--hero-agent-size);
  height: var(--hero-agent-size);
  padding: 0;
  border: 1.5px solid rgba(255, 250, 243, 0.68);
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hero-agent-pill:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(255, 250, 243, 0.95);
  background: rgba(255, 250, 243, 0.13);
}

.hero-agent-pill img {
  width: auto;
  height: calc(var(--hero-agent-size) * 1.32);
  max-width: none;
  object-fit: contain;
  transform: translateY(20%);
}

.hero-agent-pill[data-hero-agent-jump="clara"] img {
  transform: translateY(14%);
}

.hero-agent-pill[data-hero-agent-jump="sam"] img,
.hero-agent-pill[data-hero-agent-jump="jade"] img {
  transform: translateY(18%);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-proof {
  margin-top: 18px;
  max-width: 48ch;
  color: rgba(255, 250, 243, 0.48);
  font-size: 0.9rem;
}

.hero-countdown {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.06);
  border: 1px solid rgba(255, 250, 243, 0.12);
}

.countdown-label {
  font-size: 0.82rem;
  color: rgba(255, 250, 243, 0.55);
  margin-bottom: 14px;
  line-height: 1.55;
}

.countdown-label time {
  color: rgba(255, 250, 243, 0.9);
  font-weight: 700;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.countdown-unit {
  text-align: center;
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 250, 243, 0.1);
}

.countdown-value {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.82rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--amber-light);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.countdown-key {
  display: block;
  margin-top: 6px;
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 250, 243, 0.45);
}

.hero-preview {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 22px;
  color: #fffaf3;
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 183, 107, 0.24), transparent 34%),
    radial-gradient(circle at 5% 85%, rgba(56, 71, 255, 0.24), transparent 38%),
    linear-gradient(145deg, #0b080d 0%, #1d0b16 46%, #3a1b13 100%);
  border: 1px solid rgba(255, 250, 243, 0.14);
  box-shadow:
    0 22px 60px rgba(18, 8, 13, 0.2),
    0 56px 130px rgba(56, 71, 255, 0.12);
}

.hero-preview::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.preview-topbar,
.preview-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255, 250, 243, 0.62);
}

.preview-topbar strong {
  color: var(--amber-light);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25d37f;
  box-shadow: 0 0 0 6px rgba(37, 211, 127, 0.12);
  transform-origin: center;
  animation: live-pulse 1.55s ease-in-out infinite;
}

.call-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.09);
  border: 1px solid rgba(255, 250, 243, 0.14);
  backdrop-filter: blur(12px);
}

.call-label {
  color: var(--amber-light);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.call-card h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.4rem);
  color: #fffaf3;
}

.call-score {
  align-self: flex-start;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: var(--r-btn);
  color: #120c10;
  background: var(--amber-light);
  font-size: 0.76rem;
  font-weight: 800;
}

.transcript-card {
  position: relative;
  margin-top: 14px;
  padding: 18px;
  border-radius: 20px;
  color: rgba(255, 250, 243, 0.7);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 250, 243, 0.1);
  font-size: 0.92rem;
  line-height: 1.6;
}

.transcript-card strong { color: #fffaf3; }
.transcript-card p + p strong {
  color: var(--amber-light);
}
.preview-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.preview-grid div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.08);
  border: 1px solid rgba(255, 250, 243, 0.1);
}

.preview-grid span {
  display: block;
  color: rgba(255, 250, 243, 0.48);
  font-size: 0.76rem;
  margin-bottom: 4px;
}

.preview-grid strong {
  font-size: 1rem;
  color: #fffaf3;
}

.preview-grid .priority-metric {
  background:
    radial-gradient(circle at 90% 0%, rgba(240, 183, 107, 0.22), transparent 46%),
    rgba(240, 183, 107, 0.12);
  border-color: rgba(240, 183, 107, 0.32);
  box-shadow: 0 12px 34px rgba(240, 183, 107, 0.12);
}

.preview-grid .priority-metric span {
  color: rgba(240, 183, 107, 0.82);
}

.preview-grid .priority-metric strong {
  color: var(--amber-light);
}

.preview-footer {
  margin-top: 18px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.preview-footer span {
  padding: 8px 12px;
  border-radius: var(--r-btn);
  background: rgba(255, 250, 243, 0.08);
}

.hero-signup-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(24px, 3vw, 34px);
  color: #fffaf3;
  background:
    radial-gradient(circle at 92% 0%, rgba(240, 183, 107, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 250, 243, 0.08), rgba(255, 250, 243, 0.03));
  border: 1px solid rgba(255, 250, 243, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.signup-card-head {
  position: relative;
  margin-bottom: 12px;
}

.signup-head-main {
  min-width: 0;
}

.signup-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-signup-card h2 {
  color: #fffaf3;
  font-size: clamp(1.62rem, 2.15vw, 2.35rem);
  max-width: 15ch;
  margin-bottom: 0;
}

.signup-head-main .signup-kicker {
  margin-bottom: 0;
}

.offer-ribbon {
  flex-shrink: 0;
  margin: 0;
  transform: none;
}

.offer-ribbon span {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 44%),
    linear-gradient(135deg, #1f9f45 0%, #147536 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
  box-shadow:
    0 10px 22px rgba(20, 117, 54, 0.24),
    0 0 0 1px rgba(205, 255, 220, 0.24);
}

.signup-lede {
  color: rgba(255, 250, 243, 0.58);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.signup-kicker {
  color: var(--amber-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.compact-waitlist-form {
  gap: 12px;
}

.compact-waitlist-form .field-input {
  background: rgba(255, 255, 255, 0.07);
}

/* ============================================================
   PRODUIT — aperçu concret après les agents
   ============================================================ */
.product-band {
  /* Tonalité légèrement plus saturée que la section agents
     pour marquer un sous-chapitre sans rupture visuelle. */
  padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 7vw, 96px);
  background:
    radial-gradient(circle at 8% 0%, rgba(56, 71, 255, 0.06), transparent 40%),
    linear-gradient(180deg, #fbfaf8 0%, #f6ecdc 100%);
  border-top: 1px solid rgba(72, 53, 34, 0.08);
}

.product-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  border-radius: clamp(28px, 3vw, 48px);
  padding: clamp(34px, 5vw, 72px);
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 71, 255, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(255, 250, 243, 0.84), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(72, 53, 34, 0.12);
  box-shadow:
    0 6px 18px rgba(18, 8, 13, 0.08),
    0 28px 72px rgba(18, 8, 13, 0.16),
    0 72px 150px rgba(18, 8, 13, 0.18);
  backdrop-filter: blur(12px);
}

.product-copy h2 { margin-bottom: 18px; }
.product-copy .section-sub { margin-bottom: 28px; }
.product-preview {
  box-shadow:
    0 18px 46px rgba(18, 8, 13, 0.24),
    0 42px 110px rgba(18, 8, 13, 0.24),
    0 80px 160px rgba(56, 71, 255, 0.14);
}

.product-preview .preview-topbar,
.product-preview .call-card,
.product-preview .transcript-card,
.product-preview .preview-grid {
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    filter 0.22s ease;
}

.product-preview.is-switching .call-card,
.product-preview.is-switching .transcript-card,
.product-preview.is-switching .preview-grid {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(3px);
}

/* ============================================================
   TRANSITION IA — marquee d'exemples tech
   ============================================================ */
.ai-transition-band {
  overflow: hidden;
  padding: clamp(46px, 6vw, 78px) 0;
  color: #fffaf3;
  background:
    radial-gradient(circle at 10% 55%, rgba(56, 71, 255, 0.22), transparent 30vw),
    radial-gradient(circle at 92% 8%, rgba(240, 183, 107, 0.2), transparent 28vw),
    linear-gradient(110deg, #07060a 0%, #100914 48%, #2b160e 100%);
  border-top: 1px solid rgba(255, 250, 243, 0.08);
  border-bottom: 1px solid rgba(255, 250, 243, 0.08);
}

.transition-heading {
  text-align: center;
  max-width: 920px;
  margin-bottom: 28px;
}

.ai-transition-band .eyebrow {
  color: var(--amber-light);
}

.transition-heading h2 {
  color: #fffaf3;
  font-size: clamp(1.75rem, 2.7vw, 3rem);
}

.transition-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 8px 0 16px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.transition-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: transition-marquee 72s linear infinite;
}

.transition-set {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}

.transition-marquee:hover .transition-track {
  animation-play-state: paused;
}

.transition-card {
  flex: 0 0 390px;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 292px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.08);
  border: 1px solid rgba(255, 250, 243, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.transition-brand {
  display: grid;
  gap: 10px;
  min-height: 96px;
}

.transition-brand span {
  order: 2;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.transition-brand img {
  order: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: 210px;
  max-height: 82px;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.transition-brand img.needs-logo-frame {
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.92);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(18, 8, 13, 0.06);
}

.transition-card strong {
  color: #fffaf3;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.transition-card p {
  color: rgba(255, 250, 243, 0.6);
  font-size: 0.92rem;
  line-height: 1.55;
}

.transition-card a {
  align-self: end;
  justify-self: start;
  color: var(--amber-light);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.transition-card a:hover {
  color: #fffaf3;
}

@keyframes transition-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   PROBLÈMES — section sombre, cartes verticales chiffrées
   ============================================================ */
.problems-chapter {
  scroll-margin-top: 88px;
}

.market-band {
  padding: clamp(54px, 6vw, 86px) 0;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 0%, rgba(201, 137, 59, 0.09), transparent 34vw),
    linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
  border-top: 1px solid rgba(72, 53, 34, 0.08);
  border-bottom: 1px solid rgba(72, 53, 34, 0.08);
}

.market-inner {
  display: grid;
  gap: clamp(24px, 3vw, 38px);
}

.problems-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.problems-heading h2 {
  color: var(--text);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.market-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.86);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 38px rgba(72, 53, 34, 0.07);
}

.market-card strong {
  display: block;
  color: var(--amber);
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.market-card h3 {
  color: var(--text);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0;
}

.market-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
}

.market-card a {
  justify-self: start;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.market-card a:hover { color: var(--blue-dark); }

.problems-resolution {
  justify-self: center;
  max-width: 640px;
  margin: 0;
  text-align: center;
  color: var(--text);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 700;
  line-height: 1.55;
}

.problems-arrows {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: -10px;
  color: var(--amber);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.workflow-card {
  display: grid;
  gap: 12px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(72, 53, 34, 0.1);
}

.workflow-step.is-active {
  color: #fffaf3;
  background:
    radial-gradient(circle at 95% 10%, rgba(240, 183, 107, 0.22), transparent 36%),
    linear-gradient(135deg, #10080d 0%, #351322 100%);
  border-color: rgba(255, 250, 243, 0.12);
  box-shadow: 0 20px 46px rgba(18, 8, 13, 0.16);
}

.workflow-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--amber);
  background: rgba(201, 137, 59, 0.12);
  font-weight: 900;
  font-size: 0.78rem;
}

.workflow-step.is-active span {
  color: #120c10;
  background: var(--amber-light);
}

.workflow-step p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.workflow-step.is-active p { color: rgba(255, 250, 243, 0.62); }

/* ============================================================
   FONDATEURS — fond clair (prolonge le produit), card sombre au centre.
   ============================================================ */
.founders-band {
  display: grid;
  align-items: center;
  min-height: auto;
  padding: clamp(56px, 7vw, 96px) 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(56, 71, 255, 0.08), transparent 28vw),
    radial-gradient(circle at 90% 80%, rgba(201, 137, 59, 0.1), transparent 30vw),
    linear-gradient(180deg, #f6ecdc 0%, #fbf7f1 100%);
}

/* Animation d'entrée : la card monte depuis le bas au scroll */
@keyframes founders-enter {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.founders-card {
  /* Quasi plein écran : la card respire mais ne devient plus un petit îlot. */
  width: min(2360px, calc(100vw - clamp(24px, 4vw, 92px)));
  max-width: none;
  margin: 0 auto;
  border-radius: clamp(28px, 3vw, 56px);
  padding: clamp(52px, 6vw, 92px) 0;

  /* Aubergine encre + champagne : plus propriétaire et premium. */
  background:
    radial-gradient(circle at 16% 0%, rgba(240, 183, 107, 0.34), transparent 34%),
    radial-gradient(circle at 86% 70%, rgba(56, 71, 255, 0.26), transparent 36%),
    linear-gradient(135deg, #12080d 0%, var(--wine) 50%, #6b3422 100%);

  border: 1px solid rgba(255, 255, 255, 0.13);

  /* Ombre à trois niveaux : immédiate + intermédiaire + lointaine */
  box-shadow:
    0 2px 10px rgba(18, 8, 13, 0.1),
    0 22px 54px rgba(18, 8, 13, 0.18),
    0 56px 120px rgba(18, 8, 13, 0.2);

  animation: founders-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.1s;
}

.founders-card .eyebrow { color: var(--amber-light); }
.founders-card h2 { color: #fff7ec; }
.founders-card .section-sub { color: rgba(255, 247, 236, 0.62); }

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.founder-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
  background: rgba(255, 250, 243, 0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 250, 243, 0.2);
  border-radius: var(--r-card);
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.founder-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}
.founder-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(240, 183, 107, 0.55);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}
.founder-info h3 { color: #fffaf3; margin-bottom: 6px; }
.founder-info p {
  font-size: 0.93rem;
  color: rgba(255, 247, 236, 0.62);
  line-height: 1.55;
  margin-bottom: 14px;
}
.founder-card .text-link {
  color: var(--amber-light);
  text-decoration-color: rgba(240, 183, 107, 0.45);
}

/* ============================================================
   PROBLÈME — 3 cartes compactes sur fond clair
   ============================================================ */
.problem-band {
  padding: 96px 0;
  background: transparent;
  border-bottom: 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.problem-grid-compact {
  max-width: 1200px;
  margin: 0 auto;
}

.problem-card {
  background: rgba(255, 250, 243, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 26px 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 36px rgba(72, 53, 34, 0.06);
}
.problem-card h3 { margin-bottom: 8px; }
.problem-card p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
}
.problem-number {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 14px;
}

/* ============================================================
   AGENTS — carrousel "une équipe IA" inspiré de Limova
   ============================================================ */
.agents-band {
  /* Même famille sombre orange / bleu que la première partie :
     l'équipe IA devient le chapitre premium visuel. */
  display: grid;
  align-items: center;
  min-height: 100svh;
  height: auto;
  scroll-margin-top: 88px;
  padding: clamp(48px, 6vh, 76px) 0 clamp(38px, 5vh, 68px);
  background:
    radial-gradient(circle at 8% 50%, rgba(56, 71, 255, 0.24), transparent 30vw),
    radial-gradient(circle at 88% 10%, rgba(240, 183, 107, 0.18), transparent 28vw),
    linear-gradient(110deg, #07060a 0%, #100914 48%, #2b160e 100%);
  border-top: 1px solid rgba(255, 250, 243, 0.08);
  border-bottom: 1px solid rgba(255, 250, 243, 0.08);
}

.agents-shell {
  display: grid;
  grid-template-rows: auto auto;
  gap: clamp(18px, 3vh, 34px);
  min-height: 0;
}

.agents-heading {
  max-width: 1040px;
  margin: 0 auto 0;
}

.agents-heading .eyebrow { color: var(--amber-light); }
.agents-heading h2 {
  color: #fffaf3;
  font-size: clamp(2rem, 3.1vw, 3.25rem);
}
.agents-heading .section-sub { color: rgba(255, 250, 243, 0.62); }

.agents-carousel {
  display: grid;
  grid-template-rows: auto auto;
  gap: clamp(34px, 3.8vh, 48px);
  min-height: 0;
}

/* Barre d'onglets (avatars cliquables) */
.agents-tabs {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  min-height: 130px;
  padding: 0;
}

.agent-tab {
  --agent-tab-size: clamp(58px, 5.4vw, 76px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--agent-tab-size);
  height: var(--agent-tab-size);
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #fffaf3;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.agent-tab:hover { transform: translateY(-2px) scale(1.08); }

.agent-tab.is-active {
  transform: translateY(-4px) scale(1.1);
}

.agent-tab-avatar {
  overflow: hidden;
  display: grid;
  place-items: center;
  width: var(--agent-tab-size);
  height: var(--agent-tab-size);
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.2rem;
  color: #fffaf3;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(18, 8, 13, 0.2);
}

.agent-tab-avatar img {
  display: block;
  width: auto;
  height: calc(var(--agent-tab-size) * 1.32);
  max-width: none;
  object-fit: contain;
  object-position: center center;
  transform: translateY(20%) scale(1);
  transform-origin: center center;
  transition: transform 0.18s ease;
}

.agent-tab:hover .agent-tab-avatar img {
  transform: translateY(19%) scale(1.08);
}

.agent-tab.is-active .agent-tab-avatar img {
  transform: translateY(19%) scale(1.04);
}

.agent-tab[data-agent-id="clara"] .agent-tab-avatar img {
  transform: translateY(13%) scale(1);
}

.agent-tab[data-agent-id="clara"]:hover .agent-tab-avatar img {
  transform: translateY(12%) scale(1.08);
}

.agent-tab[data-agent-id="clara"].is-active .agent-tab-avatar img {
  transform: translateY(12%) scale(1.04);
}

.agent-tab.is-active .agent-tab-avatar {
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.12),
    0 0 0 5px rgba(255, 255, 255, 0.88),
    0 16px 32px rgba(18, 8, 13, 0.22);
}

.agent-tab-name {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  padding: 0;
  min-width: 92px;
  color: #fffaf3;
  text-align: center;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
  background: transparent;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.agent-tab-role {
  position: absolute;
  top: calc(100% + 39px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #fffaf3;
  padding: 0;
  min-width: 92px;
  text-align: center;
  background: transparent;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.agent-tab.is-active .agent-tab-name,
.agent-tab.is-active .agent-tab-role {
  opacity: 1;
}

/* Grande carte "showcase" qui change selon l'agent sélectionné */
.agent-showcase {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.32fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 70px);
  padding: clamp(30px, 3.4vw, 56px);
  min-height: clamp(460px, 52vh, 620px);
  border-radius: clamp(24px, 2.5vw, 36px);
  color: #fffaf3;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.14), transparent 42%),
    radial-gradient(circle at 12% 90%, rgba(0, 0, 0, 0.22), transparent 48%),
    linear-gradient(135deg,
      color-mix(in srgb, var(--agent-color, #5c6cff) 80%, #0b0612) 0%,
      color-mix(in srgb, var(--agent-color, #5c6cff) 38%, #0b0612) 100%);
  box-shadow:
    0 24px 60px rgba(18, 8, 13, 0.24),
    0 52px 120px rgba(18, 8, 13, 0.18);
  transition:
    background 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.agent-showcase-portrait {
  display: grid;
  place-items: end center;
  padding: clamp(20px, 2.5vw, 36px);
  border-radius: clamp(20px, 2vw, 28px);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.agent-showcase-portrait.has-agent-image {
  position: absolute;
  inset: 0 auto 0 clamp(68px, 6vw, 118px);
  z-index: 1;
  width: min(34%, 480px);
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}

.agent-showcase-avatar {
  display: grid;
  place-items: center;
  width: clamp(120px, 16vw, 200px);
  height: clamp(120px, 16vw, 200px);
  border-radius: 50%;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: #fffaf3;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.45), transparent 55%),
    var(--agent-color, var(--blue));
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

.agent-showcase-avatar.has-agent-image {
  position: absolute;
  inset: 0 0 0 0;
  display: flex;
  justify-content: center;
  width: auto;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-items: flex-end;
}

.agent-showcase-avatar.has-agent-image img {
  --agent-image-y: 0%;
  display: block;
  width: auto;
  height: min(100%, 610px);
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(var(--agent-image-y, 0%)) scale(1);
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.32));
  transition:
    opacity 0.28s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.agent-showcase[data-active-agent="emma"] .agent-showcase-avatar.has-agent-image img {
  --agent-image-y: 4%;
  height: min(108%, 660px);
}

.agent-showcase[data-active-agent="clara"] .agent-showcase-avatar.has-agent-image img {
  height: min(106%, 650px);
}

.agent-showcase[data-active-agent="sam"] .agent-showcase-avatar.has-agent-image img {
  height: min(105%, 640px);
}

.agent-showcase[data-active-agent="jade"] .agent-showcase-avatar.has-agent-image img {
  --agent-image-y: 4%;
  height: min(110%, 670px);
}

.agent-showcase-content {
  position: relative;
  z-index: 2;
  grid-column: 2;
  display: grid;
  align-content: center;
  gap: clamp(12px, 1.5vh, 18px);
  min-height: 0;
  padding-block: clamp(6px, 1.5vh, 18px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    filter 0.24s ease;
}

.agent-showcase.is-switching .agent-showcase-content {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  filter: blur(4px);
}

.agent-showcase.is-switching .agent-showcase-avatar.has-agent-image img {
  opacity: 0;
  transform: translateY(var(--agent-image-y, 0%)) scale(0.985);
  filter: blur(4px) drop-shadow(0 14px 24px rgba(0, 0, 0, 0.16));
}

.agent-showcase.is-entering .agent-showcase-content {
  animation: content-swap-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.agent-showcase.is-entering .agent-showcase-avatar.has-agent-image img {
  animation: image-swap-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.agent-showcase-role {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 250, 243, 0.7);
  margin: 0;
}

.agent-showcase-name {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.agent-showcase-description {
  margin: 0;
  color: rgba(255, 250, 243, 0.78);
  font-size: clamp(0.95rem, 1vw, 1.04rem);
  line-height: 1.6;
  max-width: 58ch;
  min-height: 5.1em;
}

.agent-detail-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--r-btn);
  color: #120c10;
  background: #fffaf3;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.agent-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.agent-showcase-features {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 78px;
  align-content: start;
}

.agent-showcase-features li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fffaf3;
  backdrop-filter: blur(8px);
}

.agent-scenario {
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 158px;
  display: grid;
  align-content: start;
  grid-template-rows: auto auto 1fr auto;
}

.agent-scenario-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 250, 243, 0.55);
  margin: 0 0 8px;
}

.agent-scenario-question {
  margin: 0 0 8px;
  color: rgba(255, 250, 243, 0.9);
  font-size: 0.94rem;
  font-weight: 600;
  min-height: 1.5em;
}

.agent-scenario-answer {
  margin: 0;
  color: rgba(255, 250, 243, 0.7);
  font-size: 0.92rem;
  line-height: 1.55;
  min-height: 2.9em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.agent-scenario.is-switching .agent-scenario-question,
.agent-scenario.is-switching .agent-scenario-answer {
  opacity: 0;
  transform: translateY(6px);
}

.agent-scenario-controls {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.scenario-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.28);
  cursor: pointer;
  transition: width 0.18s ease, background 0.18s ease;
}

.scenario-dot.is-active {
  width: 24px;
  background: rgba(255, 250, 243, 0.78);
}

/* ============================================================
   WAITLIST — fond sombre, formulaire de capture leads
   ============================================================ */
.waitlist-band {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--panel);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.waitlist-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.waitlist-text h2 {
  color: #fff;
  margin-top: 12px;
  margin-bottom: 16px;
}
.waitlist-text p {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  font-size: 0.97rem;
}

/* Formulaire sur fond sombre */
.waitlist-form { display: grid; gap: 14px; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field-group { display: grid; gap: 7px; }
.field-group-wide { grid-column: 1 / -1; }
.field-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}
.field-optional {
  color: rgba(255, 255, 255, 0.32);
  font-weight: 600;
}
.field-input {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-input);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
}
.field-input::placeholder { color: rgba(255, 255, 255, 0.25); }
.field-input:focus {
  border-color: var(--amber-light);
  background: rgba(245, 158, 11, 0.05);
}

.field-input.is-guided {
  animation: input-guide-pulse 1.15s ease-in-out 2;
}
.field-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.field-select option { background: #1a1612; color: #fff; }
.form-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
}

/* ============================================================
   CRÉATION DE COMPTE — suite sécurisée de la préinscription
   ============================================================ */
.account-page {
  min-height: 100vh;
  color: #fffaf3;
  background:
    radial-gradient(circle at 78% 14%, rgba(56, 71, 255, 0.26), transparent 34vw),
    radial-gradient(circle at 8% 78%, rgba(240, 183, 107, 0.22), transparent 30vw),
    linear-gradient(135deg, #07060a 0%, #120914 52%, #2b160e 100%);
}

.account-main {
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 7vw, 92px) 0;
}

.account-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.account-copy h1 {
  max-width: 11ch;
}

.account-copy .lead {
  max-width: 48ch;
  margin-top: 22px;
  color: rgba(255, 250, 243, 0.68);
}

.account-security-note {
  margin-top: 28px;
  max-width: 520px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.08);
  border: 1px solid rgba(255, 250, 243, 0.12);
}

.account-security-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--amber-light);
}

.account-security-note p {
  color: rgba(255, 250, 243, 0.6);
  font-size: 0.94rem;
}

.account-card {
  display: grid;
  gap: 16px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 183, 107, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 250, 243, 0.1), rgba(255, 250, 243, 0.04));
  border: 1px solid rgba(255, 250, 243, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.account-card h2 {
  color: #fffaf3;
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
}

.account-card .field-input[readonly] {
  color: rgba(255, 250, 243, 0.72);
  background: rgba(255, 255, 255, 0.045);
}

.password-field {
  position: relative;
}

.password-field .field-input {
  padding-right: 50px;
}

.password-toggle {
  position: absolute;
  right: 9px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 250, 243, 0.58);
  background: rgba(255, 250, 243, 0.08);
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.password-toggle:hover {
  color: #fffaf3;
  background: rgba(255, 250, 243, 0.14);
  transform: translateY(-50%) scale(1.04);
}

.password-field:focus-within .password-toggle,
.password-field .field-input:-webkit-autofill + .password-toggle {
  color: #120c10;
  background: rgba(255, 250, 243, 0.86);
}

.password-field:focus-within .password-toggle:hover {
  color: #120c10;
  background: #fffaf3;
}

.password-toggle svg {
  position: absolute;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle .eye-closed,
.password-toggle.is-visible .eye-open {
  opacity: 0;
}

.password-toggle.is-visible .eye-closed {
  opacity: 1;
}

.password-toggle .eye-open,
.password-toggle .eye-closed {
  transition: opacity 0.14s ease;
}

.password-strength {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.06);
  border: 1px solid rgba(255, 250, 243, 0.1);
}

.password-strength-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 250, 243, 0.52);
  font-size: 0.78rem;
  font-weight: 800;
}

.password-strength-head strong {
  color: rgba(255, 250, 243, 0.82);
}

.password-strength-bar {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.08);
}

.password-strength-bar span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 250, 243, 0.22);
  transition: width 0.22s ease, background 0.22s ease;
}

.password-strength[data-password-strength="weak"] .password-strength-bar span {
  width: 26%;
  background: #ef6464;
}

.password-strength[data-password-strength="medium"] .password-strength-bar span {
  width: 52%;
  background: #f0b76b;
}

.password-strength[data-password-strength="strong"] .password-strength-bar span {
  width: 78%;
  background: #74e09a;
}

.password-strength[data-password-strength="excellent"] .password-strength-bar span {
  width: 100%;
  background: linear-gradient(135deg, #74e09a, #4ade80);
}

.password-rules {
  display: grid;
  gap: 6px;
  list-style: none;
  color: rgba(255, 250, 243, 0.42);
  font-size: 0.78rem;
  line-height: 1.4;
}

.password-rules li {
  position: relative;
  padding-left: 18px;
}

.password-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.2);
  transform: translateY(-50%);
}

.password-rules li.is-valid {
  color: rgba(176, 255, 203, 0.86);
}

.password-rules li.is-valid::before {
  background: #74e09a;
}

.account-error {
  padding: 12px 14px;
  border-radius: 14px;
  color: #ffd7d7;
  background: rgba(180, 35, 35, 0.16);
  border: 1px solid rgba(255, 134, 134, 0.22);
  font-size: 0.88rem;
}

.account-actions {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.account-cancel-btn {
  color: rgba(255, 250, 243, 0.72);
  border-color: rgba(255, 250, 243, 0.14);
  background: rgba(255, 250, 243, 0.06);
}

.account-cancel-btn:hover {
  color: #fffaf3;
  background: rgba(255, 250, 243, 0.1);
}

/* ============================================================
   FOOTER — minimal, même fond que header
   ============================================================ */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--panel-border);
  padding: 28px 0 48px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.88rem;
  flex-wrap: wrap;
}
.footer-logo {
  width: auto;
  height: 24px;
  object-fit: contain;
  opacity: 0.72;
}

/* ============================================================
   MODAL SUCCESS — confirmation après soumission formulaire
   ============================================================ */
.success-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 11, 8, 0.6);
  z-index: 100;
  padding: 24px;
  overflow-y: auto;
  backdrop-filter: blur(4px);
}
.success-overlay[hidden] { display: none; }
.success-card {
  margin: auto;
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 48px 40px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(13, 11, 8, 0.2);
}
.success-card h2 { font-size: 1.9rem; margin-bottom: 12px; }
.success-card p  { color: var(--muted); margin-bottom: 28px; line-height: 1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .account-shell {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
  }

  .account-copy h1 {
    max-width: 13ch;
  }
}

@media (max-width: 960px) {
  .hero-content,
  .product-panel { grid-template-columns: 1fr; }
  .hero-band { min-height: auto; }
  .hero-preview { max-width: 620px; }
  .market-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .waitlist-inner { grid-template-columns: 1fr; gap: 48px; }
  .founders-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .agents-band {
    padding-top: 82px;
  }

  .agents-carousel {
    gap: 36px;
  }

  .agent-showcase {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    padding-top: clamp(330px, 62vw, 450px);
  }

  .agent-showcase-portrait.has-agent-image {
    inset: 0 0 auto 0;
    width: 100%;
    height: clamp(310px, 58vw, 430px);
  }

  .agent-showcase-avatar.has-agent-image {
    inset: 0 0 0 0;
    justify-content: center;
  }

  .agent-showcase-avatar.has-agent-image img {
    height: 108%;
    max-width: none;
  }

  .agent-showcase-content {
    grid-column: 1;
  }
}

@media (max-width: 680px) {
  h1 { max-width: none; }
  .brand-logo { height: 36px; }
  .header-tag { display: none; }
  .hero-band { padding: 56px 0 42px; }
  .hero-content { gap: 34px; }
  .signup-card-head {
    flex-direction: column;
    align-items: stretch;
  }
  .offer-ribbon {
    align-self: flex-start;
    transform: none;
    margin-top: 6px;
  }
  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-preview,
  .hero-signup-card,
  .product-panel {
    border-radius: 24px;
    padding: 20px;
  }
  .call-card,
  .preview-grid,
  .preview-footer { grid-template-columns: 1fr; }
  .call-card { display: grid; }
  .call-score { justify-self: start; }
  .workflow-step { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .field-row    { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 6px; }
  .agents-tabs {
    gap: 10px;
    min-height: 124px;
  }
  .agent-tab,
  .agent-tab-avatar {
    --agent-tab-size: 54px;
  }
  .agent-tab-avatar { font-size: 1rem; }
  .agent-tab-avatar img {
    width: auto;
    height: calc(var(--agent-tab-size) * 1.32);
  }
  .agent-tab-name { font-size: 0.78rem; }
  .agent-tab-role { font-size: 0.58rem; }
  .agent-showcase {
    padding: clamp(310px, 62vw, 420px) 22px 22px;
    border-radius: 24px;
  }
  .agent-showcase-avatar {
    width: 120px;
    height: 120px;
    font-size: 3rem;
  }
  .agent-showcase-avatar.has-agent-image {
    width: auto;
    height: 100%;
  }
  .agent-showcase-avatar.has-agent-image img {
    height: 106%;
    max-width: none;
  }
  .agent-showcase-features li { font-size: 0.74rem; padding: 6px 10px; }
  .founders-card { width: calc(100% - 12px); padding: 48px 0; border-radius: 24px; }
  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-photo { margin: 0 auto; }
}
