/*
Theme Name: Project Fork
Template: generatepress
Description: GeneratePress child theme for Magazine Project Fork — a French tech/digital/business news magazine.
Version: 1.0.0
Text Domain: projectfork
*/

:root {
	--display: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
	--body: 'Inter', 'Segoe UI', Arial, sans-serif;
	--bg: #fafafa;
}

body {
	background: #fafafa;
	color: #1f2430;
	font-family: var(--body);
}

h1, h2, h3, h4, h5, h6,
.pf-hero-title, .pf-about-title, .pf-newsletter-title, .pf-quiz-title,
.pf-temoignages-title, .pf-texte-video-title, .pf-cat-intro-title,
.main-title {
	font-family: var(--display);
}

a {
	color: #1a56db;
}

.pf-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}

.pf-section-eyebrow {
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: 12px;
	font-weight: 700;
	color: #1a56db;
	margin: 0 0 10px;
}
.pf-section-header-center {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 40px;
}

/* ---------- Hero ---------- */
.pf-hero {
	background: linear-gradient(135deg, #0f172a 0%, #1a56db 100%);
	color: #fff;
	padding: 72px 0 0;
}

.pf-hero-inner {
	display: flex;
	align-items: center;
	gap: 48px;
	flex-wrap: wrap;
}

.pf-hero-text {
	flex: 1 1 480px;
}

.pf-hero-eyebrow {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 13px;
	font-weight: 700;
	color: #93c5fd;
	margin: 0 0 14px;
}

.pf-hero-title {
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.15;
	font-weight: 800;
	margin: 0 0 18px;
}

.pf-hero-subtitle {
	font-size: 18px;
	line-height: 1.6;
	color: #dbe4ff;
	margin: 0 0 28px;
	max-width: 560px;
}

.pf-hero-cta {
	display: inline-block;
	background: #fff;
	color: #0f172a;
	font-weight: 700;
	padding: 13px 26px;
	border-radius: 6px;
	text-decoration: none;
}
.pf-hero-cta:hover { background: #e5e7eb; color: #0f172a; }

.pf-hero-image {
	flex: 1 1 380px;
	max-width: 460px;
}
.pf-hero-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.pf-hero-since {
	display: inline-block;
	margin-left: 10px;
	padding: 3px 10px;
	border-radius: 100px;
	background: rgba(255,255,255,.14);
	color: #dbe4ff;
	font-size: 11px;
	letter-spacing: .06em;
	font-weight: 700;
	vertical-align: middle;
}

/* ---------- Stats band (nested inside hero) ---------- */
.pf-stats-inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	padding: 32px 0;
	margin-top: 40px;
	border-top: 1px solid rgba(255,255,255,.14);
}
.pf-stat { text-align: center; }
.pf-stat-number {
	font-size: 28px;
	font-weight: 800;
	color: #fff;
}
.pf-stat-label {
	font-size: 13px;
	color: #9fb2e8;
	margin-top: 4px;
}
@media (max-width: 720px) {
	.pf-stats-inner { grid-template-columns: repeat(1, 1fr); gap: 16px; }
}

/* ---------- Qui sommes-nous ---------- */
.pf-about {
	padding: 64px 0;
}
.pf-about-inner {
	display: flex;
	align-items: center;
	gap: 48px;
	flex-wrap: wrap;
}
.pf-about-image { flex: 1 1 380px; max-width: 460px; }
.pf-about-image img { width: 100%; height: auto; border-radius: 12px; }
.pf-about-text { flex: 1 1 440px; }
.pf-about-title {
	font-size: 28px;
	font-weight: 800;
	margin: 0 0 16px;
	color: #0f172a;
}
.pf-about-text p {
	font-size: 16px;
	line-height: 1.7;
	color: #374151;
}

/* ---------- Newsletter ---------- */
.pf-newsletter {
	background: linear-gradient(135deg, #10204a 0%, #1a56db 100%);
	color: #fff;
	padding: 60px 0;
}
.pf-newsletter-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}
.pf-newsletter-text { flex: 1 1 420px; }
.pf-section-eyebrow-light { color: #93c5fd; }
.pf-newsletter-title {
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 14px;
	max-width: 520px;
}
.pf-newsletter-desc {
	color: #dbe4ff;
	line-height: 1.6;
	margin: 0 0 16px;
	max-width: 480px;
}
.pf-newsletter-points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	font-size: 13px;
	color: #bcd0ff;
}
.pf-newsletter-points li { padding-left: 18px; position: relative; }
.pf-newsletter-points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #93c5fd;
	font-weight: 700;
}
.pf-newsletter-form { flex: 1 1 380px; max-width: 420px; }
.pf-newsletter-field {
	display: flex;
	background: #fff;
	border-radius: 8px;
	padding: 6px;
	gap: 6px;
}
.pf-newsletter-field input {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 14px;
	font-size: 14px;
	border-radius: 6px;
	color: #1f2430;
	min-width: 0;
}
.pf-newsletter-field button {
	border: none;
	background: #0f172a;
	color: #fff;
	font-weight: 700;
	padding: 12px 20px;
	border-radius: 6px;
	cursor: pointer;
	white-space: nowrap;
}
.pf-newsletter-field button:hover { background: #1a56db; }
.pf-newsletter-confirm {
	margin: 12px 0 0;
	font-size: 14px;
	color: #d1fae5;
	font-weight: 600;
}

/* ---------- Quiz ---------- */
.pf-quiz {
	padding: 64px 0;
	background: #fff;
	border-top: 1px solid #e5e7eb;
}
.pf-quiz-title {
	font-size: 26px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 8px;
}
.pf-quiz-subtitle { color: #6b7280; margin: 0; }
.pf-quiz-form { max-width: 720px; margin: 0 auto; }
.pf-quiz-q {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 20px 22px;
	margin: 0 0 16px;
}
.pf-quiz-q legend {
	font-weight: 700;
	color: #0f172a;
	padding: 0 4px;
	font-size: 15px;
}
.pf-quiz-qnum {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #1a56db;
	color: #fff;
	font-size: 12px;
	margin-right: 8px;
}
.pf-quiz-options {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-top: 12px;
}
@media (max-width: 600px) {
	.pf-quiz-options { grid-template-columns: 1fr; }
}
.pf-quiz-option {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.pf-quiz-option:hover { border-color: #93c5fd; }
.pf-quiz-option input { accent-color: #1a56db; }
.pf-quiz-option.is-correct { border-color: #10b981; background: #ecfdf5; }
.pf-quiz-option.is-wrong { border-color: #ef4444; background: #fef2f2; }
.pf-quiz-submit,
.pf-quiz-retry {
	display: block;
	margin: 8px auto 0;
	border: none;
	background: #1a56db;
	color: #fff;
	font-weight: 700;
	padding: 13px 28px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 15px;
}
.pf-quiz-submit:hover,
.pf-quiz-retry:hover { background: #0f172a; }
.pf-quiz-result {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
	background: #f5f8ff;
	border-radius: 12px;
	padding: 32px;
}
.pf-quiz-score { font-size: 22px; font-weight: 800; color: #0f172a; margin: 0 0 8px; }
.pf-quiz-feedback { color: #374151; margin: 0 0 18px; }

/* ---------- Derniers articles (toutes catégories) ---------- */
.pf-category-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}
.pf-category-title {
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}
.pf-category-title a { color: inherit; text-decoration: none; }
.pf-category-link {
	font-size: 14px;
	font-weight: 700;
	color: #1a56db;
	text-decoration: none;
}
.pf-category-link:hover { text-decoration: underline; }

.pf-article-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media (max-width: 900px) {
	.pf-article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.pf-article-grid { grid-template-columns: 1fr; }
}

.pf-article-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .15s ease, transform .15s ease;
}
.pf-article-card:hover {
	box-shadow: 0 10px 24px rgba(15,23,42,.08);
	transform: translateY(-2px);
}
.pf-article-thumb {
	aspect-ratio: 16/10;
	background: #e5e7eb;
	overflow: hidden;
}
.pf-article-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-article-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.pf-article-cat {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #1a56db;
	margin-bottom: 8px;
}
.pf-article-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 8px;
	color: #0f172a;
}
.pf-article-title a { color: inherit; text-decoration: none; }
.pf-article-title a:hover { color: #1a56db; }
.pf-article-excerpt {
	font-size: 13.5px;
	color: #6b7280;
	line-height: 1.55;
	margin: 0 0 8px;
}
.pf-article-date { font-size: 12px; color: #9ca3af; }

.pf-closing {
	padding: 56px 0 72px;
	background: #0f172a;
	color: #fff;
}
.pf-closing .pf-category-title { color: #fff; }
.pf-closing .pf-article-card { background: #16213e; border-color: #263457; }
.pf-closing .pf-article-title { color: #fff; }
.pf-closing .pf-article-excerpt { color: #9aa5c7; }
.pf-closing .pf-category-link { color: #93c5fd; }
.pf-closing .pf-article-date { color: #6b7ba8; }

/* ---------- Témoignages ---------- */
.pf-temoignages {
	padding: 64px 0;
	background: #f5f8ff;
}
.pf-temoignages-title {
	font-size: 26px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}
.pf-temoignages-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
@media (max-width: 980px) {
	.pf-temoignages-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.pf-temoignages-grid { grid-template-columns: 1fr; }
}
.pf-temoignage-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 22px;
	margin: 0;
}
.pf-temoignage-quote {
	font-size: 14.5px;
	line-height: 1.6;
	color: #374151;
	margin: 0 0 18px;
}
.pf-temoignage-author { display: flex; align-items: center; gap: 10px; }
.pf-temoignage-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #1a56db;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.pf-temoignage-who { display: flex; flex-direction: column; font-size: 13px; }
.pf-temoignage-who strong { color: #0f172a; }
.pf-temoignage-role { color: #6b7280; font-size: 12px; }

/* ---------- Texte + vidéo ---------- */
.pf-texte-video { padding: 64px 0; background: #fff; border-top: 1px solid #e5e7eb; }
.pf-texte-video-inner {
	display: flex;
	align-items: center;
	gap: 48px;
	flex-wrap: wrap;
}
.pf-texte-video-text { flex: 1 1 400px; }
.pf-texte-video-title { font-size: 26px; font-weight: 800; color: #0f172a; margin: 0 0 14px; }
.pf-texte-video-desc { color: #374151; line-height: 1.7; margin: 0; }
.pf-texte-video-media { flex: 1 1 460px; max-width: 560px; }
.pf-video-embed-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(15,23,42,.14);
}
.pf-video-embed-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.pf-video-placeholder {
	width: 100%;
	aspect-ratio: 16/9;
	border-radius: 12px;
	background: linear-gradient(135deg, #0f172a 0%, #1a56db 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.pf-video-play {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255,255,255,.92);
	color: #0f172a;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}

/* ---------- Category sections: shared intro ---------- */
.pf-cat-section { padding: 60px 0; border-top: 1px solid #e5e7eb; }
.pf-cat-intro {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 32px;
	flex-wrap: wrap;
}
.pf-cat-icon {
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border-radius: 10px;
	background: #eef2ff;
	color: #1a56db;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}
.pf-cat-icon svg { width: 100%; height: 100%; }
.pf-cat-intro-text { flex: 1 1 320px; }
.pf-cat-intro-title { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.pf-cat-intro-title a { color: #0f172a; text-decoration: none; }
.pf-cat-intro-desc { margin: 0; color: #6b7280; font-size: 14px; max-width: 620px; }
.pf-cat-intro-link { font-size: 14px; font-weight: 700; color: #1a56db; text-decoration: none; white-space: nowrap; }
.pf-cat-intro-link:hover { text-decoration: underline; }

/* ---- Layout 1 — Numérique: featured + compact list ---- */
.pf-cat-featured .pf-featured-layout {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 32px;
}
@media (max-width: 860px) {
	.pf-cat-featured .pf-featured-layout { grid-template-columns: 1fr; }
}
.pf-featured-main { display: block; }
.pf-featured-thumb { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #e5e7eb; }
.pf-featured-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-featured-body { padding-top: 16px; }
.pf-featured-title { font-size: 22px; font-weight: 800; margin: 0 0 10px; line-height: 1.3; }
.pf-featured-title a { color: #0f172a; text-decoration: none; }
.pf-featured-title a:hover { color: #1a56db; }
.pf-featured-excerpt { color: #6b7280; line-height: 1.6; margin: 0 0 8px; }
.pf-featured-date { font-size: 12px; color: #9ca3af; }
.pf-featured-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pf-featured-list-item { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid #f0f1f3; }
.pf-featured-list-item:last-child { border-bottom: 0; }
.pf-featured-list-thumb { width: 76px; height: 56px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #e5e7eb; display: block; }
.pf-featured-list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-featured-list-body h4 { margin: 0 0 4px; font-size: 14px; line-height: 1.4; }
.pf-featured-list-body h4 a { color: #0f172a; text-decoration: none; }
.pf-featured-list-body h4 a:hover { color: #1a56db; }
.pf-featured-list-body time { font-size: 11px; color: #9ca3af; }

/* ---- Layout 2 — High-Tech: dark uniform card grid ---- */
.pf-cat-cardgrid { background: #0b1120; color: #fff; }
.pf-cat-cardgrid .pf-cat-intro-title a { color: #fff; }
.pf-cat-cardgrid .pf-cat-intro-desc { color: #9aa5c7; }
.pf-cat-cardgrid .pf-cat-icon { background: rgba(124,58,237,.18); color: #a78bfa; }
.pf-cardgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
@media (max-width: 900px) { .pf-cardgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pf-cardgrid { grid-template-columns: 1fr; } }
.pf-cardgrid-item { display: flex; flex-direction: column; }
.pf-cardgrid-thumb {
	position: relative;
	display: block;
	aspect-ratio: 4/3;
	border-radius: 12px;
	overflow: hidden;
	background: #1e293b;
}
.pf-cardgrid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.pf-cardgrid-item:hover .pf-cardgrid-thumb img { transform: scale(1.05); }
.pf-cardgrid-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(11,17,32,.92) 0%, rgba(11,17,32,.15) 55%, transparent 100%);
}
.pf-cardgrid-title {
	position: absolute;
	left: 14px; right: 14px; bottom: 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	color: #fff;
}
.pf-cardgrid-date { font-size: 11px; color: #7c8bb8; margin-top: 8px; display: block; }

/* ---- Layout 3 — Business: horizontal rows ---- */
.pf-cat-rows { background: #fff; }
.pf-rows { display: flex; flex-direction: column; }
.pf-row-item {
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid #e5e7eb;
}
.pf-row-item:last-child { border-bottom: 0; }
.pf-row-thumb { width: 120px; height: 84px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #e5e7eb; display: block; }
.pf-row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-row-body { flex: 1; }
.pf-row-title { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.pf-row-title a { color: #0f172a; text-decoration: none; }
.pf-row-title a:hover { color: #047857; }
.pf-row-excerpt { color: #6b7280; font-size: 13.5px; line-height: 1.55; margin: 0 0 6px; }
.pf-row-date { font-size: 12px; color: #9ca3af; }
.pf-cat-rows .pf-cat-icon { background: #ecfdf5; color: #047857; }

/* ---- Layout 4 — Actualités: vertical timeline ---- */
.pf-cat-timeline { background: #fbf7f0; }
.pf-cat-timeline .pf-cat-icon { background: #fef3c7; color: #b45309; }
.pf-timeline { position: relative; padding-left: 28px; }
.pf-timeline::before {
	content: "";
	position: absolute;
	left: 6px; top: 6px; bottom: 6px;
	width: 2px;
	background: #f0d9a8;
}
.pf-timeline-item { position: relative; padding-bottom: 28px; }
.pf-timeline-item:last-child { padding-bottom: 0; }
.pf-timeline-marker {
	position: absolute;
	left: -28px; top: 3px;
	width: 14px; height: 14px;
	border-radius: 50%;
	background: #fbf7f0;
	border: 2px solid #b45309;
	display: flex; align-items: center; justify-content: center;
}
.pf-timeline-date { font-size: 12px; font-weight: 700; color: #b45309; text-transform: uppercase; letter-spacing: .04em; }
.pf-timeline-title { font-size: 16px; font-weight: 700; margin: 4px 0 6px; }
.pf-timeline-title a { color: #0f172a; text-decoration: none; }
.pf-timeline-title a:hover { color: #b45309; }
.pf-timeline-excerpt { color: #6b7280; font-size: 13.5px; line-height: 1.55; margin: 0; }

/* ---- Layout 5 — Divers: bento mosaic ---- */
.pf-cat-mosaic .pf-cat-icon { background: #f3e8ff; color: #7c3aed; }
.pf-mosaic {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 110px;
	gap: 14px;
}
.pf-mosaic-item { border-radius: 10px; overflow: hidden; }
.pf-mosaic-big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
	.pf-mosaic { grid-template-columns: repeat(2, 1fr); }
	.pf-mosaic-big { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 560px) {
	.pf-mosaic { grid-template-columns: 1fr; grid-auto-rows: 160px; }
	.pf-mosaic-big { grid-column: span 1; grid-row: span 2; }
}
.pf-mosaic-thumb { position: relative; display: block; width: 100%; height: 100%; background: #e5e7eb; }
.pf-mosaic-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-mosaic-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,.85) 0%, transparent 65%); }
.pf-mosaic-title {
	position: absolute;
	left: 12px; right: 12px; bottom: 10px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}
.pf-mosaic-big .pf-mosaic-title { font-size: 17px; }

/* =========================================================================
 * Shared network widgets — comparateur + timeline (see home-render.php's
 * bt_render_comparateur()/bt_render_timeline() dispatchers). This site uses
 * comparateur variant 3 (matrix) and timeline variant 2 (axis); the other
 * variants' CSS is kept here too so this file stays a valid reference
 * implementation for the rest of the network.
 * ========================================================================= */
.pf-widget-section { padding: 72px 0; }
.pf-tl-section { background: #f1f5f9; }
.pf-widget-subtitle { color: #6b7280; margin: 8px 0 0; }

/* ---- Comparateur variant 0 — circular SVG gauges ---- */
.cmp-gauge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.cmp-gauge { width: 140px; text-align: center; }
.cmp-gauge svg { width: 100px; height: 100px; transform: rotate(-90deg); }
.cmp-gauge-track { fill: none; stroke: #e5e7eb; stroke-width: 8; }
.cmp-gauge-fill {
	fill: none;
	stroke: #1a56db;
	stroke-width: 8;
	stroke-linecap: round;
	stroke-dasharray: 264;
	stroke-dashoffset: 264;
	transition: stroke-dashoffset 1.1s ease;
}
.cmp-gauge-num { display: block; margin-top: -66px; font-family: var(--display); font-weight: 700; font-size: 20px; color: #0f172a; }
.cmp-gauge-label { margin: 34px 0 0; font-size: 13px; color: #6b7280; }

/* ---- Comparateur variant 1 — horizontal progress bars ---- */
.cmp-bar-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.cmp-bar-head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.cmp-bar-label { font-weight: 600; color: #0f172a; }
.cmp-bar-num { font-family: var(--display); font-weight: 700; color: #1a56db; }
.cmp-bar-track { background: #e5e7eb; border-radius: 999px; height: 10px; overflow: hidden; }
.cmp-bar-fill { width: 0; height: 100%; background: linear-gradient(90deg, #1a56db, #0f172a); border-radius: 999px; transition: width 1.1s ease; }

/* ---- Comparateur variant 2 — big-number stat-cluster grid ---- */
.cmp-stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
@media (max-width: 700px) { .cmp-stat-grid { grid-template-columns: repeat(2, 1fr); } }
.cmp-stat-num { font-family: var(--display); font-weight: 700; font-size: 34px; color: #1a56db; }
.cmp-stat-label { margin: 6px 0 0; font-size: 13px; color: #6b7280; }

/* ---- Comparateur variant 3 — comparison matrix table ---- */
.cmp-matrix-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 8px; }
.cmp-matrix-scroll { overflow-x: auto; }
.cmp-matrix-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.cmp-matrix-table th, .cmp-matrix-table td { padding: 12px 14px; text-align: left; font-size: 13.5px; }
.cmp-matrix-table thead th { color: #6b7280; font-weight: 600; border-bottom: 1px solid #e5e7eb; }
.cmp-matrix-table th[scope="row"] { font-family: var(--display); font-weight: 600; color: #0f172a; white-space: nowrap; }
.cmp-matrix-table tbody tr + tr th, .cmp-matrix-table tbody tr + tr td { border-top: 1px solid #f1f5f9; }
.cmp-matrix-bar { background: #e5e7eb; border-radius: 999px; height: 8px; width: 90px; overflow: hidden; }
.cmp-matrix-bar-fill { width: 0; height: 100%; background: #1a56db; border-radius: 999px; transition: width 1.1s ease; }
.cmp-matrix-card.is-filled .cmp-matrix-bar-fill { width: var(--pct); }
.cmp-matrix-val { display: block; margin-top: 4px; font-size: 12px; color: #6b7280; }

/* ---- [data-hscroll] wrapper — shared by timeline variants 0 and 2 ----
 * Non-scrolling parent tracks its scrolling first child to toggle
 * edge-fade gradients (is-scrolled / is-end classes, set by JS reading
 * scrollLeft/scrollWidth/clientWidth on scroll — never IntersectionObserver
 * per this project's standard). */
[data-hscroll] { position: relative; }
[data-hscroll]::before, [data-hscroll]::after {
	content: '';
	position: absolute;
	top: 0; bottom: 0;
	width: 56px;
	pointer-events: none;
	z-index: 2;
	opacity: 0;
	transition: opacity .25s ease;
}
[data-hscroll]::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
[data-hscroll]::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); opacity: 1; }
[data-hscroll].is-scrolled::before { opacity: 1; }
[data-hscroll].is-end::after { opacity: 0; }

/* ---- Timeline variant 0 — horizontal scroll-snap year cards ---- */
.tl-hscroll { display: flex; gap: 20px; overflow-x: auto; padding: 4px 8px 16px; scroll-snap-type: x mandatory; }
.tl-card {
	flex: 0 0 240px;
	scroll-snap-align: center;
	scroll-snap-stop: always;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
}
.tl-card-year { font-family: var(--display); font-weight: 700; color: #1a56db; font-size: 22px; }
.tl-card-title { margin: 8px 0 6px; font-size: 16px; }
.tl-card-text { margin: 0; font-size: 13.5px; color: #6b7280; line-height: 1.5; }

/* ---- Timeline variant 1 — vertical alternating zigzag spine ---- */
.tl-zigzag { max-width: 920px; margin: 0 auto; position: relative; }
.tl-zigzag-item {
	display: grid;
	grid-template-columns: 1fr 64px 1fr;
	align-items: center;
	gap: 0 24px;
	min-height: 90px;
}
.tl-zigzag-item--l .tl-zigzag-card { grid-column: 1; text-align: right; }
.tl-zigzag-item--l > div:last-child { grid-column: 3; }
.tl-zigzag-item--r .tl-zigzag-card { grid-column: 3; }
.tl-zigzag-item--r > div:last-child { grid-column: 1; }
.tl-zigzag-dot { grid-column: 2; width: 14px; height: 14px; border-radius: 50%; background: #1a56db; justify-self: center; position: relative; }
.tl-zigzag-dot::before { content: ''; position: absolute; top: -200px; bottom: -200px; left: 50%; width: 2px; background: #e5e7eb; transform: translateX(-50%); z-index: -1; }
.tl-zigzag-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px 20px; }
.tl-zigzag-year { font-family: var(--display); font-weight: 700; color: #1a56db; }
@media (max-width: 640px) {
	.tl-zigzag-item { grid-template-columns: 44px 1fr; }
	.tl-zigzag-item--l .tl-zigzag-card, .tl-zigzag-item--r .tl-zigzag-card { grid-column: 2; text-align: left; }
	.tl-zigzag-item--l > div:last-child, .tl-zigzag-item--r > div:last-child { grid-column: 1; }
	.tl-zigzag-dot { grid-column: 1; }
}

/* ---- Timeline variant 2 — compact horizontal ruler/axis ---- */
.tl-axis-scroll { overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px 8px 30px; }
.tl-axis { display: flex; gap: 46px; position: relative; padding: 0 24px; }
.tl-axis::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #e5e7eb; transform: translateY(-50%); }
.tl-axis-item {
	flex: 0 0 190px;
	position: relative;
	scroll-snap-align: center;
	scroll-snap-stop: always;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.tl-axis-year { font-family: var(--display); font-weight: 700; color: #1a56db; font-size: 15px; }
.tl-axis-dot { width: 10px; height: 10px; border-radius: 50%; background: #1a56db; margin: 8px 0; position: relative; z-index: 1; }
.tl-axis-stem { width: 2px; background: #cbd5e1; }
.tl-axis-item--up { flex-direction: column-reverse; }
.tl-axis-item--up .tl-axis-stem { height: 34px; order: 2; }
.tl-axis-item--up .tl-axis-card { margin-bottom: 10px; }
.tl-axis-item--down .tl-axis-stem { height: 34px; }
.tl-axis-item--down .tl-axis-card { margin-top: 10px; }
.tl-axis-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; width: 100%; text-align: center; }
.tl-axis-card h4 { margin: 0 0 4px; font-size: 14px; }
.tl-axis-card p { margin: 0; font-size: 12px; color: #6b7280; line-height: 1.45; }

@media (max-width: 640px) {
	.cmp-stat-grid { grid-template-columns: repeat(2, 1fr); }
	.tl-axis-item { flex: 0 0 150px; }
}

/* ==========================================================================
   Header — logo, primary nav (header.php)
   ========================================================================== */
.pf-header {
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
	position: relative;
	z-index: 100;
}
.pf-header-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	box-sizing: border-box;
}
.pf-header-branding,
.pf-header-branding a.custom-logo-link {
	display: flex;
	align-items: center;
}
.pf-header-branding img.custom-logo {
	max-height: 48px;
	width: auto;
	height: auto;
	display: block;
}
.pf-header-sitename {
	font-family: var(--display);
	font-weight: 700;
	font-size: 20px;
	color: #0f172a;
	text-decoration: none;
}
.pf-nav-list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
}
.pf-nav-list li { margin: 0; }
.pf-nav-list a {
	color: #1f2430;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
}
.pf-nav-list a:hover,
.pf-nav-list .current-menu-item > a { color: #1a56db; }
.pf-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	padding: 0;
}
.pf-nav-toggle-bar {
	display: block;
	width: 18px;
	height: 2px;
	background: #0f172a;
	margin: 0 auto;
}
@media (max-width: 782px) {
	.pf-nav-toggle { display: flex; }
	.pf-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid #e5e7eb;
		display: none;
	}
	.pf-nav.is-open,
	#pf-primary-menu.is-open { display: block; }
	.pf-nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 8px 24px 16px;
	}
	.pf-nav-list li { width: 100%; }
	.pf-nav-list a { display: block; padding: 10px 0; }
}

/* ==========================================================================
   Footer — 4 columns, dark navy (footer.php)
   ========================================================================== */
.pf-footer {
	background: #0f172a;
	color: #9aa5c7;
	padding: 56px 0 0;
}
.pf-footer-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}
.pf-footer-cols {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 40px;
	border-bottom: 1px solid #263457;
}
.pf-footer-brand p {
	margin: 14px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: #9aa5c7;
	max-width: 320px;
}
.pf-footer-logo img.custom-logo {
	max-height: 40px;
	width: auto;
	height: auto;
	display: block;
	filter: brightness(0) invert(1);
}
.pf-footer-sitename {
	font-family: var(--display);
	font-weight: 700;
	font-size: 18px;
	color: #fff;
	text-decoration: none;
}
.pf-footer-col h4 {
	color: #fff;
	font-family: var(--display);
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 16px;
}
.pf-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pf-footer-col li { margin: 0 0 10px; }
.pf-footer-col a {
	color: #9aa5c7;
	text-decoration: none;
	font-size: 14px;
}
.pf-footer-col a:hover { color: #93c5fd; }
.pf-footer-edited {
	text-align: center;
	font-size: 13px;
	color: #6b7ba8;
	margin: 24px 0 0;
}
.pf-footer-bottom {
	text-align: center;
	padding: 16px 0 28px;
	font-size: 13px;
	color: #6b7ba8;
}
@media (max-width: 900px) {
	.pf-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.pf-footer-cols { grid-template-columns: 1fr; }
}

/* dequeue-safe: no dependency on generate-style */
