/* ============================================================
   Les Restaurants du Dimanche — feuille de style FICHE RESTAURANT (fiche.css)
   Charte moderne, tons rouges (cohérente avec l'admin).
   ============================================================ */

/* --- Polices auto-hébergées (RGPD) ------------------------------------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: optional;
    src: url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2-variations'),
         url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
}

/* --- Fallbacks calibres (anti-CLS) --- */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial');
    size-adjust: 83.17%;
    ascent-override: 128.66%;
    descent-override: 136.86%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'Bricolage Grotesque Fallback';
    src: local('Arial');
    size-adjust: 81.46%;
    ascent-override: 126.11%;
    descent-override: 156.43%;
    line-gap-override: 0%;
}
:root {
    --rouge: #9A1B2F;
    --rouge-deep: #7A1424;
    --rouge-soft: #F7ECEE;
    --ink: #0E0F13;
    --paper: #FFFFFF;
    --paper-soft: #F6F5F3;
    --muted: #6E6F77;
    --line: #ECEAE8;
    --line-soft: #F4F2F0;
    --green: #2E9E5B;
    --display: 'Bricolage Grotesque', 'Bricolage Grotesque Fallback', system-ui, sans-serif;
    --body: 'Inter', 'Inter Fallback', system-ui, sans-serif;
    --maxw: 1180px;
    --shadow: 0 2px 14px rgba(14, 15, 19, 0.07);
    --shadow-hover: 0 10px 30px rgba(14, 15, 19, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    font-size: 15px;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--rouge); color: #fff; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.01em; }

/* ---------- Header ---------- */
header.site {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.bar {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 800;
    color: var(--rouge);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
}

.brand .logo-img {
    width: 36px; height: 36px;
    border-radius: 10px;
    flex: 0 0 auto;
    display: inline-flex;
}



    
    
    
    




/* ---------- Sélecteur de langue ---------- */
.lang-dropdown {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    font-size: 13.5px;
    background: #fff;
    color: var(--ink);
    flex: 0 0 auto;
}
.bar { gap: 10px; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(900px 500px at 85% -20%, rgba(255, 255, 255, 0.10), transparent 60%),
        radial-gradient(700px 420px at 0% 110%, rgba(255, 255, 255, 0.06), transparent 55%),
        linear-gradient(135deg, var(--rouge) 0%, var(--rouge-deep) 100%);
    color: #fff;
    padding: 44px 22px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.35;
    pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.eyebrow-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff;
}

.hero h1 em { color: #FFD9A0; font-style: normal; }

.hero p {
    font-size: 17px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
}

/* ---------- Carte de recherche ---------- */
.search-card {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 18px 50px rgba(90, 10, 25, 0.30);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    text-align: left;
}

.results-empty {
    text-align: center;
    color: var(--muted);
    padding: 44px 20px;
    background: var(--paper-soft);
    border: 1px dashed var(--line);
    border-radius: 14px;
}

select:disabled { opacity: 0.55; cursor: not-allowed; }

.field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 5px;
}

input, select {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 14.5px;
    font-family: inherit;
    background: #fff;
    color: var(--ink);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--rouge);
    box-shadow: 0 0 0 3px rgba(154, 27, 47, 0.12);
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1.5px solid transparent;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease, border-color 0.18s ease, color 0.18s ease;
    font-family: inherit;
    white-space: nowrap;
}

.btn:active { transform: translateY(1px); }
.btn-rouge { background: var(--rouge); color: #fff; }
.btn-rouge:hover { background: var(--rouge-deep); }
.btn-blanc { background: transparent; color: var(--rouge); border-color: var(--rouge); }
.btn-blanc:hover { background: var(--rouge-soft); }
.search-card .btn { align-self: end; }

/* ---------- Contenu ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 48px 22px 30px; }

.section-title {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 22px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.section-title small {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    font-family: var(--body);
}

/* ---------- Cartes restaurant ---------- */
.grid-restos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.carte-resto {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.carte-resto:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.carte-resto .visuel {
    max-width: 160px;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    background: var(--rouge-soft) center/cover no-repeat;
    position: relative;
}



.carte-body { padding: 16px 18px 18px; flex: 1; }
.carte-body h3 { margin: 0 0 5px; font-size: 14px; font-weight: 700; color: var(--rouge); }

.carte-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tag-cuisine {
    display: inline-block;
    background: var(--rouge-soft);
    color: var(--rouge);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 999px;
}

.services {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
    flex-wrap: wrap;
}

.services span { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Bandeau concept ---------- */
.bandeau-concept {
    background: var(--paper-soft);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 40px 22px;
    margin-top: 30px;
}

.bandeau-concept .wrap { padding: 0 22px; }
.bandeau-concept h2 { font-size: 21px; margin: 0 0 18px; }
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.concept-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.concept-item .ci-ic {
    width: 42px; height: 42px;
    background: var(--rouge-soft);
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

.concept-item h3 { font-size: 16px; margin: 0 0 6px; }
.concept-item p { font-size: 13.5px; color: var(--muted); margin: 0; }


/* ---------- Carte / panneau ---------- */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
}


/* ---------- Fiche restaurant ---------- */
.fiche-header {
    background: linear-gradient(135deg, var(--rouge) 0%, var(--rouge-deep) 100%);
    color: #fff;
    padding: 10px 22px;
}
.fiche-header h1 { margin: 0 0 3px; font-size: clamp(22px, 3.5vw, 28px); font-weight: 800; line-height: 1.2; }
.fiche-header p { margin: 0; opacity: 0.85; font-size: 14px; }
.fiche-header a { text-decoration: underline; text-underline-offset: 3px; }

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    padding: 6px 0 0;
    margin: 0;
    line-height: 1.3;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--rouge); text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 600; }
.wrap-fil { padding-top: 0; padding-bottom: 0; }

.fiche-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
}
.card h2 {
    font-family: var(--display);
    font-size: 17px;
    margin: 0 0 14px;
    color: var(--ink);
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 700;
}
.horaires-table { width: 100%; border-collapse: collapse; }
.horaires-table td {
    padding: 8px 6px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px;
}
.horaires-table td:first-child { font-weight: 500; }
.horaires-table tr:last-child td { border-bottom: none; }
.horaires-table tr.aujourdhui td {
    font-weight: 600;
    color: var(--rouge);
    background: var(--rouge-soft);
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
    padding: 9px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14.5px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list a { color: var(--rouge); font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.tag-cuisine {
    display: inline-block;
    background: var(--rouge-soft);
    color: var(--rouge);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 999px;
}

/* ---------- Footer ---------- */
footer.site {
    background: var(--ink);
    color: #9ba0a3;
    padding: 34px 22px;
    margin-top: 56px;
    font-size: 13.5px;
    text-align: center;
}

footer.site a { color: #cfd3d6; }
footer.site a:hover { color: #fff; }

/* ---------- Menu hamburger mobile ---------- */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 9px;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.burger span {
    width: 22px; height: 2px;
    background: var(--rouge);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(14, 15, 19, 0.45);
    z-index: 1100;
}

/* ---------- Responsive ---------- */
/* ---------- Navigation ---------- */
nav.primary { display: flex; gap: 6px; }
nav.primary a {
    font-size: 14px; font-weight: 500; color: var(--muted);
    padding: 8px 12px; border-radius: 8px;
}
nav.primary a:hover { color: var(--ink); background: var(--line-soft); }
nav.primary a.current { color: var(--rouge); font-weight: 600; }
.header-right { display: flex; align-items: center; gap: 10px; }

/* ---------- Drawer mobile (mécanique modeles-photo) ---------- */
.mainnav {
    display: flex;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 250px;
    z-index: 1150;
    background: var(--ink);
    flex-direction: column;
    padding: 14px 8px 20px;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
}
.mainnav.open { transform: translateX(0); }
@media (min-width: 781px) {
    .mainnav { display: none; }
}
.mainnav a {
    color: #C9CCD1; font-size: 15px; padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.mainnav a.current { color: #fff; font-weight: 600; }
.mainnav .drawer-lang { padding: 14px 12px 0; }
.mainnav .drawer-lang .lang-dropdown {
    width: 100%;
    max-width: none;
    background: var(--ink);
    color: #C9CCD1;
    border-color: rgba(255, 255, 255, 0.2);
}
.mainnav .drawer-lang .lang-dropdown option { color: var(--ink); }
body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(14, 15, 19, 0.45);
    z-index: 1100;
}

@media (max-width: 1200px) {
    .grid-restos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
    .grid-restos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .fiche-grid { grid-template-columns: 1fr; gap: 16px; }
    /* Mobile : titre en petit + sélecteur langue masqué (déjà dans le drawer) */
    .brand {
        flex: 0 1 auto;
        min-width: 0;
        overflow: hidden;
    }
    .brand-text {
        display: inline;
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .brand .logo-img { width: 28px; height: 28px; }
    .header-right .lang-dropdown { display: none; }

    .burger { display: inline-flex; }
    nav.primary { display: none; }

    .search-card { grid-template-columns: 1fr; }
    .hero { padding: 36px 18px 40px; }
    .wrap { padding: 28px 16px; }
    .bandeau-concept { padding: 28px 16px; }
}
