.card .svg-carte {
  display: block;
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 3;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.card:hover .svg-carte {
  transform: scale(1.1);
}

.boissons {
  background-color: var(--color-bg-second);
  padding: 40px 20px;
}

.snacking {
  background-color: var(--color-bg);
  padding: 40px 20px;
}

.heading-carte {
  justify-self: center;
}

.subheading {
  color: var(--color-accent);
}

.separator-heading {
  width: 150px;
  height: 2px;
  background-color: var(--color-accent);
  display: flex;
  justify-self: center;
  margin: 20px 0 40px 0;
}

.thumb-filter {
  position: relative;
  overflow: hidden;
  max-width: 80px;
  max-height: 80px;
  border-radius: 12px;
  cursor: pointer;
}

.filter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.filter-card img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  transition: transform 0.5s ease;
  transform-origin: center center;
  position: relative;
  overflow: hidden;
}
.filter-card a {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 2;
}
.filter-card a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 12px;
}
.filter-card:hover img {
  transform: scale(1.1);
}

.filter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.filter-card p {
  font-weight: 700;
}

.subtitle {
  position: relative;
  display: flex;
  margin-top: 40px;
}

.subtitle-mask-1,
.subtitle-mask-2,
.subtitle-mask-3,
.subtitle-mask-4 {
  background-color: var(--color-bg-second);
  z-index: 1;
}
.subtitle-mask-5,
.subtitle-mask-6 {
  background-color: var(--color-bg);
  z-index: 1;
}
.subtitle-mask-1 {
  width: 310px;
  height: auto;
}
.subtitle-mask-2 {
  width: 320px;
  height: auto;
}
.subtitle-mask-3 {
  width: 330px;
  height: auto;
}
.subtitle-mask-4 {
  width: 245px;
  height: auto;
}
.subtitle-mask-5 {
  width: 390px;
  height: auto;
}
.subtitle-mask-6 {
  width: 420px;
  height: auto;
}
.subtitle h4 {
  z-index: 2;
}

.line-subtitle {
  position: absolute;
  right: 0;
  bottom: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: translateY(-50%);
}

.bento-card-carte {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 0px;
  justify-items: center;
  margin: 40px 0 60px 0;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  overflow: visible;
}

.card-content-svg {
  max-width: 300px;
  max-height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.thumb {
  position: relative;
  overflow: hidden;
  width: 300px;
  height: 300px;
  border-radius: 20px;
}

.thumb > img,
.card-content-svg > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.5s ease;
  transform-origin: center;
}

.card-content:hover .thumb > img,
.card-content:hover .card-content-svg > img:first-child {
  transform: scale(1.1);
}

.card-content p {
  font-size: 18px;
  max-width: 280px;
}

.title-card {
  font-size: 20px;
  font-weight: 600;
}

.card-separator {
  width: 150px;
  height: 2px;
  background-color: var(--color-accent);
}

.svg-card {
  position: absolute;
  right: 5px;
  bottom: 5px;
}

.description-classique {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 40px 0 60px 0;
}
.description-classique p {
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  padding: 10px;
}

.spe-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  gap: 40px;
}

.spe-card {
  position: relative;
  padding: 12px;
}
.spe-card-1 {
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  width: 350px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spe-card-2 {
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  width: 750px;
  height: 165px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spe-card-title {
  background-color: var(--color-bg-second);
  padding: 0 10px;
  position: absolute;
  left: 0px;
  top: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.spe-card-title p {
  font-size: 20px;
  font-weight: 700;
}

.ellipse {
  width: 24px;
  height: 24px;
  border-radius: 50px;
  background-color: var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ellipse p {
  font-size: 20px;
  font-weight: 600;
}

.text-spe-card {
  display: flex;
  gap: 20px;
}

.text-spe-card-2 {
  display: flex;
  gap: 20px;
}

.img-spe-card {
  display: flex;
  gap: 20px;
}

.spe-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spe-card-content-width {
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 1023px) {
  .subtitle-mask-1,
  .subtitle-mask-2,
  .subtitle-mask-3,
  .subtitle-mask-4,
  .subtitle-mask-5,
  .subtitle-mask-6 {
    background-color: transparent;
  }
  .line-subtitle {
    bottom: 0%;
  }
  .bento-card-carte {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 767px) {
  .bento-card-carte {
    grid-template-columns: auto;
  }
  .spe-card-2 {
    width: 350px;
    height: 400px;
    gap: 20px;
  }
  .text-spe-card-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .img-spe-card {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .filter {
    gap: 15px;
  }
}
