/* Les accueils internationaux reprennent la composition de La Soluce. */
.home-hero-intl .hero-copy {
  width: min(100%, 36rem);
  min-width: 0;
}

.home-hero-intl .hero-copy h1 {
  font-size: clamp(4rem, 7vw, 6.75rem);
  line-height: .9;
  overflow-wrap: normal;
}

.home-hero-intl .hero-copy h1 em {
  display: inline-block;
  padding-block-end: .07em;
}

.home-hero-intl .hero-paths a {
  white-space: normal;
}

html[lang="zh-Hant"] .home-hero-intl .hero-copy h1 {
  font-family: var(--font-display), "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  letter-spacing: -.03em;
  line-height: 1.08;
}

@media (max-width: 760px) {
  .home-hero-intl::after {
    background:
      linear-gradient(0deg, #0d0920f0 0%, #100a22b3 31%, #160a2526 71%, transparent),
      linear-gradient(90deg, #100820a0, #10082068 76%, #10082030);
  }
  .home-hero-intl .hero-copy h1 {
    font-size: clamp(3.1rem, 13.5vw, 5.25rem);
  }
  .home-hero-intl .hero-paths {
    max-width: min(100%, 340px);
  }
  html[lang="zh-Hant"] .home-hero-intl .hero-copy h1 {
    font-size: clamp(1.9rem, 10vw, 3.6rem);
  }
}

.home-hero[data-ambiance] { background-color: #180f27; }
.home-hero[data-ambiance] .hero-media img,
.ambiance-film {
  object-fit: cover;
  object-position: 50% 62%;
}
.ambiance-film {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.ambiance-film.ambiance-visible { opacity: 1; }
.ambiance-commande {
  position: absolute;
  top: 16px;
  right: max(18px, calc((100% - 1320px) / 2));
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 50%;
  color: #fff;
  background: rgb(21 13 35 / 78%);
  cursor: pointer;
}
.ambiance-commande[hidden] { display: none; }
.ambiance-commande:hover { background: #25152f; }
.ambiance-commande:focus-visible { outline: 3px solid #ffcf47; outline-offset: 3px; }
.ambiance-commande::before {
  content: '';
  box-sizing: border-box;
  width: 0;
  height: 0;
  margin-left: 3px;
  border: solid transparent;
  border-width: 7px 0 7px 11px;
  border-left-color: currentColor;
}
.ambiance-commande[data-lecture='true']::before {
  width: 12px;
  height: 14px;
  margin: 0;
  border: solid currentColor;
  border-width: 0 4px;
}
@media (max-width: 620px) {
  .home-hero[data-ambiance] .hero-media img,
  .ambiance-film { object-position: center; }
  .home-hero[data-ambiance] .hero-inner { padding-top: clamp(132px, 39vw, 190px); padding-bottom: 28px; }
  .home-hero[data-ambiance] .hero-media,
  .home-hero[data-ambiance] .ambiance-film { height: 76%; }
  .home-hero[data-ambiance]::after {
    background: linear-gradient(0deg, #180f27 22%, rgb(24 15 39 / 88%) 39%, rgb(24 15 39 / 48%) 62%, transparent 83%),
                linear-gradient(90deg, rgb(19 12 33 / 38%), transparent 75%);
  }
  .ambiance-commande { top: 12px; right: 14px; }
}

@media (max-width: 760px) {
  .home-hero-intl .hero-paths a { min-height: 46px; line-height: 1.28; }
  .home-hero-intl .button-ghost { background-color: rgb(20 12 34 / 80%); }
  .home-hero-intl .hero-copy { max-width: 100%; }
  html[lang=ja] .home-hero-intl .hero-copy h1 { font-size: clamp(2.1rem, 11vw, 4.5rem); line-height: 1.12; }
}
