.filter-page {
  /* max-width: 1200px; */
  margin: 0 auto;
}

/* --- Image principale --- */
.filter-main-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Avantages --- */
.filter-advantages {
  display: flex;
  margin: 40px 0;
}
.filter-imgs-advantages {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
}
.filter-imgs-advantages img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}
.filter-text-advantages {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 40px;
}
.filter-adv-block {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
}
.filter-adv-block:last-child {
  border-bottom: none;
}
.filter-adv-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  background: #2a9d8f;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.filter-adv-icon img {
  width: 20px;
  height: 20px;
  padding: 0 !important;
}
.filter-adv-content h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
}
.filter-adv-content p {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* --- Titre de section --- */
.filter-section-heading {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a1a2e;
  margin: 40px 0 20px;
  letter-spacing: 1px;
}

/* --- Boxes types de filtres --- */
.filter-choix {
  margin: 0 0 40px;
}
.filter-choix-box {
  display: flex;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  min-height: 160px;
  border-radius: 20px;
  overflow: hidden;
}
.filter-choix-img {
  flex: 0 0 260px;
  overflow: hidden;
}
.filter-choix-img img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  padding: 0 !important;
}
.filter-choix-box > .filter-choix-text {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.filter-choix-title {
  background: #ececec;
  padding: 10px 20px;
  height: 48px;
}
.filter-choix-title p {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0 !important;
}
.filter-choix-text p {
  font-size: 1rem !important;
  line-height: 22px !important;
  margin-bottom: 0 !important;
}
.filter-choix-box > .filter-choix-text > .filter-choix-text {
  padding: 16px 20px;
  flex: 1;
}
.filter-choix-box > .filter-choix-text > .filter-choix-text > p {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #444;
  margin-bottom: 12px !important;
}
.filter-compat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.filter-compat-list li {
  font-size: 13px;
  color: #333;
}
.fc-oui {
  color: #2a9d8f;
  font-weight: 700;
}
.fc-non {
  color: #c0392b;
  font-weight: 700;
}

/* --- Vidéos --- */
.filter-videos {
  display: flex;
  gap: 20px;
  margin: 0 0 40px;
}
.filter-video-box {
  flex: 1;
  background: #2a5c6e;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  padding: 20px;
  transition: background 0.2s;
}
.filter-video-box:hover {
  background: #1e4a5c;
  color: #fff;
  text-decoration: none;
}

/* --- Icônes --- */
.filter-icons {
  text-align: center;
  margin: 0 0 20px;
}
.filter-icons-img {
  max-width: 100%;
  height: auto;
}

/* --- Port Connect --- */
.filter-port-connect {
  display: block;
  margin: 10px auto 20px;
  max-width: 180px;
  height: auto;
}

/* --- Lien découvrir --- */
.filter-link-discover {
  display: block;
  text-align: center;
  color: #1a1a2e;
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Responsive --- */
@media (max-width: 1422px) {
  .filter-advantages {
    flex-direction: column;
    gap: 2rem;
  }
  .filter-imgs-advantages {
    flex-direction: row;
    justify-content: space-between;
    flex: none;
    gap: 1rem;
  }
  .filter-imgs-advantages img {
    object-fit: fill;
    width: 45%;
  }
  .filter-choix-img {
    flex: 0 0 260px;
  }
}

@media (max-width: 768px) {
  .filter-imgs-advantages {
    flex-direction: column;
    justify-content: none;
  }
  .filter-imgs-advantages img {
    width: 100%;
  }
  .filter-text-advantages {
    padding: 20px 0;
  }
  .filter-choix-title {
    height: auto;
  }
  .filter-choix-box {
    flex-direction: column;
  }
  .filter-choix-img {
    flex: none;
  }
  .filter-videos {
    flex-direction: column;
  }
}

/* --- YouTube Facade dans la section vidéos filtre --- */
.filter-videos .youtube-facade {
  flex: 1;
  max-width: none;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background-color: #1a3040;
  border: solid 1px #2a5c6e;
  border-radius: 20px;
  overflow: hidden;
}

.filter-videos .youtube-facade:hover {
  transform: none;
}

.filter-videos .youtube-facade--coming-soon {
  background: #2a5c6e;
}
