/* ==========================================================================
   La Cigale — feuille de style
   Palette : noir chaud du store, orange du tableau-menu, pierre de Bordeaux.
   ========================================================================== */

@font-face {
	font-family: "Lilita One";
	src: url("../fonts/lilita-one.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "DM Sans";
	src: url("../fonts/dm-sans.woff") format("woff");
	font-weight: 100 1000;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #16120f;
	--ink-2: #221c18;
	--ink-3: #2e2621;
	--cream: #fbf5ea;
	--stone: #efe6d3;
	--stone-2: #e3d5b8;
	--muted: #6f645a;
	--muted-dark: #b9ab9a;
	--accent: #f05a1a;
	--accent-deep: #c2410c;
	--accent-soft: #ffd9c2;
	--green: #2fb46a;
	--line-dark: rgba(251, 245, 234, .12);
	--line: rgba(22, 18, 15, .12);

	--font-display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 18px;
	--radius-sm: 10px;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font: 400 17px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0 0 .4em; letter-spacing: .005em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 760px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { flex: none; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .7em 1.35em;
	border: 2px solid transparent; border-radius: 999px;
	font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: .55em 1.1em; font-size: .93rem; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #ff6a2a; }
.btn-ghost { border-color: rgba(251, 245, 234, .55); color: var(--cream); background: rgba(22, 18, 15, .25); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(22, 18, 15, .45); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-3); }

/* ---------- En-tête ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(22, 18, 15, .96);
	color: var(--cream);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(22, 18, 15, .86); backdrop-filter: blur(10px); } }
.site-header.is-scrolled { border-color: var(--line-dark); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand, .custom-logo-link { display: inline-flex; color: var(--cream); text-decoration: none; margin-right: auto; }
.custom-logo { max-height: 48px; width: auto; }
.logo { width: 168px; height: auto; }
.logo-word { font-family: var(--font-display); font-size: 27px; fill: currentColor; letter-spacing: .02em; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .96rem; color: rgba(251, 245, 234, .82); }
.main-nav a:hover { color: var(--cream); background: rgba(251, 245, 234, .08); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--cream); white-space: nowrap; }
.header-phone .icon { color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(251, 245, 234, .08); color: var(--cream); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 980px) {
	.header-phone span { display: none; }
	.header-phone { width: 44px; height: 44px; justify-content: center; border-radius: 12px; background: rgba(251, 245, 234, .08); }
}
@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 auto 0;
		background: var(--ink); border-bottom: 1px solid var(--line-dark);
		padding: 8px var(--gutter) 20px;
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
	.main-nav ul { flex-direction: column; }
	.main-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line-dark); font-size: 1.1rem; }
	.header-actions .btn { display: none; }
	.logo { width: 148px; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate;
	min-height: min(88vh, 760px);
	display: flex; align-items: flex-end;
	color: var(--cream); background: var(--ink);
	overflow: hidden;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 50% 30%; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(22, 18, 15, .92) 0%, rgba(22, 18, 15, .72) 45%, rgba(22, 18, 15, .15) 100%),
		linear-gradient(0deg, rgba(22, 18, 15, .85) 0%, rgba(22, 18, 15, 0) 45%);
}
.hero-inner { padding-block: clamp(72px, 12vh, 140px) clamp(40px, 7vh, 72px); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; color: var(--accent-soft); margin-bottom: 18px; }
.kicker .icon { color: var(--accent); width: 18px; height: 18px; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); max-width: 11ch; margin-bottom: .3em; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hl { color: var(--accent); }
.hero-lead { max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(251, 245, 234, .88); margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: .95rem; }
.hero-facts a { text-decoration: none; color: rgba(251, 245, 234, .9); }
.hero-facts a:hover strong { color: var(--accent); }
.stars { color: #ffb21a; letter-spacing: .05em; }

.status-pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 14px 7px 12px; border-radius: 999px;
	background: rgba(251, 245, 234, .1); border: 1px solid var(--line-dark);
	font-weight: 600; font-size: .93rem;
}
.status-pill .icon { width: 18px; height: 18px; opacity: .7; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-dark); flex: none; }
.is-open .dot { background: var(--green); box-shadow: 0 0 0 4px rgba(47, 180, 106, .22); }
.is-closed .dot { background: #e5484d; }
.status-text { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Atouts ---------- */
.perks { background: var(--accent); color: var(--ink); }
.perks-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.perks-list li { padding: 22px 20px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid rgba(22, 18, 15, .16); }
.perks-list li:first-child { border-left: 0; padding-left: 0; }
.perks-list strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.1; }
.perks-list span { font-size: .93rem; opacity: .82; }
@media (max-width: 860px) {
	.perks-list { grid-template-columns: 1fr 1fr; }
	.perks-list li { padding: 18px 0; border-left: 0; border-top: 1px solid rgba(22, 18, 15, .16); }
	.perks-list li:nth-child(odd) { padding-right: 12px; }
	.perks-list li:nth-child(-n+2) { border-top: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 10vw, 112px); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-stone { background: var(--stone); }
.section-accent { background: var(--accent); color: var(--ink); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 5vw, 52px); }
.section-head-left { text-align: left; margin-inline: 0; }
.section-head h2 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--accent-deep); margin-bottom: 10px; }
.section-dark .eyebrow { color: var(--accent); }
.section-accent .eyebrow { color: var(--ink); opacity: .7; }
.section-lead { color: var(--muted-dark); font-size: 1.05rem; }
.section-lead strong { color: var(--cream); }

/* ---------- Carte ---------- */
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -12px 0 36px; }
.chips a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-dark); text-decoration: none; font-weight: 600; font-size: .95rem; color: rgba(251, 245, 234, .85); }
.chips a:hover { border-color: var(--accent); color: var(--cream); }

.menu-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.menu-card {
	grid-column: span 5;
	background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
	padding: clamp(22px, 3vw, 32px);
	display: flex; flex-direction: column;
	position: relative;
}
.menu-card::before { content: ""; position: absolute; inset: 8px; border: 2px solid rgba(240, 90, 26, .22); border-radius: calc(var(--radius) - 6px); pointer-events: none; }
.menu-card-wide { grid-column: span 7; grid-row: span 2; }
#c-sauces { grid-column: span 5; }
.menu-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.menu-title { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--cream); text-transform: uppercase; margin-bottom: .25em; }
.scribble { font-family: var(--font-display); color: var(--accent); transform: rotate(-4deg); font-size: 1.15rem; margin: 0; }
.menu-desc { color: var(--muted-dark); }
.menu-sub { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--accent); margin: 26px 0 12px; }
.menu-note { margin: 22px 0 0; padding-top: 16px; border-top: 1px dashed var(--line-dark); color: var(--muted-dark); font-size: .93rem; }

.formats { display: grid; gap: 10px; margin-bottom: 22px; }
.formats li { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--ink-3); }
.format-name { font-family: var(--font-display); font-size: 1.35rem; color: var(--accent); }
.format-note { font-size: .92rem; color: var(--muted-dark); }

.price-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.price-pair > div { display: flex; flex-direction: column; align-items: center; padding: 14px 10px; border-radius: var(--radius-sm); border: 2px solid rgba(251, 245, 234, .5); }
.price-pair > div.is-menu { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.price-single { grid-template-columns: 1fr; }
.price-label { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; opacity: .8; }
.price { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; white-space: nowrap; }

.tacos-table { margin-top: 6px; }
.tacos-table thead th { text-align: left; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--muted-dark); padding: 0 8px 10px; }
.tacos-table thead th:nth-child(n+3) { text-align: right; }
.tacos-table tbody tr { border-top: 1px solid var(--line-dark); }
.tacos-table th, .tacos-table td { padding: 12px 8px; }
.tacos-table td { color: var(--muted-dark); }
.tacos-table td.price { text-align: right; color: var(--cream); font-size: 1.45rem; }
.tacos-table td.price.is-menu { color: var(--accent); }
.size { font-family: var(--font-display); font-size: 2rem; color: var(--accent); line-height: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tags li { padding: 7px 13px; border-radius: 999px; background: var(--ink-3); font-size: .9rem; font-weight: 600; }
.tags li.is-veg { background: rgba(47, 180, 106, .16); color: #8fe0b1; }
.menu-card-wide .tags { margin-bottom: 0; }
.tags-sauce li { background: transparent; border: 1px solid var(--line-dark); text-transform: uppercase; letter-spacing: .04em; font-size: .82rem; }
.menu-disclaimer { margin: 28px 0 0; text-align: center; color: var(--muted-dark); font-size: .88rem; }

.tacos-table td { white-space: nowrap; }
@media (max-width: 480px) {
	.tacos-table th, .tacos-table td { padding: 10px 4px; font-size: .9rem; }
	.tacos-table td.price { font-size: 1.2rem; }
	.size { font-size: 1.6rem; }
}
@media (max-width: 900px) {
	.menu-card,.menu-card-wide, #c-sauces { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- La maison ---------- */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { margin: 0; position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 18px 18px 0 var(--accent); }
.split-text h2 { font-size: clamp(2.2rem, 5vw, 3.3rem); }
.split-text p { font-size: 1.06rem; color: #3d342d; }
.quote-fable { font-family: var(--font-display); font-size: 1.4rem !important; line-height: 1.25; color: var(--accent-deep) !important; margin-top: 24px; padding-left: 18px; border-left: 4px solid var(--accent); }
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; }
	.split-media { max-width: 440px; margin-right: 18px; }
}

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.reviews-score h2 { display: flex; align-items: baseline; gap: 4px; margin-bottom: 0; }
.big-score { font-size: clamp(5rem, 13vw, 8rem); line-height: .9; color: var(--accent); }
.out-of { font-size: 2rem; color: var(--muted); }
.stars-lg { font-size: 1.6rem; margin-bottom: 4px; }
.reviews-score > p:not(.eyebrow):not(.stars) { color: var(--muted); margin-bottom: 22px; }
.reviews-themes { display: grid; gap: 14px; }
.reviews-themes li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.reviews-themes h3 { font-size: 1.45rem; color: var(--ink); margin-bottom: .2em; }
.reviews-themes p { margin: 0; color: #4a4038; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Infos ---------- */
.infos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: stretch; }
.infos .section-head h2 { margin-bottom: .4em; }
.hours { margin: 8px 0 28px; }
.hours tr { border-bottom: 1px solid var(--line-dark); }
.hours th, .hours td { padding: 13px 10px; text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--muted-dark); }
.hours tr.is-today { background: rgba(240, 90, 26, .14); }
.hours tr.is-today th { color: var(--accent); font-weight: 700; }
.hours tr.is-today th::after { content: " · aujourd’hui"; font-weight: 500; font-size: .85rem; color: var(--muted-dark); }
.hours tr.is-today td { color: var(--cream); }
.contact-list { display: grid; gap: 12px; margin-bottom: 26px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { color: var(--accent); }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

.map { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-dark); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px;
	background:
		radial-gradient(circle at 50% 42%, rgba(240, 90, 26, .25), transparent 40%),
		repeating-linear-gradient(35deg, transparent 0 46px, rgba(251, 245, 234, .05) 46px 48px),
		repeating-linear-gradient(-55deg, transparent 0 70px, rgba(251, 245, 234, .05) 70px 73px),
		var(--ink-3);
}
.map-placeholder .icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 12px; }
.map-placeholder p { margin-bottom: 16px; }
.map-consent { font-size: .8rem; color: var(--muted-dark); margin: 14px 0 0 !important; max-width: 30ch; }
@media (max-width: 860px) {
	.infos { grid-template-columns: 1fr; }
	.map { min-height: 340px; }
}

/* ---------- Commander ---------- */
.section-accent .section-head h2 { color: var(--ink); }
.order-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.order-card {
	display: flex; flex-direction: column; gap: 4px;
	padding: 26px 24px; border-radius: var(--radius);
	background: var(--ink); color: var(--cream); text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}
.order-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(22, 18, 15, .3); }
.order-card > .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 12px; }
.order-kind { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--muted-dark); }
.order-card strong { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; }
.order-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .92rem; color: var(--accent-soft); }
.order-meta .icon { width: 16px; height: 16px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(251, 245, 234, .8); padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand .brand, .footer-brand .custom-logo-link { margin-bottom: 14px; }
.footer-title { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--accent); margin-bottom: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: .85rem; color: var(--muted-dark); }
.footer-legal p { margin: 0; }
.legal-links { display: flex; gap: 18px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Barre mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.mobile-bar {
		display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		background: rgba(22, 18, 15, .96); border-top: 1px solid var(--line-dark);
	}
	.mobile-bar a {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		min-height: 52px; border-radius: 12px; text-decoration: none;
		color: var(--cream); font-weight: 700; font-size: .78rem; background: rgba(251, 245, 234, .07);
	}
	.mobile-bar a.is-accent { background: var(--accent); color: var(--ink); }
}

/* ---------- Pages internes ---------- */
.page-content { min-height: 50vh; }
.entry + .entry { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.entry-title { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.entry-title a { text-decoration: none; }
.entry-content { font-size: 1.05rem; }
.entry-content a { color: var(--accent-deep); }
.entry-content h2 { font-size: 1.9rem; margin-top: 1.4em; }
.entry-content h3 { font-size: 1.4rem; margin-top: 1.2em; }
.entry-content ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.page-404 { text-align: center; }
