/* ========================================
   SPONSORING — styles spécifiques
   Complète style.css (variables partagées)
======================================== */

/* ========================================
   HERO
======================================== */

.sponsoring-hero {
  min-height: 480px;
  background: #111 url("assets/img/fondahah.jpg") repeat;
  background-size: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 16px;
  position: relative;
  overflow: hidden;
}

.sponsoring-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(86, 126, 116, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.sponsoring-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.sponsoring-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
  margin-bottom: 20px;
}

.sponsoring-hero-content h1 span {
  color: var(--accent);
}

.sponsoring-hero-content p {
  font-size: 1.1rem;
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ========================================
   STATISTIQUES
======================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.8;
}

/* ========================================
   VISIBILITÉ
======================================== */

.visibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.visibility-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  text-align: center;
}

.visibility-card:hover {
  transform: translateY(-4px);
}

.visibility-icon {
  font-size: 2.5rem;
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.visibility-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.visibility-card p {
  font-size: 1rem;
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.75;
  line-height: 1.6;
}

/* ========================================
   FORMULAIRE DE CONTACT
======================================== */

.sponsoring-form-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 680px;
  margin: 0 auto;
}

.sponsoring-form-section h2 {
  font-size: clamp(1.7rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 8px;
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sponsoring-form-section .form-subtitle {
  font-size: 1.05rem;
  background: var(--gold-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.75;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  gap: 6px;
}

.form-group label {
  font-size: 1rem;
  font-weight: 600;
  background: var(--gold-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fafafa;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-dark);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-feedback {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  min-height: 22px;
}

.form-feedback.success {
  color: var(--accent-dark);
}

.form-feedback.error {
  color: #e53e3e;
}

/* ========================================
   LIGHTBOX
======================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lb-in 0.2s ease;
}

@keyframes lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox.hidden {
  display: none !important;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #a89927;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ========================================
   GALERIE PHOTOS
======================================== */

.sponsoring-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sponsoring-photo-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sponsoring-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
  cursor: zoom-in;
}

.sponsoring-photo-item:hover img {
  transform: scale(1.04);
}

/* ========================================
   RESPONSIVE — TABLETTE (≤ 900px)
======================================== */

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .visibility-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sponsoring-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sponsoring-form-section {
    padding: 32px 24px;
  }
}

/* ========================================
   RESPONSIVE — MOBILE (≤ 600px)
======================================== */

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .visibility-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .sponsoring-hero-content h1 {
    font-size: 1.8rem;
  }
}
