﻿@charset "UTF-8";
.vehicleSelection-title {
  max-width: 1085px;
}
.vehicleSelection-list {
  margin: clamp(36px, 15.16px + 2.713vw, 64px) 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(min(300px, 100%), (100% - clamp(28px, 13.12px + 1.938vw, 48px) * 2) / 3), 1fr));
  gap: clamp(28px, 13.12px + 1.938vw, 48px);
}

.vehicleCard {
  --_border-width: 2px;
  --_border-radius: 24px;
  border-radius: var(--_border-radius) 0 var(--_border-radius) 0;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  padding: var(--_border-width);
  transition: border-width 500ms;
}
.vehicleCard::before, .vehicleCard::after {
  content: "";
  position: absolute;
  inset: 0;
  border: var(--_border-width) solid transparent;
  border-radius: var(--_border-radius) 0 var(--_border-radius) 0;
  /* On utilise le masque pour avoir un border en gradient */
  background: var(--grey-700, #374151);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 1;
  transition: opacity 250ms, border-width 500ms;
}
.vehicleCard::after {
  --_border-width: 2px;
  background: linear-gradient(90deg, #A6C959 0%, #86BD6B 24.63%, #47BB7D 51.23%, #39B4AF 76.32%, #3EB5CE 100%);
  /* On précise le background position sinon le border commence avec la fin du dégradé */
  background-size: calc(100% + var(--_border-width) * 2);
  background-position: calc(var(--_border-width) * -1);
  opacity: 0;
}
.vehicleCard-container {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: var(--_border-radius) 0 var(--_border-radius) 0;
}
.vehicleCard-img {
  --_offset: 20px;
  position: relative;
  display: block;
  margin-bottom: calc(var(--_offset) * -1);
  transform: translateY(0);
  transition: transform 500ms;
}
.vehicleCard-img img {
  width: 100%;
}
.vehicleCard-img::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background: var(--theme-grayscale-grayscale-900, #111827);
  transition: opacity 500ms;
}
.vehicleCard-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: clamp(20px, 14.05px + 0.775vw, 28px) clamp(16px, 0.667vw + 1.2rem, 24px) clamp(16px, 0.667vw + 1.2rem, 24px);
  z-index: 10;
  border-radius: 0 0 var(--_border-radius) 0;
  overflow: hidden;
  font-size: 1.8rem;
  color: var(--white, #FFFFFF);
}
.vehicleCard-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0) 0%, #111827 100%);
  border-radius: 0 0 var(--_border-radius) 0;
  z-index: -1;
}
.vehicleCard:hover, .vehicleCard:focus {
  --_border-width: 2px;
}
.vehicleCard:hover::after, .vehicleCard:focus::after {
  opacity: 1;
}
.vehicleCard:hover .vehicleCard-img, .vehicleCard:focus .vehicleCard-img {
  transform: translateY(calc(var(--_offset) * -1));
}
.vehicleCard:hover .vehicleCard-img::before, .vehicleCard:focus .vehicleCard-img::before {
  opacity: 0;
}

.findGarage {
  background-image: url(../../images/Pattern-bg-transparent.png), linear-gradient(90deg, #A6C959 0%, #86BD6B 24.63%, #47BB7D 51.23%, #39B4AF 76.32%, #3EB5CE 100%);
  display: block;
  text-decoration: none;
  color: var(--grey-900, #111827);
  padding: clamp(32px, 3.636vw + 0.655rem, 72px) max((((100% * 100) / 100) - 1632px) / 2, clamp(28px, 13.12px + 1.938vw, 48px));
  position: relative;
  overflow: hidden;
  transition: color 250ms;
}
.findGarage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--grey-800, #1F2937);
  background-image: url(../../images/Pattern-bg-transparent.png);
  opacity: 0;
  transition: opacity 250ms;
}
.findGarage-title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 14.05px + 0.775vw, 28px);
  font-size: clamp(2.8rem, 1.609rem + 1.55vw, 4.4rem);
  line-height: 1.1;
}
.findGarage-icon {
  display: block;
  position: absolute;
  left: 9.84%;
  top: 50%;
  width: 8vw;
  height: 8vw;
  transform: translate(-50%, -50%);
  box-sizing: content-box;
  transition: width 250ms, height 250ms;
}
.findGarage-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140.41%;
  height: 140.41%;
  border: solid 2px var(--white, #FFFFFF);
  border-radius: 9999px;
  transform: translate(-50%, -50%);
  transition: width 250ms, height 250ms;
}
.findGarage-icon > svg {
  width: 100%;
  height: 100%;
  display: block;
}
.findGarage:hover, .findGarage :focus-within {
  color: var(--white, #FFFFFF);
}
.findGarage:hover::before, .findGarage :focus-within::before {
  opacity: 1;
}
.findGarage:hover .findGarage-icon, .findGarage :focus-within .findGarage-icon {
  width: 7vw;
  height: 7vw;
}
.findGarage:hover .findGarage-icon::before, .findGarage :focus-within .findGarage-icon::before {
  width: 197.5%;
  height: 197.5%;
}

@media screen and (max-width: 1024px) {
  .findGarage {
    padding: clamp(32px, 3.636vw + 0.655rem, 72px) max((((100% * 100) / 100) - 1632px) / 2, clamp(28px, 13.12px + 1.938vw, 48px)) clamp(32px, 3.636vw + 0.655rem, 72px) 112px;
  }
  .findGarage-icon {
    left: 30px;
    width: 96px;
    height: 96px;
  }
  .findGarage:hover .findGarage-icon, .findGarage :focus-within .findGarage-icon {
    width: 70px;
    height: 70px;
  }
}
.vehicleBrand {
  padding-top: calc(var(--headerHeight) + clamp(22px, 14.56px + 0.969vw, 32px));
  position: relative;
}
.vehicleBrand::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--headerHeight) + clamp(22px, 14.56px + 0.969vw, 32px));
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.7) 0%, rgba(3, 7, 18, 0) 100%);
  pointer-events: none;
  z-index: 10;
}
