/* ==========================================================================
   La Casita – « Manifeste plein écran »
   Reprise fidèle de la maquette Lovable (Tailwind) en CSS simple, sans build.
   Points de rupture : 768 px (tablette / ordinateur), 1024 px (menu complet).
   ========================================================================== */

/* ---------- Polices (hébergées sur le site, pas d'appel à Google) ---------- */
@font-face { font-family: "Merriweather"; font-style: italic; font-weight: 900; font-display: swap; src: url(../fonts/merriweather-latin-900-italic.woff2) format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: italic; font-weight: 700; font-display: swap; src: url(../fonts/merriweather-latin-700-italic.woff2) format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/merriweather-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/merriweather-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/merriweather-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Merriweather Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/merriweather-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Merriweather Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/merriweather-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Merriweather Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/merriweather-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Merriweather Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/merriweather-sans-latin-800-normal.woff2) format("woff2"); }

/* ---------- Charte ---------- */
:root {
	--creme: #F8EBD9;
	--sable: #F4DFC1;
	--sablelogo: #DEB486;
	--caramel: #C69D75;
	--terra: #B84B2C;
	--brun: #8A6445;
	--encre: #4A3428;
	--font-display: "Merriweather", Georgia, serif;
	--font-sans: "Merriweather Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base (équivalent du « preflight » Tailwind) ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--caramel); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; line-height: 1.5; }
body { background: var(--creme); color: var(--encre); font-family: var(--font-sans); font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: inherit; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--encre); color: var(--creme); padding: .75rem 1rem; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site { overflow-x: hidden; padding-bottom: 5rem; }
@media (min-width: 768px) { .site { padding-bottom: 0; } }

.wrap { max-width: 1600px; margin-inline: auto; padding-inline: 1.5rem; }
.wrap-7 { max-width: 80rem; margin-inline: auto; padding-inline: 1.5rem; }
.wrap-narrow { max-width: 52rem; margin-inline: auto; padding-inline: 1.5rem; }

/* ---------- Utilitaires de la maquette ---------- */
.font-title { font-family: var(--font-display); font-style: italic; font-weight: 900; letter-spacing: -0.01em; }
.c-terra { color: var(--terra); }
.c-sablelogo { color: var(--sablelogo); }
.c-brun { color: var(--brun); }
.c-creme { color: var(--creme); }
.c-inherit { color: inherit; }
.bg-sable { background: var(--sable); }
.bg-encre { background: var(--encre); }
.o-80 { opacity: .8; }
.mt-6 { margin-top: 1.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }

.kicker { font-size: .75rem; line-height: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .35em; }
.kicker:not([class*="c-"]) { color: var(--terra); }
.hl { color: var(--sablelogo); }

/* Bouton pilule à ombre franche */
.btn-pill {
	display: inline-flex; align-items: center; gap: .5rem;
	border-radius: 9999px; padding: .8rem 1.6rem;
	font-weight: 700; border: 2px solid var(--encre);
	box-shadow: 4px 4px 0 var(--encre);
	transition: transform .15s, box-shadow .15s;
	cursor: pointer;
}
.btn-pill:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--encre); }
.btn-pill:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--encre); }
.btn-terra { background: var(--terra); color: var(--creme); }
.btn-creme { background: var(--creme); color: var(--encre); }
.btn-sable { background: var(--sablelogo); color: var(--encre); }
.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; line-height: 1.25rem; }

.arch { border-radius: 999px 999px 1.25rem 1.25rem; overflow: hidden; }

/* Emplacement photo (avant le shooting) */
.placeholder-warm {
	display: flex; align-items: flex-end; justify-content: flex-start;
	background:
		repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in oklab, var(--encre) 6%, transparent) 14px 15px),
		linear-gradient(170deg, var(--sablelogo), var(--caramel) 60%, var(--brun));
}
.placeholder-warm span { margin: 1.25rem; padding: .35rem .9rem; border-radius: 999px; background: color-mix(in oklab, var(--encre) 55%, transparent); color: var(--creme); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- Animations ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Marges internes pour ne pas couper accents (É) et jambages (g, y) malgré l’interligne serré. */
.lines .line { display: block; overflow: hidden; padding-block: .16em; margin-block: -.16em -.08em; }
.lines .line-in { display: block; }
.js .lines .line-in { transform: translateY(130%); transition: transform 1s var(--ease); }
.js .lines.is-in .line-in { transform: none; }

@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-zoom { animation: hero-zoom 2.4s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal, .js .lines .line-in { transition: none !important; opacity: 1 !important; transform: none !important; }
	.hero-zoom { animation: none; }
}

/* ---------- Bandeau + en-tête ---------- */
.topbar { position: relative; z-index: 11; background: color-mix(in oklab, var(--encre) 80%, transparent); padding: .5rem 1rem; text-align: center; font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: var(--sable); }
.topbar-sun { color: var(--sablelogo); }
.topbar a { text-decoration: underline; text-decoration-color: var(--terra); text-underline-offset: 4px; }

.site-header { position: relative; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; }
.brand-text { font-size: 1.875rem; line-height: 2.25rem; color: var(--creme); }
/* Logo de l'en-tête : contour crème qui épouse la forme du logo (effet sticker), puis ombre douce. */
.brand-img { height: 3.5rem; width: auto; filter: url(#lc-sticker) drop-shadow(0 3px 10px rgba(74, 52, 40, .35)); }
@media (min-width: 768px) { .brand-img { height: 4.5rem; } }
.main-nav { display: none; align-items: center; gap: 2rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--creme); }
.main-nav a { transition: color .15s; }
.main-nav a:hover { color: var(--sablelogo); }
@media (min-width: 1024px) { .main-nav { display: flex; } }

/* ---------- Plein écran ---------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; color: var(--creme); background: var(--encre); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in oklab, var(--encre) 70%, transparent), color-mix(in oklab, var(--encre) 20%, transparent), color-mix(in oklab, var(--encre) 85%, transparent)); }
.hero .placeholder-warm span { display: none; }
.hero-body { position: relative; margin-top: auto; padding-bottom: 2.5rem; }
.hero-title { font-size: 14vw; line-height: .92; }
@media (min-width: 768px) { .hero-title { font-size: 10.5vw; } }
.hero-foot { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; border-top: 1px solid color-mix(in oklab, var(--creme) 40%, transparent); padding-top: 1.5rem; }
@media (min-width: 768px) { .hero-foot { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.hero-intro { max-width: 28rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--sable); }
.btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Sections numérotées ---------- */
.sec { padding-block: 7rem; }
@media (min-width: 768px) { .sec { padding-block: 10rem; } }
.sec-head { display: grid; gap: 2.5rem; }
@media (min-width: 768px) {
	.sec-head { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.sec-side { grid-column: span 4 / span 4; }
	.sec-main { grid-column: span 8 / span 8; padding-top: 6rem; }
}
.num { display: block; line-height: .8; font-size: 28vw; }
@media (min-width: 768px) { .num { font-size: 16rem; } }
.sec-title { font-size: 3.75rem; line-height: .95; }
@media (min-width: 768px) { .sec-title { font-size: 6rem; } }
.sec-intro { margin-top: 2rem; max-width: 32rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--brun); }

/* 01 · Le lieu */
.moments { margin-top: 6rem; display: grid; gap: 7rem; }
@media (min-width: 768px) { .moments { gap: 10rem; } }
.moment { display: grid; align-items: center; gap: 2.5rem; }
@media (min-width: 768px) {
	.moment { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.moment.is-flip > :first-child { order: 2; }
}
.moment-media { position: relative; height: 70vh; overflow: hidden; }
.moment-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s; }
.moment-img:hover { transform: scale(1.05); }
.moment-text { padding-inline: 1.5rem; }
@media (min-width: 768px) { .moment-text { padding-inline: 4rem; } }
.moment-hour { font-size: 4.5rem; line-height: 1; color: var(--terra); }
@media (min-width: 768px) { .moment-hour { font-size: 8rem; } }
.moment-title { margin-top: 1rem; font-size: 2.25rem; line-height: 2.5rem; }
@media (min-width: 768px) { .moment-title { font-size: 3.75rem; line-height: 1; } }
.moment-desc { margin-top: 1.5rem; max-width: 28rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--brun); }
.moment-list { margin-top: 2rem; max-width: 28rem; border-top: 1px solid var(--caramel); }
.moment-list li { border-bottom: 1px solid var(--caramel); padding-block: .75rem; font-weight: 600; }

/* Séparateur soleil */
.divider { display: flex; align-items: center; gap: 1.5rem; }
.divider > span { height: 1px; flex: 1; background: var(--caramel); }
.divider-sun { height: 1.5rem; width: 3rem; }

/* 02 · La carte */
.dishes { margin-top: 6rem; border-top: 2px solid var(--encre); }
.dish { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 1.5rem; border-bottom: 2px solid var(--encre); padding-block: 2rem; }
@media (min-width: 768px) { .dish { grid-template-columns: 8rem 1fr 1fr; gap: 2.5rem; } }
.dish-n { font-size: 1.875rem; line-height: 2.25rem; color: var(--terra); }
.dish-name { font-size: 1.875rem; line-height: 2.25rem; transition: transform .3s; }
.dish:hover .dish-name { transform: translateX(.75rem); }
@media (min-width: 768px) { .dish-n, .dish-name { font-size: 3rem; line-height: 1; } }
.dish-desc { grid-column-start: 2; color: var(--brun); }
@media (min-width: 768px) { .dish-desc { grid-column-start: 3; text-align: right; } }

/* 03 · À venir */
.events { margin-top: 6rem; display: grid; }
@media (min-width: 768px) { .events { grid-template-columns: repeat(2, minmax(0, 1fr)); } .events.is-single { grid-template-columns: 1fr; } }
.event { display: flex; flex-direction: column; justify-content: space-between; min-height: 60vh; padding: 2.5rem; }
@media (min-width: 768px) { .event { padding: 4rem; } }
.event-terra { background: var(--terra); color: var(--creme); }
.event-sable { background: var(--sablelogo); color: var(--encre); }
.event-arch { height: 4rem; width: 3rem; border: 2px solid currentColor; opacity: .6; }
.event-title { margin-top: 1rem; font-size: 3rem; line-height: 1; }
@media (min-width: 768px) { .event-title { font-size: 4.5rem; } }
.event-text { margin-top: 1.5rem; max-width: 24rem; font-size: 1.125rem; line-height: 1.75rem; opacity: .9; }

/* 04 · Venir */
.infos { margin-top: 6rem; display: grid; gap: 1px; background: var(--brun); }
@media (min-width: 768px) { .infos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.info { background: var(--encre); padding: 2rem; }
@media (min-width: 768px) { .info { padding-top: 3rem; } }
.info h3 { font-size: 1.875rem; line-height: 2.25rem; color: var(--sablelogo); }
.info p { margin-top: 1rem; line-height: 1.625; color: var(--sable); }
.info-link { margin-top: .75rem; display: inline-block; font-weight: 700; color: var(--sablelogo); text-decoration: underline; text-underline-offset: 4px; }

/* 05 · Privatisation */
.priv { display: grid; }
@media (min-width: 768px) { .priv { min-height: 100vh; min-height: 100svh; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.priv-media { position: relative; min-height: 60vh; overflow: hidden; }
.priv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.priv-body { display: flex; flex-direction: column; justify-content: center; background: var(--sable); padding: 6rem 1.5rem; }
@media (min-width: 768px) { .priv-body { padding-inline: 4rem; } }
.pills { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.pills li { border-radius: 9999px; border: 2px solid var(--encre); padding: .5rem 1.25rem; font-weight: 600; }
.priv-mail { margin-top: 1.25rem; font-size: .875rem; color: var(--brun); }
.priv-mail a { font-weight: 700; color: var(--encre); text-decoration: underline; text-decoration-color: var(--terra); text-underline-offset: 4px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--creme); }
.footer-top { padding-top: 5rem; }
.footer-logo { width: 100%; max-width: 62rem; height: auto; }
.footer-row { margin-top: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; border-top: 2px solid var(--encre); padding-block: 2.5rem; }
@media (min-width: 768px) { .footer-row { flex-direction: row; align-items: center; } }
.footer-tel { margin-top: .25rem; display: block; font-weight: 700; }
.footer-sun { display: none; height: 2.5rem; width: 5rem; }
@media (min-width: 768px) { .footer-sun { display: block; } }
.footer-insta { align-self: flex-start; background: var(--sable); }
@media (min-width: 768px) { .footer-insta { align-self: auto; } }
.footer-bottom { border-top: 1px solid var(--caramel); padding-block: 1.25rem; text-align: center; font-size: .75rem; line-height: 1rem; color: var(--brun); }
.footer-legal ul { margin-top: .5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Barre d'actions mobile ---------- */
.mobile-bar { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom)); z-index: 50; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border-radius: 9999px; border: 2px solid var(--encre); background: var(--creme); font-size: .875rem; line-height: 1.25rem; font-weight: 700; box-shadow: 4px 4px 0 var(--encre); }
.mobile-bar a { padding-block: .75rem; text-align: center; }
.mobile-bar .mb-book { background: var(--terra); color: var(--creme); }
.mobile-bar .mb-mid { border-inline: 2px solid var(--encre); }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ---------- Pages intérieures (La carte, mentions légales…) ---------- */
.inner-top { background: var(--encre); color: var(--creme); }
.page-main { padding-block: 5rem 7rem; }
.page-head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding-bottom: 3rem; }
.page-sun { width: 5rem; height: 2.5rem; }
.page-title { font-size: 3.75rem; line-height: .95; color: var(--terra); }
@media (min-width: 768px) { .page-title { font-size: 6rem; } }
.entry-content { font-size: 1.0625rem; line-height: 1.7; }
.entry-content > * + * { margin-top: 1rem; }
.entry-content h2 { margin-top: 4rem; padding-bottom: .75rem; border-bottom: 2px solid var(--encre); font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 2.5rem; line-height: 1.1; color: var(--encre); }
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { margin-top: 2.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--terra); text-underline-offset: 4px; }
.entry-content strong { font-weight: 700; }
.entry-content ul { list-style: disc; padding-left: 1.25rem; }
.entry-content ol { list-style: decimal; padding-left: 1.25rem; }
.entry-content hr { margin-block: 4rem; border-top: 2px solid var(--caramel); }
.entry-content .carte-intro { font-size: 1.25rem; color: var(--brun); }
.entry-content .carte-note { font-size: .875rem; color: var(--brun); }
.entry-content .plat { margin-top: 0; padding-block: 1rem; border-bottom: 1px solid var(--caramel); color: var(--brun); line-height: 1.5; }
.entry-content .plat strong { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--encre); }
.entry-content .plat .prix { float: right; margin-left: 1rem; font-family: var(--font-display); font-weight: 700; color: var(--terra); }
.entry-content .plat::after { content: ""; display: block; clear: both; }
.page-cta { margin-top: 3.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Sur-titre du plein écran : crème + légère ombre pour rester lisible sur la photo. */
.hero-kicker { text-shadow: 0 1px 12px rgba(74, 52, 40, .6); }

/* Carte Google Maps (section Venir), chargée au clic */
.map { position: relative; margin-top: 1px; height: 26rem; background: color-mix(in oklab, var(--brun) 35%, var(--encre)); border-top: 1px solid var(--brun); }
@media (max-width: 767px) { .map { height: 22rem; } }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.9); }
.map-consent { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem 1.5rem; text-align: center; }
.map-sun { width: 5rem; height: 2.5rem; }
.map-title { font-size: 2rem; line-height: 1.1; color: var(--sablelogo); }
.map-note { max-width: 26rem; font-size: .875rem; color: var(--sable); opacity: .85; }
.map-btns { justify-content: center; margin-top: .5rem; }

/* ---------- Boutons groupés + e-mail (section privatisation de l'accueil) ---------- */
.btns .priv-mail { flex-basis: 100%; margin-top: .25rem; }

/* ---------- Page Privatiser ---------- */
.page-hero { position: relative; display: flex; flex-direction: column; min-height: 85vh; min-height: 85svh; color: var(--creme); background: var(--encre); overflow: hidden; }
.page-hero-title { font-size: 13vw; line-height: .92; }
@media (min-width: 768px) { .page-hero-title { font-size: 8vw; } }
.sec-main-flat { padding-top: 0 !important; }
.spaces { margin-top: 6rem; display: grid; gap: 4rem 2.5rem; }
@media (min-width: 768px) { .spaces { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.space-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 2px solid var(--encre); box-shadow: 6px 6px 0 var(--encre); }
.space-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s; }
.space:hover .space-img { transform: scale(1.05); }
.space-name { margin-top: 2rem; font-size: 2.5rem; line-height: 1; }
@media (min-width: 768px) { .space-name { font-size: 3rem; } }
.space-text { margin-top: 1rem; max-width: 28rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--brun); }
.space-cap { margin-top: 1.25rem; display: inline-block; border-radius: 999px; border: 2px solid var(--encre); padding: .4rem 1.1rem; font-weight: 700; font-size: .875rem; }
.pills-lg li { font-size: 1.125rem; padding: .7rem 1.5rem; background: var(--creme); }
.steps { margin-top: 6rem; border-top: 2px solid var(--encre); }
.step { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 1.5rem; border-bottom: 2px solid var(--encre); padding-block: 2rem; }
@media (min-width: 768px) { .step { grid-template-columns: 8rem 1fr 1fr; gap: 2.5rem; } }
.step:hover .dish-name { transform: translateX(.75rem); }
.sec-free { padding-bottom: 6rem; }
.cta-band { background: var(--terra); color: var(--creme); padding-block: 6rem; }
@media (min-width: 768px) { .cta-band { padding-block: 8rem; } }
.cta-row { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 1024px) { .cta-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.cta-mail { margin-top: 1.25rem; font-size: .875rem; color: var(--sable); }
.cta-mail a { font-weight: 700; color: var(--creme); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Page Galerie ---------- */
.gal-main { padding-top: 3rem; }
.gal-head .num:empty { display: none; }
.gallery-wrap { margin-top: 4rem; }
.gal-grid { columns: 1; column-gap: 1.25rem; }
@media (min-width: 640px) { .gal-grid { columns: 2; } }
@media (min-width: 1024px) { .gal-grid { columns: 3; } }
.gal-item { break-inside: avoid; margin-bottom: 1.25rem; overflow: hidden; }
.gal-item img { width: 100%; height: auto; transition: transform 1.2s; }
.gal-item:hover img { transform: scale(1.04); }
.gallery-content { max-width: none; }
.gallery-content .wp-block-gallery { gap: 1.25rem !important; }
.gallery-content figure { margin: 0; }
.gallery-content img { width: 100%; height: auto; }
.gal-cta { margin-top: 4rem; }

/* ---------- Formulaire de demande (page Privatiser) ---------- */
.form-sec .sec-intro { margin-top: 0; }
.form-side { margin-top: 2rem; color: var(--brun); }
.form-side p + p { margin-top: .25rem; }
.form-side a { font-weight: 700; color: var(--encre); text-decoration: underline; text-decoration-color: var(--terra); text-underline-offset: 4px; }
.form-tel { font-size: 2rem; text-decoration: none !important; }
.lc-form { display: grid; gap: 1.25rem; }
.f-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .f-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.f-field label { display: block; margin-bottom: .4rem; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; color: var(--encre); }
.f-field input, .f-field select, .f-field textarea { width: 100%; font: inherit; color: var(--encre); background: var(--creme); border: 2px solid var(--encre); border-radius: 1rem; padding: .8rem 1rem; box-shadow: 3px 3px 0 var(--encre); }
.f-field textarea { border-radius: 1.25rem; resize: vertical; min-height: 9rem; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--terra); box-shadow: 3px 3px 0 var(--terra); }
.f-consent { font-size: .875rem; color: var(--brun); }
.f-consent input { margin-right: .5rem; accent-color: var(--terra); }
.f-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.f-note { font-size: .8rem; color: var(--brun); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-bottom: 2rem; border: 2px solid var(--encre); border-radius: 1.25rem; padding: 1.25rem 1.5rem; box-shadow: 4px 4px 0 var(--encre); }
.form-ok { background: var(--creme); }
.form-ok .font-title { font-size: 1.75rem; color: var(--terra); }
.form-err { background: var(--terra); color: var(--creme); }
