/* ==========================================================================
   L'Emporté — éléments de marque communs à tout le site
   (jetons de couleur, boutons, en-tête, pied de page)
   ========================================================================== */

:root {
	--le-green-deep: #2B3620;
	--le-green: #40522F;
	--le-green-soft: #6C7C52;
	--le-cream: #F6F1E4;
	--le-cream-card: #FBF8EF;
	--le-gold: #B4863A;
	--le-ink: #2A2A22;
	--le-ink-soft: #565046;

	--le-bg: var(--le-cream);
	--le-surface: var(--le-cream-card);
	--le-text: var(--le-ink);
	--le-text-soft: var(--le-ink-soft);
	--le-line: rgba(43, 54, 32, 0.14);
	--le-mark: var(--le-green-deep);
	--le-accent: var(--le-green);

	--le-admin-offset: 0px;
}

.admin-bar { --le-admin-offset: 32px; }
@media (max-width: 782px) { .admin-bar { --le-admin-offset: 46px; } }
@media (max-width: 600px) { .admin-bar { --le-admin-offset: 0px; } }

html { scroll-behavior: smooth; scroll-padding-top: calc(80px + var(--le-admin-offset)); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.le-skip {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 100;
	background: var(--le-green-deep);
	color: var(--le-cream) !important;
	padding: 10px 16px;
	border-radius: 3px;
}
.le-skip:focus { top: 12px; }

.le-wrap {
	max-width: 1160px;
	margin: 0 auto;
	padding-left: clamp(16px, 5vw, 56px);
	padding-right: clamp(16px, 5vw, 56px);
}

/* ---------- Boutons ---------- */
.le-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: 3px;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .15s, color .15s, border-color .15s;
}
.le-btn-primary { background: var(--le-green-deep); color: var(--le-cream) !important; }
.le-btn-primary:hover { background: var(--le-green); }
.le-btn-line { border-color: var(--le-text); color: var(--le-text); }
.le-btn-line:hover { background: var(--le-text); color: var(--le-bg) !important; }
.le-btn-on-dark { border-color: rgba(246,241,228,0.4); color: var(--le-cream) !important; }
.le-btn-on-dark:hover { background: var(--le-cream); color: var(--le-green-deep) !important; }
.le-btn-gold { background: var(--le-gold); color: #1F1A10 !important; }
.le-btn-gold:hover { background: #C6994C; }
.le-btn-small { padding: 8px 16px; font-size: 0.82rem; }
.le-btn:focus-visible,
.le-nav a:focus-visible,
.le-cart:focus-visible,
.le-nav-toggle:focus-visible { outline: 2px solid var(--le-gold); outline-offset: 2px; }


/* ---------- En-tête ---------- */
.le-header {
	position: sticky;
	top: var(--le-admin-offset);
	z-index: 40;
	background: var(--le-bg);
	border-bottom: 1px solid var(--le-line);
}
.le-nav-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px clamp(16px, 5vw, 56px);
	gap: 24px;
	max-width: 1400px;
	margin: 0 auto;
}
.le-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	flex-shrink: 0;
}
.le-brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.le-brand-logo { max-height: 52px; width: auto; }
.le-brand-name {
	font-family: "Fraunces", Georgia, serif;
	font-style: italic;
	font-weight: 500;
	font-size: 1.4rem;
	color: var(--le-text);
	line-height: 1;
}
.le-brand-sub {
	display: block;
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--le-gold);
	margin-top: 3px;
	font-weight: 600;
}
.le-nav-list {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.le-nav-list a {
	text-decoration: none;
	font-size: 0.95rem;
	color: var(--le-text-soft);
}
.le-nav-list a:hover { color: var(--le-text); }
.le-nav-actions { display: flex; align-items: center; gap: 14px; }
.le-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	color: var(--le-text);
	text-decoration: none;
}
.le-cart-count {
	position: absolute;
	top: 2px; right: 0;
	min-width: 18px; height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--le-gold);
	color: #1F1A10;
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
}
.le-nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	color: var(--le-text);
	cursor: pointer;
}


/* ---------- Pied de page ---------- */
.le-footer {
	background: var(--le-green-deep);
	color: rgba(246,241,228,0.85);
	padding: 64px 0 calc(32px + env(safe-area-inset-bottom, 0px));
}
.le-foot-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
	gap: 36px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(246,241,228,0.16);
}
.le-foot-brand .le-brand-name { color: var(--le-cream); }
.le-foot-brand p { font-size: 0.9rem; margin: 14px 0 0; color: rgba(246,241,228,0.68); max-width: 32ch; }
.le-footer .le-foot-col h2 {
	font-family: "Work Sans", sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--le-gold);
	font-weight: 600;
	margin: 0 0 16px;
}
.le-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9rem; }
.le-foot-col a,
.le-foot-col address { color: rgba(246,241,228,0.8); text-decoration: none; font-style: normal; }
.le-foot-col a:hover { color: var(--le-cream); }
.le-hours-day { display: inline-block; min-width: 88px; }
.le-foot-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 26px;
	font-size: 0.8rem;
	color: rgba(246,241,228,0.55);
	flex-wrap: wrap;
	gap: 12px;
}


/* Neutralise les styles génériques d'Astra dans l'en-tête et le pied de page */
.le-header, .le-footer { font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
.le-header *, .le-footer *, .le-btn { box-sizing: border-box; }
.le-header ul, .le-footer ul { margin: 0; padding: 0; }
.le-header li, .le-footer li { margin: 0; }
.le-header a, .le-footer a { box-shadow: none; }
.le-header .le-nav-toggle,
.le-header .le-nav-toggle:hover,
.le-header .le-nav-toggle:focus { background: none; border: 0; box-shadow: none; color: var(--le-text); }
.le-footer p { margin-bottom: 0; }
.le-footer .le-foot-col h2 { line-height: 1.3; }

/* ---------- Responsive (en-tête / pied) ---------- */
@media (max-width: 920px) {
	.le-hide-mobile { display: none !important; }
	.le-nav-toggle { display: inline-flex; }
	.le-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		background: var(--le-bg);
		border-bottom: 1px solid var(--le-line);
		padding: 8px clamp(16px, 5vw, 56px) 18px;
	}
	.le-nav.is-open { display: block; }
	.le-nav-list { flex-direction: column; gap: 0; }
	.le-nav-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--le-line); font-size: 1rem; }
	.le-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.le-nav-row { gap: 12px; }
	.le-brand-sub { display: none; }
	.le-nav-actions { gap: 6px; }
	.le-foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.le-btn { transition: none; }
}
