 .dossier-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 30px 40px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 12px;
    animation: fadeInUp 1s ease;
    
}

.dossier-container h1 {
    text-align: left;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 26px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}
#titreDossier {
  color: #d10000; /* rouge foncé élégant */
}

.animated-list {
    counter-reset: item;
    padding-left: 20px;
}

.animated-list li {
    position: relative;
    list-style: none;
    margin-bottom: 15px;
    padding-left: 40px;
    font-size: 17px;
    color: #333;
    background: #f9f9f9;
    border-left: 4px solid #3498db;
    border-radius: 8px;
    padding: 10px 15px;
    transition: background 0.3s, transform 0.3s;
    animation: slideIn 0.5s ease forwards;
}
.animated-list li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #3498db;
    color: #fff;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.animated-list li:hover {
    background-color: #ecf6fc;
    transform: translateX(5px);
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.btn-container {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
   /* background-color: #3498db;*/
    background: #0071ce;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: background 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background:yellow;
    transform: scale(1.03);
    text-decoration: none;

}

.submit-btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

 .card-contact {
  
  border-left: 4px solid red;
  padding: 15px 20px;
  font-family: Arial, sans-serif;
  background: #fff;
  max-width: 60%;
  box-sizing: border-box;
  line-height: 1.6;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
   margin: 40px auto 0 auto; /* ↓ Ajoute un espace de 40px en haut */
}


.card-contact h2 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  word-wrap: break-word;
}

.card-contact h2 span {
  font-weight: normal;
  text-decoration: underline;
  text-decoration-color: #007bff;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.card-contact p {
  margin: 10px 0;
  font-size: 16px;
}

.card-contact b {
  color: black;
}

.card-contact a {
  color: #007bff;
  text-decoration: none;
  word-break: break-all;
  display: inline-block;
}

.card-contact a:hover {
  text-decoration: underline;
}

/* Adaptation pour les écrans petits */
@media screen and (max-width: 480px) {
  .card-contact {
    padding: 12px 15px;
    font-size: 15px;
  }

  .card-contact h2 {
    font-size: 17px;
  }

  .card-contact p {
    font-size: 14.5px;
  }
}
