/* Manoir de Ponsay — feuille de style principale
   Sommaire : 1. Variables · 2. Base · 3. En-tête · 4. Composants
              5. Sections · 6. Chambres · 7. Découvrir · 8. Formulaires
              9. Pied de page · 10. Responsive
   ------------------------------------------------------------------ */

/* 1. Variables ----------------------------------------------------- */
:root {
	--cream: #F5F1E9;
	--sand: #FBF8F1;
	--ink: #211E1A;
	--ink-soft: #5C564D;
	--ink-mute: #6E675D;
	--ink-faint: #928B80;
	--dark: #211E1A;
	--dark-deep: #1B1815;
	--red: #8C2B24;
	--red-dark: #6E211C;
	--gold: #A9843E;
	--gold-light: #C6A15A;
	--gold-pale: #E9C77E;
	--line: rgba(33, 30, 26, .12);
	--line-light: rgba(230, 223, 211, .12);
	--serif: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
	--sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
	--pad-x: clamp(24px, 6vw, 120px);
	--section-y: clamp(80px, 12vh, 150px);
	--radius: 3px;
	--header-h: 168px;
}

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

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

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-decoration: none; transition: color .25s ease; }
a:hover, a:focus { color: var(--red-dark); }

h1, h2, h3, .h3 {
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.08;
	margin: 0 0 .5em;
	color: var(--ink);
	text-wrap: pretty;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3, .h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--red); color: var(--cream); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--red); color: var(--cream);
	padding: 12px 20px; font-size: .85rem;
}
.skip-link:focus { left: 0; color: var(--cream); }

.container { max-width: 1240px; margin: 0 auto; }
.container.narrow { max-width: 900px; }
.center { text-align: center; }
.mb-m { margin-bottom: 1.4rem; }
.mb-l { margin-bottom: clamp(30px, 4vw, 48px); }
.mt-m { margin-top: 1.4rem; }
.mt-l { margin-top: clamp(40px, 6vw, 72px); }
.pb-0 { padding-bottom: 0; }

.eyebrow {
	font-size: .8rem;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 500;
	margin-bottom: 1.2em;
}
.eyebrow-gold { color: var(--gold-pale); }
.eyebrow-light { color: #F1E3C6; text-shadow: 0 1px 8px rgba(20, 17, 14, .6); }

.lead { font-size: clamp(1rem, 1.15vw, 1.14rem); line-height: 1.85; color: var(--ink-soft); }
.note { font-size: .85rem; color: var(--ink-faint); }

.prose { color: var(--ink-soft); font-size: clamp(1rem, 1.15vw, 1.12rem); line-height: 1.85; }
.prose sup { font-size: .7em; }
.prose-light { color: rgba(244, 239, 230, .76); }

/* 3. En-tête ------------------------------------------------------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	display: flex; flex-direction: column;
	background: rgba(251, 248, 241, .96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(33, 30, 26, .1);
	box-shadow: 0 10px 34px rgba(33, 30, 26, .07);
	transition: background .35s ease, box-shadow .35s ease;
}
.site-header.is-transparent:not(.is-stuck) {
	background: transparent;
	border-bottom-color: transparent;
	box-shadow: none;
}

.header-strip {
	display: flex; align-items: center; justify-content: space-between;
	gap: 18px; flex-wrap: wrap;
	padding: 8px var(--pad-x);
	background: var(--dark);
	transition: background .35s ease;
}
.site-header.is-transparent:not(.is-stuck) .header-strip { background: rgba(27, 24, 21, .62); }

.header-domain { font-family: var(--serif); font-size: 1rem; letter-spacing: .06em; color: #F1E7D3; }
.header-strip-right { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); flex-wrap: wrap; }
.header-official {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-pale);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

.lang-switch { display: flex; align-items: center; gap: 12px; }
.lang {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: .72rem; letter-spacing: .1em; color: #E6DFD3; opacity: .55;
	transition: opacity .25s ease, color .25s ease;
}
.lang:hover { opacity: .85; color: #E6DFD3; }
.lang.is-active { opacity: 1; color: var(--gold-pale); font-weight: 600; }
.flag { width: 22px; height: 15px; display: block; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); flex: none; }
.flag-fr { background: linear-gradient(90deg, #0055A4 0 33.34%, #FFF 33.34% 66.67%, #EF4135 66.67% 100%); }
.flag-en svg { width: 22px; height: 15px; }

.header-main {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; flex-wrap: wrap;
	padding: 12px var(--pad-x);
	transition: padding .35s ease;
}
.site-header.is-transparent:not(.is-stuck) .header-main { padding-top: 18px; padding-bottom: 18px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand-blason { height: 42px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18)); }
.brand-name {
	font-family: var(--serif); font-weight: 600;
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	letter-spacing: .16em; text-transform: uppercase;
	color: var(--ink); white-space: nowrap;
	transition: color .35s ease;
}
.site-header.is-transparent:not(.is-stuck) .brand-name { color: #F8F4EC; text-shadow: 0 1px 8px rgba(20, 17, 14, .5); }
.brand-coeur { display: inline-flex; align-items: center; padding-left: 14px; border-left: 1px solid rgba(140, 43, 36, .28); }
.brand-coeur img { height: 38px; width: auto; }

.primary-nav .nav-list {
	display: flex; align-items: center; gap: clamp(14px, 2.1vw, 30px);
	list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.primary-nav a {
	font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
	color: #3A342D; white-space: nowrap; transition: color .3s ease;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_parent > a { color: var(--red); font-weight: 500; }
.site-header.is-transparent:not(.is-stuck) .primary-nav a { color: #F2ECE1; text-shadow: 0 1px 6px rgba(20, 17, 14, .5); }
.site-header.is-transparent:not(.is-stuck) .primary-nav a:hover,
.site-header.is-transparent:not(.is-stuck) .primary-nav .current-menu-item > a { color: var(--gold-pale); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
	display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; position: relative; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 5.5px; }
.site-header.is-transparent:not(.is-stuck) .nav-toggle-bar,
.site-header.is-transparent:not(.is-stuck) .nav-toggle-bar::before,
.site-header.is-transparent:not(.is-stuck) .nav-toggle-bar::after { background: #F8F4EC; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-5.5px) rotate(-45deg); }

/* 4. Composants ---------------------------------------------------- */
.btn {
	display: inline-block; padding: 15px 32px;
	font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
	border-radius: 2px; border: 1px solid transparent; cursor: pointer;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
	font-family: var(--sans);
}
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { background: var(--red-dark); color: var(--cream); }
.btn-ghost { border-color: rgba(248, 244, 236, .55); background: rgba(27, 24, 21, .3); color: #F8F4EC; }
.btn-ghost:hover { background: rgba(27, 24, 21, .55); color: #FFF; }
.btn-outline { border-color: rgba(33, 30, 26, .28); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--red); font-weight: 600; }
.btn-light:hover { background: #FFF; color: var(--red-dark); }
.header-cta { padding: 12px 24px; font-size: .74rem; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-row-center { justify-content: center; }
.center-cta { text-align: center; margin-top: clamp(42px, 5vw, 60px); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 11px;
	font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
}
.link-arrow span { font-family: var(--serif); transition: transform .25s ease; }
.link-arrow:hover span { transform: translateX(4px); }

.link-back {
	display: inline-flex; align-items: center; gap: 9px;
	color: var(--ink-mute); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
	margin-bottom: 34px;
}
.link-back span { font-family: var(--serif); }
.link-phone { color: var(--red); font-size: .95rem; letter-spacing: .04em; }

.pill {
	display: inline-flex; align-items: center; gap: 10px;
	border: 1px solid rgba(140, 43, 36, .28); color: var(--red);
	padding: 9px 20px; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
	margin-bottom: 26px;
}
.pill-gold { border-color: rgba(233, 199, 126, .45); color: var(--gold-pale); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.tag-list li {
	border: 1px solid var(--line); padding: 6px 12px;
	font-size: .7rem; letter-spacing: .04em; color: var(--ink-mute);
}
.tag-list-lg li { padding: 9px 16px; font-size: .78rem; }

.ratio { position: relative; overflow: hidden; border-radius: var(--radius); }
.ratio > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-5-4 { aspect-ratio: 5 / 4; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-4 { aspect-ratio: 3 / 4; }

/* 5. Sections ------------------------------------------------------ */
.section { padding: var(--section-y) var(--pad-x); }
.section-cream { background: var(--cream); }
.section-sand { background: var(--sand); border-top: 1px solid rgba(33, 30, 26, .09); }
.section-dark { background: var(--dark); color: #F4EFE6; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #F4EFE6; }
.section-red { background: var(--red); color: #F6EEE3; }
.section-red h2 { color: #F6EEE3; }
.page-top { padding-top: calc(var(--header-h) + 40px); }

.section-head { max-width: 700px; margin: 0 auto clamp(44px, 6vw, 68px); text-align: center; }

.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(40px, 6vw, 90px);
}
.split-center { align-items: center; }
.split-start { align-items: start; }
.split-reverse .split-media { order: 2; }
.split-reverse .split-body { order: 1; }
.split-body > .lead { max-width: 540px; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(28px, 4vw, 48px); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(22px, 2.6vw, 34px); }
.gap-s { gap: 16px; }

.framed { border: 1px solid rgba(33, 30, 26, .14); padding: clamp(20px, 3vw, 40px); background: var(--sand); }
.split-media { position: relative; }
.badge-est {
	position: absolute; bottom: -16px; right: -16px;
	background: var(--red); color: #F4EFE6;
	padding: 14px 20px; font-family: var(--serif); font-size: 1.3rem; letter-spacing: .04em;
}
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo figure:last-child { margin-top: 34px; }
figure { margin: 0; }

/* Bandeau d'accueil */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(24, 21, 18, .5) 0%, rgba(24, 21, 18, .16) 32%, rgba(24, 21, 18, .78) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 0 var(--pad-x) clamp(72px, 11vh, 120px); max-width: 920px; color: #F8F4EC; }
.hero-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	background: rgba(27, 24, 21, .66); border: 1px solid rgba(248, 244, 236, .28);
	padding: 9px 18px; border-radius: 2px;
	font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
	color: #F8F4EC; margin-bottom: 26px;
}
.hero-eyebrow .dot { background: var(--gold-pale); }
.hero-title {
	font-size: clamp(3.2rem, 8.5vw, 7rem); font-weight: 600; line-height: .9;
	color: #F8F4EC; letter-spacing: -.01em; margin-bottom: 26px;
	text-shadow: 0 2px 24px rgba(20, 17, 14, .4);
}
.hero-sub {
	font-size: clamp(1.05rem, 1.45vw, 1.36rem); line-height: 1.62;
	color: #F3EDE2; max-width: 620px; margin-bottom: 34px;
	text-shadow: 0 1px 12px rgba(20, 17, 14, .5);
}
.hero-tag {
	position: absolute; bottom: 34px; right: var(--pad-x); z-index: 2;
	display: flex; align-items: center; gap: 12px; margin: 0;
	color: #EDE4D4; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
	text-shadow: 0 1px 8px rgba(20, 17, 14, .6);
}
.hero-cue { display: inline-block; width: 1px; height: 34px; background: linear-gradient(var(--gold-pale), transparent); animation: cueDrop 2.4s ease-in-out infinite; }
@keyframes cueDrop {
	0%, 100% { transform: translateY(0); opacity: .35; }
	50% { transform: translateY(8px); opacity: 1; }
}

/* Bandeau de page intérieure */
.page-banner { position: relative; height: clamp(320px, 48vh, 520px); display: flex; align-items: flex-end; overflow: hidden; }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner-inner { position: relative; z-index: 2; width: 100%; padding: 0 var(--pad-x) clamp(44px, 7vh, 72px); color: #F8F4EC; }
.page-banner h1 { color: #F8F4EC; margin: 0; text-shadow: 0 2px 20px rgba(20, 17, 14, .4); }

/* Atouts */
.atout-media { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 26px; border-radius: var(--radius); }
.atout-media img { width: 100%; height: 100%; object-fit: cover; }
.atout-num { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-light); margin-bottom: .4em; }
.atout p { color: rgba(244, 239, 230, .72); font-size: .98rem; line-height: 1.75; }

/* Mosaïque */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(110px, 15vw, 190px); gap: 14px; }
.mosaic-item { overflow: hidden; border-radius: var(--radius); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-1 { grid-column: span 4; grid-row: span 2; }
.mosaic-2, .mosaic-3, .mosaic-5, .mosaic-6 { grid-column: span 2; }
.mosaic-4 { grid-column: span 2; grid-row: span 2; }

/* Bandeau réservation */
.band-resa, .band-resa-head { position: relative; overflow: hidden; text-align: center; }
.band-mark {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: min(70%, 900px); opacity: .06; filter: invert(1); pointer-events: none;
}
.band-inner { position: relative; z-index: 2; }
.band-official { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-pale); margin-bottom: 2rem; }
.band-phone { color: #F6EEE3; font-size: 1rem; letter-spacing: .06em; border-bottom: 1px solid rgba(246, 238, 227, .4); padding-bottom: 3px; }
.band-phone:hover { color: #FFF; }
.band-resa-head { padding-top: calc(var(--header-h) + 40px); }
.band-resa-head h1 { color: #F4EFE6; }

/* 6. Chambres ------------------------------------------------------ */
.room-card { background: #FFF; border: 1px solid rgba(33, 30, 26, .09); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s ease, transform .3s ease; }
.room-card:hover { box-shadow: 0 18px 44px rgba(33, 30, 26, .1); transform: translateY(-3px); }
.room-card-link { display: block; color: inherit; }
.room-card-media img { transition: transform .5s ease; }
.room-card:hover .room-card-media img { transform: scale(1.04); }
.room-card-badge {
	position: absolute; top: 14px; left: 14px; z-index: 2;
	background: rgba(251, 248, 241, .94); color: var(--red);
	padding: 6px 13px; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
}
.room-card-body { padding: 24px 24px 28px; }
.room-card-title { font-size: 1.5rem; margin-bottom: .35em; }
.room-card-short { font-size: .92rem; line-height: 1.6; color: var(--ink-mute); margin-bottom: 1em; }
.room-card-price { font-size: .82rem; color: var(--red); letter-spacing: .04em; margin: 0; }

.group-head {
	display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
	border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 16px;
}
.group-head h2 { margin: 0; }
.group-num { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); }
.group-label {
	margin-left: auto; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
	color: var(--red); border: 1px solid rgba(140, 43, 36, .25); padding: 6px 14px;
}
.group-note { max-width: 760px; color: var(--ink-mute); margin-bottom: clamp(28px, 4vw, 40px); }

.room-single { padding-top: calc(var(--header-h) + 40px); }
.room-hero { position: relative; border-radius: var(--radius); overflow: hidden; }
.room-tagline { font-size: .86rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4em; }
.room-beds { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.85; }
.room-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.room-thumbs img { border-radius: 2px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.room-cta { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 30px; }

.price-box { background: var(--sand); border: 1px solid rgba(33, 30, 26, .1); padding: 20px 24px; margin: 30px 0; }
.price-box .eyebrow { margin-bottom: .5em; }
.price-value { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin: 0 0 .3em; }
.price-note { font-size: .86rem; color: var(--ink-mute); margin: 0; }

/* 7. Découvrir ----------------------------------------------------- */
.tab-nav { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tab-btn {
	padding: 12px 26px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
	border: 1px solid rgba(33, 30, 26, .2); background: transparent; color: #3A342D;
	cursor: pointer; font-family: var(--sans);
	transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.tab-btn:hover { border-color: var(--red); color: var(--red); }
.tab-btn.is-active { background: var(--red); color: var(--cream); border-color: var(--red); }
.tab-panel[hidden] { display: none; }

.info-card { background: #FFF; border: 1px solid rgba(33, 30, 26, .09); border-radius: var(--radius); overflow: hidden; }
.info-card-body { padding: 26px 28px 30px; }
.info-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: .6em; }
.info-card-head h3 { margin: 0; font-size: 1.4rem; }
.info-card-dist { font-size: .76rem; letter-spacing: .1em; color: var(--red); white-space: nowrap; }
.info-card p { font-size: .94rem; line-height: 1.75; color: var(--ink-mute); }
.info-card-meta { font-size: .8rem; color: var(--red); }

.map-static { border: 1px solid var(--line); }
.map-pin {
	position: absolute; left: 16px; bottom: 16px; z-index: 2;
	background: var(--red); color: var(--cream);
	padding: 9px 16px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.map-embed iframe { width: 100%; min-height: 420px; border: 0; border-radius: var(--radius); display: block; }

.distance-list { list-style: none; margin: 0; padding: 0; }
.distance-list li {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	border-bottom: 1px solid rgba(33, 30, 26, .1); padding: 14px 0;
	color: #3A342D;
}
.distance-km { font-family: var(--serif); font-size: 1.2rem; color: var(--red); white-space: nowrap; }

.info-box { background: var(--sand); border: 1px solid rgba(33, 30, 26, .1); padding: 26px 28px; margin-top: 20px; }
.info-box p:last-child { font-size: .96rem; line-height: 1.85; color: var(--ink-soft); }

/* 8. Formulaires --------------------------------------------------- */
.booking-card {
	background: #FFF; border: 1px solid var(--line); border-radius: 4px;
	box-shadow: 0 24px 60px rgba(33, 30, 26, .08);
	padding: clamp(28px, 4vw, 44px);
}
.booking-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; align-items: end; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field select, .field textarea {
	border: 1px solid rgba(33, 30, 26, .2); background: #FFF;
	padding: 13px 15px; font-size: .95rem; font-family: var(--sans); color: var(--ink);
	border-radius: 2px; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; margin-bottom: 44px; }
.contact-grid address { font-style: normal; line-height: 1.7; color: #3A342D; }
.contact-lines a { display: block; color: #3A342D; }
.contact-form-wrap { border-top: 1px solid var(--line); padding-top: 30px; }
.contact-form { display: grid; gap: 14px; max-width: 560px; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }

.conditions {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
	border-top: 1px solid var(--line); padding-top: 28px; margin-top: clamp(44px, 6vw, 64px);
}
.conditions p:last-child { font-size: .94rem; line-height: 1.7; color: var(--ink-soft); }

.alert { padding: 14px 18px; border-radius: 2px; font-size: .92rem; margin-bottom: 20px; }
.alert-ok { background: rgba(63, 122, 74, .1); color: #2F5E39; border: 1px solid rgba(63, 122, 74, .3); }
.alert-error { background: rgba(140, 43, 36, .08); color: var(--red); border: 1px solid rgba(140, 43, 36, .25); }

.post-list { display: grid; gap: 32px; }
.post-item { border-bottom: 1px solid var(--line); padding-bottom: 24px; }

/* 9. Pied de page -------------------------------------------------- */
.site-footer { background: var(--dark-deep); color: #E6DFD3; padding: clamp(70px, 10vh, 120px) var(--pad-x) 38px; }
.footer-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: clamp(36px, 5vw, 64px);
	padding-bottom: clamp(44px, 6vw, 64px);
	border-bottom: 1px solid var(--line-light);
}
.footer-logo { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.footer-logo img { height: 50px; width: auto; }
.footer-name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; }
.footer-domain { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .06em; color: var(--gold-pale); margin-bottom: .6em; }
.footer-tag { font-size: .9rem; line-height: 1.7; color: rgba(230, 223, 211, .58); max-width: 260px; }
.footer-official { font-size: .82rem; color: var(--gold-pale); margin-bottom: 1.4em; }
.footer-title { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; font-weight: 400; }
.footer-address { font-style: normal; line-height: 1.85; color: rgba(230, 223, 211, .75); margin-bottom: .8em; }
.footer-col a { display: block; color: rgba(230, 223, 211, .75); font-size: .92rem; line-height: 1.85; }
.footer-col a:hover { color: #FFF; }
.footer-col .btn { display: inline-block; color: var(--cream); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }

.footer-labels { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line-light); }
.footer-labels img { height: 42px; width: auto; opacity: .75; filter: grayscale(1); transition: opacity .25s ease, filter .25s ease; }
.footer-labels img:hover { opacity: 1; filter: none; }

.footer-legal {
	padding-top: 26px; display: flex; justify-content: space-between; align-items: center;
	gap: 16px; flex-wrap: wrap; font-size: .76rem; letter-spacing: .06em; color: rgba(230, 223, 211, .42);
}
.footer-legal-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.legal-nav { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.footer-legal-links a { color: rgba(230, 223, 211, .42); }
.footer-legal-links a:hover { color: #FFF; }

/* 10. Responsive --------------------------------------------------- */
@media (max-width: 1024px) {
	:root { --header-h: 190px; }
	.mosaic { grid-template-columns: repeat(4, 1fr); }
	.mosaic-1 { grid-column: span 4; }
	.mosaic-4 { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 860px) {
	:root { --header-h: 128px; }

	.nav-toggle { display: block; order: 3; }
	.header-main { flex-wrap: nowrap; }
	.header-cta { display: none; }

	.primary-nav {
		order: 4; flex-basis: 100%;
		max-height: 0; overflow: hidden;
		transition: max-height .35s ease;
	}
	.primary-nav.is-open { max-height: 60vh; overflow-y: auto; }
	.primary-nav .nav-list { flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 0 18px; }
	.primary-nav .nav-list li { width: 100%; border-bottom: 1px solid var(--line); }
	.primary-nav .nav-list a { display: block; padding: 14px 2px; font-size: .86rem; }
	.site-header:not(.is-transparent) .primary-nav .nav-list li { border-color: var(--line); }

	/* Menu ouvert : fond opaque pour rester lisible sur la photo */
	.site-header.is-transparent.nav-open { background: rgba(251, 248, 241, .98); }
	.site-header.is-transparent.nav-open .brand-name,
	.site-header.is-transparent.nav-open .primary-nav a { color: var(--ink); text-shadow: none; }
	.site-header.is-transparent.nav-open .nav-toggle-bar,
	.site-header.is-transparent.nav-open .nav-toggle-bar::before,
	.site-header.is-transparent.nav-open .nav-toggle-bar::after { background: var(--ink); }

	.header-strip { font-size: .9em; }
	.header-official { display: none; }

	.hero { min-height: 88vh; }
	.split-reverse .split-media, .split-reverse .split-body { order: initial; }
	.badge-est { right: 0; bottom: -12px; }
	.duo figure:last-child { margin-top: 0; }
	.mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 30vw; }
	.mosaic-item { grid-column: span 1 !important; grid-row: span 1 !important; }
	.mosaic-1 { grid-column: span 2 !important; }
	.group-label { margin-left: 0; }
	.footer-legal { justify-content: flex-start; }
}

@media (max-width: 520px) {
	.hero-title { font-size: clamp(2.6rem, 13vw, 3.6rem); }
	.brand-blason { height: 34px; }
	.brand-coeur { display: none; }
	.header-domain { font-size: .9rem; }
	.btn { width: 100%; text-align: center; }
	.btn-row { flex-direction: column; align-items: stretch; }
	.band-phone, .link-phone { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
	.site-header, .site-footer, .btn, .hero-cue { display: none !important; }
	body { background: #FFF; color: #000; }
}
