/* Hero home: message, expertises et conversion dans une composition asymetrique. */
.hero-showcase {
  min-height: calc(100svh - 18px) !important;
  padding: 0 !important;
  display: block !important;
  background: #061827;
  isolation: isolate;
}

.hero-showcase .hero-image-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  filter: saturate(1.05) contrast(1.05);
}

.hero-showcase .hero-image-bg::after {
  background:
    linear-gradient(90deg, rgba(2, 19, 33, .94) 0%, rgba(2, 19, 33, .82) 34%, rgba(2, 19, 33, .38) 70%, rgba(2, 19, 33, .22) 100%),
    linear-gradient(0deg, rgba(2, 17, 29, .88) 0%, rgba(2, 17, 29, .16) 43%, rgba(2, 17, 29, .10) 100%);
}

.hero-showcase::before {
  z-index: 1 !important;
  opacity: .20 !important;
  background-size: 64px 64px !important;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .48) 52%, transparent 88%) !important;
}

.hero-showcase::after {
  display: none !important;
}

.hero-showcase-shell {
  position: relative;
  z-index: 2;
  width: min(1540px, calc(100% - 72px)) !important;
  max-width: none !important;
  min-height: calc(100svh - 18px);
  margin: 0 auto;
  padding: 124px 0 24px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch !important;
  gap: 0;
}

.hero-showcase-main {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 34px;
}

.hero-showcase-copy {
  width: min(1080px, 100%);
  padding: 18px 0 28px;
  align-self: center;
  justify-self: center;
  text-align: center;
  animation: heroShowcaseEnter .9s cubic-bezier(.2, .75, .2, 1) both;
}

.hero-showcase-eyebrow {
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffc321;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-showcase-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

.hero-showcase h1 {
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 !important;
  color: #fff;
  font-family: var(--font-sans) !important;
  font-size: clamp(74px, 7.2vw, 112px) !important;
  font-weight: 850 !important;
  line-height: .91 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.hero-showcase h1 > span {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}

.hero-showcase h1 .hero-showcase-accent {
  color: #ffc321;
  text-shadow: 0 15px 48px rgba(255, 184, 21, .18);
}

.hero-showcase-sub {
  max-width: 760px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, .80);
  font-size: clamp(16px, 1.12vw, 19px);
  font-weight: 450;
  line-height: 1.58;
}

.hero-expertise-panel {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  overflow: hidden;
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(5, 24, 39, .20);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
  backdrop-filter: blur(8px) saturate(112%);
  -webkit-backdrop-filter: blur(8px) saturate(112%);
  animation: heroPanelEnter .9s .12s cubic-bezier(.2, .75, .2, 1) both;
}

.hero-expertise-intro {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, .11);
}

.hero-expertise-intro span {
  display: block;
  margin: 0;
  color: rgba(255, 195, 33, .86);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-expertise-intro strong {
  display: block;
  color: #fff;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-expertise-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-expertise-link {
  position: relative;
  min-width: 0;
  min-height: 54px;
  padding: 7px 10px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .68);
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: color .26s ease, background-color .26s ease;
}

.hero-expertise-link + .hero-expertise-link {
  border-left: 1px solid rgba(255, 255, 255, .10);
}

.hero-expertise-link:nth-child(4n + 1) {
  border-left: 0;
}

.hero-expertise-link:nth-child(n + 5) {
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.hero-expertise-link::after {
  display: none;
}

.hero-expertise-link img,
.hero-expertise-battery {
  width: 22px;
  height: 22px;
  object-fit: contain;
  color: #ffc321;
  filter: brightness(0) saturate(100%) invert(78%) sepia(97%) saturate(1128%) hue-rotate(344deg) brightness(105%) contrast(104%);
  transition: transform .28s ease;
}

.hero-expertise-battery {
  filter: none;
}

.hero-expertise-link:hover,
.hero-expertise-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.hero-expertise-link:hover::after,
.hero-expertise-link:focus-visible::after {
  opacity: 1;
  transform: translate(0, 0);
}

.hero-expertise-link:hover img,
.hero-expertise-link:hover .hero-expertise-battery,
.hero-expertise-link:focus-visible img,
.hero-expertise-link:focus-visible .hero-expertise-battery {
  transform: translateY(-2px) scale(1.06);
}

.hero-showcase-rail {
  width: 100%;
  min-width: 0;
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 19px;
  animation: heroRailEnter .8s .22s cubic-bezier(.2, .75, .2, 1) both;
}

.hero-showcase-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.hero-showcase-cta {
  min-height: 52px;
  padding: 0 25px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform .28s ease, background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.hero-showcase-cta svg {
  width: 18px;
  height: 18px;
  transition: transform .28s ease;
}

.hero-showcase-cta-primary {
  min-width: 218px;
  color: #061827;
  background: #ffc62d;
  box-shadow: 0 16px 42px rgba(240, 164, 14, .22);
}

.hero-showcase-cta-secondary {
  min-width: 205px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(8, 27, 43, .22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-showcase-cta:hover,
.hero-showcase-cta:focus-visible {
  transform: translateY(-3px);
}

.hero-showcase-cta-primary:hover,
.hero-showcase-cta-primary:focus-visible {
  background: #ffd24f;
  box-shadow: 0 20px 48px rgba(240, 164, 14, .32);
}

.hero-showcase-cta-secondary:hover,
.hero-showcase-cta-secondary:focus-visible {
  border-color: rgba(255, 255, 255, .54);
  background: rgba(255, 255, 255, .09);
}

.hero-showcase-cta:hover svg,
.hero-showcase-cta:focus-visible svg {
  transform: translateX(4px);
}

.hero-showcase-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-showcase-proof li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  white-space: nowrap;
}

.hero-showcase-proof li:last-child {
  padding-right: 18px;
}

.hero-showcase-proof li + li {
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.hero-showcase-proof svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  color: #ffc321;
}

.hero-showcase-proof strong {
  color: #fff;
  font-weight: 800;
}

@keyframes heroShowcaseEnter {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroPanelEnter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroRailEnter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1320px) {
  .hero-showcase-shell {
    width: min(1220px, calc(100% - 48px)) !important;
    padding-top: 122px !important;
  }

  .hero-showcase-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 30px;
  }

  .hero-showcase h1 {
    font-size: clamp(64px, 7.2vw, 94px) !important;
  }

  .hero-expertise-panel {
    max-width: none;
  }

  .hero-expertise-link {
    padding-inline: 9px;
    font-size: 9.5px;
  }

  .hero-showcase-proof li {
    padding-inline: 12px;
    font-size: 12px;
  }
}

@media (max-width: 1080px) {
  .hero-showcase-shell {
    width: calc(100% - 40px) !important;
    padding-top: 108px !important;
  }

  .hero-showcase-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 24px;
  }

  .hero-showcase h1 {
    font-size: clamp(50px, 6.2vw, 66px) !important;
  }

  .hero-showcase-sub {
    font-size: 15px;
  }

  .hero-expertise-intro {
    padding: 0 14px;
  }

  .hero-expertise-panel {
    grid-template-columns: 124px minmax(0, 1fr);
  }

  .hero-expertise-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-expertise-link {
    min-height: 52px;
    grid-template-columns: 21px minmax(0, 1fr);
    gap: 6px;
    padding: 7px 8px;
  }

  .hero-expertise-link img,
  .hero-expertise-battery {
    width: 21px;
    height: 21px;
  }

  .hero-expertise-link:nth-child(n) {
    border: 0;
  }

  .hero-expertise-link + .hero-expertise-link {
    border-left: 1px solid rgba(255, 255, 255, .14);
  }

  .hero-expertise-link:nth-child(4n + 1) {
    border-left: 0;
  }

  .hero-expertise-link:nth-child(n + 5) {
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  .hero-showcase-proof {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .hero-showcase {
    min-height: calc(100svh - 14px) !important;
  }

  .hero-showcase-shell {
    min-height: calc(100svh - 14px);
    padding: 102px 0 26px !important;
  }

  .hero-showcase-main {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    align-content: stretch;
    gap: 22px;
  }

  .hero-showcase-copy {
    width: min(760px, 90vw);
  }

  .hero-expertise-panel {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .hero-expertise-intro {
    padding: 0 12px;
    border-right: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 0;
  }

  .hero-expertise-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-expertise-link {
    min-height: 52px;
    grid-template-columns: 21px minmax(0, 1fr);
    padding: 7px 8px;
  }

  .hero-expertise-link:nth-child(n) {
    border: 0;
  }

  .hero-expertise-link:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  .hero-expertise-link + .hero-expertise-link {
    border-left: 1px solid rgba(255, 255, 255, .14);
  }

  .hero-expertise-link:nth-child(2n + 1) {
    border-left: 0;
  }

  .hero-expertise-link::after {
    display: none;
  }

  .hero-showcase-rail {
    margin-top: 24px;
    gap: 14px;
  }

  .hero-showcase-proof {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-showcase-proof li:last-child {
    padding-right: 0;
  }

  .hero-showcase-proof li + li {
    border-left: 1px solid rgba(255, 255, 255, .18);
  }
}

@media (max-width: 760px) {
  .hero-showcase .hero-image-bg img {
    object-position: 42% center;
  }

  .hero-showcase .hero-image-bg::after {
    background:
      linear-gradient(90deg, rgba(2, 19, 33, .91) 0%, rgba(2, 19, 33, .67) 100%),
      linear-gradient(0deg, rgba(2, 17, 29, .94) 0%, rgba(2, 17, 29, .22) 62%, rgba(2, 17, 29, .22) 100%);
  }

  .hero-showcase-shell {
    width: calc(100% - 32px) !important;
    min-height: 100svh;
    padding: 88px 0 96px !important;
    gap: 16px;
  }

  .hero-showcase-main {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
  }

  .hero-showcase-copy {
    width: 100%;
    padding: 8px 0 0;
  }

  .hero-showcase-eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .hero-showcase-eyebrow::before {
    width: 24px;
  }

  .hero-showcase h1 {
    max-width: 100% !important;
    font-size: clamp(39px, 11.8vw, 54px) !important;
    line-height: .93 !important;
  }

  .hero-showcase-sub {
    max-width: 520px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-expertise-panel {
    width: calc(100% + 16px);
    min-width: 0;
    max-width: none;
    margin-top: 20px;
    margin-right: -16px;
    display: block;
    border-right: 0;
    border-radius: 8px 0 0 8px;
  }

  .hero-expertise-intro {
    display: none;
  }

  .hero-expertise-list {
    width: 100%;
    min-width: 0;
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .hero-expertise-list::-webkit-scrollbar {
    display: none;
  }

  .hero-expertise-link,
  .hero-expertise-link:nth-child(n) {
    min-width: 120px;
    min-height: 54px;
    padding: 8px 10px;
    grid-template-columns: 23px minmax(0, 1fr);
    gap: 8px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .14);
    font-size: 10px;
  }

  .hero-expertise-link:first-child {
    border-left: 0;
  }

  .hero-expertise-link img,
  .hero-expertise-battery {
    width: 23px;
    height: 23px;
  }

  .hero-showcase-rail {
    margin-top: 20px;
    padding-top: 0;
    gap: 12px;
  }

  .hero-showcase-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 8px;
  }

  .hero-showcase-cta {
    width: 100%;
    min-width: 0;
    min-height: 47px;
    padding: 0 12px;
    gap: 8px;
    font-size: 11px;
    text-align: center;
  }

  .hero-showcase-cta svg {
    width: 16px;
    height: 16px;
  }

  .hero-showcase-proof {
    width: 100%;
    margin-right: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .hero-showcase-proof li,
  .hero-showcase-proof li:last-child {
    min-width: 0;
    padding: 0 7px;
    justify-content: center;
    font-size: 9px;
    line-height: 1.22;
    text-align: left;
    white-space: normal;
  }

  .hero-showcase-proof li:first-child {
    padding-left: 0;
  }

  .hero-showcase-proof svg {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
}

@media (max-width: 410px) {
  .hero-showcase h1 {
    font-size: clamp(37px, 11.2vw, 45px) !important;
  }

  .hero-showcase-sub {
    margin-top: 14px;
  }

  .hero-expertise-panel {
    margin-top: 15px;
  }

  .hero-expertise-intro strong {
    max-width: 195px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase-copy,
  .hero-expertise-panel,
  .hero-showcase-rail {
    animation: none;
  }

  .hero-showcase-cta,
  .hero-expertise-link,
  .hero-expertise-link img,
  .hero-expertise-battery {
    transition: none;
  }
}
