.apropos {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.apropos__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/Fond_header.webp") center / cover no-repeat;
  scale: -1.45 1.45;
}
.apropos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(6, 14, 26, 0.8) 0%,
    rgba(6, 14, 26, 0.78) 45%,
    rgba(6, 14, 26, 0.86) 88%,
    rgba(6, 14, 26, 0.96) 100%
  );
}
.apropos__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3vw;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3rem, 7vh, 6rem) 5vw;
}
.apropos__divider {
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 1.3rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-orange-fort), var(--c-orange));
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.55);
}
.apropos__titre {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 2.9vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--c-orange);
  text-shadow:
    0 0 6px rgba(255, 106, 0, 0.5),
    0 0 18px rgba(255, 106, 0, 0.32);
}
.apropos__intertitre {
  margin: 1.3em 0 0.35em;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-cyan);
}
.apropos__titre + .apropos__intertitre {
  margin-top: 0;
}
.apropos__paragraphe {
  max-width: 62ch;
  margin: 0 0 1.1em;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}
.apropos__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}
.apropos__tag {
  padding: 0.5em 1.15em;
  border: 1px solid rgba(255, 157, 47, 0.55);
  border-radius: 999px;
  background: rgba(255, 157, 47, 0.08);
  color: var(--c-orange);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.apropos__mur {
  display: grid;
  grid-template-columns: calc(min(56vh, 480px) * 0.7849) calc(
      (min(56vh, 480px) - 2rem) * 0.39245
    );
  grid-template-rows: 1fr 1fr;
  gap: 2rem 1.6rem;
  height: min(56vh, 480px);
}
.apropos__cadre {
  position: relative;
  margin: 0;
  --bascule: 1deg;
  --duree-bascule: 800ms;
}
.apropos__cadre img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.55))
    drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
}
.apropos__cadre--grand {
  grid-area: 1 / 1 / 3 / 2;
  --bascule: 0.8deg;
  --duree-bascule: 950ms;
}
.apropos__cadre--petit {
  grid-column: 2;
  --bascule: 1.5deg;
  --duree-bascule: 700ms;
}
.apropos__cadre--voiture {
  grid-row: 1;
}
.apropos__cadre--burger {
  grid-row: 2;
}
@media (hover: hover) {
  .apropos__cadre img {
    transform-origin: 50% 6%;
    will-change: transform;
    backface-visibility: hidden;
  }
  .apropos__cadre.is-bouscule img {
    animation: apropos-bousculade var(--duree-bascule) ease-out;
  }
}
@keyframes apropos-bousculade {
  0% {
    rotate: 0deg;
  }
  22% {
    rotate: var(--bascule);
  }
  45% {
    rotate: calc(var(--bascule) * -0.55);
  }
  68% {
    rotate: calc(var(--bascule) * 0.25);
  }
  86% {
    rotate: calc(var(--bascule) * -0.08);
  }
  100% {
    rotate: 0deg;
  }
}
@media (prefers-reduced-motion: reduce) {
  .apropos__cadre.is-bouscule img {
    animation: none;
  }
}
@media (max-width: 900px) {
  .apropos__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4.5rem 7vw;
  }
  .apropos__mur {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 2.5rem;
    height: auto;
    justify-items: center;
  }
  .apropos__cadre {
    width: 100%;
    max-width: 320px;
  }
  .apropos__cadre--grand,
  .apropos__cadre--petit {
    grid-area: auto;
  }
  .apropos__cadre img {
    height: auto;
  }
}
