/* 🖼️ Image d'accueil */
.photoAccueil {
   width: 100%;
   height: auto;
   max-height: 400px;
   object-fit: cover; /* Remplit sans déformer */
}

/* 🧾 Bloc de présentation principal */
.bloc-presentation {
   background-color: #ffffff;
   border-radius: 12px;
   padding: 2rem 3rem;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
   max-width: 1800px;
   margin-left: 0;     /* aligner à gauche */
   margin-right: auto

}
.bloc-texte ul li {
   padding-left: 1rem; /* ou 20px, selon ton besoin */
   margin-left: 3rem;
}

/* 🎯 Disposition logos + texte (desktop par défaut) */
.bloc-logos {
   display: flex;
   flex-direction: row;
   align-items: center;
   justify-content: center;
   gap: 3rem;
   flex-wrap: nowrap;
}

/* 🖼️ Logos */
.bloc-logos img {
   object-fit: contain;
   flex-shrink: 0;
   transition: all 0.3s ease;

}

.bloc-logos .logo-omsa {
   margin-right: 4rem;
   height: 325px;
}

.bloc-logos .logo-seyssinet {
   margin-left: 4rem;
   height: 250px;
}

/* ✍️ Texte de présentation */
main section .bloc-texte {
   flex: 1;
   font-size: 1.3rem;
   line-height: 1.9;
   text-align: justify;
   padding: 1rem;
   color: #333;
   transition: font-size 0.3s ease;
}


/*Publications */

main .card{
   box-shadow: 0 2px 12px rgba(0,0,0,0.1);
   transition: transform 0.2s ease, box-shadow 0.2s ease;
}
main .card:hover {
   transform: scale(1.02);
   box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

main .card-img-top {
   max-height: 250px;
   object-fit: cover;
   border-radius: 0.5rem 0.5rem 0 0;
}

main .card .fiche-btn {
   background-color: #85c536;
   color: white;
   border-radius: 0.25rem;
   padding: 0.4rem 0.75rem;
   font-weight: 500;
   text-decoration: none;
}
main .fiche-btn:hover {
   background-color: #6ba72b;
}


main .card-footer {
   background-color: #f8f9fa;
   border-top: 1px solid #dee2e6;
}

/*boutons pour les articles*/
.article-btn {
   background-color: #85c536;
   color: white;
   padding: 0.4rem 0.9rem;
   border-radius: 6px;
   text-decoration: none;
   font-size: 0.9rem;
   font-weight: bold;
}
.article-btn:hover {
   background-color: #6ba72b;
   color: #054b29;
}



/* 📱 Responsive : petits écrans */
@media (max-width: 1114px) {
   .bloc-logos {
      flex-direction: column;
      gap: 1.2rem;
   }

   .bloc-logos img {
      height: 100px;
   }

   .bloc-texte {
      font-size: 1rem;
      padding: 0.5rem;
      text-align: center;
   }
}

/* 🖥️ Responsive : écrans larges */
@media (min-width: 1200px) {
   .bloc-logos img {
      height: 200px;
   }

   .bloc-presentation .bloc-texte {
      font-size: 1.3rem;
      max-width: 900px;
   }
}

@media (min-width: 1600px) {
   .bloc-logos img {
      height: 300px;
      margin: 2rem;
   }
}

@media screen and (max-width: 1114px) {
   /* Masquer Email, Téléphone, Site web */
   .tableau-theme td:nth-child(2),
   .tableau-theme th:nth-child(2),
   .tableau-theme td:nth-child(3),
   .tableau-theme th:nth-child(3),
   .tableau-theme td:nth-child(4),
   .tableau-theme th:nth-child(4) {
      display: none;
   }

   /* Rendre les colonnes visibles bien espacées */
   .tableau-theme td,
   .tableau-theme th {
      font-size: 0.9rem;
      padding: 0.5rem;
   }
}
