/* Hero 0.9.2 — clean section boundary; no decorative divider between Hero and Au quotidien. */
.ov-front-page { padding: 0; }
.ov-front-page__content { padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--ov-section-space); }
/* Reuse the existing Header dimensions; no header markup or navigation changes. */
.ov-nav-ready .ov-front-page { margin-block-start: calc(-1 * (var(--ov-header-height) + 2 * var(--ov-header-gap))); }
.ov-hero {
  --ov-hero-nav-space: 0px;
  --ov-orb-size: clamp(30rem, 92vw, 42rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: calc(var(--ov-hero-nav-space) + 8rem) 6rem;
  background: #070210;
}
@supports (overflow: clip) { .ov-hero { overflow: clip; } }
.ov-nav-ready .ov-hero { --ov-hero-nav-space: calc(var(--ov-header-height) + 2 * var(--ov-header-gap)); }
.ov-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 88% 70% at 5% 13%, rgb(35 52 112 / .21), transparent 67%),
    radial-gradient(ellipse 72% 62% at 33% 37%, rgb(63 47 112 / .12), transparent 66%),
    radial-gradient(ellipse 68% 66% at 76% 8%, rgb(52 67 145 / .30), transparent 66%),
    radial-gradient(ellipse 52% 56% at 90% 50%, rgb(75 66 139 / .14), transparent 66%),
    linear-gradient(125deg, #070210 0%, #0a0821 38%, #101137 70%, #090615 100%);
}
.ov-hero__nebula {
  position: absolute; z-index: 0; inset: -10%; pointer-events: none;
  background:
    radial-gradient(ellipse 62% 58% at 15% 34%, rgb(39 59 128 / .13), transparent 68%),
    radial-gradient(ellipse 54% 52% at 47% 45%, rgb(83 51 122 / .08), transparent 70%),
    radial-gradient(ellipse 50% 50% at 76% 33%, rgb(72 63 142 / .16), transparent 67%),
    radial-gradient(ellipse 38% 46% at 91% 48%, rgb(84 164 172 / .07), transparent 70%),
    radial-gradient(ellipse 38% 40% at 72% 55%, rgb(158 67 154 / .065), transparent 72%);
  animation: ov-hero-nebula 28s ease-in-out infinite alternate;
}
.ov-hero__far-stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: url('../images/hero-starfield.svg') center / cover no-repeat; opacity: .78; }
.ov-hero__scene {
  position: absolute; z-index: 2; pointer-events: none;
  width: var(--ov-orb-size); aspect-ratio: 1;
  top: calc(var(--ov-hero-nav-space) + 9.75rem);
  right: clamp(-8rem, -18vw, -3rem);
  transform: translate3d(-1cm, -1cm, 0);
  mix-blend-mode: screen;
}
.ov-hero__poster, .ov-hero__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.ov-hero__video { opacity: 0; }
.ov-hero__video.is-ready { opacity: 1; }
.ov-hero__atmosphere { position: absolute; inset: 0; z-index: 3; display: block; width: 100%; height: 100%; pointer-events: none; }
/* Darkness behind the lower copy keeps atmospheric light away from letter edges. */
.ov-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgb(7 2 16 / .04) 8%, rgb(7 4 17 / .08) 34%, rgb(5 3 13 / .30) 74%, #060311 100%);
}
.ov-hero__layout { position: relative; z-index: 4; display: block; }
.ov-hero__copy { min-width: 0; }
.ov-hero__eyebrow { margin-bottom: 1rem; font-size: .8125rem; letter-spacing: .12em; color: #aad9dc; }
.ov-hero__title {
  display: inline-block; width: fit-content; max-width: 100%; margin: 0 0 1rem;
  padding: 0 .09em .08em 0;
  font-size: clamp(1.95rem, 9.3vw, 5.5rem); line-height: 1.02; font-weight: 900;
  letter-spacing: -.055em; white-space: nowrap; text-wrap: nowrap; overflow-wrap: normal; color: #b8c0e6;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .ov-hero__title { background: var(--ov-gradient-brand); background-clip: text; -webkit-background-clip: text; color: transparent; }
}
.ov-hero__text { max-width: 54ch; margin: 0 0 1.625rem; color: #d0cbdc; font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.6; text-wrap: pretty; }
.ov-hero__actions { gap: 0; }
.ov-hero__cta {
  position: relative; isolation: isolate; overflow: hidden; min-height: 3.125rem;
  min-width: 14rem; max-width: 100%; padding: .875rem 2rem; gap: 0;
  border: 1px solid rgb(210 211 241 / .38); border-radius: 999px;
  background: linear-gradient(105deg, #603566 0%, #414781 48%, #376575 100%);
  box-shadow: 0 8px 28px rgb(51 42 123 / .24), inset 0 1px 0 rgb(255 255 255 / .1);
  color: #fff; font-family: var(--ov-font-body); font-size: .875rem; font-weight: 700;
  letter-spacing: .08em; line-height: 1.2; text-transform: uppercase;
}
.ov-hero__cta-label { position: relative; z-index: 3; overflow-wrap: anywhere; text-shadow: 0 1px 3px rgb(12 8 31 / .6); }
.ov-hero__cta .ov-hero__cta-rim { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
/* One filled ribbon: real tapered geometry, no stacked opacity trails. */
.ov-hero__cta-highlight {
  fill: #fff; stroke: none; opacity: .68;
  filter: drop-shadow(0 0 1.5px rgb(255 255 255 / .35));
}
.ov-hero__cta:focus-visible { outline: 2px solid #aad9dc; outline-offset: 5px; }
.ov-hero__controls { position: absolute; bottom: clamp(3.25rem, 5vw, 4.5rem); left: 0; right: 0; z-index: 6; display: flex; justify-content: flex-end; }
.ov-hero__motion {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem;
  padding: .5rem .75rem; border: 1px solid rgb(184 192 230 / .25); border-radius: 999px;
  background: rgb(12 8 29 / .6); color: #c3c4d9; font-size: .75rem; cursor: pointer;
}
.ov-hero__motion[hidden] { display: none; }
.ov-hero__motion-dot { width: .45rem; height: .45rem; border-radius: 50%; border: 1px solid currentColor; }
.ov-hero__motion[aria-pressed='true'] .ov-hero__motion-dot { background: #7bc2c7; border-color: #7bc2c7; }
.ov-hero__motion:hover { color: white; border-color: #7bc2c7; }
.ov-hero__transition {
  display: none;
  --ov-divider-rise: clamp(.45rem, 1.75vw, 2.4rem);
  position: absolute; z-index: 5; right: 0; bottom: 0; left: 0; height: var(--ov-divider-rise);
  pointer-events: none;
  background: var(--ov-canvas);
  clip-path: polygon(0 calc(100% - 1px), 100% 0, 100% 100%, 0 100%);
}
.ov-hero__transition::before {
  content: ''; position: absolute; z-index: 1; bottom: 0; left: 0; width: 101%; height: 1px;
  background: linear-gradient(90deg, rgb(187 108 174 / .16), rgb(105 120 195 / .72) 50%, rgb(123 194 199 / .28));
  box-shadow: 0 0 8px rgb(105 120 195 / .18);
  transform: rotate(-1deg);
  transform-origin: left bottom;
}
.ov-hero__motion-layer { animation-play-state: paused; }
.ov-hero[data-motion-state='running'] .ov-hero__motion-layer { animation-play-state: running; }
@keyframes ov-hero-nebula { to { transform: translate3d(1.5%, -1%, 0) scale(1.035); opacity: .78; } }
@media (min-width: 48rem) {
  .ov-hero {
    --ov-orb-size: clamp(28rem, 31vw, 33rem);
    --ov-orb-half: clamp(14rem, 15.5vw, 16.5rem);
    --ov-hero-title-size: clamp(2.8rem, 4.2vw, 4.5rem);
    --ov-hero-copy-top: calc(max(calc(var(--ov-hero-nav-space) + 3.5rem), 23svh) + 1.5rem);
    padding-block: var(--ov-hero-copy-top) 5.5rem;
    min-height: clamp(38rem, 80svh, 44rem);
  }
  .ov-hero__scene {
    /* Center the orb in the visual gap between the headline and lead copy. */
    top: calc(var(--ov-hero-copy-top) + var(--ov-hero-title-size) + 2.65rem - var(--ov-orb-half));
    right: clamp(.5rem, 2.2vw, 2.5rem);
  }
  .ov-hero__copy { max-width: min(62rem, 76vw); }
  .ov-hero__title { font-size: var(--ov-hero-title-size); margin-bottom: .5rem; }
  .ov-hero__text { max-width: 42ch; margin-bottom: 1.25rem; line-height: 1.55; }
  .ov-hero__eyebrow { font-size: .875rem; margin-bottom: .75rem; }
}
@media (min-width: 48rem) and (max-width: 60rem) {
  .ov-hero {
    --ov-orb-size: clamp(24rem, calc(25vw + 12rem), 27rem);
    --ov-orb-half: clamp(12rem, calc(12.5vw + 6rem), 13.5rem);
  }
  .ov-hero__scene { right: clamp(-5rem, calc(33.333vw - 21rem), -1rem); }
}
@media (min-width: 72rem) {
  .ov-hero__copy { max-width: min(58rem, 68vw); }
  .ov-hero__text { max-width: 35rem; }
}
@media (max-width: 30rem) {
  .ov-hero__title { font-size: clamp(1.52rem, 7.15vw, 2.08rem); letter-spacing: -.058em; }
}
/* At 320–360px the globe's desktop-oriented 1cm left translation leaves the
   visible artwork too far from the right edge. Keep vertical placement intact. */
@media (max-width: 22.5rem) {
  .ov-hero__scene { transform: translate3d(0, -1cm, 0); }
}
/* Requested specifically for the 2560x1440 responsive check. Keep all other
   desktop/tablet hero positioning unchanged. The shared centered frame gives
   the copy and globe equal outer margins while bringing them closer together. */
@media (min-width: 2500px) and (max-width: 2600px) and (min-height: 1350px) {
  .ov-hero {
    --ov-hero-wide-frame: 90rem;
    --ov-hero-wide-edge: max(var(--ov-gutter), calc((100vw - var(--ov-hero-wide-frame)) / 2));
  }
  .ov-hero__layout { max-width: var(--ov-hero-wide-frame); }
  .ov-hero__scene {
    right: var(--ov-hero-wide-edge);
    transform: translate3d(0, -1cm, 0);
  }
  .ov-hero__copy {
    max-width: min(58rem, calc(var(--ov-hero-wide-frame) - var(--ov-orb-size) - 2rem));
  }
}
@media (prefers-reduced-motion: reduce) {
  .ov-hero .ov-hero__motion-layer { animation: none; }
  .ov-hero__video, .ov-hero__atmosphere, .ov-hero__motion { display: none; }
  .ov-hero__cta-highlight { opacity: 0; filter: none; }
}
@media (forced-colors: active) {
  .ov-hero { background: Canvas; }
  .ov-hero__title { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
  .ov-hero__scene { mix-blend-mode: normal; opacity: .4; }
  .ov-hero__video, .ov-hero__atmosphere, .ov-hero__nebula, .ov-hero__far-stars,
  .ov-hero__motion, .ov-hero__cta-rim, .ov-hero__transition, .ov-hero::before, .ov-hero::after { display: none; }
  .ov-hero__cta { background: ButtonFace; color: ButtonText; border-color: ButtonText; box-shadow: none; }
  .ov-hero__cta-label { text-shadow: none; }
}
