/* Polices hébergées sur le site (aucun appel à Google) — SIL Open Font License 1.1, voir assets/fonts/LICENCES.txt */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/dm-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/dm-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(fonts/fraunces-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(fonts/fraunces-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* MorineShop — feuille de style (mobile d'abord) */
:root {
  --cream: #FBF6EE;
  --cream-2: #F4EADB;
  --ink: #2A211C;
  --muted: #6E6158;
  --terra: #B4441C;
  --terra-dark: #8E3313;
  --green: #1F4D3A;
  --gold: #E8A33D;
  --line: #E6D9C6;
  --white: #fff;
  --wa: #1FA855;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(42,33,28,.06), 0 8px 24px rgba(42,33,28,.08);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--terra); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--terra); }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }
.plain { list-style: none; margin: 0; padding: 0; }
.hp { position: absolute; left: -9999px; }

/* --- Boutons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 999px; padding: .7em 1.2em; font: 700 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-dark); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-lg { padding: .9em 1.5em; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* --- En-tête --- */
.announce { background: var(--green); color: #fff; text-align: center; font-size: 13.5px; padding: 7px 16px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,246,238,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--terra); color: #fff; display: grid; place-items: center; font: 800 20px var(--serif); }
.brand-name { font: 800 21px var(--serif); }
.brand-name span { color: var(--terra); }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a[aria-current] { color: var(--terra); }
.cart-btn { margin-left: auto; position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--terra); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
@media (min-width: 760px) { .nav { display: flex; } .cart-btn { margin-left: 8px; } }

/* --- Hero --- */
.hero { padding: 36px 0 28px; background: radial-gradient(900px 400px at 85% 0%, #F7DCC4 0%, transparent 60%), var(--cream); }
.hero-inner { display: grid; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(34px, 8vw, 58px); font-weight: 800; }
.lead { font-size: 17.5px; color: var(--muted); max-width: 36em; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 14px; background: var(--white); box-shadow: var(--shadow); margin: 0 0 16px; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; }
.status.is-open .dot { background: var(--wa); box-shadow: 0 0 0 4px rgba(31,168,85,.18); }
.status.is-closed .dot { background: #C0392B; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; }
.promises { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.promises li { background: var(--white); border-radius: 12px; padding: 10px; font-size: 12.5px; color: var(--muted); box-shadow: var(--shadow); }
.promises strong { display: block; color: var(--ink); font-size: 13.5px; }
.hero-art { display: none; }
.plate { aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 20deg, var(--terra) 0 28%, var(--gold) 0 46%, var(--green) 0 62%, #E9C9A5 0 80%, var(--terra-dark) 0); padding: 7%; box-shadow: 0 30px 60px rgba(180,68,28,.25); }
.plate-inner { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, var(--cream) 55%, var(--cream-2) 100%); }
.hero-small { padding: 40px 0 8px; }
.hero-small h1 { font-size: clamp(32px, 7vw, 50px); }
@media (min-width: 900px) { .hero { padding: 64px 0 56px; } .hero-inner { grid-template-columns: 1.25fr .75fr; } .hero-art { display: block; max-width: 360px; justify-self: end; width: 100%; } }

/* --- Sections --- */
.section { padding: 44px 0; }
.section-tint { background: var(--cream-2); }
.section-dark { background: var(--green); color: #EDE6DA; }
.section-dark h2 { color: #fff; }
.section-head { margin-bottom: 22px; }
.section-head h2 { font-size: clamp(26px, 5vw, 36px); }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700; color: var(--gold); margin: 0 0 8px; }
.page-title { font-size: clamp(28px, 6vw, 40px); margin-top: 8px; }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.2fr 1fr; } }
.steps-light { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps-light li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 14px 16px; }
.steps-light strong { display: block; color: #fff; }

/* --- Menu --- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin: 0 -16px 8px; padding-left: 16px; padding-right: 16px; position: sticky; top: 62px; z-index: 10; background: var(--cream); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.cat-block { margin-bottom: 30px; }
.cat-title { font-size: 22px; margin: 10px 0 14px; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.dish { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.dish-media { position: relative; aspect-ratio: 4 / 3; background: var(--cream-2); }
.dish-media img { width: 100%; height: 100%; object-fit: cover; }
.dish-ph { width: 100%; height: 100%; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #F1E3CF 0 12px, #EEDCC4 12px 24px); }
.dish-ph span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--terra); color: #fff; font: 800 28px var(--serif); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge-out { background: var(--ink); color: #fff; }
.dish.is-out .dish-media { filter: grayscale(.8); opacity: .7; }
.dish-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.dish-name { font-size: 19px; margin-bottom: 4px; }
.dish-desc { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }
.dish-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.price { font: 800 19px var(--serif); color: var(--terra); }
.dish-actions { display: flex; gap: 8px; }
.piment { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; height: 42px; background: var(--cream); font: 14px var(--sans); color: var(--ink); }
.btn-add { background: var(--ink); color: #fff; height: 42px; padding: 0 18px; flex: none; }
.dish-actions:only-child .btn-add, .dish-actions .btn-add:only-child { flex: 1; }
.btn-add.added { background: var(--wa); }

/* Téléphone : cartes horizontales, plus de plats visibles à l'écran */
@media (max-width: 559px) {
  .dish { display: grid; grid-template-columns: 104px 1fr; }
  .dish-media { aspect-ratio: auto; min-height: 100%; }
  .dish-ph span { width: 44px; height: 44px; font-size: 20px; }
  .badge { top: 6px; left: 6px; font-size: 10.5px; padding: 3px 7px; }
  .dish-body { padding: 12px; }
  .dish-name { font-size: 17px; }
  .dish-desc { font-size: 13.5px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .price { font-size: 17px; }
  .piment, .btn-add { height: 38px; font-size: 13.5px; }
  .piment { padding: 0 8px; }
  .btn-add { padding: 0 14px; }
}

/* --- Comment ça marche / zones --- */
.how { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(4, 1fr); } }
.how li { display: flex; gap: 12px; background: var(--white); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); color: var(--muted); font-size: 14.5px; }
.how li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; font-weight: 700; }
.how strong { display: block; color: var(--ink); font-size: 15.5px; }
.zones { display: grid; gap: 14px; }
@media (min-width: 760px) { .zones { grid-template-columns: 1fr 1fr; } }
.zone-card { background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.zone-card li, .hours li, .recap-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.zone-card li:last-child { border-bottom: 0; }

/* --- Panier & formulaires --- */
.alert { background: #FDECEA; border: 1px solid #F3B8AF; color: #7A1E12; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.cart-empty { text-align: center; padding: 30px 0; }
.cart-lines { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.cart-line { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); }
.cl-info { flex: 1; display: flex; flex-direction: column; }
.cl-info small { color: var(--muted); }
.cl-price { font-weight: 700; color: var(--terra); margin-top: 2px; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--cream); border-radius: 999px; padding: 3px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--white); font-size: 18px; cursor: pointer; color: var(--ink); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; }

.checkout fieldset { border: 0; margin: 0 0 18px; padding: 16px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.checkout legend { float: left; width: 100%; font: 700 18px var(--serif); margin-bottom: 10px; padding: 0; }
.checkout label { display: block; font-weight: 500; font-size: 14.5px; margin-bottom: 12px; }
.checkout input[type=text], .checkout input[type=tel], .checkout input[type=date], .checkout input[type=time], .checkout input[type=number], .checkout input[type=password], .checkout select, .checkout textarea {
  display: block; width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); font: 16px var(--sans); color: var(--ink);
}
.checkout input[type=file] { display: block; width: 100%; margin-top: 6px; padding: 8px; border: 1px dashed var(--line); border-radius: 10px; background: var(--cream); font: 14.5px var(--sans); }
.consent-check { display: flex !important; gap: 10px; align-items: flex-start; margin-top: 10px; font-weight: 400 !important; }
.consent-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--terra); }
.courier-box { margin-bottom: 18px; }
.courier-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.courier-head h2, .courier-head p { margin: 0; }
.courier-notice { margin-top: 14px; }
.courier-fieldset { margin-bottom: 0 !important; background: var(--cream) !important; }
.checkout input:focus, .checkout select:focus, .checkout textarea:focus { outline: 2px solid var(--terra); outline-offset: 1px; border-color: transparent; }
.row2 { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; clear: both; }
.choice-col { flex-direction: column; }
.choice label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--terra); background: #FBE9DD; }
.choice input { accent-color: var(--terra); }
.checkout .check { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.checkout .check input { width: auto; accent-color: var(--terra); }
.field-warn { color: #B42318; font-size: 14px; margin: -4px 0 0; }
.totals { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; margin-bottom: 16px; }
.totals > div, .recap-lines .grand { display: flex; justify-content: space-between; padding: 5px 0; }
.totals .grand, .recap-lines .grand { font: 800 20px var(--serif); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; border-bottom: 0; }
.hint { font-size: 13.5px; color: var(--muted); }

/* --- Confirmation --- */
.confirm { background: var(--white); border-radius: var(--radius); padding: 24px 18px; box-shadow: var(--shadow); text-align: center; margin-bottom: 18px; }
.confirm-icon { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 30px; font-weight: 700; }
.pay-box, .recap { background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 18px; }
.pay-box { border-left: 4px solid var(--gold); }
.pay-box h2, .recap h2 { font-size: 20px; }

/* --- Pages texte --- */
.prose h2 { font-size: 21px; margin-top: 28px; }
.prose p { color: #4A3F38; }

/* --- Pied de page --- */
.site-footer { background: var(--ink); color: #D8CFC4; padding: 40px 0 90px; margin-top: 0; }
.site-footer h3 { color: #fff; font-size: 17px; }
.site-footer a { color: #F5C28A; }
.brand-light { color: #fff; margin-bottom: 10px; }
.muted-light { color: #B5A99C; font-size: 14.5px; }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer .plain li { padding: 3px 0; font-size: 14.5px; }
.site-footer .hours li { border-bottom-color: rgba(255,255,255,.1); padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 16px; font-size: 13px; color: #9C9086; }

/* --- Éléments flottants --- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(31,168,85,.4); }
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 84px 10px 16px; background: linear-gradient(to top, var(--cream) 70%, transparent); }
.cartbar-btn { width: 100%; justify-content: space-between; padding: .9em 1.3em; box-shadow: 0 8px 24px rgba(180,68,28,.35); }
@media (min-width: 760px) { .cartbar { left: auto; width: 420px; } }
.toast { position: fixed; left: 50%; top: 76px; transform: translate(-50%, -20px); opacity: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; z-index: 40; transition: .25s; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
