/* =====================================================
   partenariats.css — Design Premium
===================================================== */

.partenaire-main {
  padding-top: 90px;
}

/* ===================== HERO ===================== */
.partenaire-hero {
  height: 65vh;
  min-height: 520px;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)),
              url('https://image.tmdb.org/t/p/original/uDgy6hyPd82kOHh6I95FLtLnj6p.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-content {
  animation: heroFadeUp 1.2s ease forwards;
  opacity: 0;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  margin: 0 auto 32px;
  font-weight: 700;
  max-width: 680px;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto 32px;
  opacity: 0.95;
}

/* ===================== WHY GRID ===================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.why-card {
  background: var(--bg-card);
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.why-card h3 {
  font-size: 1.35rem;
  margin: 16px 0 12px;
}

/* ===================== PRICING GRID ===================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--bg-card);
  padding: 36px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.popular {
  border-color: #e50914;
  transform: scale(1.04);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #e50914;
  color: white;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pricing-card h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.price {
  font-size: 2.1rem;
  font-weight: 700;
  color: #e50914;
  margin: 16px 0 20px;
}

/* ===================== CARDS ANIMATIONS ===================== */
.why-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.why-card, .pricing-card {
  background: var(--bg-card);
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(40px);
}

.why-card.visible, .pricing-card.visible {
  animation: cardPopUp 0.6s forwards;
}

@keyframes cardPopUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.why-card:hover, .pricing-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
  border-color: #e50914;
}

/* Staggered animation */
.why-card:nth-child(1) { animation-delay: 0.1s; }
.why-card:nth-child(2) { animation-delay: 0.2s; }
.why-card:nth-child(3) { animation-delay: 0.3s; }

/* Popular badge animation */
.popular-badge {
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.08); }
}

/* ===================== CONTACT FORM ===================== */
.contact-form-container {
  max-width: 720px;
  margin: 80px auto;
  text-align: center;
}

.contact-form-container h2 {
  margin-bottom: 12px;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.partner-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.partner-form input,
.partner-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.25s;
}

.partner-form input:focus,
.partner-form textarea:focus {
  border-color: #e50914;
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.15);
  outline: none;
}

/* ===================== SCROLL REVEAL ===================== */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .why-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }
}
