/* GLOBAL */
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #f7f7f7;
color: #333;
}

header {
background-color: #2b4d2f;
color: #fff;
padding: 20px;
text-align: center;
}

footer {
text-align: center;
padding: 20px;
background: #eee;
margin-top: 40px;
}

.bloc {
max-width: 900px;
margin: 20px auto;
padding: 0 20px;
}

/* BOUTONS */
.btn-vert {
display: inline-block;
padding: 10px 18px;
background: #3a7f4a;
color: #fff;
text-decoration: none;
border-radius: 6px;
margin: 8px;
font-size: 16px;
}

.btn-vert:hover {
background: #2e6a3c;
}

/* HERO */
.hero {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px 0;
text-align: center;
}

.hero-image-wrapper {
width: 100%;
max-width: 900px;
margin-bottom: 20px;
}

.hero-img {
width: 100%;
height: auto;
max-height: 420px;
object-fit: cover;
border-radius: 10px;
}

.hero-texte {
max-width: 900px;
margin: 0 auto;
padding: 10px 20px;
}

/* IMAGES NORMALES */
img {
max-width: 100%;
height: auto;
display: block;
}

/* IMAGES DES PROJETS */
.projet-img {
width: 100%;
max-width: 900px;
height: auto;
object-fit: contain;
margin: 20px auto;
border-radius: 10px;
}

/* GALERIES */
.galerie,
.sous-encadres {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 25px;
margin: 30px auto;
}

/* BLOCS PHOTOS */
.photo-bloc,
.bloc-photo {
text-align: center;
background: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.15);
padding: 15px;
}

/* MINIATURES */
.photo-mini,
.bloc-photo img {
width: 100%;
height: auto;
object-fit: cover;
border-radius: 8px;
}

/* TEXTE DES PHOTOS */
.texte-photo {
margin: 15px 0;
font-size: 18px;
font-weight: 600;
color: #333;
}

.petit-texte {
font-size: 15px;
line-height: 1.5;
text-align: center;
color: #555;
}

/* SECTIONS IMMEUBLES */
.encadre-section {
background: #fff;
padding: 20px;
margin: 30px 0;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.encadre-section h2 {
text-align: center;
color: #2b4d2f;
margin-bottom: 20px;
}

/* PHOTOS LOGEMENTS */
.photo-logement,
.photo-alpha {
width: 100%;
max-width: 900px;
height: auto;
object-fit: contain;
background: #fff;
border-radius: 10px;
}

/* AJOUT MINIMAL POUR ALPHA — NE TOUCHE RIEN D’AUTRE */
.photo-bandeau {
width: 100%;
max-width: 900px;
height: auto;
object-fit: cover;
border-radius: 10px;
margin: 0 auto 20px auto;
}
