/* Modern Hero Section */
.hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #1976d2 0%, #90caf9 100%);
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 2rem;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(44,62,80,0.15);
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 4px rgba(44,62,80,0.12);
}

.cta-button {
  background: linear-gradient(90deg, #f39c12 60%, #ffe092 100%);
  color: #222;
  padding: 1rem 2.2rem;
  border-radius: 30px;
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(44,62,80,0.10);
  transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
  background: #f39c12;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* Features Section */
.features {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  padding: 3rem 2rem;
  background: #f8f9fa;
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 900px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.07);
}

.feature {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 8px rgba(44,62,80,0.06);
  text-align: center;
  max-width: 260px;
  flex: 1;
  transition: transform 0.2s;
}

.feature:hover {
  transform: translateY(-6px) scale(1.03);
}

.feature h3 {
  font-size: 1.3rem;
  color: #1976d2;
  margin-bottom: 0.7rem;
}

.feature p {
  color: #444;
  font-size: 1rem;
}

/* Ateliers Cards */
#home-ateliers .locations {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 2rem 0;
}

#home-ateliers .produit-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(44,62,80,0.10);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

#home-ateliers .produit-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px rgba(44,62,80,0.13);
}

#home-ateliers .produit-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

#home-ateliers .produit-card h3 {
  font-size: 1.1rem;
  color: #1976d2;
  margin-bottom: 0.5rem;
}

#home-ateliers .desc {
  color: #555;
  font-size: 0.98rem;
  margin-bottom: 0.7rem;
}

#home-ateliers .button {
  background: linear-gradient(90deg, #ffe092 60%, #f39c12 100%);
  color: #222;
  border-radius: 20px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s;
}

#home-ateliers .button:hover {
  background: #f39c12;
  color: #fff;
}

/* Stats Section */
.stats {
  background: #e3f2fd;
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  margin: 2rem auto;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.07);
}

.stats-title {
  text-align: center;
  font-size: 2rem;
  color: #1976d2;
  margin-bottom: 1.5rem;
}

.stats-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.08);
  padding: 1.5rem;
  text-align: center;
  margin: 0 auto;
}

.stats-icon {
  width: 48px;
  height: 48px;
  margin: .25rem auto .5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffe092;
  color: #1976d2;
  font-size: 1.7rem;
}

.stats-heading {
  font-size: 1.1rem;
  color: #1976d2;
  margin-bottom: 0.3rem;
}

.stats-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #222;
  margin-bottom: 0.2rem;
}

.stats-label {
  color: #555;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .features {
    flex-direction: column;
    gap: 1.2rem;
    padding: 2rem 1rem;
  }
  .feature {
    max-width: 100%;
  }
  .stats {
    padding: 1.5rem 0.5rem;
  }
  .circuit-inscription-cadre,
  .circuit-svg-container {
    width: 100%;
    max-width: 520px;
  }
}