/* ==========================================================================
   PVGIS.COM Blog — styles principaux
   Nouvelle charte de pvgis.com (dev.pvgis.com)
   ========================================================================== */

:root {
	/* Variables du site (--color-blue-primary, --color-blue-secondary…) */
	--pv-blue: #0065a2;
	--pv-blue-dark: #00548a;
	--pv-ink: #074a8b;          /* titres, texte des sections claires, pied de page */
	--pv-navy: #073769;
	--pv-yellow: #fed400;
	--pv-yellow-dark: #e8c200;
	--pv-sky: #f2f8fc;          /* bloc « PVGIS PRODUCTIBLE » */
	--pv-text: #33475b;
	--pv-muted: #5f7186;
	--pv-line: rgba(0, 101, 162, .25);
	--pv-line-soft: rgba(0, 101, 162, .15);
	--pv-white: #fff;

	--pv-font: "Roboto", Arial, sans-serif;
	--pv-font-cond: "Roboto Condensed", "Roboto", Arial, sans-serif;
	--pv-max: 1280px;
	--pv-gutter: 20px;
	--pv-grid: linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--pv-white); color: var(--pv-text); font-family: var(--pv-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(--pv-blue); text-underline-offset: 3px; }
a:hover { color: var(--pv-ink); }
:focus-visible { outline: 2px solid var(--pv-yellow); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--pv-font); font-weight: 800; color: var(--pv-ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 4.4vw, 58px); }
h2 { font-size: clamp(26px, 2.6vw, 34px); }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
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 20px; background: var(--pv-yellow); color: var(--pv-ink); font-weight: 800; }

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

/* Logo typographique « PVGIS.COM » */
.brand-text { font-family: var(--pv-font); font-weight: 700; letter-spacing: -.035em; color: var(--pv-white); text-decoration: none; white-space: nowrap; }
.brand-text span { color: var(--pv-yellow); }

/* --- Sur-titres ----------------------------------------------------------------- */
.eyebrow, .tag { display: block; margin: 0 0 10px; font-family: var(--pv-font-cond); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pv-blue); }
.tag--light { color: var(--pv-yellow); }

/* --- 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: 48px; padding: 12px 24px; border: 1px solid var(--pv-yellow); border-radius: 2px;
	background: var(--pv-yellow); color: var(--pv-ink);
	font-family: var(--pv-font); font-size: 15px; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover { background: var(--pv-yellow-dark); border-color: var(--pv-yellow-dark); color: var(--pv-ink); }
.btn--sm { min-height: 38px; padding: 8px 18px; font-size: 13.5px; text-transform: uppercase; letter-spacing: .02em; }
.btn--block { width: 100%; }
.btn--dark, .btn--blue { background: var(--pv-blue); border-color: var(--pv-blue); color: var(--pv-white); text-transform: uppercase; font-size: 14px; }
.btn--dark:hover, .btn--blue:hover { background: var(--pv-ink); border-color: var(--pv-ink); color: var(--pv-white); }
.btn--outline { background: transparent; border-color: var(--pv-white); color: var(--pv-white); text-transform: uppercase; font-size: 14px; }
.btn--outline:hover { background: var(--pv-white); color: var(--pv-blue); }
.btn span[aria-hidden] { transition: transform .2s ease; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

/* --- En-tête bleu à filet jaune ------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--pv-blue); border-bottom: 4px solid var(--pv-yellow); box-shadow: 0 2px 0 rgba(0, 101, 162, .28); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { max-width: 1440px; margin: 0 auto; padding: 0 28px; min-height: 68px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.site-logo { display: inline-block; font-size: 26px; line-height: 1; }
.site-header__brand .custom-logo { height: 40px; width: auto; }

.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; }
.site-nav .menu > li { position: relative; }
.site-nav a { display: block; padding: 8px 10px; border-bottom: 2px solid transparent; color: rgba(255, 255, 255, .82); font-size: 13px; font-weight: 700; letter-spacing: .015em; text-transform: uppercase; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.site-nav a:hover { color: var(--pv-white); border-bottom-color: rgba(255, 255, 255, .82); }
.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--pv-white); border-bottom-color: var(--pv-yellow); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 230px; background: var(--pv-blue); border-top: 3px solid var(--pv-yellow); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.site-nav .sub-menu a { padding: 8px 16px; text-transform: none; font-weight: 500; }
.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; }
.nav-toggle { display: none; min-height: 38px; padding: 0 16px; border: 0; border-radius: 2px; background: var(--pv-white); color: var(--pv-blue); font-family: var(--pv-font); font-size: 13px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.nav-open .nav-toggle { background: var(--pv-yellow); color: var(--pv-ink); }

@media (max-width: 1220px) { .site-nav a { padding: 8px 7px; font-size: 12px; } }
@media (max-width: 1060px) {
	.site-header__inner { grid-template-columns: 1fr auto; padding: 0 var(--pv-gutter); min-height: 60px; }
	.site-logo { font-size: 22px; }
	.nav-toggle { display: inline-flex; align-items: center; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 60px); padding: 16px var(--pv-gutter) 40px; background: var(--pv-blue); background-image: var(--pv-grid); background-size: 34px 34px; overflow-y: auto; border-top: 4px solid var(--pv-yellow); }
	.nav-open .site-nav { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { border-bottom: 1px solid rgba(255, 255, 255, .16); }
	.site-nav a { padding: 16px 4px; font-size: 16px; border-bottom: 0; }
	.site-nav .current-menu-item > a { color: var(--pv-yellow); }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; border: 0; background: none; }
}
@media (max-width: 420px) { .site-header__tools .btn { display: none; } }

/* --- Bandeau bleu quadrillé --------------------------------------------------------------- */
.hero { --hero-image: none; position: relative; padding: 64px 4vw 68px; background: var(--pv-grid), var(--pv-blue); background-size: 34px 34px, 34px 34px, auto; color: var(--pv-white); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(254, 212, 0, .35), rgba(254, 212, 0, 0) 70%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; max-width: calc(var(--pv-max) - 8vw); margin: 0 auto; }
.hero__title { margin: 0; max-width: 900px; color: var(--pv-white); font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; }
.hero__title .hl { color: var(--pv-yellow); }
.hero__subtitle { max-width: 680px; margin-top: 18px; font-size: 17px; color: rgba(255, 255, 255, .88); }
.hero__subtitle p { margin: 0; }
.hero__cta { margin: 28px 0 0; }
.hero .badge { margin-bottom: 14px; color: var(--pv-yellow); border-color: var(--pv-yellow); }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-family: var(--pv-font-cond); font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.breadcrumbs a { color: var(--pv-white); text-decoration: none; }
.breadcrumbs a:hover { color: var(--pv-yellow); }
.breadcrumbs__current { max-width: 50ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hero--post { padding-top: 56px; padding-bottom: 56px; }
.hero--post .hero__inner { max-width: calc(880px - 2 * var(--pv-gutter)); }
.has-sidebar-layout .hero--post .hero__inner { max-width: calc(var(--pv-max) - 8vw); }
.hero--post .hero__title { font-size: clamp(30px, 3.4vw, 44px); }
.hero--post .post-meta { margin-top: 18px; color: rgba(255, 255, 255, .85); }
.hero--post .post-meta svg { color: var(--pv-yellow); }

/* --- Liste d'articles ---------------------------------------------------------------- */
.site-main { padding-top: 56px; }
.site-main > .container { max-width: var(--pv-max); padding: 0 4vw; }

.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { display: inline-block; padding: 8px 14px; border: 1px solid var(--pv-line); color: var(--pv-blue); font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; transition: all .2s ease; }
.chip:hover { border-color: var(--pv-blue); color: var(--pv-blue); background: var(--pv-sky); }
.chip.is-active { background: var(--pv-blue); border-color: var(--pv-blue); color: var(--pv-white); }

.badge { display: inline-block; padding: 3px 8px; border: 1px solid var(--pv-line); color: var(--pv-blue); font-family: var(--pv-font-cond); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.badge:hover { background: var(--pv-blue); border-color: var(--pv-blue); color: var(--pv-white); }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--pv-muted); }
.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 { position: relative; display: flex; flex-direction: column; border: 1px solid var(--pv-line); background: var(--pv-white); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--pv-yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; z-index: 1; }
.card:hover { border-color: var(--pv-blue); box-shadow: 0 14px 30px -18px rgba(0, 101, 162, .45); }
.card:hover::before { transform: scaleX(1); }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pv-blue); }
.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(--pv-grid), var(--pv-blue); background-size: 34px 34px, 34px 34px, auto; }
.card__placeholder .brand-text { font-size: 30px; }
.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(--pv-muted); }
.card__title { margin: 0; font-size: 21px; line-height: 1.25; }
.card__title a { color: var(--pv-ink); text-decoration: none; }
.card__title a:hover { color: var(--pv-blue); }
.card__excerpt { margin: 0; font-size: 15px; color: var(--pv-text); }
.card__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; color: var(--pv-blue); font-size: 14px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; text-decoration: none; }
.card__more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card__more:hover { color: var(--pv-ink); }
.card__more:hover svg { transform: translateX(3px); }

.featured-row { margin-bottom: 40px; }
.card--featured { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--pv-sky); border-color: var(--pv-line-soft); }
.card--featured .card__media { aspect-ratio: auto; min-height: 380px; }
.card--featured .card__body { justify-content: center; padding: 36px 40px; gap: 16px; }
.card--featured .card__title { font-size: clamp(26px, 2.6vw, 34px); }
.card--featured .card__excerpt { font-size: 16.5px; }
.card--featured .card__more { margin-top: 8px; min-height: 48px; padding: 12px 22px; background: var(--pv-yellow); color: var(--pv-ink); text-transform: none; letter-spacing: 0; font-size: 15px; }
.card--featured .card__more:hover { background: var(--pv-yellow-dark); }
@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: 24px; } }

.pagination { margin: 56px 0 0; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--pv-line); color: var(--pv-blue); font-weight: 800; text-decoration: none; }
.pagination .page-numbers svg { width: 18px; height: 18px; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--pv-blue); border-color: var(--pv-blue); color: var(--pv-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: 800; line-height: 1; margin: 0 0 8px; color: var(--pv-blue); }

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

.entry__thumb { margin: 0 0 40px; border: 1px solid var(--pv-line-soft); }
.entry__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.entry__content { font-size: 17.5px; line-height: 1.8; }
.entry__content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry__content h2 { margin-top: 1.7em; margin-bottom: .5em; padding-left: 14px; border-left: 4px solid var(--pv-yellow); font-size: clamp(24px, 2.4vw, 30px); }
.entry__content h3 { margin-top: 1.4em; margin-bottom: .4em; color: var(--pv-blue); }
.entry__content h4 { margin-top: 1.3em; }
.entry__content strong { color: var(--pv-ink); }
.entry__content a { color: var(--pv-blue); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; }
.entry__content a:hover { color: var(--pv-ink); }
.entry__content ul { list-style: none; padding-left: 0; }
.entry__content ul li { position: relative; padding-left: 24px; margin-bottom: .55em; }
.entry__content ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; background: var(--pv-yellow); box-shadow: 0 0 0 2px var(--pv-blue) inset; }
.entry__content ol { padding-left: 1.3em; }
.entry__content ol li { margin-bottom: .5em; }
.entry__content ol li::marker { color: var(--pv-blue); font-weight: 800; }
.entry__content figure { margin-left: 0; margin-right: 0; }
.entry__content figcaption, .wp-element-caption { margin-top: 10px; font-size: 14px; color: var(--pv-muted); text-align: center; }
.entry__content blockquote, .wp-block-quote { margin: 2em 0; padding: 22px 26px; border: 0; border-left: 4px solid var(--pv-yellow); background: var(--pv-sky); font-size: clamp(18px, 2vw, 21px); font-weight: 500; line-height: 1.5; color: var(--pv-ink); }
.entry__content blockquote p:last-child { margin-bottom: 0; }
.entry__content blockquote cite { display: block; margin-top: 10px; font-family: var(--pv-font-cond); font-size: 12.5px; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pv-blue); }
.entry__content table { width: 100%; border-collapse: collapse; font-size: 15.5px; border: 1px solid var(--pv-line); }
.entry__content th, .entry__content td { padding: 12px 14px; border-bottom: 1px solid var(--pv-line-soft); text-align: left; }
.entry__content th { background: var(--pv-blue); color: var(--pv-white); font-weight: 700; text-transform: uppercase; font-size: 13.5px; letter-spacing: .03em; }
.entry__content tbody tr:nth-child(even) { background: var(--pv-sky); }
.entry__content hr { border: 0; height: 1px; margin: 3em 0; background: var(--pv-line); }
.entry__content code { padding: 2px 6px; background: var(--pv-sky); font-size: .9em; }
.entry__content .wp-block-button__link { color: var(--pv-ink); 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: #0065a2 !important; } .has-bleu-background-color { background-color: #0065a2 !important; }
.has-bleu-nuit-color { color: #074a8b !important; } .has-bleu-nuit-background-color { background-color: #074a8b !important; }
.has-jaune-color { color: #fed400 !important; } .has-jaune-background-color { background-color: #fed400 !important; }
.has-bleu-clair-color { color: #f2f8fc !important; } .has-bleu-clair-background-color { background-color: #f2f8fc !important; }
.has-texte-color { color: #33475b !important; } .has-texte-background-color { background-color: #33475b !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; }

.author-box { display: flex; gap: 18px; align-items: center; margin: 44px 0; padding: 24px; border: 1px solid var(--pv-line-soft); background: var(--pv-sky); }
.author-box img { flex-shrink: 0; }
.author-box p { margin: 0; }
.author-box__label { font-family: var(--pv-font-cond); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pv-blue); }
.author-box__name { font-size: 19px; font-weight: 800; color: var(--pv-ink); }
.author-box__bio { margin-top: 4px !important; font-size: 15px; }

.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(--pv-line); color: var(--pv-ink); font-size: 16.5px; font-weight: 800; line-height: 1.3; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.post-nav a:hover { border-color: var(--pv-blue); background: var(--pv-sky); }
.post-nav a span { display: block; margin-bottom: 6px; font-family: var(--pv-font-cond); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--pv-blue); }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav > div:last-child { text-align: left; } }

.related { margin-top: 72px; padding: 64px 0; background: var(--pv-sky); border-top: 1px solid var(--pv-line-soft); }
.related > .container { max-width: var(--pv-max); 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-head .tag { color: var(--pv-blue); }
.section-title { margin: 0; text-transform: uppercase; }
.related + .cta { margin-top: 64px; }
.container--narrow { max-width: 880px; }

/* Barre latérale */
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.sidebar .widget { border: 1px solid var(--pv-line); }
.widget-title, .sidebar h2, .sidebar .wp-block-heading, .sidebar .wp-block-search__label { display: block; margin: 0; padding: 12px 18px; background: var(--pv-blue); color: var(--pv-white); font-size: 14px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.sidebar .widget > *:not(h2):not(h3):not(.wp-block-heading):not(.wp-block-search__label) { margin: 14px 18px; }
.sidebar ul { list-style: none; padding: 0; }
.sidebar li { padding: 9px 0; border-bottom: 1px solid var(--pv-line-soft); font-size: 15px; line-height: 1.45; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--pv-ink); text-decoration: none; }
.sidebar a:hover { color: var(--pv-blue); text-decoration: underline; }
.sidebar .wp-block-search__inside-wrapper { display: flex; gap: 6px; margin: 14px 18px; }
.sidebar .wp-block-search__input { flex: 1; min-width: 0; border: 1px solid var(--pv-line); padding: 9px 12px; font: inherit; font-size: 14.5px; }
.sidebar .wp-block-search__button { margin: 0; padding: 0 14px; border: 0; background: var(--pv-yellow); color: var(--pv-ink); font: inherit; font-size: 13px; font-weight: 800; text-transform: uppercase; cursor: pointer; }

/* Recherche */
.search-form { display: flex; gap: 6px; max-width: 480px; }
.search-form__input { flex: 1; min-width: 0; border: 1px solid var(--pv-line); padding: 12px 14px; font: inherit; color: var(--pv-text); }
.search-form__input:focus { outline: 2px solid var(--pv-blue); border-color: transparent; }
.search-form__btn { width: 50px; border: 0; background: var(--pv-yellow); color: var(--pv-ink); 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; text-transform: uppercase; }
.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(--pv-line-soft); }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--pv-ink); }
.comment-metadata { margin: 4px 0 10px; font-size: 13px; }
.comment-metadata a { color: var(--pv-muted); text-decoration: none; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--pv-ink); }
.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(--pv-line); font: inherit; color: var(--pv-text); }
.comment-form input:focus, .comment-form textarea:focus { outline: 2px solid var(--pv-blue); border-color: transparent; }
.comment-notes, .logged-in-as { font-size: 14px; color: var(--pv-muted); }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* --- Encart simulation ------------------------------------------------------------------- */
.cta { margin-top: 80px; padding: 0 4vw; }
.cta__box { max-width: calc(var(--pv-max) - 8vw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 40px; align-items: center; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--pv-line-soft); background: var(--pv-sky); }
.cta__title { margin-bottom: 12px; font-size: clamp(24px, 2.6vw, 32px); }
.cta__text { margin: 0; color: var(--pv-text); }
.cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; text-align: center; }
.cta__link { color: var(--pv-blue); font-weight: 800; text-decoration: underline; }
@media (max-width: 860px) { .cta__box { grid-template-columns: 1fr; gap: 24px; } }

/* --- Pied de page --------------------------------------------------------------------------- */
.site-footer { margin-top: 80px; background: var(--pv-ink); border-top: 4px solid var(--pv-yellow); color: var(--pv-white); font-size: 14px; }
.site-footer__inner { max-width: var(--pv-max); margin: 0 auto; padding: 56px 4vw 48px; display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 48px; }
.site-logo--footer { font-size: 26px; margin-bottom: 16px; }
.site-footer__brand p, .site-footer__about p { margin: 0 0 12px; color: rgba(255, 255, 255, .85); line-height: 1.6; }
.fv2-heading { display: block; margin-bottom: 14px; color: var(--pv-yellow); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.footer-menu { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.footer-menu li { margin-bottom: 6px; break-inside: avoid; }
.footer-menu a { color: var(--pv-white); text-decoration: none; }
.footer-menu a:hover { color: var(--pv-yellow); text-decoration: underline; }
.copyright { font-weight: 700; letter-spacing: .04em; }
@media (max-width: 900px) { .site-footer__inner { grid-template-columns: 1fr; gap: 32px; } }

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

@media (max-width: 1320px) { .hero__inner { max-width: none; } }
@media (max-width: 640px) { .hero { padding: 44px var(--pv-gutter) 48px; } .site-main > .container, .related > .container { padding: 0 var(--pv-gutter); } .cta { padding: 0 var(--pv-gutter); } }
