/* =========================================================================
   HOME — Synthetic Swarm (page société)
   Reprend l'ADN de la page lead magnet (Inter, aurora, décor 3D, cartes).
   Scopé sous .home pour ne jamais impacter les pages lead magnet.
   ========================================================================= */

.home {
  --hs-ink:        #1a1a1a;
  --hs-ink-soft:   #43435e;
  --hs-muted:      #6a6a82;
  --hs-blue:       #0A66C2;
  --hs-blue-deep:  #0a5aa8;
  --hs-blue-tint:  rgba(10,102,194,.08);
  --hs-cream:      #fcfbf8;
  --hs-surface:    #ffffff;
  --hs-line:       rgba(26,26,46,.10);
  --hs-line-soft:  rgba(26,26,46,.06);
  --hs-danger:     #E0443A;
  --hs-green:      #1D9E75;
  --hs-radius:     22px;
  --hs-shadow:     0 18px 48px rgba(26,26,46,.08);
  --hs-shadow-sm:  0 10px 26px rgba(26,26,46,.055);
}

/* =========================================================================
   HERO — CTA + surcharges (le reste vient de styles.css + demo.css)
   ========================================================================= */
/* titre : plus petit + plus tranchant que le défaut demo.css */
.home .demo-wrapper .demo-hero__headline {
  font-size: clamp(29px, 4.3vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 780px;
}
.home .demo-wrapper .demo-hero__headline .hl { color: var(--hs-blue); }
/* sous-titre : largeur calée pour 2 lignes équilibrées (pas de mot orphelin) */
.home .demo-wrapper .demo-hero__subtitle { max-width: 600px; }

/* eyebrow : identique à la page lead magnet (BREAKING rouge + date) — rien à surcharger */

.home .home-hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.home .hs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 14px;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.home .hs-btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.home .hs-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--hs-ink);
  font-size: 15.5px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1.5px solid var(--hs-line);
  background: rgba(255,255,255,.6);
  transition: border-color .15s, background .15s;
}
.home .hs-btn-ghost:hover { border-color: rgba(26,26,46,.24); background:#fff; }

/* équilibre l'espace input → social proof (au-dessus est géré par la marge du widget) */
.home .hero-social-proof { margin-top: 4px; }

/* =========================================================================
   SECTION RHYTHM (varié — reprend le ton chaleureux du lead magnet)
   ========================================================================= */
.home .hs-section {
  position: relative;
  padding: 104px 0;
}
.home .hs-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
.home .hs-container--narrow { max-width: 860px; }

.home .hs-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hs-blue);
}
.home .hs-h2 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--hs-ink);
  letter-spacing: -.028em;
  margin-top: 16px;
}
.home .hs-h2 .accent { color: var(--hs-blue); }
.home .hs-lead {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
  color: var(--hs-muted);
  max-width: 640px;
  margin-top: 16px;
}
.home .hs-closer {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.4;
  color: var(--hs-ink);
  font-weight: 600;
}
.home .hs-closer strong { color: var(--hs-blue); font-weight: 700; }

/* alternance de fonds pour le relief */
.home .hs-section--tint { background: linear-gradient(180deg, #f6f4ef 0%, #fcfbf8 100%); }
.home .hs-section--dark  { background: #14141f; }
.home .hs-section--dark .hs-h2 { color: #fff; }
.home .hs-section--dark .hs-lead { color: rgba(255,255,255,.7); }
.home .hs-section--dark .hs-kicker { color: #6ea8ff; }

/* =========================================================================
   PLACEHOLDER WIREFRAME (skeleton — remplacé section par section)
   ========================================================================= */
.home .hs-wire {
  margin-top: 30px;
  border: 1.6px dashed rgba(26,26,46,.2);
  border-radius: 16px;
  background: repeating-linear-gradient(135deg, rgba(26,26,46,.015) 0 12px, transparent 12px 24px);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 32px;
  color: var(--hs-muted);
}
.home .hs-section--dark .hs-wire { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.6); }
.home .hs-wire-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--hs-blue);
}
.home .hs-section--dark .hs-wire-tag { color: #6ea8ff; }
.home .hs-wire-name { font-size: 16px; font-weight: 600; color: var(--hs-ink); }
.home .hs-section--dark .hs-wire-name { color: #fff; }
.home .hs-wire-desc { font-size: 13.5px; max-width: 460px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .home .hs-section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .home .home-hero-cta { flex-direction: column; gap: 10px; width: 100%; }
  .home .hs-btn-primary, .home .hs-btn-ghost { width: 100%; justify-content: center; }
  /* pas de double padding hero + demo-hero sur mobile */
  .home .demo-wrapper .demo-hero { padding-left: 0; padding-right: 0; }
  .home .demo-wrapper .hero { padding-left: 18px; padding-right: 18px; }
  .home .demo-wrapper .demo-hero__inner { max-width: 100%; }
}
