/*
=====================================
DALI FOOD - AWWWARDS STYLE CSS
=====================================
Direction artistique méditerranéenne moderne
Expérience premium, fluide, gourmande
*/

/* ===== RESET MODERNE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: clamp(14px, 1.5vw, 18px);
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--color-charcoal);
    background: var(--color-cream);
    overflow-x: hidden;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ===== DESIGN TOKENS ===== */
:root {
    /* Couleurs méditerranéennes */
    --color-charcoal: #111111;
    --color-cream: #F7F3ED;
    --color-terracotta: #D86B45;
    --color-olive: #5A6A4F;
    --color-safran: #FFB703;
    --color-menthe: #A3E4D7;
    --color-white: #FFFFFF;
    
    /* Nuances */
    --color-charcoal-light: #2A2A2A;
    --color-cream-dark: #EDE9E0;
    --color-terracotta-light: #E89B7D;
    --color-olive-light: #7A8A6F;
    --color-safran-light: #FFD23F;
    
    /* Espacement fluide */
    --space-xs: clamp(0.25rem, 0.5vw, 0.5rem);
    --space-sm: clamp(0.5rem, 1vw, 1rem);
    --space-md: clamp(1rem, 2vw, 1.5rem);
    --space-lg: clamp(1.5rem, 3vw, 2.5rem);
    --space-xl: clamp(2rem, 4vw, 4rem);
    --space-2xl: clamp(3rem, 6vw, 6rem);
    --space-3xl: clamp(4rem, 8vw, 8rem);
    
    /* Typographie fluide */
    --text-xs: clamp(0.75rem, 0.8vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.9vw, 1rem);
    --text-base: clamp(1rem, 1.1vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1.3vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.5vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 2vw, 2rem);
    --text-3xl: clamp(2rem, 3vw, 3rem);
    --text-4xl: clamp(2.5rem, 4vw, 4rem);
    --text-5xl: clamp(3rem, 5vw, 5rem);
    
    /* Rayons */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Ombres douces */
    --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.05);
    --shadow-md: 0 4px 6px rgba(17, 17, 17, 0.07), 0 2px 4px rgba(17, 17, 17, 0.06);
    --shadow-lg: 0 10px 15px rgba(17, 17, 17, 0.1), 0 4px 6px rgba(17, 17, 17, 0.05);
    --shadow-xl: 0 20px 25px rgba(17, 17, 17, 0.1), 0 8px 10px rgba(17, 17, 17, 0.04);
    --shadow-2xl: 0 25px 50px rgba(17, 17, 17, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Layout */
    --container-max: 1200px;
    --container-padding: var(--space-md);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --color-cream: #1A1A1A;
        --color-charcoal: #F7F3ED;
        --color-cream-dark: #2A2A2A;
    }
}

/* ===== LAYOUT SYSTÈME ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ===== TYPOGRAPHIE ===== */
.font-display {
    font-family: 'Clash Display', 'Recoleta', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.font-body {
    font-family: 'Inter', 'Manrope', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Clash Display', 'Recoleta', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--color-charcoal);
    margin-bottom: var(--space-sm);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal-light);
}

.text-center { text-align: center; }
.text-balance { text-wrap: balance; }

/* ===== HEADER STICKY PREMIUM ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(247, 243, 237, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    z-index: var(--z-sticky);
    transition: transform var(--transition-base), opacity var(--transition-base);
    will-change: transform;
}

.header.hidden {
    transform: translateY(-100%);
}

.navbar {
    padding: var(--space-sm) 0;
}

.nav-brand .logo-img {
    height: 48px;
    width: auto;
    transition: transform var(--transition-fast);
}

.nav-brand:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-charcoal);
    font-weight: 500;
    font-size: var(--text-sm);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-safran);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-terracotta);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    transition: var(--transition-base);
}

/* ===== HERO CINÉMATOGRAPHIQUE ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(17, 17, 17, 0.9) 0%,
        rgba(90, 106, 79, 0.8) 50%,
        rgba(216, 107, 69, 0.7) 100%
    );
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 183, 3, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(163, 228, 215, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.7) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(17, 17, 17, 0.8) 0%,
        rgba(17, 17, 17, 0.4) 50%,
        rgba(17, 17, 17, 0.6) 100%
    );
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    color: var(--color-white);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFB703 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hero-glow 3s ease-in-out infinite alternate;
}

@keyframes hero-glow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.1) saturate(1.2); }
}

.hero-subtitle {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    opacity: 0.9;
    font-weight: 400;
}

.hero-tagline {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quick-info {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-base);
}

.info-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.info-item i {
    color: var(--color-safran);
    font-size: var(--text-lg);
}

.info-item a {
    color: inherit;
    text-decoration: none;
}

/* Bannière livraison gratuite */
.free-delivery-banner {
    background: linear-gradient(135deg, #FFB703 0%, #FFD23F 100%);
    color: var(--color-charcoal);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-full);
    margin: var(--space-lg) 0;
    font-weight: 700;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: pulse-glow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.free-delivery-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.free-delivery-banner:hover::before {
    left: 100%;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: var(--shadow-lg);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 20px 40px rgba(255, 183, 3, 0.4);
    }
}

/* ===== BOUTONS PREMIUM ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Accessibilité */
    will-change: transform;
}

/* Effet ripple */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn > * {
    position: relative;
    z-index: 1;
}

/* Variantes de boutons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-safran) 0%, #FFD23F 100%);
    color: var(--color-charcoal);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-xl);
    filter: brightness(1.1);
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-charcoal);
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-lg);
    border-radius: var(--radius-xl);
}

.btn-block {
    width: 100%;
}

/* CTA avec effet magnétique */
.cta-primary,
.cta-secondary {
    position: relative;
    transform-style: preserve-3d;
}

.cta-primary:hover,
.cta-secondary:hover {
    animation: magnetic-hover 0.3s ease-out forwards;
}

@keyframes magnetic-hover {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.05); }
    100% { transform: translateY(-2px) scale(1.02); }
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.btn-text small {
    font-size: var(--text-xs);
    opacity: 0.8;
    font-weight: 400;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-white);
    opacity: 0.7;
    animation: bounce-gentle 2s ease-in-out infinite;
}

@keyframes bounce-gentle {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator i {
    font-size: var(--text-xl);
}

.scroll-indicator p {
    font-size: var(--text-sm);
    margin: 0;
}

/* ===== SECTIONS ===== */
section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--color-terracotta);
}

.section-subtitle {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--color-charcoal-light);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

/* ===== CARDS MENU PREMIUM ===== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.menu-item,
.menu-item-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    position: relative;
    will-change: transform;
    border: 1px solid rgba(17, 17, 17, 0.05);
}

.menu-item:hover,
.menu-item-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.menu-item::before,
.menu-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-safran));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.menu-item:hover::before,
.menu-item-card:hover::before {
    opacity: 1;
}

.item-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.menu-item:hover .item-image img,
.menu-item-card:hover .item-image img {
    transform: scale(1.1);
}

.new-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: linear-gradient(135deg, var(--color-safran), #FFD23F);
    color: var(--color-charcoal);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    animation: pulse-badge 2s ease-in-out infinite;
    box-shadow: var(--shadow-sm);
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.item-content {
    padding: var(--space-lg);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
    gap: var(--space-sm);
}

.item-name,
.menu-item-name {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-charcoal);
    line-height: 1.3;
    flex: 1;
}

.item-price,
.menu-item-price {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-terracotta);
    white-space: nowrap;
}

.item-description {
    color: var(--color-charcoal-light);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.item-actions {
    display: flex;
    gap: var(--space-sm);
}

.order-btn {
    flex: 2;
}

.add-to-cart-btn {
    flex: 1;
}

/* Overlay pour quick order */
.item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 3;
}

.menu-item:hover .item-overlay,
.menu-item-card:hover .item-overlay {
    opacity: 1;
}

.quick-order-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-safran), #FFD23F);
    color: var(--color-charcoal);
    border: none;
    font-size: var(--text-2xl);
    cursor: pointer;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-lg);
}

.quick-order-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-2xl);
}

/* ===== FORMULAIRES PREMIUM ===== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--color-charcoal);
    font-size: var(--text-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid rgba(17, 17, 17, 0.1);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-family: inherit;
    background: var(--color-white);
    transition: all var(--transition-base);
    min-height: 44px; /* Accessibilité */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 3px solid rgba(255, 183, 3, 0.3);
    border-color: var(--color-safran);
    box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.1);
}

.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #EF4444;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #10B981;
}

/* États d'erreur/succès */
.form-group.error input {
    border-color: #EF4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.form-group.success input {
    border-color: #10B981;
    background-color: rgba(16, 185, 129, 0.05);
}

.form-error,
.form-success {
    font-size: var(--text-xs);
    margin-top: var(--space-xs);
    font-weight: 500;
}

.form-error {
    color: #EF4444;
}

.form-success {
    color: #10B981;
}

/* ===== MODALES ===== */
.modal,
.auth-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    z-index: var(--z-modal);
    padding: var(--space-lg);
    align-items: center;
    justify-content: center;
}

.modal.show,
.auth-modal.show {
    display: flex;
}

.modal-content,
.auth-modal-content {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-2xl);
    animation: modal-enter 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-enter {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: var(--text-2xl);
    cursor: pointer;
    color: var(--color-charcoal-light);
    transition: color var(--transition-fast);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
}

.close:hover {
    color: var(--color-terracotta);
    background: rgba(17, 17, 17, 0.05);
}

/* ===== ANIMATIONS & MICRO-INTERACTIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Scroll reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.stagger-1 { transition-delay: 60ms; }
.scroll-reveal.stagger-2 { transition-delay: 120ms; }
.scroll-reveal.stagger-3 { transition-delay: 180ms; }
.scroll-reveal.stagger-4 { transition-delay: 240ms; }

/* Parallax */
.parallax {
    will-change: transform;
}

/* Pulse animation */
.pulse-animation {
    animation: pulse-scale 2s ease-in-out infinite;
}

@keyframes pulse-scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus visible pour navigation au clavier */
:focus-visible {
    outline: 3px solid var(--color-safran);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Taille de cible minimum 44px */
button,
[role="button"],
input[type="submit"],
input[type="button"],
a {
    min-height: 44px;
    min-width: 44px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-lg);
        border-top: 1px solid rgba(17, 17, 17, 0.1);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .quick-info {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .item-actions {
        flex-direction: column;
    }
    
    .modal-content,
    .auth-modal-content {
        margin: var(--space-sm);
        padding: var(--space-lg);
    }
}

/* ===== PERFORMANCE ===== */
/* GPU acceleration pour les animations */
.hero-video,
.menu-item,
.menu-item-card,
.btn,
.parallax {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimisation des images */
img {
    loading: lazy;
    decoding: async;
}

/* ===== UTILITAIRES ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden;
}

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .nav-toggle,
    .hero-video,
    .scroll-indicator,
    .btn,
    .modal,
    .auth-modal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* ===== CONTRASTE ÉLEVÉ (masquer le debug) ===== */
.contrast-toggle {
    display: none !important;
}

/* ===== THEME DARK MODE ===== */
@media (prefers-color-scheme: dark) {
    .menu-item,
    .menu-item-card,
    .modal-content,
    .auth-modal-content {
        background: var(--color-charcoal-light);
        color: var(--color-cream);
        border-color: rgba(247, 243, 237, 0.1);
    }
    
    .item-name,
    .menu-item-name {
        color: var(--color-cream);
    }
    
    .header {
        background: rgba(26, 26, 26, 0.85);
        border-bottom-color: rgba(247, 243, 237, 0.1);
    }
    
    .nav-link {
        color: var(--color-cream);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        background: var(--color-charcoal-light);
        color: var(--color-cream);
        border-color: rgba(247, 243, 237, 0.2);
    }
}
