.vehicle-hero {
  position: relative;
  min-height: 650px;
  background-image: var(--vehicle-hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.vehicle-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.28) 0%,
      rgba(0, 0, 0, 0.18) 35%,
      rgba(0, 0, 0, 0.42) 65%,
      rgba(0, 0, 0, 0.68) 100%
    );
}

.vehicle-container {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
  padding: 70px 0;
  display: grid;
  grid-template-columns: minmax(370px, 460px) minmax(430px, 1fr);
  align-items: center;
  gap: clamp(60px, 8vw, 130px);
}

/* TEXTE À DROITE */

.vehicle-left {
  width: 100%;
  max-width: 570px;
  justify-self: end;
  text-align: left;
  color: #ffffff;
}

.vehicle-left h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(54px, 5.2vw, 78px);
  font-weight: 850;
  line-height: 0.97;
  letter-spacing: -0.045em;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.55);
}

.vehicle-left h1 span {
  color: rgba(255, 255, 255, 0.76);
}

.vehicle-description {
  max-width: 500px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
}

.vehicle-benefits {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.vehicle-benefit {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.vehicle-benefit-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  font-size: 12px;
  font-weight: 900;
}

/* SÉLECTEUR À GAUCHE */

.vehicle-box {
  width: 100%;
  max-width: 700px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.24),
    0 5px 18px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: vehicleFadeIn 0.65s ease both;
}

.vehicle-step {
  display: block;
  margin-bottom: 11px;
  color: #777777;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.1em;
}

.vehicle-box h2 {
  margin: 0;
  color: #111111;
  font-size: 34px;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.vehicle-box-description {
  margin: 12px 0 25px;
  color: #626262;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.5;
}

.vehicle-field {
  margin-bottom: 15px;
}

.vehicle-field label {
  display: block;
  margin: 0 0 8px 2px;
  color: #303030;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.vehicle-box select {
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 0 46px 0 17px;
  border: 1px solid #d6d6d6;
  border-radius: 13px;
  background: #ffffff;
  color: #151515;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.vehicle-box select:hover {
  border-color: #9f9f9f;
}

.vehicle-box select:focus {
  border-color: #111111;
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.07);
}

.vehicle-search-button {
  width: 100%;
  min-height: 58px;
  margin-top: 5px;
  padding: 0 16px 0 20px;
  border: 1px solid #111111;
  border-radius: 14px;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.vehicle-search-button:hover {
  background: #ffffff;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.14);
}

.vehicle-search-button:active {
  transform: translateY(0);
}

.vehicle-button-arrow {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 19px;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.vehicle-search-button:hover .vehicle-button-arrow {
  background: #111111;
  color: #ffffff;
  transform: translateX(3px);
}

.vehicle-box-footer {
  margin-top: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #656565;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}

.vehicle-box-footer-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  border-radius: 50%;
  background: #e9e9e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  font-size: 11px;
  font-weight: 900;
}

@keyframes vehicleFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLETTE */

@media (max-width: 1050px) {
  .vehicle-container {
    grid-template-columns: minmax(370px, 480px) minmax(430px, 1fr);
    gap: 45px;
  }

  .vehicle-left h1 {
    font-size: clamp(48px, 6vw, 64px);
  }

  .vehicle-description {
    font-size: 18px;
  }

  .vehicle-box {
    padding: 32px;
  }
}

/* MOBILE */

@media (max-width: 820px) {
  .vehicle-hero {
    min-height: auto;
    background-position: 58% center;
  }

  .vehicle-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.46) 40%,
        rgba(0, 0, 0, 0.72) 100%
      );
  }

  .vehicle-container {
    width: min(100% - 30px, 620px);
    padding: 52px 0 32px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vehicle-left {
    max-width: 100%;
    justify-self: start;
    order: 1;
  }

  .vehicle-box {
    max-width: 100%;
    order: 2;
  }

  .vehicle-left h1 {
    font-size: clamp(44px, 12vw, 62px);
  }

  .vehicle-description {
    max-width: 540px;
    margin-top: 20px;
    font-size: 17px;
  }
}

@media (max-width: 520px) {
  .vehicle-container {
    width: calc(100% - 24px);
    padding-top: 40px;
    gap: 27px;
  }

  .vehicle-eyebrow {
    margin-bottom: 17px;
    padding: 9px 12px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .vehicle-left h1 {
    font-size: 43px;
    line-height: 1;
  }

  .vehicle-description {
    font-size: 15px;
    line-height: 1.5;
  }

  .vehicle-benefits {
    margin-top: 22px;
    gap: 8px;
  }

  .vehicle-benefit {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .vehicle-benefit-icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
    font-size: 11px;
  }

  .vehicle-box {
    padding: 24px 20px;
    border-radius: 19px;
  }

  .vehicle-step {
    font-size: 11px;
  }

  .vehicle-box h2 {
    font-size: 28px;
  }

  .vehicle-box-description {
    margin-bottom: 21px;
    font-size: 14px;
  }

  .vehicle-field {
    margin-bottom: 13px;
  }

  .vehicle-field label {
    font-size: 13px;
  }

  .vehicle-box select {
    min-height: 51px;
    padding-left: 14px;
    font-size: 14px;
  }

  .vehicle-search-button {
    min-height: 54px;
    padding-left: 16px;
    font-size: 14px;
  }

  .vehicle-button-arrow {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .vehicle-box-footer {
    align-items: flex-start;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vehicle-box {
    animation: none;
  }

  .vehicle-box select,
  .vehicle-search-button,
  .vehicle-button-arrow {
    transition: none;
  }
}
