/* ==========================================================================
   Le Clos Divin Blog — styles principaux
   Identité reprise de leclosdivin.com
   ========================================================================== */

:root {
	/* Couleurs relevées sur le site principal */
	--cd-wine: #75240d;        /* titres, boutons */
	--cd-wine-dark: #5a1a08;
	--cd-taupe: #9e9584;       /* en-tête au défilement, pied de page */
	--cd-sand: #cbc5b9;        /* sections sable */
	--cd-beige: #c6b196;       /* accents dorés */
	--cd-linen: #f4f1ec;       /* fond clair */
	--cd-ink: #1a1a1a;         /* texte */
	--cd-muted: #6b645a;
	--cd-line: #e2ddd4;
	--cd-white: #fff;

	--cd-font-display: "Antic Didone", "Didot", Georgia, serif;
	--cd-font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--cd-font-ui: "Josefin Sans", "Futura", system-ui, sans-serif;
	--cd-max: 1200px;
	--cd-gutter: 16px;
	--cd-header-h: 76px;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cd-white); color: var(--cd-ink); font-family: var(--cd-font); font-weight: 300; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cd-wine); text-underline-offset: 3px; }
a:hover { color: var(--cd-wine-dark); }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--cd-wine); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--cd-font); font-weight: 500; color: var(--cd-wine); line-height: 1.3; margin: 0 0 .6em; }
h1 { font-family: var(--cd-font-display); font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.1; }
h2 { font-size: clamp(24px, 2.4vw, 29px); }
h3 { font-size: clamp(20px, 2vw, 23px); }
h4 { font-size: 19px; }
p { margin: 0 0 1em; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; left: 12px; top: 12px; z-index: 1000; padding: 12px 18px; background: #fff; color: var(--cd-wine); }

.container { width: 100%; max-width: var(--cd-max); margin: 0 auto; padding: 0 var(--cd-gutter); }
.container--narrow { max-width: 860px; }

/* --- Sur-titre ---------------------------------------------------------------- */
.sub-title { display: inline-flex; align-items: center; gap: 14px; font-family: var(--cd-font-ui); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cd-wine); margin-bottom: 12px; }
.sub-title::before, .sub-title::after { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }
.sub-title--light { color: var(--cd-white); }

/* --- Boutons ------------------------------------------------------------------- */
.btn, .wp-block-button__link, input[type="submit"], .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 42px; padding: 11px 18px 9px; border: 2px solid var(--cd-wine); border-radius: 0;
	background: var(--cd-wine); color: var(--cd-white);
	font-family: var(--cd-font-ui); font-size: 16px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .25s ease, color .25s ease;
}
.btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover { background: transparent; color: var(--cd-wine); }
.btn--sm { min-height: 36px; padding: 9px 14px 7px; font-size: 14px; }
.btn--outline { background: transparent; color: var(--cd-wine); }
.btn--outline:hover { background: var(--cd-wine); color: var(--cd-white); }
.btn--white { background: var(--cd-white); border-color: var(--cd-white); color: var(--cd-wine); }
.btn--white:hover { background: transparent; color: var(--cd-white); }

/* --- En-tête (transparent sur la photo, taupe au défilement) ----------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; transition: background-color .35s ease, box-shadow .35s ease; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0)); pointer-events: none; transition: opacity .35s ease; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.is-scrolled .site-header, .nav-open .site-header { background: var(--cd-taupe); box-shadow: 0 4px 18px rgba(0, 0, 0, .12); }
.is-scrolled .site-header::before, .nav-open .site-header::before { opacity: 0; }

.site-header__inner { position: relative; max-width: 1440px; margin: 0 auto; padding: 0 32px; height: var(--cd-header-h); display: flex; align-items: center; gap: 24px; }
.site-header__brand { flex: 1 1 0; min-width: 0; }
.site-brand { font-family: var(--cd-font-display); font-size: 26px; color: var(--cd-white); text-decoration: none; white-space: nowrap; }
.site-brand:hover { color: var(--cd-white); opacity: .85; }
.site-header__brand .custom-logo { max-height: 56px; width: auto; }

.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav a { font-family: var(--cd-font-ui); font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--cd-white); text-decoration: none; }
.site-nav .menu > li > a { display: block; padding: 28px 12px 24px; position: relative; }
.site-nav .menu > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 16px; height: 2px; background: var(--cd-white); transform: scaleX(0); transition: transform .25s ease; }
.site-nav .menu > li:hover > a::after, .site-nav .current-menu-item > a::after, .site-nav .current-menu-ancestor > a::after { transform: scaleX(1); }

.site-nav .sub-menu { list-style: none; margin: 0; padding: 10px 0; position: absolute; left: 50%; top: 100%; min-width: 240px; background: var(--cd-taupe); box-shadow: 0 12px 30px rgba(0, 0, 0, .15); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.site-nav .sub-menu a { display: block; padding: 9px 22px; font-size: 13px; font-weight: 600; }
.site-nav .sub-menu a:hover { background: rgba(255, 255, 255, .12); }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.header-book { flex: 1 1 0; display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-family: var(--cd-font-ui); font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--cd-white); text-decoration: none; }
.header-book svg { width: 20px; height: 20px; }
.header-book span { padding-top: 3px; }
.header-book:hover { color: var(--cd-white); opacity: .85; }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 13px 9px; background: transparent; border: 0; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--cd-white); transition: transform .25s ease, opacity .25s ease; }
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
	.site-header__inner { padding: 0 var(--cd-gutter); }
	.site-brand { font-size: 22px; }
	.nav-toggle { display: flex; }
	.header-book { flex: 0 0 auto; }
	.header-book span { display: none; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cd-taupe); padding: 8px var(--cd-gutter) 24px; max-height: calc(100vh - var(--cd-header-h)); overflow-y: auto; }
	.nav-open .site-nav { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; }
	.site-nav .menu > li > a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
	.site-nav .menu > li > a::after { display: none; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 4px 0 8px 14px; min-width: 0; }
	.site-nav .sub-menu a { padding: 7px 0; }
}

/* --- Bandeau photo ----------------------------------------------------------------- */
.hero {
	--hero-image: url("../images/banner.webp");
	position: relative; color: var(--cd-white); text-align: center;
	background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .45) 100%), var(--hero-image) center / cover no-repeat, var(--cd-taupe);
	padding: calc(var(--cd-header-h) + 40px) var(--cd-gutter) 64px;
}
.hero__inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.site-logo--hero { display: block; width: 120px; margin-bottom: 22px; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .25)); }
.site-logo--hero img { width: 100%; height: auto; }
.hero__title { color: var(--cd-white); margin: 0; text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.hero__subtitle { max-width: 680px; margin-top: 16px; font-size: 18px; font-weight: 400; color: rgba(255, 255, 255, .95); }
.hero__subtitle p { margin: 0; }
.hero__line { display: none; }
.hero .sub-title { margin-bottom: 14px; }
.hero .badge { margin-bottom: 14px; background: rgba(255, 255, 255, .92); color: var(--cd-wine); }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--cd-font-ui); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--cd-muted); }
.breadcrumbs a { color: var(--cd-ink); text-decoration: none; }
.breadcrumbs a:hover { color: var(--cd-wine); }
.breadcrumbs__current { color: var(--cd-wine); max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs-bar { background: var(--cd-linen); border-bottom: 1px solid var(--cd-line); padding: 14px 0 11px; }
.hero .breadcrumbs { justify-content: center; margin-bottom: 18px; color: rgba(255, 255, 255, .85); }
.hero .breadcrumbs a { color: var(--cd-white); }
.hero .breadcrumbs__current { color: var(--cd-white); }

.hero--post { padding-bottom: 72px; }
.hero--post .hero__title { font-size: clamp(32px, 4vw, 54px); }
.hero--post .post-meta { justify-content: center; margin-top: 18px; color: rgba(255, 255, 255, .92); }

/* --- Liste d'articles ------------------------------------------------------------- */
.site-main { padding-top: 56px; }

.cat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.chip { display: inline-block; padding: 9px 18px 7px; border: 1px solid var(--cd-sand); color: var(--cd-ink); font-family: var(--cd-font-ui); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: all .2s ease; }
.chip:hover { border-color: var(--cd-wine); color: var(--cd-wine); }
.chip.is-active { background: var(--cd-wine); border-color: var(--cd-wine); color: var(--cd-white); }

.badge { display: inline-block; padding: 5px 10px 3px; background: var(--cd-linen); color: var(--cd-wine); font-family: var(--cd-font-ui); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.badge:hover { background: var(--cd-wine); color: var(--cd-white); }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--cd-muted); }
.post-meta svg { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; margin-right: 4px; }
.post-meta__read { display: inline-flex; align-items: center; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; gap: 28px; } }

.card { display: flex; flex-direction: column; background: var(--cd-white); border: 1px solid var(--cd-line); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(117, 36, 13, .12); }
.card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--cd-taupe); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(160deg, var(--cd-taupe), var(--cd-sand)); }
.card__placeholder img { width: auto; height: 70%; object-fit: contain; }
.card:hover .card__placeholder img { transform: none; }
.card__date { position: absolute; left: 18px; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 62px; padding: 8px 10px 6px; background: var(--cd-wine); color: var(--cd-white); text-transform: uppercase; line-height: 1.1; }
.card__day { font-family: var(--cd-font-display); font-size: 26px; }
.card__month { font-family: var(--cd-font-ui); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.card__body .badge { align-self: flex-start; }
.card__title { font-size: 21px; line-height: 1.3; margin: 0; }
.card__title a { color: var(--cd-wine); text-decoration: none; }
.card__title a:hover { color: var(--cd-ink); }
.card__excerpt { margin: 0; font-size: 16px; }
.card__footer { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__read { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--cd-muted); }
.card__read svg { width: 14px; height: 14px; }

.featured-row { margin-bottom: 40px; }
.card--featured { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--cd-linen); border: 0; }
.card--featured .card__media { aspect-ratio: auto; min-height: 420px; }
.card--featured .card__body { justify-content: center; padding: 48px 44px; gap: 16px; }
.card--featured .card__title { font-family: var(--cd-font-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.card--featured .card__date { left: 28px; min-width: 76px; }
.card--featured .card__day { font-size: 32px; }
@media (max-width: 860px) { .card--featured { grid-template-columns: 1fr; } .card--featured .card__media { min-height: 0; aspect-ratio: 3 / 2; } .card--featured .card__body { padding: 26px 24px; } }

.pagination { margin: 52px 0 0; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 3px 10px 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--cd-sand); color: var(--cd-ink); text-decoration: none; font-family: var(--cd-font-ui); font-weight: 600; }
.pagination .page-numbers svg { width: 18px; height: 18px; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--cd-wine); border-color: var(--cd-wine); color: var(--cd-white); }

.empty-state { text-align: center; padding: 40px 0; }
.empty-state .search-form { margin: 24px auto; }
.big-404 { font-family: var(--cd-font-display); font-size: clamp(90px, 16vw, 160px); line-height: 1; margin: 0 0 8px; color: var(--cd-sand); }

/* --- Article ------------------------------------------------------------------------ */
.container--post { max-width: 840px; }
.container--post.has-sidebar { max-width: var(--cd-max); display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 1000px) { .container--post.has-sidebar { grid-template-columns: 1fr; } }

.entry__thumb { margin: 0 0 40px; }
.entry__thumb img { width: 100%; }
.entry__content { font-size: 18px; line-height: 1.8; color: var(--cd-ink); }
.entry__content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry__content h2 { font-size: clamp(24px, 2.4vw, 29px); margin-top: 1.8em; margin-bottom: .6em; }
.entry__content h3 { font-size: clamp(20px, 2vw, 23px); margin-top: 1.5em; margin-bottom: .5em; }
.entry__content h4 { font-size: 19px; margin-top: 1.4em; }
.entry__content a { color: var(--cd-wine); font-weight: 500; }
.entry__content ul, .entry__content ol { padding-left: 1.3em; }
.entry__content li { margin-bottom: .45em; }
.entry__content ul li::marker { color: var(--cd-wine); }
.entry__content ol li::marker { color: var(--cd-wine); font-weight: 600; }
.entry__content figure { margin-left: 0; margin-right: 0; }
.entry__content figcaption, .wp-element-caption { font-size: 14px; color: var(--cd-muted); text-align: center; margin-top: 8px; }
.entry__content blockquote, .wp-block-quote { margin-left: 0; margin-right: 0; padding: 28px 32px; background: var(--cd-linen); border-left: 3px solid var(--cd-wine); font-family: var(--cd-font-display); font-size: 24px; line-height: 1.45; color: var(--cd-wine); }
.entry__content blockquote p:last-child { margin-bottom: 0; }
.entry__content blockquote cite { display: block; margin-top: 12px; font-family: var(--cd-font-ui); font-size: 13px; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--cd-muted); }
.entry__content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry__content th, .entry__content td { padding: 12px 14px; border-bottom: 1px solid var(--cd-line); text-align: left; }
.entry__content th { background: var(--cd-taupe); color: var(--cd-white); font-family: var(--cd-font-ui); font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; }
.entry__content tr:nth-child(even) td { background: var(--cd-linen); }
.entry__content hr { border: 0; height: 1px; width: 100px; margin: 2.5em auto; background: var(--cd-wine); }
.entry__content code { background: var(--cd-linen); padding: 2px 6px; font-size: .9em; }
.entry__content .wp-block-button__link { color: var(--cd-white); }
.entry__content .wp-block-button__link:hover { color: var(--cd-wine); }
.entry__content .alignwide, .entry__content .alignfull { margin-left: 0; margin-right: 0; }
.entry__content .aligncenter { margin-left: auto; margin-right: auto; }
.entry__content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry__content .alignright { float: right; margin: .3em 0 1em 1.5em; }

.has-wine-color { color: #75240d !important; } .has-wine-background-color { background-color: #75240d !important; }
.has-taupe-color { color: #9e9584 !important; } .has-taupe-background-color { background-color: #9e9584 !important; }
.has-sand-color { color: #cbc5b9 !important; } .has-sand-background-color { background-color: #cbc5b9 !important; }
.has-linen-color { color: #f4f1ec !important; } .has-linen-background-color { background-color: #f4f1ec !important; }
.has-beige-color { color: #c6b196 !important; } .has-beige-background-color { background-color: #c6b196 !important; }
.has-ink-color { color: #1a1a1a !important; } .has-ink-background-color { background-color: #1a1a1a !important; }
.has-white-color { color: #fff !important; } .has-white-background-color { background-color: #fff !important; }

.entry__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }

.author-box { display: flex; gap: 18px; align-items: center; margin: 40px 0; padding: 26px; background: var(--cd-linen); }
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box p { margin: 0; }
.author-box__label { font-family: var(--cd-font-ui); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--cd-muted); font-weight: 600; }
.author-box__name { font-family: var(--cd-font-display); font-size: 24px; color: var(--cd-wine); }
.author-box__bio { margin-top: 6px !important; font-size: 15px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0; }
.post-nav > div:last-child { text-align: right; }
.post-nav a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--cd-line); text-decoration: none; color: var(--cd-wine); font-weight: 500; line-height: 1.35; transition: border-color .2s ease, background .2s ease; }
.post-nav a:hover { border-color: var(--cd-wine); background: var(--cd-linen); }
.post-nav a span { display: block; font-family: var(--cd-font-ui); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cd-muted); margin-bottom: 6px; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav > div:last-child { text-align: left; } }

.related { margin-top: 32px; padding: 72px 0; background: var(--cd-sand); }
.related .card { border-color: transparent; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; margin-bottom: 36px; }
.section-head .btn { order: 3; margin-top: 14px; }
.section-title { margin: 0; }
.related .section-head > div { display: flex; flex-direction: column; align-items: center; }

/* Barre latérale */
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--cd-header-h) + 24px); }
.sidebar .widget { padding: 26px; background: var(--cd-linen); }
.widget-title, .sidebar h2, .sidebar .wp-block-heading { font-size: 20px; margin-bottom: 14px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 9px 0; border-bottom: 1px solid var(--cd-line); line-height: 1.45; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--cd-ink); text-decoration: none; }
.sidebar a:hover { color: var(--cd-wine); }
.sidebar .wp-block-search__label { display: block; font-size: 20px; font-weight: 500; color: var(--cd-wine); margin-bottom: 12px; }
.sidebar .wp-block-search__inside-wrapper { display: flex; border: 1px solid var(--cd-sand); background: var(--cd-white); }
.sidebar .wp-block-search__input { flex: 1; min-width: 0; border: 0; padding: 10px 14px; font: inherit; background: transparent; }
.sidebar .wp-block-search__button { border: 0; margin: 0; padding: 0 16px; background: var(--cd-wine); color: var(--cd-white); font-family: var(--cd-font-ui); text-transform: uppercase; cursor: pointer; }

/* Recherche */
.search-form { display: flex; max-width: 480px; border: 1px solid var(--cd-sand); background: var(--cd-white); }
.search-form__input { flex: 1; min-width: 0; border: 0; padding: 13px 18px; font: inherit; background: transparent; }
.search-form__input:focus { outline: none; }
.search-form:focus-within { border-color: var(--cd-wine); }
.search-form__btn { border: 0; background: var(--cd-wine); color: var(--cd-white); width: 54px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search-form__btn svg { width: 20px; height: 20px; }

/* Commentaires */
.comments { margin-top: 48px; }
.comments__title, .comment-reply-title { font-size: 24px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--cd-line); }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; margin: 4px 0 10px; }
.comment-metadata a { color: var(--cd-muted); text-decoration: none; }
.comment-form label { display: block; font-weight: 500; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--cd-sand); font: inherit; background: var(--cd-white); }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--cd-wine); }
.comment-form-cookies-consent label { display: inline; font-weight: 300; }

/* --- Encart réservation ------------------------------------------------------------------ */
.cta { padding: 88px var(--cd-gutter); background: var(--cd-sand); margin-top: 88px; }
.related + .cta { margin-top: 0; padding-top: 0; }
.cta__box { max-width: 820px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(24px, 2.6vw, 29px); margin-bottom: 14px; }
.cta__text { margin: 0 0 28px; max-width: 640px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.related + .cta .cta__box { padding-top: 64px; border-top: 1px solid rgba(117, 36, 13, .25); }

/* --- Pied de page ------------------------------------------------------------------------- */
.site-footer { background: var(--cd-taupe); color: var(--cd-white); font-size: 15px; font-weight: 400; }
.site-footer a { color: var(--cd-white); text-decoration: none; }
.site-footer a:hover { color: var(--cd-white); text-decoration: underline; }
.site-footer__inner { max-width: var(--cd-max); margin: 0 auto; padding: 64px var(--cd-gutter) 48px; display: grid; grid-template-columns: 1fr 1.4fr 1fr; }
.site-footer__col { padding: 0 32px; }
.site-footer__center { border-left: 1px solid rgba(255, 255, 255, .45); border-right: 1px solid rgba(255, 255, 255, .45); display: flex; flex-direction: column; align-items: center; text-align: center; }
.site-footer__menu { text-align: right; }
.site-footer__title { font-family: var(--cd-font-ui); font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cd-white); margin-bottom: 18px; }
.site-logo--footer { width: 84px; margin-bottom: 18px; }
.site-logo--footer img { width: 100%; height: auto; }
.site-footer__slogan { font-family: var(--cd-font-display); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; text-transform: uppercase; margin: 0; max-width: 380px; }
.contact-list, .footer-menu { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; line-height: 1.5; }
.contact-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { font-family: var(--cd-font-ui); font-size: 14px; font-weight: 600; letter-spacing: .03em; }
.social { list-style: none; display: flex; justify-content: center; gap: 12px; margin: 22px 0 0; padding: 0; }
.social a { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .6); transition: background .2s ease, color .2s ease; }
.social a:hover { background: var(--cd-white); color: var(--cd-taupe); }
.social svg { width: 18px; height: 18px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .3); padding: 16px var(--cd-gutter); text-align: center; font-family: var(--cd-font-ui); font-size: 13px; letter-spacing: .04em; }
.copyright p { margin: 0; }
@media (max-width: 860px) {
	.site-footer__inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
	.site-footer__col { padding: 0; }
	.site-footer__center { border: 0; order: -1; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .45); }
	.site-footer__menu { text-align: center; }
	.contact-list li { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
