/* CSS Document */

/* Fond bleu océan et styles globaux */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background: linear-gradient(135deg, #0077be 0%, #0a5f91 100%);
    min-height: 100vh;
}

/* Bandeau haut */
.bandeau-haut {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.bandeau-haut img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Conteneur principal */
.conteneur {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Grille de 4 colonnes */
.grille {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0;
}

/* Cellule (commentaire + image cliquable) */
.cellule {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.cellule:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.commentaire {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.cellule img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.cellule:hover img {
    transform: scale(1.05);
}

/* Bandeau bas */
.bandeau-bas {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
}
.bandeau-bas a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
}
.bandeau-bas a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .grille {
        grid-template-columns: repeat(2, 1fr);
    }
}
