/* ========================================================
   SECTION NOS PARTENAIRES — KazyCloud x Prisme Mods
   Design Riche & Cyber-Glass avec Bouton Sobre
   ======================================================== */

/* Séparateur néon signature entre sections */
.section-divider {
  display: block !important;
  position: relative;
  width: 100%;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 79, 163, 0.12) 10%,
    rgba(255, 79, 163, 0.28) 25%,
    rgba(255, 79, 163, 0.55) 40%,
    #ff4fa3 50%,
    rgba(190, 90, 255, 0.75) 60%,
    rgba(125, 90, 255, 0.35) 75%,
    rgba(125, 90, 255, 0.12) 90%,
    transparent 100%
  ) !important;
  box-shadow:
    0 0 3px rgba(255, 255, 255, 0.25),
    0 0 8px rgba(255, 79, 163, 0.5),
    0 0 18px rgba(255, 79, 163, 0.35),
    0 0 30px rgba(190, 90, 255, 0.2) !important;
  z-index: 10;
  pointer-events: none;
}

.partners.section {
  position: relative;
  padding-top: 50px;
  padding-bottom: 90px;
  overflow: visible;
}

/* Halos d'ambiance d'arrière-plan doux */
.partners-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.partners-ambient-glow .glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}

.partners-ambient-glow .glow-blue {
  width: 420px;
  height: 420px;
  left: 10%;
  top: 15%;
  background: radial-gradient(circle, #2563eb 0%, #38bdf8 50%, transparent 70%);
}

.partners-ambient-glow .glow-pink {
  width: 440px;
  height: 440px;
  right: 8%;
  bottom: 10%;
  background: radial-gradient(circle, #ff4e86 0%, #a855f7 50%, transparent 70%);
}

.partner-section-intro {
  max-width: 520px;
  font-family: "Manrope", sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: #c1bad1;
  margin: 0;
}

.partners-container {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
}

/* Carte Partenaire Principale */
.partner-featured-card {
  position: relative;
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 88% 85%, rgba(255, 78, 134, 0.06) 0%, transparent 45%),
    linear-gradient(135deg, rgba(20, 17, 38, 0.9) 0%, rgba(13, 11, 24, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 60px -15px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(56, 189, 248, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.partner-featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow:
    0 30px 75px -15px rgba(0, 0, 0, 0.8),
    0 0 45px rgba(56, 189, 248, 0.16),
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

/* =========================================================
   BANNIÈRE OFFICIELLE ILLUMINÉE
   ========================================================= */
.partner-official-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 32px;
  background: linear-gradient(90deg, 
    rgba(37, 99, 235, 0.28) 0%, 
    rgba(124, 58, 237, 0.22) 50%, 
    rgba(255, 78, 134, 0.18) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.partner-official-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #38bdf8 0%, #818cf8 50%, #ff4e86 100%);
  opacity: 0.65;
}

.banner-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.banner-shield-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(37, 99, 235, 0.4));
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
}

.banner-official-text {
  font-family: "DM Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

.banner-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.banner-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38ef7d;
  box-shadow: 0 0 8px #38ef7d;
}

.banner-status-text {
  font-family: "DM Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   CONTENU DU BLOC
   ========================================================= */
.partner-main-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 38px;
  padding: 36px 40px;
  align-items: center;
  position: relative;
}

/* Visual showcase (Logo + tags) */
.partner-showcase-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.partner-logo-frame {
  position: relative;
  width: 155px;
  height: 155px;
  border-radius: 24px;
  background: linear-gradient(135deg, #090e21 0%, #101938 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(37, 99, 235, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-featured-card:hover .partner-logo-frame {
  transform: scale(1.03);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(56, 189, 248, 0.45);
}

.logo-inner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(56, 189, 248, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.partner-showcase-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.logo-reflection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 45%);
  pointer-events: none;
  z-index: 2;
}

.partner-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  width: 100%;
}

.quick-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: #cbd5e1;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

/* Colonne droite de contenu */
.partner-showcase-content {
  display: flex;
  flex-direction: column;
}

.partner-heading-wrap {
  margin-bottom: 10px;
}

.partner-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.partner-brand-name {
  font-family: "Anton", sans-serif;
  font-size: 40px;
  letter-spacing: 0.8px;
  line-height: 1;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.partner-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #38bdf8;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.partner-verified-badge svg {
  color: #38bdf8;
}

.partner-sub-eyebrow {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--pink, #ff4e86);
  font-weight: 500;
}

.partner-full-desc {
  font-family: "Manrope", sans-serif;
  font-size: 14.5px;
  line-height: 1.65;
  color: #d1ccd9;
  margin: 0 0 22px;
  max-width: 660px;
}

/* Bandeau des atouts */
.partner-feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.strip-icon {
  font-size: 18px;
  line-height: 1;
}

.strip-item div {
  display: flex;
  flex-direction: column;
}

.strip-item strong {
  font-family: "Manrope", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}

.strip-item small {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  color: #94a3b8;
}

/* =========================================================
   BOUTON PROMO SOBRE, ÉLÉGANT & DOUX POUR LES YEUX
   ========================================================= */
.partner-cta-zone {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.partner-sober-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 13px 26px !important;
  font-family: "DM Mono", "Manrope", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease !important;
}

.partner-sober-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

.partner-sober-btn:active {
  transform: translateY(1px) !important;
}

.partner-sober-btn .btn-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
}

.partner-sober-btn strong {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.partner-sober-btn .btn-arrow {
  font-size: 13px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease, color 0.2s ease;
}

.partner-sober-btn:hover .btn-arrow {
  transform: translate(2px, -2px);
  color: #ffffff;
}

/* Continuité nette avec les sections adjacentes */
#partenaires + .benefits {
  border-top: none !important;
  margin-top: 0 !important;
  padding-top: 60px !important;
  box-shadow: none !important;
  background-image: none !important;
}

#partenaires + .benefits::before,
#partenaires + .benefits::after {
  content: none !important;
  display: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Responsive */
@media (max-width: 960px) {
  .partner-main-layout {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 28px 26px;
    text-align: center;
  }

  .partner-showcase-visual {
    margin: 0 auto;
  }

  .partner-showcase-content {
    align-items: center;
  }

  .partner-title-group {
    justify-content: center;
  }

  .partner-feature-strip {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .strip-item {
    justify-content: center;
    text-align: left;
  }

  .partner-cta-zone {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 680px) {
  .partners.section {
    padding-top: 30px;
    padding-bottom: 60px;
  }

  .partner-official-banner {
    flex-direction: column;
    gap: 7px;
    padding: 11px 16px;
    text-align: center;
  }

  .banner-official-text {
    font-size: 10.5px;
    letter-spacing: 1.2px;
  }

  .banner-status-text {
    font-size: 10px;
  }

  .partner-main-layout {
    padding: 22px 16px;
  }

  .partner-logo-frame {
    width: 110px;
    height: 110px;
    border-radius: 20px;
  }

  .partner-brand-name {
    font-size: 30px;
  }

  .partner-full-desc {
    font-size: 13px;
    line-height: 1.6;
  }

  .partner-cta-zone {
    width: 100%;
  }

  .partner-sober-btn {
    width: 100% !important;
    padding: 12px 18px !important;
    font-size: 11px !important;
    justify-content: center !important;
  }
}
