/* ==========================================================================
   Horus Energy — styles du thème
   ========================================================================== */
:root {
	--ink: #14130f;
	--ink-2: #4a4843;
	--muted: #6f6c65;
	--line: #e7e2d8;
	--line-2: #d9d3c6;
	--paper: #ffffff;
	--paper-warm: #f7f4ee;
	--night: #12110e;
	--night-2: #1c1a16;
	--night-line: #34312a;
	--night-ink: #f3efe6;
	--night-muted: #b3ada0;
	--ocre: #c48604;
	--ocre-ink: #8f6200;
	--ocre-bright: #e7a21a;
	--ocre-soft: #fbf1dc;
	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgb(20 19 15 / .04), 0 8px 28px -12px rgb(20 19 15 / .14);
	--shadow-lg: 0 2px 6px rgb(20 19 15 / .05), 0 30px 60px -24px rgb(20 19 15 / .28);
	--wide: 1240px;
	--content: 760px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--wp--preset--font-family--sans, Montserrat, system-ui, sans-serif);
	font-feature-settings: "tnum" 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--ocre-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ocre); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.container { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.section-tight { padding-block: clamp(2rem, 5vw, 4rem); }
::selection { background: var(--ocre-soft); color: var(--ink); }

/* ---------- Boutons ---------- */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; gap: .55em;
	border-radius: 999px; padding: .85em 1.6em;
	background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none;
	transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn:hover, .wp-block-button__link:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgb(20 19 15 / .5); }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-ghost, .is-style-ghost .wp-block-button__link { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover, .is-style-ghost .wp-block-button__link:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.is-style-ocre .wp-block-button__link { background: var(--ocre); color: var(--ink); }
.is-style-ocre .wp-block-button__link:hover { background: var(--ocre-bright); color: var(--ink); }
.wp-block-button__link::after { content: "→"; transition: transform .2s var(--ease); }
.wp-block-button__link:hover::after { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: .3rem 0; color: var(--ink-2); font: inherit; font-size: .875rem; font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); cursor: pointer; transition: background .2s; }
.icon-btn:hover:not(:disabled) { background: var(--paper-warm); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Pastille « en direct » ---------- */
.pulse { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ocre); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ocre); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.demo-badge { display: inline-flex; align-items: center; gap: .35em; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .25em .7em; border-radius: 999px; background: var(--ocre-soft); color: var(--ocre-ink); white-space: nowrap; }

/* ==========================================================================
   En-tête
   ========================================================================== */
/* Le flou est porté par un pseudo-élément : un backdrop-filter sur l'en-tête lui-même
   en ferait le bloc conteneur du menu mobile (position: fixed), coupé à 76 px de haut. */
.site-header {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color .3s;
}
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: rgb(255 255 255 / .82);
	backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
	transition: background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled::before { background: rgb(255 255 255 / .92); }
body.nav-open .site-header::before { background: var(--paper); }
.admin-bar .site-header { top: 32px; }
.header-inner { max-width: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: block; flex: none; line-height: 0; }
.brand-img, .brand .horus-logo-svg { height: 46px; width: auto; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.main-nav .menu { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: .25rem; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a { display: block; padding: .55rem .9rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .93rem; white-space: nowrap; }
.main-nav .menu > li > a:hover, .main-nav .menu > .current-menu-item > a, .main-nav .menu > .current-menu-ancestor > a { background: var(--paper-warm); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.main-nav .sub-menu {
	list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + 8px); left: -.5rem; min-width: 250px;
	background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { border-radius: 10px; padding: .6rem .8rem; }
.main-nav .sub-menu a:hover { background: var(--paper-warm); }
.nav-extra { display: flex; align-items: center; gap: .75rem; }
.live-pill {
	display: inline-flex; align-items: center; gap: .5rem; flex: none;
	padding: .45rem .9rem .45rem .8rem; border-radius: 999px;
	background: var(--night); color: var(--night-ink); text-decoration: none; font-weight: 600; font-size: .85rem; font-variant-numeric: tabular-nums;
}
.live-pill:hover { color: #fff; background: #000; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper-warm); color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Sélecteur de langue WPML */
.wpml-ls { padding: 0 !important; border: 0 !important; }
.wpml-ls ul { display: flex; gap: .15rem; }
.wpml-ls a { padding: .3rem .45rem !important; font-size: .8rem; font-weight: 600; text-transform: uppercase; color: var(--muted) !important; border-radius: 6px; }
.wpml-ls .wpml-ls-current-language a { color: var(--ink) !important; }

@media (max-width: 1080px) {
	.nav-toggle { display: grid; }
	.live-pill { margin-left: auto; }
	.nav-toggle { margin-left: 0; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--paper);
		flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 1rem var(--gutter) 2rem; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.main-nav .menu { flex-direction: column; margin: 0; gap: 0; }
	.main-nav .menu > li { border-bottom: 1px solid var(--line); }
	.main-nav .menu a { font-size: 1.15rem; padding: 1rem .25rem; border-radius: 0; }
	.main-nav .menu > li > a:hover { background: none; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem .75rem; min-width: 0; }
	.main-nav .sub-menu a { font-size: 1rem; padding: .5rem .25rem; color: var(--ink-2); }
	.nav-extra { padding-top: 1.25rem; justify-content: space-between; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) {
	.brand-img, .brand .horus-logo-svg { height: 38px; }
	.header-inner { gap: .6rem; }
	.live-pill { font-size: .78rem; padding: .4rem .7rem; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ==========================================================================
   Contenu
   ========================================================================== */
.site-main { min-height: 60vh; }
.entry-content { padding-bottom: clamp(3rem, 8vw, 6rem); }
.entry-content > * { margin-block: 0; }
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content > .alignfull + *, .entry-content > * + .alignfull { margin-top: 0; }
.entry-content > :first-child.alignfull { margin-top: 0; }
.entry-content > :last-child.alignfull { margin-bottom: calc(-1 * clamp(3rem, 8vw, 6rem)); }
.entry-content h2 { margin-top: 3rem; }
.entry-content h3 { margin-top: 2rem; }
.entry-content p, .entry-content li { color: var(--ink-2); }
.entry-content strong { color: var(--ink); }
.section-title { font-size: var(--wp--preset--font-size--x-large); margin-top: clamp(3rem, 7vw, 5rem) !important; }

/* Styles de blocs du thème */
.is-style-eyebrow { font-size: .78rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ocre-ink) !important; display: flex; align-items: center; gap: .6rem; }
.is-style-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.has-text-align-center.is-style-eyebrow { justify-content: center; }
.is-style-lead { font-size: var(--wp--preset--font-size--large) !important; line-height: 1.55; color: var(--ink-2); }
.is-style-check { list-style: none; padding-left: 0; }
.is-style-check li { position: relative; padding-left: 1.9rem; margin-block: .55rem; }
.is-style-check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--ocre-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f6200' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }

.wp-block-group.is-style-warm { background: var(--paper-warm); }
.wp-block-group.is-style-night { background: var(--night); color: var(--night-ink); }
.is-style-night :where(h1, h2, h3, h4, strong) { color: #fff; }
.is-style-night :where(p, li) { color: var(--night-muted); }
.is-style-night .is-style-eyebrow { color: var(--ocre-bright) !important; }
.is-style-night .wp-block-button__link { background: #fff; color: var(--ink); }
.is-style-night .is-style-ghost .wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .3); }
.is-style-night .is-style-ocre .wp-block-button__link { background: var(--ocre); color: var(--ink); }
.is-style-night a:not(.wp-block-button__link) { color: var(--ocre-bright); }
.wp-block-group.is-style-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.wp-block-group.is-style-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.is-style-warm .wp-block-group.is-style-card { border-color: transparent; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-image.alignfull img { border-radius: 0; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); }

/* Section « héro » d'accueil */
.hero-sun { position: relative; overflow: hidden; isolation: isolate; }
.hero-sun::before {
	content: ""; position: absolute; z-index: -1; width: 1100px; height: 1100px; right: -380px; top: -520px; border-radius: 50%;
	background: radial-gradient(circle, rgb(231 162 26 / .38) 0%, rgb(196 134 4 / .14) 32%, transparent 64%);
	animation: breathe 9s ease-in-out infinite alternate;
}
.hero-sun::after {
	content: ""; position: absolute; z-index: -1; inset: 0;
	background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px);
	background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%);
}
@keyframes breathe { to { transform: scale(1.08) translate(-20px, 20px); } }
.hero-sun h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 650; }
.hero-sun h1 em { font-style: normal; color: var(--ocre-bright); }

/* Chiffres clés (texte) */
.big-number { font-size: clamp(2.6rem, 6vw, 4.25rem) !important; font-weight: 650; letter-spacing: -.035em; line-height: 1; color: var(--ink) !important; font-variant-numeric: tabular-nums; margin: 0 !important; }
.is-style-night .big-number { color: #fff !important; }

/* Cartes services : bandeau couleur produit */
.service-card { position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--svc, var(--ocre)); }
.service-card .svc-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--svc, var(--ocre)) 14%, white); color: color-mix(in srgb, var(--svc, var(--ocre)) 70%, black); }
.svc-ecoweb { --svc: #72ab52; } .svc-ecomail { --svc: #7e2c81; } .svc-ecosms { --svc: #c51c72; } .svc-solarcloud { --svc: #559eda; } .svc-horusprod { --svc: #d8b21f; } .svc-domain { --svc: #7f7f83; }
.service-card h3 { margin-top: 1rem !important; }
.service-card .wp-block-buttons { margin-top: auto; }
.price { font-size: 2.25rem !important; font-weight: 650; letter-spacing: -.03em; color: var(--ink) !important; line-height: 1.1; margin-bottom: 0 !important; }
.price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-featured { box-shadow: 0 0 0 2px var(--ocre), var(--shadow-lg) !important; }
.plan-badge { display: inline-block; font-size: .7rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--ocre); color: var(--ink) !important; padding: .3em .8em; border-radius: 999px; }

/* Frise chronologique */
.timeline { position: relative; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--ocre)); }
.timeline li { position: relative; padding: 2.1rem 1.2rem 0 0; margin: 0 !important; }
.timeline li::before { content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--ocre); }
.timeline strong { display: block; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.timeline span { display: block; font-size: .9rem; color: var(--ink-2); margin-top: .25rem; line-height: 1.45; }
.is-style-night .timeline::before { background: linear-gradient(90deg, var(--night-line), var(--ocre)); }
.is-style-night .timeline li::before { background: var(--night); }
.is-style-night .timeline span { color: var(--night-muted); }
@media (max-width: 700px) {
	.timeline { grid-template-columns: 1fr; padding-left: 1.5rem; }
	.timeline::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--line-2), var(--ocre)); }
	.timeline li { padding: 0 0 1.5rem 1rem; }
	.timeline li::before { left: -1.5rem; top: .35rem; }
}

/* ==========================================================================
   En-têtes de page
   ========================================================================== */
.page-hero { background: var(--paper-warm); padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); margin-bottom: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; border: 2px solid rgb(196 134 4 / .22); box-shadow: 0 0 0 70px rgb(196 134 4 / .04), 0 0 0 140px rgb(196 134 4 / .03); pointer-events: none; }
.page-hero-inner { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.page-hero h1 { margin: .4rem 0 0; max-width: 18ch; font-size: clamp(2.2rem, 5vw, 3.75rem); letter-spacing: -.03em; }
.page-lead { font-size: var(--wp--preset--font-size--large); color: var(--ink-2); max-width: 60ch; margin: 1rem 0 0; line-height: 1.55; }
.breadcrumbs { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.page-404 { text-align: center; color: var(--ocre); padding-block: 6rem; }
.page-404 h1, .page-404 .page-lead { margin-inline: auto; color: var(--ink); }
.page-404 .page-lead { color: var(--ink-2); }

.chips { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; padding: .45rem 1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 550; font-size: .88rem; }
.chips a[aria-current], .chips a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ==========================================================================
   Articles
   ========================================================================== */
.article-head { max-width: var(--content); margin: clamp(2rem, 6vw, 4rem) auto 2rem; padding-inline: var(--gutter); box-sizing: content-box; }
.article-head h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.03em; margin: .5rem 0 0; }
.article-cover { max-width: var(--wide); margin: 0 auto 3rem; padding-inline: var(--gutter); }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.article .entry-content { font-size: 1.075rem; }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 4rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.article-nav a { display: inline-flex; gap: .4rem; align-items: center; text-decoration: none; color: var(--ink-2); font-weight: 550; font-size: .9rem; max-width: 40ch; }
.article-nav .next { margin-left: auto; text-align: right; }

.news-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.news-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.news-card a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.news-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-warm); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card a:hover .news-img img { transform: scale(1.04); }
.news-body { padding: 1.25rem 1.4rem 1.5rem; }
.news-body h3 { font-size: 1.12rem; line-height: 1.3; margin: .4rem 0 .5rem; letter-spacing: -.01em; color: var(--ink); }
.news-body p { margin: 0; font-size: .92rem; color: var(--ink-2); line-height: 1.55; }
.news-meta { font-size: .78rem !important; font-weight: 600; color: var(--muted) !important; letter-spacing: .02em; margin: 0; }
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: .4rem; justify-content: center; }
.pagination .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .current { background: var(--ink); color: #fff; }

.plant-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ocre); background: radial-gradient(circle at 50% 50%, var(--ocre-soft), var(--paper-warm)); }

/* ==========================================================================
   Bloc : production en direct
   ========================================================================== */
.live-stats { font-variant-numeric: tabular-nums; }
.live-hero {
	position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 28px;
	background: linear-gradient(160deg, rgb(255 255 255 / .07), rgb(255 255 255 / .02));
	border: 1px solid rgb(255 255 255 / .1); color: var(--night-ink);
	box-shadow: 0 40px 80px -40px rgb(0 0 0 / .6), inset 0 1px 0 rgb(255 255 255 / .06);
	backdrop-filter: blur(6px);
}
.live-head { display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); flex-wrap: wrap; }
.live-head .demo-badge { margin-left: auto; background: rgb(196 134 4 / .18); color: var(--ocre-bright); }
.live-main { display: flex; align-items: baseline; gap: .5rem; margin-top: 1.1rem; }
.live-value { font-size: clamp(3.4rem, 8vw, 5.5rem); font-weight: 650; letter-spacing: -.045em; line-height: .95; color: #fff; }
.live-unit { font-size: 1.5rem; font-weight: 600; color: var(--ocre-bright); }
.live-caption { margin: .5rem 0 0 !important; color: var(--night-muted) !important; font-size: .92rem; }
.live-spark { margin-top: 1.25rem; }
.sparkline { display: block; width: 100%; height: 64px; overflow: visible; }
.sparkline-area { fill: rgb(231 162 26 / .14); }
.sparkline-line { fill: none; stroke: var(--ocre-bright); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sparkline-dot { fill: var(--ocre-bright); stroke: var(--night); stroke-width: 2; vector-effect: non-scaling-stroke; }
.spark-axis { display: flex; justify-content: space-between; font-size: .7rem; color: var(--night-muted); opacity: .7; margin-top: .3rem; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 1.5rem 0 0; background: rgb(255 255 255 / .08); border-radius: 16px; overflow: hidden; }
.kpi { background: rgb(18 17 14 / .55); padding: .9rem 1rem; }
.kpi dt { font-size: .74rem; color: var(--night-muted); font-weight: 600; }
.kpi dd { margin: .25rem 0 0; font-size: 1.25rem; font-weight: 650; color: #fff; letter-spacing: -.02em; white-space: nowrap; }
.kpi .unit { font-size: .8rem; font-weight: 600; color: var(--night-muted); }
.live-foot { margin: 1rem 0 0 !important; font-size: .85rem; color: var(--night-muted) !important; }
.live-foot strong { color: #fff; }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr; } .kpi { display: flex; justify-content: space-between; align-items: baseline; } .kpi dd { margin: 0; } }

/* Variante « bandeau » (fond clair) */
.live-band { display: grid; grid-template-columns: 1.2fr 2fr; gap: 2rem; align-items: center; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--night); color: var(--night-ink); }
.live-band .live-spark, .live-band .live-foot { display: none; }
.live-band .live-head { grid-column: 1 / -1; }
.live-band .live-main { margin: 0; }
.live-band .kpis { margin: 0; }
@media (max-width: 760px) { .live-band { grid-template-columns: 1fr; } }

/* ==========================================================================
   Bloc : tableau de bord
   ========================================================================== */
.dashboard { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow); font-variant-numeric: tabular-nums; }
.dash-bar { display: flex; flex-direction: column; gap: 1rem; }
.dash-plants { display: flex; flex-wrap: wrap; gap: .5rem; }
.plant-chip {
	display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .6rem; border-radius: 999px;
	border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.plant-chip .sw { width: 14px; height: 14px; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 2px var(--paper); border: 1.5px solid var(--c); transition: box-shadow .15s; }
.plant-chip[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: var(--paper-warm); }
.plant-chip[aria-pressed="false"] .sw { background: transparent; }
.plant-chip[aria-pressed="false"] { color: var(--muted); }
.plant-chip.chip-all { border-style: dashed; }
.dash-controls { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-warm); border: 1px solid var(--line); gap: 2px; }
.seg button { border: 0; background: transparent; padding: .5rem 1rem; border-radius: 999px; font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.seg button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgb(20 19 15 / .12); }
.dash-nav { display: flex; align-items: center; gap: .6rem; }
.dash-label { min-width: 12ch; text-align: center; font-weight: 650; font-size: .95rem; }
.dash-nav[hidden] { display: none; }
.dash-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin: 1.5rem 0 1rem; }
.dash-kpi { padding: 1rem 1.1rem; border-radius: 14px; background: var(--paper-warm); }
.dash-kpi dt { font-size: .76rem; font-weight: 600; color: var(--muted); }
.dash-kpi dd { margin: .3rem 0 0; font-size: 1.6rem; font-weight: 650; letter-spacing: -.025em; }
.dash-kpi dd small { font-size: .85rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.dash-chart { position: relative; height: clamp(280px, 42vw, 420px); }
.dash-status { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; pointer-events: none; }
.dash-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.dash-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .82rem; color: var(--ink-2); }
.dash-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.dash-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.dash-table { margin-top: 1rem; overflow-x: auto; }
.dash-table table, .history-table table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.dash-table th, .dash-table td, .history-table th, .history-table td { padding: .45rem .7rem; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.dash-table th:first-child, .dash-table td:first-child, .history-table th:first-child { text-align: left; }
.dash-table thead th, .history-table thead th { color: var(--muted); font-weight: 600; }
.dash-note { margin: 1rem 0 0 !important; font-size: .8rem; }
.dash-note:empty { display: none; }
@media (max-width: 640px) {
	.seg { width: 100%; overflow-x: auto; }
	.seg button { flex: 1; padding: .5rem .7rem; }
	.dash-nav { width: 100%; justify-content: space-between; }
}

/* Historique */
.history-chart { position: relative; height: clamp(260px, 36vw, 380px); }
.history-table { margin-top: 1rem; }
.history-table summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--ink-2); display: inline-flex; gap: .4rem; align-items: center; }
.is-style-night .history-table summary, .is-style-night .history-table th, .is-style-night .history-table td { color: var(--night-muted); border-color: var(--night-line); }

/* ==========================================================================
   Bloc : centrales
   ========================================================================== */
.plant-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.centrales-both .plant-grid { margin-top: 2rem; }
.plant-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.plant-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.plant-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-warm); }
.plant-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.plant-card a:hover .plant-img img { transform: scale(1.05); }
.plant-live { position: absolute; left: .75rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem .35rem .65rem; border-radius: 999px; background: rgb(18 17 14 / .78); color: #fff; font-size: .8rem; font-weight: 600; backdrop-filter: blur(6px); font-variant-numeric: tabular-nums; }
.plant-body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.plant-code { margin: 0 !important; display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem !important; font-weight: 700; letter-spacing: .12em; color: var(--muted) !important; }
.plant-code i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.plant-body h3 { margin: .1rem 0 0 !important; font-size: 1.3rem; letter-spacing: -.02em; }
.plant-city { margin: 0 !important; display: flex; align-items: center; gap: .3rem; color: var(--ink-2) !important; font-size: .9rem; }
.plant-city .icon { color: var(--ocre); }
.plant-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); margin-top: auto; }
.plant-facts dt { font-size: .7rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.plant-facts dd { margin: .15rem 0 0; font-weight: 650; font-size: .98rem; font-variant-numeric: tabular-nums; }
.centrales.is-compact .plant-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.centrales.is-compact .plant-facts { display: none; }
.centrales.is-compact .plant-body h3 { font-size: 1.08rem; }

.plant-map { height: clamp(340px, 46vw, 520px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper-warm); z-index: 0; }
.plant-map .leaflet-tile-pane { filter: grayscale(1) sepia(.18) brightness(1.04) contrast(.92); }
.map-pin { position: relative; }
.map-pin span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 2px 10px rgb(0 0 0 / .3); }
.map-pin span::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--c); opacity: .5; }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow-lg); }
.leaflet-popup-content { font-family: inherit; margin: .9rem 1.1rem; }
.leaflet-popup-content strong { display: block; font-size: 1rem; }
.leaflet-popup-content a { font-weight: 600; }
.leaflet-container { font-family: inherit; }

/* Fiche centrale */
.plant-hero { position: relative; min-height: min(72vh, 640px); display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; }
.plant-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plant-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(18 17 14 / .1) 30%, rgb(18 17 14 / .85)); }
.plant-hero.no-photo { min-height: 380px; background: radial-gradient(circle at 80% 0%, rgb(196 134 4 / .4), transparent 55%), var(--night); }
.plant-hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--wide); margin-inline: auto; padding: 3rem var(--gutter) clamp(2rem, 5vw, 3.5rem); }
.plant-hero h1 { margin: .3rem 0 .5rem; font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -.04em; line-height: 1; }
.plant-hero .breadcrumbs, .plant-hero .breadcrumbs a, .plant-hero .plant-code { color: rgb(255 255 255 / .75) !important; }
.plant-hero .plant-city { color: rgb(255 255 255 / .9) !important; font-size: 1.05rem; }
.plant-stats { max-width: var(--wide); margin: -2.25rem auto 3rem; padding-inline: var(--gutter); position: relative; z-index: 2; }
.stat-strip { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.stat { background: var(--paper); padding: 1.1rem 1.25rem; }
.stat dt { font-size: .74rem; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: .45rem; }
.stat dd { margin: .35rem 0 0; font-size: 1.5rem; font-weight: 650; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.stat dd small { font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.stat .stat-text { font-size: .95rem; font-weight: 550; letter-spacing: 0; line-height: 1.4; }
.stat.is-live { background: var(--night); }
.stat.is-live dt { color: var(--night-muted); }
.stat.is-live dd { color: #fff; }
.stat.is-live dd small { color: var(--ocre-bright); }
.stat-wide { grid-column: span 2; }
.plant-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; margin-top: 2.5rem !important; }
.plant-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.plant-map-single { height: 360px; }

/* ==========================================================================
   Bloc : comment ça marche (schéma isométrique)
   ========================================================================== */
.how-it-works { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .how-it-works { grid-template-columns: 1fr; } }
.hiw-stage svg { display: block; width: 100%; height: auto; }
.hiw-side .seg { margin-bottom: 1.5rem; }
.hiw-text h3 { margin: 0 0 .6rem; font-size: 1.6rem; }
.hiw-text p { margin: 0; font-size: 1.05rem; line-height: 1.65; }
.hiw-text:not([hidden]) { animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

.hiw-stage .sky { fill: #f6efe2; transition: fill .8s; }
.hiw-stage .slab .f-top { fill: #ece5d6; } .hiw-stage .slab .f-left { fill: #ddd4c1; } .hiw-stage .slab .f-right { fill: #d2c8b3; }
.hiw-stage .building .f-top { fill: #fbf8f2; } .hiw-stage .building .f-left { fill: #ebe5d9; } .hiw-stage .building .f-right { fill: #dcd4c4; }
.hiw-stage .house .f-top { fill: #f2ede4; } .hiw-stage .house .f-left { fill: #e2dacb; } .hiw-stage .house .f-right { fill: #d2c8b6; }
.hiw-stage .datacenter .f-top { fill: #3b3934; } .hiw-stage .datacenter .f-left { fill: #2a2925; } .hiw-stage .datacenter .f-right { fill: #1d1c19; }
.hiw-stage .inverter .f-top { fill: #fff; } .hiw-stage .inverter .f-left { fill: #e7a21a; } .hiw-stage .inverter .f-right { fill: #c48604; }
.hiw-stage .rack { fill: #151411; }
.hiw-stage .led { fill: #6fd28a; animation: blink 2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hiw-stage .panel { fill: #1f3150; stroke: #8fa6c8; stroke-width: .6; }
.hiw-stage .panel-cell { stroke: #5f78a0; stroke-width: .6; }
.hiw-stage .pylon line, .hiw-stage .pylon polyline { stroke: #6f6c65; stroke-width: 1.4; fill: none; }
.hiw-stage .cable { fill: none; stroke: #8b877d; stroke-width: 1.4; }
.hiw-stage .flow { fill: none; stroke: var(--ocre-bright); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 2 14; opacity: 0; transition: opacity .5s; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.hiw-stage[data-mode="day"] .flow-day, .hiw-stage .flow-all { opacity: 1; }
.hiw-stage[data-mode="night"] .flow-night { opacity: 1; stroke: #8fb6ff; }
.hiw-stage[data-mode="night"] .flow-all { stroke: #8fb6ff; }
.hiw-stage[data-mode="year"] .flow-day { opacity: .9; }
.hiw-stage[data-mode="year"] .flow-out { stroke-width: 6; }
.hiw-stage .sun { transition: opacity .8s, transform .8s var(--ease); transform-origin: 96px 86px; }
.hiw-stage .sun-glow { fill: rgb(231 162 26 / .18); animation: breathe-s 4s ease-in-out infinite alternate; transform-origin: 96px 86px; }
@keyframes breathe-s { to { transform: scale(1.15); } }
.hiw-stage .sun-ring { fill: none; stroke: var(--ocre); stroke-width: 4; }
.hiw-stage .sun-core { fill: var(--ocre); }
.hiw-stage .moon, .hiw-stage .stars { opacity: 0; transition: opacity .8s; }
.hiw-stage .moon circle { fill: #e9edf5; } .hiw-stage .moon .moon-cut { fill: #1b2233; }
.hiw-stage .stars circle { fill: #e9edf5; }
.hiw-stage[data-mode="night"] .sky { fill: #1b2233; }
.hiw-stage[data-mode="night"] .sun { opacity: 0; transform: translateY(40px); }
.hiw-stage[data-mode="night"] .moon, .hiw-stage[data-mode="night"] .stars { opacity: 1; }
.hiw-stage[data-mode="night"] .slab .f-top { fill: #3a4256; } .hiw-stage[data-mode="night"] .slab .f-left { fill: #2f3647; } .hiw-stage[data-mode="night"] .slab .f-right { fill: #282e3d; }
.hiw-stage[data-mode="night"] .building .f-top, .hiw-stage[data-mode="night"] .house .f-top { fill: #5b6378; }
.hiw-stage[data-mode="night"] .building .f-left, .hiw-stage[data-mode="night"] .house .f-left { fill: #4a5165; }
.hiw-stage[data-mode="night"] .building .f-right, .hiw-stage[data-mode="night"] .house .f-right { fill: #3f4558; }
.hiw-stage[data-mode="night"] .house .f-left { fill: #e7b75a; }
.hiw-stage[data-mode="night"] .tag text { fill: #fff; }
.hiw-stage .slab polygon, .hiw-stage .building polygon, .hiw-stage .house polygon { transition: fill .8s; }
.hiw-stage .tag circle { fill: var(--ink); }
.hiw-stage .tag-n { fill: #fff !important; font: 700 12px Montserrat, sans-serif; text-anchor: middle; }
.hiw-stage .tag-t { fill: var(--ink); font: 650 14px Montserrat, sans-serif; }
.hiw-stage[data-mode="night"] .tag circle { fill: var(--ocre); }
@media (prefers-reduced-motion: reduce) {
	.hiw-stage .flow, .hiw-stage .led, .hiw-stage .sun-glow, .hero-sun::before, .pulse::after { animation: none; }
	.hiw-stage .flow { stroke-dasharray: none; }
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { background: var(--night); color: var(--night-muted); padding: clamp(3rem, 7vw, 5rem) 0 1.5rem; font-size: .92rem; }
.footer-inner { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 1.3fr 2fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.footer-brand .horus-logo-svg { width: 200px; height: auto; }
.footer-brand p { max-width: 34ch; line-height: 1.6; }
.footer-counter { display: flex; align-items: center; gap: .5rem; color: var(--ocre-bright); }
.footer-counter strong { color: #fff; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; }
.footer-menu > li > a { color: #fff; font-weight: 650; text-decoration: none; display: block; margin-bottom: .6rem; }
.footer-menu .sub-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu .sub-menu a { display: block; padding: .25rem 0; color: var(--night-muted); text-decoration: none; }
.footer-menu a:hover { color: var(--ocre-bright); }
.footer-contact { font-style: normal; line-height: 1.75; }
.footer-contact strong { color: #fff; }
.footer-contact a { color: var(--ocre-bright); }
.footer-bottom { max-width: var(--wide); margin: 3rem auto 0; padding: 1.5rem var(--gutter) 0; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.legal-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.legal-menu a { color: var(--night-muted); text-decoration: none; }
.legal-menu a:hover { color: #fff; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Apparition au défilement
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ==========================================================================
   Sections de page (blocs Groupe)
   ========================================================================== */
.entry-content > .section, .section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section > * + * { margin-top: 1.25rem; }
.section > .alignwide, .section > .wp-block-columns, .section > .horus-block { margin-top: clamp(2rem, 4vw, 3rem) !important; }
.section > h2 { max-width: 22ch; margin-top: .75rem !important; }
.section > h2.has-text-align-center { margin-inline: auto !important; }
.section > .is-style-lead { max-width: 62ch; }
.section > .is-style-lead.has-text-align-center { margin-inline: auto !important; }
.section-hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 9vw, 7.5rem); }
.section-hero .hero-cols { gap: clamp(2rem, 5vw, 4.5rem); margin-top: 0 !important; }
.section-hero .is-style-lead { color: var(--night-muted); max-width: 46ch; }
.section-hero .wp-block-buttons { margin-top: 2rem; }
@media (max-width: 781px) { .hero-cols .wp-block-column { flex-basis: 100% !important; } }

.cards-grid { gap: clamp(1rem, 2.5vw, 1.5rem) !important; }
.is-layout-grid > .is-style-card { display: flex; flex-direction: column; }
.is-layout-grid > .is-style-card > * { margin-block: 0; }
.is-layout-grid > .is-style-card > * + * { margin-top: .75rem; }
.is-layout-grid > .is-style-card > h3 { margin-top: .5rem !important; font-size: 1.3rem; }
.is-layout-grid > .is-style-card > p:not(.is-style-eyebrow):not(.price) { font-size: .95rem; }
.is-layout-grid > .is-style-card > .wp-block-buttons { margin-top: auto; padding-top: 1.25rem; }
.svc-price { font-size: .9rem !important; color: var(--muted) !important; margin-top: 1rem !important; }
.svc-price strong { font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.service-card .is-style-eyebrow { color: color-mix(in srgb, var(--svc) 75%, black) !important; }
.price + p { margin-top: 0 !important; color: var(--muted) !important; font-size: .88rem !important; }

/* Frise (liste) */
ul.timeline li { font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
ul.timeline li strong { display: block; font-size: 1.5rem; margin-bottom: .2rem; }
.is-style-night ul.timeline li { color: var(--night-muted); }
.is-style-night ul.timeline li strong { color: #fff; }

/* Bloc live dans le héro : pas de marge parasite */
.hero-cols .live-stats { margin: 0 !important; }

/* --- Correctifs après revue visuelle --- */
.section > :is(h2, p, .wp-block-buttons):not(.has-text-align-center):not(.alignwide):not(.alignfull) {
	margin-left: max(0px, calc((100% - var(--wide)) / 2)) !important;
	margin-right: auto !important;
	max-width: 760px;
}
.section > h2 { max-width: 20ch !important; text-wrap: balance; }
.section > h2.has-text-align-center { margin-inline: auto !important; }
.entry-content .is-style-night p, .entry-content .is-style-night li { color: var(--night-muted); }
.entry-content .is-style-night .hiw-text p { color: var(--night-ink); opacity: .82; }
.entry-content .is-style-night strong { color: #fff; }
.live-num { white-space: nowrap; }
.news-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.news-grid:has(> :only-child), .news-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(auto-fill, minmax(280px, 380px)); }
.live-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "head head" "main kpis" "cap kpis"; row-gap: .4rem; }
.live-band .live-head { grid-area: head; }
.live-band .live-main { grid-area: main; }
.live-band .live-caption { grid-area: cap; margin: 0 !important; }
.live-band .kpis { grid-area: kpis; align-self: center; }
@media (max-width: 760px) { .live-band { grid-template-columns: 1fr; grid-template-areas: "head" "main" "cap" "kpis"; } .live-band .kpis { margin-top: 1rem; } }
.stat-wide { grid-column: 1 / -1; }
.entry-content:has(> .alignwide) > :is(h2, h3, p, ul, .wp-block-buttons):not(.alignwide):not(.alignfull):not(.has-text-align-center) {
	margin-left: max(0px, calc((100% - var(--wide)) / 2)) !important;
	margin-right: auto !important;
}
@media (max-width: 640px) {
	.dash-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
	.dash-kpi { padding: .7rem .75rem; }
	.dash-kpi dt { font-size: .68rem; line-height: 1.3; }
	.dash-kpi dd { font-size: 1.15rem; }
	.dash-kpi dd small { display: block; font-size: .72rem; }
}

/* Formules d'hébergement */
.plans-grid { align-items: stretch; }
.plans-grid > .is-style-card .is-style-check { font-size: .92rem; margin-top: 1rem !important; }
.plans-grid > .is-style-card .is-style-check li { margin-block: .4rem; }
.plan-badge { align-self: flex-start; margin-bottom: .25rem !important; }
.plan-featured { position: relative; }
.plan-custom { gap: 2rem; background: var(--paper-warm) !important; border-color: transparent !important; box-shadow: none !important; }
.plan-custom:hover { transform: none !important; }
.plan-custom > .wp-block-group > * { margin-block: 0; }
.plan-custom > .wp-block-group > * + * { margin-top: .5rem; }
.plan-custom > .wp-block-group p:last-child { max-width: 60ch; }
.plan-custom .wp-block-buttons { flex: none; }
@media (max-width: 700px) { .plan-custom { flex-wrap: wrap !important; } }
.plans-grid.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)) !important; }
.wp-block-button__link, .btn { white-space: nowrap; }
.plant-weather { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; margin: 1rem 0 0; font-size: .9rem; color: var(--ink-2); }
.plant-weather .icon { color: var(--ocre); }
.plant-weather strong { color: var(--ink); }

/* ==========================================================================
   Formulaires
   ========================================================================== */
.btn-ocre { background: var(--ocre); color: var(--ink); }
.btn-ocre:hover { background: var(--ocre-bright); color: var(--ink); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.horus-form { display: grid; gap: 1.5rem; }
.horus-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; }
.horus-form legend { font-weight: 650; font-size: 1.05rem; margin-bottom: .75rem; padding: 0; }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.f-grid .f-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }
.f-field { display: grid; gap: .4rem; }
.f-field[hidden] { display: none; }
.f-field > span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.f-field small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.f-field abbr, .f-check abbr { color: var(--ocre-ink); text-decoration: none; }
.horus-form input[type="text"], .horus-form input[type="email"], .horus-form input[type="tel"], .horus-form select, .horus-form textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
	border: 1.5px solid var(--line-2); border-radius: 12px; padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s;
}
.horus-form textarea { resize: vertical; min-height: 140px; }
.horus-form select { appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4843' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .8rem center / 18px no-repeat; padding-right: 2.5rem; }
.horus-form :is(input, select, textarea):focus { outline: none; border-color: var(--ocre); box-shadow: 0 0 0 4px rgb(196 134 4 / .15); }
.horus-form.was-validated :is(input, select, textarea):invalid { border-color: #c2410c; }
.f-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.f-check input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--ocre); flex: none; }
.f-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.f-note { margin: 0 !important; font-size: .8rem !important; color: var(--muted) !important; max-width: 46ch; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-status { padding: 1rem 1.2rem; border-radius: 12px; background: #e9f6ec; color: #14532d; font-weight: 600; }
.f-status.is-error { background: #fdecea; color: #8a1c1c; }
.horus-form.is-sent fieldset, .horus-form.is-sent > .f-field, .horus-form.is-sent .f-check { opacity: .55; }
.form-block { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow); }

/* Page contact : coordonnées */
.contact-cols { gap: clamp(2rem, 5vw, 4rem) !important; align-items: flex-start !important; }
.contact-cols > .wp-block-column { align-self: flex-start !important; }
.contact-info h3 { font-size: .78rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ocre-ink); margin: 2rem 0 .5rem !important; }
.contact-info h3:first-child { margin-top: 0 !important; }
.contact-info p { margin: 0 !important; line-height: 1.7; }
.contact-info .big-contact { font-size: 1.35rem !important; font-weight: 650; color: var(--ink) !important; letter-spacing: -.01em; }
.contact-info .big-contact a { color: var(--ink); text-decoration: none; }
.contact-info .big-contact a:hover { color: var(--ocre-ink); }
.contact-info code { font-family: inherit; font-variant-numeric: tabular-nums; background: var(--paper-warm); padding: .1em .4em; border-radius: 6px; color: var(--ink); }

/* ==========================================================================
   Références
   ========================================================================== */
.ref-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.ref-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.ref-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ref-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-warm); border-bottom: 1px solid var(--line); }
.ref-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.ref-card:hover .ref-img img { transform: scale(1.03); }
.ref-body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.ref-host { margin: 0 !important; font-size: .74rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; }
.ref-body h3 { margin: 0 !important; font-size: 1.2rem; letter-spacing: -.015em; }
.ref-sub { margin: 0 !important; font-weight: 550; color: var(--ink-2) !important; font-size: .95rem; }
.ref-desc { font-size: .9rem; color: var(--ink-2); }
.ref-desc p { margin: .5rem 0 0; }
.ref-link { margin-top: auto; padding-top: .9rem; font-weight: 650; font-size: .9rem; text-decoration: none; }
.ref-videos { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.ref-video, .ref-iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; margin: 0; }
.ref-video { position: relative; cursor: pointer; overflow: hidden; color: #fff; background: radial-gradient(circle at 70% 20%, rgb(196 134 4 / .55), transparent 55%), var(--night); }
.ref-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.ref-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; display: grid; place-items: center; background: var(--ocre); color: var(--ink); box-shadow: 0 10px 30px -8px rgb(0 0 0 / .6); transition: transform .2s var(--ease); }
.ref-video:hover .ref-play { transform: scale(1.08); }
.ref-video-note { position: absolute; left: 0; right: 0; bottom: .6rem; font-size: .72rem; color: rgb(255 255 255 / .75); text-align: center; }
.ref-desc { display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.ref-desc p:first-child { margin-top: .25rem; }

/* Sélecteur de langue */
.lang-switch { position: relative; flex: none; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: .3rem; height: 36px; padding: 0 .6rem; border-radius: 999px; cursor: pointer; font-size: .82rem; font-weight: 650; color: var(--ink); border: 1.5px solid var(--line-2); transition: border-color .15s; user-select: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--ink); }
.lang-switch summary .icon-chev-d { opacity: .6; transition: transform .2s; }
.lang-switch[open] summary .icon-chev-d { transform: rotate(180deg); }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: .4rem; min-width: 170px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.lang-switch a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem .75rem; border-radius: 9px; text-decoration: none; color: var(--ink); font-weight: 550; font-size: .92rem; }
.lang-switch a small { color: var(--muted); font-weight: 650; font-size: .72rem; letter-spacing: .06em; }
.lang-switch a:hover { background: var(--paper-warm); }
.lang-switch a[aria-current] { background: var(--ocre-soft); }
@media (max-width: 1080px) { .lang-switch { margin-left: auto; } .lang-switch + .live-pill { margin-left: 0; } }
@media (max-width: 480px) { .lang-switch summary .icon-globe { display: none; } .lang-switch summary { padding: 0 .5rem; } }

/* Ensoleillement sous la production */
.dash-weather { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.dash-sub { margin: 0 0 .5rem !important; font-size: .85rem !important; font-weight: 600; color: var(--ink-2) !important; display: flex; align-items: center; gap: .5rem; }
.dash-sub-dot { width: 12px; height: 3px; border-radius: 2px; background: var(--ocre); }
.dash-chart-sm { height: clamp(150px, 18vw, 200px); }

/* Encadré météo de la fiche centrale */
.weather-panel { margin-top: clamp(3rem, 7vw, 5rem) !important; }
.wx-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem 1.5rem; flex-wrap: wrap; }
.wx-head .section-title { margin: 0 !important; }
.wx-meta { margin: 0 !important; font-size: .85rem !important; color: var(--muted) !important; }
.wx-grid { margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.wx-tile { background: var(--paper-warm); border-radius: 16px; padding: 1rem 1.15rem; }
.wx-tile dt { font-size: .74rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.wx-tile dd { margin: .35rem 0 0; font-weight: 650; font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.wx-tile dd small { font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.wx-note { margin: .2rem 0 0 !important; font-size: .8rem !important; color: var(--ink-2) !important; }
.wx-main { background: var(--night); }
.wx-main dt, .wx-main .wx-note { color: var(--night-muted) !important; }
.wx-main dd, .wx-main dd small { color: #fff; }
.wx-main dd { font-size: 2rem; }
.wx-sun dd { font-size: 1.25rem; }
.wx-sep { color: var(--ocre); }
.wx-arrow { display: inline-block; transform: rotate(var(--deg, 0deg)); color: var(--ocre-ink); font-weight: 700; }

/* Galerie des centrales (lightbox) */
.plant-gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; }
.plant-gallery a[hidden] { display: none; }
.plant-gallery img { transition: transform .5s var(--ease); }
.plant-gallery a:hover img { transform: scale(1.04); }
.plant-photos-btn { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / .35); background: rgb(18 17 14 / .45); color: #fff; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s; }
.plant-photos-btn:hover { background: rgb(18 17 14 / .7); }
/* Lightbox (GLightbox) aux couleurs du site */
.glightbox-container .gslide-description { background: transparent !important; }
.glightbox-container .gdesc-inner { padding: .9rem .25rem 0 !important; }
.glightbox-container .gslide-title { font-family: Montserrat, system-ui, sans-serif !important; font-size: .95rem !important; font-weight: 600 !important; color: #fff !important; margin: 0 !important; }
.glightbox-container .gslide-image img { border-radius: 12px; }
.goverlay { background: rgb(18 17 14 / .94) !important; }

/* Langues dans le menu mobile (sous 600 px, le sélecteur quitte l'en-tête) */
.lang-inline { display: none; }
@media (max-width: 600px) {
	.header-inner > .lang-switch { display: none; }
	.header-inner > .live-pill { margin-left: auto; }
	.lang-inline { display: flex; align-items: center; gap: .6rem; color: var(--muted); }
	.lang-inline ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
	.lang-inline a { display: block; padding: .45rem .8rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
	.lang-inline a[aria-current] { background: var(--ocre-soft); color: var(--ocre-ink); }
	.nav-extra { flex-wrap: wrap; gap: 1rem; }
}
@media (max-width: 359px) {
	.header-inner { gap: .4rem; }
	.brand-img, .brand .horus-logo-svg { height: 32px; }
	.live-pill { padding: .35rem .6rem; font-size: .74rem; gap: .35rem; }
	.nav-toggle { width: 40px; height: 40px; }
}

/* Équipe (À propos) */
.team-grid { gap: clamp(1rem, 2.5vw, 1.5rem) !important; }
.team-card { padding: 0 !important; overflow: hidden; }
.team-card > * { margin-left: 1.25rem !important; margin-right: 1.25rem !important; }
.team-card > .team-photo { margin: 0 !important; }
.team-card .team-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 0 !important; }
.team-card > h3 { margin-top: 1.1rem !important; font-size: 1.2rem !important; }
.team-card .team-role { margin-top: .2rem !important; font-size: .78rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-ink) !important; }
.team-card .team-area { margin-top: .35rem !important; font-size: .9rem !important; }
.team-card > :last-child { margin-bottom: 1.3rem !important; }
.memorial { margin-top: clamp(2.5rem, 6vw, 4rem) !important; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--paper-warm); }
.memorial-cols { margin: 0 !important; gap: clamp(1.25rem, 3vw, 2rem) !important; }
.memorial-photo img { width: 100%; max-width: 180px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px !important; filter: grayscale(1); }
.memorial h3 { margin-top: 0 !important; }
@media (max-width: 781px) { .memorial-cols .wp-block-column { flex-basis: 100% !important; } }
.team-grid.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)) !important; }
.entry-content:has(> .alignwide) > .memorial { margin-left: max(0px, calc((100% - var(--wide)) / 2)) !important; margin-right: auto !important; max-width: 820px; }
@media (max-width: 600px) {
	.team-grid.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .75rem !important; }
	.team-card > * { margin-left: .85rem !important; margin-right: .85rem !important; }
	.team-card > h3 { font-size: 1rem !important; }
}

/* ==========================================================================
   Page météo des stations
   ========================================================================== */
.wxs-grid { list-style: none; margin: 0 0 clamp(2rem, 5vw, 3rem); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.wxs-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .75rem; box-shadow: var(--shadow); }
.wxs-top { display: flex; gap: .65rem; align-items: flex-start; }
.wxs-top i { width: 12px; height: 12px; border-radius: 4px; margin-top: .45rem; flex: none; }
.wxs-top h3 { margin: 0 !important; font-size: 1.1rem !important; }
.wxs-plants { margin: .1rem 0 0 !important; font-size: .78rem !important; color: var(--muted) !important; }
.wxs-temp { margin: 0 !important; font-size: 2.6rem !important; font-weight: 650; letter-spacing: -.04em; line-height: 1; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.wxs-temp small { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: .15rem; letter-spacing: 0; }
.wxs-list { margin: 0; display: grid; gap: .3rem; font-size: .86rem; }
.wxs-list div { display: flex; justify-content: space-between; gap: .5rem; border-bottom: 1px dashed var(--line); padding-bottom: .3rem; }
.wxs-list dt { color: var(--muted); }
.wxs-list dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.wxs-time { margin: auto 0 0 !important; font-size: .76rem !important; color: var(--muted) !important; }
.wxs-off { margin: 0 !important; color: var(--muted) !important; font-size: .9rem; }
.wxs-legend { margin: 1.25rem 0 .25rem; }
.wxs-charts { display: grid; gap: 1.5rem; margin-top: 1rem; }
.wxs-chart { margin: 0; }
.wxs-chart[hidden] { display: none; }
.wxs-chart h3 { margin: 0 0 .35rem !important; font-size: .9rem !important; font-weight: 650; display: flex; gap: .4rem; align-items: baseline; }
.wxs-chart h3 small { font-size: .78rem; color: var(--muted); font-weight: 600; }
.wxs-canvas { position: relative; height: clamp(140px, 17vw, 190px); }
.dash-status-inline { font-size: .85rem; color: var(--muted); }
.dash-table small { font-weight: 500; color: var(--muted); }
.dash-date { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); cursor: pointer; }
.dash-date:hover, .dash-date:focus-within { background: var(--paper-warm); border-color: var(--ink); }
.dash-date input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dash-date input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.wxs-missing { margin: .5rem 0 0 !important; font-size: .85rem !important; color: var(--ocre-ink) !important; }
.dash-date[hidden] { display: none; }
.dash-empty { pointer-events: auto; text-align: center; background: rgb(255 255 255 / .92); padding: 1.25rem 1.5rem; border-radius: 16px; box-shadow: var(--shadow); }
.dash-empty p { margin: 0 0 .75rem !important; font-weight: 600; color: var(--ink-2) !important; }

/* Tableau des paramètres e-mail (Support) */
.settings-table { margin-top: 1.5rem !important; overflow-x: auto; }
.settings-table table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .95rem; }
.settings-table th { text-align: left; background: var(--paper-warm); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: .8rem 1rem; }
.settings-table td { padding: .85rem 1rem; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.settings-table td:first-child { color: var(--ink); font-weight: 550; }
.settings-table code, .settings-note code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--ocre-soft); color: var(--ocre-ink); padding: .15em .45em; border-radius: 6px; white-space: nowrap; }
.settings-note { padding: .9rem 1.1rem; border-left: 3px solid var(--ocre); background: var(--paper-warm); border-radius: 0 12px 12px 0; }
@media (max-width: 640px) { .settings-table table { font-size: .85rem; } .settings-table th, .settings-table td { padding: .6rem .65rem; } }
.entry-content:has(> .alignwide) > .settings-table { margin-left: max(0px, calc((100% - var(--wide)) / 2)) !important; margin-right: auto !important; max-width: 820px; }
.settings-table.wp-block-table th, .settings-table.wp-block-table td { border-left: 0; border-right: 0; border-bottom: 0; }
.settings-table.wp-block-table th { border-top: 0; }
.settings-table.wp-block-table td { border-top: 1px solid var(--line); }
.settings-table.wp-block-table td:empty::after { content: "—"; color: var(--line-2); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.faq-search { flex: 1 1 280px; display: flex; align-items: center; gap: .6rem; padding: 0 1rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--muted); }
.faq-search:focus-within { border-color: var(--ocre); box-shadow: 0 0 0 4px rgb(196 134 4 / .15); }
.faq-search input { flex: 1; border: 0; outline: 0; padding: .8rem 0; font: inherit; font-size: 1rem; background: transparent; color: var(--ink); }
.faq-chips { margin: 0; }
.faq-chips button { font: inherit; font-size: .88rem; font-weight: 550; padding: .45rem 1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.faq-chips button.is-on, .faq-chips button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-empty { color: var(--muted) !important; }
.faq-group + .faq-group { margin-top: 2rem; }
.faq-group[hidden], .faq-item[hidden] { display: none; }
.faq-cat { font-size: .78rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ocre-ink); margin: 0 0 .75rem !important; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); margin-bottom: .6rem; transition: box-shadow .2s, border-color .2s; scroll-margin-top: calc(var(--header-h) + 1rem); }
.faq-item[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; color: var(--muted); transition: transform .2s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--ocre-ink); }
.faq-item summary:hover { color: var(--ocre-ink); }
.faq-a { padding: 0 1.25rem 1.1rem; color: var(--ink-2); }
.faq-a > :first-child { margin-top: 0; }
.faq-a > :last-child { margin-bottom: 0; }
.faq-a code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--ocre-soft); color: var(--ocre-ink); padding: .1em .4em; border-radius: 6px; }
.entry-content:has(> .alignwide) > .faq:not(.alignwide) { margin-left: max(0px, calc((100% - var(--wide)) / 2)) !important; margin-right: auto !important; max-width: 820px; }

/* ---------- L'énergie expliquée ---------- */
.edu-icon { display: block; }
.energy-edu { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.edu-small { font-size: .85rem; color: var(--muted); }
/* Tuile */
.edu-tile { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; padding: 1.1rem 1.5rem; border-radius: var(--radius); background: var(--ocre-soft); border: 1px solid #f0dfb6; color: var(--ink); }
.edu-tile-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ocre-ink); box-shadow: var(--shadow); }
.edu-tile-icon .edu-icon { width: 44px; height: 44px; }
.edu-tile-text p { margin: 0; }
.edu-tile .edu-tile-lead { font-size: .9rem; color: var(--ink-2); }
.edu-tile .edu-tile-main { color: var(--ink); font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 600; line-height: 1.25; }
.edu-tile-main strong { color: var(--ocre-ink); font-weight: 800; }
.edu-tile-link { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.1rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.edu-tile-link:hover { background: var(--ocre-ink); color: #fff; }
@media (max-width: 640px) { .edu-tile { grid-template-columns: auto 1fr; padding: 1rem; gap: .9rem; } .edu-tile-icon { width: 56px; height: 56px; } .edu-tile-icon .edu-icon { width: 34px; height: 34px; } .edu-tile-link { grid-column: 1 / -1; justify-self: start; } }
/* Robinet */
.edu-tap { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.edu-tap-art { color: var(--ink); }
.edu-tap-art svg { width: 100%; height: auto; display: block; }
.edu-tap-level { animation: edu-fill 6s var(--ease) infinite; transform-box: fill-box; }
.edu-tap-stream { stroke-dasharray: 10 8; animation: edu-flow .6s linear infinite; }
@keyframes edu-fill { 0% { transform: translateY(42px); } 85%, 100% { transform: translateY(0); } }
@keyframes edu-flow { to { stroke-dashoffset: -18; } }
.edu-def { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: start; margin-bottom: 1.25rem; }
.edu-def p { margin: 0; color: var(--ink-2); }
.edu-def strong { color: var(--ink); }
.edu-unit { display: grid; place-items: center; height: 3rem; border-radius: var(--radius-sm); background: var(--ink); color: var(--ocre-bright); font-weight: 800; font-size: 1.15rem; }
@media (max-width: 700px) { .edu-tap { grid-template-columns: 1fr; } .edu-tap-art { max-width: 240px; } }
/* Cartes */
.edu-now { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: 1.05rem; margin: 0 0 .5rem; }
.edu-now strong { font-size: 1.6rem; font-weight: 800; }
.horus-block .edu-intro { color: var(--ink-2); margin: .25rem 0 1rem; }
.edu-night { display: flex; gap: .8rem; align-items: center; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--night); color: var(--night-ink); }
.edu-night[hidden], .edu-cards[hidden], .edu-intro[hidden] { display: none; }
.horus-block .edu-night, .entry-content .edu-night { color: var(--night-ink); margin: 0 0 1rem; }
.edu-night .edu-icon { flex: none; color: var(--ocre-bright); }
.edu-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.edu-card { display: flex; flex-direction: column; gap: .2rem; padding: 1.25rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.edu-card-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--ocre-soft); color: var(--ocre-ink); margin-bottom: .5rem; }
.edu-card-icon .edu-icon { width: 34px; height: 34px; }
.edu-card-num { font-size: 1.75rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.edu-card-label { font-weight: 600; line-height: 1.3; }
.edu-card-note { margin-top: auto; padding-top: .5rem; font-size: .8rem; color: var(--muted); }
.edu-energy .seg { margin-bottom: 1rem; flex-wrap: wrap; }
/* Échelle */
.edu-scale-axis { position: relative; height: 1.4rem; margin-left: calc(var(--edu-label) + 1rem); font-size: .75rem; color: var(--muted); }
.edu-scale-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.edu-scale-axis span:first-child { transform: none; }
.energy-edu.edu-scale { --edu-label: 300px; }
.edu-ladder { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.edu-ladder li { display: grid; grid-template-columns: var(--edu-label) 1fr; gap: 1rem; align-items: center; }
.edu-scale-label { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--ink-2); }
.edu-scale-label .edu-icon { flex: none; color: var(--muted); }
.edu-scale-bar { position: relative; display: flex; align-items: center; gap: .6rem; height: 26px; background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 13)); }
.edu-scale-bar i { display: block; width: var(--w); min-width: 4px; height: 14px; border-radius: 0 4px 4px 0; background: var(--line-2); }
.edu-scale-bar b { font-size: .85rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.edu-ladder li.is-ours .edu-scale-label { color: var(--ink); font-weight: 700; }
.edu-ladder li.is-ours .edu-scale-label .edu-icon { color: var(--ocre-ink); }
.edu-ladder li.is-ours .edu-scale-bar i { background: var(--ocre); }
@media (max-width: 700px) {
	.energy-edu.edu-scale { --edu-label: 0px; }
	.edu-scale-axis { margin-left: 0; }
	.edu-scale-axis span:first-child { display: none; }
	.edu-ladder li { grid-template-columns: 1fr; gap: .25rem; }
}
/* Jeu */
.edu-game { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--paper-warm); border: 1px solid var(--line); }
.edu-game-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .6rem; }
.edu-game-pick button { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .8rem .5rem; border-radius: var(--radius-sm); border: 2px solid var(--line); background: var(--paper); font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink); cursor: pointer; text-align: center; line-height: 1.2; }
.edu-game-pick button small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.edu-game-pick button .edu-icon { color: var(--ink-2); }
.edu-game-pick button:hover { border-color: var(--line-2); }
.edu-game-pick button[aria-checked="true"] { border-color: var(--ocre); background: var(--ocre-soft); }
.edu-game-pick button[aria-checked="true"] .edu-icon { color: var(--ocre-ink); }
.edu-game-pick button:focus-visible { outline: 3px solid var(--ocre); outline-offset: 2px; }
.edu-game-sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
.edu-slider { display: flex; flex-direction: column; gap: .5rem; font-weight: 600; }
.edu-slider output { display: inline-block; margin-left: .3rem; padding: .1rem .6rem; border-radius: 999px; background: var(--ink); color: #fff; font-variant-numeric: tabular-nums; }
.edu-slider input[type="range"] { width: 100%; accent-color: var(--ocre); height: 28px; }
@media (max-width: 640px) { .edu-game-sliders { grid-template-columns: 1fr; } }
.edu-game-result { padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--night); color: var(--night-ink); }
.edu-result-main { display: flex; align-items: center; gap: .9rem; }
.edu-result-main .edu-icon { flex: none; color: var(--ocre-bright); width: 40px; height: 40px; }
.edu-game-result .edu-result-main p { margin: 0; font-size: 1.25rem; color: var(--night-ink); }
.edu-result-main strong { color: var(--ocre-bright); font-size: 1.5rem; }
.edu-game-result ul { margin: .9rem 0 0; padding-left: 1.2rem; color: var(--night-muted); }
.edu-game-result li { margin: .3rem 0; color: var(--night-muted); }
.edu-game-result li strong { color: var(--night-ink); }
.edu-sources { font-size: .88rem; color: var(--ink-2); padding-left: 1.2rem; }
.edu-sources li { margin: .3rem 0; }
@media (prefers-reduced-motion: reduce) { .edu-tap-level, .edu-tap-stream { animation: none; } }
