/* ════════════════════════════════════════
   BASE (mobile first)
════════════════════════════════════════ */
.svg-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.svg-track {
  display: flex;
  transition: transform 0.7s ease;
}

.svg-slide {
  min-width: 100%;
  height: 478px;
  background-image: var(--svg-bg-m);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.svg-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.svg-el {
  margin-bottom: -18px;
  position: relative;
  z-index: 3;
}

.svg-el .badge-pate {
  width: 120px;
  height: 78px;
  background: #3f5f2a;
  border: 6px solid #f9fefb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(6deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-weight: 800;
  text-align: center;
  font-size: 14px;
  line-height: 1.05;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 14px;
  white-space: pre-line;
}

.svg-title {
  background: #a81f14;
  color: #fff;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.05;
  padding: 34px 24px 25px;
  border-radius: 16px;
  display: inline-block;
  margin-bottom: 14px;
  transform: rotate(-2deg);
}

.svg-sub {
  background: #ffbf2f;
  color: #aa1f14;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  padding: 10px 10px;
  border-radius: 2px;
  display: inline-block;
  margin-top: -25px;
  margin-bottom: 22px;
  z-index: 9999;
  position: relative;
  transform: rotate(1deg);
  max-width: 82%;
}

.svg-btn {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 3;
  background: #ffffff;
  color: #111111;
  transition:
    background 0.3s ease,
    color 0.3s ease;
  border-radius: 50px;
  font-size: 17px;
  padding: 6px 15px;
  min-width: auto;
  font-weight: 600;
}
.svg-btn:hover {
  background: #a81f14;
  color: #ffffff;
}
.svg-arrow {
  display: none;
}

.svg-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.svg-dot {
  width: 21px;
  height: 8px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.svg-dot.active {
  width: 35px;
  background: #fff;
}

.svg-el.logo-banner img {
  position: relative;
  top: 10px;
}


.badge-complet {
    margin-bottom: 0;
    position: absolute;
    top: -15px;
    z-index: 0;
}

.badge-complet img {
  width: 100%;
  max-width: 275px;
}

.svg-logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
}

.svg-logo img {
  display: block;
}

.svg-logo.logo-banner-in-badge img {
  top: 25px;
  position: relative;
}


/* ════════════════════════════════════════
   DESKTOP (≥ 768px)
════════════════════════════════════════ */
@media (min-width: 768px) {
  .svg-slide {
    height: 858px;
    background-image: var(--svg-bg-d);
  }

  .svg-el .badge-pate {
    width: 150px;
    height: 95px;
    font-size: 18px;
    border-width: 7px;
  }

  .svg-title {
    font-size: 38px;
    padding: 30px 24px 38px;
    border-radius: 14px;
    margin-bottom: 18px;
    max-width: none;
  }

  .svg-sub {
    font-size: 17px;
    padding: 14px 18px;
    margin-bottom: 28px;
    max-width: none;
  }

  .svg-btn {
    font-size: 22px;
    padding: 16px 30px;
    min-width: auto;
    font-weight: 600;
    bottom: 100px;
  }

  .svg-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(45, 24, 10, 0.75);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
  }

  .svg-arrow:hover {
    background: rgba(45, 24, 10, 0.95);
    transform: translateY(-50%) scale(1.05);
  }

  .svg-arrow img {
    width: 16px;
    height: 16px;
    display: block;
    filter: brightness(0) invert(1);
  }

  .svg-prev {
    left: 80px;
  }

  .svg-next {
    right: 80px;
  }

  .svg-dots {
    bottom: 30px;
    gap: 8px;
  }

  .svg-dot {
    width: 25px;
    height: 9px;
  }

  .svg-dot.active {
    width: 45px;
  }
  .svg-logo.logo-banner-in-badge img {
    width: 125px;
    position: relative;
    top: 25px;
  }

  .badge-complet img {
    width: 100%;
    min-width: 364px;
  }
  .badge-complet {
  margin-bottom: 0;
  position: absolute;
  top: -35px;
  z-index: 0;
}

}
