/* Import d'une belle police claire */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f4f4f4;
  color: #333;
}

/* Hero section */
.hero-section {
  display: flex;
  height: 70vh;
  position: relative;
  z-index: 1;
}

.hero-part {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-part h2 {
  font-size: 36px;
  z-index: 2;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.rebel {
  background: url("../assets/rebelle.jpg") center/cover no-repeat;
}

.police {
  background: url("../assets/police.jpg") center/cover no-repeat;
}

.entreprise {
  background: url("../assets/entreprise.jpg") center/cover no-repeat;
}

.hero-part::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-part:hover {
  transform: scale(1.05);
}

/* Présentation */
.presentation {
  text-align: center;
  padding: 80px 40px;
  background: white;
}

.presentation h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.presentation p {
  font-size: 18px;
  max-width: 800px;
  margin: auto;
  line-height: 1.6;
  color: #555;
}

.presentation .btn {
  margin-top: 30px;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  background: #3498db;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.presentation .btn:hover {
  background: #2980b9;
}

/* Sections texte + image alternées */
.section-alternée {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  gap: 50px;
  flex-wrap: wrap;
  background: white;
}

.section-alternée:nth-child(even) {
  flex-direction: row-reverse;
  background: #f9f9f9;
}

.section-alternée .texte {
  flex: 1;
  min-width: 300px;
}

.section-alternée .texte h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.section-alternée .texte p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.section-alternée .image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-alternée .image img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 60px 40px 40px;
  margin-top: 80px;
  font-size: 16px;
}

footer p {
  margin: 12px 0;
}

footer a {
  color: #3498db;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Badge "Soon" */
.soon {
  display: inline-block;
  background-color: #3498db;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  margin-right: 6px;
  border-radius: 12px;
  animation: pulse 1.5s infinite;
  font-weight: 500;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    height: auto;
  }

  .hero-part {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .section-alternée {
    flex-direction: column;
    padding: 40px 20px;
  }

  .section-alternée .image img {
    max-height: none;
    height: auto;
    width: 100%;
    object-fit: contain;
  }

  footer {
    padding: 40px 20px 20px;
    font-size: 14px;
  }
}
