
/* Hero Prosper Space : menu et introduction sur un même fond. */
body.space-home-active > header {
  position:absolute;
  inset:0 0 auto;
  z-index:30;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
body.space-home-active > header .nav-wrap {
  max-width:1400px;
  min-height:104px;
  padding:20px 40px;
  margin:auto;
  background:transparent;
}
body.space-home-active > header .brand,
body.space-home-active > header .brand-sub,
body.space-home-active > header .site-nav a,
body.space-home-active > header .login-button {
  color:#fff!important;
}
body.space-home-active > header .brand img {
  width:48px!important;
  height:48px!important;
  border-radius:8px;
}
body.space-home-active > header .site-nav a {
  font-size:15px;
  font-weight:550;
}
body.space-home-active > header .login-button {
  background:transparent;
  border:0;
  box-shadow:none;
}
.space-nav-create {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:12px 20px;
  border:1px solid #ccd4e4;
  border-radius:8px;
  background:transparent;
  color:#15243e;
  font:inherit;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
}
body.space-home-active .space-nav-create {
  color:#fff;
  border-color:#ffffff70;
}
body.space-home-active .space-nav-create:hover {
  background:#ffffff12;
  border-color:#fff;
}
body #landing {
  padding-top:0;
}
body .home-hero.space-hero {
  position:relative;
  isolation:isolate;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:none;
  min-height:820px;
  min-height:max(760px,94svh);
  padding:190px 24px 90px;
  margin:0;
  overflow:hidden;
  border-radius:0;
  text-align:center;
  color:#fff;
  background:
    radial-gradient(ellipse at 7% 6%,#075dad 0%,transparent 43%),
    radial-gradient(ellipse at 45% -18%,#194ee8 0%,transparent 47%),
    radial-gradient(ellipse at 99% 12%,#65428e 0%,transparent 37%),
    radial-gradient(ellipse at 100% 52%,#8e576451 0%,transparent 40%),
    #090e24;
}
body .space-hero::before,
body .space-hero::after {
  content:none;
}
body .space-hero .home-eyebrow {
  position:relative;
  margin:0 0 28px;
  font-size:11px;
  font-weight:650;
  letter-spacing:.16em;
  color:#c5d1ee;
}
body .home-hero.space-hero h1 {
  max-width:1080px;
  margin:0;
  padding:0;
  color:#fff;
  font-size:clamp(48px,6.3vw,88px);
  line-height:1.07;
  font-weight:650;
  letter-spacing:-.055em;
  text-wrap:balance;
}
body .home-hero.space-hero h1 span {
  color:#fff;
  background:none;
  -webkit-text-fill-color:currentColor;
}
body .home-hero.space-hero > p {
  max-width:820px;
  margin:30px auto 0;
  color:#d9deed;
  font-size:clamp(16px,1.5vw,20px);
  font-weight:400;
  line-height:1.65;
  letter-spacing:-.015em;
}
body .space-hero .space-start {
  display:flex;
  align-items:stretch;
  gap:8px;
  width:100%;
  max-width:640px;
  margin:38px auto 0;
  padding:6px;
  border:1px solid #ffffff60;
  border-radius:12px;
  background:#fff;
  box-shadow:0 16px 50px #03061628;
}
body .space-start input {
  flex:1;
  min-width:0;
  width:auto;
  margin:0;
  padding:15px 20px;
  border:0;
  border-radius:8px;
  background:#fff;
  color:#172442;
  font:inherit;
  font-size:16px;
  box-shadow:none;
}
body .space-start input::placeholder { color:#6b7284; opacity:1; }
body .space-start button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  flex-shrink:0;
  margin:0;
  padding:16px 25px;
  border:0;
  border-radius:8px;
  background:#1959ff;
  color:#fff;
  font:inherit;
  font-size:16px;
  font-weight:650;
  cursor:pointer;
}
body .space-start button:hover { background:#124be0; }
body .space-start input:focus-visible,
body .space-start button:focus-visible,
body .space-nav-create:focus-visible {
  outline:3px solid #88b7ff;
  outline-offset:3px;
}
body .home-hero.space-hero > small {
  display:block;
  margin:18px 0 0;
  color:#b8c1d6;
  font-size:12px;
  line-height:1.6;
}
body .space-hero-details {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px 30px;
  margin-top:64px;
  color:#b8c5df;
  font-size:13px;
}
.space-sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
@media(max-width:760px) {
  body.space-home-active > header .nav-wrap {
    min-height:88px;
    padding:16px 20px;
    gap:14px;
    flex-wrap:wrap;
  }
  body.space-home-active > header .brand img {
    width:40px!important;
    height:40px!important;
  }
  body .home-hero.space-hero {
    min-height:760px;
    padding:190px 20px 64px;
  }
  body .home-hero.space-hero h1 {
    font-size:clamp(42px,8.4vw,64px);
  }
  body .space-hero .home-eyebrow {
    max-width:300px;
    line-height:1.7;
    margin-bottom:24px;
    font-size:10px;
  }
  body .home-hero.space-hero > p { margin-top:24px; }
  body .space-hero .desktop-break { display:none; }
  body .space-hero-details { margin-top:42px; gap:12px 20px; }
}
@media(max-width:520px) {
  body .space-hero .space-start {
    max-width:380px;
    flex-direction:column;
    border-radius:12px;
    gap:4px;
    padding:7px;
  }
  body .space-start input { padding:15px 16px; border-radius:12px; }
  body .space-start button { border-radius:12px; padding:15px; }
  body.space-home-active .space-nav-create { padding:10px 12px; font-size:12px; }
}

/* HERO PLEINE LARGEUR — BLEU */
body.space-home-active {
  margin:0!important;
  padding:0!important;
}
body.space-home-active > main,
body.space-home-active #main,
body.space-home-active #landing {
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.space-home-active .home-hero.space-hero {
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:
    radial-gradient(ellipse at 0% 0%,#479cde 0%,transparent 48%),
    radial-gradient(ellipse at 58% -15%,#527df1 0%,transparent 53%),
    radial-gradient(ellipse at 100% 20%,#6579cf 0%,transparent 43%),
    linear-gradient(160deg,#175eb6 0%,#204aaa 52%,#17377c 100%)!important;
}
body.space-home-active > header {
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  background:transparent!important;
}
body .home-hero.space-hero > p { color:#f0f4ff; }
body .space-hero .home-eyebrow,
body .home-hero.space-hero > small,
body .space-hero-details { color:#dbe8ff; }
