/* --- POLICES ELÉGANTES (Style La Perla) --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #222;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

/* --- EN-TÊTE / NAVIGATION --- */
header {
    background-color: #111111; /* Noir chic */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #C5A880; /* Touche d'or discret */
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #C5A880;
}

/* --- SECTION ACCUEIL (HERO) --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('https://tb-static.uber.com/prod/image-proc/processed_images/f90d245f0b650f1f02a309e6daa6cb93/5283d81c664b43c5f57a3a186d273063.jpeg') no-repeat center center/cover;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 55px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 30px;
    max-width: 600px;
}

/* --- BOUTONS ÉLÉGANTS --- */
.btn {
    background-color: transparent;
    color: #fff;
    padding: 14px 32px;
    text-decoration: none;
    border: 1px solid #C5A880; /* Bordure dorée */
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn:hover {
    background-color: #C5A880;
    color: #111;
}

/* --- STRUCTURES DES SECTIONS --- */
#menu, #horaires, #contact {
    padding: 90px 20px;
    text-align: center;
}

#menu {
    background-color: #FAFAFA; /* Fond blanc cassé ultra propre */
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #111;
    margin-bottom: 10px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: #C5A880;
    margin: 15px auto 0 auto;
}

/* --- CARTES DU MENU --- */
.menu-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.menu-item {
    background: #ffffff;
    border: none;
    padding: 30px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04); /* Ombre très douce */
    text-align: left;
    transition: transform 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-top: 0;
    color: #111;
}

.menu-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.menu-item .price {
    font-size: 18px;
    font-weight: 600;
    color: #C5A880;
    display: block;
    margin-top: 15px;
}

/* --- SECTION HORAIRES --- */
.horaires-container {
    max-width: 500px;
    margin: 40px auto 0 auto;
    background: #ffffff;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.horaire-ligne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.horaire-ligne:last-child {
    border-bottom: none;
}

.jour {
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.heures {
    color: #555;
}

.horaire-ligne.ferme .heures {
    color: #b83b3b;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
}

/* --- FORMULAIRE DE CONTACT --- */
form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 40px auto 0 auto;
    gap: 20px;
}

form input {
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

form input:focus {
    outline: none;
    border-color: #C5A880;
}

form .btn {
    background-color: #111;
    color: #fff;
    border: 1px solid #111;
}

form .btn:hover {
    background-color: #C5A880;
    border-color: #C5A880;
    color: #111;
}

/* --- PIED DE PAGE --- */
footer {
    background-color: #111;
    color: #777;
    text-align: center;
    padding: 30px;
    font-size: 13px;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #666;
    margin-top: -5px;
    margin-bottom: 40px;
    font-style: italic;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #111;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    width: 100%;
}

/* Modification pour aligner le prix à côté du titre du plat */
.menu-item h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    margin-bottom: 10px;
}

.menu-item .price {
    margin-top: 0;
    font-size: 16px;
}

.horaires-subtitle {
    font-size: 15px;
    color: #666;
    font-style: italic;
    margin-bottom: 40px;
}

.horaires-double-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.horaires-block {
    background: #ffffff;
    padding: 35px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    width: 400px;
    text-align: left;
    border: 1px solid #f5f5f5;
}

/* Une ligne dorée sur tous les blocs d'horaires pour un effet uniforme */
.horaires-block {
    border-top: 3px solid #C5A880;
}

.horaires-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #111;
    margin-top: 0;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.block-desc {
    font-size: 13px;
    color: #888;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.horaire-ligne small {
    display: block;
    font-size: 11px;
    color: #999;
    text-align: right;
    font-style: italic;
}

/* --- ADAPTATION TÉLÉPHONE (Écrans de moins de 768px) --- */
@media (max-width: 768px) {
    
    /* On réduit l'espace sur les côtés du menu du haut */
    header {
        padding: 15px 20px;
        flex-direction: column; /* Le logo passe au-dessus des liens */
        gap: 10px;
    }

    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }

    /* On réduit la taille du gros titre d'accueil */
    .hero h1 {
        font-size: 32px;
    }

    /* Les cartes du menu s'adaptent à la largeur de l'écran */
    .menu-item {
        width: 100%;
        max-width: 340px; /* Évite que ce soit trop large */
    }

    /* Les blocs d'horaires passent l'un sous l'autre */
    .horaires-double-container {
        gap: 30px;
    }

    .horaires-block {
        width: 100%;
        max-width: 360px;
    }
}

/* --- ENSEMBLE DE LA GRILLE NOUVEAUTÉS --- */
.nouveautes-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

/* LA CARTE DE CHAQUE SANDWICH */
.nouveante-card {
    background: #FAFAFA;
    border: 1px solid #EAEAEA;
    padding: 25px;
    width: 280px;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nouveante-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.04);
}

/* Mise en valeur spéciale pour le Polpet' Vosgien */
.nouveante-card.star-highlight {
    border: 1px solid #C5A880;
    background: #ffffff;
}

/* STYLE DES BADGES */
.badge-top {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 15px;
    align-self: flex-start;
}

.text-green {
    background-color: #e6f4ea;
    color: #137333;
}

.text-black {
    background-color: #111111;
    color: #ffffff;
}

.text-gold {
    background-color: #FAF4EB;
    color: #C5A880;
}

/* TYPOGRAPHIES INTERNES */
.nouveante-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #111;
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nouveante-info .price {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #C5A880;
    font-weight: 600;
}

.nouveante-info .description {
    font-size: 13.5px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

#nouveautes h2, #nouveautes .nouveautes-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* --- ADAPTATION TÉLÉPHONE ULTRA-PRÉCISE --- */
@media (max-width: 768px) {
    
    /* Évite absolument le défilement vers la droite sur tout le site */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* FIX DU MENU / HEADER VASSAL */
    header {
        padding: 15px 10px;
        flex-direction: column; /* Met le logo au-dessus du menu */
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    header .logo {
        font-size: 22px; /* Réduit un peu le titre principal */
        letter-spacing: 1px;
    }

    /* Les onglets s'alignent proprement sur deux lignes ou se resserrent */
    nav ul {
        display: flex;
        flex-wrap: wrap; /* Permet de revenir à la ligne proprement si besoin */
        justify-content: center;
        gap: 10px 15px; /* Espace serré mais cliquable entre les onglets */
    }

    nav ul li {
        margin: 0 !important; /* Annule les grosses marges qui poussent vers la droite */
    }

    nav ul li a {
        font-size: 11px; /* Écriture plus petite pour que ça rentre obligatoirement */
        letter-spacing: 0.5px;
    }

    /* FIX DE LA PAGE D'ACCUEIL (HERO) */
    .hero {
        height: 70vh; /* Un peu moins haut sur mobile */
        padding: 0 15px;
        box-sizing: border-box;
    }

    .hero h1 {
        font-size: 28px; /* Évite que le gros titre casse l'écran */
        line-height: 1.2;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* FIX DES BOUTONS ET CARTES */
    .btn {
        padding: 12px 24px;
        font-size: 11px;
    }

    .menu-item, .nouveante-card, .horaires-block {
        width: 100% !important;
        max-width: 100% !important; /* Force les blocs à faire la largeur du téléphone */
        box-sizing: border-box;
    }
    
    #menu, #nouveautes, #horaires, #contact {
        padding: 50px 15px; /* Moins d'espace perdu en haut et en bas */
    }
}

/* --- ENCADRÉ DES RÉSEAUX SOCIAUX --- */
.social-links-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 25px 0 35px 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 45px;
    height: 45px;
    border: 1px solid #EAEAEA;
    border-radius: 50%; /* Cercle parfait */
    color: #111111;
    font-size: 18px;
    transition: all 0.3s ease;
    background: #FAFAFA;
}

/* Style spécial pour le bouton Uber Eats plus large */
.social-icon.ubereats {
    width: auto;
    padding: 0 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 8px;
}

.social-icon.ubereats i {
    font-size: 16px;
}

/* EFFETS AU SURVOL (HOVER) */
.social-icon:hover {
    border-color: #C5A880;
    color: #C5A880;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.social-icon.ubereats:hover {
    background-color: #111111;
    color: #ffffff;
    border-color: #111111;
}