/* ==========================================================================
   Humanea Care Blog — styles principaux
   Identité reprise de humaneacare.com
   ========================================================================== */

:root {
	/* Variables du site principal (--primary, --accent, --secondary…) */
	--hc-blue: #3a6ea6;
	--hc-blue-dark: #2f5a88;
	--hc-green: #6dab6d;
	--hc-green-dark: #5a955a;
	--hc-text: #2a333c;
	--hc-muted: #73808c;
	--hc-secondary: #f0f5f1;
	--hc-green-bg: #f5faf5;
	--hc-line: #e0e6eb;
	--hc-white: #fff;
	--hc-gradient: linear-gradient(135deg, #3a6ea6, #6dab6d);

	--hc-font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--hc-max: 1200px;
	--hc-gutter: 20px;
	--hc-radius: 12px;
	--hc-radius-lg: 16px;
	--hc-shadow: 0 1px 2px rgba(42, 51, 60, .05), 0 8px 24px -12px rgba(42, 51, 60, .12);
}

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

h1, h2, h3, h4, h5, h6 { font-family: var(--hc-font); font-weight: 700; color: var(--hc-text); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 4vw, 48px); }
h2 { font-size: clamp(26px, 2.8vw, 36px); }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
.text-gradient { background: var(--hc-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.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 22px; background: var(--hc-blue); color: var(--hc-white); border-radius: var(--hc-radius); }

.container { width: 100%; max-width: var(--hc-max); margin: 0 auto; padding: 0 var(--hc-gutter); }

/* --- Étiquette ----------------------------------------------------------------- */
.tag { display: inline-block; margin-bottom: 16px; padding: 5px 14px; border-radius: 999px; background: rgba(109, 171, 109, .12); color: var(--hc-green-dark); font-size: 13px; font-weight: 600; }
.tag--light { background: rgba(255, 255, 255, .2); color: var(--hc-white); }

/* --- Boutons -------------------------------------------------------------------- */
.btn, .wp-block-button__link, input[type="submit"], .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 28px; border: 1px solid transparent; border-radius: var(--hc-radius);
	background: var(--hc-green); color: var(--hc-white);
	font-family: var(--hc-font); font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer;
	box-shadow: 0 8px 20px -10px rgba(109, 171, 109, .8);
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover { background: var(--hc-green-dark); color: var(--hc-white); transform: translateY(-1px); }
.btn--sm { padding: 10px 18px; font-size: 14.5px; }
.btn--blue, .btn--dark { background: var(--hc-blue); box-shadow: 0 8px 20px -10px rgba(58, 110, 166, .8); }
.btn--blue:hover, .btn--dark:hover { background: var(--hc-blue-dark); }
.btn--outline { background: var(--hc-white); border-color: var(--hc-line); color: var(--hc-text); box-shadow: none; }
.btn--outline:hover { background: var(--hc-white); border-color: var(--hc-blue); color: var(--hc-blue); }
.btn span[aria-hidden] { transition: transform .2s ease; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

/* --- En-tête blanc -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.is-scrolled .site-header { border-bottom-color: var(--hc-line); box-shadow: 0 6px 20px -14px rgba(42, 51, 60, .3); }

.site-header__inner { max-width: 1320px; margin: 0 auto; padding: 10px 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.site-logo { display: block; width: 190px; transition: width .25s ease; }
.site-logo img { width: 100%; height: auto; }
.site-header__brand .custom-logo { width: 190px; height: auto; }
.is-scrolled .site-header .site-logo { width: 160px; }

.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--hc-text); font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.site-nav a:hover { background: var(--hc-secondary); color: var(--hc-blue); }
.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { background: var(--hc-secondary); color: var(--hc-blue); font-weight: 700; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: calc(100% + 6px); min-width: 220px; background: var(--hc-white); border: 1px solid var(--hc-line); border-radius: var(--hc-radius); box-shadow: var(--hc-shadow); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; }

.site-header__tools { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--hc-text); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--hc-green); }
.header-phone:hover { color: var(--hc-blue); }

.nav-toggle { display: none; width: 42px; height: 42px; padding: 12px 10px; background: var(--hc-secondary); border: 0; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle__bar { display: block; height: 2px; width: 100%; border-radius: 2px; background: var(--hc-text); transition: transform .25s ease, opacity .2s ease; }
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1220px) { .header-phone span { display: none; } .site-nav a { padding: 8px 9px; font-size: 14.5px; } }
@media (max-width: 1000px) {
	.site-header__inner { grid-template-columns: 1fr auto; padding: 8px var(--hc-gutter); }
	.site-logo, .is-scrolled .site-header .site-logo { width: 150px; }
	.nav-toggle { display: flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 60px); padding: 16px var(--hc-gutter) 40px; background: var(--hc-white); overflow-y: auto; border-top: 1px solid var(--hc-line); }
	.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--hc-white); }
	.nav-open .site-nav { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 4px; }
	.site-nav a { padding: 14px 16px; font-size: 17px; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; border: 0; box-shadow: none; }
}
@media (max-width: 420px) { .site-header__tools .btn { padding: 9px 12px; font-size: 13.5px; } .header-phone { display: none; } }

/* --- En-tête de page (dégradé vert très clair) ------------------------------------- */
.hero { padding: 64px 4vw 64px; background: linear-gradient(to bottom right, #f0f5f1, #fff 55%, #f5f9fc); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__inner:has(> :only-child) { grid-template-columns: 1fr; }
.hero__title { margin: 0; max-width: 680px; font-size: clamp(34px, 4.2vw, 50px); letter-spacing: -.025em; }
.hero__subtitle { max-width: 560px; margin-top: 18px; font-size: 18px; color: var(--hc-muted); }
.hero__subtitle p { margin: 0; }
.hero__cta { margin: 28px 0 0; }
.hero__art { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero__art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; box-shadow: 0 20px 40px -24px rgba(42, 51, 60, .45); }
.hero__art img:last-child { transform: translateY(28px); }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; } .hero__art img:last-child { transform: none; } }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--hc-muted); }
.breadcrumbs a { color: var(--hc-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--hc-blue); }
.breadcrumbs__current { max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hero--post { padding-top: 56px; padding-bottom: 48px; }
.hero--post .hero__inner { display: block; }
.hero--post .hero__title { font-size: clamp(30px, 3.4vw, 44px); }
.hero--post .post-meta { margin-top: 18px; }
.hero .badge { margin-bottom: 16px; }

/* --- Liste d'articles ---------------------------------------------------------------- */
.site-main { padding-top: 56px; }
.site-main > .container { padding: 0 4vw; }

.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { display: inline-block; padding: 8px 16px; border: 1px solid var(--hc-line); border-radius: 999px; background: var(--hc-white); color: var(--hc-text); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: all .2s ease; }
.chip:hover { border-color: var(--hc-green); color: var(--hc-green-dark); }
.chip.is-active { background: var(--hc-blue); border-color: var(--hc-blue); color: var(--hc-white); }

.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(109, 171, 109, .12); color: var(--hc-green-dark); font-size: 12.5px; font-weight: 600; text-decoration: none; }
.badge:hover { background: var(--hc-green); color: var(--hc-white); }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--hc-muted); }
.post-meta svg { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: 5px; color: var(--hc-green); }
.post-meta__read { display: inline-flex; align-items: center; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@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: 22px; } }

.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(224, 230, 235, .7); border-radius: var(--hc-radius-lg); background: var(--hc-white); box-shadow: var(--hc-shadow); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(42, 51, 60, .05), 0 22px 40px -18px rgba(42, 51, 60, .25); }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hc-secondary); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--hc-secondary); }
.card__placeholder img { width: 62% !important; height: auto !important; object-fit: contain; }
.card:hover .card__placeholder img { transform: none; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.card__top .badge { white-space: nowrap; }
.card__date { font-size: 13px; color: var(--hc-muted); }
.card__title { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.card__title a { color: var(--hc-text); text-decoration: none; }
.card__title a:hover { color: var(--hc-blue); }
.card__excerpt { margin: 0; font-size: 15px; color: var(--hc-muted); }
.card__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; color: var(--hc-green-dark); font-size: 15px; font-weight: 600; text-decoration: none; }
.card__more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card__more:hover { color: var(--hc-blue); }
.card__more:hover svg { transform: translateX(3px); }

.featured-row { margin-bottom: 48px; }
.card--featured { display: grid; grid-template-columns: 1.2fr 1fr; align-items: stretch; }
.card--featured .card__media { aspect-ratio: auto; min-height: 360px; }
.card--featured .card__body { justify-content: center; padding: 40px 44px; gap: 16px; }
.card--featured .card__title { font-size: clamp(26px, 2.6vw, 34px); }
.card--featured .card__excerpt { font-size: 17px; }
.card--featured .card__more { margin-top: 8px; padding: 12px 22px; border-radius: var(--hc-radius); background: var(--hc-green); color: var(--hc-white); }
.card--featured .card__more:hover { background: var(--hc-green-dark); color: var(--hc-white); }
.card--featured:hover { transform: none; }
@media (max-width: 860px) { .card--featured { grid-template-columns: 1fr; } .card--featured .card__media { min-height: 0; aspect-ratio: 16 / 10; } .card--featured .card__body { padding: 22px 24px 26px; } }

.pagination { margin: 56px 0 0; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hc-line); border-radius: var(--hc-radius); color: var(--hc-text); font-weight: 600; text-decoration: none; }
.pagination .page-numbers svg { width: 18px; height: 18px; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--hc-blue); border-color: var(--hc-blue); color: var(--hc-white); }
.pagination .dots { border: 0; }

.empty-state { text-align: center; padding: 40px 0; }
.empty-state .search-form { margin: 24px auto; }
.big-404 { font-size: clamp(100px, 16vw, 180px); font-weight: 700; line-height: 1; margin: 0 0 8px; background: var(--hc-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

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

.entry__thumb { margin: 0 0 40px; border-radius: 20px; overflow: hidden; }
.entry__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.entry__content { font-size: 17.5px; line-height: 1.8; color: #3d4752; }
.entry__content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry__content h2 { margin-top: 1.6em; margin-bottom: .5em; font-size: clamp(24px, 2.4vw, 30px); color: var(--hc-text); }
.entry__content h3 { margin-top: 1.4em; margin-bottom: .4em; color: var(--hc-text); }
.entry__content h4 { margin-top: 1.3em; }
.entry__content strong { color: var(--hc-text); }
.entry__content a { color: var(--hc-blue); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(58, 110, 166, .35); text-decoration-thickness: 2px; }
.entry__content a:hover { color: var(--hc-green-dark); text-decoration-color: currentColor; }
.entry__content ul { list-style: none; padding-left: 0; }
.entry__content ul li { position: relative; padding-left: 32px; margin-bottom: .6em; }
.entry__content ul li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: rgba(109, 171, 109, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236dab6d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.entry__content ol { padding-left: 1.3em; }
.entry__content ol li { margin-bottom: .5em; }
.entry__content figure { margin-left: 0; margin-right: 0; }
.entry__content img { border-radius: var(--hc-radius-lg); }
.entry__content figcaption, .wp-element-caption { margin-top: 10px; font-size: 14px; color: var(--hc-muted); text-align: center; }
.entry__content blockquote, .wp-block-quote { margin: 2em 0; padding: 22px 26px; border: 0; border-left: 4px solid var(--hc-green); border-radius: 0 var(--hc-radius-lg) var(--hc-radius-lg) 0; background: var(--hc-green-bg); font-size: clamp(19px, 2vw, 21px); font-weight: 500; line-height: 1.5; color: var(--hc-text); }
.entry__content blockquote p:last-child { margin-bottom: 0; }
.entry__content blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; font-weight: 700; color: var(--hc-green-dark); }
.entry__content table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--hc-line); border-radius: var(--hc-radius); font-size: 15.5px; }
.entry__content th, .entry__content td { padding: 13px 16px; border-bottom: 1px solid var(--hc-line); text-align: left; }
.entry__content tr:last-child td { border-bottom: 0; }
.entry__content th { background: var(--hc-blue); color: var(--hc-white); font-weight: 600; }
.entry__content tbody tr:nth-child(even) { background: var(--hc-green-bg); }
.entry__content hr { border: 0; height: 1px; margin: 3em 0; background: var(--hc-line); }
.entry__content code { padding: 2px 6px; border-radius: 6px; background: var(--hc-secondary); font-size: .9em; }
.entry__content .wp-block-button__link { color: var(--hc-white); text-decoration: none; }
.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-bleu-color { color: #3a6ea6 !important; } .has-bleu-background-color { background-color: #3a6ea6 !important; }
.has-vert-color { color: #6dab6d !important; } .has-vert-background-color { background-color: #6dab6d !important; }
.has-texte-color { color: #2a333c !important; } .has-texte-background-color { background-color: #2a333c !important; }
.has-gris-color { color: #73808c !important; } .has-gris-background-color { background-color: #73808c !important; }
.has-vert-clair-color { color: #f0f5f1 !important; } .has-vert-clair-background-color { background-color: #f0f5f1 !important; }
.has-blanc-color { color: #fff !important; } .has-blanc-background-color { background-color: #fff !important; }

.entry__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0; }
.entry__tags .chip { font-size: 13.5px; padding: 6px 14px; }

.author-box { display: flex; gap: 18px; align-items: center; margin: 44px 0; padding: 24px; border: 1px solid rgba(224, 230, 235, .7); border-radius: var(--hc-radius-lg); background: var(--hc-secondary); }
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box p { margin: 0; }
.author-box__label { font-size: 12.5px; font-weight: 600; color: var(--hc-green-dark); }
.author-box__name { font-size: 19px; font-weight: 700; }
.author-box__bio { margin-top: 4px !important; font-size: 15px; color: var(--hc-muted); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 44px 0; }
.post-nav > div:last-child { text-align: right; }
.post-nav a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--hc-line); border-radius: var(--hc-radius-lg); color: var(--hc-text); font-size: 16.5px; font-weight: 700; line-height: 1.35; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.post-nav a:hover { border-color: var(--hc-green); box-shadow: var(--hc-shadow); color: var(--hc-text); }
.post-nav a span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--hc-green-dark); }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav > div:last-child { text-align: left; } }

.related { margin-top: 72px; padding: 72px 0; background: var(--hc-secondary); }
.related > .container { padding: 0 4vw; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head > div { display: flex; flex-direction: column; align-items: flex-start; }
.section-title { margin: 0; }
.related + .cta { margin-top: 0; }

/* Barre latérale */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.sidebar .widget { padding: 22px; border: 1px solid rgba(224, 230, 235, .7); border-radius: var(--hc-radius-lg); background: var(--hc-white); box-shadow: var(--hc-shadow); }
.widget-title, .sidebar h2, .sidebar .wp-block-heading, .sidebar .wp-block-search__label { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; font-weight: 700; }
.widget-title::before, .sidebar .wp-block-heading::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--hc-green); }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 9px 0; border-bottom: 1px solid var(--hc-line); font-size: 15px; line-height: 1.45; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--hc-text); text-decoration: none; }
.sidebar a:hover { color: var(--hc-blue); }
.sidebar .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.sidebar .wp-block-search__input { flex: 1; min-width: 0; border: 1px solid var(--hc-line); border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 14.5px; }
.sidebar .wp-block-search__button { margin: 0; padding: 0 14px; border: 0; border-radius: 10px; background: var(--hc-blue); color: var(--hc-white); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

/* Recherche */
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form__input { flex: 1; min-width: 0; border: 1px solid var(--hc-line); border-radius: var(--hc-radius); padding: 12px 16px; font: inherit; color: var(--hc-text); }
.search-form__input:focus { outline: 2px solid var(--hc-blue); border-color: transparent; }
.search-form__btn { width: 50px; border: 0; border-radius: var(--hc-radius); background: var(--hc-blue); color: var(--hc-white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search-form__btn svg { width: 18px; height: 18px; }

/* 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: 28px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--hc-line); }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { margin: 4px 0 10px; font-size: 13px; }
.comment-metadata a { color: var(--hc-muted); text-decoration: none; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.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(--hc-line); border-radius: var(--hc-radius); font: inherit; color: var(--hc-text); }
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--hc-blue); border-color: transparent; }
.comment-notes, .logged-in-as { font-size: 14px; color: var(--hc-muted); }
.comment-form-cookies-consent label { display: inline; }

/* --- Encart devis ------------------------------------------------------------------------------- */
.cta { margin-top: 88px; padding: 80px 4vw; background: var(--hc-green-bg); }
.cta__box { max-width: 820px; margin: 0 auto; padding: clamp(28px, 5vw, 52px); border: 1px solid rgba(224, 230, 235, .7); border-radius: 24px; background: var(--hc-white); box-shadow: var(--hc-shadow); text-align: center; }
.cta__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: rgba(109, 171, 109, .1); color: var(--hc-green); }
.cta__icon svg { width: 26px; height: 26px; }
.cta__title { margin-bottom: 12px; }
.cta__text { margin: 0 auto 26px; max-width: 560px; font-size: 17px; color: var(--hc-muted); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* --- Contact + pied de page --------------------------------------------------------------------- */
.contact-band { padding: 72px 4vw 80px; text-align: center; }
.contact-band__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.contact-band__sap { width: 96px; margin-bottom: 18px; border-radius: 10px; }
.contact-band__title { margin-bottom: 14px; }
.contact-band__address { margin: 0 0 16px; color: var(--hc-muted); }
.contact-band__list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-band__list li { display: flex; align-items: center; justify-content: center; gap: 10px; }
.contact-band__list svg { width: 18px; height: 18px; color: var(--hc-green); }
.contact-band__list a { color: var(--hc-text); text-decoration: none; font-weight: 500; }
.contact-band__list a:hover { color: var(--hc-blue); }
.contact-band__sap-text { margin: 22px 0 0; font-size: 13px; color: var(--hc-muted); }
.cta + .contact-band, .related + .contact-band { padding-top: 72px; }

.site-footer { padding: 44px 4vw 40px; background: var(--hc-blue); color: rgba(255, 255, 255, .85); text-align: center; }
.site-footer__inner { max-width: var(--hc-max); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.site-footer__logo { padding: 12px 18px; border-radius: var(--hc-radius); background: var(--hc-white); }
.site-logo--footer { width: 200px; }
.footer-menu { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; }
.footer-menu a { color: var(--hc-white); font-size: 15px; text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; color: var(--hc-white); }
.site-footer__tagline { margin: 0; font-size: 15px; color: var(--hc-white); }
.copyright { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .7); }

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

/* Alignement des bandeaux sur la grille du contenu */
.hero__inner { max-width: calc(var(--hc-max) - 8vw); margin-left: auto; margin-right: auto; }
@media (max-width: 1240px) { .hero__inner { max-width: none; } }
.hero--post .hero__inner { max-width: calc(840px - 2 * var(--hc-gutter)); }
.has-sidebar-layout .hero--post .hero__inner { max-width: calc(var(--hc-max) - 8vw); }
@media (max-width: 640px) { .hero { padding: 44px var(--hc-gutter) 48px; } .site-main > .container, .related > .container { padding: 0 var(--hc-gutter); } .cta { padding: 56px var(--hc-gutter); } }
