/* Styles pour la page projet individuelle */
.projet-contenu-wrapper { width: 90%; max-width: 1200px; margin: 40px auto; display: flex; flex-wrap: wrap; gap: 40px; }
.projet-colonne-principale { flex: 2; min-width: 300px; }
.projet-colonne-laterale { flex: 1; min-width: 250px; }
.image-principale { position: relative; margin-bottom: 20px; }
.image-principale a { display: block; }
.image-principale img { width: 100%; height: auto; display: block; }
.image-principale .nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.4); color: white; border: none; font-size: 24px; font-weight: bold; cursor: pointer; padding: 15px 10px; z-index: 10; opacity: 0; transition: opacity 0.3s ease; }
.image-principale:hover .nav-arrow { opacity: 1; }
.image-principale .nav-prev { left: 10px; }
.image-principale .nav-next { right: 10px; }
.galerie-thumbnails { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 15px; margin-bottom: 30px; }
.thumbnail-item div { display: block; cursor: pointer; }
.thumbnail-item img { width: 100%; height: 80px; object-fit: cover; display: block; border: 1px solid #ddd; }
.projet-description { line-height: 1.7; }
.projet-infos-meta { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; }
.projet-infos-meta li { display: contents; }
.projet-infos-meta strong { font-size: 1em; text-transform: uppercase; color: #333; }
.projet-infos-meta span { font-size: 1em; color: #555; text-align: left; }
.projet-infos-meta strong, .projet-infos-meta span { padding-bottom: 12px; border-bottom: 1px solid #eee; }

/* Styles pour les pages d'archive (/nos-projets/ et /nos-projets/type/...) */
.projets-archive-container { width: 90%; max-width: 1200px; margin: 40px auto; }
.projets-filtres { margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #eee; text-align: center; }
.projets-filtres a { text-decoration: none; color: #333; padding: 8px 15px; margin: 0 5px; border-radius: 5px; transition: background-color 0.3s, color 0.3s; }
.projets-filtres a:hover { background-color: #f0f0f0; }
.projets-filtres a.filtre-actif { background-color: #333; color: white; }
.projets-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }

/* Styles pour l'effet de survol sur les cartes de projet */
.projet-carte { position: relative; overflow: hidden; display: block; text-decoration: none; color: #333; }
.projet-carte:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.projet-carte img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.projet-carte:hover img { transform: scale(1.05); }
.carte-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.85); color: #000; display: flex; justify-content: center; align-items: center; padding: 20px; text-align: center; opacity: 0; transition: opacity 0.4s ease; }
.projet-carte:hover .carte-overlay { opacity: 1; }
.carte-texte { font-size: 1.3em; font-weight: bold; line-height: 1.4; text-transform: uppercase; }
.carte-texte::after { content: ''; display: block; width: 50px; height: 3px; background-color: #000; margin: 15px auto 0; }
