/* ===== SECTION DANGER ===== */

.danger-section {
  padding: 90px 0;
  background: #fff4f4; /* fond légèrement différent pour différencier la section */
}

.danger-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color:#1c2b4a; /* rouge danger */
  max-width: 900px;
  margin: 0 auto 60px auto;
  line-height: 1.4;
  position: relative;
}

.danger-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background:#007bff;
  margin: 20px auto 0 auto;
  border-radius: 2px;
}

/* Sous-titre section danger */
.danger-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #1c2b4a;
  margin-bottom: 20px;
  position: relative;
}

.danger-subtitle::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #007bff;
  margin-top: 10px;
  border-radius: 2px;
}


.danger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.danger-text p,
.danger-text ul {
  padding-left: 0;
}

.danger-text ul li {
  list-style: none;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.danger-text ul li::before {
  content: "⚠";
  position: absolute;
  left: 0;
  color: #d9534f;
  font-size: 14px;
}

.danger-video video {
  width: 100%;
  height: 350px; 
  max-height: 500px; /* optionnel : limite max */
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  background: #000; /* zone vide noire autour si ratios différents */
  transition: transform 0.3s ease;
}

.danger-video video:hover {
  transform: scale(1.02);
}

/* animation scroll */
.danger-section .animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.danger-section .visible {
  opacity: 1;
  transform: translateY(0);
}

/* responsive */
@media (max-width: 992px) {
  .danger-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .danger-video video {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .danger-section {
    padding: 60px 0;
  }

  .danger-title {
    font-size: 22px;
  }

  .danger-video video {
    height: 250px;
  }
}
