/* =========================================================================
   Les Délices de Loire - feuille de style unique
   Mobile d'abord. Aucune dépendance. Couleur de marque reprise du logo.
   ========================================================================= */

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2");
}

:root {
	--brand: #B3007A;          /* magenta du logo */
	--brand-dark: #7E0057;
	--brand-soft: #F8E6F1;
	--ink: #24161F;
	--text: #3A2E35;
	--muted: #6E5F67;
	--cream: #FBF7F2;
	--sand: #F3ECE3;
	--line: #E7DDD3;
	--sage: #4E6B5C;           /* vert Loire, accent secondaire */
	--white: #fff;

	--serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius: 14px;
	--radius-s: 8px;
	--shadow: 0 1px 2px rgba(36, 22, 31, .06), 0 8px 24px rgba(36, 22, 31, .06);
	--wrap: 1180px;
	--narrow: 760px;
	--gutter: clamp(16px, 4vw, 32px);
	--space: clamp(48px, 7vw, 88px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
	margin: 0;
	background: var(--cream);
	color: var(--text);
	font: 400 1.0625rem/1.65 var(--sans);
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p, ul, ol, table, details, blockquote, figure { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .3em; }
strong { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.small { font-size: .9rem; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .7em 1em; }
.skip-link:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .7em 1.35em; border-radius: 999px;
	font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
	border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- En-tête ---------- */
.topbar { background: var(--ink); color: #EADFE6; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar__contact span { margin-inline: .4em; opacity: .6; }
@media (max-width: 640px) { .topbar__inner > p:first-child { display: none; } .topbar__inner { justify-content: center; } }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand__logo { width: auto; height: 56px; object-fit: contain; }
@media (min-width: 1024px) { .brand__logo { height: 64px; } }

.nav-toggle {
	display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .4rem .9rem;
	background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: 600 .95rem var(--sans); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; transition: transform .2s; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav { display: none; }
.nav.is-open {
	display: block; position: absolute; left: 0; right: 0; top: 100%;
	background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
	padding: .5rem var(--gutter) 1.25rem; max-height: calc(100vh - 110px); overflow: auto;
}
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__list a { display: block; padding: .8rem 0; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav__list a:hover, .nav__list [aria-current="page"], .nav__list .current-menu-item > a { color: var(--brand); }
.nav__list .sub-menu { list-style: none; padding-left: 1rem; margin: 0; }
.nav__cta { margin-top: 1rem; width: 100%; }

@media (min-width: 1024px) {
	.nav-toggle { display: none; }
	.nav, .nav.is-open { display: flex; align-items: center; gap: 1.6rem; position: static; padding: 0; box-shadow: none; border: 0; max-height: none; overflow: visible; }
	.nav__list { display: flex; gap: 1.5rem; }
	.nav__list > li { position: relative; }
	.nav__list a { padding: .5rem 0; border: 0; font-size: .98rem; }
	.nav__list .sub-menu { display: none; position: absolute; top: 100%; left: -1rem; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: .5rem 1rem; }
	.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { display: block; }
	.nav__cta { width: auto; margin: 0; min-height: 44px; }
}

/* ---------- Héros ---------- */
.hero { padding-block: clamp(32px, 5vw, 64px) var(--space); }
.hero__grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { margin-bottom: .35em; }
.hero__media { margin: 0; }
.hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.kicker { font: 700 .8rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: .9rem; }
.kicker a { text-decoration: none; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 40em; }
.proof { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .95rem; color: var(--muted); }
.proof li { margin: 0; padding-left: 1.2rem; position: relative; }
.proof li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ---------- En-têtes de pages ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding-block: clamp(28px, 5vw, 56px); margin-bottom: clamp(32px, 5vw, 56px); }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { margin-bottom: 0; }
.page-head--media .page-head__grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .page-head--media .page-head__grid { grid-template-columns: 1.2fr 1fr; } }
.page-head__media { margin: 0; }
.page-head--post { text-align: left; }
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs p { margin: 0; }
.breadcrumbs a { color: var(--muted); }
.post-meta { color: var(--muted); font-size: .92rem; margin: 0; }
.post-cover { margin-bottom: 2rem; }
.post-cover img { border-radius: var(--radius); width: 100%; }

/* ---------- Contenu éditorial ---------- */
.entry { padding-bottom: var(--space); }
.entry--page > :where(p, ul, ol, h2, h3, h4, blockquote, details, table, .wp-block-heading, .wp-block-list, .note, .faq),
.entry--page > .wp-block-group > :where(p, ul, ol, h2, h3) { max-width: var(--narrow); }
.entry > h2, .entry .wp-block-heading:is(h2) { margin-top: 2em; }
.entry > h3 { margin-top: 1.6em; }
.entry--post { font-size: 1.08rem; }
.entry--post > * { max-width: var(--narrow); }
.entry blockquote { border-left: 3px solid var(--brand); padding: .2em 0 .2em 1.2em; font-style: italic; color: var(--ink); }
.entry table { border-collapse: collapse; width: 100%; font-size: .97rem; background: #fff; }
.entry th, .entry td { border: 1px solid var(--line); padding: .6em .8em; text-align: left; vertical-align: top; }
.entry thead th { background: var(--sand); font-weight: 700; }
.entry figure img { border-radius: var(--radius-s); }
.entry figcaption { font-size: .88rem; color: var(--muted); margin-top: .5em; }
.alignwide { max-width: 1100px; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }

/* Bloc d'encadré */
.note { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sage); border-radius: var(--radius-s); padding: 1.1em 1.3em; }
.note > :last-child { margin-bottom: 0; }
.note--brand { border-left-color: var(--brand); }

/* Sections pleine largeur */
.band { margin-inline: calc(50% - 50vw); padding: var(--space) calc(50vw - 50% + var(--gutter)); background: var(--sand); margin-block: var(--space); }
.band--white { background: #fff; }
.band > * { max-width: var(--wrap); margin-inline: auto; }
.band > :last-child { margin-bottom: 0; }
.section-title { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 2rem; }
.section-title p { color: var(--muted); }

/* Grille d'arguments */
.features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); list-style: none; padding: 0; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin: 0; }
.feature h3 { margin-bottom: .4em; }
.feature p { margin: 0; color: var(--muted); }
.feature a.feature__more { display: inline-block; margin-top: .9rem; font-weight: 600; }

/* Cartes de parcours (accueil) */
.paths { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.path { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.path:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.path img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.path__body { padding: 1.25rem 1.4rem 1.5rem; }
.path__title { font: 600 1.6rem/1.15 var(--serif); color: var(--ink); display: block; margin-bottom: .35rem; }
.path__text { color: var(--muted); display: block; }
.path__go { display: inline-block; margin-top: .8rem; font-weight: 700; color: var(--brand); }

/* Étapes */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; border: 1px solid var(--line); margin: 0; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font: 700 1.05rem var(--sans); margin-bottom: .8rem; }
.steps strong { display: block; font: 600 1.3rem/1.2 var(--serif); margin-bottom: .3rem; }

/* Deux colonnes texte / image */
.split { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split > * > :last-child { margin-bottom: 0; }

/* Avis */
.reviews { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 1.4rem; margin: 0; font-style: normal; }
.review p { margin-bottom: .8rem; }
.review cite { font-style: normal; font-weight: 700; color: var(--ink); font-size: .95rem; }
.review cite span { font-weight: 400; color: var(--muted); }
.stars { color: #C98A00; letter-spacing: .1em; font-size: 1rem; margin-bottom: .5rem; }

/* FAQ */
.faq details, details.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: .6rem; }
.faq summary, .faq-item summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; color: var(--ink); list-style: none; position: relative; padding-right: 3rem; }
.faq summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq-item summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); }
.faq details[open] summary::after, .faq-item[open] summary::after { content: "−"; }
.faq details > :not(summary), .faq-item > :not(summary) { padding: 0 1.2rem; }
.faq details > :last-child, .faq-item > :last-child { padding-bottom: 1rem; margin-bottom: 0; }

/* Liens larges */
.links-big { list-style: none; padding: 0; display: grid; gap: .6rem; }
.links-big a { display: block; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); font-weight: 700; text-decoration: none; }

/* Liste à puces cochées */
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 1.8em; position: relative; }
.checks li::before { content: ""; position: absolute; left: .1em; top: .35em; width: 1em; height: .55em; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }

/* Grilles : pleine largeur même placées directement dans le contenu */
.entry--page > :is(.steps, .features, .paths, .reviews, .links-big, .offers, .posts-grid) { max-width: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Texte justifié (césure française) */
.entry p, .entry li, .lead, .feature p, .offer__resume, .path__text, .post-card__excerpt,
.steps li, .review p, .cat-section__intro, .note p, .cta p, .faq details p {
	text-align: justify;
	hyphens: auto;
	-webkit-hyphens: auto;
}
.section-title p, .entry .cta__actions, .hero__actions, .entry .btn { text-align: center; hyphens: manual; }

/* Photos dans les articles */
.entry--post .wp-block-image { margin-block: 1.6em; }
.entry--post .wp-block-image img { width: 100%; height: auto; border-radius: var(--radius); }

/* Plan Google Maps */
.map { position: relative; width: 100%; height: clamp(260px, 56vw, 420px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #EDE6DC, #F7F2EC); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-section { padding-bottom: var(--space); }
.map-section__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .map-section__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }

/* Formulaire : autocomplétion d'adresse */
.addr-wrap { position: relative; }
.addr-list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 2px 0 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: var(--shadow); max-height: 260px; overflow: auto; }
.addr-list li { margin: 0; padding: .6rem .8rem; cursor: pointer; text-align: left; }
.addr-list li[aria-selected="true"], .addr-list li:hover { background: var(--brand-soft); }

/* Liste de contrôle (articles) */
.todo { list-style: none; padding: 0; }
.todo li { padding-left: 2em; position: relative; }
.todo li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.1em; height: 1.1em; border: 2px solid var(--sage); border-radius: 4px; background: #fff; }

/* ---------- Catalogue ---------- */
.cat-filter { position: sticky; top: 77px; z-index: 20; background: var(--cream); padding-block: .8rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.cat-filter__label { font-weight: 700; color: var(--ink); margin: 0 0 .5rem; font-size: .95rem; }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: thin; }
.chip {
	flex-shrink: 0; min-height: 42px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line);
	background: #fff; color: var(--ink); font: 600 .93rem var(--sans); cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.cat-toc ul { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .95rem; }
.cat-toc li { margin: 0; }
.cat-section { margin-bottom: clamp(40px, 6vw, 72px); scroll-margin-top: 180px; }
.cat-section h2 { margin-top: 0; }
.cat-section__intro { color: var(--muted); max-width: var(--narrow); }
[hidden] { display: none !important; }

.offers { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-bottom: 1.5rem; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.4rem 1.2rem; display: flex; flex-direction: column; scroll-margin-top: 180px; }
.offer:target { outline: 2px solid var(--brand); }
.offer__head { margin-bottom: .6rem; }
.offer__badge { display: inline-block; font: 700 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--sage); background: #E8EFEA; padding: .4em .7em; border-radius: 999px; margin-bottom: .7rem; }
.offer__title { font-size: 1.5rem; margin: 0 0 .25rem; }
.offer__price { margin: 0; color: var(--muted); font-size: .95rem; }
.offer__price strong { color: var(--brand); font: 700 1.35rem/1.2 var(--sans); }
.offer__resume { margin-bottom: .8rem; }
.offer__meta { list-style: none; padding: 0; margin: 0 0 .9rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.offer__meta li { margin: 0; font-size: .82rem; background: var(--sand); color: var(--ink); border-radius: 999px; padding: .25em .7em; }
.offer__details { margin: auto 0 0; border-top: 1px solid var(--line); padding-top: .7rem; }
.offer__details summary { cursor: pointer; font-weight: 700; color: var(--brand); font-size: .95rem; }
.offer__details h4 { font: 700 .9rem/1.3 var(--sans); color: var(--ink); margin: 1rem 0 .3rem; }
.offer__details ul { font-size: .93rem; margin-bottom: .4rem; padding-left: 1.1em; }

.carte { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: .6rem; }
.carte summary { cursor: pointer; padding: 1rem 1.2rem; font: 600 1.3rem var(--serif); color: var(--ink); }
.carte__table { margin: 0; border: 0; }
.carte__table th, .carte__table td { border: 0; border-top: 1px solid var(--line); font-weight: 400; padding: .6rem 1.2rem; }
.carte__table td { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ink); }
.pdf-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.pdf-list a { display: inline-flex; gap: .4em; font-weight: 700; }
.pdf-list span { font-weight: 400; color: var(--muted); }
.cat-empty { background: #fff; padding: 1rem 1.2rem; border-radius: var(--radius-s); border: 1px solid var(--line); }

/* ---------- Appel à l'action ---------- */
.cta { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: var(--radius); margin-block: clamp(40px, 6vw, 72px); }
.cta__inner { padding: clamp(28px, 5vw, 48px); max-width: 820px; }
.cta__title { font: 600 clamp(1.8rem, 3.2vw, 2.4rem)/1.1 var(--serif); color: #fff; margin-bottom: .4em; }
.cta p { color: #FBEAF4; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.3rem 0 0; }

/* ---------- Articles ---------- */
.posts-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-bottom: 2rem; }
.post-card__link { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .15s, transform .15s; }
.post-card__link:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.post-card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card__img--empty { display: block; background: radial-gradient(circle at 30% 30%, var(--brand-soft), var(--sand)); }
.post-card__body { display: flex; flex-direction: column; gap: .4rem; padding: 1.2rem 1.3rem 1.4rem; }
.post-card__cat { font: 700 .75rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.post-card__title { font: 600 1.45rem/1.15 var(--serif); color: var(--ink); }
.post-card__excerpt { color: var(--muted); font-size: .95rem; }
.related { padding-bottom: var(--space); }
.listing { padding-bottom: var(--space); }
.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; text-decoration: none; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Formulaire (Formidable ou autre) ---------- */
.entry form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.entry form select, .entry form textarea {
	width: 100%; min-height: 46px; padding: .6rem .8rem; border: 1px solid #CDBFB3; border-radius: var(--radius-s); background: #fff; font: inherit; color: var(--ink);
}
.entry form textarea { min-height: 140px; }
.entry form :is(input, select, textarea):focus { border-color: var(--brand); outline: 2px solid var(--brand-soft); }
.entry form label { font-weight: 600; color: var(--ink); }
.entry form [type="submit"], .entry form button[type="submit"] { background: var(--brand); color: #fff; border: 0; border-radius: 999px; min-height: 48px; padding: .7rem 1.6rem; font: 700 1rem var(--sans); cursor: pointer; }
.devis-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.frm_forms, .frm_forms form, .frm_forms fieldset { min-width: 0; max-width: 100%; }
.ti-widget { max-width: 100%; overflow: hidden; }
@media (min-width: 960px) { .devis-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.contact-card__name { font: 600 1.5rem var(--serif); color: var(--ink); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #D9CCD4; font-size: .95rem; padding-top: clamp(40px, 6vw, 64px); }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding-bottom: 2.5rem; }
.site-footer__title { font: 600 1.3rem var(--serif); color: #fff; margin-bottom: .7rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 0 0 .35rem; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer .btn--light { color: var(--brand-dark); }
.site-footer .btn--light:hover { color: var(--brand-dark); }
.brand--footer { background: #fff; border-radius: var(--radius-s); padding: 10px 14px; margin-bottom: 1rem; }
.brand--footer .brand__logo { height: 54px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.legal { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; }
.legal li { margin: 0; }

/* ---------- Barre d'actions mobile ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(36,22,31,.08); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: grid; place-items: center; min-height: 56px; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--ink); }
.mobile-bar a + a { border-left: 1px solid var(--line); }
.mobile-bar .is-primary { background: var(--brand); color: #fff; }
body { padding-bottom: 56px; }
@media (min-width: 1024px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- Recherche ---------- */
.search-form { display: flex; gap: .5rem; max-width: 480px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 46px; padding: .6rem .8rem; border: 1px solid #CDBFB3; border-radius: var(--radius-s); font: inherit; }
.search-submit { min-height: 46px; padding: 0 1.2rem; border: 0; border-radius: var(--radius-s); background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Impression (catalogue) ---------- */
@media print {
	.site-header, .topbar, .site-footer, .mobile-bar, .cat-filter, .cat-toc, .cta, .nav-toggle { display: none !important; }
	body { background: #fff; padding: 0; }
	details > :not(summary) { display: block !important; }
	.offer { break-inside: avoid; }
}
