/* ═══ SECTION NOS SPONSORS OFFICIELS ═══ */

.sponsors-track-wrap {
  overflow: hidden;
  padding-bottom: .75rem;
  margin-bottom: -.75rem;
}

/* 2 cartes côte à côte sur desktop/tablette */
.sponsors-track > * {
  flex: 0 0 calc((100% - 1.25rem) / 2);
  min-width: 260px;
  scroll-snap-align: start;
}

/* 1 carte + aperçu suivante sur mobile */
@media (max-width: 639px) {
  .sponsors-track > * {
    flex: 0 0 82%;
    min-width: 240px;
  }
}

/* Badge "Sponsor Officiel" sur la carte */
.sponsor-official {
  position: relative;
}

.sponsor-official__badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: #e8550a;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(232,85,10,.45);
  z-index: 2;
}

/* ═══ ANCIENNE SECTION SPONSOR (conservée pour compatibilité) ═══ */
.sponsor-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Bannière en fond full-width */
.sponsor-banner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 9s ease;
}
.sponsor-section:hover .sponsor-banner {
  transform: scale(1);
}

/* Overlay dégradé sombre pour lisibilité */
.sponsor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(15, 14, 14, 0.93) 0%,
    rgba(74, 25, 66, 0.85) 50%,
    rgba(15, 14, 14, 0.90) 100%
  );
  z-index: 1;
}

/* Contenu principal */
.sponsor-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

/* Carte glassmorphism */
.sponsor-card {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(232, 85, 10, 0.08);
}

/* Logo */
.sponsor-logo-wrap {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(232, 85, 10, 0.55);
  box-shadow:
    0 0 0 5px rgba(232, 85, 10, 0.1),
    0 6px 24px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.sponsor-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Texte */
.sponsor-text {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sponsor-name {
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.01em;
}

.sponsor-tagline {
  color: #fdba74;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}

.sponsor-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
  margin: 0;
  line-height: 1.6;
}

/* Chips d'info */
.sponsor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.sponsor-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

/* Bouton CTA */
.sponsor-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  background: #e8550a;
  color: #fff;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 22px rgba(232, 85, 10, 0.5);
}

.sponsor-cta:hover {
  background: #b84008;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 85, 10, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .sponsor-inner { padding: 2.5rem 1.25rem; }
  .sponsor-card { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; }
  .sponsor-cta { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .sponsor-inner { padding: 2rem 1rem; }
  .sponsor-logo-wrap { width: 86px; height: 86px; }
  .sponsor-card { border-radius: 14px; }
}
