/* --- RESET ET DESIGN DE BASE LUXE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37;    /* Or précieux tiré du logo métallisé */
    --first-pm: #fcfcf4;
    --dark-bg: #0b0f0d;          /* Noir profond chic de l'affiche */
    --card-bg: #141a17;          /* Teinte sombre texturée pour les blocs */
    --text-light: #ffffff;
    --text-muted: #9fa8a3;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    padding-top: 85px;
}

/* --- BARRE DE NAVIGATION FIXE DE L'EN-TÊTE --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 8%;
    background: rgba(11, 15, 13, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: 105px;
}

.logo-container { 
    display: flex;
    align-items: center;
    gap: 25px;   
}
.site-logo { 
    height: 65px;
    width: auto; 
    object-fit: contain; 
}
.brand-name { 
    font-family: var(--font-title); 
    font-size: 1.8rem; 
    font-weight: 800; 
}
.gold-accent {
    color: var(--primary-color); 
}
.nav-container .nav-links {
    display: flex; 
    list-style: none; 
    gap: 60px; 
}
.nav-links a { 
    color: var(--first-pm); 
    text-decoration: none; 
    font-size: 0.95rem; 
    font-weight: 600;
}
.burger-menu-btn {
    display: none;
}
.active {
    padding: 8px 18px; 
    text-decoration: none; 
    font-weight: 600; 
    border-radius: 14px; 
    transition: all 0.3s ease;
    background-color: var(--dark-bg); 
    color: #ffffff !important;
    border: 1px solid var(--primary-color);
}

/* --- BARRE DE SCROLL HORIZONTAL (STYLE STORIES - COMPATIBLE O'MBA'P) --- */
.stories-section {
    padding: 25px 8% 10px 8%;
    background-color: rgba(20, 26, 23, 0.95);
    width: 100%;
}
.stories-section h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-weight: 600;
}
.stories-container {
    display: flex;
    gap: 14px;
    overflow-x: auto; 
    padding: 10px 5px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; 
}
.stories-container::-webkit-scrollbar { display: none; }
.stories-container { -ms-overflow-style: none; scrollbar-width: none; }

.story-card {
    flex-shrink: 0; 
    width: 130px;
    height: 200px;
    border-radius: 14px; 
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(20, 26, 23, 0.95);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.story-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}
.story-card img { width: 100%; height: 100%; object-fit: cover; }
.story-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(11, 15, 13, 0.95) 15%, rgba(11, 15, 13, 0.1) 60%);
    z-index: 1;
}
.story-title {
    position: absolute; bottom: 12px; left: 10px; right: 10px;
    color: var(--text-light); font-size: 0.85rem; font-weight: 600; z-index: 2;
    text-align: center; line-height: 1.2;
}

/* --- HERO SECTION --- */
.hero {
    height: calc(100vh - 85px);
    position: relative;
    background: url('true_img/le_cadre.jpeg') no-repeat center center/cover; 
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 20px;
}
.hero-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(to bottom, rgba(11, 15, 13, 0.3), rgba(11, 15, 13, 0.95)); 
    z-index: 1; overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero-content h1 { font-family: var(--font-title); font-size: 3.8rem; margin-bottom: 18px; line-height: 1.2; }
.hero-tagline {
    display: block; font-size: 1.1rem; color: var(--primary-color); margin-bottom: 12px; font-weight: 600; letter-spacing: 2px;
}
.hero-tagline i { margin-right: 5px; }
.text-highlight { color: var(--primary-color); font-style: italic; }
.hero-content p { font-size: 1.15rem; color: var(--text-muted); max-width: 650px; margin: 0 auto 45px auto; line-height: 1.6; }

/* 1. Force les boutons à se mettre l'un en dessous de l'autre proprement sur mobile */
.hero-buttons, .btn-container {
    display: flex;
    flex-direction: column; /* Aligne verticalement sur mobile */
    gap: 15px;              /* Crée un espace parfait de 15px entre les deux boutons */
    align-items: center;    /* Centre les boutons horizontalement */
    margin: 25px 0;         /* Repousse les images du bas pour éviter tout chevauchement */
    width: 100%;
}

/* 2. Assure-toi que les boutons font la même taille et ne se touchent pas */
.hero-buttons a, .btn-container a, 
.hero-buttons button, .btn-container button {
    width: 85%;             /* Donne une largeur propre sur mobile */
    max-width: 300px;       /* Limite la taille pour que ce soit élégant */
    text-align: center;
    margin: 0 ;   /* Annule les vieilles marges qui faisaient bugger le positionnement */
}

/* 3. Donne de l'air à ton bloc "Le Cadre & Nos Spécialités" */
.section-title, h2 {
    margin-top: 30px;
    margin-bottom: 20px;
}

.btn-primary, .btn-secondary { padding: 14px 32px; text-decoration: none; font-weight: 600; border-radius: 4px; font-size: 0.95rem; transition: all 0.3s ease; gap: 10px; }
.btn-primary { background-color: var(--primary-color); color: #0b0f0d; }
.btn-primary:hover { background-color: #ffffff; }
.btn-secondary { border: 1px solid rgba(255, 255, 255, 0.3); color: var(--text-light); }
.btn-secondary:hover { border-color: var(--primary-color); color: var(--primary-color); }

/* --- GRILLE DE RENDU DU PORTFOLIO VIDÉOS (FORMAT VERTICAL 9:16 EN PRISE UGC) --- */
.video-portfolio-grid { 
    padding: 30px 8% 80px 8%; 
    background-color: var(--dark-bg); 
}
.video-grid-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
}
.video-item-card { 
    background-color: var(--card-bg); 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); 
    border: 1px solid rgba(255,255,255,0.02); 
}
.video-wrapper { 
    position: relative; 
    width: 100%; 
    height: 420px; 
    /* Hauteur allongée type smartphone vertical */ 
    background-color: #000; 
}
.video-wrapper video { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.video-card-info { 
    padding: 20px; 
}
.video-tag { 
    display: inline-block; 
    font-size: 0.75rem; 
    background-color: rgba(99, 102, 241, 0.15); 
    color: var(--primary-color); 
    padding: 4px 10px; 
    border-radius: 4px; 
    margin-bottom: 10px; 
    font-weight: 600; 
    text-transform: uppercase; }
.video-card-info h4 { 
    font-size: 1.1rem; 
    font-weight: 600; 
    color: #ffffff; }

/* --- TITRES STRUCTURÉS --- */
.section-title-container { text-align: center; max-width: 700px; margin: 0 auto 50px auto; }
.section-title-container h2 { font-family: var(--font-title); font-size: 2.5rem; margin-bottom: 15px; }
.section-title-container p { color: var(--text-muted); font-size: 1.05rem; }

/* --- SECTION 1 : CONCEPT --- */
.concept-section { padding: 90px 8%; background-color: var(--dark-bg); }
.concept-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.concept-card {
    background-color: var(--card-bg); border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px 30px; border-radius: 12px; flex: 1; min-width: 280px; text-align: center; transition: transform 0.3s ease;
}
.concept-card:hover { transform: translateY(-8px); border-color: rgba(212, 175, 55, 0.2); }
.concept-icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 25px; }
.concept-card h3 { font-family: var(--font-title); font-size: 1.5rem; margin-bottom: 15px; }
.concept-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* --- SECTION 2 : BEST-SELLERS --- */
.bestsellers-section { padding: 90px 8%; background-color: rgba(20, 26, 23, 0.4); }
.bestsellers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; }
.bestseller-item { background-color: var(--card-bg); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.2); transition: transform 0.3s ease; }
.bestseller-item:hover { transform: scale(1.03); }
.bestseller-item img { width: 100%; height: 220px; object-fit: cover; }
.item-info { padding: 20px; }
.item-info h4 { font-size: 1.2rem; margin-bottom: 8px; color: #ffffff; }
.item-info p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.4; }

/* --- SECTION 3 : AVIS --- */
.reviews-section { padding: 90px 8%; background-color: var(--dark-bg); }
.reviews-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.review-card { background-color: var(--card-bg); padding: 35px; border-radius: 12px; max-width: 500px; flex: 1; min-width: 290px; border-left: 3px solid var(--primary-color); }
.stars { color: var(--primary-color); margin-bottom: 15px; font-size: 0.9rem; }
.review-card p { font-style: italic; color: #e0e0e0; line-height: 1.6; margin-bottom: 15px; }
.client-name { display: block; color: var(--primary-color); font-weight: 500; font-size: 0.95rem; }

/* --- PIED DE PAGE (FOOTER) --- */
.site-footer { background-color: rgba(20, 26, 23, 0.95); 
    padding: 70px 8% 20px 8%; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-container { display: flex; 
    justify-content: space-between; 
    gap: 40px; 
    flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.footer-column { flex: 1; min-width: 250px; }
.footer-column h3 { font-family: var(--font-title); font-size: 1.6rem; margin-bottom: 15px; }
.footer-column h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; color: var(--text-light); display: flex; align-items: center; gap: 10px; }
.footer-column p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.footer-column ul { list-style: none; }
.footer-column ul li { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255, 255, 255, 0.05); padding-bottom: 5px; }
.footer-column ul li span { font-weight: 500; color: var(--text-light); }
.footer-phone { margin-top: 15px; font-weight: 600; color: var(--text-light) !important; }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-muted); font-size: 0.85rem; }

/* --- NOUVEAU BOUTON FLOTTANT WHATSAPP TEXTUEL --- */
.whatsapp-text-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* Vert WhatsApp officiel */
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px; /* Donne une forme de pilule élégante */
    display: flex;
    align-items: center;
    gap: 10px; /* Écart parfait entre l'icône et le texte */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-text-float i {
    font-size: 1.3rem; /* Taille de l'icône */
}

.whatsapp-text-float:hover {
    transform: translateY(-4px); /* Petit effet de survol dynamique */
    background-color: #128c7e; /* Vert plus foncé au survol */
}
/* --- DESIGN COMPLÉMENTAIRE : LA CARTE CHICKEN PLUS --- */
.hero-menus {
    height: calc(55vh - 105px);
    position: relative;
    background: url('imgchicken/spaghetti_3.jpg') no-repeat center center/cover; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 0 20px;
}
.hero-overlay-menus { 
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(to bottom, rgba(11, 15, 13, 0.4), rgba(11, 15, 13, 0.95)); 
    z-index: 1; 
}
.menu-sections-container {
    padding: 80px 8%;
    background-color: var(--dark-bg);
}
.menu-category {
    margin-bottom: 70px;
}
.category-title {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}
/*.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}*/

.menu-grid {
    display: flex !important;
    flex-wrap: nowrap !important; /* Maintient les plats sur une seule ligne géante */
    gap: 20px;
    overflow-x: auto !important;  /* ACTIVE le vrai scroll tactile et à la souris ! */
    scroll-behavior: smooth;      /* Rend les mouvements ultra-fluides */
    padding: 15px 5px;
    width: 100% !important;       /* Reprend la largeur normale de l'écran */
    
    /* Masque la barre de défilement pour un effet "Stories App" épuré */
    scrollbar-width: none !important; /* Pour Firefox */
}

/* Masque la barre de défilement pour Chrome, Safari et Opera */
.menu-grid::-webkit-scrollbar {
    display: none !important;
}

.menu-item-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: transform 0.3s ease;
}
.menu-item-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
}
.menu-item-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.menu-item-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.menu-item-header h4 {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 600;
}
.menu-price {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}
.menu-item-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* --- DESIGN COMPLÉMENTAIRE : À PROPOS CHICKEN PLUS --- */
.hero-about {
    height: calc(55vh - 105px);
    position: relative;
    background: url('imgchicken/cadre4.jpg') no-repeat center center/cover; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 0 20px;
}
.hero-overlay-about { 
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(to bottom, rgba(11, 15, 13, 0.4), rgba(11, 15, 13, 0.95)); 
    z-index: 1; 
}
.about-detailed-section {
    padding: 100px 8%;
    background-color: var(--dark-bg);
}
.about-grid-block {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}
.about-main-text {
    flex: 12;
}
.about-main-text h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #ffffff;
}
.about-main-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.about-main-text strong {
    color: var(--primary-color);
}

/* Encadré d'engagement doré */
.gold-highlight-box {
    background-color: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 0 8px 8px 0;
    margin-top: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.gold-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 3px;
}
.gold-highlight-box h4 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}
.gold-highlight-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
    color: var(--text-muted);
}
.about-side-image {
    flex: 10;
}
.about-side-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.01);
}

/* Grille des 3 blocs de valeurs */
.values-container {
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.value-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.01);
    transition: transform 0.3s ease;
}
.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
}
.value-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.value-card h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}
.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Par défaut sur grand écran (ordinateur), on masque le bouton burger */
.burger-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    /* 1. Ajustement de la barre blanche principale */
    .navbar {
        height: 80px; 
        padding: 0 4%;
        display: flex;
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center;
        background: #0f0e0e;
    }

    body {
        padding-top: 80px; /* Évite que le texte du hero passe sous la navbar */
    }

    /* 2. Redimensionnement du logo et du texte de marque */
    .site-logo {
        height: 45px; 
        width: auto;
    }
    .brand-name {
        font-size: 1.1rem;
        font-weight: 800;
        color: #0a2240;
    }
    /* On masque le très long sous-titre sur mobile pour aérer un maximum */
    .brand-sub {
        display: none !important;
    }

    /* 3. Activation visuelle des 3 barres du bouton burger à droite */
    .burger-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1100;
    }
    .burger-menu-btn .bar {
        width: 100%;
        height: 3px;
        background-color: #0a2240; /* Bleu marine officiel */
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    /* Animation de la croix lors du clic */
    .burger-menu-btn.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); background-color: #df9f00; }
    .burger-menu-btn.open .bar:nth-child(2) { opacity: 0; }
    .burger-menu-btn.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background-color: #df9f00; }

    /* 4. LE SECRET DU PRODUIT : On masque entièrement la liste de liens étouffés */
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%; /* Totalement éjecté à droite de l'écran par défaut */
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.99);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.1, 0.8, 0.3, 1);
        z-index: 1050;
    }

    /* Quand JavaScript s'active au clic, le menu complet glisse proprement sur l'écran */
    .nav-container.open {
        right: 0;
    }

    /* Alignement vertical et aéré des 4 rubriques dans le menu plein écran */
    .nav-container .nav-links {
        flex-direction: column;
        gap: 35px; /* Grand espace pour le confort du pouce */
        align-items: center;
        width: auto;
        display: flex;
        list-style: none;
    }
    .nav-links a {
        font-size: 1.3rem; 
        color: #0a2240;
        font-weight: 700;
        text-decoration: none;
    }
}
/* Ciblage chirurgical des deux boutons du Hero */
.hero-content a, 
.hero-content button,
a[href*="carte.html"], 
a:contains("Réserver") {
    position: static !important;  /* Casse la position absolue qui le faisait flotter ! */
    display: inline-block !important;
    margin: 10px auto !important; /* Crée un espacement automatique propre */
    transform: none !important;   /* Annule les vieux décalages de centrage */
}

/* On s'assure que le conteneur global les empile correctement */
.hero-buttons, .btn-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 40px !important; /* Repousse vigoureusement la grille d'images vers le bas */
}


/* ==========================================
   SUPER-CORRECTIF BOUTONS HERO MOBILE 
   ========================================== */

/* Le conteneur magique qui empile proprement */
.hero-buttons-container {
    display: flex !important;
    flex-direction: column !important; /* Aligne l'un en dessous de l'autre */
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;              /* Espace de sécurité strict entre les boutons */
    margin: 30px auto !important;      /* Repousse le texte du haut et les images du bas */
    width: 100% !important;
    position: relative !important;     /* Force le respect du flux normal */
}

/* Style forcé pour le bouton Or */
.btn-explorer {
    display: block !important;
    position: static !important;
    width: 85% !important;
    max-width: 280px !important;
    background-color: #d4af37 !important; /* Ton or premium */
    color: #000000 !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transform: none !important;
}

/* Style forcé pour le bouton Noir (Qui refusait de bouger) */
.btn-reserver {
    display: block !important;
    position: static !important;        /* DETRUIT la position absolue qui faisait flotter le bouton ! */
    width: 85% !important;
    max-width: 280px !important;
    background-color: #111111 !important; /* Noir chic */
    color: #ffffff !important;
    padding: 14px 20px !important;
    border: 1px solid #ffffff !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transform: none !important;
}
/* ==========================================
   MINIATURISATION DU HERO POUR MOBILE
   ========================================== */
@media (max-width: 768px) {
    /* 1. On réduit la taille du gros titre et du texte explicatif */
    .hero-content h1 {
        font-size: 1.8rem !important; /* Titre plus petit */
        margin-bottom: 8px !important;
    }
    
    .hero-content p {
        font-size: 0.9rem !important; /* Texte de description plus compact */
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }

    /* 2. On réduit la taille et les espaces des boutons */
    .hero-buttons, .hero-buttons-container, [class*="buttons"] {
        display: flex !important;
        flex-direction: column !important; /* Évite le côte-à-côte qui écrase tout */
        gap: 10px !important;              /* Espace serré mais propre entre les deux */
        margin: 15px auto !important;      /* Moins de marge pour gagner de la place */
    }

    /* 3. On dompte ENFIN le bouton noir et le bouton or (Taille réduite) */
    .hero-buttons a, .hero-buttons button, .hero-buttons-container a,
    [class*="btn-explorer"], [class*="btn-reserver"] {
        position: static !important;       /* Supprime le mode fantôme absolute */
        transform: none !important;
        width: 80% !important;             /* Moins large */
        padding: 10px 15px !important;     /* Boutons moins hauts/épais */
        font-size: 0.9rem !important;      /* Écrit un peu plus petit */
    }
}

/* ===================================================
   ÉTAPE 1 : ANIMATION FLUIDE DES CARTES DE SPÉCIALITÉS
   =================================================== */

/* 1. On empêche l'image de déborder de sa boîte quand elle zoome */
.menu-item-card, .menu-grid div, [class*="card"] {
    overflow: hidden !important;
}

/* 2. On prépare l'image à bouger en douceur (durée : 0.4 seconde) */
.menu-item-card img, .menu-grid img {
    transition: transform 0.4s ease-in-out !important;
    will-change: transform; /* Optimise les performances sur smartphone Android */
}

/* 3. L'effet de zoom magique au survol ou au clic */
.menu-item-card:hover img, .menu-grid div:hover img {
    transform: scale(1.08) !important; /* Zoom de 8% de l'image */
}
/* ===================================================
   ÉTAPE 2 : ANIMATION D'APPARITION DU HERO (FADE-IN UP)
   =================================================== */

/* 1. Définition du mouvement de l'animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* Part de 30 pixels plus bas */
    }
    to {
        opacity: 1;
        transform: translateY(0);    /* Arrive à sa position normale */
    }
}

/* 2. Application de l'animation sur le conteneur du texte */
.hero-content {
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
    will-change: opacity, transform; /* Force la fluidité sur les smartphones à Yaoundé */
}

/* 3. Léger décalage pour les boutons pour un effet asynchrone ultra-chic */
.hero-buttons-container, .hero-buttons {
    animation: fadeInUp 1.4s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

/* ===================================================
   ÉTAPE 3 : INTERACTIONS SOURIS/TOUCH SUR LES BOUTONS
   =================================================== */

/* 1. On prépare les boutons du Hero à bouger en douceur */
.btn-explorer, .btn-reserver, .hero-buttons-container a, .hero-buttons a {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre de base discrète */
}

/* 2. Effet d'élévation et ombre diffuse au survol ou appui */
.btn-explorer:hover, .hero-buttons-container a:first-child:hover, .hero-buttons a:first-child:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3) !important; /* Halo doré pour le bouton Or */
}

.btn-reserver:hover, .hero-buttons-container a:last-child:hover, .hero-buttons a:last-child:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15) !important; /* Nappe d'ombre blanche pour le bouton Noir */
}

/* 3. Léger effet d'enfoncement quand on clique dessus (Feedback physique) */
.btn-explorer:active, .btn-reserver:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}
/* ===================================================
   ANIMATION DE DÉFILEMENT HORIZONTAL AUTOMATIQUE INFINE
   =================================================== */

/* 1. Le conteneur parent (Cache tout ce qui dépasse à l'écran) */
.menu-sections-container, .menu-category {
    overflow: hidden !important;
    width: 100%;
}

/* 2. Le conteneur de la grille (Force l'alignement sur une seule ligne géante) */
.menu-grid {
    display: flex !important;
    flex-wrap: nowrap !important; /* Interdit le retour à la ligne */
    width: max-content !important;
    animation: defilementInfini 25s linear infinite !important; /* 25 secondes pour faire un tour complet */
    will-change: transform; /* Force le smartphone à utiliser la puce graphique pour rester fluide */
}

/* 3. On s'assure que chaque carte garde une taille fixe et ne s'écrase pas */
.menu-item-card {
    flex-shrink: 0 !important; /* Interdit au navigateur de rétrécir tes cartes */
    width: 300px !important;   /* Largeur parfaite pour mobile et PC */
    margin-right: 20px !important;
}

/* 4. L'effet magique : On met le défilement en PAUSE au survol ou au clic */
.menu-grid:hover {
    animation-play-state: paused !important;
}

/* 5. Les coordonnées de l'algorithme de défilement */
@keyframes defilementInfini {
    0% {
        transform: translate3d(0, 0, 0); /* Position de départ */
    }
    100% {
        transform: translate3d(-50%, 0, 0); /* Glisse précisément jusqu'à la moitié du ruban doublé */
    }
}
/* ===================================================
   ALGORITHME DE DÉFILEMENT POUR STORIES AUTOMATIQUES
   =================================================== */

/* Masque les barres de défilement laides sur Android et iPhone */
.stories-window {
    overflow: hidden !important;
    width: 100% !important;
    position: relative !important;
}

/* Configure le rail horizontal à taille extensible maximale */
.stories-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;   /* Aligne les 16 cartes sur une seule ligne géante */
    width: max-content !important;
    animation: glissementStories 30s linear infinite !important; /* 30s pour un défilement très doux */
    will-change: transform;         /* Demande au processeur de forcer la fluidité */
}

/* Force chaque carte de story à garder ses dimensions exactes */
.stories-track .story-card {
    flex-shrink: 0 !important;      /* Interdit l'écrasement des images */
    width: 110px !important;        /* Garde le format compact des stories style Instagram */
    margin-right: 15px !important;  /* Espace parfait entre chaque rond/carré */
}

/* Met le défilement en pause instantanément quand le client touche l'écran ou survole */
.stories-track:hover {
    animation-play-state: paused !important;
}

/* L'équation d'optique : dès qu'on passe la série 1 (-50%), la boucle reprend sans saut blanc */
@keyframes glissementStories {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0); /* Glisse pile de la moitié de la boîte */
    }
}

/* --- STYLISATION DU MOTEUR DE RECHERCHE PREMIUM --- */
.search-section-container {
    max-width: 600px;
    margin: 40px auto 20px auto;
    padding: 0 5%;
    text-align: center;
}

.search-box-wrapper #chicken-search-bar {
    width: 100%;
    padding: 16px 25px;
    font-size: 1.05rem;
    background-color: var(--card-bg); /* Utilise ton noir texturé */
    border: 2px solid rgba(212, 175, 55, 0.3); /* Bordure dorée discrète */
    border-radius: 50px; /* Forme pilule moderne */
    color: var(--text-light);
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Effet lumineux doré lors du clic sur la recherche */
.search-box-wrapper #chicken-search-bar:focus {
    border-color: var(--primary-color); /* Devient Or vif */
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
    background-color: #171e1a;
}

.search-box-wrapper #chicken-search-bar::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

#search-empty-message {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

/* --- EFFET FLUIDITÉ ÉCRAN --- */
.menu-category {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease out, transform 0.8s ease out;
}

.menu-category.visible {
    opacity: 1;
    transform: translateY(0);
}



/* --- COMPACTAGE DES PLATS SUR MOBILE --- */
@media (max-width: 768px) {
    /* 1. Force la grille à afficher 2 plats par ligne au lieu de 1 seul grand */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important; /* Espace plus serré mais propre */
    }

    /* 2. Réduit la hauteur excessive de l'image du plat */
    .menu-item-card img {
        height: 150px !important; /* Hauteur idéale pour les écrans de téléphone */
    }

    /* 3. Réduit les espaces internes de la carte */
    .menu-item-details {
        padding: 12px !important;
    }

    /* 4. Aligne le titre et le prix verticalement si le texte est long */
    .menu-item-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 6px;
        margin-bottom: 8px !important;
    }

    /* 5. Diminue la taille de la police pour éviter les chevauchements */
    .menu-item-header h4 {
        font-size: 0.95rem !important;
        line-height: 1.2;
    }

    .menu-price {
        font-size: 0.75rem !important;
        padding: 2px 8px !important;
    }

    .menu-item-details p {
        font-size: 0.8rem !important; /* Description plus discrète */
        line-height: 1.4;
    }
}

/* ===================================================
   NOUVELLE STRUCTURE DE CARTE RESPONSIVE ET FLUIDE
   =================================================== */

/* Conteneur principal de la carte */
.menu-sections-container {
    width: 100%;
    padding: 40px 5%;
    overflow: visible !important; /* Libère complètement la page */
}

/* La Grille de Plats : Grille verticale à 2 colonnes sur mobile, 3 ou 4 sur PC */
.menu-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
    animation: none !important; /* Supprime définitivement l'animation qui faisait bugger */
    transform: none !important;
}

/* --- ADAPTATION DYNAMIQUE POUR LES SMARTPHONES --- */
@media (max-width: 768px) {
    .menu-sections-container {
        padding: 20px 4%;
    }

    /* Force l'affichage côte à côte de deux plats par ligne, verticalement */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* Réduction de la hauteur des images pour gagner de l'espace */
    .menu-item-card img {
        height: 140px !important;
    }

    .menu-item-details {
        padding: 10px !important;
    }

    .menu-item-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 4px;
        margin-bottom: 6px !important;
    }

    .menu-item-header h4 {
        font-size: 0.9rem !important;
        line-height: 1.2;
    }

    .menu-price {
        font-size: 0.75rem !important;
        padding: 2px 8px !important;
    }

    .menu-item-details p {
        font-size: 0.75rem !important;
        line-height: 1.3;
    }
}


/* --- CORRECTIF RADICAL AFFICHAGE MOBILE (ANDROID & IOS) --- */
@media (max-width: 768px) {
    /* 1. On réinitialise complètement les conteneurs parents */
    .menu-sections-container, 
    .menu-category {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 4% !important;
        overflow: visible !important;
    }

    /* 2. On force la grille verticale à 2 colonnes égales sans débordement */
    .menu-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    /* 3. On dompte la taille des cartes de plats pour Android */
    .menu-item-card {
        width: 100% !important; /* Prend 100% de sa colonne, plus de taille fixe ! */
        max-width: 100% !important;
        min-width: 0 !important; /* Casse le blocage Android */
        margin: 0 !important; /* Supprime la marge de droite qui décalait tout */
    }

    /* 4. Ajustement des images et textes */
    .menu-item-card img {
        width: 100% !important;
        height: 120px !important; /* Plus compact pour éviter le scroll infini */
        object-fit: cover !important;
    }

    .menu-item-details {
        padding: 8px !important;
    }

    .menu-item-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        margin-bottom: 6px !important;
    }

    .menu-item-header h4 {
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
    }

    .menu-price {
        font-size: 0.7rem !important;
        padding: 2px 6px !important;
    }

    .menu-item-details p {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
    }
}
