/* ==========================================================================
   WalliSend Hero Component
   Hero split layout avec texte à gauche et mockup à droite
   ========================================================================== */

/* ===== HERO CONTAINER ===== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 0;
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  padding-bottom: 0;
}

/* ===== HERO CONTENT (Côté gauche) ===== */

.hero__content {
    text-align: center;
    order: 2;
    padding-top: 3rem;
}

.hero__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.hero__subtitle {
  font-size: var(--font-size-md);
  color: var(--color-white);
  opacity: 0.9;
  margin-bottom: var(--space-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== LOGOS OPÉRATEURS ===== */

.hero__operators {
  margin-bottom: var(--space-md);
}

.hero__operators-title {
  font-size: var(--font-size-sm);
  color: var(--color-white);
  opacity: 0.7;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__operators-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  max-width: 400px;
  margin: 0 auto;
  padding: 0 var(--space-xs);
}

.hero__operator-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  padding: 6px;
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth);
}

.hero__operator-logo:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

/* ===== CTA SECTION ===== */

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
    padding-bottom: 3rem;
}

.hero__cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  max-width: 300px;
}

/* ===== HERO IMAGE (Côté droit - Mockup) ===== */

.hero__image {
  order: 1;
  width: 100%;
  max-width: 280px;
  margin-bottom: -60px;
  animation: slideInUp 0.8s ease-out;
}

.hero__mockup {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
  animation: float 4s ease-in-out infinite;
}

/* ===== SCROLL INDICATOR ===== */

.hero__scroll {
  display: none;
}

.hero__scroll-text {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__scroll-icon {
  width: 24px;
  height: 24px;
}

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

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

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

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.4;
  }
}

/* Animation d'entrée pour le contenu */
.hero__content {
  animation: slideInUp 0.8s ease-out 0.2s both;
}

/* ===== TABLET ===== */

@media (min-width: 768px) {
  .hero__image {
    max-width: 320px;
    margin-bottom: -80px;
  }

  .hero__operator-logo {
    width: 48px;
    height: 48px;
  }

  .hero__cta-buttons {
    flex-direction: row;
    max-width: none;
    width: auto;
  }
}

/* ===== DESKTOP ===== */

@media (min-width: 1024px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 0;
  }

  .hero__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
    padding-top: var(--space-md);
  }

  .hero__content {
    flex: 1;
    text-align: left;
    order: 1;
    max-width: 550px;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-xl);
  }

  .hero__title {
    font-size: var(--font-size-4xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-lg);
    margin-left: 0;
    margin-right: 0;
  }

  .hero__operators-grid {
    justify-content: flex-start;
    margin: 0;
    max-width: 500px;
    gap: var(--space-sm);
    padding: 0;
  }

  .hero__operator-logo {
    width: 52px;
    height: 52px;
  }

  .hero__cta {
    align-items: flex-start;
  }

  .hero__image {
    order: 2;
    flex: 0 0 auto;
    max-width: 340px;
    margin-bottom: -120px;
    align-self: flex-start;
    animation: slideInRight 0.8s ease-out;
  }
}

/* ===== LARGE DESKTOP ===== */

@media (min-width: 1280px) {
  .hero__image {
    max-width: 400px;
    margin-bottom: -150px;
  }

  .hero__title {
    font-size: 4rem;
  }

  .hero__mockup {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  }
}
