/* Typographie moderne */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  font-family: 'Poppins', sans-serif;
}

/* Animations d'apparition */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

/* Boutons Glassmorphisme */
.btn-glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

/* Effet menu souligné */
.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: all 0.3s;
}

.main-nav a:hover::after {
  left: 0;
  width: 100%;
}

/* Moderniser le hero */
.hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  padding: 20px 20px; /* Réduit le padding vertical */
  min-height: 220px; /* Réduit la hauteur minimale */
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 60px; /* Garde un espace pour le motif ondulé */
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E"); */
  background-size: cover;
  z-index: 1;
}


/* Assurez-vous que le contenu du hero a un z-index plus élevé */
.hero .container {
  position: relative;
  z-index: 5; /* Valeur plus élevée que celle du motif */
}

/* Assurez-vous que l'image a également un z-index approprié */
.hero-image {
  position: absolute;
  left: 160%; /* Augmenté de 80% à 95% pour déplacer l'image vers la droite */
  bottom: 50%;
  transform: translate(-75%, 50%);
  max-height: 74%;
  width: auto;
  z-index: 3; /* Entre le motif et le contenu */
  object-fit: contain;
}



.product-card {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card:hover {
    transform: rotateY(5deg) translateZ(10px);
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.2);
}





/* Bouton principal amélioré */
.btn-primary {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

/* Statistiques animées (laisser l'affichage intact) */
.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-blue);
}

/* Ajustements responsives */
@media (max-width: 768px) {
  .hero {
    padding: 80px 10px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

.ecosystem-container {
    display: flex;
    flex-direction: row; /* Important : row et non column */
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
}

.product-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    flex: 1;
    position: sticky;
    top: 100px;
}

.restaurant-iso {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Responsive mobile/tablette */
@media (max-width: 992px) {
    .ecosystem-container {
        flex-direction: column-reverse;
    }

    .main-image {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
	
	
.btn-modern {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s;
    z-index: -1;
}

.btn-modern:hover::before {
    left: 100%;
}	

	
}






