/* ovastack-hero.css — hero « L'alternative à VMware » (référence screenshot 2026-07-17).
   Topbar produit « ovastack. » (remplace le site-header partagé, pattern deskio),
   scène photo nettoyée (labels réinjectés en HTML pour i18n), trust bar 4 items.
   Fond hexagones WebGL via story-lines.js (opt-in data-story-lines). */

.ovastack-page {
  --oh-inner: min(100vw - 120px, 1537px);
  --oh-teal: #3fe3c9;
  --oh-cta-bg: #c7e1fc;
  --oh-cta-ink: #0a1626;
}

/* ===== Topbar dark ovastack (sticky pleine largeur) ===== */
.oh-topbar {
  position: sticky;
  top: 0;
  z-index: 160;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  width: 100%;
  min-height: var(--cb-topbar-h);
  padding: 0 var(--cb-topbar-pad-x);
  background: rgba(4, 8, 15, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(146, 176, 216, 0.07);
}
.oh-cloudbizz-logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  line-height: 1;
  text-decoration: none;
}
.oh-cloudbizz-logo .brand__logo-img {
  display: block;
  width: clamp(132px, 9.45vw, 158px);
  height: auto;
  filter: brightness(0) invert(1);
}
.oh-cloudbizz-logo:focus-visible,
.oh-hero-logo:focus-visible {
  outline: 2px solid #a9d8ff;
  outline-offset: 6px;
  border-radius: 3px;
}

.oh-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 64px;
  padding: 0 clamp(30px, 3.4vw, 58px);
  gap: clamp(24px, 3.3vw, 56px);
  border: 1px solid rgba(146, 176, 216, 0.2);
  border-radius: 16px;
  background: rgba(10, 18, 32, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.oh-nav a {
  position: relative;
  color: rgba(226, 235, 250, 0.92);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
}
.oh-nav a:hover { color: #fff; }
.oh-nav a[aria-current="location"] { color: #fff; }
.oh-nav a[aria-current="location"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--oh-teal);
}

.oh-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.6vw, 26px);
}
.ovastack-page .oh-topbar .language-select { margin: 0; }
.ovastack-page .oh-topbar .language-select::after { display: none; }
.ovastack-page .oh-topbar .language-select select {
  width: auto;
  height: auto;
  min-width: 82px;
  min-height: 48px;
  padding: 0 30px 0 18px;
  border: 1px solid rgba(146, 176, 216, 0.26);
  border-radius: 12px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6eefb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 9 5 5 5-5'/%3E%3C/svg%3E") right 12px center / 12px no-repeat,
    rgba(10, 18, 32, 0.42);
  color: #e6eefb;
  font-weight: 600;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.oh-login {
  color: rgba(228, 237, 252, 0.92);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.oh-login:hover { color: #fff; }
.oh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 10px;
  color: var(--oh-cta-ink);
  background: var(--oh-cta-bg);
  box-shadow: 0 7px 24px rgba(76, 153, 218, 0.17);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.oh-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(76, 153, 218, 0.28);
}
.oh-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(146, 176, 216, 0.26);
  border-radius: 12px;
  background: rgba(10, 18, 32, 0.42);
  color: #e6eefb;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.oh-menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.oh-mobile-menu[hidden] { display: none; }
.oh-mobile-menu {
  position: sticky;
  top: 72px;
  z-index: 155;
  display: grid;
  gap: 4px;
  padding: 14px clamp(24px, 5vw, 40px) 20px;
  background: rgba(4, 9, 17, 0.96);
  border-bottom: 1px solid rgba(146, 176, 216, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.oh-mobile-menu a {
  padding: 12px 4px;
  color: rgba(230, 238, 251, 0.94);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(146, 176, 216, 0.1);
}
.oh-mobile-menu a:last-child { border-bottom: 0; }
.oh-mobile-menu a[aria-current="location"] {
  color: #fff;
  box-shadow: inset 3px 0 0 var(--oh-teal);
}

/* Le topbar sticky recouvre le haut des sections ciblées par ancre */
.ovastack-page main section[id] { scroll-margin-top: 96px; }

/* ===== Section hero ===== */
.oh-hero {
  position: relative;
  min-height: max(772px, calc(100svh - 88px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4svh, 56px) 0 clamp(30px, 5svh, 56px);
  overflow: hidden;
  color: #e8effb;
  background:
    radial-gradient(circle at 74% 30%, rgba(47, 99, 214, 0.1), transparent 42%),
    radial-gradient(circle at 40% 88%, rgba(53, 224, 200, 0.06), transparent 34%),
    linear-gradient(180deg, #04070d 0%, #060d19 58%, #050a12 100%);
}
.oh-hero .story-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
  mask-image: linear-gradient(115deg, transparent 32%, rgba(0, 0, 0, 0.45) 55%, #000 78%);
  -webkit-mask-image: linear-gradient(115deg, transparent 32%, rgba(0, 0, 0, 0.45) 55%, #000 78%);
}
.oh-hero__inner,
.oh-trust { position: relative; z-index: 1; }

.oh-hero__inner {
  width: var(--oh-inner);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, clamp(540px, 38vw, 640px));
  gap: clamp(22px, 2.6vw, 42px);
  align-items: center;
}

/* ===== Scène photo (racks + opérateur + appliance) ===== */
.oh-scene {
  position: relative;
  margin-left: clamp(-140px, calc((var(--oh-inner) - 100vw) / 2), 0px);
  aspect-ratio: 955 / 728;
  container-type: inline-size;
  pointer-events: none;
  translate: var(--scene-par-x, 0px) var(--scene-par-y, 0px);
  transition: translate 0.55s cubic-bezier(0.22, 0.7, 0.3, 1);
  animation: oh-scene-in 1.2s cubic-bezier(0.22, 0.7, 0.3, 1) 0.1s backwards;
}
.oh-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(150% 130% at 38% 46%, #000 62%, transparent 98%);
  mask-image: radial-gradient(150% 130% at 38% 46%, #000 62%, transparent 98%);
}
/* Respiration du halo turquoise de l'appliance */
.oh-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(30% 34% at 74% 56%, rgba(64, 229, 213, 0.14), transparent 70%);
  mix-blend-mode: screen;
  animation: oh-scene-glow 7s ease-in-out infinite;
}
@keyframes oh-scene-in {
  from { opacity: 0; translate: 0 20px; }
}
@keyframes oh-scene-glow {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* Labels réinjectés en HTML (effacés de l'image pour la traduction) */
.oh-scene-label,
.oh-stack-label {
  position: absolute;
  translate: -50% -50%;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}
.oh-scene-label {
  font-size: 1.28cqw;
  letter-spacing: 0.3em;
  color: rgba(158, 178, 203, 0.78);
  text-shadow: 0 0 6px rgba(4, 10, 18, 0.8);
}
.oh-stack-label {
  font-size: 0.95cqw;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(205, 218, 234, 0.85);
  text-shadow: 0 1px 4px rgba(3, 8, 14, 0.7);
}
.oh-scene-label--rack1 { left: 9.5%; top: 25.1%; }
.oh-scene-label--rack2 { left: 9.6%; top: 45.8%; }
.oh-scene-label--rack3 { left: 9.2%; top: 66.5%; }
.oh-stack-label--1 { left: 76.3%; top: 53.7%; }
.oh-stack-label--2 { left: 76.4%; top: 61.7%; }
.oh-stack-label--3 { left: 76.1%; top: 68.9%; }

/* ===== Copy ===== */
.oh-copy {
  position: relative;
}
.oh-hero-logo {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  display: inline-flex;
  align-items: baseline;
  color: #f2f6ff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}
.oh-hero-logo i {
  color: var(--oh-teal);
  font-style: normal;
}
.oh-kicker {
  margin: 0 0 26px;
  color: rgba(198, 212, 234, 0.82);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: oh-rise 0.8s cubic-bezier(0.22, 0.7, 0.3, 1) 0.1s backwards;
}
.oh-copy h1 {
  font-family: var(--cb-display-font);
  margin: 0;
  font-size: clamp(46px, 4.7vw, 78px);
  font-weight: var(--cb-display-weight);
  letter-spacing: var(--cb-display-tracking);
  line-height: var(--cb-display-leading);
  color: #f4f8ff;
  animation: oh-rise 0.8s cubic-bezier(0.22, 0.7, 0.3, 1) 0.2s backwards;
}
.oh-title__line { display: block; white-space: nowrap; }
.oh-copy h1 em {
  font-style: normal;
  font-weight: 300;
  background: var(--cb-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.oh-lead {
  margin: 30px 0 0;
  max-width: 510px;
  color: rgba(203, 215, 234, 0.8);
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.58;
  animation: oh-rise 0.8s cubic-bezier(0.22, 0.7, 0.3, 1) 0.3s backwards;
}
.oh-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 42px;
  margin-top: 38px;
  animation: oh-rise 0.8s cubic-bezier(0.22, 0.7, 0.3, 1) 0.4s backwards;
}
.oh-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 226px;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 10px;
  background: var(--oh-cta-bg);
  color: var(--oh-cta-ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 7px 24px rgba(76, 153, 218, 0.17);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.oh-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(76, 153, 218, 0.28);
}
.oh-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #b9d6ef;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.oh-btn-ghost:hover { color: #e3f0fd; }
.oh-btn-ghost svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes oh-rise {
  from { opacity: 0; translate: 0 18px; }
}

/* ===== Bandeau de confiance ===== */
.oh-trust {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  width: min(calc(100% - 60px), 1440px);
  margin: clamp(40px, 6svh, 70px) auto 0;
  animation: oh-rise 0.8s cubic-bezier(0.22, 0.7, 0.3, 1) 0.55s backwards;
}
.oh-trust > span {
  display: flex;
  align-items: center;
  gap: 19px;
  min-height: 56px;
  padding: 0 clamp(26px, 3.6vw, 66px);
  border-right: 1px solid rgba(135, 162, 194, 0.24);
  color: rgba(170, 186, 210, 0.78);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.oh-trust > span:last-child { border-right: 0; }
.oh-trust svg {
  width: 38px;
  height: 38px;
  flex: none;
  fill: none;
  stroke: rgba(140, 165, 196, 0.8);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.oh-trust b { font-weight: 400; }
/* Lockup texte AMD EPYC */
.oh-amd {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  flex: none;
  color: rgba(214, 227, 243, 0.9);
  line-height: 1;
}
.oh-amd b {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.oh-amd i {
  font-style: normal;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* ===== Responsive ===== */
@media (max-width: 1560px) {
  .ovastack-page { --oh-inner: min(100vw - 88px, 1537px); }
}
@media (max-width: 1500px) {
  .oh-trust > span {
    gap: 14px;
    padding: 0 clamp(14px, 1.9vw, 30px);
    font-size: 15px;
  }
  .oh-trust svg { width: 32px; height: 32px; }
  .oh-amd i { font-size: 17px; }
}
@media (max-width: 1360px) {
  .oh-copy h1 { font-size: clamp(42px, 4.5vw, 60px); }
  .oh-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(480px, 44vw, 580px)); }
}
@media (max-width: 1320px) {
  .oh-topbar { grid-template-columns: auto 1fr auto; }
  .oh-nav { display: none; }
  .oh-menu-toggle { display: inline-flex; }
}
@media (max-width: 1180px) {
  .oh-hero { min-height: 0; padding-top: 56px; }
  .oh-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    width: min(calc(100% - 48px), 640px);
    gap: 44px;
  }
  .oh-copy { order: 1; }
  .oh-hero-logo {
    position: static;
    margin: 0 0 18px;
  }
  .oh-scene {
    order: 2;
    margin-left: 0;
    animation-delay: 0.35s;
  }
  .oh-title__line { white-space: normal; }
  .oh-trust {
    grid-template-columns: repeat(2, minmax(0, auto));
    gap: 18px 0;
  }
  .oh-trust > span:nth-child(2n) { border-right: 0; }
}
@media (max-width: 760px) {
  .ovastack-page .page-breadcrumb--product { display: none; }
  .oh-login { display: none; }
  .oh-cta { min-height: 46px; padding: 0 18px; font-size: 15px; }
}
@media (max-width: 620px) {
  .oh-topbar { gap: 10px; padding: 10px 14px; }
  .oh-cloudbizz-logo .brand__logo-img { width: 126px; }
  .oh-topbar .oh-cta { display: none; }
  .oh-menu-toggle { padding: 0 14px; }
  .oh-hero { padding-top: 44px; }
  .oh-hero__inner { width: calc(100% - 36px); }
  .oh-hero-logo { font-size: 28px; }
  .oh-copy h1 { font-size: clamp(38px, 10.5vw, 48px); }
  .oh-trust { grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; width: min(calc(100% - 48px), 360px); }
  .oh-trust > span { border-right: 0 !important; padding: 0; white-space: normal; }
}
@media (max-width: 380px) {
  .oh-topbar {
    gap: 6px;
    padding: 8px 10px;
  }
  .ovastack-page .oh-topbar .language-select select {
    min-width: 64px;
    min-height: 46px;
    padding-inline: 12px 24px;
    background-position: right 8px center;
  }
  .oh-menu-toggle {
    gap: 6px;
    min-height: 46px;
    padding-inline: 10px;
  }
}

@media (min-width: 761px) {
  .ovastack-page .page-breadcrumb--product {
    left: var(--ovastack-breadcrumb-left, var(--cb-topbar-pad-x));
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oh-scene,
  .oh-scene::after,
  .oh-kicker,
  .oh-copy h1,
  .oh-lead,
  .oh-actions,
  .oh-trust { animation: none !important; }
  .oh-scene img { transition: none; }
}
