/* ============================================
   PAGE NOS PARTENAIRES — 91 FM
   ============================================ */

/* ── Hero (pattern standard pages listantes) ── */
.part-hero {
  position: relative;
  overflow: hidden; /* repli pour les navigateurs sans `clip` */
  overflow: clip;
  padding: 72px 0 64px;
}
.part-hero::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: linear-gradient(135deg, #0f1726 0%, #1a0a0c 50%, #0d1420 100%);
  z-index: 0;
}
.part-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(217,19,25,.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 20%, rgba(255,255,255,.03) 0%, transparent 60%);
  z-index: 1;
}
.part-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.part-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.part-hero-kicker::before,
.part-hero-kicker::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 99px;
}
.part-h1 {
  margin: 0 0 18px;
}
/* Titre vectoriel : largeur = 7.274em × l'ancienne taille de police clamp(3.6rem,10vw,7rem) */
.part-h1-svg {
  display: block;
  width: calc(7.274 * clamp(3.6rem, 10vw, 7rem));
  max-width: 100%;
  height: auto;
  overflow: visible; /* le trait non-scaling déborde légèrement du viewBox */
}
.part-hero-sub {
  margin: 0;
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

/* ── Corps ── */
.part-body {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}
.part-section { margin-bottom: 48px; }

.part-cat-title {
  margin: 0 0 18px;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.02em;
  color: #0B0B0D;
  display: flex;
  align-items: center;
  gap: 14px;
}
.part-cat-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #E5E7EB, transparent);
  border-radius: 99px;
}

/* ── Grille de cartes ── */
.part-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.part-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 26px 20px 22px;
  background: #fff;
  border: 1px solid #ECEEF3;
  border-radius: 16px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.part-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 38, .10);
  border-color: #E2E5EC;
}
.part-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 84px;
  margin-bottom: 4px;
}
.part-card-logo img {
  max-width: 160px;
  max-height: 84px;
  object-fit: contain;
}
.part-card-logo-empty { font-size: 38px; }
.part-card-name {
  font-size: 16px;
  font-weight: 800;
  color: #0B0B0D;
  letter-spacing: -.01em;
}
.part-card-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.45;
}
.part-card-visit {
  margin-top: 8px;
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #0f1726;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: background .15s ease;
}
.part-card:hover .part-card-visit { background: var(--brand, #D91319); }

.part-empty {
  text-align: center;
  font-size: 15px;
  color: #6b7280;
  padding: 32px 0;
}

/* ── CTA devenir partenaire ── */
.part-cta {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #0f1726 0%, #1a0a0c 60%, #0d1420 100%);
}
.part-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 130%, rgba(217,19,25,.28) 0%, transparent 70%);
}
.part-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 52px 28px;
}
.part-cta-title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.02em;
  color: #fff;
}
.part-cta-desc {
  margin: 0 0 26px;
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.62);
}
.part-cta-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--brand, #D91319);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.part-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217,19,25,.35);
}

@media (max-width: 600px) {
  .part-body { padding: 40px 0 56px; }
  .part-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .part-card { padding: 20px 14px 18px; }
  .part-card-logo { height: 64px; }
  .part-card-logo img { max-width: 120px; max-height: 64px; }
}
