.meilleur-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .76fr) minmax(0, 1.24fr);
  min-height: min(760px, calc(100vh - 90px));
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
  padding-top: clamp(58px, 7vw, 96px);
}
.meilleur-home-hero::before {
  content: "";
  position: absolute;
  inset: 4% -10% auto;
  height: 78%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 38%, rgba(155, 44, 255, .19), transparent 30rem),
    radial-gradient(circle at 78% 28%, rgba(23, 107, 255, .17), transparent 38rem);
  filter: blur(8px);
}
.meilleur-home-hero__copy { position: relative; z-index: 2; padding: clamp(12px, 2vw, 28px) 0; }
.meilleur-home-hero__eyebrow {
  margin: 0 0 20px; color: #79ddff; font-size: 11px; font-weight: 750;
  letter-spacing: .16em; text-transform: uppercase;
}
.meilleur-home-hero h1 {
  max-width: 12ch; margin: 0; color: #f8f9ff;
  font-size: clamp(3rem, 5.2vw, 5.6rem); line-height: .98; letter-spacing: -.06em;
}
.meilleur-home-hero h1 span {
  display: block; margin-top: .12em; color: transparent;
  background: linear-gradient(110deg, #a42cff 0%, #6939ff 36%, #1675ff 68%, #00c9f5 100%);
  -webkit-background-clip: text; background-clip: text;
}
.meilleur-home-hero__lead {
  max-width: 620px; margin: 28px 0 0; color: #aeb7cf;
  font-size: clamp(1rem, 1.2vw, 1.14rem); line-height: 1.72;
}
.meilleur-home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meilleur-home-hero__facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 34px 0 0;
}
.meilleur-home-hero__facts > div {
  min-width: 0; padding: 13px 14px; border: 1px solid rgba(92, 111, 255, .2);
  border-radius: 14px; background: rgba(7, 13, 34, .72);
}
.meilleur-home-hero__facts dt {
  color: #8d76ff; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.meilleur-home-hero__facts dd { margin: 6px 0 0; color: #e9edff; font-size: .82rem; }
.meilleur-home-hero__visual {
  position: relative; min-width: 0; margin: 0; overflow: hidden;
  border: 1px solid rgba(100, 116, 255, .23); border-radius: 28px; background: #030718;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .44), 0 0 70px rgba(40, 65, 255, .09);
}
.meilleur-home-hero__visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), inset 0 -90px 120px rgba(3,7,24,.34);
}
.meilleur-home-hero__visual img {
  display: block; width: 100%; min-height: 560px; object-fit: cover; object-position: center;
}
.meilleur-product-overview { padding-top: clamp(70px, 8vw, 118px); }
.meilleur-product-overview__heading {
  display: grid; grid-template-columns: minmax(0,.7fr) minmax(340px,1.1fr);
  gap: 30px; align-items: end; margin-bottom: 28px;
}
.meilleur-product-overview__heading h2 {
  margin: 0; max-width: 19ch; color: #f5f7ff;
  font-size: clamp(2rem,3.2vw,3.5rem); line-height: 1.03; letter-spacing: -.045em;
}
.meilleur-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.meilleur-product-card {
  position: relative; display: flex; min-height: 290px; flex-direction: column; padding: 24px;
  overflow: hidden; border: 1px solid rgba(97,113,255,.2); border-radius: 20px;
  color: inherit; text-decoration: none;
  background: radial-gradient(circle at 100% 0%, rgba(24,110,255,.12), transparent 15rem),
    linear-gradient(145deg, rgba(157,44,255,.055), transparent 38%), rgba(8,14,34,.88);
  box-shadow: 0 18px 54px rgba(0,0,0,.24);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.meilleur-product-card::after {
  content: ""; position: absolute; right: -28px; bottom: -48px; width: 150px; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,201,245,.12), transparent 70%);
}
.meilleur-product-card__index { color: #7f69ff; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.meilleur-product-card strong { margin-top: 40px; color: #f4f6ff; font-size: 1.25rem; }
.meilleur-product-card p { margin: 14px 0 28px; color: #a8b2cb; font-size: .91rem; line-height: 1.62; }
.meilleur-product-card__link { margin-top: auto; color: #53d9ff; font-size: .84rem; font-weight: 700; }
.meilleur-product-card:hover {
  border-color: rgba(69,107,255,.43);
  box-shadow: 0 28px 72px rgba(0,0,0,.34), 0 0 42px rgba(71,63,255,.08);
  transform: translateY(-4px);
}
.meilleur-brand-outro {
  position: relative; min-height: 500px; margin-top: clamp(80px,10vw,150px);
  overflow: hidden; border: 1px solid rgba(100,116,255,.23); border-radius: 30px;
  background: #030718; box-shadow: 0 30px 90px rgba(0,0,0,.4);
}
.meilleur-brand-outro > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center; opacity: .72;
}
.meilleur-brand-outro::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,rgba(3,7,24,.96) 0%,rgba(3,7,24,.77) 46%,rgba(3,7,24,.25) 100%),
    linear-gradient(180deg,transparent 55%,rgba(3,7,24,.7));
}
.meilleur-brand-outro__overlay {
  position: relative; z-index: 2; display: flex; min-height: 500px; max-width: 690px;
  flex-direction: column; justify-content: center; padding: clamp(34px,6vw,78px);
}
.meilleur-brand-outro__overlay > p {
  margin: 0 0 18px; color: #6ddfff; font-size: 10px; font-weight: 800;
  letter-spacing: .17em; text-transform: uppercase;
}
.meilleur-brand-outro h2 {
  margin: 0; color: #fff; font-size: clamp(2.4rem,4.3vw,4.8rem);
  line-height: 1; letter-spacing: -.055em;
}
.meilleur-brand-outro__overlay > span {
  max-width: 560px; margin-top: 20px; color: #b8c1d8; font-size: 1rem; line-height: 1.65;
}
.meilleur-brand-outro .actions { margin-top: 28px; }

@media (max-width: 1050px) {
  .meilleur-home-hero { grid-template-columns: 1fr; min-height: auto; }
  .meilleur-home-hero h1 { max-width: 14ch; }
  .meilleur-home-hero__visual img { min-height: 0; }
  .meilleur-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .meilleur-home-hero { padding-top: 42px; }
  .meilleur-home-hero h1 { font-size: clamp(2.7rem,13vw,4.3rem); }
  .meilleur-home-hero__facts { grid-template-columns: 1fr; }
  .meilleur-product-overview__heading { grid-template-columns: 1fr; }
  .meilleur-product-grid { grid-template-columns: 1fr; }
  .meilleur-product-card { min-height: 240px; }
  .meilleur-brand-outro { min-height: 560px; }
  .meilleur-brand-outro > img { object-position: 62% center; opacity: .5; }
  .meilleur-brand-outro::after {
    background: linear-gradient(180deg,rgba(3,7,24,.35),rgba(3,7,24,.96) 58%);
  }
  .meilleur-brand-outro__overlay {
    min-height: 560px; justify-content: flex-end; padding: 28px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .meilleur-product-card { transition: none; }
}

/* HERO_LAYOUT_FINAL_START */
/*
 * Balanced two-column hero for German and English.
 * No word hyphenation, no stretched empty image card, and no text/image overlap.
 */
.meilleur-home-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: auto;
  gap: clamp(34px, 4vw, 72px);
  align-items: center;
}

.meilleur-home-hero__copy {
  min-width: 0;
  max-width: none;
  padding: clamp(12px, 2vw, 28px) 0;
}

.meilleur-home-hero h1 {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: clamp(3rem, 4.15vw, 4.65rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
}

.meilleur-home-hero h1 span {
  display: block;
  width: 100%;
  max-width: none;
  margin-top: 0.16em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
}

.meilleur-home-hero__lead {
  max-width: 58ch;
}

.meilleur-home-hero__visual {
  width: 100%;
  max-width: 880px;
  aspect-ratio: 1664 / 960;
  justify-self: end;
  align-self: center;
}

.meilleur-home-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1320px) {
  .meilleur-home-hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: clamp(28px, 3.2vw, 50px);
  }

  .meilleur-home-hero h1 {
    font-size: clamp(2.85rem, 4.35vw, 4.25rem);
  }
}

@media (max-width: 1120px) {
  .meilleur-home-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .meilleur-home-hero__copy {
    max-width: 780px;
  }

  .meilleur-home-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 7.4vw, 4.6rem);
  }

  .meilleur-home-hero__visual {
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .meilleur-home-hero {
    padding-top: 42px;
  }

  .meilleur-home-hero h1 {
    max-width: 10.5ch;
    font-size: clamp(2.45rem, 11.5vw, 4rem);
    line-height: 0.99;
  }

  .meilleur-home-hero__lead {
    font-size: 1rem;
  }
}
/* HERO_LAYOUT_FINAL_END */

/* HERO_GRADIENT_CLIP_FIX_START */
/* Extend only the gradient paint box; keep layout and wrapping unchanged. */
.meilleur-home-hero__copy {
  overflow: visible;
}

.meilleur-home-hero h1 span {
  width: calc(100% + 0.46em);
  padding-right: 0.46em;
  box-sizing: border-box;
  overflow: visible;
  background-origin: border-box;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 1120px) {
  .meilleur-home-hero h1 span {
    width: calc(100% + 0.2em);
    padding-right: 0.2em;
  }
}
/* HERO_GRADIENT_CLIP_FIX_END */
