/* --- Mise en page --- */
main {
    padding: 20px;
}

h1 {
    margin-bottom: 10px;
}

/* --- Grille Responsive --- */
.repas-grid {
    display: grid;
    /* Crée 4 colonnes sur PC, s'adapte sur mobile */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* --- Style des Tuiles --- */
.repas-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.repas-card:hover {
    transform: translateY(-5px);
}

/* Le titre du jour hérite du style h2 du site (Playfair Display) */
.repas-card h2 {
    background-color: #D982A6; /* Rose principal */
    color: white;
    margin: 0;
    padding: 15px;
    font-size: 1.5rem;
    text-align: center;
}

.moment {
    padding: 20px;
    border-bottom: 1px solid #f5f5f5;
    flex-grow: 1;
}

.moment:last-child {
    border-bottom: none;
}

.label {
    display: block;
    color: #F4B886; /* Couleur pêche */
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.detail {
    font-size: 0.95rem;
    color: #555;
    margin-top: 5px;
}

/* --- Listes --- */
.liste {
    list-style: none;
    padding: 0 0 0 30px; /* Ajoute un retrait propre de 30px par la gauche */
    text-align: left; /* Garde le texte bien aligné à gauche */
    margin: 10px 0; /* Un peu d'espace au-dessus et en dessous */
}

.liste li {
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.liste li::before {
    content: "•";
    color: #7D1a23;
    font-weight: bold;
}

.dessert {
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #7D1a23;
    border-top: 1px solid #eee;
    padding-top: 8px;
}

/* --- Badges --- */
.badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge.vege { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.badge.halal { background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb; }

/* --- Info --- */
.info-footer {
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    display: inline-block;
}

/* --- Mobile --- */
@media (max-width: 900px) {
    .repas-grid {
        grid-template-columns: 1fr;
    }
}