/* ==========================================
   POLICES & VARIABLES (Style Angulaire & Brut)
   ========================================== */
@font-face {
    font-family: 'Playlist Script';
    src: url('fonts/Playlist-Script.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
:root {
    --primary-color: #EFD1C0;    /* Blush/pêche du recto de la carte de visite */
    --secondary-color: #5E5757;  /* Charbon chaud du verso de la carte */
    --accent-color: #282727;     /* Encre quasi noire du texte de la carte */
    --text-dark: #2B2727;        /* Anthracite chaud */
    --text-light: #7A7170;       /* Gris chaud (ton intermédiaire de la carte) */
    --bg-light: #FAF5F1;         /* Blanc cassé blush, plus clair que le fond de carte */
    --white: #FFFFFF;
    --font-titles: 'Lora', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-light: 0 4px 22px rgba(94, 87, 87, 0.06);
    --shadow-medium: 0 10px 32px rgba(94, 87, 87, 0.08);
    --radius: 0px;              /* STRICT ET ANGULAIRE : Aucun arrondi */
    --radius-card: 6px;         /* Léger adoucissement sur les cartes de contenu uniquement */
}

/* ==========================================
   RESETS & STYLES GENERAUX
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: var(--radius) !important; /* Force les angles droits partout */
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-titles);
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   BARRE DE NAVIGATION JAUNE (FUSION LOGO)
   ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    height: 100px;
    background-color: var(--primary-color);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 85px; 
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.burger-line {
    width: 20px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.3px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-reserve-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 12px 24px;
    border: 2px solid var(--secondary-color);
    white-space: nowrap;
}

.nav-reserve-btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-1px);
}

/* ==========================================
   BOUTONS DE CONTACT EN ÉVIDENCE (ANGULAIRES)
   ========================================== */
.contact-actions-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
}

/* Le bouton Appeler : Vert Profond Flash/Foncé */
.btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 20px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 6px 20px rgba(94, 87, 87, 0.2);
}

.btn-call:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Le bouton Email : Jaune éclatant qui claque */
.btn-email {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #1c1c1c;
    padding: 20px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 20px rgba(239, 209, 192, 0.35);
}

.btn-email:hover {
    background-color: transparent;
    color: #1c1c1c;
    border-color: #1c1c1c;
    transform: translateY(-2px);
}

/* ==========================================
   AUTRES BOUTONS STRUCTURELS
   ========================================== */
.btn-primary {
    background-color: var(--secondary-color); 
    color: var(--white);
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.icon-inline {
    vertical-align: -2px;
    margin-right: 5px;
    flex-shrink: 0;
}

.contact-card-box h3 svg,
.footer-link-btn svg,
.btn-primary svg {
    display: inline-block;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.footer-grid .social-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.footer-grid .social-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* ==========================================
   VUES SECTIONS ET GRILLES (STRICTS)
   ========================================== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(30, 27, 27, 0.68), rgba(45, 41, 41, 0.55)), 
                url('hero.jpeg') no-repeat center center/cover;
    color: var(--white);
    padding: 60px 20px;
}

.hero-content { max-width: 800px; }
.hero-content h1 { font-size: 4rem; color: var(--primary-color); margin-bottom: 15px; }
.brand-script {
    font-family: 'Playlist Script', cursive;
    font-weight: 400;
    font-size: 5.2rem !important;
    letter-spacing: 0.5px;
}
.hero-sub { font-size: 1.3rem; margin-bottom: 35px; }
.text-accent {
    color: var(--primary-color);
    font-size: 0.85em;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

section { padding: 90px 8%; }
.section-title { text-align: center; font-size: 2.4rem; margin-bottom: 60px; position: relative; }
.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='18' viewBox='0 0 60 18'%3E%3Cpath d='M2 9 C 16 -3, 34 20, 50 7' stroke='%235E5757' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='54' cy='6' r='3.2' fill='%23282727'/%3E%3C/svg%3E") no-repeat center / contain;
}

.specialities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; }
.spec-card {
    position: relative;
    aspect-ratio: 3 / 4;
    min-height: 340px;
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0,0,0,0.04);
    border-top: 4px solid var(--primary-color);
    overflow: hidden;
    transition: box-shadow 0.35s ease;
    --bg-scale: 1; /* ajustable par carte via style="--bg-scale: 1.3;" dans le HTML */
}
.spec-card:hover {
    box-shadow: var(--shadow-medium);
}
.spec-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(var(--bg-scale));
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}
.spec-card:hover::before {
    transform: scale(calc(var(--bg-scale) * 1.08));
}
.spec-card-overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 45px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(30, 27, 27, 0.05) 0%, rgba(30, 27, 27, 0.55) 55%, rgba(30, 27, 27, 0.88) 100%);
}
.spec-card-overlay h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.6rem;
}
.spec-card-overlay p {
    color: var(--white);
    font-size: 0.98rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.5em * 4);
}

.intro-story { background-color: var(--secondary-color); color: var(--white); text-align: center; }
.intro-story h2 { color: var(--primary-color); margin-bottom: 25px; }
.story-content { max-width: 750px; margin: 0 auto; }
.story-content p { font-family: var(--font-titles); font-size: 1.2rem; font-style: italic; line-height: 1.8; margin-bottom: 30px; }
.btn-text { color: var(--primary-color); font-weight: 600; }

/* ==========================================
   GALERIE PHOTO
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 130px;
    gap: 18px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0,0,0,0.04);
    grid-row: span 2;
}
.gallery-item.tall { grid-row: span 3; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30,27,27,0) 60%, rgba(30,27,27,0.55) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
    position: absolute;
    left: 16px;
    bottom: 12px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 850px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }
}
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .gallery-item, .gallery-item.tall { grid-row: span 1; }
}

.section-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.05rem;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--primary-color);
}

.section-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.history-container { display: flex; gap: 50px; align-items: center; }
.history-text { flex: 12; }
.history-img-wrapper { flex: 10; }
.history-text p { margin-bottom: 22px; font-size: 1.05rem; }
.history-img { box-shadow: var(--shadow-medium); width: 100%; height: auto; display: block; }

.valeurs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-top: 60px; }
.valeur-item { background-color: var(--white); padding: 35px 25px; box-shadow: var(--shadow-light); border: 1px solid rgba(0,0,0,0.03); text-align: center; }

.menu-section { margin-bottom: 60px; }
.menu-section h3 { font-size: 1.8rem; margin-bottom: 30px; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 10px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 30px; }
.menu-item { display: flex; justify-content: space-between; align-items: flex-start; background-color: var(--white); padding: 25px; box-shadow: var(--shadow-light); border: 1px solid rgba(0,0,0,0.03); }
.item-title { font-weight: 600; font-size: 1.08rem; }
.item-desc { font-size: 0.9rem; color: var(--text-light); }
.item-price { font-weight: 600; color: var(--secondary-color); background-color: #F3E7DE; padding: 4px 14px; white-space: nowrap; }

.item-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 10px;
    border: 1px solid currentColor;
    white-space: nowrap;
}
.badge-veg { color: #2F6B3E; background-color: #EAF3EC; border-color: #2F6B3E; }
.badge-chef { color: #7A4A2E; background-color: #FBEEE5; border-color: var(--primary-color); }

/* Icône simple à côté du nom du plat (remplace les anciens badges texte au-dessus du titre) */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 4px;
    cursor: help;
}
.icon-badge svg { display: block; }
.icon-badge.badge-veg { color: #2F6B3E; background-color: #EAF3EC; }
.icon-badge.badge-chef { color: #7A4A2E; background-color: #FBEEE5; }

/* ==========================================
   PAGE CONTACT (SANS FORMULAIRE / DEUX GRANDS BLOCS EQUILIBRES)
   ========================================== */
.contact-wrapper-clean {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.contact-card-box {
    background-color: var(--white);
    padding: 50px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card-box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card-box p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.map-wrapper {
    margin-top: 40px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0,0,0,0.05);
    line-height: 0;
}

/* Adoucissement ciblé : cartes de contenu seulement (boutons/nav restent stricts) */
.spec-card,
.menu-item,
.valeur-item,
.contact-card-box,
.map-wrapper,
.history-img,
.gallery-item {
    border-radius: var(--radius-card) !important;
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer { background-color: var(--secondary-color); color: var(--white); padding: 65px 8% 30px 8%; text-align: center; border-top: 6px solid var(--primary-color); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; max-width: 1100px; margin: 0 auto; }
.footer-grid h3 { color: var(--primary-color); margin-bottom: 18px; }
.footer-bottom { margin-top: 45px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 0.85rem; color: #B3A9A4; }

@media (max-width: 850px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        height: auto;
        padding: 20px 6%;
        row-gap: 0;
    }
    .nav-toggle { display: flex; }
    .nav-menu {
        flex-basis: 100%;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
    }
    .nav-menu.open {
        max-height: 400px;
        opacity: 1;
        margin-top: 25px;
        padding-bottom: 20px;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .hero-content h1 { font-size: 3rem; }
    .brand-script { font-size: 3.8rem !important; }
    .contact-wrapper-clean { grid-template-columns: 1fr; gap: 30px; }
    .history-container { flex-direction: column; gap: 35px; }
    .history-text { flex: none; width: 100%; }
    .history-img-wrapper { width: 100%; }
}

@media (max-width: 420px) {
    .brand-script { font-size: 3rem !important; }
    .hero-sub { font-size: 1.1rem; }
}

/* ==========================================
   CORRECTIFS MOBILE : CENTRAGE DES GRILLES
   (Les minmax() de base sont trop larges pour
   les petits écrans, ce qui provoque un léger
   débordement horizontal et décale l'affichage)
   ========================================== */
@media (max-width: 850px) {
    section {
        padding: 60px 5%;
    }
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .specialities-grid {
        grid-template-columns: 1fr;
    }
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .item-price {
        align-self: flex-start;
    }
}
/* Boutons spécifiques pour le footer */
.footer-link-btn {
    display: block;
    max-width: 200px;
    margin: 8px auto 0 auto;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-link-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}