/* Hero Solari — bande pleine largeur sous les CTA */

body.page-home .hero-demo {
  --solari-accent: #185fa5;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-home .hp-hero-cta-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
  margin: clamp(0.35rem, 0.8vw, 0.55rem) auto 0;
  gap: clamp(1.35rem, 2.5vw, 1.85rem);
}

body.page-home .hp-hero-cta-block .hp-hero-actions {
  width: 100%;
}

body.page-home .hero-demo-full {
  width: 100%;
  margin: 0;
  padding: 0.3rem 1.25rem;
  min-height: 0;
  overflow: hidden;
  border: 0.5px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg-subtle);
}

body.page-home .hero-demo.solari-enhanced.hero-demo-full {
  min-height: calc(var(--solari-slot-height, 2.75rem) + 0.6rem);
  box-sizing: border-box;
}

body.page-home .solari-live {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  line-height: 1;
}

body.page-home .hero-demo.solari-enhanced .solari-live {
  min-height: var(--solari-slot-height, 2.75rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-home .hero-demo.solari-enhanced .solari-line-wrap {
  min-height: var(--solari-slot-height, 2.75rem);
  align-items: center;
}

body.page-home .solari-static {
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  font-size: clamp(12px, 1.35vw, 14px);
  line-height: 1.55;
  color: var(--c-text-secondary);
  text-align: center;
}

@media (min-width: 640px) {
  body.page-home .solari-static {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    flex-wrap: wrap;
  }

  body.page-home .solari-static-arrow {
    margin: 0;
  }
}

body.page-home .solari-static-line {
  margin: 0;
}

body.page-home .solari-static-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-tertiary);
  margin-bottom: 0.25rem;
}

body.page-home .solari-static-before {
  color: var(--c-text-primary);
  font-weight: 500;
}

body.page-home .solari-static-after {
  color: var(--solari-accent);
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
}

body.page-home .solari-static-arrow {
  margin: 0.4rem 0;
  font-size: 1.1rem;
  color: var(--c-text-tertiary);
  line-height: 1;
}

body.page-home .hero-demo.solari-enhanced .solari-static {
  display: none;
}

body.page-home .solari-live[hidden] {
  display: none;
}

body.page-home .solari-line-wrap {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

body.page-home .solari-line {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--c-text-primary);
  transform-origin: center center;
}

body.page-home .solari-char {
  position: relative;
  display: inline-block;
  height: 1em;
  flex-shrink: 0;
  perspective: 700px;
  overflow: hidden;
  vertical-align: top;
}

body.page-home .solari-char-inner {
  display: block;
  height: 1em;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.42s cubic-bezier(0.45, 0.05, 0.25, 1);
}

body.page-home .solari-char-inner.is-flipped {
  transform: rotateX(180deg);
}

body.page-home .solari-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

body.page-home .solari-face-front {
  transform: rotateX(0deg);
  color: var(--c-text-primary);
}

body.page-home .solari-face-back {
  transform: rotateX(180deg);
  color: var(--solari-accent);
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .solari-char-inner {
    transition: none;
  }
}
