/*
Theme Name: Slowloma
Description: Thème sur mesure de Slowloma, le slow travel avec votre chien. Couleurs nature, formes carrées, Bebas Neue et Raleway.
Version: 1.7.2
Author: Slowloma
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: slowloma
*/

/* ==========================================================================
   Jetons du design system Slowloma
   ========================================================================== */
:root {
	--sauge: #A3B18A;
	--sauge-clair: #DCE3D1;
	--mousse: #5E6E4B;
	--foret: #3E4A32;
	/* Fonds neutres, sans reflet rose (demande de Camille, oct. 2026) */
	--lin: #F7F6F1;
	--beige: #ECE9DF;
	--sable: #D8D2C1;
	--brun: #3B2F25;
	--brun-doux: #6B5A4B;

	--display: "Bebas Neue", "Oswald", Impact, sans-serif;
	--sans: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;

	--space-16: 16px;
	--space-20: 20px;
	--space-40: 40px;
	--space-80: 80px;

	--largeur: 1200px;
	--gouttiere: 20px;
	--entete: 104px;
}
@media (max-width: 720px) {
	:root {
		--space-80: 56px;
		--space-40: 32px;
		--gouttiere: 16px;
		--entete: 80px;
	}
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--lin);
	color: var(--brun);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	overflow-x: hidden;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--mousse); text-underline-offset: 3px; }
a:hover { color: var(--foret); }
:focus-visible { outline: 2px solid var(--foret); outline-offset: 2px; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }

h1, h2, h3, h4,
.titre-hero, .titre-section, .titre-bloc {
	font-family: var(--display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .5px;
	line-height: 1.15;
	color: var(--brun);
	margin: 0 0 .5em;
}
h1, .titre-section { font-size: clamp(32px, 4.5vw, 44px); }
h2 { font-size: clamp(28px, 3.5vw, 34px); }
h3, .titre-bloc { font-size: 22px; line-height: 1.3; }
h4 { font-size: 20px; }
.titre-hero { font-size: clamp(42px, 8vw, 80px); line-height: 1; }
.chapo { font-size: 20px; line-height: 1.5; }
.surtitre { font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brun-doux); margin-bottom: 8px; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.lien-evitement { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--foret); color: var(--lin); padding: 12px 16px; }
.lien-evitement:focus { left: 8px; top: 8px; }

/* ==========================================================================
   Mise en page
   ========================================================================== */
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.conteneur--etroit { max-width: 800px; }
.conteneur--texte { max-width: 720px; }

.section { padding: var(--space-80) 0; }
.section--lin { background: var(--lin); }
.section--beige { background: var(--beige); }
.section--sauge { background: var(--sauge); }
.section--sauge-clair { background: var(--sauge-clair); }
.section--filet { border-top: 1px solid var(--sable); }
.section__entete { text-align: center; max-width: 720px; margin: 0 auto var(--space-40); }
.section__entete p:last-child { margin-bottom: 0; }
.section__pied { text-align: center; margin-top: var(--space-40); }

.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-40) var(--space-20); }
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-40) var(--space-20); }
@media (max-width: 900px) { .grille-3 { grid-template-columns: 1fr; gap: var(--space-40); } }
@media (max-width: 640px) { .grille-cartes { grid-template-columns: 1fr; } }

/* ==========================================================================
   Boutons, tags, encarts
   ========================================================================== */
.bouton, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px;
	padding: 14px 28px;
	font-family: var(--sans);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	border: 1px solid var(--foret);
	border-radius: 0;
	background: var(--foret);
	color: var(--lin);
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.bouton:hover, .wp-block-button__link:hover { background: var(--mousse); border-color: var(--mousse); color: var(--lin); }
.bouton--contour { background: transparent; color: var(--brun); border-color: var(--brun); }
.bouton--contour:hover { background: var(--brun); border-color: var(--brun); color: var(--lin); }
.bouton--clair { background: var(--lin); color: var(--brun); border-color: var(--lin); }
.bouton--clair:hover { background: var(--beige); border-color: var(--beige); color: var(--brun); }
.bouton--petit { font-size: 16px; min-height: 44px; padding: 10px 18px; }
.bouton[disabled] { opacity: .6; cursor: wait; }
.boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.formulaire > .bouton, .page-privee form > .bouton { justify-self: center; }
.resa .bouton--plein { width: 100%; }
@media (max-width: 480px) {
	.boutons .bouton { width: 100%; }
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tag { display: inline-block; background: var(--sauge-clair); color: var(--brun); font-size: 13px; font-weight: 600; padding: 3px 10px; }
.tag--photo { position: absolute; top: 12px; left: 12px; background: var(--lin); }

.encart { background: var(--beige); padding: var(--space-20); margin: var(--space-20) 0; }
.encart > :last-child { margin-bottom: 0; }
.encart--sauge { background: var(--sauge-clair); }

/* ==========================================================================
   En-tête
   ========================================================================== */
.entete {
	position: sticky; top: 0; z-index: 50;
	background: var(--lin);
	border-bottom: 1px solid var(--sable);
}
.admin-bar .entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete { top: 46px; } }
@media (max-width: 600px) { .admin-bar .entete { top: 0; } }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--entete); }

.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--brun); line-height: 1; }
.logo:hover { color: var(--brun); }
.logo__mot {
	font-family: var(--display);
	font-size: 34px;
	letter-spacing: 2px;
	padding: 0 6px;
	background: linear-gradient(transparent 52%, var(--sauge) 52%, var(--sauge) 92%, transparent 92%);
}
.logo__signature { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brun-doux); margin-top: 4px; padding-left: 6px; }
@media (max-width: 720px) { .logo__mot { font-size: 28px; } .logo__signature { display: none; } }
.logo img { max-height: 56px; width: auto; }
/* Logo carré (celui de Camille) */
/* Le logo carré d'origine, posé dans la barre ; il se réduit un peu quand on fait défiler la page. */
.entete .logo { flex: none; }
.logo .logo__image { height: 96px; width: 96px; max-height: none; display: block; transition: width .25s, height .25s; }
/* Fin liseré vert autour du logo de l'en-tête, pour qu'il se détache du fond clair (l'image reste intacte). */
.entete .logo .logo__image { outline: 1px solid var(--mousse); outline-offset: 0; }
.entete--compacte .logo .logo__image { height: 68px; width: 68px; }
@media (max-width: 720px) {
	.logo .logo__image { height: 72px; width: 72px; }
	.entete--compacte .logo .logo__image { height: 56px; width: 56px; }
}
.entete__barre { padding: 4px 0; }
.logo--pied { display: inline-block; background: var(--lin); padding: 6px; }
.logo--pied .logo__image { height: 120px; width: 120px; }
.pied__accroche { margin-top: 16px; max-width: 300px; text-wrap: balance; }

/* Lignes équilibrées pour les titres et textes courts (pas de mot seul sur la dernière ligne). */
h1, h2, h3, .chapo, .section__entete p, .bandeau p, .destination__texte p { text-wrap: balance; }

.nav-principale ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--space-16); }
.nav-principale a { display: block; padding: 8px 4px; font-size: 16px; color: var(--brun-doux); text-decoration: none; }
.nav-principale a:hover, .nav-principale .current-menu-item > a, .nav-principale .current-menu-ancestor > a { color: var(--mousse); }
.nav-principale .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--sauge); text-decoration-thickness: 2px; }
.nav-principale li { position: relative; }
.nav-principale .sub-menu {
	display: none; position: absolute; top: 100%; left: -12px; min-width: 220px;
	flex-direction: column; align-items: stretch; gap: 0;
	background: var(--lin); border: 1px solid var(--sable); padding: 8px 0;
}
.nav-principale .sub-menu a { padding: 8px 16px; }
.nav-principale li:hover > .sub-menu, .nav-principale li:focus-within > .sub-menu { display: flex; }
.nav-principale .menu-item-has-children > a::after { content: " ▾"; font-size: 12px; }
.nav-principale .menu-cta a { background: var(--foret); color: var(--lin); padding: 10px 16px; font-weight: 600; }
.nav-principale .menu-cta a:hover { background: var(--mousse); color: var(--lin); }

.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--sable); background: transparent; cursor: pointer; padding: 0; color: var(--brun); }
.burger__icone, .burger__icone::before, .burger__icone::after { display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s; }
.burger__icone::before, .burger__icone::after { content: ""; position: absolute; left: 0; }
.burger__icone::before { top: -7px; }
.burger__icone::after { top: 7px; }
.burger[aria-expanded="true"] .burger__icone { background: transparent; }
.burger[aria-expanded="true"] .burger__icone::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__icone::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1120px) {
	.burger { display: block; }
	.nav-principale {
		display: none;
		position: fixed; left: 0; right: 0; top: var(--entete); bottom: 0;
		background: var(--lin); overflow-y: auto;
		border-top: 1px solid var(--sable);
		padding: 8px var(--gouttiere) 40px;
	}
	.admin-bar .nav-principale { top: calc(var(--entete) + 46px); }
	.nav-principale.est-ouverte { display: block; }
	.nav-principale ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-principale > ul > li { border-bottom: 1px solid var(--sable); }
	.nav-principale a { padding: 14px 0; font-size: 18px; color: var(--brun); }
	.nav-principale .sub-menu { display: flex; position: static; border: 0; padding: 0 0 8px 16px; background: transparent; min-width: 0; }
	.nav-principale .sub-menu a { padding: 8px 0; font-size: 16px; color: var(--brun-doux); }
	.nav-principale .menu-item-has-children > a::after { content: ""; }
	.nav-principale .menu-cta { border: 0; margin-top: 20px; }
	.nav-principale .menu-cta a { text-align: center; }
	body.menu-ouvert { overflow: hidden; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: var(--lin); background: var(--foret); overflow: hidden; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(62, 74, 50, .92) 0%, rgba(62, 74, 50, .72) 50%, rgba(62, 74, 50, .45) 100%); }
.hero__contenu { position: relative; z-index: 1; padding-top: 120px; padding-bottom: var(--space-80); }
.hero h1, .hero .titre-hero { color: var(--lin); max-width: 820px; }
.hero .chapo { max-width: 620px; margin-bottom: var(--space-40); }
.hero .bouton--contour { color: var(--lin); border-color: var(--lin); }
.hero .bouton--contour:hover { background: var(--lin); color: var(--brun); }
.hero--page { min-height: 380px; }
.hero--page .hero__contenu { padding-top: 100px; padding-bottom: var(--space-40); }

/* Bandeau sauge (signe de la marque) */
.bandeau { background: var(--sauge); padding: var(--space-80) 0; text-align: center; }
.bandeau .titre-bloc, .bandeau h2 { color: var(--brun); }
.bandeau p { max-width: 640px; margin-left: auto; margin-right: auto; }
.bandeau--partenaire { display: grid; }
.bandeau__duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-40); align-items: center; text-align: left; }
.bandeau__duo p { margin-left: 0; }
.bandeau__duo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 800px) { .bandeau__duo { grid-template-columns: 1fr; } }

/* ==========================================================================
   Accueil
   ========================================================================== */
.valeur__titre { display: flex; gap: 8px; align-items: baseline; }
.valeur p { margin: 0 0 .8em; font-size: 15px; }
/* Trois colonnes plus étroites et centrées, avec de l'air entre elles. */
.valeurs { max-width: 1000px; margin: 0 auto; column-gap: var(--space-80); text-align: center; }
.valeurs .titre-bloc { text-wrap: balance; }
.valeurs p { text-wrap: pretty; }
@media (max-width: 900px) { .valeurs { max-width: 520px; } }

/* Destinations : la photo, puis le pays, la description et le lien, l'un sous l'autre. */
.destinations { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-40) var(--space-20); }
.destination { display: flex; flex-direction: column; background: var(--beige); }
.destination__photo { display: block; aspect-ratio: 1; overflow: hidden; background: var(--sable); }
.destination__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.destination:hover .destination__photo img { transform: scale(1.03); }
.destination__texte { padding: var(--space-20); display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
@media (min-width: 640px) and (max-width: 900px) { .destination__photo { max-width: 420px; width: 100%; margin: 0 auto; } }
.destination__nom { font-size: 36px; line-height: 1; margin: 0 0 12px; }
.destination__nom a { color: var(--brun); text-decoration: none; }
.destination__accroche { font-weight: 600; }
.destination__texte p { font-size: 15px; }
.destination__lien { margin-top: auto; font-weight: 600; }
@media (max-width: 900px) { .destinations { grid-template-columns: 1fr; } }

/* Accueil : le titre et le texte à gauche, la photo portrait à droite. */
.hero-duo { background: var(--lin); padding: var(--space-40) 0 var(--space-80); }
.hero-duo__grille { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-80); align-items: center; }
.hero-duo .titre-hero { display: inline; padding: 0 6px; background: linear-gradient(transparent 62%, var(--sauge) 62%, var(--sauge) 92%, transparent 92%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-duo .chapo { margin: 28px 0 var(--space-40); max-width: 560px; }
.hero-duo__photo img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; margin-left: auto; }
@media (max-width: 860px) {
	.hero-duo { padding-top: var(--space-20); }
	.hero-duo__grille { grid-template-columns: 1fr; gap: var(--space-40); }
	.hero-duo__photo { order: -1; }
	.hero-duo__photo img { max-width: none; aspect-ratio: 4 / 3; margin: 0; }
}
.texte-centre { text-align: center; }

/* Accueil : photo en fond, texte centré */
.hero--accueil { align-items: center; text-align: center; min-height: min(62vh, 560px); }
.hero--accueil .hero__contenu { padding-top: var(--space-80); }
.hero--accueil h1, .hero--accueil .chapo { margin-left: auto; margin-right: auto; }
/* Titre plus doux : taille modérée, lignes équilibrées (pas de mot seul sur la 2e ligne). */
.hero--accueil .titre-hero { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; max-width: 760px; text-wrap: balance; }
.hero--accueil .chapo { font-size: 18px; max-width: 620px; text-wrap: balance; }
.intro-accueil p { text-wrap: balance; }
.intro-accueil p { font-size: 18px; line-height: 1.7; }
.intro-accueil p:last-child { margin-bottom: 0; }

.pourquoi { display: grid; grid-template-columns: 340px 1fr; gap: var(--space-40); align-items: center; max-width: 1040px; }
.pourquoi__image { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 800px) { .pourquoi { grid-template-columns: 1fr; } .pourquoi__image { max-width: 320px; margin: 0 auto; } .pourquoi .titre-section { text-align: center; } }

/* Pages pays et régions */
.surtitre--clair { color: var(--sauge-clair); }
.titre-hero--page { font-size: clamp(36px, 6vw, 60px); }
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-20); }
.region { display: flex; flex-direction: column; background: var(--beige); color: var(--brun); text-decoration: none; }
.region:hover { color: var(--brun); }
.region__photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sable); }
.region__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.region:hover .region__photo img { transform: scale(1.04); }
.region__texte { display: flex; flex-direction: column; gap: 6px; padding: var(--space-20); }
.region__nom { font-family: var(--display); font-size: 24px; letter-spacing: .5px; text-transform: uppercase; line-height: 1.1; }
.region:hover .region__nom { text-decoration: underline; text-decoration-color: var(--sauge); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.region__nombre { font-size: 13px; font-weight: 700; color: var(--mousse); text-transform: uppercase; letter-spacing: 1px; }
.region__phrase { font-size: 15px; }
.texte-destination h2 { font-size: 28px; margin-top: 1.4em; }
.texte-destination h2:first-child { margin-top: 0; }
.texte-destination p { font-size: 17px; line-height: 1.75; }
.boutons--centre { justify-content: center; }

.icone { display: inline-block; vertical-align: middle; flex: none; }
.lien-icone { display: inline-flex; padding: 4px 0; }

.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-20); counter-reset: etape; }
.etape { counter-increment: etape; border-top: 2px solid var(--brun); padding-top: var(--space-20); }
.etape::before { content: counter(etape, decimal-leading-zero); display: block; font-family: var(--display); font-size: 44px; line-height: 1; color: var(--mousse); margin-bottom: 8px; }
.etape h3 { margin-bottom: 6px; }
.etape p { margin: 0; }
@media (max-width: 900px) { .etapes { grid-template-columns: 1fr 1fr; gap: var(--space-40) var(--space-20); } }
@media (max-width: 520px) { .etapes { grid-template-columns: 1fr; } }

.planner { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-40); align-items: center; max-width: 900px; }
.planner__image { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 700px) { .planner { grid-template-columns: 1fr; } .planner__image { max-width: 160px; } }

.a-propos { display: grid; grid-template-columns: 200px 1fr; gap: var(--space-40); align-items: center; max-width: 900px; margin: 0 auto; }
.a-propos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 720px) { .a-propos { grid-template-columns: 1fr; } .a-propos img { max-width: 160px; } }

.differences { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-20); }
.differences li { background: var(--lin); padding: var(--space-20); border: 1px solid var(--sable); }
.differences h3 { margin-bottom: 6px; }
.differences p { margin: 0; }
@media (max-width: 900px) { .differences { grid-template-columns: 1fr; } }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--sable); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 30px; color: var(--mousse); }
.faq details[open] summary::after { content: "−"; }
.faq__reponse { padding: 0 0 18px; }
.faq__reponse p:last-child { margin: 0; }

.insta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-20); }
.insta p { margin: 0; }

/* ==========================================================================
   Cartes d'hébergement
   ========================================================================== */
.carte-hebergement { background: var(--beige); height: 100%; }
.carte-hebergement__lien { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.carte-hebergement__lien:hover { color: inherit; }
.carte-hebergement__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sable); }
.carte-hebergement__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.carte-hebergement__lien:hover .carte-hebergement__photo img { transform: scale(1.04); }
.carte-hebergement__corps { padding: var(--space-20); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.carte-hebergement__lieu { margin: 0; font-size: 14px; color: var(--brun-doux); }
.carte-hebergement__titre { margin: 0; }
.carte-hebergement__lien:hover .carte-hebergement__titre { text-decoration: underline; text-decoration-color: var(--sauge); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.carte-hebergement__accroche { margin: 0; font-size: 15px; }
.carte-hebergement__prix { margin: auto 0 0; padding-top: 8px; font-size: 15px; color: var(--brun-doux); }
.carte-hebergement__prix strong { color: var(--brun); }

/* ==========================================================================
   Fiche hébergement
   ========================================================================== */
.fil { font-size: 14px; color: var(--brun-doux); margin: var(--space-20) 0; }
.fil a { color: var(--brun-doux); }
.fil span[aria-hidden] { margin: 0 6px; }

.fiche__entete { margin-bottom: var(--space-20); }
.fiche__entete h1 { margin-bottom: 4px; }
.fiche__lieu { color: var(--brun-doux); margin: 0 0 10px; }

.galerie { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: min(56vw, 520px); margin-bottom: var(--space-40); position: relative; }
.galerie__item { position: relative; overflow: hidden; background: var(--sable); border: 0; padding: 0; cursor: zoom-in; }
.galerie__item img { width: 100%; height: 100%; object-fit: cover; }
.galerie__item:first-child { grid-row: 1 / 3; }
.galerie__item:nth-child(n+6) { display: none; }
.galerie--1 { grid-template-columns: 1fr; }
.galerie--2 { grid-template-columns: 2fr 1fr; }
.galerie--2 .galerie__item:nth-child(2) { grid-row: 1 / 3; }
.galerie--3 { grid-template-columns: 2fr 1fr; }
.galerie--4 .galerie__item:nth-child(4) { grid-column: 2 / 4; }
.galerie__tout { position: absolute; right: 12px; bottom: 12px; z-index: 1; }
@media (max-width: 720px) {
	.galerie, .galerie--1, .galerie--2, .galerie--3 {
		display: flex; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px;
		margin-left: calc(-1 * var(--gouttiere)); margin-right: calc(-1 * var(--gouttiere)); padding: 0 var(--gouttiere);
		scrollbar-width: none;
	}
	.galerie::-webkit-scrollbar { display: none; }
	.galerie__item, .galerie__item:nth-child(n+6) { display: block; flex: 0 0 86%; aspect-ratio: 4 / 3; scroll-snap-align: center; }
	.galerie__tout { display: none; }
}

.visionneuse { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--brun); }
.visionneuse::backdrop { background: rgba(59, 47, 37, .9); }
.visionneuse__fermer { position: sticky; top: 12px; float: right; margin: 12px; z-index: 2; }
.visionneuse__photos { max-width: 1000px; margin: 0 auto; padding: 72px var(--gouttiere) 40px; display: grid; gap: 12px; }
.visionneuse__photos img { width: 100%; }

.fiche { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: var(--space-80); align-items: start; }
.fiche__colonne > section { padding-bottom: var(--space-40); margin-bottom: var(--space-40); border-bottom: 1px solid var(--sable); }
.fiche__colonne > section:last-child { border-bottom: 0; }
.fiche__aside { position: sticky; top: calc(var(--entete) + 20px); }
.admin-bar .fiche__aside { top: calc(var(--entete) + 52px); }
@media (max-width: 1020px) {
	.fiche { grid-template-columns: 1fr; gap: var(--space-40); }
	.fiche__aside { position: static; }
}

/* Les infos clés tiennent sur une seule ligne (elles passent à la ligne seulement sur petit écran). */
.infos-cles { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin: 0 0 var(--space-20); padding: 0; list-style: none; }
.infos-cles li { background: var(--beige); padding: 10px 12px; font-size: 14px; line-height: 1.3; }
@media (max-width: 640px) { .infos-cles { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); } }
.infos-cles strong { display: block; font-family: var(--display); font-size: 24px; font-weight: 400; line-height: 1.1; letter-spacing: .5px; }

.liste-coches { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.liste-coches li { position: relative; padding-left: 28px; }
.liste-coches li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--mousse); border-bottom: 2px solid var(--mousse); transform: rotate(-45deg); }

/* Deux colonnes équilibrées : chaque colonne se remplit de haut en bas, sans trou. */
.liste-coches--colonnes { display: block; columns: 2; column-gap: var(--space-40); }
.liste-coches--colonnes li { break-inside: avoid; margin-bottom: 10px; }
@media (max-width: 640px) { .liste-coches--colonnes { columns: 1; } }
.liste-regles { list-style: none; margin: var(--space-20) 0 0; padding: var(--space-20); background: var(--beige); display: grid; gap: 6px; }
.liste-regles li { position: relative; padding-left: 20px; }
.liste-regles li::before { content: "–"; position: absolute; left: 0; color: var(--brun-doux); }
.logements { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-20); }
.logement { background: var(--beige); display: flex; flex-direction: column; }
.logement__photo { position: relative; display: block; padding: 0; border: 0; background: var(--sable); aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; }
.logement__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.logement__photo:hover img { transform: scale(1.04); }
.logement__nb { position: absolute; right: 10px; bottom: 10px; background: var(--lin); color: var(--brun); font-size: 13px; font-weight: 600; padding: 4px 10px; }
.logement__corps { padding: var(--space-20); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.logement h3 { margin: 0; }
.logement p { font-size: 15px; margin: 0; }
.logement .bouton { margin-top: auto; align-self: flex-start; }
.logement__infos { margin: 0; color: var(--brun-doux); }
.logement__infos strong { color: var(--brun); }
.citation-hote p:last-child { margin-bottom: 0; }
.mot-slowloma { background: var(--sauge-clair); padding: var(--space-20) var(--space-20) var(--space-20); }
.mot-slowloma h2 { font-size: 22px; }

.barre-resa { display: none; }
@media (max-width: 1020px) {
	.barre-resa {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		background: var(--lin); border-top: 1px solid var(--sable);
		padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom));
		transform: translateY(0); transition: transform .25s;
	}
	.barre-resa.est-cachee { transform: translateY(110%); }
	.barre-resa p { margin: 0; font-size: 14px; line-height: 1.3; }
	.barre-resa strong { font-size: 18px; }
	.barre-resa .bouton { font-size: 16px; min-height: 48px; padding: 10px 16px; }
	.single-hebergement .pied { padding-bottom: 90px; }
}

/* Contenu importé des anciennes pages (blocs WordPress) */
.contenu > *:first-child { margin-top: 0; }
.contenu h2 { font-size: 28px; margin-top: 1.4em; }
.contenu h3 { margin-top: 1.2em; }
.contenu ul, .contenu ol { padding-left: 1.2em; }
.contenu li { margin-bottom: .3em; }
.contenu img { height: auto; }
.contenu blockquote { margin: 1.5em 0; padding: var(--space-20); background: var(--beige); border: 0; }
.contenu figure { margin: 1.5em 0; }
.contenu figcaption { font-size: 14px; color: var(--brun-doux); margin-top: 6px; }
.contenu table { width: 100%; border-collapse: collapse; }
.contenu td, .contenu th { border-bottom: 1px solid var(--sable); padding: 8px; text-align: left; }
.contenu .wp-block-button__link { border-radius: 0; }
.contenu .alignwide { max-width: none; }
.contenu .wp-block-columns { gap: var(--space-20); }

/* ==========================================================================
   Blog
   ========================================================================== */
.cartes-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-40) var(--space-20); }
@media (max-width: 960px) { .cartes-articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cartes-articles { grid-template-columns: 1fr; } }
.carte-article a { color: inherit; text-decoration: none; display: block; }
.carte-article__photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--beige); margin-bottom: 14px; }
.carte-article__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.carte-article a:hover img { transform: scale(1.04); }
.carte-article__meta { font-size: 13px; color: var(--brun-doux); margin: 0 0 4px; text-transform: uppercase; letter-spacing: 1px; }
.carte-article h2, .carte-article h3 { font-size: 22px; margin-bottom: 8px; }
.carte-article a:hover h2, .carte-article a:hover h3 { text-decoration: underline; text-decoration-color: var(--sauge); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.carte-article p { margin: 0; font-size: 15px; }

.filtres { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: var(--space-40); }
.filtres a { padding: 6px 14px; border: 1px solid var(--sable); color: var(--brun); text-decoration: none; font-size: 14px; }
.filtres a:hover, .filtres a.est-actif { background: var(--foret); border-color: var(--foret); color: var(--lin); }

.article__entete { text-align: center; padding: var(--space-80) 0 var(--space-40); }
.article__meta { color: var(--brun-doux); font-size: 14px; }
.article__image { max-width: 1000px; margin: 0 auto var(--space-40); padding: 0 var(--gouttiere); }
.article__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article .contenu { font-size: 17px; line-height: 1.75; }
.article .contenu > p:first-child { font-size: 20px; line-height: 1.6; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: var(--space-80); flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--sable); color: var(--brun); text-decoration: none; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--foret); color: var(--lin); border-color: var(--foret); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.pied { background: var(--foret); color: var(--lin); padding: var(--space-80) 0 var(--space-20); }
.pied a { color: var(--lin); }
.pied a:hover { color: var(--sauge-clair); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-40) var(--space-20); }
.pied .logo { color: var(--lin); }
.pied .logo__mot { background: linear-gradient(transparent 52%, var(--mousse) 52%, var(--mousse) 92%, transparent 92%); }
.pied .logo__signature { color: var(--sauge-clair); display: block; }
.pied__titre { font-family: var(--display); font-size: 22px; letter-spacing: 1px; margin: 0 0 12px; color: var(--lin); }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pied ul a { text-decoration: none; }
.pied ul a:hover { text-decoration: underline; }
.pied__bas { border-top: 1px solid var(--mousse); margin-top: var(--space-40); padding-top: var(--space-20); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.pied__bas button { background: none; border: 0; color: var(--lin); font: inherit; padding: 0; text-decoration: underline; cursor: pointer; }
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }

/* ==========================================================================
   Consentement cookies
   ========================================================================== */
.cookies {
	position: fixed; left: 16px; bottom: 16px; z-index: 100;
	width: min(440px, calc(100vw - 32px));
	background: var(--lin); color: var(--brun);
	border: 1px solid var(--brun);
	padding: var(--space-20);
	font-size: 15px;
}
.cookies[hidden] { display: none; }
.cookies h2 { font-size: 22px; margin-bottom: 6px; }
.cookies p { margin-bottom: 12px; }
.cookies__choix { display: grid; gap: 10px; margin: 12px 0; padding: 12px 0; border-top: 1px solid var(--sable); border-bottom: 1px solid var(--sable); }
.cookies__choix label { display: flex; gap: 10px; align-items: flex-start; }
.cookies__choix input { width: 20px; height: 20px; accent-color: var(--foret); margin-top: 2px; flex: none; }
.cookies__choix small { display: block; color: var(--brun-doux); }
.cookies__boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookies__boutons .bouton { font-size: 16px; min-height: 44px; padding: 10px 12px; }
.cookies__perso { grid-column: 1 / -1; background: none; border: 0; padding: 4px 0 0; color: var(--mousse); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; }
@media (max-width: 480px) { .cookies { left: 0; bottom: 0; width: 100%; border-width: 1px 0 0; } }

/* ==========================================================================
   Pages
   ========================================================================== */
.page-entete { padding: var(--space-80) 0 var(--space-40); text-align: center; }
.page-entete .chapo { max-width: 720px; margin: 0 auto; }
.erreur-404 { text-align: center; padding: var(--space-80) 0; }
