/* Layouts premium */

/* Hero Section - DESIGN ULTRA VISIBLE */
.hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  color: white;
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Orbes dorés TRÈS VISIBLES en arrière-plan */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: 
    radial-gradient(circle 600px at 20% 30%, rgba(212, 175, 55, 0.6) 0%, transparent 60%),
    radial-gradient(circle 500px at 80% 70%, rgba(184, 134, 11, 0.5) 0%, transparent 60%),
    radial-gradient(circle 800px at 50% 50%, rgba(212, 175, 55, 0.4) 0%, transparent 70%);
  animation: orbsMove 15s ease-in-out infinite alternate;
  z-index: 0;
  filter: blur(40px);
}

@keyframes orbsMove {
  0% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(5%, -5%) scale(1.1);
    opacity: 1;
  }
  100% { 
    transform: translate(-5%, 5%) scale(1.05);
    opacity: 0.9;
  }
}

/* Motif de grille dorée TRÈS VISIBLE */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridShift 20s linear infinite;
  z-index: 0;
  opacity: 0.8;
}

@keyframes gridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}


/* Particules dorées flottantes */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 
    0 0 30px rgba(212, 175, 55, 1),
    0 0 60px rgba(212, 175, 55, 0.8),
    0 0 90px rgba(212, 175, 55, 0.5);
  animation: floatParticle 15s linear infinite;
  opacity: 1;
  z-index: 1;
}

.hero-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.hero-particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 22s; }
.hero-particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 16s; }
.hero-particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 24s; }
.hero-particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 20s; }
.hero-particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 19s; }
.hero-particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 21s; }
.hero-particle:nth-child(8) { left: 80%; animation-delay: 4.5s; animation-duration: 17s; }
.hero-particle:nth-child(9) { left: 90%; animation-delay: 1.5s; animation-duration: 23s; }

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) translateX(50px) scale(1);
    opacity: 0;
  }
}

/* Ballons de foot flottants - ULTRA VISIBLES */
.hero-football {
  position: absolute;
  font-size: 6rem;
  opacity: 0.5;
  z-index: 1;
  animation: floatFootball 10s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(212, 175, 55, 1)) drop-shadow(0 0 80px rgba(212, 175, 55, 0.6));
  text-shadow: 
    0 0 50px rgba(212, 175, 55, 0.8),
    0 0 100px rgba(212, 175, 55, 0.4);
}

.hero-football:nth-child(1) {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
  animation-duration: 18s;
}

.hero-football:nth-child(2) {
  top: 60%;
  right: 8%;
  animation-delay: 5s;
  animation-duration: 20s;
}

.hero-football:nth-child(3) {
  bottom: 20%;
  left: 12%;
  animation-delay: 10s;
  animation-duration: 16s;
}

@keyframes floatFootball {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) translateX(20px) rotate(90deg);
  }
  50% {
    transform: translateY(-60px) translateX(-15px) rotate(180deg);
  }
  75% {
    transform: translateY(-30px) translateX(25px) rotate(270deg);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.hero-text {
  animation: fadeInLeft 1s ease-out;
}

.hero-text .badge {
  display: inline-block;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0.2) 100%);
  border: 4px solid var(--secondary);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-lg);
  color: #ffd700;
  text-shadow: 
    0 0 30px rgba(212, 175, 55, 1),
    0 0 60px rgba(212, 175, 55, 0.6);
  box-shadow: 
    0 0 40px rgba(212, 175, 55, 0.8),
    0 0 80px rgba(212, 175, 55, 0.5),
    0 0 120px rgba(212, 175, 55, 0.3),
    inset 0 0 40px rgba(212, 175, 55, 0.3);
  animation: badgeGlow 1.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.hero-text .badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  animation: badgeShimmer 3s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% {
    box-shadow: 
      0 0 40px rgba(212, 175, 55, 0.8),
      0 0 80px rgba(212, 175, 55, 0.5),
      0 0 120px rgba(212, 175, 55, 0.3),
      inset 0 0 40px rgba(212, 175, 55, 0.3);
    transform: scale(1);
    border-color: var(--secondary);
  }
  50% {
    box-shadow: 
      0 0 60px rgba(212, 175, 55, 1),
      0 0 120px rgba(212, 175, 55, 0.7),
      0 0 180px rgba(212, 175, 55, 0.4),
      inset 0 0 60px rgba(212, 175, 55, 0.5);
    transform: scale(1.08);
    border-color: #ffd700;
  }
}

@keyframes badgeShimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.hero-text h1 {
  background: linear-gradient(135deg, var(--secondary) 0%, #ffffff 25%, var(--accent-light) 50%, #ffffff 75%, var(--secondary) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
  animation: titleShimmer 4s ease-in-out infinite, titleReveal 1.2s ease-out;
  position: relative;
}

@keyframes titleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes titleReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-text p {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.hero-actions .btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-actions .btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, #ffd700 50%, var(--accent) 100%);
  background-size: 200% 200%;
  color: var(--primary);
  font-weight: 700;
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  box-shadow: 
    0 10px 40px rgba(212, 175, 55, 0.6),
    0 0 0 0 rgba(212, 175, 55, 0.8),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  animation: buttonPulse 2s ease-in-out infinite, buttonShimmer 3s ease-in-out infinite;
}

.hero-actions .btn-secondary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    0 12px 40px rgba(212, 175, 55, 0.6),
    0 0 0 8px rgba(212, 175, 55, 0.2);
}

.hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 
      0 10px 40px rgba(212, 175, 55, 0.6),
      0 0 0 0 rgba(212, 175, 55, 0.8);
  }
  50% {
    box-shadow: 
      0 15px 50px rgba(212, 175, 55, 0.8),
      0 0 0 6px rgba(212, 175, 55, 0.4);
  }
}

@keyframes buttonShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-image {
  position: relative;
  animation: fadeInRight 1.2s ease-out;
  z-index: 2;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background: linear-gradient(45deg, var(--secondary), var(--accent), var(--secondary), var(--accent));
  background-size: 400% 400%;
  border-radius: var(--radius-2xl);
  opacity: 0.4;
  z-index: -1;
  animation: rotateGradient 8s ease infinite;
  filter: blur(20px);
}

.hero-image::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, var(--secondary), var(--accent), var(--secondary));
  border-radius: var(--radius-2xl);
  opacity: 0.2;
  z-index: -1;
  animation: rotate 12s linear infinite;
}

@keyframes rotateGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 
    0 24px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(212, 175, 55, 0.2),
    0 0 60px rgba(212, 175, 55, 0.3);
  transition: all var(--transition-slow);
  position: relative;
  z-index: 1;
}

.hero-image:hover img {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(212, 175, 55, 0.4),
    0 0 80px rgba(212, 175, 55, 0.5);
}

/* Section Headers premium */
.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 2px;
}

.section-header h2 {
  margin-bottom: var(--space-md);
  position: relative;
}

.section-header p {
  font-size: var(--font-size-xl);
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

/* Stats Section premium */
.stats {
  background: var(--bg-alt);
  position: relative;
  transform: none !important;
  will-change: auto !important;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23D4AF37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  transform: none !important;
  will-change: auto !important;
}

.stat-card {
  text-align: center;
  padding: var(--space-2xl);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

.stat-label {
  font-size: var(--font-size-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

/* Match Card premium */
.match-card {
  background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(26,26,26,0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  animation: scanLine 4s infinite;
}

.match-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes scanLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.match-info h3 {
  color: white;
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-2xl);
}

.match-details {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-lg);
}

.match-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Partners Section premium */
.partners {
  background: var(--bg-alt);
  position: relative;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.partner-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.partner-logo:hover::before {
  opacity: 0.1;
}

.partner-logo:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  position: relative;
  z-index: 2;
  transition: all var(--transition-normal);
}

.partner-logo:hover img {
  filter: brightness(1.1);
}

/* Contact Form premium */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form .card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text);
  font-size: var(--font-size-lg);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-lg);
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
  background: white;
}

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

/* Animations d'entrée */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive premium */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding: var(--space-3xl) 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-football {
    font-size: 2rem;
  }
  
  .hero-particles {
    display: none; /* Masquer les particules sur mobile pour les performances */
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .match-actions {
    justify-content: center;
  }
  
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Footer styles */
footer.site {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  border-top: 3px solid var(--secondary);
  border-bottom: none;
  position: relative;
  margin-top: var(--space-2xl);
  padding: var(--space-3xl) 0 var(--space-lg) 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

footer.site::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent), var(--secondary));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
