/* ==========================================================================
   La Boulangerie de la Vallée — thème enfant UnderStrap (Bootstrap 5).
   Charte « claire & chaleureuse », mobile-first, accessible (WCAG 2.1 AA).
   Surcharge des variables Bootstrap (--bs-*) + tokens --blv-*. Pas de SASS.
   ========================================================================== */

/* ---- Polices auto-hébergées (woff2, sous-ensemble latin) ---- */
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/fraunces-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/fraunces-700.woff2') format('woff2');
}
@font-face {
	font-family: 'Nunito Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/nunito-sans-400.woff2') format('woff2');
}
@font-face {
	font-family: 'Nunito Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/nunito-sans-600.woff2') format('woff2');
}

/* ---- Tokens ---- */
:root {
	color-scheme: light;

	--blv-bg: #FBF6EC;
	--blv-surface: #FFFFFF;
	--blv-surface-2: #F3E9D6;
	--blv-text: #3A2A1E;
	--blv-muted: #6B5544;
	--blv-heading: #5A3A22;
	--blv-accent: #C8922A;
	--blv-accent-ink: #8A5A12;
	--blv-cta: #A23B23;
	--blv-cta-hover: #8A2F1A;
	--blv-on-accent: #FFFFFF;
	--blv-link: #A23B23;
	--blv-link-hover: #8A2F1A;
	--blv-border: rgba(58, 42, 30, .14);
	--blv-danger: #B3261E;
	--blv-success: #2E6B3E;
	--blv-shadow: 0 10px 30px rgba(58, 42, 30, .08);
	--blv-radius: .7rem;
	--blv-nav-h: 74px;

	--blv-font-title: 'Fraunces', Georgia, 'Times New Roman', serif;
	--blv-font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

	/* Bootstrap overrides */
	--bs-body-bg: var(--blv-bg);
	--bs-body-color: var(--blv-text);
	--bs-body-font-family: var(--blv-font-body);
	--bs-body-line-height: 1.7;
	--bs-heading-color: var(--blv-heading);
	--bs-emphasis-color: var(--blv-heading);
	--bs-primary: var(--blv-cta);
	--bs-primary-rgb: 162, 59, 35;
	--bs-link-color: var(--blv-link);
	--bs-link-color-rgb: 162, 59, 35;
	--bs-link-hover-color: var(--blv-link-hover);
	--bs-border-color: var(--blv-border);
	--bs-border-radius: var(--blv-radius);
	--bs-border-radius-lg: 1rem;

	accent-color: var(--blv-accent);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--blv-nav-h) + 8px);
}
html, body {
	overflow-x: clip;
}
body {
	background: var(--blv-bg);
	color: var(--blv-text);
	font-family: var(--blv-font-body);
	line-height: 1.7;
	font-size-adjust: 0.5;
}

/* ---- Typographie ---- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--blv-font-title);
	color: var(--blv-heading);
	font-weight: 700;
	line-height: 1.18;
	font-size-adjust: 0.5;
}
h1, .h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); letter-spacing: -.01em; }
h2, .h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.1rem); }
h3, .h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); }
p { line-height: 1.75; }
.lead { font-size: 1.15rem; line-height: 1.6; color: var(--blv-text); }
a { color: var(--blv-link); text-underline-offset: .15em; }
a:hover { color: var(--blv-link-hover); }
strong { color: inherit; }
.blv-muted { color: var(--blv-muted) !important; }

/* ---- Focus visible (clavier) ---- */
:focus-visible {
	outline: 3px solid var(--blv-cta);
	outline-offset: 2px;
	border-radius: 3px;
}
a:focus-visible, .btn:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 3px solid var(--blv-cta);
	outline-offset: 2px;
}

/* ---- Lien d'évitement (skip link) ---- */
.skip-link.screen-reader-text:focus,
a.screen-reader-text:focus {
	background: var(--blv-surface);
	color: var(--blv-cta);
	border: 2px solid var(--blv-cta);
	border-radius: 6px;
	padding: .6rem 1rem;
	z-index: 100000;
	font-weight: 600;
}

/* ---- Boutons ---- */
.btn-blv, .btn-blv-outline, .btn-blv-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 44px;
	padding: .65rem 1.35rem;
	font-weight: 600;
	border-radius: 999px;
	border: 2px solid transparent;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
	text-decoration: none;
}
.btn-blv {
	background: var(--blv-cta);
	color: var(--blv-on-accent);
}
.btn-blv:hover, .btn-blv:focus {
	background: var(--blv-cta-hover);
	color: var(--blv-on-accent);
	transform: translateY(-1px);
}
.btn-blv-outline {
	background: transparent;
	color: var(--blv-cta);
	border-color: var(--blv-cta);
}
.btn-blv-outline:hover, .btn-blv-outline:focus {
	background: var(--blv-cta);
	color: var(--blv-on-accent);
}
.btn-blv-ghost {
	background: var(--blv-surface);
	color: var(--blv-cta);
	border-color: var(--blv-border);
}
.btn-blv-ghost:hover, .btn-blv-ghost:focus {
	background: var(--blv-surface-2);
	color: var(--blv-cta-hover);
	border-color: var(--blv-cta);
}
.btn-blv .blv-icon, .btn-blv-outline .blv-icon, .btn-blv-ghost .blv-icon { width: 1.2em; height: 1.2em; }

/* ---- Icônes ---- */
.blv-icon { width: 1.25em; height: 1.25em; vertical-align: middle; flex: 0 0 auto; }
.blv-icon-lg { width: 40px; height: 40px; }

/* ---- Navbar ---- */
#wrapper-navbar {
	position: sticky;
	top: 0;
	z-index: 1030;
}
#main-nav.navbar {
	background: rgba(255, 251, 243, .92);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid var(--blv-border);
	min-height: var(--blv-nav-h);
	padding-top: .5rem;
	padding-bottom: .5rem;
}
.blv-logotype {
	font-family: var(--blv-font-title);
	font-weight: 700;
	font-size: 1.18rem;
	color: var(--blv-heading);
	line-height: 1.1;
}
#main-nav .navbar-brand { color: var(--blv-heading); }
#main-nav .navbar-brand.custom-logo-link img,
#main-nav .navbar-brand img { height: 52px; width: auto; }
#main-nav .navbar-nav .nav-link {
	color: var(--blv-heading);
	font-weight: 600;
	padding: .5rem .85rem;
	border-radius: 6px;
}
#main-nav .navbar-nav .nav-link:hover,
#main-nav .navbar-nav .nav-link:focus { color: var(--blv-cta); }
#main-nav .navbar-nav .current-menu-item > .nav-link,
#main-nav .navbar-nav .nav-link[aria-current="page"] {
	color: var(--blv-cta);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
.navbar-cta { margin-left: .6rem; }
.navbar-cta .blv-icon { width: 1.1em; height: 1.1em; }
.navbar-light .navbar-toggler { border-color: var(--blv-border); color: var(--blv-heading); }

/* ---- Section titles ---- */
.section-title { margin-bottom: 2.5rem; }
.eyebrow {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .8rem;
	font-weight: 700;
	color: var(--blv-accent-ink);
	margin-bottom: .35rem;
}
.section-title h2 { margin-bottom: .5rem; }
.section-lead { color: var(--blv-muted); max-width: 46ch; margin: .8rem auto 0; }
.accent-bar {
	display: block;
	width: 64px;
	height: 4px;
	border-radius: 4px;
	margin: .75rem auto 0;
	background: linear-gradient(90deg, var(--blv-accent), var(--blv-cta));
}
.accent-bar--left { margin-left: 0; }

/* ---- Hero ---- */
.blv-hero {
	position: relative;
	isolation: isolate;
	padding: calc(var(--blv-nav-h) - 30px + 3rem) 0 3.5rem;
	background:
		radial-gradient(120% 120% at 100% 0%, rgba(200, 146, 42, .16), transparent 55%),
		linear-gradient(160deg, #FFF7EA 0%, var(--blv-bg) 60%, var(--blv-surface-2) 100%);
}
.blv-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}
.blv-hero-bg picture { display: contents; }
.blv-hero-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}
.blv-hero.has-img::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(251, 246, 236, .92) 0%, rgba(251, 246, 236, .78) 42%, rgba(251, 246, 236, .42) 100%),
		linear-gradient(0deg, rgba(251, 246, 236, .85), rgba(251, 246, 236, .25));
}
.blv-hero > .container { position: relative; z-index: 2; }
.blv-hero h1 { margin-bottom: .25rem; }
.blv-hero-kicker {
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 700;
	font-size: .85rem;
	color: var(--blv-accent-ink);
	margin-bottom: .5rem;
}
.blv-hero .lead { max-width: 48ch; }
.blv-hero-text { max-width: 54ch; color: var(--blv-text); }
.blv-hero-today {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	flex-wrap: wrap;
	margin-top: 1.25rem;
	padding: .55rem .95rem;
	background: var(--blv-surface);
	border: 1px solid var(--blv-border);
	border-left: 4px solid var(--blv-success);
	border-radius: var(--blv-radius);
	box-shadow: var(--blv-shadow);
	font-weight: 600;
	color: var(--blv-text);
}
.blv-hero-today.is-closed { border-left-color: var(--blv-danger); }
.blv-hero-today .blv-icon { color: var(--blv-accent-ink); }
.blv-hero-today a { font-weight: 600; }
.blv-hero-actions { gap: .75rem; }

/* ---- Cartes spécialités ---- */
.blv-card {
	display: flex;
	flex-direction: column;
	background: var(--blv-surface);
	border: 1px solid var(--blv-border);
	border-radius: var(--bs-border-radius-lg);
	overflow: hidden;
	box-shadow: var(--blv-shadow);
	transition: transform .18s ease, box-shadow .18s ease;
}
.blv-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(58, 42, 30, .12); }
.blv-card-media { aspect-ratio: 4 / 3; }
.blv-card-media img, .blv-card-media picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.blv-card-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 96px;
	color: var(--blv-cta);
	background: linear-gradient(160deg, #FFF7EA, var(--blv-surface-2));
}
.blv-card-body { padding: 1.1rem 1.25rem 1.35rem; }
.blv-card-body h3 { margin-bottom: .4rem; }
.blv-card-body p { color: var(--blv-muted); margin-bottom: .5rem; }
.blv-card-link { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.blv-card-link .blv-icon { width: 1.1em; height: 1.1em; }

/* ---- À propos ---- */
.blv-apropos { background: linear-gradient(180deg, var(--blv-bg), #FFF8EC); }
.blv-prose :where(h2, h3) { margin-top: 1.6rem; }
.blv-prose p { color: var(--blv-text); }
.blv-checklist { list-style: none; margin: 0; padding: 0; }
.blv-checklist li {
	display: flex;
	align-items: flex-start;
	gap: .65rem;
	padding: .65rem 0;
	border-bottom: 1px dashed var(--blv-border);
	font-weight: 600;
}
.blv-checklist li:last-child { border-bottom: 0; }
.blv-checklist .blv-icon { color: var(--blv-success); margin-top: .1rem; }

/* ---- Panels (horaires / contact) ---- */
.blv-panel {
	background: var(--blv-surface);
	border: 1px solid var(--blv-border);
	border-radius: var(--bs-border-radius-lg);
	padding: 1.6rem 1.6rem 1.75rem;
	box-shadow: var(--blv-shadow);
}
.blv-panel h3 { display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem; }
.blv-panel h3 .blv-icon { color: var(--blv-cta); }

/* ---- Horaires ---- */
.blv-hours { margin: 0; }
.blv-hours-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .5rem .35rem;
	border-bottom: 1px solid var(--blv-border);
}
.blv-hours-row:last-child { border-bottom: 0; }
.blv-hours-row dt { font-weight: 600; margin: 0; display: flex; align-items: center; gap: .5rem; }
.blv-hours-row dd { margin: 0; color: var(--blv-text); }
.blv-hours-row.is-closed dd { color: var(--blv-muted); }
.blv-hours-row.is-today {
	background: #FFF7EA;
	border-radius: 6px;
	border-bottom-color: transparent;
}
.blv-today-badge {
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--blv-on-accent);
	background: var(--blv-success);
	border-radius: 999px;
	padding: .08rem .5rem;
}
.blv-hours-row.is-today.is-closed .blv-today-badge { background: var(--blv-danger); }
.blv-hours-note { margin-top: 1rem; margin-bottom: 0; color: var(--blv-muted); font-size: .9rem; }

/* ---- Adresse / carte façade ---- */
.blv-address { margin-bottom: 1.1rem; line-height: 1.6; font-style: normal; }
.blv-map-facade {
	position: relative;
	width: 100%;
	min-height: 280px;
	border: 1px solid var(--blv-border);
	border-radius: var(--blv-radius);
	overflow: hidden;
	background: linear-gradient(160deg, #FFF7EA, var(--blv-surface-2));
}
.blv-map-inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: .5rem;
	padding: 1.5rem;
}
.blv-map-inner .blv-icon { color: var(--blv-cta); }
.blv-map-addr { margin: 0; font-weight: 600; }
.blv-map-iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }
.blv-itineraire { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 600; }
.blv-itineraire .blv-icon { width: 1.1em; height: 1.1em; }

/* ---- Services pratiques ---- */
.blv-services { background: linear-gradient(180deg, #FFF8EC, var(--blv-bg)); }
.blv-service {
	text-align: center;
	background: var(--blv-surface);
	border: 1px solid var(--blv-border);
	border-radius: var(--bs-border-radius-lg);
	padding: 1.6rem 1.25rem;
	box-shadow: var(--blv-shadow);
	height: 100%;
}
.blv-service-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: .9rem;
	border-radius: 50%;
	color: var(--blv-cta);
	background: linear-gradient(160deg, #FFF1DA, var(--blv-surface-2));
}
.blv-service h3 { margin-bottom: .4rem; }
.blv-service p { color: var(--blv-muted); margin-bottom: 0; }

/* ---- Bandeau CTA ---- */
.blv-cta-band { padding: 1rem 0 3rem; }
.blv-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 2.25rem 2.5rem;
	border-radius: 1.25rem;
	background:
		radial-gradient(120% 140% at 0% 0%, rgba(200, 146, 42, .22), transparent 60%),
		linear-gradient(135deg, #FFF1DA, var(--blv-surface-2));
	border: 1px solid var(--blv-border);
	box-shadow: var(--blv-shadow);
}
.blv-cta-copy h2 { margin-bottom: .35rem; }
.blv-cta-copy p { color: var(--blv-muted); }
.blv-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---- Avis (Google / clients) ---- */
.blv-avis { background: linear-gradient(180deg, var(--blv-bg), #FFF8EC); }
.blv-stars { display: inline-flex; gap: .08rem; color: var(--blv-accent); line-height: 1; }
.blv-stars .blv-icon { width: 1.1em; height: 1.1em; }
.blv-rating-badge {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	flex-wrap: wrap;
	justify-content: center;
	margin: 1rem auto 0;
	padding: .5rem 1rem;
	background: var(--blv-surface);
	border: 1px solid var(--blv-border);
	border-radius: 999px;
	box-shadow: var(--blv-shadow);
	font-weight: 600;
	color: var(--blv-text);
}
.blv-rating-badge .blv-stars { font-size: 1.1rem; }
.blv-review {
	display: flex;
	flex-direction: column;
	margin: 0;
	background: var(--blv-surface);
	border: 1px solid var(--blv-border);
	border-radius: var(--bs-border-radius-lg);
	padding: 1.5rem;
	box-shadow: var(--blv-shadow);
}
.blv-review > .blv-stars { font-size: 1.05rem; margin-bottom: .75rem; }
.blv-review blockquote { margin: 0 0 1rem; color: var(--blv-text); font-style: italic; quotes: "\00AB\00A0" "\00A0\00BB"; }
.blv-review blockquote::before { content: open-quote; }
.blv-review blockquote::after { content: close-quote; }
.blv-review figcaption { margin-top: auto; font-weight: 700; color: var(--blv-heading); }
.blv-avis-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.blv-avis-actions .btn .blv-icon { color: var(--blv-on-accent); }
.blv-avis-actions .btn-blv-outline .blv-icon { color: var(--blv-cta); }

/* ---- Contact ---- */
.blv-contact { background: linear-gradient(180deg, var(--blv-bg), #FFF8EC); }
.blv-contact-list { list-style: none; margin: 0; padding: 0; }
.blv-contact-list li { display: flex; align-items: flex-start; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--blv-border); }
.blv-contact-list li:last-child { border-bottom: 0; }
.blv-contact-list .blv-icon { color: var(--blv-cta); margin-top: .15rem; }
.blv-contact-list address { margin: 0; font-style: normal; line-height: 1.5; }

/* ---- Formulaire Contact Form 7 (scopé .wpcf7 : accueil + page Contact) ---- */
.wpcf7 { margin-top: .25rem; }
.wpcf7 label { display: block; font-weight: 600; margin-bottom: .3rem; color: var(--blv-heading); }
.wpcf7 .wpcf7-form-control:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(.wpcf7-submit) {
	width: 100%;
	min-height: 44px;
	padding: .6rem .8rem;
	border: 1px solid var(--blv-border);
	border-radius: var(--blv-radius);
	background: var(--blv-surface);
	color: var(--blv-text);
	font: inherit;
}
.wpcf7 textarea.wpcf7-form-control { min-height: 130px; }
.wpcf7 .wpcf7-form-control:focus { border-color: var(--blv-cta); outline: 2px solid var(--blv-cta); outline-offset: 1px; }
.wpcf7 p { margin-bottom: 1rem; }
.wpcf7 input:user-invalid,
.wpcf7 textarea:user-invalid,
.wpcf7 .wpcf7-not-valid {
	border-color: var(--blv-danger) !important;
	background: #FCEDEC;
}
.wpcf7 .wpcf7-not-valid-tip,
.wpcf7 .wpcf7-response-output {
	color: var(--blv-danger);
	font-size: .9rem;
	font-weight: 600;
}
.wpcf7 .wpcf7-response-output {
	border: 1px solid var(--blv-danger);
	border-radius: var(--blv-radius);
	padding: .6rem .8rem;
	margin: .5rem 0 0;
}
.wpcf7 form.sent .wpcf7-response-output { color: var(--blv-success); border-color: var(--blv-success); }
/* Le parent UnderStrap stylise .wpcf7 input[type=submit] en form-control (width:100%,
   couleur de lien) -> override décisif (spécificité supérieure + !important). */
.wpcf7 input.wpcf7-submit,
.wpcf7 input.wpcf7-submit[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-height: 44px;
	height: auto !important;
	padding: .65rem 1.6rem !important;
	background: var(--blv-cta) !important;
	color: var(--blv-on-accent) !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .18s ease, transform .18s ease;
}
.wpcf7 input.wpcf7-submit:hover,
.wpcf7 input.wpcf7-submit[type="submit"]:hover { background: var(--blv-cta-hover) !important; color: var(--blv-on-accent) !important; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: .5rem; font-weight: 400; color: var(--blv-text); }
.blv-form-required { color: var(--blv-danger); }

/* ---- Galerie ---- */
.blv-galerie { background: linear-gradient(180deg, #FFF8EC, var(--blv-bg)); }
.blv-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: .75rem;
}
.blv-gl {
	display: block;
	border-radius: var(--blv-radius);
	overflow: hidden;
	border: 1px solid var(--blv-border);
	aspect-ratio: 1 / 1;
}
.blv-gl img, .blv-gl picture { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.blv-gl:hover img { transform: scale(1.05); }

/* ---- Lightbox (dialog natif) ---- */
dialog.blv-lb {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(30, 20, 12, .92);
	color: #fff;
}
dialog.blv-lb::backdrop { background: rgba(30, 20, 12, .8); }
.blv-lb-fig {
	margin: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	padding: 3.5rem 1rem 2.5rem;
}
.blv-lb-img { max-width: min(92vw, 1200px); max-height: 78vh; object-fit: contain; border-radius: 6px; background: #000; }
.blv-lb-cap { color: #f4ede2; font-size: .95rem; text-align: center; max-width: 60ch; }
.blv-lb-close, .blv-lb-prev, .blv-lb-next {
	position: absolute;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	border: 0;
	border-radius: 50%;
	width: 48px;
	height: 48px;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.blv-lb-close:hover, .blv-lb-prev:hover, .blv-lb-next:hover { background: rgba(255, 255, 255, .28); }
.blv-lb-close { top: 1rem; right: 1rem; }
.blv-lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.blv-lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.blv-lb-counter { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #f4ede2; font-size: .9rem; }
.blv-lb.is-loading .blv-lb-img { opacity: .4; }

/* ---- Pages internes ---- */
.blv-page-banner {
	position: relative;
	padding: calc(var(--blv-nav-h) - 30px + 2.5rem) 0 2.5rem;
	background:
		radial-gradient(120% 130% at 100% 0%, rgba(200, 146, 42, .16), transparent 55%),
		linear-gradient(160deg, #FFF7EA, var(--blv-surface-2));
	border-bottom: 1px solid var(--blv-border);
}
.blv-page-banner--img { isolation: isolate; background-size: cover; background-position: center center; background-repeat: no-repeat; }
.blv-page-banner--img::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(251, 246, 236, .92), rgba(251, 246, 236, .55));
}
.blv-page-banner > .container { position: relative; z-index: 1; }
.blv-breadcrumb { font-size: .9rem; margin-bottom: .5rem; color: var(--blv-muted); }
.blv-breadcrumb a { color: var(--blv-accent-ink); }
.blv-page-content { padding: 3rem 0 3.5rem; }
.blv-page-content .blv-prose :where(h2, h3) { margin-top: 1.75rem; }
.blv-page-content .blv-prose img { max-width: 100%; height: auto; border-radius: var(--blv-radius); }
.blv-page-content .blv-prose details {
	border: 1px solid var(--blv-border);
	border-radius: var(--blv-radius);
	padding: .35rem 1rem;
	margin: .75rem 0;
	background: var(--blv-surface);
}
.blv-page-content .blv-prose summary { font-weight: 600; cursor: pointer; padding: .6rem 0; color: var(--blv-heading); }

/* Aside */
.blv-page-aside { }
.blv-aside-card {
	position: sticky;
	top: calc(var(--blv-nav-h) + 12px);
	background: var(--blv-surface);
	border: 1px solid var(--blv-border);
	border-radius: var(--bs-border-radius-lg);
	padding: 1.5rem;
	box-shadow: var(--blv-shadow);
}
.blv-aside-card .btn-blv,
.blv-aside-card .btn-blv-outline { width: 100%; }
.blv-aside-card .btn-blv .blv-icon,
.blv-aside-card .btn-blv-outline .blv-icon { width: 1.2em; }
.blv-aside-label { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--blv-muted); margin: .25rem 0 .5rem; }
.blv-aside-links { list-style: none; margin: 0; padding: 0; }
.blv-aside-links li { padding: .35rem 0; }
.blv-aside-links a { font-weight: 600; }
.blv-single-thumb img { width: 100%; height: auto; border-radius: var(--bs-border-radius-lg); }

/* ---- Footer ---- */
.blv-footer {
	padding: 3rem 0 1.5rem;
	border-top: 1px solid var(--blv-border);
	background: #FFF8EC;
	margin-top: 1rem;
}
#wrapper-footer { background: #FFF8EC; }
.blv-footer-brand .blv-logotype--footer { font-size: 1.25rem; }
.blv-footer address { font-style: normal; line-height: 1.6; }
.blv-footer-title { font-size: 1.05rem; margin-bottom: .9rem; color: var(--blv-heading); }
.blv-footer-hours { margin: 0; }
.blv-footer-hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; font-size: .92rem; }
.blv-footer-hours dt { margin: 0; font-weight: 600; }
.blv-footer-hours dd { margin: 0; color: var(--blv-muted); }
.blv-footer-hours .is-today dt, .blv-footer-hours .is-today dd { color: var(--blv-cta); }
.blv-footer-relais { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-weight: 600; color: var(--blv-heading); }
.blv-footer-relais .blv-icon { color: var(--blv-cta); }
.blv-footer-nav { list-style: none; margin: 0; padding: 0; }
.blv-footer-nav li { padding: .25rem 0; }
.blv-footer-nav a { color: var(--blv-text); font-weight: 600; }
.blv-footer-nav a:hover { color: var(--blv-cta); }
.blv-social-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.blv-social-link .blv-icon { color: #1877f2; }
.blv-footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--blv-border); color: var(--blv-muted); font-size: .85rem; }
.blv-footer-bottom a { color: var(--blv-accent-ink); }

/* ---- Utilitaires section ---- */
.py-6 { padding-top: 3.5rem; padding-bottom: 3.5rem; }

/* content-visibility : sections sous la ligne de flottaison uniquement. */
.blv-cv {
	content-visibility: auto;
	contain-intrinsic-size: auto 700px;
}

/* ---- Responsive ---- */
@media (min-width: 768px) {
	.blv-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
	.blv-gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 575.98px) {
	.blv-hero-actions .btn { width: 100%; }
	.blv-cta-actions .btn { width: 100%; }
	.blv-cta-inner { padding: 1.75rem 1.5rem; }
}

/* ============================================================
   Effets « vivants » de boulangerie — pur CSS, décoratifs.
   (Restaurés après écrasement concurrent.) Tous transform/opacity
   (compositeur), états de repos neutres -> neutralisés sous
   prefers-reduced-motion.
   ============================================================ */

/* (1) « Sortie du four » au-dessus des titres de section — volutes de chaleur
   JAUNE/doré, larges et ondulantes (pas de halo derrière le titre). */
.section-title { position: relative; }
.section-title .eyebrow { position: relative; }
.section-title::before,
.section-title::after,
.section-title .eyebrow::before,
.section-title .eyebrow::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	width: 34px;
	height: 72px;
	border-radius: 48% 48% 42% 42%;
	background: radial-gradient(50% 62% at 50% 84%, rgba(247, 201, 56, .95), rgba(249, 216, 96, 0) 70%);
	filter: blur(6px);
	opacity: 0;
	pointer-events: none;
	z-index: 0;
	transform: translate(-50%, 6px);
	animation: blv-heat 4.6s ease-in-out infinite;
}
.section-title::before          { margin-left: -36px; animation-duration: 5.4s; animation-delay: -.5s; }
.section-title::after           { margin-left:  36px; animation-duration: 4.6s; animation-delay: -2.6s; }
.section-title .eyebrow::before { margin-left: -12px; animation-duration: 5.1s; animation-delay: -1.7s; }
.section-title .eyebrow::after  { margin-left:  12px; animation-duration: 6.1s; animation-delay: -3.9s; }
@keyframes blv-heat {
	0%   { opacity: 0;   transform: translate(-50%, 12px)              scale(.9, .6); }
	18%  { opacity: .9; }
	45%  { opacity: .82; transform: translate(calc(-50% + 10px), -22px) scale(1, 1.15); }
	72%  { opacity: .45; transform: translate(calc(-50% - 8px), -42px)  scale(.95, 1.4); }
	100% { opacity: 0;   transform: translate(calc(-50% + 6px), -60px)  scale(.82, 1.65); }
}

/* (2) Reflet glacé qui balaie la photo des cartes spécialités au survol. */
.blv-card-media { position: relative; }
.blv-card-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .38) 48%, transparent 62%);
	transform: translateX(-130%);
	transition: transform .75s ease;
	pointer-events: none;
}
.blv-card:hover .blv-card-media::after,
.blv-card:focus-within .blv-card-media::after { transform: translateX(130%); }

/* (3) Reflet chaud qui passe sur les barres d'accent. */
.accent-bar { position: relative; overflow: hidden; }
.accent-bar::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent);
	transform: translateX(-100%);
	animation: blv-sheen 5.5s ease-in-out infinite;
}
@keyframes blv-sheen {
	0%, 55% { transform: translateX(-100%); }
	100%    { transform: translateX(100%); }
}

/* (4) Halo chaud « respirant » derrière les boutons d'appel (.btn-blv::before).
   NB : les braises (lot manga) sont sur .btn-blv::after -> les deux coexistent. */
.btn-blv::before {
	content: "";
	position: absolute;
	inset: -5px;
	z-index: -1;
	border-radius: inherit;
	background: radial-gradient(closest-side, rgba(228, 138, 58, .7), rgba(228, 138, 58, 0) 76%);
	filter: blur(4px);
	opacity: 0;
	pointer-events: none;
	animation: blv-warm-pulse 3s ease-in-out infinite;
}
@keyframes blv-warm-pulse {
	0%, 100% { opacity: .22; transform: scale(.95); }
	50%      { opacity: .6;  transform: scale(1.12); }
}

/* (5) [retiré] Reflet doré sur le titre du hero — jugé trop présent par le proprio. */

/* (6) Apparition fondu + montée des cartes au défilement (pur CSS scroll-driven).
   Décoratif -> progressive enhancement. Anime `translate` (pas `transform`)
   pour ne pas écraser le lift au survol. */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.blv-card,
		.blv-review,
		.blv-gl,
		.blv-signature-card {
			animation: blv-rise-in both;
			animation-timeline: view();
			animation-range: entry 8% entry 64%;
		}
		@keyframes blv-rise-in {
			from { opacity: 0; translate: 0 28px; }
			to   { opacity: 1; translate: 0 0; }
		}
	}
}

/* ============================================================
   Clins d'œil discrets manga/anime + metal — SANS aucun texte.
   Tout pur CSS (sauf le code Konami : JS minime). Décoratif,
   pointer-events:none, états de repos neutres -> neutralisés par
   le bloc prefers-reduced-motion ci-dessous.
   ============================================================ */

/* (A) Braises du four au survol des boutons d'appel — double sens :
   étincelles de four (gourmand) / gerbe d'étincelles de concert (metal). */
.btn-blv { position: relative; }
.btn-blv::after {
	content: "";
	position: absolute;
	left: 2%;
	right: 2%;
	bottom: 35%;
	height: 40px;
	pointer-events: none;
	opacity: 0;
	background:
		radial-gradient(2.8px 2.8px at 10% 96%, rgba(255, 192, 96, 1), transparent 60%),
		radial-gradient(3.2px 3.2px at 24% 99%, rgba(244, 150, 54, 1), transparent 60%),
		radial-gradient(2.2px 2.2px at 36% 90%, rgba(255, 214, 134, .95), transparent 60%),
		radial-gradient(2.8px 2.8px at 50% 98%, rgba(228, 126, 42, 1), transparent 60%),
		radial-gradient(2.2px 2.2px at 64% 92%, rgba(255, 200, 110, .95), transparent 60%),
		radial-gradient(3.2px 3.2px at 78% 99%, rgba(244, 150, 54, 1), transparent 60%),
		radial-gradient(2.4px 2.4px at 90% 94%, rgba(255, 182, 84, .98), transparent 60%);
	background-repeat: no-repeat;
	filter: blur(.3px);
}
.btn-blv:hover::after,
.btn-blv:focus-visible::after { animation: blv-embers 1s ease-out; }
@keyframes blv-embers {
	0%   { opacity: 0; transform: translateY(10px)  scale(.8); }
	20%  { opacity: 1; }
	100% { opacity: 0; transform: translateY(-42px) scale(1.14); }
}

/* (B) Surlignage « braise » de la sélection de texte (vraie finition UX). */
::selection      { background: var(--blv-cta); color: var(--blv-on-accent); }
::-moz-selection { background: var(--blv-cta); color: var(--blv-on-accent); }

/* (C) Barre de défilement aux couleurs maison (pouce blé / rail crème). */
html { scrollbar-color: var(--blv-accent) var(--blv-surface-2); }
@supports not (scrollbar-color: auto) {
	html::-webkit-scrollbar { width: 12px; height: 12px; }
	html::-webkit-scrollbar-thumb { background: var(--blv-accent); border-radius: 999px; border: 3px solid var(--blv-surface-2); }
	html::-webkit-scrollbar-track { background: var(--blv-surface-2); }
}

/* (D) Scintillement « shoujo » (étoile à 4 branches) au survol des cartes. */
.blv-card { position: relative; }
.blv-card::after {
	content: "";
	position: absolute;
	top: .55rem;
	right: .55rem;
	width: 16px;
	height: 16px;
	z-index: 3;
	pointer-events: none;
	background: var(--blv-accent);
	clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
	opacity: 0;
	transform: scale(.2) rotate(0deg);
}
.blv-card:hover::after,
.blv-card:focus-within::after { animation: blv-sparkle .95s ease-out; }
@keyframes blv-sparkle {
	0%   { opacity: 0; transform: scale(.2) rotate(0deg); }
	45%  { opacity: 1; transform: scale(1) rotate(45deg); }
	100% { opacity: 0; transform: scale(.55) rotate(90deg); }
}

/* (E) Trame « screentone » manga en filigrane dans un coin de quelques sections. */
.blv-apropos, .blv-services, .blv-avis { position: relative; }
.blv-apropos::after, .blv-services::after, .blv-avis::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: clamp(120px, 18vw, 260px);
	height: clamp(120px, 18vw, 260px);
	pointer-events: none;
	z-index: 0;
	opacity: .05;
	background-image: radial-gradient(circle, var(--blv-accent) 1.1px, transparent 1.3px);
	background-size: 11px 11px;
	-webkit-mask-image: radial-gradient(circle at top right, #000, transparent 72%);
	mask-image: radial-gradient(circle at top right, #000, transparent 72%);
}

/* (F) Épi de blé cliquable (footer + navbar). Au survol/focus prolongé, le
   chapeau de paille (Luffy) apparaît sur l'épi ; au CLIC, il déclenche la
   « surprise » Konami (favicon 🤘 + étincelles). Vrai bouton (accessible). */
.blv-wheat-egg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	line-height: 0;
	color: var(--blv-accent);
	cursor: pointer;
	vertical-align: middle;
	transition: transform .2s ease, color .2s ease;
}
.blv-wheat-egg:hover,
.blv-wheat-egg:focus-visible { transform: scale(1.08); color: var(--blv-cta); }
.blv-wheat-egg svg { width: 30px; height: 30px; }
.blv-wheat-egg--nav svg { width: 26px; height: 26px; }
.blv-egg-hat { opacity: 0; transition: opacity .4s ease; }
.blv-wheat-egg:hover .blv-egg-hat,
.blv-wheat-egg:focus-visible .blv-egg-hat { opacity: 1; transition-delay: .5s; }

/* (G) Code Konami : volée d'étincelles dorées (overlay éphémère, ajouté en JS). */
body.blv-konami::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	background:
		radial-gradient(3px 3px at 12% 100%, #F2A046, transparent 60%),
		radial-gradient(2px 2px at 26% 100%, #FFC878, transparent 60%),
		radial-gradient(2.5px 2.5px at 40% 100%, #E48A3A, transparent 60%),
		radial-gradient(2px 2px at 55% 100%, #F2CD7C, transparent 60%),
		radial-gradient(3px 3px at 70% 100%, #F2A046, transparent 60%),
		radial-gradient(2px 2px at 84% 100%, #FFC878, transparent 60%),
		radial-gradient(2.5px 2.5px at 93% 100%, #E48A3A, transparent 60%);
	background-repeat: no-repeat;
	animation: blv-spark-rain 2.6s ease-out forwards;
}
@keyframes blv-spark-rain {
	0%   { opacity: 0; transform: translateY(0)     scale(1); }
	12%  { opacity: 1; }
	100% { opacity: 0; transform: translateY(-72vh) scale(1.25); }
}

/* (H) Page 404 maison : micro-braises derrière le grand « 404 ». */
.blv-404 { position: relative; isolation: isolate; text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.blv-404-code { font-family: var(--blv-font-title); font-weight: 700; color: var(--blv-cta); font-size: clamp(4rem, 16vw, 9rem); line-height: 1; letter-spacing: -.02em; }
.blv-404-lead { color: var(--blv-muted); max-width: 42ch; margin: .5rem auto 1.75rem; font-size: 1.15rem; }
.blv-404-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.blv-404::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 6%;
	width: min(320px, 70%);
	height: 130px;
	transform: translate(-50%, 0);
	z-index: -1;
	pointer-events: none;
	opacity: 0;
	background:
		radial-gradient(3px 3px at 20% 100%, rgba(242, 160, 70, .9), transparent 60%),
		radial-gradient(2px 2px at 40% 100%, rgba(255, 200, 120, .85), transparent 60%),
		radial-gradient(2.5px 2.5px at 60% 100%, rgba(228, 138, 58, .9), transparent 60%),
		radial-gradient(2px 2px at 78% 100%, rgba(242, 205, 124, .85), transparent 60%);
	background-repeat: no-repeat;
	filter: blur(.4px);
	animation: blv-404-embers 3.2s ease-in-out infinite;
}
@keyframes blv-404-embers {
	0%   { opacity: 0;   transform: translate(-50%, 12px) scale(.9); }
	28%  { opacity: .85; }
	100% { opacity: 0;   transform: translate(-50%, -72px) scale(1.1); }
}

/* ---- Préférence : réduire les animations ---- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.blv-card:hover, .btn-blv:hover, .btn-blv:focus { transform: none; }
}

/* ---- Impression ---- */
@media print {
	.blv-cv { content-visibility: visible; }
	#wrapper-navbar, .blv-cta-band, .blv-map-facade, .navbar-cta { display: none !important; }
	body { background: #fff; color: #000; }
}
