/* JC Tao : feuille de style du site (mobile d'abord, rupture à 1024 px). */

@font-face {
	font-family: "Young Serif";
	src: url(../fonts/young-serif-latin-400.woff2) format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: Figtree;
	src: url(../fonts/figtree-latin-variable.woff2) format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--jc-accent: #D3121A;
	--jc-ink: #1C1A17;
	--jc-cream: #F4EEE4;
	--jc-bg: #D6CAB6;
	--jc-surface: #E4DACA;
	--jc-chip: #C8BAA3;
	--jc-line: #B8A98F;
	--jc-chip-border: #A89880;
	--jc-muted: #4A4238;
	--jc-dark: #2A2420;
	--jc-dark-2: #3A322C;
	--jc-dark-line: #4A4038;
	--jc-dark-muted: #BDB09D;
	--jc-today: #E8CDBE;
	--jc-open: #2F7D4F;
	--jc-closed: #9A8F80;
	--jc-serif: "Young Serif", Georgia, serif;
	--jc-sans: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
	--jc-bar: calc(84px + env(safe-area-inset-bottom, 0px));
	--jc-hatch: repeating-linear-gradient(135deg, #C8BAA3 0 10px, #BEAF97 10px 20px);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	padding-bottom: var(--jc-bar);
	font-family: var(--jc-sans);
	font-size: 16px;
	line-height: 1.5;
	color: var(--jc-ink);
	background: var(--jc-bg);
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--jc-ink); }
a:hover { color: var(--jc-accent); }
h1, h2, h3, p, ul, dl, dd, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--jc-accent); outline-offset: 2px; border-radius: 4px; }
.jc-header :focus-visible, .jc-hero :focus-visible, .jc-footer :focus-visible, .jc-callbar :focus-visible { outline-color: var(--jc-cream); }
main:focus { outline: none; }
.jc-ico { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.jc-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.jc-skip {
	position: absolute;
	top: -80px;
	left: 12px;
	z-index: 100;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--jc-cream);
	color: var(--jc-ink);
	font-weight: 700;
}
.jc-skip:focus { top: 12px; }
.tabular, .jc-combo__amount, .jc-combo__extras dd, .jc-chip__price, .jc-item__price, .jc-hours dd { font-variant-numeric: tabular-nums; }

/* ---------- Boutons ---------- */

.jc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border-radius: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: filter .15s, background-color .15s;
}
.jc-btn--accent { background: var(--jc-accent); color: #FFF; }
.jc-btn--accent:hover { color: #FFF; filter: brightness(1.08); }
.jc-btn--cream { background: var(--jc-cream); color: var(--jc-ink); }
.jc-btn--cream:hover { color: var(--jc-ink); background: #FFF; }
.jc-btn--ghost { border: 1.5px solid var(--jc-cream); color: var(--jc-cream); }
.jc-btn--ghost:hover { color: var(--jc-ink); background: var(--jc-cream); }
.jc-btn--outline { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--jc-ink); border-radius: 12px; font-weight: 600; }
.jc-btn--outline:hover { color: var(--jc-cream); background: var(--jc-ink); }

/* ---------- En-tête ---------- */

.jc-header { background: var(--jc-dark); color: var(--jc-cream); }
.jc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 16px 16px 8px;
}
.jc-header__logo { display: flex; align-items: center; flex-shrink: 0; border-radius: 50%; }
.jc-header__img { width: 48px; height: 48px; }
.jc-header__right { display: flex; align-items: center; gap: 28px; min-width: 0; }
.jc-header__links, .jc-header__call { display: none; }
.jc-header__links { gap: 28px; font-size: 15px; font-weight: 600; }
.jc-header__links a { color: var(--jc-cream); text-decoration: none; }
.jc-header__links a:hover { color: #FFF; text-decoration: underline; text-underline-offset: 4px; }
.jc-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border: 1px solid var(--jc-dark-line);
	border-radius: 999px;
	background: var(--jc-dark-2);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}
.jc-status__dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--jc-closed); }
.jc-status.is-open .jc-status__dot { background: var(--jc-open); }

/* ---------- Hero ---------- */

.jc-hero { background: var(--jc-dark); color: var(--jc-cream); }
.jc-hero__inner { max-width: 1440px; margin: 0 auto; padding: 16px 16px 26px; }
.jc-hero__text { display: flex; flex-direction: column; gap: 14px; }
.jc-hero__kicker {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--jc-dark-muted);
}
.jc-hero__title {
	font-family: var(--jc-serif);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.12;
	letter-spacing: -.01em;
	text-wrap: balance;
}
.jc-perks { display: flex; flex-wrap: wrap; gap: 8px; }
.jc-perk {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--jc-dark-2);
	font-size: 14px;
	font-weight: 500;
}
.jc-hero__ctas, .jc-today { display: none; }

/* ---------- Catégories ---------- */

.jc-cats {
	position: sticky;
	top: 0;
	z-index: 5;
	background: var(--jc-bg);
	border-bottom: 1px solid var(--jc-line);
}
.jc-cats__label { display: none; }
.jc-cats__list {
	position: relative;
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 10px 16px;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.jc-cats__list::-webkit-scrollbar { display: none; }
.jc-cats__list li { flex-shrink: 0; }
.jc-cat {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--jc-chip-border);
	border-radius: 999px;
	color: var(--jc-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.jc-cat:hover { color: var(--jc-ink); border-color: var(--jc-ink); }
.jc-cat.is-active { background: var(--jc-ink); border-color: var(--jc-ink); color: var(--jc-cream); }

/* ---------- Sections ---------- */

.jc-section {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px 16px 8px;
	scroll-margin-top: 66px;
}
.jc-section--liste { gap: 2px; }
.jc-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--jc-ink);
}
.jc-section__title { font-family: var(--jc-serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.jc-section__count { font-size: 13px; color: var(--jc-muted); white-space: nowrap; }
.jc-section__note { font-size: 14px; line-height: 1.45; color: var(--jc-muted); }
.jc-section--liste .jc-section__note { padding-top: 10px; }

/* Combos */
.jc-combos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.jc-combo {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--jc-line);
	border-radius: 16px;
	background: var(--jc-surface);
}
.jc-combo__img { width: 100%; height: 200px; object-fit: cover; background: var(--jc-hatch); }
.jc-combo__body { display: flex; flex-direction: column; flex-grow: 1; gap: 14px; padding: 16px; }
.jc-combo__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.jc-combo__title { font-family: var(--jc-serif); font-weight: 400; font-size: 20px; line-height: 1.2; }
.jc-combo__price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.jc-combo__amount { font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--jc-accent); white-space: nowrap; }
.jc-combo__portion { font-size: 12px; color: var(--jc-muted); }
.jc-combo__list { display: flex; flex-direction: column; flex-grow: 1; gap: 6px; }
.jc-combo__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.jc-combo__list li::before {
	content: "";
	flex-shrink: 0;
	width: 5px;
	height: 5px;
	margin-top: 9px;
	border-radius: 50%;
	background: var(--jc-ink);
}
.jc-combo__extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.jc-combo__extras.is-single { grid-template-columns: minmax(0, 1fr); }
.jc-combo__extras div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--jc-bg); }
.jc-combo__extras dt { font-size: 12px; color: var(--jc-muted); }
.jc-combo__extras dd { font-size: 16px; font-weight: 700; }

/* Listes */
.jc-items { display: flex; flex-direction: column; }
.jc-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--jc-line);
}
.jc-item__main { display: flex; flex-direction: column; flex-grow: 1; gap: 8px; min-width: 0; }
.jc-item__name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.jc-item__desc { margin-top: -4px; font-size: 14px; color: var(--jc-muted); }
.jc-item__price { font-size: 16px; font-weight: 700; white-space: nowrap; }
.jc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jc-chip {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--jc-chip);
	font-size: 13px;
}
.jc-chip__label { color: #3A332C; }
.jc-chip__price { font-weight: 700; white-space: nowrap; }

/* ---------- Infos pratiques ---------- */

.jc-infos { padding-top: 36px; }
.jc-infos__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.jc-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--jc-line);
	border-radius: 16px;
	background: var(--jc-surface);
}
.jc-card__title { display: flex; align-items: center; gap: 10px; font-family: var(--jc-serif); font-weight: 400; font-size: 20px; }
.jc-card__phone { font-family: var(--jc-serif); font-size: 30px; line-height: 1.2; text-decoration: none; }
.jc-card__rows { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.45; }
.jc-card__row { display: flex; gap: 10px; min-width: 0; }
.jc-card__row .jc-ico { margin-top: 2px; }
.jc-card__row a { overflow-wrap: anywhere; }
.jc-note { padding: 10px 12px; border-radius: 10px; background: var(--jc-today); font-size: 14px; font-weight: 600; line-height: 1.4; }
.jc-hours { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.jc-hours__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
}
.jc-hours__row.is-today { background: var(--jc-today); font-weight: 700; }
.jc-hours dt { display: flex; flex-direction: column; gap: 2px; }
.jc-hours dd { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.jc-hours__tag { display: none; font-size: 12px; font-weight: 600; }
.is-today .jc-hours__tag { display: block; }
.jc-address { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.5; }
.jc-address__street { font-weight: 600; }
.jc-address__hint { color: var(--jc-muted); }
.jc-map {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 150px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--jc-hatch);
}
.jc-map__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--jc-cream);
	color: var(--jc-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(28, 26, 23, .2);
}
.jc-map__note { font-size: 12px; font-weight: 600; color: var(--jc-muted); }
.jc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Pied de page ---------- */

.jc-footer { margin-top: 28px; background: var(--jc-dark); color: var(--jc-dark-muted); font-size: 13px; line-height: 1.5; }
.jc-footer__inner { display: flex; flex-direction: column; gap: 10px; max-width: 1440px; margin: 0 auto; padding: 28px 16px; }
.jc-footer__logo { width: 88px; height: auto; margin-bottom: 10px; }
.jc-footer a { color: var(--jc-dark-muted); }
.jc-footer a:hover { color: var(--jc-cream); }

/* ---------- Barre d'appel (cellulaire) ---------- */

.jc-callbar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
	display: flex;
	gap: 8px;
	padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--jc-dark-line);
	background: var(--jc-dark);
}
.jc-callbar__call {
	display: flex;
	flex-grow: 1;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	border-radius: 14px;
	background: var(--jc-accent);
	color: #FFF;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}
.jc-callbar__call:hover { color: #FFF; }
.jc-callbar__map {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1.5px solid var(--jc-cream);
	border-radius: 14px;
	color: var(--jc-cream);
}
.jc-callbar__map:hover { color: var(--jc-ink); background: var(--jc-cream); }

/* ---------- Pages de repli ---------- */

.jc-page { max-width: 760px; margin: 0 auto; padding: 40px 16px 24px; }
.jc-page__title { margin-bottom: 20px; font-family: var(--jc-serif); font-weight: 400; font-size: 36px; line-height: 1.15; }
.jc-page__content > * + * { margin-top: 1em; }

/* ---------- 640 px : combos sur 2 colonnes ---------- */

@media (min-width: 640px) {
	.jc-combos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Barre d'administration WordPress (utilisateurs connectés seulement). */
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .jc-cats { top: 46px; } }
@media (min-width: 783px) and (max-width: 1023px) { .admin-bar .jc-cats { top: 32px; } }

/* ---------- 1024 px : ordinateur ---------- */

@media (min-width: 1024px) {
	body { padding-bottom: 0; }
	.jc-callbar { display: none; }

	.jc-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--jc-dark-line); }
	.jc-header__inner { height: 76px; padding: 0 56px; gap: 24px; }
	.jc-header__img { width: 56px; height: 56px; }
	.jc-header__links { display: flex; }
	.jc-header__call { display: inline-flex; min-height: 44px; padding: 0 18px; border-radius: 12px; }
	.admin-bar .jc-header { top: 32px; }

	.jc-hero { margin-bottom: 48px; }
	.jc-hero__inner { display: flex; align-items: stretch; gap: 56px; padding: 64px 56px; }
	.jc-hero__text { flex-grow: 1; justify-content: center; gap: 22px; max-width: 760px; }
	.jc-hero__kicker { font-size: 13px; letter-spacing: .12em; }
	.jc-hero__title { font-size: 60px; line-height: 1.05; letter-spacing: -.015em; }
	.jc-perks { gap: 10px; }
	.jc-hero__ctas { display: flex; gap: 12px; margin-top: 6px; }
	.jc-today {
		display: flex;
		flex-direction: column;
		flex-shrink: 0;
		gap: 20px;
		width: 400px;
		margin-left: auto;
		padding: 28px;
		border: 1px solid var(--jc-line);
		border-radius: 20px;
		background: var(--jc-surface);
		color: var(--jc-ink);
	}
	.jc-today :focus-visible { outline-color: var(--jc-accent); }
	.jc-today__head { display: flex; flex-direction: column; gap: 6px; }
	.jc-today__kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--jc-muted); }
	.jc-today__hours { font-family: var(--jc-serif); font-size: 24px; line-height: 1.25; }
	.jc-today__rule { height: 1px; background: var(--jc-line); }
	.jc-today__row { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
	.jc-today__link { font-size: 15px; font-weight: 600; }

	.jc-layout {
		display: grid;
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 64px;
		align-items: start;
		max-width: 1440px;
		margin: 0 auto;
		padding: 0 56px 72px;
	}
	.jc-cats { top: 108px; display: flex; flex-direction: column; gap: 18px; background: none; border: 0; }
	.admin-bar .jc-cats { top: 140px; }
	.jc-cats__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--jc-muted); }
	.jc-cats__list { flex-direction: column; gap: 4px; overflow: visible; padding: 0; }
	.jc-cat { display: flex; min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; font-size: 15px; }
	.jc-cat:hover { background: var(--jc-surface); }
	.jc-cat.is-active:hover { background: var(--jc-ink); color: var(--jc-cream); }

	.jc-main { display: flex; flex-direction: column; gap: 64px; min-width: 0; }
	.jc-section { gap: 18px; padding: 0; scroll-margin-top: 100px; }
	.jc-section--liste { gap: 6px; }
	.jc-section__title { font-size: 36px; }
	.jc-section__note { font-size: 15px; }
	.jc-combos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.jc-combo__title { font-size: 22px; }
	.jc-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
	.jc-infos { padding-top: 0; }
	.jc-infos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

	.jc-footer { margin-top: 0; }
	.jc-footer__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding: 32px 56px 48px; }
	.jc-footer__logo { width: 110px; margin: 0; flex-shrink: 0; }
	.jc-footer__mention { flex-grow: 1; max-width: 640px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.jc-btn { transition: none; }
}
