/**
 * PAGE HOME - Styles spécifiques
 */

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: var(--gradient-dark);
  color: white;
  
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(22, 163, 74, 0.2) 0%,
    rgba(15, 23, 42, 0.8) 100%
  );
  z-index: 1;
}

.hero__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  
  transition: transform 15s ease-out;
}

.hero:hover .hero__background {
  transform: scale(1.08);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  padding: var(--space-8);
  
  display: flex;
  flex-direction: column;
  align-items: center;
  
  animation: slide-up 0.8s ease-out;
}

.hero__badge {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: 0.05em;
  
  margin-bottom: var(--space-6);
  
  animation: fade-in 1s ease-out 0.3s both;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  
  margin-bottom: var(--space-6);
  
  color: white;
  
  animation: fade-in 1s ease-out 0.5s both;
}

.hero__description {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  opacity: 0.95;
  margin-bottom: var(--space-10);
  
  animation: fade-in 1s ease-out 0.7s both;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  
  animation: fade-in 1s ease-out 0.9s both;
}

/* === FEATURED PROJECT === */
.featured-project {
  display: flex;
  background: white;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--color-border);
  
  transition: all var(--transition-slow);
}

.featured-project:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -12px rgba(22, 163, 74, 0.25);
}

.featured-project__image-col {
  position: relative;
  width: 50%;
  min-height: 450px;
  overflow: hidden;
  background: var(--slate-100);
}

.featured-project__badge {
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  z-index: 10;
  
  padding: var(--space-2) var(--space-5);
  
  background: var(--accent-500);
  color: white;
  
  border-radius: var(--radius-full);
  
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  
  box-shadow: var(--shadow-lg);
}

.featured-project__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
  transition: transform var(--transition-slower);
}

.featured-project:hover .featured-project__image {
  transform: scale(1.05);
}

.featured-project__content-col {
  width: 50%;
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-6);
  text-align: left;
}

.featured-project__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
}

.featured-project__description {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

.featured-project__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* === VALUES SECTION === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

.value-card {
  text-align: center;
  padding: var(--space-8);
  
  background: white;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-200);
}

.value-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: var(--primary-50);
  color: var(--color-primary);
  
  border-radius: var(--radius-2xl);
  font-size: 2.5rem;
  
  transition: all var(--transition-base);
}

.value-card:hover .value-card__icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--color-primary);
  color: white;
}

.value-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}

.value-card__description {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .featured-project {
    flex-direction: column;
  }
  
  .featured-project__image-col,
  .featured-project__content-col {
    width: 100%;
  }
  
  .featured-project__image-col {
    height: 350px;
    min-height: auto;
  }
  
  .featured-project__content-col {
    padding: var(--space-8);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  
  .hero__content {
    padding: var(--space-6);
  }
  
  .hero__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  
  .hero__description {
    font-size: var(--text-base);
  }
  
  .featured-project__title {
    font-size: var(--text-2xl);
  }

  .featured-project__actions {
    justify-content: center;
  }
  
  .featured-project__image-col {
    height: 250px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}
