*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    overflow-x: hidden;
}

#menu, #formules, #histoire, #avis, #commandes-speciales, #contact {
    scroll-margin-top: 4em;
}

body {
    overflow-x: hidden;
}

header > nav {
    font-family: "Inter", sans-serif;
    background-color: #1A1512;
    color: white;
    height: 4em;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.4s ease;
    opacity: 0;
    animation: nav-fade-in 0.6s ease 2.2s forwards;
}

@keyframes nav-fade-in {
    to { opacity: 1; }
}

header > nav.scrolled {
    background-color: #1A1512;
}

header > nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
    height: 100%;
    padding:0 40px;
}

header > nav ul li {
    padding: 0 5px;
}

header > nav ul li a {
    color: inherit;
    text-decoration: none;
}

#hero{
    height: 100vh;
    height: 100svh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    animation: clip-hero-anim 1.25s cubic-bezier(0.29, 0.8, 0.8, 0.98);
    will-change: clip-path;
}

.hero-bg {
    position: absolute;
    top: -15%;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/hero_header.jpeg");
    background-position: center 50%;
    background-size: cover;
    z-index: 0;
    animation: scaling-hero-anim 4s 0.25s cubic-bezier(0, 0.71, 0.4, 0.97) forwards;
    will-change: transform;
}

#hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(26, 21, 18, 0) 0%, rgba(26, 21, 18, 0.92) 100%);
    z-index: 1;
    pointer-events: none;
}

#traiteur{
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 24px;
    position: relative;
    z-index: 2;
}

@keyframes scaling-hero-anim {
    from { transform: scale(1.25); }
    to   { transform: scale(1.1); }
}

@keyframes clip-hero-anim {
    from { clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%); }
    to   { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); }
}

@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#traiteur h1,
#traiteur h3,
#traiteur .btn-commander {
    opacity: 0;
}

#traiteur.is-visible h1 {
    animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
}

#traiteur.is-visible h3 {
    animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.55s forwards;
}

#traiteur.is-visible .btn-commander {
    animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.8s forwards;
}

#traiteur h1 {
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 64px;
}


#traiteur h3 {
    font-family: "Public Sans", sans-serif;
    font-size: 36px;
}

.wave-text {
    white-space: nowrap;
}

.wave-text span {
    display: inline-block;
    animation: wave 1.6s ease-in-out infinite;
}
.wave-text span:nth-child(1) { animation-delay: 0s; }
.wave-text span:nth-child(2) { animation-delay: 0.12s; }
.wave-text span:nth-child(3) { animation-delay: 0.24s; }
.wave-text span:nth-child(4) { animation-delay: 0.36s; }
.wave-text span:nth-child(5) { animation-delay: 0.48s; }
.wave-text span:nth-child(6) { animation-delay: 0.60s; }
.wave-text span:nth-child(7) { animation-delay: 0.72s; }
.wave-text span:nth-child(8) { animation-delay: 0.84s; }

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

#histoire{
    color: white;
    background-color: #1A1512;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 40px;
    gap: 40px;
}

#histoire1 {
    text-align: center;
}

#histoire1 h4 {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #6B211A;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

#histoire1 h2 {
    font-family: "Fraunces", serif;
    font-size: 48px;
    font-weight: 700;
    color: white;
}

#histoire article{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

#histoire article div {
    flex: 1;
}

#image-histoire {
    position: relative;
}

#image-histoire img:first-child {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: 95% 70%;
    position: relative;
    z-index: 1;
}

#fleur {
    position: absolute;
    bottom: -40px;
    right: -100px;
    width: 220px;
}

#herbes {
    position: absolute;
    top: 0;
    right: -100px;
    width: 160px;
}

/* ── MENU ────────────────────────────────────────────────────────────────── */

#menu {
    background-color: #1A1512;
    color: white;
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 40px;
    gap: 40px;
}

.menu-header {
    text-align: center;
}

.menu-label {
    color: #6B211A;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

#menu h2 {
    font-family: "Fraunces", serif;
    font-size: 48px;
    font-weight: 700;
}

/* ONGLETS */

.menu-tabs {
    width: 100%;
    max-width: 1200px;
}

.menu-tabs ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.menu-tabs ul li {
    padding-bottom: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s;
}

.menu-tabs ul li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #6B211A;
    z-index: 1;
}

@media (max-width: 768px) {
    .menu-tabs ul li.active::after {
        height: 3px;
        bottom: -1px;
    }
}

/* GRILLE */

.menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

.menu-card {
    flex: 0 0 calc((100% - 80px) / 3);
    border: 2px solid rgba(250, 248, 245, 0.5);
    box-shadow: 0 0 0 6px #1A1512, 0 0 0 8px #ffffff;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0;
    cursor: pointer;
}

.menu-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.menu-card::after {
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity 500ms;
    width: 100%;
    pointer-events: none;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 200, 100, 0.45),
        transparent 40%
    );
    z-index: 1;
}

.menu-grid:hover > .menu-card::after {
    opacity: 1;
}

.menu-card-content {
    background-color: #231D19;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.menu-card-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    min-height: 140px;
    background-color: #2E2520;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border-radius: 0;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    position: relative;
    z-index: 2;
    background-color: #FAF8F5;
    border-radius: 0;
}

.menu-card-body h3 {
    font-family: "Fraunces", serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #1A1512;
}

.menu-card-body p {
    font-family: "Inter", sans-serif;
    color: #6B5F58;
    font-size: 0.875rem;
    line-height: 1.5;
    flex: 1;
}

.menu-card-body .prix {
    font-weight: 600;
    font-size: 1rem;
    color: #6B211A;
}

/* BOUTON VOIR PLUS */

.btn-voir-plus {
    position: relative;
    background: none;
    border: 2px solid #ffffff;
    outline: 1px solid rgba(255, 255, 255, 0.35);
    outline-offset: -8px;
    color: white;
    padding: 14px 48px;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.btn-voir-plus:hover {
    background-color: white;
    color: #1A1512;
}

/* ── FORMULES ─────────────────────────────────────────────────────────────── */

#formules {
    background-color: #F5F5F5;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    overflow: hidden;
    position: relative;
}

/* La poele est positionnée en absolu par rapport à #formules (x: -23px Figma) */

.formules-titre {
    text-align: center;
}

.formules-label {
    color: #6B211A;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

#formules h2 {
    font-family: "Fraunces", serif;
    font-size: 48px;
    font-weight: 700;
    color: #1A1512;
}

.formules-content {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.formules-deco--left {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.formules-deco--right {
    position: absolute;
    left: calc(100% - 60px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.formules-deco--left img {
    width: 500px;
    height: auto;
    opacity: 0.7;
}

.formules-deco--right img {
    width: 200px;
    height: auto;
    opacity: 0.7;
}

.formules-cards {
    display: flex;
    gap: 108px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.formule-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 36px 32px;
    border-radius: 0;
    width: 262px;
    min-height: 342px;
    font-family: "Inter", sans-serif;
    color: white;
}

.formule-card--dark {
    background-color: #1A1512;
    border: 2px solid #8a8480;
    box-shadow: 0 0 0 6px #F5F5F5, 0 0 0 8px #1A1512;
}

.formule-card--bordeaux {
    background-color: #6B211A;
    border: 2px solid #8a8480;
    box-shadow: 0 0 0 6px #F5F5F5, 0 0 0 8px #1A1512;
}

.formule-card h4 {
    font-family: "Fraunces", serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.formule-prix {
    font-family: "Fraunces", serif;
    font-size: 2rem;
    font-weight: 700;
}

.formule-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.formule-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.formule-items li::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid currentColor;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
    flex-shrink: 0;
}

.formule-ou {
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    align-self: center;
    letter-spacing: 0.1em;
}

/* ── BOUTON COMMANDER ──────────────────────────────────────────────────────── */

/* BOUTON COMMANDER */

.btn-commander {
    position: relative;
    display: inline-block;
    border: 2px solid #ffffff;
    outline: 1px solid rgba(255, 255, 255, 0.35);
    outline-offset: -8px;
    color: white;
    padding: 14px 48px;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: background-color 0.2s, color 0.2s;
}

.btn-commander:hover {
    background-color: white;
    color: #1A1512;
}

/* ── AVIS ──────────────────────────────────────────────────────────────────── */

#avis {
    background-color: #F5F5F5;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.avis-titre {
    text-align: center;
}

.avis-label {
    color: #6B211A;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

#avis h2 {
    font-family: "Fraunces", serif;
    font-size: 48px;
    font-weight: 700;
    color: #1A1512;
}

.avis-container {
    background-color: #1A1512;
    padding: 40px 58px;
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
    border: 2px solid #8a8480;
    box-shadow: 0 0 0 6px #F5F5F5, 0 0 0 8px #1A1512;
}

.avis-recents {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 28px;
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.avis-card {
    background-color: #6B211A;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 6px #1A1512, 0 0 0 8px rgba(255, 255, 255, 0.3);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: white;
    font-family: "Inter", sans-serif;
}

.avis-stars {
    display: flex;
    gap: 4px;
    font-size: 1rem;
    color: white;
    opacity: 0.5;
}

.avis-content {
    flex: 1;
}

.avis-content h3 {
    font-family: "Fraunces", serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.avis-content p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
}

.avis-auteur {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.avis-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.avis-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.avis-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.avis-nom {
    font-size: 0.875rem;
    font-weight: 600;
}

.avis-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ── CONTACT / OÙ NOUS TROUVER ─────────────────────────────────────────────── */

#contact {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 64px;
    background-color: #1A1512;
    min-height: 460px;
}

.contact-texte {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    color: #ffffff;
    font-family: "Inter", sans-serif;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C8956B;
}

.contact-texte h2 {
    font-family: "Fraunces", serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
}

.contact-infos {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #C8956B;
}

.contact-info-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-info-item strong {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
}

.contact-info-item span,
.contact-info-item a {
    font-size: 0.95rem;
    color: #ffffff;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: #C8956B;
}

.contact-map {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    filter: invert(90%) hue-rotate(180deg) saturate(0.8) brightness(0.85);
}

/* ── MODALE COMMANDER ──────────────────────────────────────────────────────── */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 7, 5, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background-color: #1A1512;
    border: 2px solid #6B211A;
    box-shadow: 0 0 0 6px #1A1512, 0 0 0 8px rgba(255, 255, 255, 0.3);
    border-radius: 0;
    padding: 48px 56px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.is-open .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-label {
    color: #6B211A;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.modal-titre {
    font-family: "Fraunces", serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 36px;
}

.modal-choices {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: opacity 0.2s, transform 0.2s;
}

.modal-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.modal-btn--ubereats {
    background-color: #ffffff;
    color: #1A1512;
}

.modal-btn--deliveroo {
    background-color: #00CCBC;
    color: #ffffff;
}

.modal-btn--tel {
    background-color: #6B211A;
    color: #ffffff;
    gap: 12px;
}

.modal-btn--mail {
    background-color: #2a2019;
    color: #e8d5b0;
    border: 1px solid #6B211A;
    gap: 12px;
}

/* ── FOOTER ────────────────────────────────────────────────────────────────── */

footer {
    background-color: #F5F5F5;
    font-family: "Inter", sans-serif;
    color: #1A1512;
}

.footer-top-line {
    border: none;
    border-top: 1px solid rgba(26, 21, 18, 0.2);
    margin: 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 160px;
}

.footer-brand img {
    height: 56px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-social {
    color: #1A1512;
    transition: opacity 0.2s;
}

.footer-social:hover {
    opacity: 0.5;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.footer-tagline {
    font-size: 0.8rem;
    color: #1A1512;
    font-weight: 500;
}

.footer-copy {
    font-size: 0.75rem;
    color: #6B5F58;
}

/* ── COMMANDES SPÉCIALES ─────────────────────────────────────────────────── */

#commandes-speciales {
    background-color: #6B211A;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

#commandes-speciales::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 10% 20%, rgba(255, 255, 255, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 80%, rgba(0, 0, 0, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.commandes-titre {
    text-align: center;
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.commandes-label {
    color: rgba(255, 255, 255, 0.65);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

#commandes-speciales h2 {
    font-family: "Fraunces", serif;
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.commandes-desc {
    color: rgba(255, 255, 255, 0.8);
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

.commandes-grid {
    display: flex;
    gap: 32px;
    max-width: 1100px;
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.commande-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 6px #6B211A, 0 0 0 8px rgba(255, 255, 255, 0.3);
    padding: 40px 28px;
    flex: 1;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    color: white;
    font-family: "Inter", sans-serif;
    transition: background-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.commande-card:hover {
    background-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-8px);
}

.commande-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    animation: float-icon 3s ease-in-out infinite;
}

.commandes-grid > .commande-card:nth-child(2) .commande-card-icon {
    animation-delay: 0.6s;
}

.commandes-grid > .commande-card:nth-child(3) .commande-card-icon {
    animation-delay: 1.2s;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}

.commande-card h3 {
    font-family: "Fraunces", serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.commande-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.btn-commandes-speciales {
    position: relative;
    display: inline-block;
    background: transparent;
    cursor: pointer;
    border: 2px solid #ffffff;
    outline: 1px solid rgba(255, 255, 255, 0.35);
    outline-offset: -8px;
    color: white;
    padding: 14px 48px;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
    z-index: 1;
}

.btn-commandes-speciales:hover {
    background-color: white;
    color: #6B211A;
    transform: translateY(-2px);
}

/* ── PLATS DU JOUR ──────────────────────────────────────────────────────── */

.plats-jour-titre {
    text-align: center;
    margin-top: 64px;
}

.plats-jour-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1100px;
    padding: 12px;
}

.plat-jour-card {
    background-color: #1A1512;
    color: white;
    border-radius: 0;
    border: 2px solid #8a8480;
    box-shadow: 0 0 0 6px #F5F5F5, 0 0 0 8px #1A1512;
    padding: 28px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.plat-jour-card:hover {
    transform: translateY(-5px);
}

.plat-jour-card--today {
    background-color: #6B211A;
    border: 2px solid #1A1512;
    box-shadow: 0 0 0 6px #F5F5F5, 0 0 0 8px #C4956A;
}

.plat-jour-day {
    font-family: "Inter", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.plat-jour-card--today .plat-jour-day {
    color: rgba(255, 255, 255, 0.75);
}

.plat-jour-nom {
    font-family: "Fraunces", serif;
    font-size: 0.9rem;
    line-height: 1.35;
}

.plat-jour-badge {
    font-family: "Inter", sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.18);
    padding: 4px 12px;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */

/* Hamburger button (caché sur desktop) */
.nav-hamburger-item {
    display: none;
}

#nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

#nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

#nav-hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#nav-hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

#nav-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── TABLET (≤ 1024px) ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .menu-card {
        flex: 0 0 calc((100% - 40px) / 2);
    }

    .formules-deco--left img {
        width: 300px;
    }

    .formules-content {
        display: flex;
        width: 100%;
    }

    .formules-cards {
        gap: 24px;
        width: 100%;
    }

    .formule-card {
        width: 50%;
    }

    /* PLATS DU JOUR */
    .plats-jour-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .commandes-grid {
        gap: 24px;
    }

    footer {
        padding: 60px 60px 0;
    }

    .footer-nav {
        gap: 24px;
    }
}

/* ── MOBILE (≤ 768px) ────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    #hero {
        will-change: auto;
        height: var(--real-hero-height, 100svh);
    }

    .hero-bg {
        will-change: transform;
        animation: none;
    }

    /* NAV */
    .nav-hamburger-item {
        display: flex;
        align-items: center;
    }

    .nav-hours {
        display: none;
    }

    header > nav > ul > ul {
        display: none;
        position: absolute;
        top: 4em;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: #1A1512;
        padding: 20px 24px;
        gap: 20px;
        height: auto;
        justify-content: flex-start;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    header > nav > ul > ul.nav-open {
        display: flex;
    }

    header > nav ul {
        padding: 0 20px;
    }

    /* HERO */
    #traiteur {
        padding: 20px;
        align-items: center;
        text-align: center;
    }

    #traiteur h1 {
        font-size: 40px;
    }

    #traiteur h3 {
        font-size: 22px;
    }

    /* MENU */
    #menu {
        padding: 60px 20px;
    }

    #menu h2 {
        font-size: 36px;
    }

    .menu-tabs ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 24px;
        scrollbar-width: none;
    }

    .menu-tabs ul::-webkit-scrollbar {
        display: none;
    }

    .menu-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .menu-card {
        min-width: 0;
        border: 2px solid rgba(250, 248, 245, 0.5);
        box-shadow: 0 0 0 6px #1A1512, 0 0 0 8px #ffffff;
        border-radius: 0;
        overflow: visible;
    }

    .menu-card-content {
        border-radius: 0;
    }

    .menu-card-image {
        min-height: unset;
    }

    .menu-card-image::after {
        display: none;
    }

    .menu-card-body {
        padding: 10px 12px 14px;
        position: relative;
        background-color: #FAF8F5;
        gap: 5px;
    }

    .menu-card-body h3 {
        color: #1A1512;
        font-size: 0.95rem;
    }

    .menu-card-body p {
        color: #6B5F58;
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .menu-card-body .prix {
        display: inline-block;
        background: none;
        color: #6B211A;
        font-size: 0.88rem;
        font-weight: 700;
        padding: 0;
        border-radius: 0;
        letter-spacing: 0.04em;
        align-self: flex-start;
    }

    /* FORMULES */
    #formules {
        padding: 60px 20px;
    }

    #formules h2 {
        font-size: 36px;
    }

    .formules-deco--left,
    .formules-deco--right {
        display: none;
    }

    .formules-content {
        display: flex;
        width: 100%;
    }

    .formules-cards {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        width: 100%;
    }

    .formule-card {
        width: 65%;
    }

    /* PLATS DU JOUR */
    .plats-jour-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plat-jour-card {
        position: relative;
        padding-bottom: 40px;
    }

    .plat-jour-badge {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }

    /* HISTOIRE */
    #histoire {
        padding: 60px 20px;
    }

    #histoire1 h2 {
        font-size: 36px;
    }

    #histoire article {
        flex-direction: column;
    }

    #fleur,
    #herbes {
        display: none;
    }

    /* AVIS */
    #avis {
        padding: 60px 20px;
    }

    #avis h2 {
        font-size: 36px;
    }

    .avis-container {
        padding: 30px 20px;
    }

    .avis-grid {
        grid-template-columns: 1fr;
    }

    /* COMMANDES SPÉCIALES */
    #commandes-speciales {
        padding: 60px 20px;
    }

    #commandes-speciales h2 {
        font-size: 36px;
    }

    .commandes-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .commande-card {
        width: 100%;
        max-width: 320px;
    }

    /* CONTACT */
    #contact {
        flex-direction: column;
        padding: 60px 20px;
        gap: 40px;
    }

    .contact-texte h2 {
        font-size: 2rem;
    }

    .contact-map {
        width: 100%;
        min-height: 300px;
    }

    /* FOOTER */
    .footer-inner {
        flex-direction: column;
        align-items: center;
        padding: 32px 20px;
        gap: 20px;
        text-align: center;
    }

    .footer-copy--right {
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 12px 20px;
    }
}

/* ── SCROLL REVEAL ──────────────────────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.48s; }
.reveal-stagger.is-visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.6s; }
.reveal-stagger.is-visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.72s; }

/* ── HERO SCROLL INDICATOR ──────────────────────────────────────────────── */

.hero-scroll-indicator {
    position: absolute;
    top: 8.5em;
    left: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.45);
    font-family: "Inter", sans-serif;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0;
    animation: scroll-indicator-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 2.8s forwards;
    pointer-events: none;
}

@keyframes scroll-indicator-in {
    from { opacity: 0; transform: translateX(-50%) translateY(12px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.scroll-label {
    display: block;
}

.scroll-chevron {
    will-change: transform;
    animation: chevron-bounce 1.6s ease-in-out 3.2s infinite;
}

@keyframes chevron-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(7px); }
}

/* ── NAV LINK HOVER UNDERLINE ───────────────────────────────────────────── */

#nav-links > li {
    position: relative;
    cursor: pointer;
}

#nav-links > li::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #2E4A42;
    transition: width 0.25s ease;
}

#nav-links > li:hover::after {
    width: 100%;
}

/* ── MENU CARD IMAGE ZOOM ───────────────────────────────────────────────── */

.menu-card-image img {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.08);
}

/* ── BOISSONS : image entière visible ───────────────────────────────────── */

.menu-card[data-categorie="boissons"] .menu-card-image img,
.menu-card[data-categorie="boissons_chaudes"] .menu-card-image img {
    object-fit: contain;
    object-position: center;
    padding: 10px;
    background-color: #2E2520;
}

.menu-card[data-categorie="boissons"] .menu-card-image img[data-fit="cover"],
.menu-card[data-categorie="boissons_chaudes"] .menu-card-image img[data-fit="cover"] {
    object-fit: cover;
    padding: 0;
}

/* ── AVIS : ÉTOILES DORÉES ──────────────────────────────────────────────── */

.avis-stars {
    color: #E5A000;
    opacity: 1;
}

/* ── BOUTONS : LIFT AU HOVER ────────────────────────────────────────────── */

.btn-commander {
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-commander:hover {
    transform: translateY(-2px);
}

.btn-voir-plus {
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-voir-plus:hover {
    transform: translateY(-2px);
}

/* ── AVIS : RÉSUMÉ SCORE ────────────────────────────────────────────────── */

.avis-summary {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: space-between;
}

.avis-summary-score {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
}

.avis-score-note {
    font-family: "Fraunces", serif;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.avis-score-stars-row {
    color: #E5A000;
    font-size: 1rem;
    letter-spacing: 3px;
}

.avis-score-label {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.04em;
}

.avis-summary-sep {
    width: 1px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.avis-summary-quote {
    font-family: "Fraunces", serif;
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    flex: 1;
}

.avis-google-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    border: 2px solid #ffffff;
    outline: 1px solid rgba(255, 255, 255, 0.35);
    outline-offset: -8px;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.avis-google-btn:hover {
    background-color: white;
    color: #1A1512;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .avis-summary { flex-direction: column; gap: 20px; align-items: flex-start; }
    .avis-summary-sep { display: none; }
    .avis-summary-quote { font-size: 0.95rem; }
}

/* ── AVIS : CARTES ──────────────────────────────────────────────────────── */

.avis-card {
    position: relative;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s;
}

.avis-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 18px;
    font-family: "Fraunces", serif;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.avis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 6px #1A1512, 0 0 0 8px rgba(255, 255, 255, 0.35),
                0 20px 48px rgba(0, 0, 0, 0.4);
}

.avis-avatar {
    background: linear-gradient(135deg, #8B3A30, #6B211A);
}

/* ── FORMULES : BADGE ───────────────────────────────────────────────────── */

.formule-card {
    position: relative;
    overflow: visible;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.formule-card:hover {
    transform: translateY(-6px);
}

.formule-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #6B211A;
    font-family: "Inter", sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    padding: 5px 16px;
    white-space: nowrap;
}

/* ── FORMULES : "OU" AVEC LIGNES ────────────────────────────────────────── */

.formule-ou {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    align-self: stretch;
}

.formule-ou::before,
.formule-ou::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

/* ── FORMULES : NOTE DE DISPONIBILITÉ ──────────────────────────────────── */

.formules-note {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    color: rgba(26, 21, 18, 0.4);
    letter-spacing: 0.07em;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ── TRÈS PETITS ÉCRANS (≤ 380px) ───────────────────────────────────────── */
@media (max-width: 380px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}