/* ===== INDEX PAGE STYLES ===== */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--white);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.hero-name {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  color: var(--accent);
  opacity: 0;
  transform: translateY(50px);
}

.hero-slogan {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

/* Stats dans le hero - même niveau que slogan */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem 3rem;
  margin: 2rem 0 2rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero-stats {
    gap: 1.5rem 2rem;
  }
}

.hero-stat {
  text-align: center;
  padding: 3.5rem;
  border-radius: 2rem;
  background: var(--other);
  backdrop-filter: blur(5px);
  transition: var(--transition);
}
.hero-stat:hover{
  cursor: pointer;
  transform: translateY(-8px);
}
.hero-stat .stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.hero-stat .stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: white !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.hero-cta:hover {
  background: #c5303d;
  transform: translateY(-2px);
}

/* Hero animations on load */
.animate-hero.visible,
.animate-hero-delay.visible,
.animate-hero-delay-2.visible {
  animation: fadeUp 1s ease forwards;
}

.animate-hero-delay.visible { animation-delay: 0.3s; }
.animate-hero-delay-2.visible { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 1.5rem;
  color: var(--text-muted);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Section common */
.section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Carte d'identité */
.identite {
  background: var(--primary);
}

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

.identite-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
}

.identite-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.identite-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.identite-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.identite-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Réalisations */
.subsection-title {
  font-size: 1.5rem;
  margin: 3rem 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
}
.section-subtitle-marquant{
  color:var(--other);
  font-size: 1rem;
}

.subsection-title i {
  color: var(--accent);
}
.section-title-cart{
  color: #fff;
  font-size:3rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
}

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

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-overlay i {
  font-size: 1.25rem;
  color: white;
}

/* Survol simple et professionnel */
.gallery-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.35);
}

/* Mobile Slider */
.mobile-slider {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.slider-track {
  overflow: hidden;
  border-radius: 24px;
  position: relative;
}

.slider-slide {
  display: none;
  animation: slideIn 0.5s ease;
}

.slider-slide.active {
  display: block;
}

.slider-slide img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

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

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
  left: -25px;
}

.slider-btn.next {
  right: -25px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots span.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Appareils */
.appareils-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.appareil-card {
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.appareil-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}

.appareil-card i {
  font-size: 2.5rem;
  color: var(--white);
}

.appareil-card span {
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
}
