/* ==========================================================================
   Thème Carnet — 2B Aventure
   1. Repères   2. Base   3. En-tête & menu   4. Boutons   5. Pied de page
   6. Pages simples   7. Sections .ab   8. AB Réservations   9. Petits écrans
   ========================================================================== */

/* 1. Repères ------------------------------------------------------------- */
:root {
	--papier: #F8F5F0;
	--papier-2: #EFE9DF;
	--ligne: #D9D0C2;
	--encre: #1F2521;
	--encre-2: #3A423C;
	--gris: #5E665F;
	--vert: #2E4A3B;
	--vert-f: #1F3328;
	--ocre: #C48F57;
	--ocre-t: #8A5A2B;
	--sable: #E4C9A6;
	--eau: #3E6E7A;
	--titre: Outfit, "Segoe UI", system-ui, sans-serif;
	--texte: Inter, "Segoe UI", system-ui, sans-serif;
	--large: 1200px;
	--gouttiere: 40px;
	--contenu: calc(var(--large) - 2 * var(--gouttiere));
	--section: clamp(64px, 8vw, 112px);
	--entete: 76px;
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
body {
	margin: 0;
	background: var(--papier);
	color: var(--encre);
	font-family: var(--texte);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--titre);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -.015em;
	color: var(--encre);
	margin: 0 0 .6em;
	text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 300; letter-spacing: -.035em; line-height: 1; }
h2 { font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -.02em; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
a { color: var(--vert); text-decoration-color: var(--ocre); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--encre); }
:focus-visible { outline: 2px solid var(--ocre); outline-offset: 3px; }
hr, .wp-block-separator { border: 0; border-top: 1px solid var(--ligne); margin: 2em 0; }
strong, b { font-weight: 600; }
::selection { background: var(--sable); color: var(--encre); }

.wrap { max-width: var(--large); margin-inline: auto; padding-inline: var(--gouttiere); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--encre); color: var(--papier); padding: 10px 16px; border-radius: 4px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.lbl, .kicker {
	font-family: var(--texte); font-size: 12px; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase; color: var(--eau);
}
.kicker a { color: inherit; text-decoration: none; }

/* 3. En-tête & menu ------------------------------------------------------ */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--papier);
	border-bottom: 1px solid var(--ligne);
	transition: box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(31, 37, 33, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--entete); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--vert); text-decoration: none; flex: none; }
.brand:hover { color: var(--vert); }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--titre); font-size: 21px; font-weight: 600; color: var(--encre); letter-spacing: -.01em; }
.brand-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-top: 3px; }
.brand-logo { display: block; max-height: 52px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; }
.site-nav .menu > li > a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
	font-size: 15px; font-weight: 500; color: var(--encre); text-decoration: none;
}
.site-nav .menu > li > a:hover,
.site-nav .menu > .current-menu-item > a,
.site-nav .menu > .current-menu-ancestor > a,
.site-nav .menu > .current-page-ancestor > a { text-decoration: underline; text-decoration-color: var(--ocre); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.sub-toggle {
	width: 28px; height: 44px; margin-left: -8px; border: 0; background: none; color: var(--encre);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.sub-toggle svg { transition: transform .2s; }
.is-open > .sub-toggle svg { transform: rotate(180deg); }
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: 10px 0;
	position: absolute; top: 100%; left: 0; min-width: 240px;
	background: var(--papier); border: 1px solid var(--ligne); border-top: 2px solid var(--encre);
	box-shadow: 0 16px 40px rgba(31, 37, 33, .1);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu,
.site-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: block; padding: 9px 20px; font-size: 15px; color: var(--encre); text-decoration: none; }
.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { background: var(--papier-2); }
.site-nav .menu > .nav-cta { margin-left: 10px; }
.site-nav .menu > .nav-cta > a {
	background: var(--vert); color: var(--papier); border-radius: 999px; padding: 0 22px; font-weight: 600;
	text-decoration: none !important;
}
.site-nav .menu > .nav-cta > a:hover { background: var(--vert-f); color: var(--papier); }
.nav-toggle, .nav-close, .nav-panel-head { display: none; }
.langs { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.langs a { color: var(--gris); text-decoration: none; }
.langs a[aria-current] { color: var(--encre); text-decoration: underline; text-decoration-color: var(--ocre); }
.nav-langs { margin-left: 6px; }
.header-langs { font-size: 14px; gap: 14px; }
.header-langs a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-overlay { position: fixed; inset: 0; background: rgba(15, 25, 20, .45); z-index: 90; }

/* 4. Boutons ------------------------------------------------------------- */
.btn,
.wp-block-button__link,
.wp-element-button,
button.btn,
input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 26px;
	border: 1.5px solid var(--vert); border-radius: 999px;
	background: var(--vert); color: var(--papier);
	font-family: var(--texte); font-size: 15px; font-weight: 600; line-height: 1.2;
	letter-spacing: 0; text-transform: none; text-decoration: none;
	cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover, .wp-block-button__link:hover, .wp-element-button:hover, input[type="submit"]:hover {
	background: var(--vert-f); border-color: var(--vert-f); color: var(--papier);
}
.is-style-outline > .wp-block-button__link,
.wp-block-button__link.is-style-outline,
.btn.btn-trait {
	background: transparent; color: var(--encre); border-color: var(--encre);
}
.is-style-outline > .wp-block-button__link:hover,
.btn.btn-trait:hover { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.wp-block-buttons { gap: 12px; }

/* 5. Pied de page -------------------------------------------------------- */
.site-footer { background: var(--encre); color: #D6CFC3; font-size: 15px; margin-top: 0; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer p { margin: 0 0 .6em; }
.site-footer a { color: #E9E3D8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--ocre); }
.site-footer .ft-brand { font-family: var(--titre); font-size: 26px; font-weight: 600; color: var(--papier); margin-bottom: 10px; letter-spacing: -.01em; }
.site-footer .ft-title,
.site-footer h2, .site-footer h3 {
	font-family: var(--texte); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	color: var(--ocre); margin: 0 0 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer .wp-block-social-links { margin-top: 18px; gap: 10px; }
.footer-bottom {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	margin-top: 56px; padding-top: 20px; border-top: 1px solid #3A423C; font-size: 13px; color: #9E978B;
}
.footer-bottom p { margin: 0; }
.footer-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: #B9B2A6; }
.footer-langs a { color: #B9B2A6; }
.footer-langs a[aria-current] { color: var(--papier); }

/* 6. Pages simples (sans mise en page .ab) ------------------------------- */
.page-head { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(28px, 4vw, 48px); }
.page-head .page-title { margin: 14px 0 0; max-width: 900px; }
.page-head .kicker + .page-title { margin-top: 14px; }
.page-lead { font-size: 19px; color: var(--encre-2); max-width: 680px; margin-top: 18px; }
.entry-cover { margin-block: 0 40px; }
.entry-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 2px; display: block; }
.prose { max-width: calc(760px + 2 * var(--gouttiere)); padding-bottom: var(--section); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: 2px; }
.prose blockquote, .wp-block-quote {
	margin: 1.5em 0; padding: 0; border: 0;
	font-family: var(--titre); font-weight: 300; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -.01em;
}
.prose blockquote cite, .wp-block-quote cite { display: block; margin-top: 10px; font-family: var(--texte); font-size: 14px; font-style: normal; color: var(--gris); }
figcaption, .wp-element-caption { font-size: 13px; color: var(--gris); margin-top: 8px; text-align: left; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ligne); }
th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }

.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; padding-bottom: 48px; }
.card { border-top: 2px solid var(--encre); padding-top: 16px; }
.card-link { display: flex; flex-direction: column; gap: 8px; color: var(--encre); text-decoration: none; }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; display: block; margin-bottom: 6px; }
.card-title { font-size: 24px; margin: 0; }
.card-link:hover .card-title { text-decoration: underline; text-decoration-color: var(--ocre); text-underline-offset: 4px; }
.card-excerpt { font-size: 15px; color: var(--encre-2); }
.pagination, .nav-links { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: var(--section); }
.page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--ligne); border-radius: 999px; text-decoration: none; color: var(--encre); }
.page-numbers.current { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.post-nav { padding-block: 32px var(--section); }
.post-nav .nav-links { justify-content: space-between; padding: 24px 0 0; border-top: 1px solid var(--ligne); }
.post-nav a { display: flex; flex-direction: column; gap: 4px; font-family: var(--titre); font-size: 19px; text-decoration: none; color: var(--encre); }
.notfound { padding-bottom: var(--section); }
.btn-row { margin-top: 28px; }
.empty { color: var(--gris); }

input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="number"], input[type="date"], select, textarea {
	font: inherit; font-size: 16px; color: var(--encre); background: #FDFBF8;
	border: 1.5px solid var(--ligne); border-radius: 4px; padding: 11px 14px; min-height: 48px; max-width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px rgba(46, 74, 59, .15); }
.search-form { display: flex; gap: 8px; flex-wrap: wrap; max-width: 520px; margin-top: 24px; }
.search-form input[type="search"] { flex: 1; min-width: 200px; border-radius: 999px; padding-inline: 18px; }

/* 7. Sections .ab (pages construites avec les blocs) --------------------- */
.ab { counter-reset: section; font-size: 17px; line-height: 1.7; }
.ab p { margin: 0 0 16px; }
.ab a:not(.wp-block-button__link) { color: var(--vert); }
.ab h2 { margin: 0 0 22px; }
.ab h3 { font-size: 22px; margin: 0 0 8px; }
.ab .alignfull { width: 100%; max-width: none; }

.ab .ab-section {
	padding: var(--section) var(--gouttiere) !important;
	margin: 0 !important;
	background: transparent;
}
.ab .ab-section > * { max-width: var(--contenu); margin-left: auto !important; margin-right: auto !important; }
.ab .ab-creme { background: var(--papier-2); }
/* Avant une section de couleur, on resserre le bas de la section claire. */
.ab .ab-section:not(.ab-creme):not(.ab-vert):has(+ .ab-creme),
.ab .ab-section:not(.ab-creme):not(.ab-vert):has(+ .ab-vert) { padding-bottom: calc(var(--section) * .5) !important; }
/* Deux sections de même fond qui se suivent : on ne double pas l'espace. */
.ab .ab-section:not(.ab-creme):not(.ab-vert) + .ab-section:not(.ab-creme):not(.ab-vert),
.ab .ab-creme + .ab-creme,
.ab .ab-vert + .ab-vert { padding-top: 0 !important; }

/* Étiquette de section, numérotée automatiquement : « 01  LES SORTIES » */
.ab .ab-kicker {
	font-family: var(--texte); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	color: var(--eau); margin: 0 0 18px; display: flex; align-items: baseline; gap: 14px;
}
.ab .ab-section .ab-kicker::before {
	counter-increment: section;
	content: counter(section, decimal-leading-zero);
	font-family: var(--titre); font-weight: 300; font-size: 48px; line-height: 1; letter-spacing: 0;
	color: var(--ocre);
}
.ab .ab-lead { font-size: 19px; line-height: 1.55; color: var(--encre-2); }
.ab .ab-small { font-size: 13px; color: var(--gris); margin: 8px 0 0; }

/* Ouverture (bloc Couverture) : texte à gauche, photo à droite */
.ab .ab-hero {
	display: grid !important;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: end;
	min-height: 0 !important;
	margin: 0 !important;
	padding: clamp(40px, 6vw, 80px) max(var(--gouttiere), calc((100% - var(--large)) / 2 + var(--gouttiere))) clamp(36px, 4vw, 56px) !important;
	background: var(--papier) !important;
	color: var(--encre) !important;
	overflow: visible;
}
.ab .ab-hero .wp-block-cover__background { display: none !important; }
.ab .ab-hero .wp-block-cover__image-background,
.ab .ab-hero .wp-block-cover__video-background {
	position: static !important;
	grid-column: 2; grid-row: 1;
	width: 100% !important; height: auto !important;
	aspect-ratio: 4 / 5; max-height: 78vh;
	object-fit: cover; border-radius: 2px; display: block;
}
.ab .ab-hero.ab-hero-sm .wp-block-cover__image-background { aspect-ratio: 5 / 4; }
.ab .ab-hero .wp-block-cover__inner-container {
	grid-column: 1; grid-row: 1; position: relative; z-index: 1;
	width: auto !important; max-width: none !important; margin: 0 !important; color: var(--encre) !important;
}
.ab .ab-hero .ab-kicker { color: var(--eau) !important; margin-bottom: 22px; }
.ab .ab-hero h1 {
	color: var(--encre) !important; text-shadow: none !important;
	font-size: clamp(46px, 6.6vw, 96px); font-weight: 300; line-height: .98; letter-spacing: -.035em;
	margin: 0 0 24px; max-width: 12ch;
}
.ab .ab-hero.ab-hero-sm h1 { font-size: clamp(42px, 5.6vw, 80px); }
.ab .ab-hero .ab-lead, .ab .ab-hero p { color: var(--encre-2) !important; text-shadow: none !important; max-width: 520px; }
.ab .ab-hero .wp-block-buttons { margin-top: 28px; }
.ab .ab-hero .is-style-outline .wp-block-button__link { color: var(--encre) !important; border-color: var(--encre) !important; background: transparent !important; }
.ab .ab-hero .is-style-outline .wp-block-button__link:hover { color: var(--papier) !important; background: var(--encre) !important; }

/* Infos clés : une fiche technique réglée */
.ab .ab-facts-wrap { padding: 0 var(--gouttiere) !important; margin: 0 !important; }
.ab .ab-facts {
	max-width: var(--contenu); margin: 0 auto !important; gap: 0 !important;
	border-top: 2px solid var(--encre); border-bottom: 1px solid var(--ligne);
	background: none; box-shadow: none; border-radius: 0; padding: 0;
}
.ab .ab-facts > .wp-block-column { padding: 20px 20px 20px 0; border: 0; margin: 0 !important; }
.ab .ab-facts > .wp-block-column + .wp-block-column { padding-left: 20px; border-left: 1px solid var(--ligne); }
.ab .ab-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin: 0 0 4px; }
.ab .ab-value { font-family: var(--titre); font-size: 20px; font-weight: 500; color: var(--encre); line-height: 1.25; margin: 0; }

/* Colonnes texte + image */
.ab .ab-cols { gap: clamp(32px, 6vw, 72px) !important; align-items: center; }
.ab .ab-top, .ab .ab-contact { align-items: flex-start !important; }
.ab .ab-img { margin: 0; }
.ab .ab-img img { display: block; width: 100%; height: auto; border-radius: 2px; object-fit: cover; }
.ab .ab-cols .ab-img img { aspect-ratio: 4 / 5; max-height: 640px; object-position: center 35%; }
.ab .ab-quote {
	font-family: var(--titre); font-weight: 300; font-size: clamp(30px, 3.6vw, 48px);
	line-height: 1.12; letter-spacing: -.02em; color: var(--encre); margin-bottom: 28px;
}

/* Les sorties : entrées de carnet réglées */
.ab .ab-offers { gap: 28px !important; align-items: stretch; }
.ab .ab-offer {
	display: flex; flex-direction: column;
	background: none; box-shadow: none; border-radius: 0; overflow: visible;
	border-top: 2px solid var(--encre); padding: 20px 0 0;
}
.ab .ab-offer > * { margin-left: 0 !important; margin-right: 0 !important; }
.ab .ab-offer > .ab-img { margin: 0 0 16px !important; }
.ab .ab-offer .ab-img img { aspect-ratio: 4 / 5; border-radius: 2px; }
.ab .ab-offer h3 { font-size: 24px; margin: 0 0 6px; }
.ab .ab-offer p { font-size: 15px; color: var(--encre-2); margin-bottom: 12px; }
.ab .ab-offer .ab-price { font-family: var(--titre); font-size: 20px; font-weight: 500; color: var(--encre); margin: auto 0 6px; padding-top: 12px; border-top: 1px solid var(--ligne); }
.ab .ab-offer .ab-more { margin: 0; }
.ab .ab-more a { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--ocre); padding-bottom: 1px; }
.ab .ab-badge {
	display: inline-block; width: max-content; margin: 0 0 10px !important;
	font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: none;
	color: var(--eau); background: none; border: 1px solid var(--eau); border-radius: 999px; padding: 2px 10px;
}
.ab .ab-offers + p { margin-top: 32px !important; }
.ab .ab-journal { justify-content: flex-start; }

/* Étapes et engagements : colonnes réglées et numérotées */
.ab .ab-steps { counter-reset: etape; gap: 32px !important; }
.ab .ab-steps > .wp-block-column {
	counter-increment: etape;
	background: none; border-radius: 0; box-shadow: none;
	border-top: 2px solid var(--encre); padding: 18px 0 0 !important;
}
.ab .ab-steps > .wp-block-column::before {
	content: counter(etape, decimal-leading-zero);
	display: block; font-family: var(--titre); font-weight: 300; font-size: 40px; line-height: 1;
	color: var(--ocre); margin-bottom: 14px; background: none; width: auto; height: auto;
}
.ab .ab-step p, .ab .ab-pillar p { font-size: 15px; color: var(--encre-2); margin: 0; }
.ab .ab-pillar { background: none; border-radius: 0; padding: 18px 0 0; border-top: 2px solid var(--encre); }
.ab .ab-steps + p { margin-top: 36px !important; }

/* Encadrés */
.ab .ab-card {
	background: none; border: 0; border-top: 2px solid var(--encre); border-radius: 0; padding: 20px 0 0;
}
.ab .ab-card h3 { margin-bottom: 12px; }
.ab .ab-card ul { list-style: none; padding: 0; margin: 0; }
.ab .ab-card li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--ligne); margin: 0; }
.ab .ab-card li::before {
	content: ""; position: absolute; left: 2px; top: 19px; width: 13px; height: 7px;
	border-left: 2px solid var(--eau); border-bottom: 2px solid var(--eau); transform: rotate(-45deg);
}
.ab .ab-card.ab-todo li::before { width: 9px; height: 9px; border: 2px solid var(--ocre); border-radius: 50%; transform: none; top: 18px; }
.ab .ab-note { background: var(--papier-2); border: 0; border-radius: 4px; padding: 20px 24px; font-size: 15px; margin-top: 24px !important; }
.ab .ab-note p:last-child { margin: 0; }
.ab .ab-season-note {
	background: var(--papier-2); border: 0; border-radius: 4px; padding: 18px 20px;
	margin: 0 auto 32px !important; color: var(--encre); font-size: 16px;
}
.ab .ab-creme .ab-season-note, .ab .ab-creme .ab-booking, .ab .ab-creme .ab-note { background: var(--papier); }
.ab .ab-season-note p { margin: 0 0 12px; }
.ab .ab-season-title { font-family: var(--titre); font-size: 22px; font-weight: 500; color: var(--encre) !important; margin-bottom: 8px !important; }
.ab .ab-booking { background: var(--papier-2); border-radius: 4px; padding: clamp(20px, 3vw, 36px); margin-top: 28px !important; color: var(--encre); }
.ab .ab-booking p { color: var(--encre); }
.ab .ab-chips { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ab .ab-chips li { margin: 0; border: 1px solid var(--eau); color: var(--eau); background: none; border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 600; }

/* Galerie */
.ab .ab-gallery { gap: 16px !important; }
.ab .ab-gallery .ab-img img { aspect-ratio: 4 / 5; }
.ab .ab-gallery > .wp-block-column:nth-child(2) { margin-top: 48px !important; }

/* En-tête des pages secondaires */
.ab .ab-pagehead {
	padding: clamp(48px, 7vw, 96px) var(--gouttiere) clamp(32px, 5vw, 56px) !important;
	background: var(--papier); margin: 0 !important;
}
.ab .ab-pagehead > * { max-width: var(--contenu); margin-left: auto !important; margin-right: auto !important; }
.ab .ab-pagehead h1 { font-size: clamp(42px, 5.6vw, 80px); margin: 0 0 18px; max-width: 16ch; }
.ab .ab-pagehead .ab-lead { max-width: 680px; }
.ab .ab-pagehead + .ab-section { border-top: 0; }
.ab .ab-prose > * { max-width: 760px !important; }
.ab .ab-prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 40px auto 12px !important; }
.ab .ab-prose li { margin-bottom: 6px; }

/* Questions (bloc Détails) */
.ab .wp-block-details, .wp-block-details { border-bottom: 1px solid var(--ligne); padding: 18px 0; margin: 0; }
.ab .wp-block-details:first-of-type { border-top: 2px solid var(--encre); }
.wp-block-details summary {
	list-style: none; cursor: pointer; position: relative; padding-right: 36px;
	font-family: var(--titre); font-size: 20px; font-weight: 500; color: var(--encre);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; position: absolute; right: 4px; top: -2px; font-family: var(--titre); font-weight: 300; font-size: 28px; color: var(--ocre);
}
.wp-block-details[open] summary::after { content: "−"; }
.wp-block-details > :not(summary) { margin: 12px 0 0; color: var(--encre-2); }

/* Bandeau vert (idée cadeau…) */
.ab .ab-vert { background: var(--vert); color: var(--papier); }
.ab .ab-vert h2, .ab .ab-vert h3 { color: var(--papier); }
.ab .ab-vert p { color: rgba(248, 245, 240, .9); }
.ab .ab-vert .ab-kicker { color: var(--sable); }
.ab .ab-vert .ab-kicker::before { color: var(--sable); }
.ab .ab-vert a:not(.wp-block-button__link) { color: var(--sable); }
.ab .ab-vert .wp-block-button__link { background: var(--papier); color: var(--encre); border-color: var(--papier); }
.ab .ab-vert .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--encre); }
.ab .ab-vert .is-style-outline .wp-block-button__link { background: transparent !important; color: var(--papier) !important; border-color: rgba(248, 245, 240, .85) !important; }
.ab .ab-vert .is-style-outline .wp-block-button__link:hover { background: var(--papier) !important; color: var(--encre) !important; }
/* Encadrés clairs posés sur une section verte : on repasse en texte foncé */
.ab .ab-vert .ab-booking, .ab .ab-vert .ab-season-note, .ab .ab-vert .ab-note, .ab .ab-vert .ab-card { color: var(--encre); }
.ab .ab-vert .ab-booking p, .ab .ab-vert .ab-season-note p, .ab .ab-vert .ab-note p,
.ab .ab-vert .ab-booking li, .ab .ab-vert .ab-season-note li,
.ab .ab-vert .ab-booking h2, .ab .ab-vert .ab-booking h3 { color: var(--encre) !important; }
.ab .ab-vert .ab-booking a:not(.wp-block-button__link):not(.abr-btn), .ab .ab-vert .ab-season-note a:not(.wp-block-button__link) { color: var(--vert); }
.ab .ab-vert .ab-booking .abr-muted, .ab .ab-vert .ab-season-note .abr-muted { color: var(--gris) !important; }
.ab .ab-vert .ab-booking .wp-block-button__link { background: var(--vert); color: var(--papier); border-color: var(--vert); }

/* Blocs généraux */
.wp-block-columns { gap: clamp(24px, 4vw, 48px); }
.wp-block-image img { border-radius: 2px; }
.wp-block-image.is-style-rounded img { border-radius: 999px; }

/* 8. AB Réservations : accord avec le thème ------------------------------ */
.abr { --abr-vert: var(--vert); --abr-ocre: var(--vert); --abr-ocre-f: var(--vert-f); --abr-creme: var(--papier); --abr-encre: var(--encre); --abr-gris: var(--gris); --abr-ligne: var(--ligne); }
.abr .abr-cta { background: var(--vert) !important; color: var(--papier) !important; }
.abr .abr-cta:hover { background: var(--vert-f) !important; }
.abr .abr-cta:disabled { background: #E4DDD2 !important; color: #4F574F !important; }
.abr .abr-low { color: #8A5A2B !important; }
.abr .abr-dsp-d { color: #737A74 !important; }
.abr .abr-dsp-d.is-past { color: #A3A8A3 !important; }
.abr .abr-dsp-d.is-free, .abr .abr-dsp-d.is-out { color: inherit; }
.abr .abr-dsp-d.is-free { color: #1F5136 !important; }
.abr .abr-dsp-d.is-out { color: var(--ocre-t) !important; }
.abr .abr-dsp-d.is-sel { color: #fff !important; }
.abr .abr-btn, .abr-agenda .abr-btn { background: var(--vert) !important; color: var(--papier) !important; }
.abr .abr-date, .abr .abr-field input, .abr .abr-field textarea, .abr .abr-field select, .abr .abr-opt, .abr .abr-check { border-radius: 4px !important; }
.abr .abr-dsp-cal, .abr .abr-dsp-info, .abr .abr-sum { border-radius: 4px !important; }
@media (min-width: 481px) { .abr .abr-aform-f { border-radius: 999px; } }

/* 9. Petits écrans ------------------------------------------------------- */
@media (max-width: 960px) {
	:root { --gouttiere: 20px; --entete: 64px; }
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--encre);
		background: none; color: var(--encre); cursor: pointer;
	}
	.site-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
		width: min(400px, 100%); flex-direction: column; align-items: stretch; gap: 0;
		background: var(--papier); padding: 0 0 32px; overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
	}
	.nav-open .site-nav { transform: none; visibility: visible; }
	.nav-open body { overflow: hidden; }
	.nav-panel-head { display: flex; align-items: center; justify-content: space-between; min-height: var(--entete); padding: 0 var(--gouttiere); border-bottom: 1px solid var(--ligne); }
	.nav-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--encre); cursor: pointer; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
	.site-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--ligne); margin: 0 var(--gouttiere); }
	.site-nav .menu > li > a { flex: 1; min-height: 56px; padding: 0; font-family: var(--titre); font-size: 22px; font-weight: 400; }
	.sub-toggle { width: 44px; height: 56px; margin: 0; }
	.site-nav .sub-menu {
		position: static; width: 100%; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; background: none;
		opacity: 1; visibility: visible; transform: none; display: none;
	}
	.site-nav .menu > li.is-open > .sub-menu { display: block; }
	.site-nav .sub-menu a { padding: 8px 0 8px 16px; font-size: 16px; color: var(--encre-2); }
	.site-nav .sub-menu a:hover { background: none; text-decoration: underline; }
	.site-nav .menu > .nav-cta { border: 0; margin: 24px var(--gouttiere) 0; }
	.site-nav .menu > .nav-cta > a { justify-content: center; min-height: 52px; font-family: var(--texte); font-size: 16px; font-weight: 600; }
	.nav-langs { margin: 20px var(--gouttiere) 0; }
	.brand-tag { display: none; }
	.brand-name { font-size: 19px; }
	.admin-bar .site-header { top: 46px; }

	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
	.footer-col-1 { grid-column: 1 / -1; }
	.site-footer .wrap { padding-top: 48px; }
	.post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.ab .ab-hero { grid-template-columns: 1fr; gap: 28px; }
	.ab .ab-hero .wp-block-cover__inner-container { grid-row: 1; }
	.ab .ab-hero .wp-block-cover__image-background { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3 !important; max-height: none; }
	.ab .ab-hero h1 { max-width: none; }
}
@media (max-width: 781px) {
	.ab .ab-facts { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ab .ab-facts > .wp-block-column { padding: 14px 12px 14px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--ligne); }
	.ab .ab-facts > .wp-block-column:nth-child(even) { padding-left: 14px !important; border-left: 1px solid var(--ligne) !important; }
	.ab .ab-facts > .wp-block-column:last-child:nth-child(odd) { grid-column: 1 / -1; border-bottom: 0; }
	.ab .ab-value { font-size: 17px; }
	.ab .ab-gallery > .wp-block-column:nth-child(2) { margin-top: 0 !important; }
	.ab .ab-section .ab-kicker::before { font-size: 40px; }
	.ab .ab-offers { gap: 40px !important; }
	.ab .ab-steps { gap: 28px !important; }
}
@media (min-width: 600px) and (max-width: 1024px) {
	.ab .ab-offers { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.post-list { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.ab .ab-cols .ab-img img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .nav-toggle, .skip-link { display: none !important; }
	body { background: #fff; }
}
