/*
 * Chez Sophie — styles du site (maquette Figma « Landing », cadre 1512 px).
 * Classes maison préfixées « cs- » : jamais les classes générées par WordPress (wp-container-…, is-layout-…).
 * Animations : classes « anim-* » et « is-intro » lues par assets/js/site.js.
 * Points de rupture : 640 / 768 / 1024 / 1280 px.
 */

:root {
	--cs-creme: #fff9f0;
	--cs-blanc: #fcfcfc;
	--cs-framboise: #25040f;
	--cs-rose: #f580a0;
	--cs-vert: #b2a837;
	--cs-sapin: #202304;
	--cs-jaune: #fadf99;
	--cs-bleu: #bfe2fd;
	--cs-marron: #210e02;
	--cs-violet: #241039;
	--cs-sable: #fdf3d9;
	--cs-serif: "PP Editorial Old", Georgia, serif;
	--cs-sans: "Google Sans Flex", system-ui, sans-serif;
	--cs-expo: cubic-bezier(0.19, 1, 0.22, 1);
	--cs-max: 1512px;
	--cs-section-gap: 96px;
}
@media (min-width: 768px) { :root { --cs-section-gap: 120px; } }
@media (min-width: 1280px) { :root { --cs-section-gap: 152px; } }

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

body {
	margin: 0;
	background: var(--cs-creme);
	color: var(--cs-framboise);
	font-family: var(--cs-sans);
	overflow-x: hidden;
}
::selection { background: var(--cs-rose); color: var(--cs-framboise); }
:focus-visible { outline: 2px solid var(--cs-rose); outline-offset: 3px; }

/* Remise à zéro des marges des blocs dans nos sections */
:where(.cs-header, .cs-main, .cs-footer, .cs-article) :where(p, h1, h2, h3, h4, ul) { margin: 0; }
/* Les blocs Image et Image à la une de WordPress ont des marges et un « height: auto » : spécificité (0,1,1)
   pour la remise à zéro, (0,1,2) pour nos images (« figure.cs-… img »), quel que soit l'ordre de chargement. */
figure.wp-block-image, figure.wp-block-post-featured-image { margin: 0; }
:where(.cs-header, .cs-main, .cs-footer) .wp-block-image img { vertical-align: top; }
:where(.cs-header, .cs-main, .cs-footer) a { color: inherit; text-decoration: none; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.cs-main { overflow-x: clip; }
.cs-main > * + * { margin-top: var(--cs-section-gap); }
.cs-footer-part { margin-top: var(--cs-section-gap); }

.cs-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--cs-max);
	margin-inline: auto;
	padding-inline: 20px;
}
@media (min-width: 768px) { .cs-container { padding-inline: 40px; } }
@media (min-width: 1280px) { .cs-container { padding-inline: 60px; } }

/* Lien avec soulignement qui se dessine au survol */
.cs-nav__link a,
.cs-footer__lines a {
	position: relative;
	display: inline-block;
}
.cs-nav__link a::after,
.cs-footer__lines a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s var(--cs-expo);
}
.cs-nav__link a:hover::after,
.cs-nav__link a:focus-visible::after,
.cs-footer__lines a:hover::after,
.cs-footer__lines a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Boutons (styles de blocs) ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 0; }
.wp-block-button .wp-block-button__link { box-sizing: border-box; cursor: pointer; text-decoration: none; }

/* Pastille qui grandit jusqu'à remplir le bouton */
.is-style-dot-blanc .wp-block-button__link,
.is-style-dot-framboise .wp-block-button__link {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	overflow: hidden;
	border: 1px solid;
	border-radius: 3px;
	padding: 16px 20px;
	font-size: 20px;
	font-weight: 400;
	line-height: normal;
	white-space: nowrap;
	transition: color 0.5s;
}
.is-style-dot-blanc .wp-block-button__link::before,
.is-style-dot-framboise .wp-block-button__link::before {
	content: "";
	position: relative;
	z-index: -1;
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	transition: transform 0.9s var(--cs-expo);
}
.is-style-dot-blanc .wp-block-button__link:hover::before,
.is-style-dot-blanc .wp-block-button__link:focus-visible::before,
.is-style-dot-framboise .wp-block-button__link:hover::before,
.is-style-dot-framboise .wp-block-button__link:focus-visible::before { transform: scale(40); }
.is-style-dot-blanc .wp-block-button__link { background: var(--cs-blanc); border-color: var(--cs-blanc); color: var(--cs-vert); }
.is-style-dot-blanc .wp-block-button__link::before { background: var(--cs-vert); }
.is-style-dot-blanc .wp-block-button__link:hover { color: var(--cs-blanc); }
.is-style-dot-framboise .wp-block-button__link { background: var(--cs-framboise); border-color: var(--cs-framboise); color: var(--cs-rose); }
.is-style-dot-framboise .wp-block-button__link::before { background: var(--cs-rose); }
.is-style-dot-framboise .wp-block-button__link:hover { color: var(--cs-framboise); }

/* Fond qui monte et texte qui défile (le texte est doublé par le script) */
.is-style-contour .wp-block-button__link,
.is-style-sapin .wp-block-button__link {
	position: relative;
	isolation: isolate;
	display: block;
	overflow: hidden;
	border-radius: 3px;
	line-height: normal;
	white-space: nowrap;
}
.is-style-contour .wp-block-button__link::before,
.is-style-sapin .wp-block-button__link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.5s var(--cs-expo);
}
.is-style-contour .wp-block-button__link:hover::before,
.is-style-sapin .wp-block-button__link:hover::before { transform: scaleY(1); }
.is-style-contour .wp-block-button__link { border: 1px solid var(--cs-blanc); padding: 12px 20px; font-size: 20px; font-weight: 300; color: #fff; }
.is-style-contour .wp-block-button__link::before { background: var(--cs-blanc); }
.is-style-sapin .wp-block-button__link { border: 1px solid var(--cs-framboise); background: var(--cs-sapin); padding: 18px 22px; font-size: 22px; font-weight: 400; color: var(--cs-vert); }
.is-style-sapin .wp-block-button__link::before { background: var(--cs-vert); }
.cs-roll { position: relative; display: block; overflow: hidden; }
.cs-roll > span { display: block; transition: transform 0.5s var(--cs-expo); }
.cs-roll > span + span { position: absolute; inset: 0; transform: translateY(100%); }
.wp-block-button__link:hover .cs-roll > span:first-child { transform: translateY(-100%); }
.wp-block-button__link:hover .cs-roll > span + span { transform: translateY(0); }
.is-style-contour .cs-roll > span + span { color: var(--cs-framboise); }
.is-style-sapin .cs-roll > span + span { color: var(--cs-sapin); }

/* ---------- Ouverture ---------- */
.cs-curtain { display: none; }
@media (prefers-reduced-motion: no-preference) {
	.js .is-intro {
		visibility: hidden;
		/* Filet de sécurité : si les scripts ne se chargent pas, le contenu réapparaît de lui-même */
		animation: cs-intro-failsafe 0s 6s forwards;
	}
	.js .cs-curtain {
		position: fixed;
		inset: 0;
		z-index: 60;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--cs-framboise);
		animation: cs-curtain-failsafe 0.6s 5s forwards;
	}
}
.cs-curtain__logo { width: 180px; height: auto; opacity: 0; }
@keyframes cs-intro-failsafe { to { visibility: visible; } }
@keyframes cs-curtain-failsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- En-tête ---------- */
.cs-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	transition: transform 0.7s var(--cs-expo);
}
.admin-bar .cs-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cs-header { top: 46px; } }
.cs-header[data-hidden="true"] { transform: translateY(-100%); }
.cs-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgb(37 4 15 / 0.95);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.7s var(--cs-expo);
}
.cs-header[data-solid="true"]::before,
.cs-header-part--solid .cs-header::before { transform: scaleY(1); }

.cs-nav {
	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	max-width: var(--cs-max);
	margin-inline: auto;
	padding: 20px;
	transition: padding 0.7s var(--cs-expo);
}
@media (min-width: 768px) { .cs-nav { padding-inline: 40px; } }
@media (min-width: 1280px) {
	.cs-nav { padding: 61px 60px 20px 61px; }
	.cs-header[data-solid="true"] .cs-nav,
	.cs-header-part--solid .cs-nav { padding-top: 18px; padding-bottom: 18px; }
}
.cs-nav__logo { position: relative; z-index: 10; transform-origin: top left; transition: transform 0.7s var(--cs-expo); }
.cs-header[data-solid="true"] .cs-nav__logo,
.cs-header-part--solid .cs-nav__logo { transform: scale(0.72); }
.cs-nav__logo a { display: block; }
figure.cs-nav__logo img { display: block; width: auto; height: 50px; }
@media (min-width: 768px) { figure.cs-nav__logo img { height: 67px; } }

.cs-nav__links { display: none; align-items: center; gap: 34px; }
@media (min-width: 1024px) { .cs-nav__links { display: flex; } }
html:not(.js) .cs-nav__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; }
.cs-nav__link { font-size: 20px; font-weight: 300; line-height: normal; color: #fff; }

.cs-burger {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgb(252 252 252 / 0.7);
	border-radius: 3px;
	background: transparent;
	cursor: pointer;
}
@media (min-width: 1024px) { .cs-burger { display: none; } }
.cs-burger span { display: block; width: 20px; height: 1px; background: var(--cs-blanc); transition: transform 0.5s var(--cs-expo); }
.cs-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.cs-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.cs-menu {
	position: fixed;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 112px 20px 48px;
	background: var(--cs-framboise);
	clip-path: inset(0 0 100% 0);
	pointer-events: none;
	transition: clip-path 0.9s var(--cs-expo);
}
@media (min-width: 768px) { .cs-menu { padding-inline: 40px; } }
@media (min-width: 1024px) { .cs-menu { display: none; } }
.cs-menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.cs-menu ul { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cs-menu li { overflow: hidden; }
.cs-menu a {
	display: block;
	font-family: var(--cs-serif);
	font-size: 44px;
	font-weight: 200;
	line-height: 1.1;
	color: var(--cs-rose);
	text-decoration: none;
	transform: translateY(100%);
	transition: transform 0.9s var(--cs-expo);
}
.cs-menu.is-open a { transform: translateY(0); }

/* ---------- Hero ---------- */
.cs-hero {
	position: relative;
	width: 100%;
	height: 100svh;
	min-height: 640px;
	overflow: hidden;
	background: var(--cs-framboise);
}
@media (min-width: 1280px) { .cs-hero { min-height: 760px; } }
.cs-hero__media { position: absolute; inset: 0; will-change: transform; }
figure.cs-hero__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cs-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgb(0 0 0 / 0.1), rgb(0 0 0 / 0.5));
}
.cs-hero__shade { position: absolute; inset: 0; background: var(--cs-framboise); opacity: 0; pointer-events: none; }
.cs-hero__content {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 110px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 35px;
}
@media (min-width: 768px) { .cs-hero__content { left: 40px; } }
@media (min-width: 1280px) {
	.cs-hero__content { left: calc(max(0px, (100% - var(--cs-max)) / 2) + 61px); right: auto; bottom: 85px; width: 771px; }
}
.cs-hero__title {
	font-family: var(--cs-serif);
	font-size: clamp(2.1rem, 1.475rem + 2.667vw, 3.875rem);
	font-weight: 200;
	line-height: 0.9355;
	color: var(--cs-creme);
}
.cs-hero__arrow {
	position: absolute;
	left: 50%;
	bottom: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 27px;
	transform: translateX(-50%);
}
@media (min-width: 1280px) { .cs-hero__arrow { bottom: 83px; } }
figure.cs-hero__arrow img { width: 28px; height: 14.7279px; max-width: none; transform: rotate(90deg); }

/* ---------- Accroche ---------- */
.cs-intro {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 36px;
	width: 100%;
	max-width: var(--cs-max);
	margin-inline: auto;
	padding-inline: 20px;
}
@media (min-width: 768px) { .cs-intro { padding-inline: 40px; } }
@media (min-width: 1024px) { .cs-intro { padding-left: 34.85%; padding-right: 60px; } }
.cs-intro__text {
	font-family: var(--cs-serif);
	font-size: clamp(1.5rem, 1.192rem + 1.315vw, 2.375rem);
	font-weight: 200;
	line-height: 1.5263;
	color: var(--cs-framboise);
}
.cs-intro__text em { font-style: italic; font-weight: 400; }
/* Deux espaces un peu plus larges dans la maquette (45 px au lieu de 38 px) : ils fixent les retours à la ligne */
.cs-intro__text .cs-gap { font-size: 1.1842em; line-height: 0; }

/* ---------- Galerie ---------- */
.cs-gallery { position: relative; width: 100%; overflow: hidden; }
.cs-gallery__track { position: relative; left: calc(50% - 1006px); display: flex; gap: 11px; width: max-content; will-change: transform; }
@media (max-width: 767px) { .cs-gallery__track { left: -120px; } }
.cs-gallery__item { position: relative; flex-shrink: 0; height: 300px; aspect-ratio: 457 / 448; overflow: hidden; }
.cs-gallery__item--wide { aspect-ratio: 644 / 448; }
@media (min-width: 768px) { .cs-gallery__item { height: 448px; } }
figure.cs-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--cs-expo); }
.cs-gallery__item:hover img { transform: scale(1.05); }
figure.cs-pos-82 img { object-position: 50% 82%; }
figure.cs-pos-66 img { object-position: 50% 66%; }

/* ---------- Chapitres (La Maison, Les Extérieurs, La Ferme) ---------- */
.cs-chapters { position: relative; width: 100%; overflow: hidden; background: var(--cs-creme); }
.cs-chapter { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr; width: 100%; }
@media (min-width: 1024px) { .cs-chapter { grid-template-columns: 1fr 1fr; height: 100%; min-height: 720px; } }
.cs-chapter__panel { position: relative; display: flex; align-items: center; }
.cs-chapter__text {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	padding: 80px 20px;
}
@media (min-width: 768px) { .cs-chapter__text { padding-inline: 40px; } }
@media (min-width: 1024px) {
	.cs-chapter__text { width: 611px; max-width: calc(100% - 95px); margin-left: max(61px, calc(50vw - 695px)); padding: 64px 0; }
}
.cs-chapter__badge { display: flex; align-items: center; justify-content: center; width: 35px; border-radius: 2px; font-size: 14px; font-weight: 500; line-height: 30px; }
.cs-chapter__title { font-family: var(--cs-serif); font-size: clamp(2.375rem, 2.111rem + 1.127vw, 3.125rem); font-weight: 200; line-height: 1.16; }
.cs-chapter__title em { font-style: italic; }
.cs-chapter__body { display: flex; flex-direction: column; gap: 30px; font-size: 18px; font-weight: 200; line-height: 1.5; }
@media (min-width: 1024px) { .cs-chapter__body { font-size: 20px; line-height: 30px; } }
.cs-chapter__body strong { font-weight: 700; }
.cs-chapter--maison .cs-chapter__body strong { font-weight: 600; }
.cs-chapter__media { position: relative; aspect-ratio: 4 / 5; }
@media (min-width: 640px) { .cs-chapter__media { aspect-ratio: 4 / 3; } }
@media (min-width: 1024px) { .cs-chapter__media { aspect-ratio: auto; height: 100%; } }
.cs-chapter__img { position: absolute; inset: 0; overflow: hidden; }
figure.cs-chapter__img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cs-chapter__flower { position: absolute; left: -103px; bottom: -58px; z-index: 10; display: none; width: 225px; height: 281px; pointer-events: none; }
@media (min-width: 1024px) { .cs-chapter__flower { display: block; } }
figure.cs-chapter__flower img { width: 100%; height: 100%; }
.cs-chapter--maison .cs-chapter__panel { background: var(--cs-framboise); }
.cs-chapter--maison .cs-chapter__text { color: var(--cs-rose); }
.cs-chapter--maison .cs-chapter__badge { background: var(--cs-rose); color: var(--cs-framboise); }
.cs-chapter--exterieurs .cs-chapter__panel { background: var(--cs-marron); }
.cs-chapter--exterieurs .cs-chapter__text { color: var(--cs-bleu); }
.cs-chapter--exterieurs .cs-chapter__badge { background: var(--cs-bleu); color: var(--cs-marron); }
.cs-chapter--ferme .cs-chapter__panel { background: var(--cs-sapin); }
.cs-chapter--ferme .cs-chapter__text { color: var(--cs-jaune); }
.cs-chapter--ferme .cs-chapter__badge { background: var(--cs-jaune); color: var(--cs-sapin); }
/* Grand écran avec animations : les chapitres s'empilent et défilent sur place (épinglage dans site.js) */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
	.js .cs-chapters { height: 100svh; min-height: 720px; }
	.js .cs-chapter { position: absolute; inset: 0; }
	.js .cs-chapter:not(:first-child) .cs-chapter__panel,
	.js .cs-chapter:not(:first-child) .cs-chapter__media { clip-path: inset(100% 0% 0% 0%); }
}

/* ---------- Activités : titre fixe et cartes empilées ---------- */
.cs-activities { position: relative; width: 100%; container-type: inline-size; }
.cs-activities__inner { position: relative; display: flex; flex-direction: column; gap: 48px; }
@media (min-width: 1024px) { .cs-activities__inner { flex-direction: row; align-items: stretch; justify-content: space-between; } }
.cs-activities__aside { position: relative; }
.cs-activities__sticky { position: relative; }
@media (min-width: 1024px) {
	.cs-activities__aside { width: 44.04%; }
	.cs-activities__sticky { position: sticky; top: 140px; }
}
.cs-activities__branch {
	--g: 40px;
	position: absolute;
	top: -109px;
	left: calc(-57px - max(var(--g), (100cqw - var(--cs-max)) / 2 + var(--g)));
	display: none;
	width: 847.309px;
	height: 718.555px;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
@media (min-width: 1024px) { .cs-activities__branch { display: flex; } }
@media (min-width: 1280px) { .cs-activities__branch { --g: 60px; } }
figure.cs-activities__branch img { flex: none; width: 433.671px; height: 729.884px; max-width: none; transform: rotate(-62.9deg) scaleY(-1); }
.cs-activities__branch .cs-sway { transform-origin: 0% 45%; }
.cs-activities__title { position: relative; font-family: var(--cs-serif); font-size: clamp(2.125rem, 1.729rem + 1.69vw, 3.25rem); font-weight: 200; line-height: 1.1154; color: var(--cs-framboise); }
.cs-activities__title em { font-style: italic; }
.cs-activities__list { display: flex; flex-direction: column; gap: 18px; width: 100%; }
@media (min-width: 1024px) { .cs-activities__list { width: 44.04%; } }
/* Marges qui s'annulent : la pile repart d'un bloc en fin de section */
.cs-stack__item:nth-child(1) { margin-bottom: 48px; }
.cs-stack__item:nth-child(2) { margin-top: -48px; margin-bottom: 24px; }
.cs-stack__item:nth-child(3) { margin-top: -24px; }
@media (min-width: 1024px) {
	.cs-stack__item { position: sticky; }
	.cs-stack__item:nth-child(1) { top: 140px; }
	.cs-stack__item:nth-child(2) { top: 164px; }
	.cs-stack__item:nth-child(3) { top: 188px; }
}
.cs-stack__card { transform-origin: top; will-change: transform; }
.cs-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 13px;
	border-radius: 4px;
	padding: 26px;
	transition: transform 0.7s var(--cs-expo);
}
.cs-card:hover { transform: translateY(-6px); }
.cs-card__icon { position: relative; display: block; flex-shrink: 0; width: 32px; height: 32px; border-radius: 3px; transition: transform 0.7s var(--cs-expo); }
.cs-card:hover .cs-card__icon { transform: rotate(-6deg) scale(1.1); }
figure.cs-card__icon img { position: absolute; left: 5px; top: 5px; width: 21px; height: 21px; }
.cs-card__title { font-family: var(--cs-serif); font-size: 28px; font-weight: 200; line-height: 1.5; }
@media (min-width: 1024px) { .cs-card__title { font-size: 32px; line-height: 58px; } }
.cs-card__text { font-size: 18px; font-weight: 200; line-height: 30px; }
.cs-card--framboise { background: var(--cs-framboise); color: var(--cs-rose); }
.cs-card--framboise .cs-card__icon { background: var(--cs-rose); }
.cs-card--sapin { background: var(--cs-sapin); color: var(--cs-jaune); }
.cs-card--sapin .cs-card__icon { background: var(--cs-jaune); }
.cs-card--bleu { background: var(--cs-bleu); color: var(--cs-framboise); }
.cs-card--bleu .cs-card__icon { background: var(--cs-framboise); }
.cs-card--bleu .cs-card__title { color: #000; }

/* ---------- Avis ---------- */
.cs-reviews { position: relative; width: 100%; }
.cs-reviews__head { position: relative; max-width: var(--cs-max); margin-inline: auto; }
.cs-reviews__flower { position: absolute; left: 71.03%; top: -54px; display: none; width: 386px; height: 553px; pointer-events: none; }
@media (min-width: 768px) { .cs-reviews__flower { display: block; } }
figure.cs-reviews__flower img { display: block; width: 100%; height: 100%; }
.cs-reviews__flower .cs-sway { width: 100%; height: 100%; transform-origin: 50% 100%; }
.cs-reviews__title { position: relative; padding-inline: 20px; font-family: var(--cs-serif); font-size: clamp(2.125rem, 1.729rem + 1.69vw, 3.25rem); font-weight: 200; line-height: 1.1154; color: var(--cs-framboise); }
@media (min-width: 768px) { .cs-reviews__title { padding-inline: 40px; } }
@media (min-width: 1280px) { .cs-reviews__title { padding-inline: 60px; } }
.cs-reviews__title em { font-style: italic; }
.cs-reviews__strip { position: relative; margin-top: 48px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.cs-reviews__strip::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .cs-reviews__strip { margin-top: 74px; overflow: visible; } }
.cs-reviews__row { box-sizing: border-box; display: flex; gap: 11px; width: max-content; padding-inline: 20px; }
@media (min-width: 768px) { .cs-reviews__row { justify-content: center; width: 100%; margin-inline: auto; padding-inline: 0; } }
.cs-review {
	position: relative;
	box-sizing: border-box;
	flex-shrink: 0;
	width: 85vw;
	max-width: 613px;
	padding: 33px 24px 40px;
	background: var(--cs-sable);
	transition: background-color 0.7s var(--cs-expo);
}
.cs-review:hover { background: #fcefc9; }
@media (min-width: 768px) { .cs-review { width: 613px; height: 395px; padding: 0; } }
figure.cs-review__quote { display: block; width: 43px; height: 43px; margin-inline: auto; }
figure.cs-review__quote img { width: 43px; height: 43px; }
figure.cs-review__stars { margin-top: 24px; }
figure.cs-review__stars img { width: 63px; height: 10px; }
.cs-review__body { display: flex; flex-direction: column; margin-top: 12px; color: var(--cs-framboise); }
@media (min-width: 768px) {
	figure.cs-review__quote { position: absolute; left: 50%; top: 33px; margin: 0; transform: translateX(-50%); }
	figure.cs-review__stars { position: absolute; left: 48px; top: 101px; margin: 0; }
	.cs-review__body { position: absolute; left: 48px; top: 124px; width: 518px; margin: 0; }
}
.cs-review__text { font-size: 18px; font-weight: 300; line-height: 30px; }
.cs-review__name { font-family: var(--cs-serif); font-size: 22px; font-weight: 200; line-height: 58px; transition: transform 0.7s var(--cs-expo); }
.cs-review:hover .cs-review__name { transform: translateX(8px); }

/* ---------- Actualités ---------- */
.cs-blog { display: flex; flex-direction: column; gap: 40px; }
.cs-blog__title { font-family: var(--cs-serif); font-size: clamp(2.125rem, 1.773rem + 1.502vw, 3.125rem); font-weight: 200; line-height: 1.16; color: var(--cs-framboise); }
.cs-blog__title em { font-style: italic; }
.cs-blog__list { display: grid; grid-template-columns: 1fr; gap: 48px 11px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .cs-blog__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cs-post { position: relative; display: flex; flex-direction: column; }
.cs-post__media { position: relative; aspect-ratio: 457 / 325; overflow: hidden; }
.cs-post__media a { display: block; height: 100%; }
figure.cs-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--cs-expo); }
figure.cs-post__media img[src*="blog-1"] { object-position: 50% 66%; }
.cs-post__media::after { content: ""; position: absolute; inset: 0; background: rgb(37 4 15 / 0); transition: background-color 0.7s; pointer-events: none; }
.cs-post:hover figure.cs-post__media img { transform: scale(1.06); }
.cs-post:hover .cs-post__media::after { background: rgb(37 4 15 / 0.1); }
.cs-post__tags { display: flex; gap: 4px; margin-top: 20px; }
.cs-post__tag {
	border: 0.5px solid rgb(60 0 123 / 0.2);
	border-radius: 5px;
	padding: 12px 16px;
	font-size: 20px;
	font-weight: 300;
	line-height: 0.91;
	letter-spacing: -1.2px;
	color: var(--cs-violet);
	transition: border-color 0.5s;
}
.cs-post:hover .cs-post__tag { border-color: rgb(36 16 57 / 0.4); }
.cs-post__tag a { color: inherit; text-decoration: none; }
.cs-post__title { margin-top: 32px; font-size: 26px; font-weight: 300; line-height: 0.91; letter-spacing: -0.06em; color: var(--cs-violet); }
.cs-post__title.is-multiline { line-height: 1.1; }
@media (min-width: 768px) { .cs-post__title { font-size: 30px; } }
.cs-post__title a {
	color: inherit;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
	padding-bottom: 2px;
	transition: background-size 0.7s var(--cs-expo);
}
.cs-post__title a::after { content: ""; position: absolute; inset: 0; }
.cs-post:hover .cs-post__title a { background-size: 100% 1px; }

/* ---------- Pied de page ---------- */
.cs-footer { position: relative; width: 100%; overflow: hidden; }
@media (min-width: 1280px) { .cs-footer { height: 1563px; } }
.cs-footer__bg { position: absolute; inset: -6% 0 0; z-index: 0; will-change: transform; }
figure.cs-footer__bg img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.cs-footer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	z-index: 1;
	height: 70%;
	background: linear-gradient(to bottom, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0.15), transparent);
	pointer-events: none;
}
@media (min-width: 1280px) { .cs-footer::before { display: none; } }
.cs-footer__flower { position: absolute; display: none; width: 684.035px; height: 580.091px; align-items: center; justify-content: center; pointer-events: none; }
figure.cs-footer__flower img { flex: none; width: 350.104px; height: 589.237px; max-width: none; transform: rotate(-117.1deg); }
.cs-footer__flower .cs-sway { transform-origin: 100% 40%; }
.cs-footer__flower--ext { right: -73px; top: 906px; z-index: 1; }
.cs-footer__flower--in { right: -93px; top: 102px; }
@media (min-width: 1280px) { .cs-footer__flower { display: flex; } }
.cs-footer__cta {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 29px;
	padding: 160px 20px 96px;
	text-align: center;
}
@media (min-width: 768px) { .cs-footer__cta { padding-top: 224px; } }
@media (min-width: 1280px) { .cs-footer__cta { position: absolute; left: 50%; top: 372px; width: 627px; padding: 0; transform: translateX(-50%); } }
.cs-footer__cta .wp-block-buttons { justify-content: center; }
.cs-footer__title { font-family: var(--cs-serif); font-size: clamp(1.875rem, 1.545rem + 1.408vw, 2.8125rem); font-weight: 400; line-height: 1.289; color: var(--cs-creme); }
@media (min-width: 1280px) { .cs-footer__title { white-space: nowrap; } }
.cs-footer__title em { font-style: italic; }
.cs-footer__box { position: relative; z-index: 2; margin: 0 10px 10px; overflow: hidden; background: var(--cs-sapin); color: var(--cs-creme); }
@media (min-width: 768px) { .cs-footer__box { margin: 0 20px 20px; } }
@media (min-width: 1280px) { .cs-footer__box { position: absolute; left: 20px; right: 20px; bottom: 20px; height: 739px; margin: 0; } }
.cs-footer__grid { position: relative; box-sizing: border-box; display: grid; grid-template-columns: 1fr; gap: 56px; padding: 40px 24px 48px; }
@media (min-width: 768px) { .cs-footer__grid { padding-inline: 40px; } }
@media (min-width: 1280px) { .cs-footer__grid { grid-template-columns: minmax(0, 1fr) 632px; gap: 0; padding: 49px 92px 0 61px; } }
.cs-footer__contact { display: flex; flex-direction: column; align-items: flex-start; }
.cs-footer__heading { font-family: var(--cs-serif); font-size: 32px; font-weight: 200; line-height: 48px; color: var(--cs-vert); white-space: nowrap; }
.cs-footer__lines { display: flex; flex-direction: column; gap: 17px; margin-top: 17px; font-size: 20px; font-weight: 200; line-height: normal; }
.cs-footer__lines--links { gap: 12px; margin-top: 0; }
.cs-footer__lines--links p { white-space: nowrap; }
.cs-footer__lines a { transition: color 0.3s; }
.cs-footer__lines a:hover { color: var(--cs-vert); }
.cs-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
@media (min-width: 640px) { .cs-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .cs-footer__cols { display: flex; gap: 97px; } }
.cs-footer__col { display: flex; flex-direction: column; gap: 21px; }
@media (min-width: 1280px) { .cs-footer__col { width: 146px; } }
figure.cs-footer__logo { position: relative; width: 200px; margin: 56px 24px 64px; }
@media (min-width: 768px) { figure.cs-footer__logo { width: 311px; margin: 56px 40px 64px; } }
@media (min-width: 1280px) { figure.cs-footer__logo { position: absolute; left: 61px; top: 459px; margin: 0; } }
figure.cs-footer__logo img { width: 100%; height: auto; }
.cs-footer__credit { position: relative; box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: 39px; padding: 0 16px; background: var(--cs-vert); }
@media (min-width: 1280px) { .cs-footer__credit { position: absolute; left: 0; right: 0; bottom: 0; justify-content: flex-start; padding-left: 45.11%; } }
.cs-footer__credit a { white-space: nowrap; font-size: 16px; font-weight: 300; line-height: normal; color: var(--cs-sapin); }

/* Décors animés : enveloppe ajoutée par le script pour le balancement */
.cs-sway { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

/* ---------- Articles et pages ---------- */
.cs-article { padding-top: 140px; padding-bottom: 40px; }
@media (min-width: 1280px) { .cs-article { padding-top: 180px; } }
.cs-article .cs-post__tags { margin: 0 0 24px; }
.cs-article__title { max-width: 900px; font-family: var(--cs-serif); font-size: clamp(2.125rem, 1.729rem + 1.69vw, 3.25rem); font-weight: 200; line-height: 1.1154; }
figure.cs-article__media { margin-top: 40px; aspect-ratio: 16 / 9; overflow: hidden; }
figure.cs-article__media img { width: 100%; height: 100%; object-fit: cover; }
.cs-article__content { max-width: 720px; margin-top: 48px; font-size: 20px; font-weight: 300; line-height: 1.6; }
.cs-article__content > * + * { margin-top: 1.2em; }
.cs-article__content h2 { font-family: var(--cs-serif); font-size: 32px; font-weight: 200; line-height: 1.3; margin-top: 1.6em; }
.cs-article .cs-blog__list { margin-top: 48px; }

/* =====================================================================================================
   Pages intérieures (La Maison, Les Activités, Galerie, Actualités, Réservation, Contact)
   Même vocabulaire que l'accueil : panneaux de couleur, serif fine avec un mot en italique, pastilles, cartes.
   ===================================================================================================== */

.cs-main--page > .cs-page-head + *,
.cs-main--page > .cs-page-hero + * { margin-top: clamp(72px, 8vw, 120px); }
.cs-main--article { padding-bottom: 0; }

/* Pastille de sur-titre (comme les numéros des chapitres) */
.cs-badge,
.cs-page-hero__kicker {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-width: 35px;
	padding: 0 10px;
	border-radius: 2px;
	font-size: 14px;
	font-weight: 500;
	line-height: 30px;
	white-space: nowrap;
}
.cs-badge { background: var(--cs-rose); color: var(--cs-framboise); }
.cs-page-hero__kicker { background: var(--ph-fg); color: var(--ph-bg); }

/* Titres de section */
.cs-section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.cs-section-title { font-family: var(--cs-serif); font-size: clamp(2.125rem, 1.729rem + 1.69vw, 3.25rem); font-weight: 200; line-height: 1.1154; color: var(--cs-framboise); }
.cs-section-title em { font-style: italic; }

/* ---------- En-tête « panneau + photo » ---------- */
.cs-page-hero { position: relative; display: grid; grid-template-columns: 1fr; width: 100%; background: var(--ph-bg); color: var(--ph-fg); }
@media (min-width: 1024px) { .cs-page-hero { grid-template-columns: 1fr 1fr; min-height: max(720px, 100svh); } }
.cs-page-hero--framboise { --ph-bg: var(--cs-framboise); --ph-fg: var(--cs-rose); }
.cs-page-hero--sapin { --ph-bg: var(--cs-sapin); --ph-fg: var(--cs-jaune); }
.cs-page-hero--marron { --ph-bg: var(--cs-marron); --ph-fg: var(--cs-bleu); }
.cs-page-hero__panel { position: relative; display: flex; align-items: flex-end; }
.cs-page-hero__text {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
	padding: 140px 20px 56px;
}
@media (min-width: 768px) { .cs-page-hero__text { padding: 180px 40px 72px; } }
@media (min-width: 1024px) {
	.cs-page-hero__text { width: 611px; max-width: calc(100% - 95px); margin-left: max(61px, calc(50vw - 695px)); padding: 200px 0 85px; }
}
.cs-page-hero__title { font-family: var(--cs-serif); font-size: clamp(3.25rem, 2.3rem + 4vw, 5.75rem); font-weight: 200; line-height: 0.98; }
.cs-page-hero__title em { font-style: italic; }
.cs-page-hero__lead { max-width: 520px; font-size: 18px; font-weight: 200; line-height: 1.6; }
@media (min-width: 1024px) { .cs-page-hero__lead { font-size: 20px; line-height: 30px; } }
.cs-page-hero__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
@media (min-width: 640px) { .cs-page-hero__media { aspect-ratio: 16 / 11; } }
@media (min-width: 1024px) { .cs-page-hero__media { aspect-ratio: auto; } }
.cs-page-hero__media::after { content: ""; position: absolute; inset: 0 0 auto; height: 220px; background: linear-gradient(to bottom, rgb(0 0 0 / 0.35), transparent); pointer-events: none; }
figure.cs-page-hero__img { position: absolute; inset: 0; overflow: hidden; }
figure.cs-page-hero__img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
figure.cs-pos-60 img { object-position: 50% 60%; }
figure.cs-pos-70 img { object-position: 50% 70%; }

/* ---------- En-tête en bandeau ---------- */
.cs-page-head { position: relative; width: 100%; overflow: hidden; background: var(--ph-bg); color: var(--ph-fg); }
.cs-page-head--framboise { --ph-bg: var(--cs-framboise); --ph-fg: var(--cs-rose); }
.cs-page-head--sapin { --ph-bg: var(--cs-sapin); --ph-fg: var(--cs-jaune); }
.cs-page-head--violet { --ph-bg: var(--cs-violet); --ph-fg: var(--cs-rose); }
.cs-page-head__inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	max-width: var(--cs-max);
	margin-inline: auto;
	padding: 140px 20px 64px;
}
@media (min-width: 768px) { .cs-page-head__inner { padding: 180px 40px 80px; } }
@media (min-width: 1280px) { .cs-page-head__inner { padding: 230px 61px 104px; } }
.cs-page-head__title { max-width: 980px; font-family: var(--cs-serif); font-size: clamp(3rem, 2.2rem + 3.4vw, 5.25rem); font-weight: 200; line-height: 1; }
.cs-page-head__title em { font-style: italic; }
.cs-page-head .cs-page-hero__lead { max-width: 620px; }
.cs-page-head__flower { position: absolute; right: max(-60px, calc((100% - var(--cs-max)) / 2 - 60px)); bottom: -190px; display: none; width: 386px; height: 553px; opacity: 0.9; pointer-events: none; }
@media (min-width: 768px) { .cs-page-head__flower { display: block; } }
figure.cs-page-head__flower img { display: block; width: 100%; height: 100%; }
.cs-page-head__flower .cs-sway { transform-origin: 50% 100%; }

/* ---------- Aperçu et chiffres clés ---------- */
.cs-overview { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.cs-overview__text { max-width: 1100px; font-family: var(--cs-serif); font-size: clamp(1.5rem, 1.192rem + 1.315vw, 2.375rem); font-weight: 200; line-height: 1.45; color: var(--cs-framboise); }
@media (min-width: 1024px) { .cs-overview__text { margin-left: 34.85%; max-width: none; } }
.cs-overview__text em { font-style: italic; font-weight: 400; }
.cs-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 11px; }
@media (min-width: 1024px) { .cs-figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cs-figure { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid rgb(37 4 15 / 0.2); color: var(--cs-framboise); }
.cs-figure__value { font-family: var(--cs-serif); font-size: clamp(3.25rem, 2.6rem + 2.6vw, 5rem); font-weight: 200; line-height: 1; }
.cs-figure__label { font-size: 18px; font-weight: 300; line-height: 1.4; }

/* ---------- Rangées photo + texte ---------- */
.cs-features { display: flex; flex-direction: column; gap: clamp(96px, 11vw, 168px); }
.cs-feature { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
	.cs-feature { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 11px; }
	.cs-feature__media { grid-column: 1 / span 6; grid-row: 1; }
	.cs-feature__text { grid-column: 8 / span 5; grid-row: 1; }
	.cs-feature--reverse .cs-feature__media { grid-column: 7 / span 6; }
	.cs-feature--reverse .cs-feature__text { grid-column: 1 / span 5; }
}
.cs-feature__media { position: relative; }
figure.cs-feature__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
figure.cs-feature__img--wide { aspect-ratio: 3 / 2; }
figure.cs-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--cs-expo); }
.cs-feature:hover figure.cs-feature__img img { transform: scale(1.04); }
figure.cs-feature__inset { position: absolute; right: -4%; bottom: -12%; z-index: 1; display: none; width: 40%; aspect-ratio: 3 / 4; overflow: hidden; border: 8px solid var(--cs-creme); }
@media (min-width: 768px) { figure.cs-feature__inset { display: block; } }
.cs-feature--reverse figure.cs-feature__inset { right: auto; left: -4%; }
figure.cs-feature__inset img { width: 100%; height: 100%; object-fit: cover; }
.cs-feature__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; color: var(--cs-framboise); }
.cs-feature__title { font-family: var(--cs-serif); font-size: clamp(2.375rem, 2.111rem + 1.127vw, 3.125rem); font-weight: 200; line-height: 1.16; }
.cs-feature__title em { font-style: italic; }
.cs-feature__body { font-size: 18px; font-weight: 200; line-height: 1.6; }
@media (min-width: 1024px) { .cs-feature__body { font-size: 20px; line-height: 30px; } }
.cs-feature__list { align-self: stretch; margin: 8px 0 0; padding: 0; list-style: none; }
.cs-feature__list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-top: 1px solid rgb(37 4 15 / 0.15); font-size: 17px; font-weight: 300; line-height: 1.4; }
.cs-feature__list li:last-child { border-bottom: 1px solid rgb(37 4 15 / 0.15); }
.cs-feature__list strong { font-family: var(--cs-serif); font-size: 22px; font-weight: 200; }
.cs-feature .wp-block-buttons { margin-top: 12px; }

/* Bouton sous la bande de photos */
.cs-gallery-link .wp-block-buttons { justify-content: center; }
.cs-main > .cs-gallery + .cs-gallery-link { margin-top: 48px; }

/* ---------- Équipements ---------- */
.cs-amenities { width: 100%; padding-block: clamp(72px, 9vw, 128px); background: var(--cs-sable); }
.cs-amenities__groups { display: grid; grid-template-columns: 1fr; gap: 48px 11px; }
@media (min-width: 768px) { .cs-amenities__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cs-amenities__title { margin-bottom: 18px; font-family: var(--cs-serif); font-size: 32px; font-weight: 200; line-height: 1.3; color: var(--cs-framboise); }
.cs-dots { margin: 0; padding: 0; list-style: none; color: var(--cs-framboise); }
.cs-dots li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgb(37 4 15 / 0.15); font-size: 18px; font-weight: 300; line-height: 1.4; }
.cs-dots li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--cs-vert); }

/* ---------- Cartes de couleur en grille ---------- */
.cs-cards { display: grid; grid-template-columns: 1fr; gap: 11px; }
@media (min-width: 1024px) { .cs-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cs-cards .cs-card { height: 100%; box-sizing: border-box; }
.cs-cards .cs-card__title { line-height: 1.3; }
@media (min-width: 1024px) { .cs-cards .cs-card__title { line-height: 58px; } }
.cs-infos__cta { justify-content: center; margin-top: 48px; }

/* ---------- Activités : univers et adresses ---------- */
.cs-explore { display: flex; flex-direction: column; gap: clamp(96px, 10vw, 152px); }
.cs-explore__cat { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1024px) { .cs-explore__cat { flex-direction: row; align-items: stretch; justify-content: space-between; } }
@media (min-width: 1024px) {
	.cs-explore__aside { width: 44.04%; }
	.cs-explore__card { position: sticky; top: 140px; }
	.cs-explore__list { width: 49%; }
}
.cs-explore__card { gap: 13px; padding: 32px 26px 36px; }
.cs-explore__card .cs-card__text { max-width: 480px; }
.cs-explore__list { display: flex; flex-direction: column; color: var(--cs-framboise); }
.cs-spot { display: flex; flex-direction: column; gap: 10px; padding: 28px 0 32px; border-top: 1px solid rgb(37 4 15 / 0.2); }
.cs-spot:last-child { border-bottom: 1px solid rgb(37 4 15 / 0.2); }
.cs-spot__title { font-family: var(--cs-serif); font-size: 28px; font-weight: 200; line-height: 1.25; transition: transform 0.7s var(--cs-expo); }
@media (min-width: 1024px) { .cs-spot__title { font-size: 32px; } }
.cs-spot:hover .cs-spot__title { transform: translateX(8px); }
.cs-spot__text { font-size: 18px; font-weight: 200; line-height: 30px; }
.cs-spot__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.cs-spot__tag { border: 0.5px solid rgb(60 0 123 / 0.2); border-radius: 5px; padding: 9px 12px; font-size: 16px; font-weight: 300; line-height: 1; color: var(--cs-violet); }

/* Chapitre utilisé seul (pas d'épinglage) */
.cs-chapter--static .cs-chapter__badge--wide { width: auto; padding: 0 10px; }
.cs-chapter--static .cs-chapter__cta { margin-top: 18px; }
@media (min-width: 1024px) { .cs-chapter--static { min-height: 820px; } }

/* ---------- Galerie : mosaïque, filtres, agrandissement ---------- */
.cs-mosaic__filters { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 40px; }
.cs-chip {
	border: 0.5px solid rgb(60 0 123 / 0.25);
	border-radius: 5px;
	padding: 12px 16px;
	background: transparent;
	font: 300 18px/0.91 var(--cs-sans);
	letter-spacing: -0.04em;
	color: var(--cs-violet);
	cursor: pointer;
	transition: background-color 0.5s var(--cs-expo), color 0.5s, border-color 0.5s;
}
.cs-chip:hover { border-color: rgb(36 16 57 / 0.5); }
.cs-chip[aria-pressed="true"] { border-color: var(--cs-framboise); background: var(--cs-framboise); color: var(--cs-rose); }
.cs-mosaic__grid { columns: 2; column-gap: 11px; }
@media (min-width: 1024px) { .cs-mosaic__grid { columns: 3; } }
figure.cs-mosaic__item { position: relative; break-inside: avoid; margin: 0 0 11px; overflow: hidden; cursor: zoom-in; }
figure.cs-mosaic__item img { display: block; width: 100%; height: auto; transition: transform 1.4s var(--cs-expo); }
figure.cs-mosaic__item:hover img { transform: scale(1.04); }
figure.cs-mosaic__item.is-hidden { display: none; }
figure.cs-mosaic__item figcaption {
	position: absolute;
	inset: auto 0 0;
	margin: 0;
	padding: 48px 16px 14px;
	background: linear-gradient(to top, rgb(37 4 15 / 0.75), transparent);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.35;
	color: var(--cs-creme);
	text-align: left;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.5s, transform 0.7s var(--cs-expo);
}
figure.cs-mosaic__item:hover figcaption,
figure.cs-mosaic__item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { figure.cs-mosaic__item figcaption { opacity: 1; transform: none; } }
.cs-mosaic__open { position: absolute; inset: 0; z-index: 1; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }

.cs-lightbox {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	grid-template-rows: 72px minmax(0, 1fr) auto;
	align-items: center;
	background: rgb(37 4 15 / 0.96);
	color: var(--cs-rose);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s, visibility 0s 0.5s;
}
.cs-lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s; }
.cs-lightbox__img { grid-column: 2; grid-row: 2; justify-self: center; max-width: 100%; max-height: 100%; object-fit: contain; }
.cs-lightbox__caption { grid-column: 1 / -1; grid-row: 3; display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px 24px; font-size: 17px; font-weight: 300; }
@media (min-width: 768px) { .cs-lightbox__caption { padding-inline: 64px; } }
.cs-lightbox__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgb(245 128 160 / 0.6);
	border-radius: 50%;
	background: transparent;
	font: 300 22px/1 var(--cs-sans);
	color: var(--cs-rose);
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}
.cs-lightbox__btn:hover { background: var(--cs-rose); color: var(--cs-framboise); }
.cs-lightbox__close { grid-column: 3; grid-row: 1; justify-self: center; }
.cs-lightbox__prev { grid-column: 1; grid-row: 2; justify-self: center; }
.cs-lightbox__next { grid-column: 3; grid-row: 2; justify-self: center; }
@media (max-width: 767px) {
	.cs-lightbox { grid-template-columns: 0 minmax(0, 1fr) 0; }
	.cs-lightbox__close { grid-column: 2; justify-self: end; margin-right: 12px; }
	.cs-lightbox__prev, .cs-lightbox__next { grid-row: 3; }
	.cs-lightbox__prev { grid-column: 2; justify-self: start; margin-left: 12px; }
	.cs-lightbox__next { grid-column: 2; justify-self: end; margin-right: 12px; }
	.cs-lightbox__caption { grid-row: 3; justify-content: center; padding-inline: 76px; text-align: center; }
}

/* ---------- Actualités : catégories, extraits, pagination, article ---------- */
.cs-journal { display: flex; flex-direction: column; gap: 48px; }
.cs-cats { display: flex; flex-wrap: wrap; gap: 4px; }
.cs-cats ul { display: contents; margin: 0; padding: 0; list-style: none; }
.cs-cats li { display: contents; }
.cs-cats a {
	display: block;
	border: 0.5px solid rgb(60 0 123 / 0.25);
	border-radius: 5px;
	padding: 12px 16px;
	font-size: 18px;
	font-weight: 300;
	line-height: 0.91;
	letter-spacing: -0.04em;
	color: var(--cs-violet);
	text-decoration: none;
	transition: background-color 0.5s var(--cs-expo), color 0.5s, border-color 0.5s;
}
.cs-cats a:hover { border-color: rgb(36 16 57 / 0.5); }
.cs-cats__all.is-active a,
.cs-cats .current-cat a { border-color: var(--cs-framboise); background: var(--cs-framboise); color: var(--cs-rose); }
.cs-post__excerpt { margin-top: 16px; font-size: 17px; font-weight: 200; line-height: 1.6; color: var(--cs-framboise); }
.cs-post__excerpt p { margin: 0; }
.cs-post__excerpt .wp-block-post-excerpt__more-text { display: none; }
.cs-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 64px; font-size: 18px; font-weight: 300; color: var(--cs-violet); }
.cs-pagination a, .cs-pagination .page-numbers { padding: 10px 14px; border-radius: 5px; color: inherit; text-decoration: none; }
.cs-pagination .current { background: var(--cs-framboise); color: var(--cs-rose); }
.cs-article__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cs-article .cs-article__head .cs-post__tags { margin: 0; }
.cs-post__tag--date { text-transform: lowercase; }
.cs-back a { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 300; color: var(--cs-framboise); text-decoration: none; }
.cs-back a::before { content: "←"; transition: transform 0.5s var(--cs-expo); }
.cs-back a:hover::before { transform: translateX(-6px); }
.cs-article__title { color: var(--cs-framboise); }
.cs-article__content { color: var(--cs-framboise); }
.cs-article__content a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cs-related { display: flex; flex-direction: column; gap: 40px; margin-top: clamp(96px, 10vw, 152px); }

/* ---------- Formulaires ---------- */
.cs-form { display: flex; flex-direction: column; gap: 40px; color: var(--cs-framboise); }
.cs-form__step { display: flex; flex-direction: column; gap: 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
.cs-form__step legend { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 0; font-family: var(--cs-serif); font-size: 30px; font-weight: 200; line-height: 1.2; }
@media (min-width: 1024px) { .cs-form__step legend { font-size: 34px; } }
.cs-step { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 30px; border-radius: 2px; background: var(--cs-rose); font-family: var(--cs-sans); font-size: 14px; font-weight: 500; color: var(--cs-framboise); }
.cs-field-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .cs-field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; } }
.cs-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.cs-field label { font-size: 16px; font-weight: 400; }
.cs-field label span { font-weight: 300; opacity: 0.7; }
.cs-field input,
.cs-field select,
.cs-field textarea,
.cs-stepper input {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid rgb(37 4 15 / 0.25);
	border-radius: 3px;
	background: var(--cs-blanc);
	padding: 14px 16px;
	font: 300 18px/1.4 var(--cs-sans);
	color: var(--cs-framboise);
	transition: border-color 0.3s, box-shadow 0.3s;
}
.cs-field textarea { resize: vertical; min-height: 120px; }
.cs-field input:focus, .cs-field select:focus, .cs-field textarea:focus, .cs-stepper input:focus { outline: none; border-color: var(--cs-framboise); box-shadow: 0 0 0 3px rgb(245 128 160 / 0.4); }
.cs-field [aria-invalid="true"] { border-color: #b3261e; }
.cs-form__hint { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.5; opacity: 0.8; }
.cs-form__hint.is-warning { color: #b3261e; opacity: 1; }
.cs-check { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: 16px; font-weight: 300; line-height: 1.5; }
.cs-check input { flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cs-framboise); }
.cs-check--option { padding: 16px 0; border-top: 1px solid rgb(37 4 15 / 0.15); }
.cs-options .cs-check--option:last-child { border-bottom: 1px solid rgb(37 4 15 / 0.15); }
.cs-check--option label { display: flex; flex: 1; justify-content: space-between; gap: 16px; font-size: 18px; }
.cs-check--option label span { font-family: var(--cs-serif); font-size: 20px; white-space: nowrap; }
.cs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cs-form__error { margin: 0; padding: 14px 16px; border-radius: 3px; background: #fbe4e2; font-size: 16px; color: #8c1d18; }
.cs-btn {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 10px;
	overflow: hidden;
	border: 1px solid var(--cs-framboise);
	border-radius: 3px;
	padding: 16px 20px;
	background: var(--cs-framboise);
	font: 400 20px/normal var(--cs-sans);
	color: var(--cs-rose);
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.5s;
}
.cs-btn::before { content: ""; position: relative; z-index: -1; flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--cs-rose); transition: transform 0.9s var(--cs-expo); }
.cs-btn:hover, .cs-btn:focus-visible { color: var(--cs-framboise); }
.cs-btn:hover::before, .cs-btn:focus-visible::before { transform: scale(40); }
.cs-btn[disabled] { opacity: 0.6; cursor: progress; }
.cs-form__success { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 40px 32px; border-radius: 4px; background: var(--cs-sable); color: var(--cs-framboise); }
.cs-form__success h3 { font-family: var(--cs-serif); font-size: 40px; font-weight: 200; line-height: 1.1; }
.cs-form__success h3 em { font-style: italic; }
.cs-form__success p { font-size: 18px; font-weight: 300; line-height: 1.6; }
.cs-form__demo { font-size: 15px !important; opacity: 0.75; }

/* ---------- Réservation ---------- */
.cs-booking { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start; }
@media (min-width: 1100px) { .cs-booking { grid-template-columns: minmax(0, 1fr) 420px; gap: 0 80px; } }
.cs-cal { border: 1px solid rgb(37 4 15 / 0.15); border-radius: 4px; background: var(--cs-blanc); padding: 20px 16px 16px; }
@media (min-width: 768px) { .cs-cal { padding: 24px; } }
.cs-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cs-cal__nav { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgb(37 4 15 / 0.25); border-radius: 50%; background: transparent; font: 300 18px/1 var(--cs-sans); color: var(--cs-framboise); cursor: pointer; transition: background-color 0.3s, color 0.3s; }
.cs-cal__nav:hover:not(:disabled) { background: var(--cs-framboise); color: var(--cs-rose); }
.cs-cal__nav:disabled { opacity: 0.3; cursor: default; }
.cs-cal__months { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .cs-cal__months { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cs-cal__months .cs-cal__month:nth-child(2) { display: none; }
@media (min-width: 768px) { .cs-cal__months .cs-cal__month:nth-child(2) { display: block; } }
.cs-cal__title { margin: -36px 48px 16px; font-family: var(--cs-serif); font-size: 24px; font-weight: 200; line-height: 32px; text-align: center; text-transform: capitalize; }
.cs-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.cs-cal__dow { padding-bottom: 8px; font-size: 13px; font-weight: 400; text-align: center; opacity: 0.55; }
.cs-cal__day { position: relative; aspect-ratio: 1; max-height: 52px; padding: 0; border: 0; border-radius: 3px; background: none; font: 300 16px/1 var(--cs-sans); color: var(--cs-framboise); cursor: pointer; transition: background-color 0.2s; }
.cs-cal__day:hover:not(:disabled) { background: rgb(245 128 160 / 0.3); }
.cs-cal__day:disabled { color: rgb(37 4 15 / 0.28); cursor: not-allowed; }
.cs-cal__day.is-booked { text-decoration: line-through; }
.cs-cal__day.is-range { border-radius: 0; background: rgb(245 128 160 / 0.28); }
.cs-cal__day.is-start, .cs-cal__day.is-end { background: var(--cs-framboise); color: var(--cs-rose); }
.cs-cal__day.is-start { border-radius: 3px 0 0 3px; }
.cs-cal__day.is-end { border-radius: 0 3px 3px 0; }
.cs-cal__day.is-start.is-end, .cs-cal__day.is-start:not(.has-end) { border-radius: 3px; }
.cs-cal__day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; transform: translateX(-50%); }
.cs-cal__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 14px; font-weight: 300; }
.cs-cal__legend span { display: inline-flex; align-items: center; gap: 8px; }
.cs-cal__legend span::before { content: ""; width: 14px; height: 14px; border-radius: 3px; }
.cs-cal__legend .is-free::before { border: 1px solid rgb(37 4 15 / 0.25); }
.cs-cal__legend .is-taken::before { background: rgb(37 4 15 / 0.12); }
.cs-cal__legend .is-chosen::before { background: var(--cs-framboise); }
.cs-guests { display: flex; flex-direction: column; }
.cs-guest { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgb(37 4 15 / 0.15); }
.cs-guest:last-child { border-bottom: 1px solid rgb(37 4 15 / 0.15); }
.cs-guest__label { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.cs-guest__label label { font-family: var(--cs-serif); font-size: 22px; font-weight: 200; }
.cs-guest__label span { font-size: 15px; font-weight: 300; opacity: 0.75; }
.cs-stepper { display: flex; align-items: center; gap: 8px; margin: 0; }
.cs-stepper button { width: 40px; height: 40px; padding: 0; border: 1px solid rgb(37 4 15 / 0.25); border-radius: 50%; background: transparent; font: 300 20px/1 var(--cs-sans); color: var(--cs-framboise); cursor: pointer; transition: background-color 0.3s, color 0.3s; }
.cs-stepper button:hover:not(:disabled) { background: var(--cs-framboise); color: var(--cs-rose); }
.cs-stepper button:disabled { opacity: 0.3; cursor: default; }
.cs-stepper input { width: 56px; padding: 8px 4px; border-color: transparent; background: transparent; text-align: center; -moz-appearance: textfield; }
.cs-stepper input::-webkit-inner-spin-button, .cs-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cs-summary { overflow: hidden; border-radius: 4px; background: var(--cs-framboise); color: var(--cs-rose); }
@media (min-width: 1100px) { .cs-summary { position: sticky; top: 120px; } }
figure.cs-summary__img { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
figure.cs-summary__img img { width: 100%; height: 100%; object-fit: cover; }
.cs-summary__body { display: flex; flex-direction: column; padding: 28px 28px 32px; }
.cs-summary__title { font-family: var(--cs-serif); font-size: 34px; font-weight: 200; line-height: 1.15; }
.cs-summary__sub { margin-top: 4px; font-size: 16px; font-weight: 300; opacity: 0.8; }
.cs-summary__rows { margin: 24px 0 0; }
.cs-summary__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgb(245 128 160 / 0.25); font-size: 17px; font-weight: 300; }
.cs-summary__rows dt small { font-size: 13px; opacity: 0.8; }
.cs-summary__rows dd { margin: 0; text-align: right; }
.cs-summary__rows [hidden] { display: none; }
.cs-summary__total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--cs-rose); font-size: 18px; }
.cs-summary__total strong { font-family: var(--cs-serif); font-size: 38px; font-weight: 200; }
.cs-summary__note { margin-top: 20px; font-size: 15px; font-weight: 300; line-height: 1.5; opacity: 0.85; }

.cs-booking__recap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0; padding: 18px 20px; border-radius: 4px; background: var(--cs-framboise); font-size: 16px; font-weight: 300; color: var(--cs-rose); }
.cs-booking__recap strong { font-family: var(--cs-serif); font-size: 24px; font-weight: 200; }
.cs-booking__recap[hidden] { display: none; }
@media (min-width: 1100px) { .cs-booking__recap { display: none !important; } }

/* Questions fréquentes (bloc Détails) */
.cs-faq { display: grid; grid-template-columns: 1fr; gap: 0 11px; }
@media (min-width: 1024px) { .cs-faq { grid-template-columns: 44.04% 1fr; justify-content: space-between; } .cs-faq__head { margin-bottom: 0; } }
.cs-faq__list { color: var(--cs-framboise); }
.cs-faq__item { border-top: 1px solid rgb(37 4 15 / 0.2); }
.cs-faq__item:last-child { border-bottom: 1px solid rgb(37 4 15 / 0.2); }
.cs-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--cs-serif); font-size: 24px; font-weight: 200; line-height: 1.3; list-style: none; cursor: pointer; }
@media (min-width: 1024px) { .cs-faq__item summary { font-size: 28px; } }
.cs-faq__item summary::-webkit-details-marker { display: none; }
.cs-faq__item summary::after { content: "+"; flex-shrink: 0; font-family: var(--cs-sans); font-size: 28px; font-weight: 200; transition: transform 0.5s var(--cs-expo); }
.cs-faq__item[open] summary::after { transform: rotate(45deg); }
.cs-faq__item p { max-width: 640px; padding-bottom: 28px; font-size: 18px; font-weight: 200; line-height: 30px; }

/* ---------- Contact ---------- */
.cs-contact { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 1024px) { .cs-contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 11%; } }
.cs-contact__info { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; color: var(--cs-framboise); }
.cs-contact__info .cs-section-title { margin-bottom: 12px; }
.cs-contact__line { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cs-contact__value { font-family: var(--cs-serif); font-size: 26px; font-weight: 200; line-height: 1.35; }
.cs-contact__value a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat; transition: background-size 0.7s var(--cs-expo); }
.cs-contact__value a:hover { background-size: 100% 1px; }
.cs-contact__note { max-width: 440px; font-size: 17px; font-weight: 300; line-height: 1.6; }
.cs-contact__note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cs-contact__form { padding: 32px 24px; border-radius: 4px; background: var(--cs-sable); }
@media (min-width: 768px) { .cs-contact__form { padding: 48px; } }
.cs-footer__heading a { color: inherit; text-decoration: none; }

/* ---------- Pages simples (mentions légales…) ---------- */
.cs-article__content h3 { margin-top: 1.4em; font-size: 22px; font-weight: 400; }
.cs-article__content ul { padding-left: 1.2em; }

/* Texte réservé aux lecteurs d'écran */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
