/* ══════════════════════════════════════════
   VARIABLES & RESET
══════════════════════════════════════════ */
:root {
    --vintage-cream:  #FFF5E6;
    --vintage-red:    #D32F2F;
    --vintage-green:  #2E7D32;
    --vintage-yellow: #F9A825;
    --vintage-brown:  #5D4037;
    --vintage-orange: #FF6F00;
    --vintage-dark:   #3E2723;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--vintage-cream);
    color: var(--vintage-brown);
    overflow-x: clip;
    width: 100%;
}

/* ══════════════════════════════════════════
   STATUT OUVERT/FERMÉ
══════════════════════════════════════════ */
.status-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    text-align: center;
    padding: 8px 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.3s, color 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.status-bar.open {
    background: var(--vintage-green);
    color: #fff;
}
.status-bar.closed {
    background: var(--vintage-red);
    color: #fff;
}
.status-bar .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.status-bar.open .status-dot {
    background: #fff;
    animation: pulse 2s infinite;
}
.status-bar.closed .status-dot {
    background: #fff;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ══════════════════════════════════════════
   URGENCY BANNER
══════════════════════════════════════════ */
.urgency-banner {
    background: linear-gradient(90deg, var(--vintage-red), var(--vintage-orange));
    color: white;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 900;
    font-size: 1.15rem;
    position: relative;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(211,47,47,0.35);
    animation: bannerSlideIn 0.7s cubic-bezier(0.22,1,0.36,1) both;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .urgency-banner {
        font-size: 0.8rem;
        padding: 0.6rem 0.5rem;
        white-space: nowrap;
    }
    .urgency-banner span {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
        margin: 0 0.2rem;
    }
}

@keyframes bannerSlideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.urgency-banner span {
    background: white;
    color: var(--vintage-red);
    padding: 0.25rem 0.9rem;
    border-radius: 20px;
    margin: 0 0.4rem;
    font-family: 'Pacifico', cursive;
    font-size: 1rem;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
header {
    background: linear-gradient(135deg, var(--vintage-red) 0%, var(--vintage-orange) 100%);
    padding: 1.8rem 0;
    border-bottom: 6px solid var(--vintage-yellow);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 900;
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.4;
    pointer-events: none;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

h1 {
    font-family: 'Pacifico', cursive;
    font-size: 3.2rem;
    color: white;
    text-shadow: 4px 4px 0 rgba(0,0,0,0.2), 8px 8px 0 rgba(0,0,0,0.1);
}

nav { display: flex; gap: 1rem; flex-wrap: wrap; }

nav a {
    background: var(--vintage-yellow);
    color: var(--vintage-brown);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid var(--vintage-brown);
    box-shadow: 3px 3px 0 var(--vintage-brown);
}

nav a:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--vintage-brown);
    background: var(--vintage-cream);
}

nav a.nav-dark {
    background: var(--vintage-dark);
    color: var(--vintage-yellow);
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
    background: linear-gradient(135deg, var(--vintage-green) 0%, #1B5E20 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '🍕';
    position: absolute;
    font-size: 14rem;
    opacity: 0.08;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 30s linear infinite;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(2rem, 7vw, 4rem);
    color: var(--vintage-cream);
    text-shadow: 4px 4px 0 rgba(0,0,0,0.2), 8px 8px 0 rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
    animation: glow 2.5s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 4px 4px 0 rgba(0,0,0,0.2), 8px 8px 0 rgba(0,0,0,0.1); }
  to { text-shadow: 4px 4px 0 rgba(0,0,0,0.2), 8px 8px 0 rgba(0,0,0,0.1), 0 0 20px rgba(255,200,100,0.5); }
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-badge {
    background: var(--vintage-cream);
    padding: 1.4rem 2rem;
    border-radius: 20px;
    border: 4px solid var(--vintage-brown);
    box-shadow: 4px 4px 0 var(--vintage-brown);
}

.trust-badge .number {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    color: var(--vintage-red);
    display: block;
}

.trust-badge .label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--vintage-brown);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ══════════════════════════════════════════
   STRIPE DÉCORATIVE (drapeau italien)
══════════════════════════════════════════ */
.stripe {
    height: 28px;
    background: repeating-linear-gradient(
        90deg,
        var(--vintage-red)   0px,  var(--vintage-red)   28px,
        var(--vintage-cream) 28px, var(--vintage-cream) 56px,
        var(--vintage-green) 56px, var(--vintage-green) 84px
    );
}

/* ══════════════════════════════════════════
   CARTES MODE DE COMMANDE
══════════════════════════════════════════ */
.order-selection {
    max-width: 1400px;
    margin: -55px auto 5rem;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
}

.order-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.order-card {
    background: var(--vintage-cream);
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 5px dashed var(--vintage-brown);
    box-shadow: 6px 6px 0 var(--vintage-brown);
    position: relative;
    overflow: hidden;
}

.order-card .promo-tag {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--vintage-red);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-weight: 900;
    font-size: 0.85rem;
    transform: rotate(8deg);
    border: 2px solid var(--vintage-brown);
    box-shadow: 2px 2px 0 var(--vintage-brown);
}

.order-card:hover,
.order-card.active {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 var(--vintage-brown);
    background: var(--vintage-yellow);
    border-style: solid;
}

.order-icon { font-size: 5rem; margin-bottom: 1rem; }

.order-card h3 {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: var(--vintage-red);
    margin-bottom: 0.5rem;
}

.order-card p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--vintage-brown);
}

/* ══════════════════════════════════════════
   ÉCRAN DE CHARGEMENT
══════════════════════════════════════════ */
#app-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--vintage-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

.loader-content {
    text-align: center;
}

.loader-pizza {
    font-size: 4rem;
    animation: loader-bounce 1s ease-in-out infinite;
}

.loader-title {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    color: var(--vintage-red);
    margin: 1rem 0 1.5rem;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    border: 4px solid rgba(93, 64, 55, 0.2);
    border-top-color: var(--vintage-red);
    border-radius: 50%;
    animation: loader-spin 0.8s linear infinite;
}

.loader-text {
    font-size: 0.9rem;
    color: var(--vintage-brown);
    opacity: 0.7;
}

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

@keyframes loader-spin {
    to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════
   BARRE D'ANNONCE
══════════════════════════════════════════ */
.announcement-bar {
    width: fit-content;
    max-width: 90%;
    margin: 2.5rem auto;
    padding: 1.2rem 2.5rem;
    background: rgba(255, 235, 130, 0.4);
    border: 1px solid rgba(139, 90, 43, 0.3);
    border-radius: 50px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--vintage-brown);
    line-height: 1.5;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ══════════════════════════════════════════
   SECTION MENU
══════════════════════════════════════════ */
.menu-section {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 2rem;
    overflow: hidden;
}

.section-title {
    font-family: 'Pacifico', cursive;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 0.8rem;
    color: var(--vintage-red);
    text-shadow: 3px 3px 0 var(--vintage-yellow);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--vintage-brown);
    letter-spacing: 1px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1.6rem;
    border: 3px solid var(--vintage-brown);
    background: var(--vintage-cream);
    color: var(--vintage-brown);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 3px 3px 0 var(--vintage-brown);
    white-space: nowrap;
}

.tab-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--vintage-brown);
}

.tab-btn.active {
    background: var(--vintage-orange);
    color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: start;
    padding: 4px 6px 10px 6px;
}

.menu-item {
    background: var(--vintage-cream);
    border-radius: 22px;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    transition: all 0.3s ease;
    border: 4px solid var(--vintage-brown);
    box-shadow: 5px 5px 0 var(--vintage-brown);
    position: relative;
}

.menu-item.bestseller::after {
    content: '🔥 BEST SELLER';
    position: absolute;
    top: 12px; left: 12px;
    background: var(--vintage-red);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 900;
    font-size: 0.75rem;
    border: 2px solid var(--vintage-brown);
    z-index: 10;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 2px 2px 0 var(--vintage-brown);
}

.menu-item:hover {
    transform: translate(-4px, -4px);
    box-shadow: 9px 9px 0 var(--vintage-brown);
}

.menu-item-image {
    width: 100%;
    height: 190px;
    background: linear-gradient(135deg, var(--vintage-orange), var(--vintage-red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6.5rem;
    border-bottom: 4px solid var(--vintage-brown);
    position: relative;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.06);
}

.stock-indicator {
    position: absolute;
    bottom: 10px; right: 10px;
    background: var(--vintage-green);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    border: 2px solid var(--vintage-brown);
}

.stock-indicator.low {
    background: var(--vintage-orange);
    animation: fadeAlert 2s ease-in-out infinite;
}

.stock-indicator.rupture {
    background: #999;
}

@keyframes fadeAlert {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

.menu-item-content { padding: 1.8rem; }

.menu-item h4 {
    font-family: 'Pacifico', cursive;
    font-size: 1.6rem;
    color: var(--vintage-red);
    margin-bottom: 0.4rem;
}

.menu-item .description {
    color: var(--vintage-brown);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.price-simple { margin-bottom: 1rem; }

.menu-item .price {
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: var(--vintage-green);
}

.price-double {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.price-tag {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--vintage-cream);
    border: 2px solid var(--vintage-brown);
    border-radius: 12px;
    padding: 0.3rem 0.8rem;
    box-shadow: 2px 2px 0 var(--vintage-brown);
    cursor: pointer;
    transition: all 0.2s;
}

.price-tag:hover {
    background: var(--vintage-yellow);
    transform: translateY(-2px);
}

.price-tag .size-name {
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--vintage-brown);
    opacity: 0.7;
}

.price-tag .size-val {
    font-family: 'Pacifico', cursive;
    font-size: 1.4rem;
    color: var(--vintage-green);
    line-height: 1.2;
}

.price-tag.large-tag .size-val { color: var(--vintage-red); }

.price-tag .size-cta {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--vintage-brown);
    opacity: 0.6;
}

.add-to-cart {
    width: 100%;
    padding: 1rem;
    background: var(--vintage-red);
    color: white;
    border: 3px solid var(--vintage-brown);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 3px 3px 0 var(--vintage-brown);
}

.add-to-cart:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--vintage-brown);
    background: var(--vintage-orange);
}

.add-to-cart:disabled {
    background: #bbb;
    border-color: #999;
    box-shadow: none;
    cursor: not-allowed;
}

.menu-item.out-of-stock {
    opacity: 0.55;
    filter: grayscale(60%);
}

.menu-item.out-of-stock:hover {
    transform: none;
    box-shadow: 5px 5px 0 var(--vintage-brown);
}

/* ══════════════════════════════════════════
   GRILLE MENUS (formules)
══════════════════════════════════════════ */
.menus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.menu-card {
    background: var(--vintage-cream);
    border-radius: 22px;
    overflow: hidden;
    border: 4px solid var(--vintage-brown);
    box-shadow: 5px 5px 0 var(--vintage-brown);
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 9px 9px 0 var(--vintage-brown);
}

.menu-card-header {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.menu-card-header.midi     { background: linear-gradient(135deg, var(--vintage-orange), var(--vintage-yellow)); }
.menu-card-header.etudiant { background: linear-gradient(135deg, var(--vintage-green), #1B5E20); }
.menu-card-header.enfant   { background: linear-gradient(135deg, #E91E63, #C2185B); }
.menu-card-header.duo      { background: linear-gradient(135deg, var(--vintage-red), var(--vintage-orange)); }
.menu-card-header.famille  { background: linear-gradient(135deg, var(--vintage-dark), #5D4037); }

.menu-card-price {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    color: white;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.menu-card-emoji { font-size: 3rem; margin: 0.5rem 0; }

.menu-card-name {
    font-family: 'Pacifico', cursive;
    font-size: 1.6rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.menu-card-sub {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 0.25rem;
    letter-spacing: 0.5px;
}

.menu-card-body { padding: 1.3rem 1.5rem 1.6rem; }

.menu-card-divider {
    text-align: center;
    font-weight: 900;
    font-size: 0.78rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.9rem;
}

.menu-card-items { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }

.menu-card-item {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vintage-brown);
}

.menu-card-item .check {
    background: var(--vintage-green);
    color: white;
    border-radius: 50%;
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
    flex-shrink: 0;
}

.menu-card-badge {
    display: inline-block;
    background: var(--vintage-yellow);
    color: var(--vintage-brown);
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    border: 2px solid var(--vintage-brown);
    margin-bottom: 1rem;
}

.menu-card-btn {
    width: 100%;
    padding: 0.9rem;
    background: var(--vintage-red);
    color: white;
    border: 3px solid var(--vintage-brown);
    border-radius: 50px;
    font-family: 'Pacifico', cursive;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--vintage-brown);
    transition: all 0.2s;
}

.menu-card-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--vintage-brown);
    background: var(--vintage-orange);
}

/* Carte "bientôt disponible" */
.coming-soon-card {
    grid-column: 1 / -1;
    background: transparent;
    border: 2px dashed var(--vintage-brown) !important;
    box-shadow: none !important;
    text-align: center;
    padding: 3rem;
}

.coming-soon-card:hover { transform: none !important; }

.coming-soon-title {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--vintage-red);
    margin-bottom: 0.5rem;
}

.coming-soon-text {
    color: var(--vintage-brown);
    font-weight: 600;
    font-size: 1rem;
}

/* ══════════════════════════════════════════
   AVIS CLIENTS
══════════════════════════════════════════ */
.reviews-section {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--vintage-cream);
    padding: 2rem;
    border-radius: 20px;
    border: 4px solid var(--vintage-brown);
    box-shadow: 4px 4px 0 var(--vintage-brown);
}

.review-stars { color: var(--vintage-yellow); font-size: 1.4rem; margin-bottom: 0.8rem; }

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--vintage-brown);
}

.review-author { font-weight: 900; color: var(--vintage-red); }

.reviews-embed-wrapper {
    max-width: 900px;
    margin: 3rem auto;
}

.reviews-link-google {
    text-align: center;
    margin-top: 2rem;
}

/* ══════════════════════════════════════════
   PROGRAMME FIDÉLITÉ
══════════════════════════════════════════ */
.loyalty-section {
    background: linear-gradient(135deg, var(--vintage-green) 0%, #1B5E20 100%);
    padding: 6rem 2rem;
    margin: 6rem 0;
    position: relative;
    overflow: hidden;
}

.loyalty-section::before {
    content: '💰';
    position: absolute;
    font-size: 14rem;
    opacity: 0.08;
    animation: float 6s ease-in-out infinite;
}

.loyalty-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.loyalty-title {
    font-family: 'Pacifico', cursive;
    font-size: 4rem;
    text-align: center;
    color: var(--vintage-cream);
    margin-bottom: 0.8rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.25);
}

.loyalty-subtitle {
    text-align: center;
    font-size: 1.4rem;
    color: var(--vintage-yellow);
    margin-bottom: 4rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.loyalty-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.loyalty-card {
    background: var(--vintage-cream);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    border: 4px solid var(--vintage-brown);
    box-shadow: 7px 7px 0 var(--vintage-brown);
    transition: all 0.3s ease;
}

.loyalty-card:hover {
    transform: translate(-4px, -4px) rotate(-1deg);
    box-shadow: 11px 11px 0 var(--vintage-brown);
}

.loyalty-icon { font-size: 4.5rem; margin-bottom: 1rem; }

.loyalty-card h3 {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--vintage-red);
    margin-bottom: 0.8rem;
}

.loyalty-card .points {
    font-family: 'Pacifico', cursive;
    font-size: 3.5rem;
    color: var(--vintage-orange);
    margin: 1rem 0;
}

.loyalty-card .benefit {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    background: var(--vintage-yellow);
    color: var(--vintage-brown);
    padding: 0.8rem;
    border-radius: 15px;
    margin-top: 1rem;
    border: 3px dashed var(--vintage-brown);
}

.loyalty-referral {
    background: var(--vintage-cream);
    border-radius: 25px;
    border: 4px solid var(--vintage-brown);
    box-shadow: 7px 7px 0 var(--vintage-brown);
    padding: 2.5rem;
}

.loyalty-referral-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.referral-icon { font-size: 4rem; flex-shrink: 0; }
.referral-text { flex: 1; min-width: 200px; }

.referral-text h3 {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--vintage-red);
    margin-bottom: 0.5rem;
}

.referral-text p {
    color: var(--vintage-brown);
    line-height: 1.7;
    font-size: 1rem;
}

.referral-text strong { color: var(--vintage-red); }

.referral-reward {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    background: var(--vintage-yellow);
    border: 3px dashed var(--vintage-brown);
    border-radius: 18px;
    padding: 1.2rem 2rem;
    flex-shrink: 0;
}

.referral-badge {
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--vintage-brown);
    opacity: 0.7;
}

.referral-amount {
    font-family: 'Pacifico', cursive;
    font-size: 2.2rem;
    color: var(--vintage-green);
    line-height: 1.1;
}

@media (max-width: 768px) {
    .loyalty-referral-inner { flex-direction: column; text-align: center; }
    .referral-reward { flex-direction: row; gap: 1rem; width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════
   SECTION RÉSERVATION / CTA
══════════════════════════════════════════ */
.reservation-section {
    max-width: 780px;
    margin: 5rem auto;
    padding: 3.5rem 2.5rem;
    background: linear-gradient(135deg, var(--vintage-dark), #5D4037);
    border-radius: 25px;
    border: 4px solid var(--vintage-brown);
    box-shadow: 8px 8px 0 var(--vintage-brown);
    text-align: center;
}

.reservation-section h2 {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    color: var(--vintage-cream);
    margin-bottom: 1rem;
}

.reservation-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--vintage-yellow);
    color: var(--vintage-dark);
    font-family: 'Pacifico', cursive;
    font-size: 1.15rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.15);
    color: #1a1a1a;
    font-family: 'Pacifico', cursive;
    font-size: 1.15rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(0,0,0,0.35);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover { background: rgba(255,255,255,0.25); }

/* ══════════════════════════════════════════
   PANIER FLOTTANT
══════════════════════════════════════════ */
.cart-icon {
    position: fixed;
    bottom: 2rem; right: 2rem;
    background: var(--vintage-red);
    color: white;
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(211,47,47,0.5);
    z-index: 1000;
    border: 4px solid var(--vintage-brown);
    transition: all 0.3s ease;
}

.cart-icon:hover { transform: scale(1.15) rotate(12deg); }

.cart-badge {
    position: absolute;
    top: -5px; right: -5px;
    background: var(--vintage-yellow);
    color: var(--vintage-brown);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    border: 3px solid var(--vintage-brown);
}

/* ══════════════════════════════════════════
   MODALE PERSONNALISATION — Style moderne
══════════════════════════════════════════ */
.custom-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.custom-overlay.open { display: flex; }

.custom-modal {
    background: #fff;
    border-radius: 20px;
    width: 92%; max-width: 480px;
    max-height: 88vh;
    overflow-y: auto;
    animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

@keyframes modalSlide {
    from { transform: translateY(30px) scale(0.95); opacity: 0; }
    to   { transform: translateY(0) scale(1);       opacity: 1; }
}

.custom-modal-header {
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.custom-modal-header img {
    width: 64px; height: 64px;
    object-fit: cover;
    border-radius: 14px;
}

.custom-modal-header h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.custom-modal-header p {
    color: #888;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 2px 0 0;
}

.custom-modal-body { padding: 1.2rem 1.5rem; }
.custom-section { margin-bottom: 1.4rem; }
.custom-section:last-child { margin-bottom: 0; }

.custom-section h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.custom-section h4.retirer { color: #e53935; }
.custom-section h4.ajouter { color: #43a047; }
.custom-section h4.neutral { color: #555; }

.size-grid {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.size-btn {
    background: #f8f8f8;
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    padding: 0.7rem 1.1rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 100px;
}

.size-btn:hover { border-color: #ccc; background: #fff; }

.size-btn.active {
    background: #fff;
    border-color: #D32F2F;
    box-shadow: 0 0 0 1px #D32F2F;
}

.size-btn .size-icon  { font-size: 1.5rem; }
.size-btn .size-label { font-family: 'Raleway', sans-serif; font-size: 0.95rem; font-weight: 700; color: #333; }
.size-btn .size-price { font-size: 0.8rem; font-weight: 600; color: #43a047; }
.size-btn.active .size-label { color: #D32F2F; }

.ingredient-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.ing-chip {
    background: #f8f8f8;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 0.55rem 0.9rem;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    user-select: none;
}

.ing-chip:hover { border-color: #ccc; background: #fff; }

.ing-chip.selected-remove {
    background: #ffebee;
    color: #c62828;
    border-color: #ef9a9a;
}

.ing-chip.selected-add {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #a5d6a7;
}

.ing-chip .chip-price {
    background: rgba(0,0,0,0.06);
    border-radius: 8px;
    padding: 0.1rem 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.ing-chip.selected-add .chip-price { background: rgba(46,125,50,0.15); }
.ing-chip.selected-remove .chip-price { background: rgba(198,40,40,0.15); }

.custom-summary {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 0.6rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.custom-total {
    text-align: right;
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: #1a1a1a;
}

.custom-modal-footer {
    display: flex;
    gap: 0.7rem;
    padding: 0 1.5rem 1.5rem;
}

.custom-cancel {
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 14px;
    background: #f0f0f0;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-cancel:hover { background: #e0e0e0; }

.custom-confirm {
    flex: 1;
    padding: 0.85rem;
    background: #D32F2F;
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-confirm:hover { background: #b71c1c; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(211,47,47,0.3); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
    background: var(--vintage-dark);
    color: var(--vintage-cream);
    padding: 4rem 2rem;
    text-align: center;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-section h3 {
    font-family: 'Pacifico', cursive;
    font-size: 1.7rem;
    color: var(--vintage-yellow);
    margin-bottom: 1rem;
}

.footer-section p { line-height: 1.9; opacity: 0.85; }

.footer-section a {
    color: var(--vintage-yellow);
    text-decoration: none;
    font-weight: 700;
}

.footer-copy {
    opacity: 0.6;
    margin-top: 1rem;
}

.footer-copy a {
    color: var(--vintage-yellow);
    text-decoration: none;
}

/* ══════════════════════════════════════════
   ANIMATIONS GLOBALES
══════════════════════════════════════════ */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-18px) rotate(8deg); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ══════════════════════════════════════════
   UTILITAIRES
══════════════════════════════════════════ */
.hidden { display: none !important; }

/* ══════════════════════════════════════════
   SÉLECTEUR CATÉGORIE MOBILE
══════════════════════════════════════════ */
.category-select-wrap {
    display: none;
    position: relative;
    margin-bottom: 2rem;
}

.category-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: var(--vintage-cream);
    border: 3px solid var(--vintage-brown);
    border-radius: 50px;
    padding: 1rem 3rem 1rem 1.5rem;
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--vintage-brown);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0 var(--vintage-brown);
    cursor: pointer;
}

.category-select:focus {
    outline: none;
    background: var(--vintage-yellow);
}

.category-select-arrow {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--vintage-brown);
    pointer-events: none;
    font-weight: 900;
}

/* ══════════════════════════════════════════
   HAMBURGER MENU
══════════════════════════════════════════ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.4);
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

nav.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--vintage-red), var(--vintage-orange));
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.6rem;
    border-top: 3px solid var(--vintage-yellow);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 100;
}

nav.mobile-open a {
    text-align: center;
    font-size: 1rem;
}

/* ══════════════════════════════════════════
   TOAST NOTIFICATION
══════════════════════════════════════════ */
.toast {
    position: fixed;
    bottom: 6rem; right: 2rem;
    background: var(--vintage-green);
    color: white;
    padding: 1rem 1.8rem;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    z-index: 3000;
    border: 3px solid var(--vintage-brown);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
}

@keyframes toastIn {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes toastOut {
    to { transform: translateY(20px); opacity: 0; }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1200px) {
    .menu-grid  { grid-template-columns: repeat(3, 1fr); }
    .menus-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) and (max-width: 900px) {
    .menu-grid  { grid-template-columns: repeat(2, 1fr); }
    .menus-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    header { padding: 1rem 0; }
    .header-content { flex-direction: row; justify-content: space-between; align-items: center; }
    h1 { font-size: 1.8rem; }
    nav { display: none; }
    .hamburger { display: flex; }

    .hero { padding: 2.5rem 1rem; }
    .hero h2 { font-size: 2rem; }
    .trust-badges { gap: 0.8rem; }
    .trust-badge { padding: 0.9rem 1.2rem; }
    .trust-badge .number { font-size: 1.8rem; }

    .order-selection { margin-top: -30px; margin-bottom: 3rem; padding: 0 1rem; }
    .order-cards { grid-template-columns: 1fr; gap: 1rem; }
    .order-card { padding: 1.5rem; }
    .order-icon { font-size: 3.5rem; }
    .order-card h3 { font-size: 1.5rem; }

    .menu-section { margin: 3rem auto; padding: 0 1rem; width: 100%; }
    .section-title { font-size: 2.5rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }

    .category-tabs        { display: none !important; }
    .category-select-wrap { display: block !important; }

    .menu-grid  {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 4px 4px 8px 4px !important;
    }
    .menus-grid { grid-template-columns: 1fr !important; gap: 1.2rem !important; }
    .menu-item {
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: 3px 3px 0 var(--vintage-brown) !important;
    }
    .menu-item h4 { font-size: 1.3rem !important; }
    .menu-item-content { padding: 1.2rem !important; }

    .reviews-section { margin: 3rem auto; padding: 0 1rem; }

    .loyalty-section { padding: 3.5rem 1rem; margin: 3rem 0; }
    .loyalty-title { font-size: 2.5rem; }
    .loyalty-subtitle { font-size: 1.1rem; margin-bottom: 2rem; }
    .loyalty-cards { grid-template-columns: 1fr; gap: 1.2rem; }
    .loyalty-card { padding: 2rem; }

    .reservation-section { margin: 3rem 1rem; padding: 2.5rem 1.5rem; }
    .reservation-section h2 { font-size: 1.8rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

    .footer-info { grid-template-columns: 1fr; gap: 1.5rem; }
    footer { padding: 3rem 1.5rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    .hero h2 { font-size: 1.7rem; }
    .trust-badges { flex-direction: column; align-items: center; gap: 0.6rem; }
    .trust-badge { width: 100%; max-width: 260px; }

    .price-double { flex-direction: column; }

    .custom-modal { width: 100%; max-width: 100%; border-radius: 20px 20px 0 0; }
    .custom-overlay { align-items: flex-end; }

    .cart-icon { bottom: 1.2rem; right: 1.2rem; width: 60px; height: 60px; font-size: 1.8rem; }
}
