.hero-section {
  width: 100vw;
  gap: 3rem;
  background-image: radial-gradient(
    circle at bottom left,
    rgba(87, 158, 149, 0.1),
    transparent 60%
  );
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
}

.hero-section .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
}

.hero-text {
  flex: 1;
  max-width: 600px;
  padding-top: 3rem;
}

.hero-text h1 {
  font-size: 2.7rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-actions a {
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.hero-actions a:first-child {
  padding: 0.8rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 12px;
  border: 2px solid var(--primary-color);
}

.hero-actions a:last-child {
  color: var(--primary-color);
}

.hero-actions a:hover {
  transform: scale(1.03);
  background: none;
  color: var(--primary-color);
}

.hero-store {
  border-top: 1px solid #f1f1f1;
  padding-top: 1rem;
  width: 100%;
}

.hero-store h6 {
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.store-btns {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}

.hero-store img {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.hero-image {
  flex: 1;
  text-align: right;
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  padding-top: 2rem;
}

.hero-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* <-- tu peux ajuster l'opacité ici */
  z-index: 1;
  pointer-events: none; /* pour ne pas bloquer les clics */
  border-radius: 12px;
  height: 30rem;
  margin-top: 2rem;
}

.hero-image img {
  max-width: 100%;
  height: 30rem;
  object-fit: cover;
  border-radius: 12px;
}

.play-button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.897);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.play-icon {
  font-size: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: start;
}

.play-icon svg {
  fill: var(--primary-color);
  height: 2rem;
}

.play-bubble {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(87, 158, 149, 0.508);
  border-radius: 50%;
  animation: bubble 2s infinite ease-out;
  z-index: 1;
}

/* Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.video-modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  background: #000;
  padding: 0;
}

.video-modal iframe {
  width: 100%;
  height: 450px;
}

.video-modal .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

@media only screen and (max-width: 900px) {
  .hero-section {
    gap: 2rem;
  }

  .hero-text {
    max-width: 100%;
    padding-top: 2rem;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-right: 5vw;
  }

  .hero-store h6 {
    font-size: 0.8rem;
  }

  .hero-image {
    flex: 1;
    text-align: left;
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-top: 2rem;
  }

  .hero-image .overlay {
    width: 100%;
    height: 100%;
    height: 22.5rem;
  }

  .hero-image img {
    height: 22.5rem;
    width: 100%;
  }

  .play-button-wrapper {
    width: 60px;
    height: 60px;
  }

  .play-icon {
    font-size: 22px;
  }

  .video-modal-content {
    width: 90%;
    max-width: 700px;
  }

  .video-modal iframe {
    height: 350px;
  }
}

@media only screen and (max-width: 560px) {
  .hero-section .container {
    flex-direction: column;
  }
  .hero-text {
    max-width: 100%;
    padding-top: 1rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 0.9rem;
    padding-right: 0;
  }

  .hero-actions {
    gap: 0.5rem !important;
    margin-bottom: 1rem;
    font-size: 0.9rem !important;
    white-space: nowrap;
  }

  .hero-actions a {
    font-size: 0.9rem !important;
  }

  .hero-image .overlay {
    width: 100%;
    height: 100%;
    height: 20rem;
  }

  .hero-image img {
    height: 20rem;
    width: 100%;
  }
}

@keyframes bubble {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}
