/*
Theme Name: Loge au P'tit Bonheur
Theme URI: https://www.logeauptitbonheur.fr/
Author: Oscar-seo
Author URI: https://oscar-seo.ai/
Description: Thème de blog sur mesure pour Loge au P'tit Bonheur — locations de vacances en Drôme provençale (Montélimar & Savasse). Reprend la charte graphique du site principal : logo, polices Manrope et Epilogue, palette bordeaux, or et bleu nuit.
Version: 1.0.1
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lpb
Tags: blog, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Charte graphique (relevée sur logeauptitbonheur.fr)
   ========================================================================== */
:root {
	--lpb-bordeaux: #4a0505;      /* barre de navigation, pied de page, FAQ */
	--lpb-bordeaux-2: #5a0d0d;    /* boutons principaux */
	--lpb-rouge: #720805;         /* boutons « Voir les disponibilités » */
	--lpb-or: #e8aa23;            /* liens du menu, accents */
	--lpb-or-fonce: #b68a36;      /* filets */
	--lpb-marine: #1d2035;        /* texte & titres */
	--lpb-terre: #6c5147;         /* textes d'introduction */
	--lpb-sable: #f8f4ee;         /* bandeau de réassurance */
	--lpb-creme: #fffaf1;         /* fonds doux */
	--lpb-ivoire: #fffdf9;
	--lpb-filet: #eadfce;
	--lpb-blanc: #fff;

	--lpb-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--lpb-font-accent: "Epilogue", system-ui, -apple-system, "Segoe UI", sans-serif;

	--lpb-radius-card: 20px;
	--lpb-radius-box: 15px;
	--lpb-radius-btn: 6px;
	--lpb-shadow-card: 0 12px 30px rgba(78, 17, 14, 0.12);
	--lpb-shadow-soft: 0 10px 28px rgba(74, 5, 5, 0.07);

	--lpb-container: 1180px;
	--lpb-narrow: 760px;
	--lpb-gutter: clamp(16px, 4vw, 40px);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--lpb-font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--lpb-marine);
	background: var(--lpb-blanc);
	-webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--lpb-rouge); text-underline-offset: 3px; }
a:hover { color: var(--lpb-bordeaux); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--lpb-or);
	outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 { margin: 0 0 0.6em; color: var(--lpb-marine); line-height: 1.15; }
h1, h2 { font-family: var(--lpb-font-body); font-weight: 700; letter-spacing: -0.03em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
h3, h4, h5, h6 { font-family: var(--lpb-font-accent); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1.2em; }

.container {
	width: 100%;
	max-width: calc(var(--lpb-container) + 2 * var(--lpb-gutter));
	margin-inline: auto;
	padding-inline: var(--lpb-gutter);
}
.container--narrow { max-width: calc(var(--lpb-narrow) + 2 * var(--lpb-gutter)); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	z-index: 1000; top: 8px; left: 8px;
	padding: 10px 16px;
	background: var(--lpb-blanc);
	color: var(--lpb-bordeaux);
	border-radius: var(--lpb-radius-btn);
}

.eyebrow {
	margin: 0 0 0.75rem;
	font-family: var(--lpb-font-accent);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lpb-or-fonce);
}

/* ==========================================================================
   3. Boutons
   ========================================================================== */
.btn,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 12px 22px;
	border: 0;
	border-radius: var(--lpb-radius-btn);
	background: var(--lpb-bordeaux-2);
	color: var(--lpb-or);
	font-family: var(--lpb-font-accent);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	background: var(--lpb-bordeaux);
	color: var(--lpb-blanc);
}

.btn--pill { /* style des boutons « Voir les disponibilités » des cartes */
	border-radius: 28px;
	padding: 11px 20px;
	background: var(--lpb-rouge);
	color: var(--lpb-blanc);
	font-size: 0.95rem;
}
.btn--pill:hover { background: var(--lpb-bordeaux); color: var(--lpb-or); }

.btn--gold { background: var(--lpb-or); color: var(--lpb-bordeaux); }
.btn--gold:hover { background: var(--lpb-blanc); color: var(--lpb-bordeaux); }
.btn--sm { padding: 9px 16px; font-size: 0.9rem; }

/* ==========================================================================
   4. En-tête
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--lpb-blanc);
	box-shadow: 0 1px 0 var(--lpb-filet);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 110px;
}

.site-branding .custom-logo-link { display: block; }
.site-branding .custom-logo { width: auto; max-height: 60px; }

.site-title {
	font-family: var(--lpb-font-accent);
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--lpb-bordeaux);
	text-decoration: none;
	line-height: 1.1;
}
.site-title span { color: var(--lpb-or); }
.site-title--light { color: var(--lpb-blanc); }

/* Barre de menu bordeaux, liens dorés (comme sur le site) */
.main-navigation { background: var(--lpb-bordeaux); }
@media (min-width: 1101px) {
	.main-navigation { padding: 0 8px; }
	.main-navigation > ul, .main-navigation .menu { flex-wrap: nowrap; }
	.main-navigation .menu-item--cta > a { margin: 9px 0 9px 8px; min-height: 37px; padding: 0 16px; border-radius: var(--lpb-radius-btn); background: var(--lpb-or); color: var(--lpb-bordeaux); }
	.main-navigation .menu-item--cta > a::after { display: none; }
	.main-navigation .menu-item--cta > a:hover { background: var(--lpb-blanc); color: var(--lpb-bordeaux); }
}
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation > ul,
.main-navigation .menu {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
}
.main-navigation li { position: relative; }
.main-navigation a {
	display: flex;
	align-items: center;
	min-height: 55px;
	padding: 0 14px;
	font-family: var(--lpb-font-accent);
	font-size: 1rem;
	white-space: nowrap;
	font-weight: 400;
	letter-spacing: 0.03em;
	color: var(--lpb-or);
	text-decoration: none;
	position: relative;
}
.main-navigation a::after { /* soulignement doré au survol */
	content: "";
	position: absolute;
	left: 14px; right: 14px; bottom: 12px;
	height: 2px;
	background: var(--lpb-or);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after { transform: scaleX(1); }
.main-navigation a:hover { color: var(--lpb-blanc); }

.main-navigation .menu-item--cta > a { font-weight: 700; }

/* Sous-menus */
.main-navigation .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	background: var(--lpb-bordeaux);
	box-shadow: var(--lpb-shadow-card);
	opacity: 0; visibility: hidden;
	transition: opacity .2s ease;
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.main-navigation .sub-menu a { min-height: 46px; }

/* Bouton burger */
.menu-toggle {
	display: none;
	width: 48px; height: 48px;
	border: 0;
	border-radius: var(--lpb-radius-btn);
	background: var(--lpb-bordeaux);
	cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	display: block;
	width: 22px; height: 2px;
	margin-inline: auto;
	background: var(--lpb-or);
	transition: transform .25s ease, opacity .25s ease;
	position: relative;
}
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.nav-open .menu-toggle__bars { background: transparent; }
.nav-open .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
	.site-header__inner { min-height: 84px; }
	.site-branding .custom-logo { max-height: 50px; }
	.menu-toggle { display: block; }
	.main-navigation {
		position: fixed;
		inset: 84px 0 0 0;
		overflow-y: auto;
		padding: 1rem var(--lpb-gutter) 2rem;
		transform: translateX(100%);
		transition: transform .3s ease;
	}
	.admin-bar .main-navigation { top: calc(84px + 46px); }
	.nav-open .main-navigation { transform: none; }
	.nav-open { overflow: hidden; }
	.main-navigation .menu { flex-direction: column; }
	.main-navigation a { min-height: 54px; padding: 0; font-size: 1.15rem; border-bottom: 1px solid rgba(232, 170, 35, .2); }
	.main-navigation a::after { display: none; }
	.main-navigation .sub-menu { position: static; opacity: 1; visibility: visible; box-shadow: none; padding-left: 1rem; }
	.main-navigation .menu-item--cta > a {
		justify-content: center;
		margin-top: 1.5rem;
		border: 0;
		border-radius: var(--lpb-radius-btn);
		background: var(--lpb-or);
		color: var(--lpb-bordeaux);
	}
}

/* ==========================================================================
   5. Bandeau (hero)
   ========================================================================== */
.hero {
	position: relative;
	padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 80px);
	background: linear-gradient(180deg, var(--lpb-blanc) 0%, #fbf7ef 45%, var(--lpb-blanc) 100%);
	text-align: center;
	overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; max-width: 860px; }
.hero h1 { margin-bottom: 0.4em; }
.hero__intro { max-width: 640px; margin: 0 auto 2rem; font-size: 1.125rem; color: var(--lpb-terre); font-family: var(--lpb-font-accent); font-weight: 500; }
.hero .search-form { margin-inline: auto; }

.hero--image { color: var(--lpb-blanc); }
.hero--image .hero__bg {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.hero--image::before {
	content: "";
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(29, 32, 53, .35), rgba(74, 5, 5, .55));
}
.hero--image h1,
.hero--image .hero__intro { color: var(--lpb-blanc); }
.hero--image .eyebrow { color: var(--lpb-or); }
.hero--image .hero__inner { z-index: 2; }

/* Recherche */
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-field {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	border: 1px solid rgba(182, 138, 54, .38);
	border-radius: var(--lpb-radius-btn);
	background: var(--lpb-blanc);
	font: inherit;
	color: var(--lpb-marine);
}

/* Filtres de catégories */
.cat-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 8px;
}
.cat-filter a {
	padding: 8px 16px;
	border: 1px solid rgba(182, 138, 54, .38);
	border-radius: 999px;
	background: var(--lpb-ivoire);
	font-family: var(--lpb-font-accent);
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--lpb-marine);
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.cat-filter a:hover,
.cat-filter a.is-active { background: var(--lpb-bordeaux); border-color: var(--lpb-bordeaux); color: var(--lpb-or); }

/* ==========================================================================
   6. Cartes d'articles (style « Nos coups de cœur »)
   ========================================================================== */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section-title { text-align: center; margin-bottom: 2rem; }

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 32px;
}

.card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--lpb-radius-card);
	background: var(--lpb-blanc);
	box-shadow: var(--lpb-shadow-card);
	transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(78, 17, 14, .18); }

.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--lpb-sable); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder {
	display: block; width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--lpb-sable), var(--lpb-creme));
}

.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card__title { font-size: 1.45rem; line-height: 1.15; margin: 0.6rem 0 0.5rem; }
.card__title a { color: var(--lpb-marine); text-decoration: none; }
.card__title a:hover { color: var(--lpb-rouge); }
.card__excerpt { font-family: var(--lpb-font-accent); font-weight: 500; font-size: 1rem; line-height: 1.55; color: var(--lpb-terre); }
.card__excerpt p { margin: 0 0 1rem; }
.card__footer { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

.badge {
	align-self: flex-start;
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--lpb-creme);
	border: 1px solid rgba(182, 138, 54, .38);
	font-family: var(--lpb-font-accent);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--lpb-bordeaux);
	text-decoration: none;
}
.badge:hover { background: var(--lpb-or); color: var(--lpb-bordeaux); }

.post-meta {
	display: flex; gap: 8px; flex-wrap: wrap;
	font-family: var(--lpb-font-accent);
	font-size: 0.88rem;
	color: var(--lpb-terre);
}

/* Pagination */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: var(--lpb-radius-btn);
	border: 1px solid var(--lpb-filet);
	font-family: var(--lpb-font-accent);
	font-weight: 600;
	color: var(--lpb-marine);
	text-decoration: none;
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover { background: var(--lpb-bordeaux); border-color: var(--lpb-bordeaux); color: var(--lpb-or); }

.empty-state { text-align: center; padding: 40px 0; }
.empty-state .search-form { margin: 1.5rem auto 0; }

/* ==========================================================================
   7. Encart réservation
   ========================================================================== */
.booking-cta {
	margin: clamp(32px, 5vw, 56px) 0;
	border-radius: var(--lpb-radius-card);
	background: var(--lpb-bordeaux);
	background-image: radial-gradient(circle at 100% 0%, rgba(232, 170, 35, .18), transparent 55%);
	color: var(--lpb-blanc);
	text-align: center;
}
.booking-cta__inner { max-width: 640px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--lpb-gutter); }
.booking-cta h2 { color: var(--lpb-blanc); }
.booking-cta p { color: rgba(255, 255, 255, .85); }
.booking-cta .eyebrow { color: var(--lpb-or); }
.entry-content .booking-cta h2 { margin-top: 0; }

/* ==========================================================================
   8. Article
   ========================================================================== */
.entry-header { padding: clamp(40px, 6vw, 72px) 0 32px; text-align: center; }
.entry-title { margin-bottom: 0.4em; }
.entry-lead { font-family: var(--lpb-font-accent); font-weight: 500; font-size: 1.2rem; color: var(--lpb-terre); }

.breadcrumb {
	display: flex; justify-content: center; align-items: center; gap: 10px;
	margin-bottom: 1.25rem;
	font-family: var(--lpb-font-accent);
	font-size: 0.9rem;
}
.breadcrumb > a { color: var(--lpb-terre); text-decoration: none; }
.breadcrumb .badge { align-self: center; }

.entry-byline {
	display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px;
	font-family: var(--lpb-font-accent);
	font-weight: 600;
	font-size: 0.95rem;
}
.entry-byline img { border-radius: 50%; }
.entry-byline .post-meta::before { content: "·"; margin-right: 2px; }

.entry-thumbnail { margin: 0 auto 48px; }
.entry-thumbnail img { width: 100%; border-radius: var(--lpb-radius-card); box-shadow: var(--lpb-shadow-card); }

.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-bottom: 48px; }
.entry-layout > * { min-width: 0; }
.sidebar, .entry-content { overflow-wrap: break-word; }
.entry-layout > .entry-content { max-width: var(--lpb-narrow); margin-inline: auto; width: 100%; }
@media (min-width: 1024px) {
	.entry-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
	.entry-layout.has-sidebar > .entry-content { margin-inline: 0; }
}

.entry-content { font-size: 1.1rem; line-height: 1.75; }
.entry-content > * + h2 { margin-top: 2em; }
.entry-content > * + h3 { margin-top: 1.6em; }
.entry-content a { color: var(--lpb-rouge); font-weight: 600; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content ul li::marker { color: var(--lpb-or); }
.entry-content img { border-radius: var(--lpb-radius-box); }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption,
.wp-element-caption { margin-top: 0.6em; font-size: 0.9rem; color: var(--lpb-terre); text-align: center; }

.entry-content blockquote,
.wp-block-quote {
	margin: 2em 0;
	padding: 1.25rem 1.75rem;
	border-left: 4px solid var(--lpb-or);
	border-radius: 0 var(--lpb-radius-box) var(--lpb-radius-box) 0;
	background: var(--lpb-creme);
	font-family: var(--lpb-font-accent);
	font-size: 1.2rem;
	font-weight: 500;
	color: var(--lpb-terre);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: .6em; font-size: .9rem; font-style: normal; color: var(--lpb-bordeaux); }

.entry-content hr,
.wp-block-separator { border: 0; height: 1px; background: var(--lpb-filet); margin: 2.5em auto; }

.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 1rem; }
.entry-content th, .entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--lpb-filet); text-align: left; }
.entry-content th { background: var(--lpb-sable); font-family: var(--lpb-font-accent); }

/* Bloc Détails (FAQ) — style accordéon du site */
.wp-block-details {
	margin: 0 0 14px;
	padding: 18px 22px;
	border: 1px solid rgba(182, 138, 54, .38);
	border-radius: var(--lpb-radius-box);
	background: var(--lpb-ivoire);
	box-shadow: var(--lpb-shadow-soft);
}
.wp-block-details summary { font-family: var(--lpb-font-accent); font-weight: 600; font-size: 1.1rem; cursor: pointer; }
.wp-block-details[open] summary { margin-bottom: 10px; color: var(--lpb-bordeaux); }

.alignwide { margin-inline: calc(50% - min(590px, 50vw - var(--lpb-gutter))); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.alignleft { float: left; margin: 0.4em 1.5em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }

.has-bordeaux-color { color: var(--lpb-bordeaux) !important; }
.has-bordeaux-background-color { background-color: var(--lpb-bordeaux) !important; }
.has-rouge-color { color: var(--lpb-rouge) !important; }
.has-rouge-background-color { background-color: var(--lpb-rouge) !important; }
.has-or-color { color: var(--lpb-or) !important; }
.has-or-background-color { background-color: var(--lpb-or) !important; }
.has-marine-color { color: var(--lpb-marine) !important; }
.has-marine-background-color { background-color: var(--lpb-marine) !important; }
.has-terre-color { color: var(--lpb-terre) !important; }
.has-sable-background-color { background-color: var(--lpb-sable) !important; }
.has-creme-background-color { background-color: var(--lpb-creme) !important; }
.has-blanc-color { color: var(--lpb-blanc) !important; }

.tag-list { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; margin: 2em 0 0; }
.tag-list li::marker { content: none; }
.tag-list a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--lpb-sable); font-size: .88rem; font-weight: 500 !important; color: var(--lpb-terre) !important; text-decoration: none; }
.tag-list a::before { content: "#"; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 2.5em 0; }
.post-nav a {
	display: block; height: 100%;
	padding: 18px 20px;
	border: 1px solid var(--lpb-filet);
	border-radius: var(--lpb-radius-box);
	color: var(--lpb-marine) !important;
	text-decoration: none;
	font-family: var(--lpb-font-accent);
	font-weight: 600 !important;
	line-height: 1.35;
}
.post-nav a:hover { border-color: var(--lpb-or); background: var(--lpb-creme); }
.post-nav small { display: block; margin-bottom: 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lpb-or-fonce); }
.post-nav__next { grid-column: 2; text-align: right; }

.related { padding: 56px 0 72px; background: var(--lpb-sable); border-top: 1px solid var(--lpb-filet); }

/* Barre latérale */
.sidebar .widget {
	margin-bottom: 28px;
	padding: 24px;
	border-radius: var(--lpb-radius-box);
	background: var(--lpb-creme);
	border: 1px solid var(--lpb-filet);
}
.widget-title { font-family: var(--lpb-font-accent); font-size: 1.1rem; margin-bottom: .8em; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 6px 0; border-bottom: 1px solid var(--lpb-filet); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--lpb-marine); text-decoration: none; }
.sidebar a:hover { color: var(--lpb-rouge); }

/* Commentaires */
.comments-area { margin-top: 3em; padding-top: 2em; border-top: 1px solid var(--lpb-filet); }
.comment-list { list-style: none; padding: 0 !important; }
.comment-list .children { list-style: none; padding-left: 1.5em; }
.comment-body { padding: 18px 20px; margin-bottom: 16px; border-radius: var(--lpb-radius-box); background: var(--lpb-ivoire); border: 1px solid var(--lpb-filet); }
.comment-author img { float: left; margin-right: 12px; border-radius: 50%; }
.comment-metadata { font-size: .85rem; }
.comment-metadata a { color: var(--lpb-terre); font-weight: 400; }
.comment-form label { display: block; font-family: var(--lpb-font-accent); font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(182, 138, 54, .38);
	border-radius: var(--lpb-radius-btn);
	font: inherit;
	font-size: 1rem;
}
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ==========================================================================
   9. Pied de page
   ========================================================================== */
.site-footer { background: var(--lpb-bordeaux); color: rgba(255, 255, 255, .85); font-size: .98rem; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 40px;
	padding-block: 64px 48px;
}
.site-footer__logo img { width: 145px; border-radius: 10px; }
.site-footer__brand p { margin-top: 1rem; font-family: var(--lpb-font-accent); color: var(--lpb-or); }
.site-footer__title {
	font-family: var(--lpb-font-accent);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--lpb-or);
}
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: var(--lpb-or); }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1.2rem; }
.site-footer address strong { color: var(--lpb-blanc); }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: .55rem; }
.site-footer .btn--gold { color: var(--lpb-bordeaux); }

.site-footer__bottom { border-top: 1px solid rgba(232, 170, 35, .25); font-size: .88rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; }
.site-footer__bottom p { margin: 0; }

@media (max-width: 860px) {
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
	.site-footer__logo img { margin-inline: auto; }
	.site-footer__bottom .container { flex-direction: column; text-align: center; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { grid-column: auto; }
}

@media (max-width: 520px) {
	body { font-size: 16px; }
	.search-form { flex-direction: column; }
	.card__body { padding: 20px; }
	.entry-content { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
	.site-header, .site-footer, .booking-cta, .comments-area, .related, .post-nav, .sidebar { display: none !important; }
}

/* Widgets de blocs (recherche, derniers articles…) */
.wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.wp-block-search__label { display: block; margin-bottom: 6px; font-family: var(--lpb-font-accent); font-weight: 600; }
.wp-block-search__input {
	flex: 1; min-width: 0;
	padding: 10px 12px;
	border: 1px solid rgba(182, 138, 54, .38);
	border-radius: var(--lpb-radius-btn);
	font: inherit; font-size: .95rem;
}
.wp-block-search__button { margin: 0; padding: 10px 14px; font-size: .9rem; }
.sidebar .widget h2,
.sidebar .wp-block-heading { font-family: var(--lpb-font-accent); font-size: 1.1rem; letter-spacing: 0; margin-bottom: .8em; }
