/* ═══════════════════════════════════════════════════════════
   DarkGPT — Landing premium (sombre / rouge / minimaliste)
   Scoped to body.page-home — does not affect demo/chat.
   ═══════════════════════════════════════════════════════════ */

body.page-home {
  --bg: #060607;
  --bg2: #0b0b0e;
  --surface: #131316;
  --surface-hover: #1b1115;
  --red: #ff3b5f;
  --red2: #c71f3a;
  --red-glow: rgba(255, 59, 95, 0.35);
  --text: #f5f5f7;
  --text2: #a6a6ae;
  --border: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 59, 95, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Unbounded", "Syne", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --page-pad: 28px;

  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 55% at 50% -12%, rgba(255, 59, 95, 0.09) 0%, transparent 58%),
    radial-gradient(ellipse 42% 36% at 10% 48%, rgba(199, 31, 58, 0.045) 0%, transparent 55%),
    radial-gradient(ellipse 38% 32% at 94% 30%, rgba(255, 59, 95, 0.04) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 48%, var(--bg) 100%);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    48px 48px,
    48px 48px,
    100% 100%;
  background-attachment: fixed;
  animation: none;
}

body.page-home::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.7;
  background:
    radial-gradient(ellipse 65% 48% at 50% 16%, rgba(255, 59, 95, 0.07) 0%, transparent 62%),
    radial-gradient(ellipse 36% 30% at 16% 64%, rgba(199, 31, 58, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 34% 28% at 88% 50%, rgba(255, 59, 95, 0.04) 0%, transparent 55%);
  animation: lp-aurora 24s ease-in-out infinite alternate;
}

body.page-home::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

@keyframes lp-aurora {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  50% { transform: translate3d(2%, 2%, 0) scale(1.04); }
  100% { transform: translate3d(-1%, 3%, 0) scale(1.02); }
}

@keyframes lp-halo-breathe {
  0%, 100% { opacity: 0.72; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.07); }
}

@keyframes lp-particle-drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 0.55; }
  88% { opacity: 0.25; }
  100% { transform: translateY(-42vh) translateX(12px); opacity: 0; }
}

@keyframes lp-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lp-accent-glow {
  from {
    text-shadow:
      0 0 24px rgba(255, 59, 95, 0.45),
      0 0 48px rgba(199, 31, 58, 0.25);
  }
  to {
    text-shadow:
      0 0 36px rgba(255, 59, 95, 0.7),
      0 0 72px rgba(199, 31, 58, 0.4);
  }
}

/* ── Typography ──────────────────────────────────────────── */

body.page-home h1,
body.page-home h2,
body.page-home h3,
body.page-home .logo,
body.page-home .center-title,
body.page-home .hero-title {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  font-weight: 800;
}

body.page-home .eyebrow {
  margin: 0 0 18px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text2);
}

body.page-home .center-title {
  margin: 0 auto 16px;
  max-width: 920px;
  text-align: center;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text);
}

/* Selective word accents — color only, inherit parent font */
body.page-home .text-accent,
body.page-home .accent-word,
body.page-home .center-title .text-accent,
body.page-home .center-title .accent-word,
body.page-home .final-cta .cta-card h2 .text-accent,
body.page-home .final-cta .cta-card h2 .accent-word,
body.page-home .center-muted .text-accent,
body.page-home .benefit-card h3 .text-accent {
  color: #ff3b5f !important;
  -webkit-text-fill-color: #ff3b5f !important;
  background: none !important;
  font: inherit;
  letter-spacing: inherit;
  text-shadow:
    0 0 16px rgba(255, 59, 95, 0.5),
    0 0 36px rgba(255, 59, 95, 0.28),
    0 0 56px rgba(199, 31, 58, 0.18);
  filter: none !important;
}

/* Kill style.css “any span = red” bleed inside titles */
body.page-home .center-title > span:not(.text-accent):not(.accent-word),
body.page-home .final-cta .cta-card h2 > span:not(.text-accent):not(.accent-word) {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  text-shadow: none !important;
  filter: none !important;
}

body.page-home .center-muted,
body.page-home .home-story .center-muted {
  margin: 0 auto 40px;
  max-width: 560px;
  text-align: center;
  color: var(--text2);
  font-size: 1.05rem;
  line-height: 1.65;
}

body.page-home .container {
  max-width: 1160px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  box-sizing: border-box;
}

body.page-home .container.narrow {
  max-width: 820px;
}

/* topbar-inner also has .container — navbar.css owns its padding */
body.page-home .topbar .container.topbar-inner {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* ── Sections + halos ────────────────────────────────────── */

body.page-home .section,
body.page-home .home-story,
body.page-home .final-cta {
  position: relative;
  padding: clamp(88px, 12vw, 140px) 0;
  isolation: isolate;
}

body.page-home .section::before,
body.page-home .home-story::before,
body.page-home .final-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  width: min(720px, 90vw);
  height: min(420px, 55vw);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 59, 95, 0.04) 0%, transparent 68%);
  filter: blur(8px);
}

body.page-home .home-before-after::before {
  background: radial-gradient(ellipse at center, rgba(255, 59, 95, 0.055) 0%, transparent 70%);
}

body.page-home .home-social-proof::before {
  top: 20%;
  background: radial-gradient(ellipse at center, rgba(199, 31, 58, 0.05) 0%, transparent 68%);
}

/* Reveal */
body.page-home .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

body.page-home .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero ────────────────────────────────────────────────── */

body.page-home .hero {
  position: relative;
  min-height: min(100vh, 980px);
  padding: 140px 0 100px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

body.page-home .hero-overlay {
  background:
    radial-gradient(ellipse 62% 48% at 50% 40%, rgba(255, 59, 95, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 50% 34%, rgba(255, 59, 95, 0.07) 0%, transparent 44%),
    radial-gradient(ellipse 36% 26% at 50% 72%, rgba(199, 31, 58, 0.05) 0%, transparent 62%);
  animation: lp-halo-breathe 12s ease-in-out infinite;
}

body.page-home .hero-overlay::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(820px, 88vw);
  height: min(820px, 88vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 95, 0.09) 0%, transparent 64%);
  filter: blur(48px);
  animation: lp-halo-breathe 14s ease-in-out infinite reverse;
  pointer-events: none;
}

body.page-home .hero-particles::before {
  opacity: 0.45;
  background-image:
    radial-gradient(1.5px 1.5px at 14% 22%, rgba(255, 59, 95, 0.45), transparent),
    radial-gradient(1px 1px at 32% 68%, rgba(255, 120, 140, 0.28), transparent),
    radial-gradient(1.5px 1.5px at 52% 30%, rgba(255, 59, 95, 0.35), transparent),
    radial-gradient(1px 1px at 68% 78%, rgba(199, 31, 58, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 82% 24%, rgba(255, 100, 120, 0.28), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(255, 59, 95, 0.22), transparent),
    radial-gradient(1px 1px at 22% 88%, rgba(255, 140, 155, 0.2), transparent),
    radial-gradient(1.5px 1.5px at 44% 12%, rgba(255, 59, 95, 0.3), transparent);
  animation: particles-drift 55s ease-in-out infinite alternate;
}

body.page-home .hero-particles::after {
  content: none;
}

body.page-home .hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  text-align: center;
}

body.page-home .pill,
body.page-home .pill--stat {
  margin: 0 auto 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 59, 95, 0.45);
  background: rgba(10, 10, 12, 0.72);
  color: #f0f0f2;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 0 1px rgba(255, 59, 95, 0.08),
    0 0 20px rgba(255, 59, 95, 0.12);
  animation: none;
}

body.page-home.page-ready .hero-content .pill {
  animation: lp-fade-up 0.75s var(--ease) 0.05s both;
}

body.page-home .pill-icon {
  color: var(--red);
}

body.page-home .hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28em;
  margin: 0 0 28px;
}

body.page-home .hero-title__brand,
body.page-home h1.hero-title > .hero-title__brand,
body.page-home h1.hero-title span.hero-title__brand {
  display: block;
  max-width: 100%;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 12vw, 7.75rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-shadow: none !important;
  filter: none !important;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

body.page-home .hero-title__tagline,
body.page-home h1.hero-title > .hero-title__tagline,
body.page-home h1.hero-title span.hero-title__tagline {
  display: block;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  text-shadow: none !important;
  filter: none !important;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4.8vw, 2.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

/* Kill style.css `h1 span { color: red }` bleed on tagline prefix */
body.page-home h1.hero-title .hero-title__tagline > span:not(.hero-title__accent) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  text-shadow: none !important;
  filter: none !important;
  display: inline;
}

body.page-home .hero-title__accent,
body.page-home h1.hero-title .hero-title__accent,
body.page-home h1.hero-title span.hero-title__accent {
  display: inline;
  color: #ff3b5f !important;
  -webkit-text-fill-color: #ff3b5f !important;
  background: none !important;
  text-shadow:
    0 0 16px rgba(255, 59, 95, 0.5),
    0 0 36px rgba(255, 59, 95, 0.28),
    0 0 56px rgba(199, 31, 58, 0.18) !important;
  filter: none !important;
}

body.page-home.page-ready .hero-content .hero-title__accent {
  animation: lp-accent-glow 5s ease-in-out 1s infinite alternate;
}

body.page-home.page-ready .hero-content h1 {
  animation: lp-fade-up 0.8s var(--ease) 0.1s both;
}

body.page-home.page-ready .hero-content .hero-title__tagline {
  animation: lp-fade-up 0.8s var(--ease) 0.14s both;
}

body.page-home .subtitle--hero {
  margin: 0 auto 8px;
  max-width: 480px;
  color: var(--text2);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.65;
}

body.page-home.page-ready .hero-content .subtitle {
  animation: lp-fade-up 0.8s var(--ease) 0.2s both;
}

/* Hero badges */
body.page-home .hero-badges {
  margin: 36px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  padding: 0;
  box-sizing: border-box;
}

body.page-home .hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(19, 19, 22, 0.65);
  color: var(--text2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  flex: 0 1 auto;
  max-width: 100%;
  box-sizing: border-box;
  transition: border-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}

body.page-home .hero-badge svg {
  width: 14px;
  height: 14px;
  color: var(--red);
  flex-shrink: 0;
}

body.page-home .hero-badge:hover {
  color: var(--text);
  border-color: var(--border-hover);
  box-shadow: 0 0 18px rgba(255, 59, 95, 0.15);
}

body.page-home.page-ready .hero-badges {
  animation: lp-fade-up 0.8s var(--ease) 0.28s both;
}

body.page-home .hero-actions--landing {
  margin-top: 42px;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  box-sizing: border-box;
}

body.page-home.page-ready .hero-content .hero-actions {
  animation: lp-fade-up 0.8s var(--ease) 0.36s both;
}

/* ── Buttons unifiés ─────────────────────────────────────── */

body.page-home .btn {
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 13px 24px;
  transition:
    transform 250ms var(--ease),
    box-shadow 250ms ease,
    background 250ms ease,
    border-color 250ms ease,
    color 250ms ease,
    filter 250ms ease;
}

body.page-home .btn-primary,
body.page-home .btn-hero-cta,
body.page-home .open-login-btn.btn-primary {
  background: linear-gradient(180deg, #ff5a76 0%, var(--red) 45%, var(--red2) 100%) !important;
  border: 1px solid rgba(255, 120, 140, 0.35) !important;
  color: #fff !important;
  box-shadow:
    0 10px 28px rgba(255, 59, 95, 0.32),
    0 0 0 1px rgba(255, 59, 95, 0.1) inset,
    0 0 32px rgba(255, 59, 95, 0.18) !important;
}

body.page-home .btn-primary::after {
  display: none;
}

body.page-home .btn-primary:hover,
body.page-home .btn-hero-cta:hover,
body.page-home .open-login-btn.btn-primary:hover {
  transform: translateY(-3px) !important;
  filter: brightness(1.05);
  box-shadow:
    0 16px 36px rgba(255, 59, 95, 0.42),
    0 0 40px rgba(255, 59, 95, 0.28) !important;
}

body.page-home .btn-ghost,
body.page-home .btn-outline,
body.page-home .btn-hero-demo {
  background: rgba(6, 6, 7, 0.85) !important;
  border: 1px solid rgba(255, 59, 95, 0.35) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

body.page-home .btn-ghost:hover,
body.page-home .btn-outline:hover,
body.page-home .btn-hero-demo:hover {
  background: rgba(27, 17, 21, 0.95) !important;
  border-color: rgba(255, 59, 95, 0.55) !important;
  transform: translateY(-3px);
  color: #fff !important;
  box-shadow: 0 0 24px rgba(255, 59, 95, 0.18) !important;
}

body.page-home .btn-hero-cta,
body.page-home .btn-hero-demo {
  padding: 15px 28px;
  font-size: 1rem;
}

/* ── Cards premium ───────────────────────────────────────── */

body.page-home .feature-card,
body.page-home .benefit-card,
body.page-home .home-ba-card,
body.page-home .testimonial-card,
body.page-home .metric-card,
body.page-home .cta-card,
body.page-home .window-card,
body.page-home .home-window {
  position: relative;
  border-radius: 20px !important;
  border: 1px solid transparent !important;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    linear-gradient(180deg, #16161a 0%, var(--surface) 48%, #0e0e11 100%) !important;
  box-shadow:
    0 0 0 1px var(--border) inset,
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(255, 59, 95, 0.06) !important;
  transition:
    transform 250ms var(--ease),
    box-shadow 250ms ease,
    border-color 250ms ease,
    background 250ms ease !important;
  overflow: hidden;
}

body.page-home .feature-card::after,
body.page-home .benefit-card::after,
body.page-home .testimonial-card::after,
body.page-home .home-ba-card::after,
body.page-home .metric-card::after,
body.page-home .cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0%, transparent 28%, transparent 100%);
  opacity: 0.55;
}

body.page-home .feature-card:hover,
body.page-home .benefit-card:hover,
body.page-home .home-ba-card:hover,
body.page-home .testimonial-card:hover,
body.page-home .metric-card:hover {
  transform: translateY(-4px) !important;
  border-color: transparent !important;
  box-shadow:
    0 0 0 1px var(--border-hover) inset,
    0 24px 48px rgba(0, 0, 0, 0.42),
    0 0 48px rgba(255, 59, 95, 0.16) !important;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, transparent 42%),
    linear-gradient(180deg, var(--surface-hover) 0%, var(--surface) 55%, #100c0e 100%) !important;
}

body.page-home .feature-grid {
  gap: 22px !important;
  margin-top: 28px;
}

body.page-home .feature-card {
  padding: 26px 24px 24px !important;
}

body.page-home .feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--text);
}

body.page-home .feature-card p {
  margin: 0;
  color: var(--text2);
  line-height: 1.55;
  font-size: 0.95rem;
}

body.page-home .feature-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px !important;
}

body.page-home .feature-card__icon {
  display: inline-grid !important;
  place-items: center;
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  background: linear-gradient(145deg, #ff5a76 0%, var(--red) 50%, var(--red2) 100%) !important;
  color: #fff !important;
  box-shadow:
    0 8px 20px rgba(255, 59, 95, 0.35),
    0 0 24px rgba(255, 59, 95, 0.2) !important;
  font-size: 0 !important;
}

body.page-home .feature-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.page-home .feature-card__badge {
  padding: 5px 10px !important;
  border-radius: 999px !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(180deg, #ff5a76, var(--red2)) !important;
  box-shadow: 0 0 16px rgba(255, 59, 95, 0.25);
}

body.page-home .benefit-grid {
  gap: 20px;
}

body.page-home .benefit-card {
  padding: 28px 24px !important;
}

body.page-home .benefit-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--text);
}

body.page-home .benefit-card p {
  margin: 0;
  color: var(--text2);
  line-height: 1.55;
}

body.page-home .home-bonus-row {
  margin-top: 22px;
}

/* Before / After */
body.page-home .home-ba-grid {
  gap: 20px;
  margin-top: 36px;
}

body.page-home .home-ba-card {
  padding: 28px 26px !important;
}

body.page-home .home-ba-card h3 {
  margin: 0 0 14px;
  color: var(--text);
}

body.page-home .home-ba-label {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-home .home-ba-card--before .home-ba-label {
  color: var(--text2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

body.page-home .home-ba-card--after .home-ba-label {
  color: #fff;
  background: linear-gradient(180deg, #ff5a76, var(--red2));
  border: 1px solid transparent;
  box-shadow: 0 0 18px rgba(255, 59, 95, 0.3);
}

body.page-home .home-ba-question {
  color: var(--text2);
  font-style: italic;
  margin-bottom: 12px;
}

body.page-home .home-ba-answer {
  color: var(--text);
  line-height: 1.6;
}

body.page-home .home-ba-arrow {
  color: var(--red);
  font-size: 1.6rem;
  text-shadow: 0 0 18px var(--red-glow);
}

/* Demo window */
body.page-home .home-window,
body.page-home .window-card {
  margin-top: 36px;
  max-width: 920px;
}

body.page-home .home-window .window-head,
body.page-home .window-card .window-head {
  border-bottom: 1px solid var(--border);
  background: rgba(6, 6, 7, 0.55);
}

body.page-home .home-window--demo .window-body {
  min-height: 440px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(255, 59, 95, 0.14) 0%, transparent 62%),
    linear-gradient(180deg, #0c0c0f, #08080a) !important;
}

body.page-home .home-demo-gate {
  border: 1px solid var(--border-hover);
  background: rgba(19, 19, 22, 0.72);
  border-radius: 20px;
  transition: transform 250ms var(--ease), box-shadow 250ms ease, border-color 250ms ease;
}

body.page-home .home-demo-gate:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 59, 95, 0.5);
  box-shadow: 0 0 40px rgba(255, 59, 95, 0.22);
}

body.page-home .home-demo-play {
  background: linear-gradient(145deg, #ff5a76, var(--red2));
  box-shadow: 0 0 28px rgba(255, 59, 95, 0.4);
  color: #fff;
}

body.page-home .home-demo-gate__sub {
  color: var(--text2);
}

body.page-home .home-demo-video--inline {
  border: 1px solid var(--border-hover);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 36px rgba(255, 59, 95, 0.12);
}

body.page-home .home-demo-expand {
  border-color: rgba(255, 59, 95, 0.45);
  background: rgba(12, 12, 15, 0.88);
}

/* Testimonials + metrics */
body.page-home .testimonial-grid {
  gap: 20px;
  margin-top: 36px;
}

body.page-home .testimonial-card {
  padding: 28px 24px !important;
}

body.page-home .testimonial-card p {
  color: var(--text);
  line-height: 1.65;
  font-size: 1.02rem;
}

body.page-home .testimonial-card strong {
  display: block;
  margin-top: 16px;
  color: var(--text2);
  font-weight: 600;
  font-size: 0.9rem;
}

body.page-home .home-stats-row {
  margin-top: 28px;
  gap: 18px;
}

body.page-home .home-stats-row .metric-card {
  padding: 26px 20px !important;
  text-align: center;
}

body.page-home .home-stats-row .metric-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

body.page-home .home-stats-row .metric-card small {
  color: var(--text2);
  font-size: 0.85rem;
}

/* Final CTA */
body.page-home .final-cta .cta-card {
  padding: 56px 40px !important;
  text-align: center;
  box-shadow:
    0 0 0 1px var(--border-hover) inset,
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(255, 59, 95, 0.12) !important;
}

body.page-home .final-cta .cta-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text);
}

/* Accent words use .text-accent (see typography block above) */

body.page-home .final-cta .cta-card p {
  margin: 0 auto 28px;
  max-width: 460px;
  color: var(--text2);
  font-size: 1.05rem;
}

/* ── Footer ──────────────────────────────────────────────── */

body.page-home .site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 59, 95, 0.28);
  background: #060607 !important;
  box-shadow: none !important;
}

body.page-home .site-footer__grid {
  padding: 48px 0 28px;
  gap: 28px;
}

body.page-home .site-footer__brand {
  font-size: 1.65rem;
}

body.page-home .site-footer__brand span {
  color: var(--red);
  filter: drop-shadow(0 0 10px var(--red-glow));
}

body.page-home .site-footer__text {
  color: var(--text2);
  font-size: 0.92rem;
  margin-top: 8px;
}

body.page-home .site-footer h4 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

body.page-home .site-footer a {
  color: var(--text2);
  margin: 8px 0;
  transition: color 250ms ease, text-shadow 250ms ease;
}

body.page-home .site-footer a:hover {
  color: var(--text);
  text-shadow: 0 0 14px rgba(255, 59, 95, 0.35);
}

body.page-home .site-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0 28px;
}

body.page-home .site-footer__bottom p {
  color: var(--text2);
  font-size: 0.8rem;
}

/* Cookie banner alignment */
body.page-home .cookie-banner {
  border-color: var(--border-hover);
  background: rgba(11, 11, 14, 0.92);
  backdrop-filter: blur(16px);
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  body.page-home {
    --page-pad: 20px;
  }

  body.page-home .hero {
    min-height: auto;
    padding: 120px 0 72px;
    overflow-x: hidden;
  }

  body.page-home .hero-title__brand {
    font-size: clamp(2.4rem, 10.5vw, 4.5rem);
  }

  body.page-home .hero-title__tagline {
    font-size: clamp(1.25rem, 4.8vw, 2rem);
  }

  body.page-home .feature-grid,
  body.page-home .benefit-grid,
  body.page-home .testimonial-grid {
    grid-template-columns: 1fr;
  }

  body.page-home .final-cta .cta-card {
    padding: 40px 22px !important;
  }

  body.page-home .section,
  body.page-home .home-story,
  body.page-home .final-cta {
    padding: 72px 0;
  }
}

@media (max-width: 768px) {
  body.page-home {
    --page-pad: 18px;
    overflow-x: hidden;
  }

  body.page-home .hero {
    padding: 108px 0 64px;
  }

  body.page-home .hero-content {
    width: 100%;
    max-width: 100%;
  }

  body.page-home .hero-title {
    width: 100%;
    padding: 0 2px;
    box-sizing: border-box;
  }

  body.page-home .hero-title__brand {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  body.page-home .pill,
  body.page-home .pill--stat {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
  }

  body.page-home .hero-badges {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    gap: 8px;
  }

  body.page-home .hero-badge {
    font-size: 0.72rem;
    padding: 6px 11px;
  }

  body.page-home .hero-actions--landing {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 12px;
  }

  body.page-home .hero-actions--landing .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  body.page-home .subtitle--hero {
    max-width: 100%;
    padding: 0 4px;
  }
}

@media (max-width: 480px) {
  body.page-home {
    --page-pad: 16px;
  }

  body.page-home .hero {
    padding: 96px 0 56px;
  }

  body.page-home .hero-title__brand {
    font-size: clamp(2.15rem, 12.5vw, 2.85rem);
  }

  body.page-home .hero-title__tagline {
    font-size: clamp(1.15rem, 5.2vw, 1.45rem);
  }

  body.page-home .hero-badges {
    gap: 8px;
  }

  body.page-home .center-title {
    font-size: clamp(1.55rem, 7vw, 2rem);
    padding: 0 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home,
  body.page-home::before,
  body.page-home .hero-overlay,
  body.page-home .hero-overlay::after,
  body.page-home .hero-particles::before,
  body.page-home .hero-particles::after {
    animation: none !important;
  }

  body.page-home .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Neutralise résidus bleutés / gris clair de style.css sur la landing */
body.page-home .subtitle,
body.page-home .subtitle--hero {
  color: var(--text2);
}

body.page-home .metric-card,
body.page-home .feature-card,
body.page-home .benefit-card {
  border-color: transparent !important;
}

/* Kill style.css red smear bars that made the page "tout rouge" */
body.page-home .home-story::before {
  background: radial-gradient(ellipse at center, rgba(255, 59, 95, 0.045) 0%, transparent 70%) !important;
  width: min(720px, 90vw) !important;
  height: min(420px, 55vw) !important;
  top: 8% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  filter: blur(8px) !important;
  border-radius: 0 !important;
}
body.page-home .home-story::after,
body.page-home .section::after,
body.page-home .final-cta::after {
  content: none !important;
  display: none !important;
}

body.page-home .home-story .center-title,
body.page-home .center-title {
  margin-bottom: 18px !important;
}

body.page-home .home-story .center-muted,
body.page-home .center-muted {
  margin-bottom: 40px !important;
}

body.page-home .pill--stat {
  border: 1px solid rgba(255, 59, 95, 0.45) !important;
  background: rgba(10, 10, 12, 0.72) !important;
  color: #f0f0f2 !important;
  box-shadow:
    0 0 0 1px rgba(255, 59, 95, 0.08),
    0 0 20px rgba(255, 59, 95, 0.12) !important;
}

body.page-home .feature-card,
body.page-home .benefit-card,
body.page-home .home-ba-card,
body.page-home .testimonial-card,
body.page-home .home-stats-row .metric-card,
body.page-home .final-cta .cta-card {
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    linear-gradient(180deg, #16161a 0%, var(--surface) 48%, #0e0e11 100%) !important;
}

body.page-home .btn-hero-demo {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(6, 6, 7, 0.85) !important;
  color: var(--text) !important;
}

body.page-home .btn-hero-demo:hover {
  border-color: rgba(255, 59, 95, 0.45) !important;
}
