/* ===== entreprise.css ===== */

/* --------------------------------------------
   ► Réinitialisation de base
-------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

/* --------------------------------------------
   ► Sections d’information et offres
-------------------------------------------- */
.info-section,
.offres-du-moment {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.info-section h2,
.offres-du-moment h3 {
  color: #e60000;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px #000;
}

.info-section p {
  font-size: 1.2rem;
}

.offres-du-moment h3 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.offre {
  background-color: #1a1a1a;
  border: 2px solid #e60000;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

.offre:hover {
  transform: translateY(-5px);
}

/* --------------------------------------------
   ► CARROUSEL — version optimisée responsive
-------------------------------------------- */
.carousel-container {
  width: 90%;
  max-width: 500px;
  margin: 30px auto;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.carousel-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: none;
  transition: opacity 0.3s ease-in-out;
  border-radius: 15px;
}

.carousel-image.active {
  display: block;
  opacity: 1;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 2;
  border-radius: 4px;
}

button.prev:hover,
button.next:hover {
  background: rgba(0, 0, 0, 0.7);
}

button.prev {
  left: 15px;
}

button.next {
  right: 15px;
}

.dots {
  text-align: center;
  padding: 10px 0;
  background-color: #000;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #e60000;
}

/* --------------------------------------------
   ► Présentation et cartes
-------------------------------------------- */
.presentation {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  background-color: #000;
  color: #fff;
  text-align: justify;
}

.presentation h2 {
  color: #e60000;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.presentation p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.stages-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.stage-card {
  width: 220px;
  background-color: #1a1a1a;
  border: 2px solid #e60000;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.stage-card:hover {
  transform: translateY(-5px);
}

.stage-card img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: contain;
}

.stage-card h3 {
  color: white;
  font-size: 1.05rem;
  margin: 4px 0 0 0;
  text-align: center;
  line-height: 1.2;
}

.stage-card p {
  margin: 0;
  padding: 0;
  color: #ccc;
  font-size: 0.95rem;
  text-align: center;
}

/* --------------------------------------------
   ► Bouton rouge
-------------------------------------------- */
.button-red {
  background: linear-gradient(135deg, #e60000 0%, #c20000 100%);
  border: none;
  border-radius: 6px;
  color: #fff;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  padding: 8px 0;
  margin-top: auto;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.button-red:hover {
  background: linear-gradient(135deg, #ff1a1a 0%, #e60000 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}

.button-red:active {
  transform: translateY(0);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.button-red:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.5), 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------
   ► Footer
-------------------------------------------- */
.footer {
  background-color: #000;
  text-align: center;
  padding: 20px;
  color: #fff;
}

/* --------------------------------------------
   ► Évènement Entreprise
-------------------------------------------- */
.évènement.entreprise {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.évènement.entreprise h2 {
  color: #e60000;
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px #000;
}

.évènement.entreprise p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* --------------------------------------------
   ► Responsive (tablette & mobile)
-------------------------------------------- */
@media (max-width: 1100px) {
  .stage-card {
    width: 45%;
  }
}

@media (max-width: 700px) {
  .stage-card {
    width: 90%;
  }

  .stage-card img {
    height: 120px;
  }

  .presentation {
    padding: 20px;
    margin: 0 10px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .presentation h2,
  .évènement.entreprise h2 {
    font-size: 1.4rem;
  }

  .presentation p,
  .évènement.entreprise p {
    font-size: 0.95rem;
  }

  .carousel-container {
    max-width: 100%;
  }

  .carousel-image {
    height: 180px;
  }

  button.prev,
  button.next {
    font-size: 1.5rem;
    padding: 6px 10px;
  }
}
