/*
Theme Name: GeneratePress Child - E-cyclette (VDL)
Template: generatepress
Version: 1.0.0
Text Domain: generatepress-child
*/

/* Concept « L'atelier du cycliste urbain », haut de gamme — voir ~/.claude/templates/vdl/velo-electrique/design-patterns.md */
:root {
	--ink: #14130F;
	--ink-2: #1E1C17;
	--ink-3: #2A2720;
	--ink-line: rgba(246, 242, 234, 0.12);
	--paper: #F6F2EA;
	--stone: #ECE5D8;
	--white: #FFFDF9;
	--line: #D9D0BF;
	--text: #1C1A15;
	--text-soft: #6A6357;
	--text-on-dark: #B9B1A2;
	--brass: #A9773F;
	--brass-dark: #85592A;
	--brass-light: #C99A62;
	--brass-soft: #F1E5D3;
	--neg: #A4432F;
	--r: 2px;
	--f-head: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--f-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
	background: var(--paper);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea { font-family: var(--f-body); }
h1, h2, h3, h4, h5 {
	font-family: var(--f-head);
	font-weight: 600;
	color: var(--ink);
	letter-spacing: -0.01em;
	line-height: 1.08;
}
a { color: var(--ink); transition: color 0.2s ease; }
a:hover { color: var(--brass-dark); }
::selection { background: var(--brass); color: var(--white); }
img { border-radius: 0; }

/* GeneratePress : on gère nous-mêmes les sections */
.site-content, .one-container .site-content { padding: 0 !important; }
.separate-containers .inside-article, .one-container .inside-article { padding: 0; }
.site-main { margin: 0 !important; }
#page.grid-container { max-width: 1240px; }
.separate-containers .site-main > *, .one-container .site-content, .inside-article { background: transparent !important; }
.container.grid-container { background: transparent; }

/* ---------- Utilitaires ---------- */
.ec-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; }
.ec-mono { font-family: var(--f-mono); }
.ec-label {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--brass-dark); margin-bottom: 22px; text-decoration: none; line-height: 1.4;
}
.ec-label::before { content: ""; width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }
.ec-label-light { color: var(--brass-light); }
.ec-label-link:hover { color: var(--ink); }
.ec-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--brass-dark); }
.ec-h2 { font-size: clamp(2.1em, 4vw, 3.4em); margin: 0 0 18px; max-width: 820px; font-weight: 500; }
.ec-lead { color: var(--text-soft); font-size: 1.08em; line-height: 1.7; max-width: 640px; margin-bottom: 0; }
.ec-arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.ec-text-link { display: inline-flex; gap: 10px; align-items: center; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); text-decoration: none; margin-top: 24px; border-bottom: 1px solid var(--brass); padding-bottom: 4px; }
.ec-text-link:hover { color: var(--brass-dark); }
.ec-text-link:hover .ec-arrow { transform: translateX(5px); }
.ec-grid-bg {
	background-image:
		linear-gradient(rgba(246, 242, 234, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(246, 242, 234, 0.045) 1px, transparent 1px);
	background-size: 40px 40px;
}
.ec-check { list-style: none; margin: 24px 0 32px; padding: 0; }
.ec-check li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
.ec-check li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 16px; height: 1px; background: var(--brass); }

/* ---------- Boutons (rectangulaires, filets) ---------- */
.ec-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.ec-actions-center { justify-content: center; }
.ec-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	padding: 17px 28px; border-radius: var(--r); font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
	text-decoration: none; border: 1px solid transparent; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.ec-btn:hover .ec-arrow { transform: translateX(5px); }
.ec-btn-dark { background: var(--ink); color: var(--paper) !important; }
.ec-btn-dark:hover { background: var(--brass-dark); }
.ec-btn-light { background: var(--paper); color: var(--ink) !important; }
.ec-btn-light:hover { background: var(--brass-light); }
.ec-btn-ghost-light { background: transparent; color: var(--paper) !important; border-color: rgba(246, 242, 234, 0.45); }
.ec-btn-ghost-light:hover { border-color: var(--brass-light); color: var(--brass-light) !important; }
.ec-btn-brass { background: var(--brass); color: var(--white) !important; }
.ec-btn-brass:hover { background: var(--brass-light); color: var(--ink) !important; }

/* ---------- Logo ---------- */
.ec-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; line-height: 1; }
.ec-logo-mark { width: 42px; height: 42px; flex-shrink: 0; }
.ec-logo-text { display: flex; flex-direction: column; gap: 5px; }
.ec-logo-name { font-family: var(--f-head); font-size: 27px; font-weight: 600; letter-spacing: 0.01em; }
.ec-logo-tag { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-soft); }
.ec-logo-light { color: var(--paper); }
.ec-logo-light .ec-logo-tag { color: var(--text-on-dark); }
.ec-logo-mark-only .ec-logo-text { display: none; }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 900; }
.admin-bar .site-header { top: 32px; }
.inside-header { padding: 16px 32px !important; display: flex; align-items: center; justify-content: space-between; gap: 28px; max-width: 1304px; }
.site-branding { flex-shrink: 0; }
.site-branding .main-title { margin: 0; font-size: inherit; line-height: 1; }
.site-branding .main-title a { text-decoration: none; display: block; }
.site-branding .site-description { display: none; }
.main-navigation, .main-navigation ul ul { background: transparent !important; }
.main-navigation .main-nav > ul > li > a { font-family: var(--f-body); font-weight: 600; color: var(--ink) !important; background: transparent !important; position: relative; }
.main-navigation .main-nav > ul > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.main-navigation .main-nav > ul > li > a:hover::after,
.main-navigation .main-nav > ul > li[class*="current-menu-"] > a::after { transform: scaleX(1); }
.ec-header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; margin-left: 12px; border: 1px solid var(--brass); color: var(--ink) !important; text-decoration: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; transition: background 0.25s ease, color 0.25s ease; }
.ec-header-cta .ec-mono { color: var(--brass-dark); letter-spacing: 0; }
.ec-header-cta:hover { background: var(--ink); color: var(--paper) !important; border-color: var(--ink); }
.ec-header-cta:hover .ec-mono { color: var(--brass-light); }

@media (min-width: 769px) {
	.main-navigation { flex: 1; min-width: 0; }
	.main-navigation .inside-navigation { display: flex; align-items: center; justify-content: flex-end; }
	.main-navigation .main-nav { display: flex; justify-content: flex-end; }
	.main-navigation .main-nav > ul { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; }
	.main-navigation .main-nav ul li a { font-size: 14px; letter-spacing: 0.01em; padding: 10px 12px !important; line-height: 1.2; white-space: nowrap; }
}
@media (min-width: 769px) and (max-width: 1180px) {
	.inside-header { padding: 14px 20px !important; gap: 12px; }
	.ec-logo-mark { width: 36px; height: 36px; }
	.ec-logo-name { font-size: 23px; }
	.ec-logo-tag { display: none; }
	.main-navigation .main-nav ul li a { font-size: 12.5px; padding: 8px 7px !important; }
	.main-navigation .main-nav > ul > li > a::after { left: 7px; right: 7px; }
	.ec-header-cta { padding: 9px 12px; margin-left: 6px; font-size: 11px; }
}
@media (min-width: 769px) and (max-width: 940px) {
	.ec-logo-text { display: none; }
}
@media (max-width: 768px) {
	.admin-bar .site-header { top: 0; }
	.inside-header { padding: 12px 18px !important; flex-wrap: nowrap; }
	.ec-logo-mark { width: 36px; height: 36px; }
	.ec-logo-name { font-size: 23px; }
	.ec-logo-tag { font-size: 8.5px; }
	.main-navigation { margin-left: auto; }
	.main-navigation .ec-header-cta { display: none !important; }
	.main-navigation.toggled .ec-header-cta { display: inline-flex !important; margin: 26px 24px 0; padding: 16px 20px; font-size: 13px; width: auto; justify-content: center; }
	.main-navigation .inside-navigation { display: flex; flex-direction: column; align-items: stretch; }
	.main-navigation:not(.toggled) .inside-navigation { align-items: flex-end; }
	.menu-toggle { color: var(--ink) !important; background: transparent !important; border: none !important; padding: 0 !important; height: 42px; display: flex !important; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
	.menu-toggle .mobile-menu { display: none; }
	.main-navigation.toggled { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: 86%; max-width: 380px; background: var(--paper) !important; overflow-y: auto; z-index: 999; box-shadow: -24px 0 60px rgba(20, 19, 15, 0.22); animation: ec-drawer-in 0.28s var(--ease); }
	@keyframes ec-drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
	.main-navigation.toggled .main-nav { padding: 86px 24px 10px; }
	.main-navigation.toggled .main-nav > ul > li { border-bottom: 1px solid var(--line); }
	.main-navigation.toggled .main-nav > ul > li > a { padding: 16px 4px !important; font-size: 24px !important; font-family: var(--f-head); font-weight: 600; }
	.main-navigation.toggled .main-nav > ul > li > a::after { display: none; }
	.main-navigation.toggled .main-nav > ul > li > a:hover { color: var(--brass-dark) !important; }
	.main-navigation.toggled .menu-toggle { position: fixed; top: 22px; right: 22px; left: auto; width: auto; z-index: 1000; }
	.site-header:has(.main-navigation.toggled) { z-index: 1001; }
	.ec-menu-backdrop { position: fixed; inset: 0; background: rgba(20, 19, 15, 0.5); z-index: 998; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
	.ec-menu-backdrop.active { opacity: 1; pointer-events: auto; }
}

/* ---------- Sections ---------- */
.ec-section { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 120px 0; position: relative; }
.ec-stone { background: var(--stone); }
.ec-dark { background-color: var(--ink); color: var(--paper); }
.ec-dark h1, .ec-dark h2, .ec-dark h3 { color: var(--paper); }
.ec-dark .ec-lead, .ec-dark p { color: var(--text-on-dark); }
.ec-section-head { margin-bottom: 64px; }
.ec-section-head-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.ec-section-head-split .ec-h2 { margin-bottom: 0; }

/* ---------- Hero accueil ---------- */
.ec-hero { position: relative; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); min-height: min(92vh, 860px); display: flex; align-items: flex-end; background: var(--ink); color: var(--paper); overflow: hidden; }
.ec-hero-media { position: absolute; inset: 0; }
.ec-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block; transform: scale(1.03); animation: ec-hero-zoom 14s var(--ease) forwards; }
@keyframes ec-hero-zoom { to { transform: scale(1); } }
.ec-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 19, 15, 0.9) 0%, rgba(20, 19, 15, 0.62) 46%, rgba(20, 19, 15, 0.2) 100%), linear-gradient(0deg, rgba(20, 19, 15, 0.75) 0%, rgba(20, 19, 15, 0) 45%); }
.ec-hero-inner { z-index: 1; width: 100%; display: grid; grid-template-columns: 1.35fr 0.8fr; gap: 64px; align-items: end; padding-top: 140px; padding-bottom: 84px; }
.ec-hero h1 { color: var(--paper); font-size: clamp(2.6em, 5.6vw, 5em); font-weight: 500; line-height: 1.02; margin: 0 0 26px; letter-spacing: -0.015em; }
.ec-hero-lead { color: #D8D0C0; font-size: 1.1em; max-width: 590px; margin: 0; }
.ec-hero-spec .ec-spec { background: rgba(20, 19, 15, 0.55); border: 1px solid var(--ink-line); padding: 26px 28px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ec-hero-spec .ec-spec-head { color: var(--brass-light); border-color: var(--ink-line); }
.ec-hero-spec .ec-spec-row span { color: #CFC7B7; }
.ec-hero-spec .ec-spec-row b { color: var(--paper); }
.ec-hero-spec .ec-spec-row i { border-color: rgba(246, 242, 234, 0.25); }

/* ---------- Fiche technique ---------- */
.ec-spec { font-family: var(--f-mono); font-size: 13px; }
.ec-spec-head { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-dark); padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.ec-spec-cap { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin: 0 0 6px; }
.ec-spec-row { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.ec-spec-row span { color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-spec-row i { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); min-width: 16px; }
.ec-spec-row b { font-weight: 500; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ec-spec-dark .ec-spec-row span { color: var(--text-on-dark); }
.ec-spec-dark .ec-spec-row b { color: var(--paper); }
.ec-spec-dark .ec-spec-row i { border-color: rgba(246, 242, 234, 0.22); }

/* ---------- Manifeste ---------- */
.ec-pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.ec-pillar { padding: 40px 40px 8px 0; }
.ec-pillar + .ec-pillar { padding-left: 40px; border-left: 1px solid var(--line); }
.ec-pillar h3 { font-size: 1.85em; font-weight: 500; margin: 18px 0 14px; }
.ec-pillar p { color: var(--text-soft); margin: 0; }

/* ---------- Établi (outils) ---------- */
.ec-tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); }
.ec-tool-card { position: relative; background: var(--ink); padding: 40px; display: flex; flex-direction: column; transition: background 0.3s ease; }
.ec-tool-card:hover { background: var(--ink-2); }
.ec-tool-card-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; align-content: start; }
.ec-tool-card-wide .ec-tool-card-top, .ec-tool-card-wide h3, .ec-tool-card-wide p, .ec-tool-card-wide > .ec-label { grid-column: 1; }
.ec-tool-card-wide .ec-spec { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; }
.ec-tool-card-wide .ec-tool-card-go { grid-column: 1; }
.ec-tool-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.ec-tool-card-icon { width: 46px; height: 46px; border: 1px solid var(--brass); display: inline-flex; align-items: center; justify-content: center; color: var(--brass-light); }
.ec-tool-card-icon svg { width: 22px; height: 22px; }
.ec-tool-card .ec-num { color: var(--brass-light); }
.ec-tool-card h3 { font-size: 1.9em; font-weight: 500; margin: 0 0 12px; }
.ec-tool-card h3 a { color: var(--paper); text-decoration: none; }
.ec-tool-card p { color: var(--text-on-dark); margin: 0 0 26px; font-size: 0.97em; }
.ec-tool-card .ec-spec { margin-top: auto; margin-bottom: 26px; }
.ec-tool-card .ec-spec-cap { color: var(--brass-light); }
.ec-tool-card .ec-spec-row span { color: var(--text-on-dark); }
.ec-tool-card .ec-spec-row b { color: var(--paper); }
.ec-tool-card .ec-spec-row i { border-color: rgba(246, 242, 234, 0.2); }
.ec-tool-card-go { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); }
.ec-tool-card:hover .ec-arrow { transform: translateX(5px); }
.ec-stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
/* Variante claire (page /outils/) */
.ec-tools-grid-light { background: var(--line); border-color: var(--line); margin: 0 0 40px; }
.ec-tools-grid-light .ec-tool-card { background: var(--white); }
.ec-tools-grid-light .ec-tool-card:hover { background: var(--paper); }
.ec-tools-grid-light .ec-tool-card h3 a { color: var(--ink); }
.ec-tools-grid-light .ec-tool-card p { color: var(--text-soft); }
.ec-tools-grid-light .ec-tool-card-icon { color: var(--brass-dark); }
.ec-tools-grid-light .ec-tool-card .ec-num, .ec-tools-grid-light .ec-tool-card-go, .ec-tools-grid-light .ec-tool-card .ec-spec-cap { color: var(--brass-dark); }
.ec-tools-grid-light .ec-tool-card .ec-spec-row span { color: var(--text-soft); }
.ec-tools-grid-light .ec-tool-card .ec-spec-row b { color: var(--ink); }
.ec-tools-grid-light .ec-tool-card .ec-spec-row i { border-color: var(--line); }
.ec-tools-grid-light .ec-tool-card > .ec-label { margin-bottom: 10px; }

/* ---------- Split (guide) ---------- */
.ec-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ec-split-media { position: relative; isolation: isolate; }
.ec-split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.ec-split-media::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--brass); z-index: -1; }

/* ---------- Rubriques ---------- */
.ec-rub-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.ec-rub-card { grid-column: span 2; position: relative; background: var(--white); display: flex; flex-direction: column; }
.ec-rub-card:nth-child(4), .ec-rub-card:nth-child(5) { grid-column: span 3; }
.ec-rub-media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--ink); }
.ec-rub-card:nth-child(n+4) .ec-rub-media { aspect-ratio: 16 / 8; }
.ec-rub-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.ec-rub-card:hover .ec-rub-media img { transform: scale(1.04); }
.ec-rub-body { padding: 26px 28px 30px; border-top: 2px solid transparent; transition: border-color 0.3s ease; flex: 1; }
.ec-rub-card:hover .ec-rub-body { border-color: var(--brass); }
.ec-rub-body h3 { font-size: 1.7em; font-weight: 500; margin: 10px 0 10px; }
.ec-rub-body h3 a { text-decoration: none; color: var(--ink); }
.ec-rub-body p { color: var(--text-soft); margin: 0; font-size: 0.95em; }

/* ---------- Cartes articles ---------- */
.ec-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.ec-post-card { position: relative; display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: 18px; }
.ec-post-card-media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--stone); margin-bottom: 20px; }
.ec-post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.ec-post-card:hover .ec-post-card-media img { transform: scale(1.04); }
.ec-post-card-placeholder { width: 100%; height: 100%; background-color: var(--ink); display: flex; align-items: center; justify-content: center; }
.ec-post-card-placeholder .ec-logo-mark { width: 64px; height: 64px; opacity: 0.8; }
.ec-post-cat { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-dark); }
.ec-post-card h3 { font-size: 1.5em; font-weight: 600; line-height: 1.15; margin: 10px 0 10px; }
.ec-post-card h3 a { color: var(--ink); text-decoration: none; background-image: linear-gradient(var(--brass), var(--brass)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.4s var(--ease); }
.ec-post-card:hover h3 a { background-size: 100% 1px; }
.ec-post-card p { color: var(--text-soft); font-size: 0.94em; margin: 0 0 16px; }
.ec-post-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); }
.ec-read { color: var(--ink); }
.ec-post-card:hover .ec-arrow { transform: translateX(5px); }
.ec-empty-state { border: 1px solid var(--line); padding: 40px; text-align: center; color: var(--text-soft); background: var(--white); }

/* ---------- Persona ---------- */
.ec-persona { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; }
.ec-persona-media { position: relative; isolation: isolate; }
.ec-persona-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; display: block; filter: saturate(0.92); }
.ec-persona-media::after { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--brass); z-index: -1; }
.ec-persona blockquote { font-family: var(--f-head); font-style: italic; font-size: clamp(1.6em, 2.8vw, 2.3em); font-weight: 500; line-height: 1.25; color: var(--ink); margin: 0 0 28px; padding: 0; border: none; }
.ec-persona-name { font-family: var(--f-head); font-size: 1.5em; font-weight: 600; color: var(--ink); margin: 0; }
.ec-persona-role { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin: 4px 0 0; }
.ec-author-section .ec-persona h1 { font-size: clamp(2.6em, 5vw, 4.2em); font-weight: 500; margin: 0 0 26px; }
.ec-author-section .ec-spec { max-width: 520px; margin-bottom: 28px; }
.ec-author-section .ec-lead { margin-bottom: 18px; }

/* ---------- CTA final ---------- */
.ec-final-inner { text-align: center; }
.ec-final-inner .ec-label { justify-content: center; }
.ec-final-inner .ec-h2, .ec-final-inner .ec-lead { margin-left: auto; margin-right: auto; }

/* ---------- Bandeau de page ---------- */
.ec-banner { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); background-color: var(--ink); padding: 104px 0 88px; margin-bottom: 72px; }
.ec-banner h1 { color: var(--paper); font-size: clamp(2.5em, 5vw, 4.3em); font-weight: 500; margin: 0 0 20px; max-width: 900px; }
.ec-banner .ec-label { color: var(--brass-light); }
.ec-banner-lead { color: var(--text-on-dark); font-size: 1.1em; max-width: 680px; margin: 0; }
.page .entry-content { max-width: 1240px; margin: 0 auto; padding: 0 32px 110px; }
.page:not(.home) .entry-content > p, .page:not(.home) .entry-content > h2, .page:not(.home) .entry-content > h3, .page:not(.home) .entry-content > ul { max-width: 760px; }
.page .entry-content h2 { font-size: 2.2em; font-weight: 500; margin: 1.4em 0 0.5em; }
.page .entry-content h3 { font-size: 1.55em; margin: 1.3em 0 0.4em; }

/* ---------- Rubrique ---------- */
.ec-cat-hero { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 100px 0 90px; }
.ec-cat-hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.ec-cat-hero h1 { color: var(--paper); font-size: clamp(2.5em, 5vw, 4.4em); font-weight: 500; margin: 0 0 22px; }
.ec-cat-hero .ec-lead { color: var(--text-on-dark); }
.ec-cat-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ec-tool-ctas { display: grid; gap: 14px; margin: 0 0 48px; }
.ec-tool-cta { display: flex; align-items: center; gap: 22px; padding: 24px 26px; background: var(--ink); color: var(--paper) !important; text-decoration: none; border-left: 3px solid var(--brass); transition: background 0.25s ease; }
.ec-tool-cta:hover { background: var(--ink-2); }
.ec-tool-cta-icon { width: 48px; height: 48px; border: 1px solid var(--brass); display: inline-flex; align-items: center; justify-content: center; color: var(--brass-light); flex-shrink: 0; }
.ec-tool-cta-icon svg { width: 22px; height: 22px; }
.ec-tool-cta-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ec-tool-cta-text .ec-label { margin: 0; color: var(--brass-light); font-size: 11px; }
.ec-tool-cta-text strong { font-family: var(--f-head); font-size: 1.5em; font-weight: 600; color: var(--paper); line-height: 1.15; }
.ec-tool-cta-text span:last-child { color: var(--text-on-dark); font-size: 0.92em; line-height: 1.5; }
.ec-tool-cta > .ec-arrow { color: var(--brass-light); font-size: 1.3em; }
.ec-tool-cta:hover > .ec-arrow { transform: translateX(5px); }

/* ---------- Lecture (piliers, articles) ---------- */
.ec-reading { padding: 80px 0 110px; }
.ec-reading-inner { max-width: 780px; margin: 0 auto; padding: 0 32px; }
.ec-article-body, .ec-pillar-body { font-size: 1.04em; }
.ec-article-body h2, .ec-pillar-body h2 { font-size: 2.15em; font-weight: 600; margin: 1.6em 0 0.55em; }
.ec-article-body h3, .ec-pillar-body h3 { font-size: 1.55em; font-weight: 600; margin: 1.4em 0 0.45em; }
.ec-article-body h4 { font-family: var(--f-body); font-size: 1.05em; font-weight: 700; }
.ec-article-body a, .ec-pillar-body a { text-decoration-color: var(--brass); text-underline-offset: 3px; }
.ec-article-body img, .ec-pillar-body img { display: block; height: auto; margin: 2em auto; }
.ec-article-body figure { margin: 2em 0; }
.ec-article-body figcaption { display: none; }
.ec-article-body blockquote { border-left: 2px solid var(--brass); margin: 2em 0; padding: 4px 0 4px 26px; font-family: var(--f-head); font-size: 1.35em; font-style: italic; color: var(--ink); }
.ec-article-body ul li::marker, .ec-pillar-body ul li::marker { color: var(--brass); }
.ec-article-body table, .ec-pillar-body table { width: 100%; border-collapse: collapse; font-size: 0.92em; margin: 2em 0; display: block; overflow-x: auto; }
.ec-article-body th, .ec-pillar-body th { font-family: var(--f-mono); font-size: 0.82em; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; text-align: left; background: var(--ink); color: var(--paper); padding: 12px 14px; }
.ec-article-body td, .ec-pillar-body td { border-bottom: 1px solid var(--line); padding: 12px 14px; }
.ec-article-head { padding: 88px 0 48px; text-align: center; }
.ec-article-head-inner { max-width: 960px; }
.ec-article-head .ec-label { justify-content: center; }
.ec-article-head h1 { font-size: clamp(2.3em, 4.8vw, 4em); font-weight: 500; line-height: 1.06; margin: 0 auto 30px; }
.ec-article-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); }
.ec-article-meta a { color: var(--ink); text-decoration: none; }
.ec-article-meta .avatar { border-radius: 50%; }
.ec-sep { color: var(--brass); }
.ec-article-cover img { width: 100%; max-height: 640px; object-fit: cover; display: block; }
.ec-reading-article { padding-top: 64px; }

/* Encarts de fin d'article et plugins */
.ec-reading #ez-toc-container { background: var(--stone) !important; border: 1px solid var(--line) !important; border-left: 3px solid var(--brass) !important; border-radius: 0 !important; box-shadow: none !important; padding: 20px 26px !important; margin: 0 0 44px; width: 100% !important; }
.ec-reading #ez-toc-container .ez-toc-title { font-family: var(--f-mono) !important; font-size: 12px !important; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500 !important; color: var(--ink) !important; }
.ec-reading #ez-toc-container a { text-decoration: none; color: var(--ink); }
.ec-reading #ez-toc-container a:hover { color: var(--brass-dark); }
.ec-reading #ez-toc-container ul li { margin: 6px 0; }
.ec-author-box { display: flex; gap: 22px; align-items: flex-start; background: var(--stone); border: 1px solid var(--line); border-left: 3px solid var(--brass); padding: 28px; margin: 56px 0 0; }
.ec-author-box .ec-label { margin-bottom: 6px; }
.ec-author-name { font-family: var(--f-head); font-size: 1.5em; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.ec-author-bio { color: var(--text-soft); font-size: 0.95em; margin: 0; }
.ec-author-box .ec-text-link { margin-top: 14px; }
.ec-related { margin-top: 56px; }
.ec-related > .ec-label { margin-bottom: 8px; }
.ec-related > h2 { font-size: 2em !important; margin: 0 0 18px !important; }
.ec-related .yarpp-related { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--brass); padding: 18px 26px; margin: 0 !important; }
.ec-related .yarpp-related h3 { display: none; }
.ec-related .yarpp-related ol, .ec-related .yarpp-related ul { margin: 0; padding-left: 18px; }
.ec-related .yarpp-related li { padding: 6px 0; }
.ec-related .yarpp-related a { font-family: var(--f-head); font-size: 1.2em; font-weight: 600; text-decoration: none; color: var(--ink); }
.ec-related .yarpp-related a:hover { color: var(--brass-dark); }

/* ---------- Pagination ---------- */
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 64px; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--ink); text-decoration: none; padding: 0 14px; font-family: var(--f-mono); font-size: 13px; border: 1px solid var(--line); }
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-links .dots { border: none; }

/* ---------- Flèche flottante ---------- */
.ec-scroll-jump { position: fixed; right: 22px; bottom: 22px; z-index: 50; background: transparent !important; border: none; padding: 6px; color: #fff; mix-blend-mode: difference; cursor: pointer; }
.ec-scroll-jump svg { width: 30px; height: 30px; display: block; transition: transform 0.3s var(--ease); }
.ec-scroll-jump.is-at-bottom svg { transform: rotate(180deg); }

/* ---------- Footer ---------- */
.site-footer, .site-footer .copyright-bar, .site-footer .site-info, .site-footer .inside-site-info { background: var(--ink) !important; background-color: var(--ink) !important; }
.site-footer { color: var(--text-on-dark); }
.ec-footer-content { max-width: 1304px; margin: 0 auto; padding: 96px 32px 56px; }
.ec-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 0.8fr 0.8fr; gap: 40px; }
.ec-footer-logo { display: inline-block; margin-bottom: 22px; text-decoration: none; }
.ec-footer-about p { color: var(--text-on-dark); font-size: 0.93em; max-width: 340px; margin: 0; }
.ec-footer-title { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-light); margin: 0 0 18px; }
.ec-footer-col ul { list-style: none; margin: 0; padding: 0; }
.ec-footer-col ul li { margin-bottom: 9px; }
.ec-footer-col a { color: var(--paper); text-decoration: none; font-size: 0.93em; }
.ec-footer-col a:hover { color: var(--brass-light); }
.ec-footer-empty { font-style: italic; color: #857D6F; font-size: 0.93em; }
.site-footer .inside-site-info { border-top: 1px solid var(--ink-line); padding: 0 !important; }
.site-footer .copyright-bar { padding: 26px 32px !important; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 20px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; }
.site-footer .copyright { color: #8E8677; }
.ec-footer-legal-menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 4px 20px; }
.ec-footer-legal-menu a { color: #8E8677; text-decoration: none; }
.ec-footer-legal-menu a:hover { color: var(--paper); }

/* ---------- Outils (formulaires et résultats) ---------- */
.ec-tool { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0; margin: 0 0 40px; border: 1px solid var(--line); background: var(--white); }
.ec-tool-form { padding: 38px 40px; background: var(--stone); }
.ec-tool-step + .ec-tool-step { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.ec-tool-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--brass-dark); margin-right: 12px; }
.ec-tool-label { font-family: var(--f-head); font-size: 1.55em; font-weight: 600; color: var(--ink); }
.ec-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 20px; }
.ec-field { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); position: relative; }
.ec-field-wide { grid-column: 1 / -1; }
.ec-field small { font-weight: 400; color: var(--text-soft); font-size: 12.5px; line-height: 1.5; }
.ec-field input, .ec-field select { width: 100%; background: var(--white) !important; border: 1px solid var(--line) !important; border-radius: 0 !important; padding: 13px 14px !important; font-size: 16px !important; color: var(--ink) !important; font-family: var(--f-body); font-weight: 500; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.ec-field input:focus, .ec-field select:focus { outline: none; border-color: var(--ink) !important; box-shadow: 0 0 0 3px rgba(169, 119, 63, 0.22); }
.ec-unit { display: flex; align-items: stretch; }
.ec-unit input { flex: 1; min-width: 0; border-right: none !important; }
.ec-unit em { font-style: normal; font-family: var(--f-mono); font-size: 12px; font-weight: 400; color: var(--text-soft); background: var(--white); border: 1px solid var(--line); border-left: none; padding: 0 14px; display: flex; align-items: center; white-space: nowrap; }
.ec-unit:focus-within em { border-color: var(--ink); }
.ec-seg { display: flex; margin-top: 20px; border: 1px solid var(--ink); background: var(--white); }
.ec-seg label { flex: 1; text-align: center; cursor: pointer; padding: 12px 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); position: relative; transition: background 0.2s ease, color 0.2s ease; line-height: 1.3; }
.ec-seg label + label { border-left: 1px solid var(--ink); }
.ec-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ec-seg label:has(input:checked) { background: var(--ink); color: var(--paper); }
.ec-seg label:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--brass); }
.ec-seg-wrap { flex-wrap: wrap; }
.ec-seg-wrap label { flex: 1 1 30%; }
.ec-check-field { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--ink); cursor: pointer; line-height: 1.45; }
.ec-check-field input { margin-top: 3px; accent-color: var(--ink); width: 16px; height: 16px; flex-shrink: 0; }
.ec-fields .ec-check-field { margin-top: 4px; }
.ec-tool-result { padding: 38px 36px; background: var(--ink); color: var(--paper); position: sticky; top: 96px; align-self: start; }
.ec-result-hero { padding-bottom: 26px; margin-bottom: 18px; border-bottom: 1px solid var(--ink-line); }
.ec-result-hero .ec-label { margin-bottom: 14px; }
.ec-result-hero strong { display: block; font-family: var(--f-head); font-size: clamp(2.8em, 5vw, 3.8em); font-weight: 500; line-height: 1; color: var(--brass-light); font-variant-numeric: tabular-nums; }
.ec-result-hero strong small { font-size: 0.4em; color: var(--text-on-dark); }
.ec-result-hero > span:last-child { display: block; margin-top: 12px; color: var(--text-on-dark); font-size: 0.92em; line-height: 1.55; }
.ec-callout { margin-top: 20px; font-size: 0.9em; color: var(--text-on-dark); line-height: 1.6; }
.ec-callout:not(:empty) { border-left: 2px solid var(--brass); padding-left: 16px; }
.ec-callout strong { color: var(--paper); }
.ec-chart-card { margin-top: 24px; border-top: 1px solid var(--ink-line); padding-top: 20px; }
.ec-chart-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-dark); margin-bottom: 14px; }
.ec-legend { display: inline-flex; align-items: center; gap: 8px; }
.ec-legend i { display: inline-block; width: 14px; height: 2px; }
.ec-legend .l-bike { background: var(--brass-light); }
.ec-legend .l-ref { background: #8E8677; }
.ec-chart { width: 100%; height: auto; display: block; overflow: visible; }
.ec-chart .ec-gl { stroke: rgba(246, 242, 234, 0.08); }
.ec-chart .ec-gt { fill: #8E8677; font-family: var(--f-mono); font-size: 11px; }
.ec-chart .ec-line-bike { fill: none; stroke: var(--brass-light); stroke-width: 2.5; }
.ec-chart .ec-line-ref { fill: none; stroke: #8E8677; stroke-width: 2; stroke-dasharray: 5 5; }
.ec-chart .ec-line-bike-dot { fill: var(--brass-light); }
.ec-chart .ec-line-ref-dot { fill: #8E8677; }
.ec-hbars { display: grid; gap: 10px; }
.ec-hbar { display: grid; grid-template-columns: 58px 1fr 64px; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--text-on-dark); }
.ec-hbar i { height: 10px; background: rgba(246, 242, 234, 0.22); display: block; transition: width 0.4s var(--ease); }
.ec-hbar b { font-weight: 500; text-align: right; color: var(--paper); }
.ec-hbar.is-on i { background: var(--brass-light); }
.ec-hbar.is-on span { color: var(--brass-light); }
.ec-tool-notes { max-width: 820px; font-size: 0.92em; color: var(--text-soft); border-top: 1px solid var(--line); padding-top: 26px; margin-bottom: 64px; }
.ec-tool-notes strong { color: var(--ink); }
/* Autocomplétion des communes */
.ec-ac-list { position: absolute; top: 72px; left: 0; right: 0; z-index: 20; list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--ink); box-shadow: 0 18px 40px rgba(20, 19, 15, 0.16); max-height: 320px; overflow-y: auto; }
.ec-ac-list li { padding: 11px 14px; cursor: pointer; font-weight: 600; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.ec-ac-list li span { font-family: var(--f-mono); font-weight: 400; font-size: 12px; color: var(--text-soft); }
.ec-ac-list li.is-active, .ec-ac-list li:hover { background: var(--stone); }
/* Liste des aides */
.ec-aides-list { display: grid; gap: 10px; margin-top: 20px; }
.ec-aide { border: 1px solid var(--ink-line); background: var(--ink-2); }
.ec-aide summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 15px 16px; }
.ec-aide summary::-webkit-details-marker { display: none; }
.ec-aide-kind { grid-column: 1; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); }
.ec-aide-title { grid-column: 1; color: var(--paper); font-weight: 600; font-size: 0.95em; line-height: 1.35; }
.ec-aide summary b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--f-head); font-size: 1.6em; font-weight: 600; color: var(--paper); }
.ec-aide-body { padding: 0 16px 16px; font-size: 0.88em; color: var(--text-on-dark); }
.ec-aide-body p { margin: 0 0 10px; color: var(--text-on-dark); }
.ec-aide-body strong { color: var(--paper); }
.ec-aide-body a { color: var(--brass-light); }
.ec-aide-body .ec-text-link { color: var(--paper); margin-top: 6px; font-size: 11.5px; }
.ec-aide-meta { font-family: var(--f-mono); font-size: 11px; }
.ec-aide-empty { padding: 16px; font-size: 0.9em; }
.ec-aide-empty p { margin: 0; }
/* Plan d'entretien */
.ec-plan-routine { border: 1px solid var(--ink-line); padding: 16px 18px; margin-bottom: 18px; }
.ec-plan-routine .ec-label { margin-bottom: 8px; }
.ec-plan-routine p { font-size: 0.88em; margin: 6px 0 0; color: var(--text-on-dark); }
.ec-plan-routine b { color: var(--paper); }
.ec-timeline { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow-y: auto; }
.ec-timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--ink-line); }
.ec-tl-date { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass-light); padding-top: 3px; }
.ec-timeline b { color: var(--paper); font-size: 0.95em; display: block; }
.ec-tl-meta { display: block; font-family: var(--f-mono); font-size: 11px; color: #8E8677; margin: 2px 0 4px; }
.ec-timeline p { margin: 0; font-size: 0.85em; color: var(--text-on-dark); line-height: 1.5; }

/* ---------- Formulaire de contact (Fluent Forms) ---------- */
.fluentform { max-width: 760px; }
.fluentform .ff-el-group { margin-bottom: 22px !important; }
.fluentform .ff-el-input--label label { color: var(--ink) !important; font-weight: 600 !important; font-size: 14px; }
.fluentform .ff-el-form-control, .fluentform textarea, .fluentform select { background: var(--white) !important; border: 1px solid var(--line) !important; border-radius: 0 !important; padding: 14px 16px !important; font-size: 16px !important; color: var(--ink) !important; box-shadow: none !important; }
.fluentform .ff-el-form-control:focus { border-color: var(--ink) !important; box-shadow: 0 0 0 3px rgba(169, 119, 63, 0.22) !important; }
.fluentform .ff-btn-submit { background: var(--ink) !important; color: var(--paper) !important; border: none !important; border-radius: var(--r) !important; font-family: var(--f-mono) !important; font-weight: 500 !important; letter-spacing: 0.14em; text-transform: uppercase; padding: 18px 30px !important; font-size: 12.5px !important; }
.fluentform .ff-btn-submit:hover { background: var(--brass-dark) !important; }
.ec-contact-intro { max-width: 760px; font-size: 1.05em; color: var(--text-soft); margin-bottom: 36px; }

/* ---------- Bandeau cookies (CookieAdmin) ---------- */
.cookieadmin_law_container { border-radius: 0 !important; box-shadow: 0 24px 60px rgba(20, 19, 15, 0.25) !important; border: 1px solid var(--line) !important; background: var(--paper) !important; font-family: var(--f-body) !important; }
.cookieadmin_law_container * { font-family: var(--f-body) !important; }
.cookieadmin_btn { border-radius: var(--r) !important; font-weight: 600 !important; box-shadow: none !important; }
.cookieadmin_accept_btn, #cookieadmin_accept_button, .cookieadmin_save_btn { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--paper) !important; }
.cookieadmin_accept_btn:hover, #cookieadmin_accept_button:hover { background: var(--brass-dark) !important; border-color: var(--brass-dark) !important; }
.cookieadmin_reject_btn, .cookieadmin_customize_btn { background: transparent !important; color: var(--ink) !important; border: 1px solid var(--ink) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.ec-hero-inner { grid-template-columns: 1fr; gap: 40px; }
	.ec-hero-spec { max-width: 520px; }
	.ec-split, .ec-persona { gap: 56px; }
	.ec-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.ec-footer-about { grid-column: 1 / -1; }
	.ec-tool { grid-template-columns: 1fr; }
	.ec-tool-result { position: static; }
	.ec-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	body { font-size: 16px; }
	.ec-wrap { padding: 0 20px; }
	.ec-section { padding: 80px 0; }
	.ec-section-head { margin-bottom: 44px; }
	.ec-section-head-split { grid-template-columns: 1fr; gap: 18px; }
	.ec-hero { min-height: 0; }
	.ec-hero-inner { padding-top: 110px; padding-bottom: 56px; }
	.ec-hero::after { background: linear-gradient(0deg, rgba(20, 19, 15, 0.94) 0%, rgba(20, 19, 15, 0.7) 60%, rgba(20, 19, 15, 0.45) 100%); }
	.ec-hero-spec .ec-spec { padding: 20px; }
	.ec-actions .ec-btn { width: 100%; }
	.ec-pillars { grid-template-columns: 1fr; }
	.ec-pillar, .ec-pillar + .ec-pillar { padding: 30px 0 26px; border-left: none; }
	.ec-pillar + .ec-pillar { border-top: 1px solid var(--line); }
	.ec-tools-grid { grid-template-columns: 1fr; }
	.ec-tool-card { padding: 30px 24px; }
	.ec-tool-card-wide { grid-column: auto; display: flex; }
	.ec-tool-card-wide .ec-spec { margin: 0 0 26px; align-self: stretch; }
	.ec-split, .ec-persona, .ec-cat-hero-inner { grid-template-columns: 1fr; gap: 44px; }
	.ec-split-media::after, .ec-persona-media::after { inset: 12px -12px -12px 12px; }
	.ec-persona-media { max-width: 420px; }
	.ec-rub-grid { grid-template-columns: 1fr; gap: 22px; }
	.ec-rub-card, .ec-rub-card:nth-child(4), .ec-rub-card:nth-child(5) { grid-column: auto; }
	.ec-rub-card:nth-child(n+4) .ec-rub-media { aspect-ratio: 3 / 2; }
	.ec-posts-grid { grid-template-columns: 1fr; gap: 40px; }
	.ec-banner { padding: 76px 0 60px; margin-bottom: 48px; }
	.page .entry-content { padding: 0 20px 80px; }
	.ec-cat-hero { padding: 72px 0 64px; }
	.ec-reading { padding: 56px 0 80px; }
	.ec-reading-inner { padding: 0 20px; }
	.ec-article-head { padding: 60px 0 36px; }
	.ec-tool-cta { flex-wrap: wrap; padding: 22px 20px; gap: 16px; }
	.ec-tool-cta > .ec-arrow { display: none; }
	.ec-author-box { flex-direction: column; padding: 22px; }
	.ec-footer-content { padding: 72px 20px 40px; }
	.ec-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
	.ec-tool-form, .ec-tool-result { padding: 28px 20px; }
	.ec-fields { grid-template-columns: 1fr; }
	.ec-seg { flex-wrap: wrap; }
	.ec-seg label { flex: 1 1 45%; }
	.ec-seg label + label { border-left: none; }
	.ec-seg label { border-bottom: 1px solid var(--ink); margin-bottom: -1px; }
	.ec-seg label:nth-child(odd) { border-right: 1px solid var(--ink); }
	.ec-timeline li { grid-template-columns: 1fr; gap: 4px; }
	.ec-hbar { grid-template-columns: 52px 1fr 60px; }
}
@media (max-width: 420px) {
	.ec-footer-grid { grid-template-columns: 1fr; }
	.ec-logo-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
}

/* ---------- Page Qui sommes-nous ---------- */
.ec-about .ec-lead { font-family: var(--f-head); font-size: clamp(1.5em, 2.6vw, 2em); line-height: 1.3; color: var(--ink); max-width: 900px; }
.ec-about-media { margin: 56px 0 40px; position: relative; isolation: isolate; max-width: 1100px; }
.ec-about-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.ec-about-media::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--brass); z-index: -1; }
@media (max-width: 768px) { .ec-about-media::after { inset: 10px -10px -10px 10px; } .ec-about-media img { aspect-ratio: 4 / 3; } }
