/* ==========================================================================
   Ever View Blog — styles principaux
   Identité reprise d'everview.fr
   ========================================================================== */

:root {
	/* Couleurs relevées sur le site principal (--brand-color) */
	--ev-sand: #c8b9a0;
	--ev-sand-dark: #b3a385;
	--ev-sand-line: rgba(200, 185, 160, .45);
	--ev-night: #2c2a26;       /* bouton « Demander un devis personnalisé » */
	--ev-black: #000;
	--ev-ivory: #ece6e3;       /* lettres du logo */
	--ev-paper: #f6f2ec;       /* fond de lecture des articles */
	--ev-grey: #ccc;           /* texte des cartes */
	--ev-white: #fff;
	--ev-card: rgba(0, 0, 0, .6);

	--ev-font: "Poppins", "Segoe UI", Arial, sans-serif;
	--ev-font-title: Georgia, "Times New Roman", serif;
	--ev-font-accent: "Playfair Display", Georgia, serif;
	--ev-max: 1240px;
	--ev-gutter: 20px;
	--ev-radius: 15px;
}

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

h1, h2, h3, h4, h5, h6 { font-family: var(--ev-font-title); font-weight: 700; color: var(--ev-white); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 4vw, 52px); }
h2 { font-size: clamp(26px, 2.8vw, 40px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h1 em, h2 em, h3 em { font-family: var(--ev-font-accent); font-weight: 400; font-style: italic; color: var(--ev-black); }
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 24px; background: var(--ev-night); color: var(--ev-white); border-radius: 30px; }

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

/* --- Étiquette pilule (« NOS SOLUTIONS ») ------------------------------------ */
.tag { display: inline-block; margin-bottom: 16px; padding: 5px 20px; border: 1px solid var(--ev-black); border-radius: 30px; background: rgba(0, 0, 0, .25); color: var(--ev-black); font-size: 10.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.tag--light { border-color: var(--ev-sand); color: var(--ev-sand); }
.sub-title { display: inline-block; }

/* --- Boutons pilule ----------------------------------------------------------- */
.btn, .wp-block-button__link, input[type="submit"], .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 28px; border: 1px solid var(--ev-night); border-radius: 30px;
	background: var(--ev-night); color: var(--ev-white);
	font-family: var(--ev-font); font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover { background: var(--ev-black); border-color: var(--ev-black); color: var(--ev-white); transform: translateY(-1px); }
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--dark { background: var(--ev-night); }
.btn--outline { background: transparent; color: var(--ev-black); border-color: var(--ev-black); }
.btn--outline:hover { background: var(--ev-black); color: var(--ev-white); }
.btn span[aria-hidden] { transition: transform .2s ease; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

/* --- En-tête sombre translucide ------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-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 { background: rgba(0, 0, 0, .72); box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }

.site-header__inner { max-width: 1440px; margin: 0 auto; padding: 0 24px; min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.site-logo { display: block; width: 170px; }
.site-logo img { width: 100%; height: auto; }
.site-header__brand .custom-logo { width: 190px; height: auto; }

.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 6px; }
.site-nav .menu > li { position: relative; }
.site-nav a { display: block; padding: 6px 12px; border: 1px solid transparent; border-radius: 30px; color: var(--ev-sand); font-size: 14px; font-weight: 400; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.site-nav a:hover { color: var(--ev-white); border-color: var(--ev-sand-line); }
.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--ev-white); font-weight: 600; border-color: rgba(255, 255, 255, .35); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; left: 0; top: calc(100% + 8px); min-width: 220px; background: rgba(0, 0, 0, .85); border-radius: var(--ev-radius); 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: 12px; }
.site-header__tools .btn { background: var(--ev-sand); border-color: var(--ev-sand); color: var(--ev-black); }
.site-header__tools .btn:hover { background: var(--ev-white); border-color: var(--ev-white); color: var(--ev-black); }

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

@media (max-width: 1120px) { .site-nav a { padding: 6px 8px; font-size: 13px; } }
@media (max-width: 960px) {
	.site-header__inner { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 var(--ev-gutter); }
	.site-logo { width: 140px; }
	.nav-toggle { display: flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 64px); padding: 20px var(--ev-gutter) 40px; background: #1c1a17; overflow-y: auto; }
	.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #1c1a17; }
	.nav-open .site-nav { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 8px; }
	.site-nav a { padding: 14px 18px; font-size: 16px; border-color: var(--ev-sand-line); }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; background: none; }
}
@media (max-width: 420px) { .site-header__tools .btn { padding: 7px 12px; font-size: 12px; } .site-logo { width: 120px; } }

/* --- En-tête de page (fond sable) ------------------------------------------------ */
.hero { --hero-image: none; padding: 72px 4vw 56px; color: var(--ev-white); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__inner:has(> :only-child) { grid-template-columns: 1fr; }
.hero__title { margin: 0; max-width: 760px; color: var(--ev-white); font-size: clamp(36px, 4.4vw, 56px); }
.hero__subtitle { max-width: 600px; margin-top: 18px; font-size: 16px; font-weight: 400; color: var(--ev-white); }
.hero__subtitle p { margin: 0; }
.hero__art img { width: 100%; max-width: 560px; margin-left: auto; }
.hero .badge { margin-bottom: 16px; }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; } .hero__art { order: -1; } .hero__art img { max-width: 360px; margin: 0; } }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 13px; color: rgba(0, 0, 0, .6); }
.breadcrumbs a { color: var(--ev-black); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ev-white); }
.breadcrumbs__current { max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hero--post { padding-top: 64px; padding-bottom: 48px; }
.hero--post .hero__inner { display: block; }
.hero--post .hero__title { font-size: clamp(30px, 3.4vw, 46px); }
.hero--post .post-meta { margin-top: 18px; color: var(--ev-night); }

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

.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { display: inline-block; padding: 7px 18px; border: 1px solid var(--ev-black); border-radius: 30px; color: var(--ev-black); font-size: 13px; font-weight: 400; text-decoration: none; transition: all .2s ease; }
.chip:hover { background: rgba(0, 0, 0, .12); color: var(--ev-black); }
.chip.is-active { background: var(--ev-night); border-color: var(--ev-night); color: var(--ev-white); font-weight: 600; }

.badge { display: inline-block; padding: 3px 12px; border: 1px solid var(--ev-sand-line); border-radius: 30px; color: var(--ev-sand); font-size: 10.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; }
.badge:hover { background: var(--ev-sand); color: var(--ev-black); }
.hero .badge { border-color: var(--ev-black); color: var(--ev-black); background: rgba(0, 0, 0, .12); }

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

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

.card { display: flex; flex-direction: column; padding: 12px 12px 16px; border-radius: var(--ev-radius); background: var(--ev-card); color: var(--ev-sand); transition: transform .3s ease, background-color .3s ease; }
.card:hover { transform: translateY(-4px); background: rgba(0, 0, 0, .72); }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: var(--ev-night); }
.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(--ev-night); }
.card__placeholder img { width: 60% !important; height: auto !important; object-fit: contain; }
.card:hover .card__placeholder img { transform: none; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 6px 0; 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: 12px; color: var(--ev-grey); }
.card__title { margin: 0; font-size: 19px; line-height: 1.3; }
.card__title a { color: var(--ev-sand); text-decoration: none; }
.card__title a:hover { color: var(--ev-white); }
.card__excerpt { margin: 0; font-size: 13.5px; font-weight: 200; color: var(--ev-grey); }
.card__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 5px 14px; border: 1px solid var(--ev-sand-line); border-radius: 20px; color: var(--ev-sand); font-size: 12px; font-weight: 600; letter-spacing: .5px; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.card__more svg { width: 14px; height: 14px; transition: transform .2s ease; }
.card__more:hover { background: var(--ev-sand); color: var(--ev-black); }
.card__more:hover svg { transform: translateX(3px); }
.card__excerpt + .card__more { margin-top: 6px; }

.featured-row { margin-bottom: 40px; }
.card--featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; align-items: center; padding: 14px; }
.card--featured .card__media { aspect-ratio: 16 / 11; }
.card--featured .card__body { padding: 20px 28px; gap: 16px; }
.card--featured .card__title { font-size: clamp(24px, 2.4vw, 32px); }
.card--featured .card__excerpt { font-size: 15px; }
.card--featured:hover { transform: none; }
@media (max-width: 860px) { .card--featured { grid-template-columns: 1fr; } .card--featured .card__body { padding: 16px 6px 0; } }

.pagination { margin: 48px 0 0; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ev-black); border-radius: 30px; color: var(--ev-black); 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(--ev-night); border-color: var(--ev-night); color: var(--ev-white); }
.pagination .dots { border: 0; }

.empty-state { text-align: center; padding: 40px 0; }
.empty-state .search-form { margin: 24px auto; }
.big-404 { font-family: var(--ev-font-accent); font-style: italic; font-size: clamp(100px, 16vw, 180px); line-height: 1; margin: 0 0 8px; color: var(--ev-white); }

/* --- Article : panneau clair pour le confort de lecture ---------------------------------------- */
.container--post { max-width: 900px; }
.container--post.has-sidebar { max-width: var(--ev-max); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
@media (max-width: 1000px) { .container--post.has-sidebar { grid-template-columns: 1fr; } }

.entry { padding: clamp(20px, 4vw, 48px); border-radius: var(--ev-radius); background: var(--ev-paper); border: 1px solid var(--ev-sand-line); }
.entry__thumb { margin: 0 0 36px; border-radius: 10px; overflow: hidden; }
.entry__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.entry__content { font-size: 16.5px; line-height: 1.8; color: #3a3631; }
.entry__content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry__content h2, .entry__content h3, .entry__content h4 { color: var(--ev-black); }
.entry__content h2 { margin-top: 1.6em; margin-bottom: .5em; font-size: clamp(24px, 2.4vw, 30px); }
.entry__content h3 { margin-top: 1.4em; margin-bottom: .4em; }
.entry__content h4 { margin-top: 1.3em; }
.entry__content h2 em, .entry__content h3 em { color: #8a7650; }
.entry__content strong { color: var(--ev-black); font-weight: 600; }
.entry__content a { color: var(--ev-black); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ev-sand-dark); text-decoration-thickness: 2px; }
.entry__content a:hover { color: #8a7650; }
.entry__content ul, .entry__content ol { padding-left: 1.3em; }
.entry__content li { margin-bottom: .45em; }
.entry__content ul li::marker { color: var(--ev-sand-dark); }
.entry__content figure { margin-left: 0; margin-right: 0; }
.entry__content img { border-radius: 10px; }
.entry__content figcaption, .wp-element-caption { margin-top: 10px; font-size: 13px; color: #7a7266; }
.entry__content blockquote, .wp-block-quote { margin: 2em 0; padding: 22px 28px; border: 0; border-radius: var(--ev-radius); background: var(--ev-night); color: var(--ev-sand); font-family: var(--ev-font-accent); font-size: clamp(20px, 2.2vw, 26px); font-style: italic; line-height: 1.45; }
.entry__content blockquote p:last-child { margin-bottom: 0; }
.entry__content blockquote cite { display: block; margin-top: 12px; font-family: var(--ev-font); font-size: 11.5px; font-style: normal; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ev-grey); }
.entry__content table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--ev-sand-line); border-radius: 12px; font-size: 15px; }
.entry__content th, .entry__content td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--ev-sand-line); }
.entry__content tr:last-child td { border-bottom: 0; }
.entry__content th { background: var(--ev-night); color: var(--ev-sand); font-weight: 600; }
.entry__content tbody tr:nth-child(even) { background: rgba(200, 185, 160, .18); }
.entry__content hr { border: 0; height: 1px; margin: 3em 0; background: var(--ev-sand-line); }
.entry__content code { padding: 2px 6px; border-radius: 4px; background: rgba(200, 185, 160, .3); font-size: .9em; }
.entry__content .wp-block-button__link { color: var(--ev-white); text-decoration: none; font-weight: 600; }
.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-sable-color { color: #c8b9a0 !important; } .has-sable-background-color { background-color: #c8b9a0 !important; }
.has-brun-color { color: #2c2a26 !important; } .has-brun-background-color { background-color: #2c2a26 !important; }
.has-noir-color { color: #000 !important; } .has-noir-background-color { background-color: #000 !important; }
.has-ivoire-color { color: #ece6e3 !important; } .has-ivoire-background-color { background-color: #ece6e3 !important; }
.has-gris-color { color: #ccc !important; } .has-gris-background-color { background-color: #ccc !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: 36px 0; }
.entry__tags .chip { font-size: 12px; padding: 5px 14px; }

.author-box { display: flex; gap: 18px; align-items: center; margin: 40px 0; padding: 22px; border-radius: var(--ev-radius); background: var(--ev-card); color: var(--ev-grey); }
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box p { margin: 0; }
.author-box__label { font-size: 10.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ev-grey); }
.author-box__name { font-family: var(--ev-font-title); font-size: 20px; font-weight: 700; color: var(--ev-sand); }
.author-box__bio { margin-top: 4px !important; font-size: 14px; font-weight: 200; }

.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: 16px 18px; border: 1px solid var(--ev-sand-line); border-radius: 12px; color: var(--ev-black); font-family: var(--ev-font-title); font-size: 17px; font-weight: 700; line-height: 1.35; text-decoration: none; transition: background-color .2s ease; }
.post-nav a:hover { background: rgba(200, 185, 160, .25); color: var(--ev-black); }
.post-nav a span { display: block; margin-bottom: 6px; font-family: var(--ev-font); font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #8a7650; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav > div:last-child { text-align: left; } }

.related { margin-top: 64px; padding: 0; }
.related > .container { padding: 0 4vw; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head > div { display: flex; flex-direction: column; align-items: flex-start; }
.section-title { margin: 0; }

/* Barre latérale */
.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
.sidebar .widget { padding: 20px; border-radius: var(--ev-radius); background: var(--ev-card); color: var(--ev-grey); }
.widget-title, .sidebar h2, .sidebar .wp-block-heading, .sidebar .wp-block-search__label { display: block; margin: 0 0 12px; font-family: var(--ev-font-title); font-size: 17px; font-weight: 700; color: var(--ev-sand); }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 8px 0; border-bottom: 1px solid rgba(200, 185, 160, .2); font-size: 14px; font-weight: 200; line-height: 1.45; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--ev-grey); text-decoration: none; }
.sidebar a:hover { color: var(--ev-sand); }
.sidebar .wp-block-search__inside-wrapper { display: flex; padding: 3px; border: 1px solid var(--ev-sand-line); border-radius: 30px; }
.sidebar .wp-block-search__input { flex: 1; min-width: 0; border: 0; padding: 7px 12px; background: transparent; color: var(--ev-white); font: inherit; font-size: 14px; }
.sidebar .wp-block-search__button { margin: 0; padding: 0 16px; border: 0; border-radius: 30px; background: var(--ev-sand); color: var(--ev-black); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }

/* Recherche */
.search-form { display: flex; max-width: 480px; padding: 4px; border: 1px solid var(--ev-black); border-radius: 30px; background: rgba(255, 255, 255, .35); }
.search-form__input { flex: 1; min-width: 0; border: 0; padding: 8px 16px; background: transparent; font: inherit; color: var(--ev-black); }
.search-form__input:focus { outline: none; }
.search-form__btn { width: 44px; border: 0; border-radius: 30px; background: var(--ev-night); color: var(--ev-white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search-form__btn svg { width: 18px; height: 18px; }

/* Commentaires */
.comments { margin-top: 44px; }
.comments__title, .comment-reply-title { font-size: 24px; color: var(--ev-black); }
.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(--ev-sand-line); }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { margin: 4px 0 10px; font-size: 12.5px; }
.comment-metadata a { color: #7a7266; text-decoration: none; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 11px 16px; border: 1px solid var(--ev-sand); border-radius: 12px; background: var(--ev-white); font: inherit; color: var(--ev-black); }
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--ev-night); border-color: transparent; }
.comment-notes, .logged-in-as { font-size: 13.5px; color: #7a7266; }
.comment-form-cookies-consent label { display: inline; }

/* --- Encart « Votre projet » ------------------------------------------------------------- */
.cta { margin-top: 88px; padding: 80px 4vw; text-align: center; background: linear-gradient(rgba(0, 0, 0, .06), rgba(0, 0, 0, .06)); }
.cta__box { max-width: 820px; margin: 0 auto; }
.cta__title { margin-bottom: 14px; font-size: clamp(30px, 3.6vw, 44px); }
.cta__text { margin: 0 auto 28px; max-width: 620px; font-weight: 200; color: var(--ev-white); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* --- Pied de page ------------------------------------------------------------------------------- */
.site-footer { margin-top: 0; }
.site-footer__inner { max-width: calc(var(--ev-max) - 8vw + 8vw); margin: 0 auto; padding: 56px 4vw 36px; display: grid; grid-template-columns: 1fr; gap: 24px; }
.site-logo--footer { width: 210px; }
.site-footer__brand .site-logo { filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .08)); }
.info-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.info-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--ev-sand-line); border-radius: 14px; background: var(--ev-white); color: var(--ev-sand-dark); font-weight: 200; font-size: 13px; line-height: 1.45; }
.info-card__icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(200, 185, 160, .2); color: var(--ev-night); }
.info-card__icon svg { width: 17px; height: 17px; }
.info-card strong { display: block; margin-bottom: 2px; color: var(--ev-black); font-size: 10.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.info-card span, .info-card a { color: #6b6255; text-decoration: none; }
.info-card a:hover { color: var(--ev-black); }
.info-card__social { display: flex; gap: 8px; margin-top: 4px; }
.info-card__social a { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: #1e5fa6; color: var(--ev-white); }
.info-card__social a:hover { opacity: .85; color: var(--ev-white); }
.info-card__social svg { width: 16px; height: 16px; }
.footer-menu { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-menu a { color: var(--ev-black); font-size: 13.5px; text-decoration: none; }
.footer-menu a:hover { color: var(--ev-white); }
.site-footer__bar { padding: 10px 4vw; background: rgba(0, 0, 0, .8); text-align: center; }
.site-footer__bar p { margin: 0; color: var(--ev-sand); font-size: 13.5px; font-weight: 200; }
.site-footer__bar a { color: var(--ev-sand); }
.site-footer__bar a:hover { color: var(--ev-white); }
@media (max-width: 1100px) { .info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .site-logo--footer { width: 180px; } }
@media (max-width: 480px) { .info-cards { grid-template-columns: 1fr; } }

@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(--ev-max) - 8vw); margin-left: auto; margin-right: auto; }
@media (max-width: 1280px) { .hero__inner { max-width: none; } }
.hero--post .hero__inner { max-width: calc(900px - 2 * var(--ev-gutter)); }
.has-sidebar-layout .hero--post .hero__inner { max-width: calc(var(--ev-max) - 8vw); }
@media (max-width: 640px) { .hero { padding: 44px var(--ev-gutter) 36px; } .site-main > .container, .related > .container { padding: 0 var(--ev-gutter); } .cta { padding: 56px var(--ev-gutter); } }
