/* ===== GAMME / PRODUITS ===== */

.gamme {
  padding-block: clamp(60px, 10vw, 100px);
  background: #FFFFFF;
}

/* Gamme Header */
.gamme-header {
  display: grid;

  grid-template-columns: 2fr 1fr;
  gap: 268px;
  align-items: flex-start;
  margin-bottom: clamp(48px, 8vw, 80px);
}

@media (max-width: 1023px) {
  .gamme-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .gamme-header {
    display: block;
    /* ou flex selon ton besoin */
    gap: 0;
    /* facultatif : le gap n’a plus de rôle */
  }
}


.gamme-title-section h5 {
  font-weight: 400;
  color: #1D3057;
  line-height: 1.15;
  font-size: 36px;
  margin: 0 0 28px 0;
  FONT-FAMILY: InterTight;
}

/* Badges */
.gamme-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #F9FAFB;
  border: 1px solid #E6EBF2;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1D3057;
  font-family: InterTight;
  transition: background 220ms ease, border-color 220ms ease;
}

.badge:hover {
  background: #EEF3F8;
  border-color: #DDE4EE;
}

.badge svg {
  flex-shrink: 0;
  color: #1D3057;
}

/* Product Showcase */
.product-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(437px, 8vw, 60px);
  align-items: center;
  /* padding: clamp(40px, 8vw, 80px); */
  border-radius: 12px;
  min-height: 554px;
  overflow: hidden;
}

/* Video Background */
.showcase-background-video {
  position: absolute;
  top: 0;
  left: 0;
  /* /* width: 1240px; */
  height: 554px;
  width: 1240px;
  /* height: 498px; */
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Overlay for video background */
.product-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(172, 179, 190, 0.7) 0%, rgba(155, 163, 174, 0.7) 100%);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 750px) {
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Showcase Left - Info Text */
.showcase-left {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
}

.showcase-info {
  padding: clamp(20px, 4vw, 30px);
  /* background: rgba(172, 179, 190, 0.4); */
  border-radius: 8px;
  /* backdrop-filter: blur(10px); */
  color: #FFFFFF;
}

.showcase-product-name {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 400;
  color: #FFFFFF;
  margin: 0 0 336px 0;
  font-family: InterTight;
  FONT-SIZE: 36px;
}

.showcase-product-sizes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.showcase-sizes-label {
  font-size: 16px;
  opacity: 0.95;
  margin: 0;
}

.showcase-sizes-value {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
  BACKGROUND-COLOR: rgba(255, 255, 255, 0.16);
  padding: 13px 0 13px 0;
  text-align: center;
  font-family: InterTight;
  width: 137px;
}

/* Showcase Right - Product Detail Card */
.showcase-right {
  position: relative;
  z-index: 1;
  /* margin-left: 20px; */
}

.product-detail-card {
  background: #FFFFFF;
  padding: 20px;
  width: 407px;
  height: 434px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 20px;
  font-weight: 400;
  color: #1D3057;
  /* margin: 0 0 20px 0; */
  font-family: InterTight;
}

/* Card Image Container */
.card-image-container {
  position: relative;
  /* width: 367px; */
  margin-bottom: 20px;
  height: 280px;
}

.image-slider-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 7/6;
  /* border-radius: 8px; */
  overflow: hidden;
  background: #F9FAFB;
  height: 280px;

}

@media (max-width: 767px) {
  .image-slider-wrapper {
    aspect-ratio: 3/4;
  }

  .gamme-title-section h5 {
    font-weight: 400;
    color: #1D3057;
    line-height: 1.15;
    font-size: 24px;
    margin: 0 0 28px 0;
    FONT-FAMILY: InterTight;
  }
}

.image-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 500ms ease;
}

.image-slider-item.active {
  opacity: 1;
}

.image-slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-slider-item2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 500ms ease;
}

.image-slider-item3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 500ms ease;
}

.image-slider-item3.active {
  opacity: 1;
}

.image-slider-item2.active {
  opacity: 1;
}

.image-slider-item2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slider-item3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image Slider Controls */
.image-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: none;
  background: rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
  cursor: pointer;
  transition: all 220ms ease;
  z-index: 10;
}

.image-slider-prev {
  left: 12px;
}

.image-slider-next {
  right: 12px;
}

.image-slider-prev2 {
  left: 12px;
}

.image-slider-prev3 {
  left: 12px;
}

.image-slider-next2 {
  right: 12px;
}

.image-slider-next3 {
  right: 12px;
}

.image-slider-btn:hover {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.1);
  color: #1D3057;
}

.image-slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.image-slider-btn svg {
  width: 18px;
  height: 18px;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #D4DFE8;
  border-radius: 8px;
  overflow: hidden;
}

.specs-table th,
.specs-table td {
  padding: 14px 16px;
  font-family: InterTight;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.specs-table th {
  font-weight: 400;
  color: #1D3057;
  text-align: left;
  width: 50%;
  border-right: 1px solid rgba(29, 48, 87, 0.2);
}

.specs-table td {
  font-weight: 400;
  color: #1D3057;
}

.specs-table tr:last-child {
  border-bottom: none;
}

/* Card Description */
.card-description {
  /* padding-top: 16px; */
  /* border-top: 1px solid #E6EBF2; */
}

.description-title {
  font-size: 16px;
  font-weight: 600;
  color: #1D3057;
  margin: 0 0 8px 0;
  font-family: InterTight;
}

.description-text {
  font-size: 16px;
  line-height: 1.2;
  color: #5E6A7D;
  margin: 0;
  font-family: InterTight;
}

.container .section-eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  color: #1D3057;
  margin: 0 0 12px 0;
  font-family: 'Kodchasan';



}

@media (max-width: 520px) {
  .container .section-eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    color: #1D3057;
    margin: 0 0 12px 0;
    font-family: 'Kodchasan';
    TEXT-ALIGN: justify;


  }
}

@media (min-width: 1024px) {
  .margi {
    margin-left: 97px;
  }
}

/* =========================================================
   VERSION MOBILE (≤ 767px)
   Vidéo en haut → texte dessous → card produit ensuite
   ========================================================= */
@media (max-width: 767px) {

  /* Structure mobile */
  .product-showcase {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
    min-height: auto;
    overflow: visible;
    position: relative;
  }

  /* Suppression du gradient desktop */
  .product-showcase::before {
    display: none;
  }

  /* Vidéo */
  .showcase-background-video {
    order: 1;
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    z-index: 1;
    object-position: center center;
  }

  /* TEXTE → immédiatement sous la vidéo */
  .showcase-left {
    order: 2;
    width: 100%;
    text-align: left;
    padding: 0 10px;
    /* margin-bottom: 20px; */
    margin-top: -308px;
    position: relative;
    z-index: 2;
    display: block;
    margin-left: 39px;
  }

  .showcase-info {
    padding: 0;
    background: none !important;
    color: #1D3057;
    backdrop-filter: none !important;
  }

  .showcase-product-name {
    font-size: 24px;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 150px;
    font-family: InterTight;

    ;
  }

  .showcase-sizes-label {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 4px;
    opacity: 0.9;
    font-family: InterTight;
  }

  .showcase-sizes-value {
    font-size: 16px;
    font-weight: 600;
    /* background: #EEF1F4; */
    padding: 10px 20px;
    border-radius: 10px;
    color: #FFFFFF;
    display: inline-block;
    text-align: left;
    background-color: transparent !important;
  }

  /* CARD PRODUIT */
  .showcase-right {
    order: 3;
    width: 100%;
    margin-top: 10px;
    margin-left: 0px;
  }

  .product-detail-card {
    width: 100%;
    padding: 18px;
    height: auto;
    border-radius: 12px;
  }

  /* Slider */
  .image-slider-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
  }

  .image-slider-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
  }

  .image-slider-item.active {
    opacity: 1;
  }

  .image-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .image-slider-btn {
    width: 32px;
    height: 32px;
    top: 50%;
    /* border-radius: 50%; */
    /* background: rgba(255,255,255,0.9); */
    transform: translateY(-50%);
  }
}

/* Par défaut (mobile/tablette) : pas de margin-left */
.gam {
  margin-left: 0;
}

.gamright {
  margin-right: 0;
}

/* iPad et tablettes (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .gam {
    margin-left: 20px;
  }

  .gamright {
    margin-right: 20px;
  }
}

/* Version web (desktop) seulement */
@media (min-width: 1024px) {
  .gam {
    margin-left: 58px;
  }

  .gamright {
    margin-right: 58px !important;
  }
}




/* Conteneur dots */
.image-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 60;
  background: transparent;
  padding: 0;
  margin: 0;
}




/* ✅ RESET + forme parfaite */
.image-slider-dot {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 !important;
  margin: 0;
  border: 0;
  outline: none;
  box-shadow: none;

  width: 7px;
  height: 7px;

  min-width: 7px;
  /* ✅ empêche l’étirement */
  min-height: 7px;
  /* ✅ empêche l’étirement */

  display: inline-block;
  flex: 0 0 7px;
  /* ✅ empêche flexbox de les étirer */

  border-radius: 999px;
  line-height: 0;
  /* ✅ évite l’effet “oval” */
  font-size: 0;
  /* ✅ évite qu’un texte invisible élargisse */
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}



.image-slider-dot.active {
  background: #fff;
  transform: scale(1.2);
}