/* =========================================================================
   Thème Duarig Transports — feuille de style principale
   ========================================================================= */

/* ---- Polices auto-hébergées ------------------------------------------- */
@font-face {
	font-family: 'Archivo';
	src: url('../fonts/Archivo.woff2') format('woff2');
	font-weight: 100 900;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('../fonts/Inter.woff2') format('woff2');
	font-weight: 100 900;
	font-display: swap;
}

/* ---- Variables --------------------------------------------------------- */
:root {
	--green-950: #0b2e1c;
	--green-900: #0e3a23;
	--green-700: #0c6b35;
	--green-600: #008542;
	--green-500: #009a44;
	--green-050: #eef6f0;
	--yellow-500: #ffc20e;
	--yellow-600: #f0a500;
	--ink: #17211b;
	--muted: #55655c;
	--line: #e2e9e4;
	--bg: #ffffff;
	--bg-alt: #f5f8f6;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 2px 6px rgba(14, 58, 35, .06), 0 12px 32px rgba(14, 58, 35, .09);
	--shadow-sm: 0 1px 3px rgba(14, 58, 35, .08);
	--font-head: 'Archivo', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--container: 1200px;
}

/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-700); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 800;
	line-height: 1.15;
	color: var(--green-900);
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--yellow-500); color: var(--ink);
	padding: .6rem 1rem; z-index: 200; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---- Boutons ------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1rem;
	padding: .72rem 1.5rem;
	border-radius: 999px;
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn { white-space: nowrap; }
.btn--cta { background: var(--yellow-500); color: var(--green-950); box-shadow: var(--shadow-sm); }
.btn--cta:hover { background: var(--yellow-600); color: var(--green-950); }
.btn--primary { background: var(--green-600); color: #fff; }
.btn--primary:hover { background: var(--green-700); color: #fff; }
.btn--ghost { border-color: currentColor; color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { border-color: var(--green-600); color: var(--green-700); background: transparent; }
.btn--outline:hover { background: var(--green-050); }
.btn--lg { padding: .95rem 2rem; font-size: 1.08rem; }

/* ---- Barre supérieure ---------------------------------------------------- */
.topbar { background: var(--green-950); color: #cfe3d6; font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .38rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--yellow-500); }
.topbar__hours { margin: 0; }
.topbar__contact { display: flex; gap: 1.25rem; align-items: center; }
.topbar__phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 420px) {
	.topbar__contact a[href^="mailto"] { display: none; }
	.topbar__inner { justify-content: center; }
}

/* ---- En-tête / navigation ------------------------------------------------ */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.site-logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.site-logo img { width: 54px; height: 54px; object-fit: contain; }
.site-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.site-logo__text strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--green-600); letter-spacing: .02em; }
.site-logo__text span { font-size: .72rem; text-transform: uppercase; letter-spacing: .24em; color: var(--yellow-600); font-weight: 700; }

.site-nav .menu { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: block;
	padding: .55rem .85rem;
	color: var(--ink);
	font-weight: 600;
	font-size: .98rem;
	text-decoration: none;
	border-radius: var(--radius-sm);
}
.site-nav .menu > li > a:hover,
.site-nav .menu > li.current-menu-item > a,
.site-nav .menu > li.current-menu-ancestor > a { color: var(--green-600); background: var(--green-050); }

.site-nav .menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	margin-left: .45rem;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	padding: 2.5px;
	transform: rotate(45deg) translateY(-2px);
}
.site-nav .sub-menu {
	list-style: none;
	position: absolute; left: 0; top: 100%;
	min-width: 250px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	padding: .4rem;
	margin: 0;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav .sub-menu a { font-weight: 500; }
.site-nav .sub-menu a:hover { background: var(--green-050); color: var(--green-700); }

.nav-toggle { display: none; }

/* Navigation mobile */
@media (max-width: 1023px) {
	.topbar__hours { display: none; }
	.site-header__cta { padding: .55rem 1rem; font-size: .9rem; }
	.site-header__inner { gap: .75rem; }
	.nav-toggle {
		display: grid; place-items: center;
		width: 46px; height: 46px;
		background: var(--green-050);
		border: 1px solid var(--line);
		border-radius: var(--radius-sm);
		cursor: pointer;
	}
	.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
		content: ''; display: block;
		width: 20px; height: 2px; background: var(--green-900);
		position: relative;
		transition: transform .2s ease, opacity .2s ease;
	}
	.nav-toggle__bar::before { position: absolute; top: -6px; }
	.nav-toggle__bar::after { position: absolute; top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar { transform: rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { opacity: 0; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: rotate(-90deg); top: 0; }

	.site-nav {
		position: absolute; inset: 100% 0 auto 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
	}
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; padding: .75rem 1rem 1.25rem; gap: 0; }
	.site-nav .menu a { padding: .8rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.site-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: none; padding: 0 0 0 1rem; display: none;
	}
	.site-nav li.is-open > .sub-menu { display: block; }
	.site-nav .menu-item-has-children > a::after { float: right; margin-top: .5rem; }
}

@media (max-width: 520px) {
	.site-logo__text { display: none; }
	.site-logo img { width: 46px; height: 46px; }
}

/* ---- Héro (accueil) ------------------------------------------------------ */
.hero {
	position: relative;
	color: #fff;
	overflow: hidden;
	background: var(--green-950);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero__bg::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(11,46,28,.94) 15%, rgba(11,46,28,.55) 55%, rgba(11,46,28,.25) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(4rem, 9vw, 7.5rem); max-width: 700px; }
.hero__kicker {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 700; font-size: .82rem;
	text-transform: uppercase; letter-spacing: .18em;
	color: var(--yellow-500);
	margin-bottom: 1rem;
}
.hero h1 { color: #fff; }
.hero__brand {
	display: block;
	font-size: clamp(2.6rem, 7vw, 4.6rem);
	letter-spacing: .01em;
	line-height: 1;
	margin-bottom: .18em;
}
.hero__brand em { font-style: normal; color: var(--yellow-500); }
.hero__tagline {
	display: block;
	font-size: clamp(1.15rem, 2.6vw, 1.7rem);
	font-weight: 700;
	color: #dcebe1;
	line-height: 1.3;
}
.hero p { font-size: 1.15rem; color: #dcebe1; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
@media (max-width: 640px) {
	.hero__actions { flex-wrap: nowrap; gap: .6rem; }
	.hero__actions .btn {
		flex: 0 1 auto;
		min-width: 0;
		padding: .65rem clamp(.6rem, 2.5vw, 1.2rem);
		font-size: clamp(.72rem, 3.4vw, .95rem);
	}
}

/* Bandeau chiffres clés */
.stats { background: var(--green-900); color: #fff; }
.stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1px;
	background: rgba(255,255,255,.12);
}
.stat { background: var(--green-900); padding: 1.6rem 1.2rem; text-align: center; }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--yellow-500); display: block; }
.stat__label { font-size: .9rem; color: #cfe3d6; }
@media (max-width: 767px) {
	.stats__grid { grid-template-columns: repeat(4, 1fr); }
	.stat { padding: .9rem .3rem; }
	.stat__value { font-size: clamp(.95rem, 4vw, 1.4rem); }
	.stat__label { font-size: .62rem; line-height: 1.3; display: block; }
}

/* ---- Sections génériques -------------------------------------------------- */
.section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: 2.4rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__kicker {
	font-family: var(--font-head);
	font-weight: 700; font-size: .8rem;
	text-transform: uppercase; letter-spacing: .18em;
	color: var(--green-500);
	display: block; margin-bottom: .5rem;
}
.section__head p { color: var(--muted); }

/* ---- Cartes (pôles, activités, articles, véhicules) ----------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--green-050); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media-placeholder { display: grid; place-items: center; height: 100%; color: var(--green-500); opacity: .55; }
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card__body :is(h2, h3) a { color: var(--green-900); text-decoration: none; }
.card__body :is(h2, h3) a:hover { color: var(--green-600); }
.card__body :is(h2, h3) a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card__meta { font-size: .84rem; color: var(--muted); display: flex; gap: .8rem; align-items: center; }
.card__more { margin-top: auto; padding-top: .8rem; font-weight: 700; color: var(--green-600); font-size: .95rem; }

/* Pôles d'activité (accueil) */
.pole { text-align: left; }
.pole__icon {
	width: 54px; height: 54px;
	display: grid; place-items: center;
	background: var(--green-050);
	color: var(--green-600);
	border-radius: var(--radius-sm);
	margin-bottom: 1rem;
}

/* ---- Fil d'Ariane ---------------------------------------------------------- */
.breadcrumb { font-size: .86rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: .3rem; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-600); }

/* ---- Bandeau de page (pages internes) -------------------------------------- */
.page-hero { background: linear-gradient(120deg, var(--green-950), var(--green-700)); color: #fff; }
.page-hero__inner { padding-block: clamp(2.5rem, 6vw, 4.2rem); }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #d8e9de; max-width: 62ch; margin: 0; font-size: 1.1rem; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: #a9c6b4; }
.page-hero .breadcrumb { margin-bottom: 1.2rem; }

/* ---- Contenu éditorial ------------------------------------------------------ */
.entry { max-width: 760px; }
.entry img { border-radius: var(--radius); }
.entry iframe, .entry video, .entry embed, .entry object { max-width: 100%; }
.entry table { display: block; max-width: 100%; overflow-x: auto; }
.entry h2 { margin-top: 1.6em; }
.entry ul, .entry ol { padding-left: 1.3rem; }
.entry blockquote {
	border-left: 4px solid var(--yellow-500);
	background: var(--bg-alt);
	margin: 1.5rem 0; padding: 1rem 1.4rem;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
}
.wp-block-image img { height: auto; }

/* ---- Blog ------------------------------------------------------------------- */
.post-meta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; }
.post-meta__cat {
	background: var(--green-050); color: var(--green-700);
	font-weight: 700; font-size: .8rem;
	padding: .18rem .7rem; border-radius: 999px;
	text-decoration: none;
}
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 42px; height: 42px; padding-inline: .6rem;
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	text-decoration: none; color: var(--ink); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--green-600); color: #fff; border-color: var(--green-600); }
.pagination a.page-numbers:hover { border-color: var(--green-600); color: var(--green-600); }

.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; color: var(--green-700); font-weight: 600; max-width: 46%; }

/* ---- Formulaires (style global) ---------------------------------------------- */
.form-field { display: flex; flex-direction: column; gap: .3rem; }
.form-field label { font-weight: 600; font-size: .92rem; }
.form-field .req { color: #c0392b; }
.form-field input:not([type="radio"]):not([type="checkbox"]), .form-field select, .form-field textarea {
	font: inherit;
	padding: .68rem .85rem;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--ink);
	width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
	outline: 2px solid var(--green-500);
	outline-offset: 1px;
	border-color: var(--green-500);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid .form-field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.form-note { font-size: .85rem; color: var(--muted); }
.form-error { color: #c0392b; font-size: .88rem; font-weight: 600; }

fieldset.choices { border: none; margin: 0; padding: 0; }
fieldset.choices legend { font-weight: 600; font-size: .92rem; padding: 0; margin-bottom: .4rem; }
.choices__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices__row label {
	display: inline-flex; align-items: center; gap: .45rem;
	border: 1.5px solid var(--line); border-radius: 999px;
	padding: .45rem 1rem; cursor: pointer; font-size: .95rem;
	transition: border-color .15s, background .15s;
}
.choices__row label:has(input:checked) { border-color: var(--green-600); background: var(--green-050); font-weight: 600; }
.choices__row input { accent-color: var(--green-600); width: auto; margin: 0; flex: none; }

/* ---- Formulaire de devis multi-étapes ------------------------------------------ */
.devis-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .devis-layout { grid-template-columns: minmax(0, 1fr); } }

.devis-form {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: clamp(1.4rem, 3vw, 2.2rem);
}
.devis-steps { display: flex; gap: .4rem; margin-bottom: 2rem; list-style: none; padding: 0; counter-reset: step; }
.devis-steps li {
	flex: 1;
	counter-increment: step;
	text-align: center;
	font-size: .82rem;
	font-weight: 600;
	color: var(--muted);
	position: relative;
	padding-top: 2.4rem;
}
.devis-steps li::before {
	content: counter(step);
	position: absolute; top: 0; left: 50%; transform: translateX(-50%);
	width: 34px; height: 34px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--bg-alt);
	border: 2px solid var(--line);
	font-family: var(--font-head); font-weight: 700;
}
.devis-steps li.is-active { color: var(--green-700); }
.devis-steps li.is-active::before { border-color: var(--green-600); background: var(--green-600); color: #fff; }
.devis-steps li.is-done { color: var(--green-600); }
.devis-steps li.is-done::before { content: '✓'; background: var(--green-050); border-color: var(--green-500); color: var(--green-700); }

.devis-step { display: none; }
.devis-step.is-active { display: block; }
.devis-step h2 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.devis-step .form-grid + .form-grid { margin-top: 1rem; }

.devis-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.devis-nav .btn[hidden] { display: none; }

.devis-recap {
	background: var(--bg-alt);
	border-radius: var(--radius-sm);
	padding: 1.2rem 1.4rem;
	margin-bottom: 1.4rem;
	font-size: .93rem;
}
.devis-recap h3 { font-size: 1rem; margin-bottom: .5rem; }
.devis-recap dl { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: .15rem .8rem; margin: 0; }
.devis-recap dt { color: var(--muted); }
.devis-recap dd { margin: 0; font-weight: 600; }

.devis-aside {
	background: var(--green-900);
	color: #fff;
	border-radius: var(--radius);
	padding: 1.8rem;
	position: sticky; top: 110px;
}
.devis-aside h2 { color: #fff; font-size: 1.25rem; }
.devis-aside p { color: #cfe3d6; font-size: .95rem; }
.devis-aside ul { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .6rem; }
.devis-aside li { display: flex; gap: .6rem; align-items: baseline; font-size: .95rem; }
.devis-aside li::before { content: '✓'; color: var(--yellow-500); font-weight: 800; }
.devis-aside a { color: var(--yellow-500); }
.devis-aside h3 { color: #fff; }
.devis-aside .contact-emails li { display: block; font-size: .9rem; color: #cfe3d6; }
.devis-aside .contact-emails li::before { content: none; }
.devis-aside .contact-emails strong { color: #fff; }

.form-success {
	background: var(--green-050);
	border: 1.5px solid var(--green-500);
	color: var(--green-900);
	border-radius: var(--radius);
	padding: 1.6rem;
	text-align: center;
	font-weight: 600;
}

/* Anti-spam : champ pot de miel masqué */
.hp-field { position: absolute !important; left: -9999px; }

/* ---- Locations ------------------------------------------------------------------ */
.loc-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.loc-filters a {
	text-decoration: none;
	font-weight: 600; font-size: .93rem;
	padding: .5rem 1.1rem;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
}
.loc-filters a:hover { border-color: var(--green-500); color: var(--green-700); }
.loc-filters a.is-active { background: var(--green-600); border-color: var(--green-600); color: #fff; }

.loc-card__price { font-family: var(--font-head); font-weight: 800; color: var(--green-700); font-size: 1.05rem; }
.loc-card__price small { color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.loc-card__specs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0 0; padding: 0; list-style: none; }
.loc-card__specs li {
	font-size: .8rem; font-weight: 600;
	background: var(--bg-alt); color: var(--muted);
	padding: .15rem .6rem; border-radius: 999px;
}

.loc-single { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .loc-single { grid-template-columns: minmax(0, 1fr); } }
.loc-gallery { display: grid; gap: .8rem; }
.loc-gallery__main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--green-050); }
.loc-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.loc-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.loc-gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4/3; }
.loc-gallery__thumbs button.is-active { border-color: var(--green-600); }
.loc-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.loc-tarifs { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .97rem; }
.loc-tarifs caption { text-align: left; font-family: var(--font-head); font-weight: 700; color: var(--green-900); padding-bottom: .6rem; font-size: 1.05rem; }
.loc-tarifs th, .loc-tarifs td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.loc-tarifs td:last-child { text-align: right; font-weight: 700; color: var(--green-700); white-space: nowrap; }
.loc-tarifs tr:nth-child(odd) { background: var(--bg-alt); }

.loc-contact-box {
	background: var(--bg-alt);
	border-radius: var(--radius);
	padding: 1.4rem 1.6rem;
	margin-top: 1.5rem;
}
.loc-contact-box p { margin: 0 0 .3rem; font-size: .95rem; }

/* ---- Bandeau CTA (avant footer) --------------------------------------------------- */
.cta-band { background: linear-gradient(115deg, var(--green-700), var(--green-500)); color: #fff; }
.cta-band__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 1.5rem; padding-block: clamp(2.2rem, 5vw, 3.4rem);
}
.cta-band h2 { color: #fff; margin-bottom: .2em; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.cta-band p { color: #e2f1e8; margin: 0; }
.cta-band__actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---- Pied de page ------------------------------------------------------------------ */
.site-footer { background: var(--green-950); color: #b9d2c2; font-size: .95rem; }
.site-footer a { color: #e8f3ec; text-decoration: none; }
.site-footer a:hover { color: var(--yellow-500); }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	gap: 2.5rem;
	padding-block: clamp(2.5rem, 6vw, 4rem);
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer address { font-style: normal; margin-bottom: .8rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer__brand img { filter: drop-shadow(0 0 1px rgba(255,255,255,.4)); }
.site-footer__brand p { margin-top: 1rem; }
.social { list-style: none; display: flex; gap: .6rem; margin: 1.2rem 0 0; padding: 0; }
.social a {
	display: grid; place-items: center;
	width: 38px; height: 38px;
	background: rgba(255,255,255,.08);
	border-radius: 50%;
}
.social a:hover { background: var(--yellow-500); color: var(--green-950); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.1rem; font-size: .85rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.site-footer__hours { font-size: .88rem; }

/* ---- Page 404 / recherche ----------------------------------------------------------- */
.page-404 { text-align: center; padding-block: 5rem; }
.page-404 h1 { font-size: clamp(3rem, 8vw, 5rem); color: var(--green-600); }

/* ---- Accessibilité : préférence de mouvement réduite --------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Vidéos YouTube : vignette locale, lecteur chargé au clic (aucune requête tierce avant) */
.yt-facade {
	position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9;
	margin-block: 1.6rem; padding: 1rem; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer;
	color: #fff; text-align: center; font: inherit;
	background: #12261a center / cover no-repeat;
}
.yt-facade::before { content: ''; position: absolute; inset: 0; background: rgba(10, 25, 16, .55); transition: background .2s; }
.yt-facade:hover::before, .yt-facade:focus-visible::before { background: rgba(10, 25, 16, .4); }
.yt-facade > * { position: relative; }
.yt-facade__play {
	display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto .8rem; border-radius: 50%;
	background: var(--yellow-500); color: var(--green-950);
}
.yt-facade__label { display: block; font-weight: 700; font-size: 1.05rem; }
.yt-facade__note { display: block; margin-top: .35rem; font-size: .82rem; opacity: .85; }
.yt-player { width: 100%; aspect-ratio: 16 / 9; margin-block: 1.6rem; border: 0; border-radius: var(--radius); }

.page-404__links { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }

.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.card__body h2 { font-size: 1.25rem; }

/* Mur de logos (page Partenaires) : galerie Gutenberg portant la classe « logo-wall » */
.wp-block-gallery.logo-wall {
	display: grid !important; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
	gap: .8rem !important; margin-block: 1.6rem 2rem; max-width: none;
}
.wp-block-gallery.logo-wall figure.wp-block-image {
	display: flex !important; align-items: center; justify-content: center;
	width: auto !important; margin: 0 !important; padding: .9rem; aspect-ratio: 3 / 2;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.wp-block-gallery.logo-wall figure.wp-block-image img {
	width: auto !important; height: auto !important; max-width: 100%; max-height: 100%;
	object-fit: contain !important; border-radius: 0; flex: 0 1 auto !important;
}
.entry:has(.logo-wall) { max-width: none; }
.entry:has(.logo-wall) > p, .entry:has(.logo-wall) > h2 { max-width: 760px; }
