.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/Fond_header.webp") center / cover no-repeat;
  scale: 1.45;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 14, 26, 0.45),
    rgba(6, 14, 26, 0.78)
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4vw;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 6rem 5vw 5rem;
}
.hero__logo {
  flex: 0 0 auto;
  width: min(32vw, 380px);
}
.hero__content {
  flex: 1 1 auto;
  text-align: left;
}
.hero__title {
  margin: 0 0 0.6em;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--c-orange);
  text-shadow:
    0 0 6px var(--c-orange-fort),
    0 0 20px rgba(255, 106, 0, 0.55);
}
.hero__subtitle {
  max-width: 46ch;
  margin: 0 0 2em;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.5;
  color: #fff;
}
.hero__subtitle--mobile {
  display: none;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn {
  display: inline-block;
  padding: 0.95em 2em;
  border-radius: 999px;
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}
.btn:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 4px;
}
.btn--primary {
  background: linear-gradient(135deg, var(--c-orange-fort), var(--c-orange));
  color: #21120a;
  box-shadow: 0 6px 22px rgba(255, 106, 0, 0.45);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 10px 28px rgba(255, 106, 0, 0.6);
}
.btn--tel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  line-height: 1.15;
  padding: 0.7em 1.5em;
}
.btn__action {
  display: block;
  text-wrap: balance;
}
.btn__numero {
  display: block;
  font-size: 1.15em;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.btn--outline {
  border: 2px solid var(--c-cyan);
  background: transparent;
  color: var(--c-cyan);
  box-shadow:
    0 0 10px var(--c-cyan-fort),
    inset 0 0 10px rgba(77, 216, 255, 0.25);
  text-shadow: 0 0 8px var(--c-cyan-fort);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  box-shadow:
    0 0 18px var(--c-cyan-fort),
    0 0 32px var(--c-cyan),
    inset 0 0 14px rgba(77, 216, 255, 0.35);
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  z-index: 1;
  width: 38px;
  translate: -50% 0;
  animation: hero-chevron 1.8s ease-in-out infinite;
}
.hero__scroll img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 0 6px var(--c-cyan-fort));
}
.hero__scroll:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 6px;
}
@keyframes hero-chevron {
  0%,
  100% {
    translate: -50% 0;
  }
  50% {
    translate: -50% 10px;
  }
}
@media (max-width: 900px) {
  .hero__inner {
    flex-direction: column;
    gap: 1.75rem;
    padding: 7rem 7vw 6rem;
    text-align: center;
  }
  .hero__logo {
    width: min(58vw, 280px);
  }
  .hero__content {
    text-align: center;
  }
  .hero__title {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem);
  }
  .hero__subtitle {
    margin-bottom: 1.75em;
  }
  .hero__subtitle--desktop {
    display: none;
  }
  .hero__subtitle--mobile {
    display: block;
    margin-inline: auto;
    max-width: 32ch;
  }
  .hero__cta {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll {
    animation: none;
  }
  .btn {
    transition: none;
  }
}
