/* Page carte : styles complémentaires à style.css */
.menu-banner {
    background: var(--green);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.menu-banner img {
     display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.menu-intro {
    text-align: center;
    background: var(--cream);
    padding: 60px 0 55px
}

.menu-intro h1 {
    color: var(--green);
    font-size: clamp(2.4rem, 5vw, 4.2rem)
}

.menu-intro .lead {
    max-width: 720px;
    margin: 0 auto 20px
}

.back-link {
    color: var(--red);
    font-weight: 700
}

.dish-section {
    padding: 65px 0 80px;
    background: var(--paper)
}

.dish-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px
}

.dish-section-heading h2 {
    color: var(--green);
    margin: 8px 0 0
}

.dish-section-heading p {
    color: var(--muted);
    font-size: .9rem
}

.dish-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 35px
}

.filter-btn {
    background: white;
    color: var(--green);
    border: 1px solid #e0d7c7;
    border-radius: 30px;
    padding: 10px 18px;
    font: 600 14px 'DM Sans', sans-serif;
    cursor: pointer
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--green);
    color: white;
    border-color: var(--green)
}

.dish-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px
}

.dish-card {
    background: #fff;
    border: 1px solid #ece2d1;
    border-radius: 20px;
    padding: 29px 25px 25px;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 8px 28px rgba(32, 57, 45, .055);
    transition: transform .2s, box-shadow .2s
}

.dish-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(32, 57, 45, .12)
}

.dish-card[hidden] {
    display: none
}

.dish-image {
    height: 176px;
    width: 176px;
    border-radius: 50%;
    overflow: hidden;
    border: 7px solid var(--cream);
    box-shadow: 0 0 0 1px #e5d5b8;
    background: #f1e4cf;
    margin-bottom: 19px;
    display: grid;
    place-items: center
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.dish-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 57px
}

.dish-placeholder small {
    font: 500 11px 'DM Sans', sans-serif;
    color: #777
}

.dish-tag {
    color: var(--red);
    background: #f8ece4;
    border-radius: 40px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700
}

.dish-card h3 {
    font-size: 25px;
    color: var(--green);
    margin: 13px 0 10px
}

.dish-card p {
    font-size: 14px;
    color: var(--muted);
    min-height: 68px;
    margin-bottom: 15px
}

.dish-info {
    width: 100%;
    border-top: 1px solid #eee5d9;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #6a6d65;
    font-size: 12px
}

.dish-action {
    margin-top: 22px;
    border-radius: 9px;
    background: var(--green);
    color: white;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 22px;
    display: inline-flex;
    gap: 12px;
    align-items: center
}

.dish-action:hover {
    background: var(--red)
}

.menu-note {
    text-align: center;
    margin: 34px auto 0;
    color: var(--muted);
    font-size: 13px;
    max-width: 800px
}

@media(max-width:920px) {
    .dish-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:620px) {
    .dish-grid {
        grid-template-columns: 1fr
    }

    .dish-section-heading {
        display: block
    }

    .dish-section-heading p {
        margin-top: 12px
    }

    .menu-intro {
        padding: 40px 0
    }

    .dish-section {
        padding: 42px 0
    }

    .dish-image {
        height: 165px;
        width: 165px
    }

    .menu-banner img {
        max-height: none
    }
}
.menu-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-retour {
    color: #A74737;
    text-decoration: none;
    font-weight: 600;
    padding: 13px 20px;
}

.btn-formules {
    display: inline-block;
    background-color: #2E4C3C;
    color: white;
    padding: 13px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-formules:hover {
    background-color: #B7653A;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .menu-navigation {
        flex-direction: column;
        gap: 12px;
    }
}