@font-face {
    font-family: 'Cooper';
    src: url('CooperBlack.woff2') format('woff2'),
        url('CooperBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* montserrat-200 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: url('./fonts/montserrat-v31-latin-200.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('./fonts/montserrat-v31-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/montserrat-v31-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('./fonts/montserrat-v31-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* SECTION CARTE */
/* =========================
   CARTE — MOBILE FIRST
========================= */

.carte {
    position: relative;
    background-color: #f6cfcf;
    padding: 30px 20px;
    overflow: hidden;
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 450px;

}

/* Motif pattes */
.carte::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("images/stamp-pattes-cat.png");
    background-repeat: repeat;
    background-size: 200px;
    opacity: 0.1;
    pointer-events: none;
}

/* Conteneur */
.carte-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.carte-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    top: 20px;
    width: 100%;
    background: #F6F2E2;
    border-radius: 30px;
    padding: 10px 20px;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 990;
}

/* logo */
.logo a {
    font-family: 'Cooper', serif;
    font-size: 22px;
    color: #7a8450;
    text-decoration: none;
}

.logo span {
    color: #F9CACC;
}

/* ===== BURGER ===== */

.burger-toggle {
    display: none;
}

.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 24px;
    height: 3px;
    background: #7a8450;
    border-radius: 3px;
}

/* menu mobile (caché par défaut) */
.carte-nav nav {
    display: none;
}

/* menu ouvert */
#burger-toggle:checked~nav {
    display: flex;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: #F6F2E2;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    border-radius: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.carte-nav nav a {
    text-decoration: none;
    color: #000;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}

@media (min-width: 1024px) {

    .carte {
        padding: 30px 20px;
        align-items: center;
        display: flex;
        flex-direction: column;
        height: 450px;
        z-index: 50;
    }

    .carte-nav-container {
        width: 75%;
        max-width: 1200px;
        padding: 6px 40px;
        border-radius: 40px;
    }

    /* cacher burger */
    .burger {
        display: none;
    }

    /* afficher menu */
    .carte-nav nav {
        display: flex;
        position: static;
        transform: none;
        flex-direction: row;
        gap: 0;
        padding: 0;
        box-shadow: none;
        background: none;
    }

    .carte-nav nav a {
        margin: 0 12px;
    }

    .carte-nav nav a:hover {
        text-decoration: underline;
        color: #7a8450;
    }
}

/* Titre */
.carte-title {
    font-family: "Cooper", serif;
    color: #7a8450;
    font-size: 60px;
    position: relative;
    display: inline-block;
    margin-bottom: 80px;
    text-align: center;
    padding: 80px 0 0px 0;

}

.btn-carte {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.btn-carte-part {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-carte a {
    display: inline-block;
    background: #efead8;
    color: #b25c5c;
    font-family: "Montserrat", sans-serif;
    padding: 12px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    justify-content: space-between;
    position: relative;
    
}

.btn-carte a:hover {
    background-color: #e2d6c4;
}

@media (min-width: 1024px) {

    .carte-title {
        font-size: 70px;
        margin-top: 110px;
        margin-bottom: 110px;
        padding: 0%;
    }

    .btn-carte {
        flex-direction: row;
    }


    .btn-carte a {
        padding: 16px 45px;
        font-size: 19px;
    }

    .btn-carte a:hover {
        transform: translateY(-2px);
    }
}

.menu {
    background: #f6f2e2;
    padding: 60px 20px;
    position: relative;
}

.patte {
    position: absolute;
    pointer-events: none;
}

/* rose 1 */
.patte-droite1 {
    left: 40px;
    top: 200px;
    width: 60px;
}

/* verte 1*/
.patte-gauche2 {
    left: 40px;
    top: 250px;
    width: 170px;
}

/* rose 2 */
.patte-droite2 {
    left: 40px;
    top: 375px;
    width: 60px;
}

/* verte 2 */
.patte-gauche3 {
    left: 40px;
    top: 425px;
    width: 170px;
}

/* rose 3 */
.patte-droite3 {
    left: 40px;
    top: 550px;
    width: 60px;
}


/* 2eme partie pattes*/

.patte-gauche4 {
    right: 30px;
    top: 1055px;
    width: 170px;
    rotate: -50deg;
}


.patte-droite4 {
    right: 50px;
    top: 1196px;
    width: 60px;
    rotate: 50deg;
}

.patte-gauche5 {
    right: 30px;
    top: 1220px;
    width: 170px;
    rotate: -50deg;
}


.patte-droite5 {
    right: 50px;
    top: 1350px;
    width: 60px;
    rotate: 50deg;
}


.patte-gauche6 {
    right: 30px;
    top: 1370px;
    width: 170px;
    rotate: -50deg;
}

.patte-droite6 {
    right: 50px;
    top: 1500px;
    width: 60px;
    rotate: 50deg;
}

/* 3eme partie pattes */

/* rose 1 */
.patte-droite7{
    left: 40px;
    top: 2000px;
    width: 60px;
}

/* verte 1*/
.patte-gauche7 {
    left: 40px;
    top: 2050px;
    width: 170px;
}

/* rose 2 */
.patte-droite8{
    left: 40px;
    top: 2168px;
    width: 60px;
}

/* verte 2 */
.patte-gauche8{
    left: 40px;
    top: 2220px;
    width: 170px;
}

/* rose 3 */
.patte-droite9{
    left: 40px;
    top: 2340px;
    width: 60px;
}


/* 4eme partie pattes*/

.patte-gauche9 {
    right: 30px;
    top: 2850px;
    width: 170px;
    rotate: -50deg;
}


.patte-droite10 {
    right: 50px;
    top: 2990px;
    width: 60px;
    rotate: 50deg;
}

.patte-gauche10 {
    right: 30px;
    top: 3015px;
    width: 170px;
    rotate: -50deg;
}


.patte-droite11 {
    right: 50px;
    top: 3150px;
    width: 60px;
    rotate: 50deg;
}


.patte-gauche11 {
    right: 30px;
    top: 3175px;
    width: 170px;
    rotate: -50deg;
}

.patte-droite12 {
    right: 50px;
    top: 3300px;
    width: 60px;
    rotate: 50deg;
}

/* 5eme partie pattes */

/* rose 1 */
.patte-droite13{
    left: 40px;
    top: 4100px;
    width: 60px;
}

/* verte 1*/
.patte-gauche12 {
    left: 40px;
    top: 4150px;
    width: 170px;
}

/* rose 2 */
.patte-droite14{
    left: 40px;
    top: 4280px;
    width: 60px;
}

/* verte 2 */
.patte-gauche13{
    left: 40px;
    top: 4330px;
    width: 170px;
}

/* rose 3 */
.patte-droite15{
    left: 40px;
    top: 4450px;
    width: 60px;
}

/* 6eme partie pattes*/

.patte-gauche14 {
    right: 30px;
    top: 5000px;
    width: 170px;
    rotate: -50deg;
}


.patte-droite16 {
    right: 50px;
    top: 5140px;
    width: 60px;
    rotate: 50deg;
}

.patte-gauche15 {
    right: 30px;
    top: 5160px;
    width: 170px;
    rotate: -50deg;
}


.patte-droite17 {
    right: 50px;
    top: 5315px;
    width: 60px;
    rotate: 50deg;
}


.patte-gauche16 {
    right: 30px;
    top: 5350px;
    width: 170px;
    rotate: -50deg;
}
.patte-droite18 {
    right: 50px;
    top: 5500px;
    width: 60px;
    rotate: 50deg;
}

/* 7eme partie pattes */

/* rose 1 */
.patte-droite19{
    left: 40px;
    top: 6000px;
    width: 60px;
}

/* verte 1*/
.patte-gauche17 {
    left: 40px;
    top: 6050px;
    width: 170px;
}

/* rose 2 */
.patte-droite20{
    left: 40px;
    top: 6175px;
    width: 60px;
}

/* verte 2 */
.patte-gauche18{
    left: 40px;
    top: 6230px;
    width: 170px;
}

/* rose 3 */
.patte-droite21{
    left: 40px;
    top: 6350px;
    width: 60px;
}


@media (max-width: 1200px) {
    .patte {
        display: none;
    }
}


.menu h2 {
    text-align: center;
    font-family: "Cooper", serif;
    color: #7a8450;
    font-size: 50px;
    margin-bottom: 50px;
    text-decoration: underline;
    text-underline-offset: 6px;

}

/* Titres de catégories */
.menu-category {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: #b25c5c;
    font-size: 28px;
    margin: 50px 0 35px;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    gap: 20px;
}

.menu-item img {
    width: 160px;
    border-radius: 18px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.menu-text h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    color: #b25c5c;
    margin-bottom: 8px;
    font-size: 24px;
}

.menu-text p {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 14px;
}



@media (min-width: 1024px) {

    .menu-category {
        font-size: 36px;

    }

    .menu-list {
        max-width: 800px;
        margin: 0 auto;
    }

    .menu-item {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 50px;
    }

    /* zigzag */
    .menu-item:nth-of-type(even) {
        flex-direction: row-reverse;
        text-align: left;
    }

    .menu-item img {
        width: 190px;
        height: 250px;
         object-fit: cover;
        border-radius: 20px; 
    }

    .menu-text h3 {
        font-size: 30px;
    }

    .menu-text p {
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    .menu-item:nth-child(odd) img {
        transform: translateY(-10px);
    }

    .menu-item:nth-child(even) img {
        transform: translateY(10px);
    }
}

#brunch {
    text-align: center;
    font-family: "Cooper", serif;
    color: #7a8450;
    font-size: 50px;
    margin: 50px
}

/* MOBILE FIRST */
.menu-list-formules {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* centre horizontalement */
    padding: 0;
}

.menu-formules {
    width: 100%;
    max-width: 400px;
    /* optionnel : évite que ça prenne toute la largeur */
    text-align: center;
    /* centre les textes */
    list-style: none;
}

.menu-text {
    text-align: center;
}


/* Titres catégories */
h4 {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #6f7b4b;
    text-align: center;
    font-family: "Montserrat", sans-serif;
}



.menu-brunch {
    width: 100%;
    max-width: 400px;
    /* optionnel : évite que ça prenne toute la largeur */
    text-align: center;
    /* centre les textes */
    list-style: none;
}

/* ===== LISTES SALÉ / SUCRÉ / BOISSONS ===== */

.menu-text-list {
    list-style: circle inside;
    padding: 0;
    margin: 8px 0 20px 0;
    text-align: center;
    /* mobile-first centré */
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}

/* ===== PHOTOS BRUNCH SALE ===== */

.brunch-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px auto;
    max-width: 900px;

}

.brunch-photos img {
    width: 100%;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    height: 250px;

}

.menu-text-list li {
    padding: 10px;
}

/* Desktop : 3 images côte à côte */
@media (min-width:1024px) {
    .brunch-photos {
        grid-template-columns: repeat(3, 1fr);
    }
}


.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #F9CACC;
    color: #7a8450;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 999;
}

.back-to-top i {
    color: #7a8450;
}

.back-to-top i:hover {
    color: #F9CACC;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: #7a8450;
    color: #fff;
}