/* ============================================
   SECTION MÉTÉO - Insights Cards
   ============================================ */

.meteo-insights {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.meteo-insights::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.meteo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.meteo-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.meteo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--meteo-color), var(--meteo-color-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.meteo-card:hover::before {
  transform: scaleX(1);
}

.meteo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.meteo-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--meteo-bg);
  transition: transform 0.3s ease;
}

.meteo-card:hover .meteo-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.meteo-card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--meteo-color);
}

/* Couleurs spécifiques par type */
.meteo-icon-rain {
  --meteo-color: #4A90E2;
  --meteo-color-light: #7BB3F0;
  --meteo-bg: rgba(74, 144, 226, 0.1);
}

.meteo-icon-sun {
  --meteo-color: #F5A623;
  --meteo-color-light: #F8C471;
  --meteo-bg: rgba(245, 166, 35, 0.1);
}

.meteo-icon-wind {
  --meteo-color: #50C878;
  --meteo-color-light: #7EDB9A;
  --meteo-bg: rgba(80, 200, 120, 0.1);
}

.meteo-icon-storm {
  --meteo-color: #9B59B6;
  --meteo-color-light: #BB8FCE;
  --meteo-bg: rgba(155, 89, 182, 0.1);
}

.meteo-card-content {
  margin-bottom: 16px;
}

.meteo-card-value {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.meteo-card-unit {
  font-size: 20px;
  font-weight: 500;
  color: #6c757d;
  margin-left: 4px;
}

.meteo-card-label {
  font-size: 16px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 6px;
}

.meteo-card-detail {
  font-size: 14px;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meteo-card-impact {
  font-size: 13px;
  color: #868e96;
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid #e9ecef;
  line-height: 1.5;
}

/* ============================================
   SECTION CLIMAT BANNER
   ============================================ */

.climat-banner {
  padding: 0;
  margin: 60px 0;
}

.climat-banner-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: center;
  color: #ffffff;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.climat-banner-content::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.climat-banner-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.climat-banner-icon svg {
  width: 42px;
  height: 36px;
  color: #ffffff;
}

.climat-banner-text h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #ffffff;
}

.climat-banner-text p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.climat-banner-cta {
  flex-shrink: 0;
}

.climat-banner-cta .btn {
  background: #ffffff;
  color: #667eea;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.climat-banner-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
  background: #f8f9fa;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
  .meteo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .climat-banner-content {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    padding: 40px 32px;
  }
  
  .climat-banner-icon {
    margin: 0 auto;
  }
  
  .climat-banner-cta {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .meteo-grid {
    grid-template-columns: 1fr;
  }
  
  .meteo-card {
    padding: 24px 20px;
  }
  
  .meteo-card-value {
    font-size: 36px;
  }
  
  .climat-banner-content {
    padding: 32px 24px;
    border-radius: 16px;
  }
  
  .climat-banner-text h3 {
    font-size: 22px;
  }
  
  .climat-banner-text p {
    font-size: 14px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.meteo-card:nth-child(1) { animation-delay: 0.1s; }
.meteo-card:nth-child(2) { animation-delay: 0.2s; }
.meteo-card:nth-child(3) { animation-delay: 0.3s; }
.meteo-card:nth-child(4) { animation-delay: 0.4s; }