/* ==========================================================================
   Hack40 — DA V3 (octobre 2026)
   Grille suisse : Inter Tight gras, noir / blanc / rouge Hack40, sur-titres en
   chasse fixe avec carré rouge, filets fins. Chargée après hack40.css et pages.css.
   ========================================================================== */

:root {
	--h40-section: clamp(56px, 6.2vw, 84px);
	--h40-wrap: 1440px;
	--h40-mono: var(--wp--preset--font-family--mono, "Courier New", ui-monospace, monospace);
	--h40-gray: var(--wp--preset--color--stone);
}

/* ---------- Typographie ---------- */

/* Hiérarchie : titre d'ouverture 800, titres de section 700, texte 400. Approche modérée. */
body { font-weight: 400; letter-spacing: normal; line-height: 1.5; }
h2, h3, .h40-title, .h40-card-title { font-weight: 700; letter-spacing: -0.015em; }
h1, h1.h40-title, h1.wp-block-heading.wp-block-heading.wp-block-heading { font-weight: 800 !important; letter-spacing: -0.02em !important; }
h4, h5, h6 { font-weight: 700; letter-spacing: -0.015em; }
.h40-title em, .h40-em, h1 em, h2 em, h3 em { font-style: normal; color: var(--h40-accent); }
.h40-dark .h40-title em, .h40-dark h2 em, .h40-dark h1 em { color: var(--h40-accent-dark); }

/* Sur-titres : chasse fixe, petites capitales espacées, carré rouge. */
.h40-eyebrow {
	font-family: var(--h40-mono);
	font-size: 13px !important;
	font-weight: 400;
	letter-spacing: .05em;
	color: var(--h40-ink);
	display: flex;
	align-items: center;
	gap: 12px;
}
.h40-eyebrow::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px; background: var(--h40-accent); }
.h40-dark .h40-eyebrow { color: #fff; }
.h40-eyebrow.is-muted { color: #333; }
.h40-eyebrow.is-muted::before, .h40-eyebrow.h40-no-mark::before { display: none; }
.h40-dark .h40-eyebrow.is-muted { color: #c4c4c4; }

/* Liens fléchés soulignés, comme sur la maquette. */
.h40-more a, a.h40-more, .h40-door-link a { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.h40-more a:hover, a.h40-more:hover { color: var(--h40-accent); }

/* Boutons : rouge plein, angles droits, flèche. */
.wp-element-button, .wp-block-button__link { font-weight: 600; letter-spacing: 0; }
.wp-block-button:not(.h40-btn-ghost):not(.is-style-outline) > .wp-block-button__link:hover { background: #b90500; color: #fff; }

/* ---------- En-tête ---------- */

.h40-header { border-bottom: 1px solid var(--h40-ink); }
.h40-nav .wp-block-navigation { font-size: 14px; font-weight: 500; }
.h40-brand .h40-est { font-family: var(--h40-mono); font-style: normal; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #555; }
.h40-lang { font-family: var(--h40-mono); font-weight: 400; border: 0; padding: 4px 2px; }
.h40-lang:hover { background: none; color: var(--h40-accent); }
.h40-header .wp-block-button__link { font-size: 14px; padding: 12px 18px; }
@media (max-width: 1024px) {
	.h40-nav .is-menu-open .wp-block-navigation-item a { font-family: var(--wp--preset--font-family--sans); font-weight: 700; letter-spacing: -0.015em; }
}

/* ---------- Composants communs ---------- */

.h40-card-title { font-family: var(--wp--preset--font-family--sans); letter-spacing: -0.015em; }
.h40-stone { background: var(--h40-gray); }
.h40-stat-figure { font-weight: 800; letter-spacing: -0.03em; }
.h40-stat-label, .h40-toc-label { font-family: var(--h40-mono); font-weight: 400; letter-spacing: .05em; color: var(--h40-ink); }
.h40-big-figure, .h40-b-c .h40-mid-figure { font-weight: 800; letter-spacing: -0.03em; }
.h40-press-list, .h40-dek, .h40-dek p { font-style: normal; }
.h40-press-list { font-family: var(--wp--preset--font-family--sans); font-weight: 600; font-size: 18px; color: var(--h40-ink); }
.h40-insight-title { font-weight: 700; letter-spacing: -0.015em; }
.h40-manifesto-line { font-weight: 700; letter-spacing: -0.015em; }
.h40-press-title { font-weight: 700; letter-spacing: -0.015em; }
.h40-article-body .wp-block-quote.h40-pull { font-style: normal; font-weight: 700; }
.wp-block-quote, .wp-block-quote p { font-weight: 600; letter-spacing: -0.01em; }
.h40-crumbs, .h40-toc-links { font-size: 14px; }
.h40-toc-links a, .h40-toc-links a:is(:link, :visited) { border-color: var(--h40-ink); }

/* Portes et cartes : filets fins, pas d'ombre « carte flottante ». */
.h40-door:hover { transform: none; box-shadow: none; }
.h40-door .h40-door-link a::after { content: none; }

/* ---------- Accueil : hero ---------- */

.h40-v3-hero { background: #fff; }
.h40-wrap.h40-v3-hero-wrap { padding-top: 20px; padding-bottom: 36px; }
.h40-v3-topline { display: flex; justify-content: space-between; gap: 24px; }
.h40-v3-topline p { margin: 0; font-family: var(--h40-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: #222; }
.h40-v3-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 24%); gap: 40px; align-items: end; margin-top: 34px !important; }
.h40-v3-hero-grid > * { margin: 0 !important; }
.h40-v3-hero h1 { font-size: clamp(48px, 7.4vw, 108px); line-height: .98; }
.h40-v3-hero-side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.h40-v3-hero-side > * { margin: 0 !important; }
.h40-v3-hero-lead { font-size: 18px; line-height: 1.5; }
.h40-v3-btn .wp-block-button__link { display: inline-flex; align-items: center; gap: 24px; font-size: 15px; padding: 15px 21px; }
.h40-v3-btn span { font-size: 19px; line-height: 1; }
.h40-v3-strip { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 3px; box-sizing: border-box; width: 100%; max-width: var(--h40-wrap); margin: 0 auto !important; padding: 0 var(--h40-gutter); }
.h40-v3-strip > * { margin: 0 !important; }
.h40-v3-strip img { display: block; width: 100%; height: 290px !important; object-fit: cover; }
.h40-v3-strip figcaption { margin: 0 !important; padding: 11px 14px; background: var(--h40-ink); color: #fff; font-family: var(--h40-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; text-align: left; }

/* ---------- Chiffres clés ---------- */

.h40-stats-wrap.h40-wrap { padding-top: 30px; padding-bottom: 0; }
.h40-stats { padding-bottom: 30px; border-bottom: 1px solid var(--h40-ink); }
.h40-stats { gap: 0; }
.h40-stats > * { border-top: 0; padding: 0 26px; border-left: 1px solid var(--wp--preset--color--line); }
.h40-stats > *:first-child { padding-left: 0; border-left: 0; }
.h40-stat-figure { font-size: clamp(48px, 5vw, 68px) !important; }
.h40-stat-label { font-size: 12px !important; margin-top: 8px !important; color: #222; }

/* ---------- Logos de confiance ---------- */

.h40-v3-trust .h40-wrap { padding-top: 30px; padding-bottom: 0; }
.h40-v3-logos { padding-bottom: 30px; border-bottom: 1px solid var(--wp--preset--color--line); }
.h40-v3-trust-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px !important; }
.h40-v3-trust-top > * { margin: 0 !important; }
.h40-v3-trust-top .h40-eyebrow { color: #333; }
.h40-v3-logos { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 28px; align-items: center; }
.h40-v3-logos > * { margin: 0 !important; justify-content: center; }
.h40-v3-logos .h40-logo img { height: calc(40px * var(--h40-k, 1)) !important; max-width: 100%; opacity: .8; }

/* ---------- Preuves ---------- */

.h40-v3-proof { display: grid; grid-template-columns: 1fr 1.05fr 1fr; border: 1px solid var(--h40-ink); }
.h40-v3-proof > * { margin: 0 !important; }
.h40-v3-card { padding: 32px; display: flex; flex-direction: column; min-height: 360px; }
.h40-v3-card > * { margin: 0 !important; }
.h40-v3-card .h40-eyebrow { font-size: 12px !important; margin-bottom: 26px !important; }
.h40-v3-card.is-dark { background: var(--h40-ink); color: #fff; }
.h40-v3-card.is-dark .h40-eyebrow { color: #fff; }
.h40-v3-card.is-dark a { color: #fff; }
.h40-v3-card.is-quote { background: var(--h40-gray); border-right: 1px solid var(--wp--preset--color--line); }
.h40-v3-big { font-size: clamp(56px, 5vw, 72px) !important; font-weight: 800; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; margin-bottom: 18px !important; }
.h40-v3-big small { font-size: 15px; font-weight: 500; letter-spacing: 0; }
.h40-v3-big.is-red { color: var(--h40-accent); }
.h40-v3-card-title { font-size: 19px !important; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 12px !important; }
.h40-v3-card p { font-size: 15px; line-height: 1.5; }
.h40-v3-note { font-size: 12px !important; color: #666; margin-top: 14px !important; }
.h40-v3-card-link { margin-top: auto !important; padding-top: 24px; font-size: 13px !important; }
.h40-v3-quote.wp-block-quote { margin: 0; padding: 0; border: 0; }
.h40-v3-quote p { font-size: 25px !important; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.h40-v3-attrib { margin-top: auto !important; padding-top: 20px; display: flex; gap: 18px; align-items: center; }
.h40-v3-attrib > * { margin: 0 !important; }
.h40-v3-attrib figure.h40-logo { min-height: 0; }
.h40-v3-attrib p { font-size: 12px !important; }

/* ---------- Deux portes ---------- */

.h40-v3-offers { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--h40-ink); margin-top: 32px !important; }
.h40-v3-offers > * { margin: 0 !important; }
.h40-v3-offer { background: #fff; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.h40-v3-offer + .h40-v3-offer { border-left: 1px solid var(--h40-ink); }
.h40-v3-offer > * { margin: 0 !important; }
.h40-v3-offer-title { font-size: clamp(30px, 2.6vw, 36px) !important; line-height: 1.04; max-width: 460px; }
.h40-v3-offer p { max-width: 480px; }
.h40-v3-tags { font-family: var(--h40-mono); font-size: 13px; color: #222; letter-spacing: .04em; text-transform: uppercase; }
.h40-v3-offer .h40-more { margin-top: auto !important; }

/* ---------- Le pont ---------- */

.h40-v3-founders { font-size: 19px; font-weight: 600; border-top: 1px solid #555; padding-top: 22px; margin: 20px 0 32px !important; }
.h40-v3-bridge-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.h40-v3-bridge-grid > * { margin: 0 !important; }
.h40-v3-bridge-grid .h40-title { font-size: clamp(34px, 3.3vw, 46px); }
.h40-v3-bridge-grid .h40-muted { color: #ccc; font-size: 16px; line-height: 1.6; }
.h40-v3-bridge-grid .h40-more { margin-top: 24px !important; }
.h40-v3-route { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 60px; margin-top: 44px !important; border-top: 1px solid #555; padding-top: 26px; }
.h40-v3-route > * { margin: 0 !important; position: relative; }
.h40-v3-node:not(:last-child)::after { content: "→"; position: absolute; right: -44px; top: -6px; font-size: 30px; color: var(--h40-accent-dark); }
.h40-v3-node p { margin: 0; font-size: 13px; color: #aaa; line-height: 1.5; }
.h40-v3-node .h40-v3-node-name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .02em; }
.h40-v3-node.is-accent .h40-v3-node-name::before { content: "■ "; color: var(--h40-accent-dark); }

/* ---------- Sur le terrain ---------- */

.h40-v3-places { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; margin-top: 30px !important; }
.h40-v3-places > * { margin: 0 !important; }
.h40-v3-place .wp-block-image { margin: 0; }
.h40-v3-place img { width: 100%; height: 220px !important; object-fit: cover; }
.h40-v3-place-name { margin: 14px 0 0 !important; padding-top: 12px; border-top: 2px solid var(--h40-ink); font-size: 14px; font-weight: 600; }
.h40-v3-place-name span { display: block; margin-top: 4px; font-family: var(--h40-mono); font-size: 12px; font-weight: 400; color: #444; text-transform: uppercase; letter-spacing: .04em; }
.h40-v3-events { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 1px solid var(--wp--preset--color--line); padding-top: 26px; margin-top: 34px !important; }
.h40-v3-events > * { margin: 0 !important; }
.h40-v3-events-title { margin: 0 0 6px !important; font-size: 24px; font-weight: 700; letter-spacing: -0.015em; }
.h40-v3-events .h40-muted { max-width: 560px; font-size: 16px; margin: 0; }
.h40-v3-events b { color: var(--h40-accent); }

/* ---------- Presse ---------- */

.h40-v3-press { background: var(--h40-ink); color: #fff; }
.h40-v3-press .h40-wrap { padding-top: clamp(40px, 4.5vw, 64px); padding-bottom: clamp(40px, 4.5vw, 64px); }
.h40-v3-press .h40-wrap > * { margin: 0 !important; }
.h40-v3-press .h40-eyebrow { color: rgba(255,255,255,.72); margin-bottom: 26px !important; }
.h40-v3-press-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.28); }
.h40-v3-press-links a { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 6px 0; color: #fff; text-decoration: none; border-right: 1px solid rgba(255,255,255,.16); margin-right: 22px; }
.h40-v3-press-links a:last-child { border-right: 0; margin-right: 0; }
.h40-v3-press-links strong { font-size: clamp(19px, 1.65vw, 24px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; }
.h40-v3-press-links strong span { color: var(--h40-accent); }
.h40-v3-press-links a > span { font-family: var(--h40-mono); font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.7); }
.h40-v3-press-links a:hover strong { color: var(--h40-accent); }

/* ---------- FAQ ---------- */

#faq { border-top: 1px solid var(--h40-ink); }
.h40-faq-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 70px; }
.wp-block-details.h40-faq summary { font-size: 17px; font-weight: 600; }
.wp-block-details.h40-faq:last-child { border-bottom: 1px solid var(--h40-ink); }

/* ---------- Insights ---------- */

#insights.h40-stone { background: #fff; border-top: 1px solid var(--h40-ink); }
.h40-insight-card { border-top: 2px solid var(--h40-ink); }

/* ---------- Bandeau contact + pied de page ---------- */

.h40-v3-contact { background: var(--h40-accent); color: #fff; }
.h40-v3-contact-row.h40-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 72px; padding-bottom: 72px; }
.h40-v3-contact-row > * { margin: 0 !important; }
.h40-v3-contact h2 { font-size: clamp(40px, 4.6vw, 64px); max-width: 760px; color: #fff; }
.h40-v3-btn.is-white .wp-block-button__link { background: #fff; color: var(--h40-ink); }
.h40-v3-btn.is-white .wp-block-button__link:hover { background: var(--h40-ink); color: #fff; }
.h40-footer .h40-wrap { padding-top: 48px; padding-bottom: 28px; gap: 40px; }
.h40-v3-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.h40-v3-footer-grid > * { margin: 0 !important; display: flex; flex-direction: column; gap: 14px; }
.h40-v3-footer-grid > * > * { margin: 0 !important; }
.h40-v3-footer-brand { font-size: 42px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.h40-v3-footer-brand sup { background: var(--h40-accent); font-size: 15px; font-weight: 700; letter-spacing: 0; padding: 2px 3px; vertical-align: top; margin-left: 2px; }
.h40-v3-footer-about { color: #aaa; font-size: 13px; max-width: 240px; }
.h40-v3-footer-links { font-size: 14px; line-height: 2; }
.h40-v3-footer-links a { text-decoration: none; }
.h40-footer-bottom { border-top-color: #444; font-size: 12px; color: #aaa; }

/* ---------- Tablette ---------- */

@media (max-width: 1024px) {
	.h40-v3-hero-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; }
	.h40-v3-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
	.h40-v3-proof { grid-template-columns: minmax(0, 1fr); }
	.h40-v3-card.is-quote { border-right: 0; border-bottom: 1px solid var(--wp--preset--color--line); }
	.h40-v3-bridge-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.h40-faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.h40-v3-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
	.h40-v3-topline p:last-child { display: none; }
	.h40-v3-hero-grid { display: block; margin-top: 28px !important; }
	.h40-v3-hero h1 { font-size: 46px; }
	.h40-v3-hero-side { margin-top: 24px !important; }
	.h40-v3-strip { grid-template-columns: 1fr 1fr; }
	.h40-v3-strip > *:first-child { grid-column: 1 / -1; }
	.h40-v3-strip img { height: 160px !important; }
	.h40-v3-strip > *:first-child img { height: 230px !important; }
	.h40-v3-strip figcaption { font-size: 10px; padding: 8px; }
	.h40-stats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
	.h40-stats > * { padding: 0 18px; }
	.h40-stats > *:nth-child(3) { border-left: 0; padding-left: 0; }
	.h40-v3-trust-top { flex-wrap: wrap; }
	.h40-v3-logos .h40-logo img { height: calc(28px * var(--h40-k, 1)) !important; }
	.h40-v3-card { min-height: 0; padding: 26px; }
	.h40-v3-offers { grid-template-columns: minmax(0, 1fr); }
	.h40-v3-offer { padding: 26px; }
	.h40-v3-offer + .h40-v3-offer { border-left: 0; border-top: 1px solid var(--h40-ink); }
	.h40-v3-route { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	.h40-v3-node:not(:last-child)::after { content: "↓"; right: auto; left: 0; top: auto; bottom: -34px; font-size: 22px; }
	.h40-v3-places { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
	.h40-v3-places > *:first-child { grid-column: 1 / -1; }
	.h40-v3-place img { height: 150px !important; }
	.h40-v3-places > *:first-child img { height: 220px !important; }
	.h40-v3-events { display: block; }
	.h40-v3-events > * + * { margin-top: 14px !important; }
	.h40-v3-press-links { grid-template-columns: 1fr 1fr; }
	.h40-v3-press-links a { border-right: 0; margin-right: 0; padding: 16px 12px 14px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
	.h40-v3-contact-row.h40-wrap { display: block; padding-top: 48px; padding-bottom: 48px; }
	.h40-v3-contact-row .wp-block-buttons { margin-top: 24px !important; }
	.h40-v3-footer-grid { gap: 30px 20px; }
}

/* ---------- Cas clients chiffrés (proof-cases, proof-startups) et repères de l'accueil ---------- */

.h40-v3-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--h40-ink); border-left: 1px solid var(--h40-ink); margin-top: 32px !important; }
.h40-v3-cases.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.h40-v3-cases.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.h40-v3-cases > * { margin: 0 !important; }
.h40-v3-case { padding: 28px; border-right: 1px solid var(--h40-ink); border-bottom: 1px solid var(--h40-ink); display: flex; flex-direction: column; gap: 14px; }
.h40-v3-case > * { margin: 0 !important; }
.h40-v3-case figure.h40-logo { min-height: 44px; }
.h40-v3-case .h40-eyebrow { font-size: 12px !important; color: #333; }
.h40-v3-case-figure { font-size: clamp(34px, 3vw, 44px) !important; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--h40-accent); }
.h40-v3-case-figure small { display: block; margin-top: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--h40-ink); }
.h40-v3-case p:not([class]) { font-size: 15px; line-height: 1.5; color: #333; }
.h40-v3-case-list { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.5; color: #333; }
.h40-v3-case-list li + li { margin-top: 6px; }
.h40-v3-case.is-cta { background: var(--h40-ink); color: #fff; justify-content: space-between; }
.h40-v3-case.is-cta .h40-v3-case-figure { color: #fff; }
.h40-v3-case.is-cta a { color: #fff; }
.h40-v3-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--h40-ink); border-top: 0; }
.h40-v3-quick > * { margin: 0 !important; padding: 18px 22px; font-size: 14px; line-height: 1.35; border-right: 1px solid var(--wp--preset--color--line); }
.h40-v3-quick > *:last-child { border-right: 0; }
.h40-v3-quick strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--h40-accent); margin-bottom: 4px; }
@media (max-width: 1024px) {
	.h40-v3-cases, .h40-v3-cases.is-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h40-v3-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h40-v3-quick > *:nth-child(2) { border-right: 0; }
	.h40-v3-quick > *:nth-child(-n+2) { border-bottom: 1px solid var(--wp--preset--color--line); }
}
@media (max-width: 720px) {
	.h40-v3-cases, .h40-v3-cases.is-two, .h40-v3-cases.is-three { grid-template-columns: minmax(0, 1fr); }
	.h40-v3-case { padding: 22px; }
}

@media (max-width: 1100px) and (min-width: 721px) {
	.h40-v3-press-links { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
	.h40-v3-press-links a:nth-child(3) { border-right: 0; margin-right: 0; }
}
/* Bandeau photo : légendes de même hauteur même si l'une passe sur deux lignes */
.h40-v3-strip > figure { display: flex; flex-direction: column; }
.h40-v3-strip > figure > img { flex: 0 0 auto; }
.h40-v3-strip > figure > figcaption { flex: 1 1 auto; }

/* Références : ligne « Résultat » sous chaque cas chiffré */
.h40-ref-result { margin: 4px 0 2px !important; padding-top: 12px; border-top: 1px solid var(--h40-line, #CECECA); font-size: 17px; }
.h40-ref-result b { color: var(--h40-accent); font-weight: 800; font-size: 1.25em; letter-spacing: -0.015em; }

/* Accueil : chiffre 10 000+ mis en avant à droite du bloc salons */
.h40-v3-events-stat { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 6px; }
.h40-v3-events-stat b { font-size: clamp(48px, 5.4vw, 76px); font-weight: 800; letter-spacing: -0.03em; line-height: .95; color: var(--h40-accent); }
.h40-v3-events-stat span { font-family: var(--h40-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--h40-ink); max-width: 300px; }
@media (max-width: 720px) { .h40-v3-events-stat { align-items: flex-start; text-align: left; margin-top: 26px !important; } }

/* Bilan du 16/10 : apparitions plus courtes (le texte n'attend plus, ne reste plus pâle). */
.h40-in, .h40-in2, .h40-in-2, .h40-in3, .h40-in-3 { animation-duration: .45s !important; }
.h40-in2, .h40-in-2 { animation-delay: .05s !important; }
.h40-in3, .h40-in-3 { animation-delay: .1s !important; }
@keyframes h40in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
	.h40-reveal { animation-range: entry 0% entry 35% !important; }
}

/* Insights : moins de blanc entre l'introduction et la première couverture. */
.h40-insights-head.h40-section { padding-bottom: clamp(16px, 2.5vw, 32px) !important; }
.h40-insights-list.h40-section { padding-top: clamp(16px, 2.5vw, 32px) !important; }

/* Pied de page : titres de colonnes lisibles sur fond noir (bilan du 16/10). */
.h40-footer .h40-eyebrow, .h40-footer .h40-eyebrow.is-muted { color: #c4c4c4 !important; font-size: 13px; }

/* Inventaires repliés (outils, canvas) : bouton discret, contenu inchangé une fois ouvert. */
.h40-more-details { margin: 0 !important; }
.h40-more-details > summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-family: var(--h40-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--h40-ink); border: 1px solid var(--h40-ink); padding: 12px 18px; }
.h40-more-details > summary::-webkit-details-marker { display: none; }
.h40-more-details > summary::after { content: "+"; font-size: 16px; color: var(--h40-accent); }
.h40-more-details[open] > summary::after { content: "−"; }
.h40-more-details > summary:hover { background: var(--h40-ink); color: #fff; }
.h40-more-details[open] > summary { margin-bottom: 32px; }
.h40-more-details > :not(summary) + :not(summary) { margin-top: 28px !important; }

/* Articles Insights : sommaire repliable et offre liée en fin d'article. */
.h40-article-toc { border-top: 1px solid var(--h40-ink); border-bottom: 1px solid var(--wp--preset--color--line); padding: 14px 0; margin: 0 0 36px; }
.h40-article-toc > summary { cursor: pointer; font-family: var(--h40-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; }
.h40-article-toc > summary::-webkit-details-marker { display: none; }
.h40-article-toc > summary::after { content: "+"; color: var(--h40-accent); }
.h40-article-toc[open] > summary::after { content: "−"; }
.h40-article-toc ol { margin: 14px 0 0; padding-left: 22px; font-size: 16px; line-height: 1.6; }
.h40-article-toc a { text-decoration: none; }
.h40-article-toc a:hover { color: var(--h40-accent); }
.h40-article-offer { margin: 48px 0 32px !important; padding: 24px 28px; background: var(--h40-ink); color: #fff; }
.h40-article-offer .h40-eyebrow { color: #c4c4c4; margin: 0 0 8px; }
.h40-article-offer p:last-child { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.h40-article-offer a { color: #fff; text-decoration: none; }
.h40-article-offer a:hover { color: var(--h40-accent); }
