/*
Theme Name: Filippini Dossier
Theme URI: https://filippini-detective.com/
Author: Cabinet Filippini Alfonsi de Chessé
Description: Thème du Cabinet Filippini Alfonsi de Chessé, détectives privés depuis 1945. Regarder, planquer, analyser : l'héritage du cabinet dans une interface technique. Conçu pour le référencement local (Marseille, Nice, Toulon, Monaco) et la rapidité d'affichage.
Version: 1.2.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: filippini-dossier
*/

/* =========================================================================
   1. Jetons
   ========================================================================= */
:root {
	--ink: #0A0D10;
	--ink-2: #0E1216;
	--ink-3: #161C22;
	--logo: #1F1A18;
	--paper: #F3EEE4;
	--paper-2: #E9E2D3;
	--white: #FFFFFF;
	--yellow: #F6E958;
	--yellow-ink: #676225;
	--tech: #5FB0A5;
	--tech-ink: #37665F;
	--text: #2A3036;
	--muted: #5B6168;
	--on-dark: #F3EEE4;
	--on-dark-2: #C9D0D6;
	--on-dark-3: #AEB6BE;
	--on-dark-4: #8C949C;
	--line-dark: rgba(243, 238, 228, .12);
	--line-paper: rgba(14, 18, 22, .14);
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 4px;
}

/* =========================================================================
   2. Base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--ink);
	color: var(--on-dark);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--yellow); text-decoration: none; }
a:hover { color: var(--on-dark); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.paper :focus-visible, .page-body :focus-visible { outline-color: var(--yellow-ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 1000;
	position: fixed !important; top: 12px; left: 12px; padding: 12px 18px;
	background: var(--yellow); color: var(--ink); font-weight: 600; border-radius: var(--radius);
}

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

/* Repères en monospace */
.kicker {
	font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--yellow); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center;
}
.kicker--tech { color: var(--tech); }
.paper .kicker, .page-body .kicker { color: var(--yellow-ink); }
.mono { font-family: var(--mono); }
.label {
	font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-4);
}
.paper .label { color: var(--muted); }

/* =========================================================================
   3. Boutons
   ========================================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: 3px; border: 1px solid transparent;
	font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center;
	transition: filter .15s ease, background-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { filter: brightness(1.08); color: var(--ink); }
.btn--ghost { border-color: rgba(243, 238, 228, .38); color: var(--on-dark); font-weight: 500; }
.btn--ghost:hover { background: rgba(243, 238, 228, .08); color: var(--on-dark); }
.btn--dark { background: var(--ink-2); color: var(--on-dark); }
.btn--dark:hover { background: var(--ink); color: var(--yellow); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tech); flex: 0 0 auto; }
.dot--ink { background: var(--ink); }

/* =========================================================================
   4. En-tête
   ========================================================================= */
.site-header { background: var(--logo); border-bottom: 1px solid rgba(246, 233, 88, .22); position: relative; z-index: 50; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 16px; color: var(--on-dark); padding: 12px 0; flex: 0 0 auto; }
.brand img { display: block; height: 48px; width: auto; }
.brand__tag {
	font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
	color: var(--on-dark-4); border-left: 1px solid rgba(243, 238, 228, .18); padding-left: 16px; line-height: 1.6;
}
.header-cta { flex: 0 0 auto; min-height: 44px; padding: 0 18px; font-size: 14px; }

/* Navigation */
.primary-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav-menu, .nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; display: flex; align-items: center; }
.nav-menu a {
	display: block; padding: 10px 12px; color: var(--on-dark); font-size: 14px; font-weight: 500;
	letter-spacing: .01em; border-radius: 3px;
}
.nav-menu > li > a { text-transform: none; }
.nav-menu a:hover, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a { color: var(--yellow); }
.sub-toggle {
	display: none; background: none; border: 0; color: var(--on-dark-3); width: 44px; height: 44px;
	align-items: center; justify-content: center; border-radius: 3px;
}
.sub-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-menu .sub-menu {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; padding: 10px;
	background: var(--ink-2); border: 1px solid var(--line-dark); border-top: 2px solid var(--yellow);
	border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
	z-index: 10;
}
.nav-menu .sub-menu a { padding: 9px 12px; font-size: 14px; font-weight: 400; color: var(--on-dark-2); }
.nav-menu .sub-menu a:hover { background: rgba(243, 238, 228, .06); color: var(--yellow); }
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu,
.nav-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* Un sous-menu long s'affiche sur deux colonnes */
.nav-menu .sub-menu:has(> li:nth-child(8)) { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); column-gap: 8px; min-width: 520px; }
.nav-toggle {
	display: none; align-items: center; gap: 10px; background: none; border: 1px solid rgba(243, 238, 228, .3);
	color: var(--on-dark); min-height: 44px; padding: 0 14px; border-radius: 3px; font-size: 14px; font-weight: 500;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 1100px) {
	.site-header__bar { flex-wrap: wrap; min-height: 72px; }
	.brand__tag { display: none; }
	.nav-toggle { display: inline-flex; margin-left: auto; }
	.header-cta { display: none; }
	.primary-nav { order: 3; flex: 1 1 100%; display: none; padding-bottom: 16px; }
	.site-header.nav-open .primary-nav { display: block; }
	.nav-menu { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line-dark); }
	.nav-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line-dark); }
	.nav-menu > li > a { flex: 1 1 auto; padding: 14px 4px; font-size: 16px; }
	.sub-toggle { display: inline-flex; }
	.nav-menu .sub-menu {
		position: static; flex: 1 1 100%; display: none; min-width: 0; padding: 0 0 10px 12px; opacity: 1; visibility: visible;
		transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--yellow); border-radius: 0; background: none;
	}
	.nav-menu > li:hover > .sub-menu, .nav-menu > li:focus-within > .sub-menu { display: none; }
	.nav-menu > li.is-open > .sub-menu { display: block; }
	.nav-menu .sub-menu:has(> li:nth-child(8)) { display: none; }
	.nav-menu > li.is-open > .sub-menu:has(> li:nth-child(8)) { display: block; }
	.nav-menu > li.is-open > .sub-toggle svg { transform: rotate(180deg); }
	.nav-menu .sub-menu a { padding: 11px 4px; }
	.nav-mobile-cta { display: flex !important; margin-top: 16px; }
}
.nav-mobile-cta { display: none !important; }

/* Bandeau défilant (accueil) */
.ticker { border-top: 1px solid rgba(243, 238, 228, .08); overflow: hidden; background: #171311; position: relative; z-index: 1; }
.ticker__track {
	display: flex; width: max-content; font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
	text-transform: uppercase; color: var(--on-dark-4); padding: 9px 0; animation: fd-ticker 52s linear infinite;
}
.ticker__run { display: flex; gap: 40px; padding-right: 40px; white-space: nowrap; }
.ticker__sep { color: var(--tech); }

/* Fil d'Ariane */
.breadcrumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--on-dark-4); }
.breadcrumbs a { color: var(--on-dark-3); }
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs .breadcrumb_last, .breadcrumbs [aria-current] { color: var(--on-dark); }
.paper .breadcrumbs, .hero--paper .breadcrumbs { color: var(--muted); }
.hero--paper .breadcrumbs a { color: var(--muted); }
.hero--paper .breadcrumbs .breadcrumb_last { color: var(--ink); }

/* =========================================================================
   5. Héros
   ========================================================================= */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.35) contrast(1.15); z-index: -3; }
.hero__shade { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 30% 50%, rgba(10, 13, 16, .25) 0%, rgba(10, 13, 16, .9) 72%); }
.hero__grid {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(95, 176, 165, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 176, 165, .09) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
}
.hero__scan {
	position: absolute; left: 0; right: 0; height: 2px; top: -4%; z-index: -1;
	background: linear-gradient(90deg, transparent, rgba(95, 176, 165, .55), transparent);
	animation: fd-scan 7s linear infinite;
}
.hero__corner { position: absolute; width: 40px; height: 40px; border-color: var(--tech); border-style: solid; border-width: 0; opacity: .8; }
.hero__corner--tl { left: 28px; top: 28px; border-left-width: 1.5px; border-top-width: 1.5px; }
.hero__corner--tr { right: 28px; top: 28px; border-right-width: 1.5px; border-top-width: 1.5px; }
.hero__corner--bl { left: 28px; bottom: 28px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.hero__corner--br { right: 28px; bottom: 28px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.hero__tag { position: absolute; right: 80px; top: 34px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--tech); opacity: .85; }
.hero__caption { position: absolute; left: 80px; bottom: 36px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--on-dark-4); }
.hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; padding-block: 88px 80px; }
.hero__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__text h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: .98; letter-spacing: -.02em; max-width: 16ch; }
.hero__text h1 em { font-style: italic; color: var(--yellow); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--on-dark-2); max-width: 58ch; }
.hero__panel { flex: 0 1 480px; min-width: 300px; position: relative; }

.hero--home { min-height: 780px; display: flex; align-items: center; }
.hero--home .hero__bg { opacity: .42; }
.hero--home .hero__inner { padding-block: 100px 120px; width: 100%; }
.hero--home .hero__text { flex-basis: 600px; gap: 30px; }
.hero--home h1 { font-size: clamp(46px, 7vw, 104px); line-height: .94; max-width: 12ch; }

.hero--simple .hero__inner { padding-block: 64px 56px; }
.hero--simple h1 { font-size: clamp(36px, 4.6vw, 60px); }

.hero--paper { background: var(--paper); color: var(--ink); }
.hero--paper .hero__text h1 { color: var(--ink); }
.hero--paper .lead { color: #3B4148; }
.hero--paper .kicker { color: var(--yellow-ink); }
.hero--paper::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: linear-gradient(rgba(14, 18, 22, .05) 1px, transparent 1px); background-size: 100% 30px;
}
.hero--paper .btn--ghost { border-color: rgba(14, 18, 22, .35); color: var(--ink); }
.hero--paper .btn--ghost:hover { background: rgba(14, 18, 22, .06); color: var(--ink); }

@media (max-width: 860px) {
	.hero__corner, .hero__tag, .hero__caption { display: none; }
	.hero__inner { padding-block: 56px 56px; }
	.hero--home { min-height: 0; }
	.hero--home .hero__inner { padding-block: 64px 72px; }
	.hero__panel { flex-basis: 100%; min-width: 0; }
}

/* ---- Lunette de visée (accueil) ---- */
.scope-wrap { flex: 0 0 auto; width: min(600px, 100%); position: relative; margin: 36px auto 110px; }
.scope { width: min(560px, 100%); aspect-ratio: 1 / 1; position: relative; }
.scope__lens {
	position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(95, 176, 165, .95);
	-webkit-backdrop-filter: saturate(2.4) brightness(1.9) contrast(1.05); backdrop-filter: saturate(2.4) brightness(1.9) contrast(1.05);
	box-shadow: 0 0 0 10px rgba(10, 13, 16, .55), 0 0 120px rgba(95, 176, 165, .18), inset 0 0 90px rgba(10, 13, 16, .55);
}
.scope__ring {
	position: absolute; inset: 12px; border-radius: 50%;
	background: repeating-conic-gradient(from 0deg, var(--tech) 0deg .7deg, transparent .7deg 5deg);
	-webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 11px), #000 calc(100% - 11px));
	mask: radial-gradient(circle closest-side, transparent calc(100% - 11px), #000 calc(100% - 11px));
	opacity: .85; animation: fd-spin 90s linear infinite;
}
.scope__ring2 {
	position: absolute; inset: 34px; border-radius: 50%;
	background: repeating-conic-gradient(from 0deg, var(--yellow) 0deg 1.2deg, transparent 1.2deg 30deg);
	-webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 7px), #000 calc(100% - 7px));
	mask: radial-gradient(circle closest-side, transparent calc(100% - 7px), #000 calc(100% - 7px));
	opacity: .9; animation: fd-spin 140s linear infinite reverse;
}
.scope__circle { position: absolute; border-radius: 50%; border: 1px solid rgba(95, 176, 165, .5); }
.scope__circle--a { inset: 60px; }
.scope__circle--b { inset: 34%; border-color: rgba(95, 176, 165, .4); }
.scope__h, .scope__v { position: absolute; opacity: .9; }
.scope__h { left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, var(--tech) 0 38%, transparent 38% 62%, var(--tech) 62% 100%); }
.scope__v { top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(180deg, var(--tech) 0 38%, transparent 38% 62%, var(--tech) 62% 100%); }
.scope__ticks {
	position: absolute; left: 50%; top: 50%; width: 2px; height: 2px; margin: -1px 0 0 -1px; background: var(--tech);
	box-shadow: 44px 0 0 1px var(--tech), 88px 0 0 1px var(--tech), -44px 0 0 1px var(--tech), -88px 0 0 1px var(--tech),
		0 44px 0 1px var(--tech), 0 88px 0 1px var(--tech), 0 -44px 0 1px var(--tech), 0 -88px 0 1px var(--tech);
}
.scope__center { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(246, 233, 88, .25); }
.scope__label { position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--tech); white-space: nowrap; }
.scope__label--top { top: -8px; left: 50%; transform: translate(-50%, -100%); }
.scope__label--rec { left: 24px; top: 24%; font-size: 10.5px; background: rgba(10, 13, 16, .6); padding: 3px 6px; display: flex; align-items: center; gap: 7px; }

.fiche {
	position: absolute; right: 0; bottom: -90px; width: min(390px, 100%);
	background: rgba(10, 13, 16, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border: 1px solid rgba(95, 176, 165, .4); border-radius: var(--radius); padding: 18px 20px 16px;
	font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: var(--on-dark-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.fiche::before, .fiche::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid var(--tech); }
.fiche::before { left: -1px; top: -1px; border-left-width: 1.5px; border-top-width: 1.5px; }
.fiche::after { right: -1px; bottom: -1px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.fiche__head { display: flex; justify-content: space-between; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-dark); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.fiche__head span:first-child { color: var(--yellow); }
.fiche__head span:last-child { color: var(--on-dark-4); }
.fiche dl { margin: 0; display: grid; grid-template-columns: 112px 1fr; gap: 4px 12px; }
.fiche dt { color: var(--on-dark-4); }
.fiche dd { margin: 0; color: var(--on-dark); overflow-wrap: anywhere; }
.fiche dd .dot { margin-right: 8px; vertical-align: 1px; }
.fiche__foot { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line-dark); color: var(--on-dark-4); font-size: 11.5px; }
.cursor { display: inline-block; width: 7px; height: 12px; background: var(--tech); vertical-align: -2px; margin-left: 6px; animation: fd-blink 1.1s steps(1) infinite; }
@media (max-width: 860px) {
	.scope-wrap { margin: 8px auto 0; }
	.scope { margin: 0 auto; width: min(420px, 100%); }
	.fiche { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 28px; }
}

/* ---- Panneau générique (cartes de héros) ---- */
.panel {
	position: relative; background: rgba(10, 13, 16, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border: 1px solid rgba(95, 176, 165, .35); border-radius: var(--radius); padding: 20px 22px 18px;
	display: flex; flex-direction: column; gap: 12px;
}
.panel__head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-4); }
.panel__head span:first-child { color: var(--tech); }
.panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 12px; }
.panel__big { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--on-dark); }
.panel__sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.panel svg { display: block; width: 100%; height: auto; }
.agent { display: flex; align-items: center; gap: 12px; }
.agent img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 1.5px solid var(--tech); filter: saturate(.6); }
.agent span { display: flex; flex-direction: column; gap: 3px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); line-height: 1.4; }
.agent strong { color: var(--on-dark); font-weight: 400; }
.ping { transform-box: fill-box; transform-origin: center; animation: fd-ping 2.4s ease-out infinite; }
.track-dot { offset-rotate: 0deg; animation: fd-track 9s linear infinite; }

/* ---- Rapport anonymisé (pages d'enquête) ---- */
.report {
	position: relative; background: var(--paper); color: #2A3036; border-radius: 3px; padding: 26px 28px 22px;
	box-shadow: 0 34px 80px rgba(0, 0, 0, .6); transform: rotate(-1.4deg);
	font-family: var(--mono); font-size: 12.5px; line-height: 1.75;
}
.report__stamp {
	position: absolute; top: 18px; right: 20px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
	color: var(--yellow-ink); border: 1.5px solid var(--yellow-ink); padding: 5px 8px; border-radius: 3px; transform: rotate(-6deg); background: rgba(243, 238, 228, .9);
}
.report__head { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-paper); padding: 0 110px 10px 0; margin-bottom: 12px; }
.report__title { font-family: var(--serif); font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.report p { margin: 0 0 6px; }
.report strong { color: var(--ink); font-weight: 400; background: rgba(246, 233, 88, .35); padding: 0 3px; }
.report__redact { color: var(--ink); letter-spacing: -.05em; }
.report__sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-top: 1px solid var(--line-paper); margin-top: 14px; padding-top: 10px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.report__sign em { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); border-bottom: 1px solid var(--ink); padding: 0 10px 2px; }
.report__note { margin: 12px 0 0 !important; font-size: 10px; letter-spacing: .06em; color: #8A9098; font-style: italic; }
@media (max-width: 860px) { .report { transform: none; } }

/* ---- Urgence (violences intrafamiliales) ---- */
.urgence { background: var(--ink-2); border: 1px solid rgba(246, 233, 88, .45); border-top: 3px solid var(--yellow); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.urgence__title { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.urgence__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.urgence__list a { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line-dark); border-radius: 3px; color: var(--on-dark); min-height: 44px; }
.urgence__list a:hover { border-color: var(--yellow); color: var(--on-dark); }
.urgence__num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--yellow); }
.urgence__what { font-size: 13px; color: var(--on-dark-3); line-height: 1.4; }
.urgence__note { font-size: 13.5px; color: var(--on-dark-2); line-height: 1.5; }

/* ---- Journal réseau (smartphones) ---- */
.netlog { font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: var(--on-dark-2); }
.netlog__row { display: grid; grid-template-columns: 62px 1fr 64px 76px; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(243, 238, 228, .1); align-items: center; }
.netlog__row--head { color: var(--on-dark-4); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.netlog__row--alert { color: var(--ink); background: var(--yellow); border-radius: 2px; padding-inline: 6px; margin-inline: -6px; border-bottom-color: transparent; }
.netlog__flag { text-align: right; }

/* ---- Spectre (dépoussiérage) ---- */
.spectrum { height: 140px; display: flex; align-items: flex-end; gap: 3px; padding-top: 10px; border-bottom: 1px solid var(--line-dark); position: relative; }
.spectrum__bar { flex: 1 1 0; background: var(--tech); opacity: .75; transform-origin: bottom; animation: fd-bars 2.6s ease-in-out infinite; }
.spectrum__bar--peak { background: var(--yellow); opacity: 1; }
.spectrum__marker { position: absolute; top: 0; font-family: var(--mono); font-size: 10.5px; color: var(--yellow); letter-spacing: .1em; }
.spectrum-band { background: var(--ink); border-block: 1px solid rgba(243, 238, 228, .08); }
.spectrum-band__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-block: 22px; }
.spectrum-band .spectrum { flex: 1 1 400px; height: 44px; border: 0; padding: 0; }

/* =========================================================================
   6. Corps des pages (papier)
   ========================================================================= */
.page-body { background: var(--paper); color: var(--text); }
.page-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-block: 72px 88px; }
.page-grid > .entry-content { flex: 999 1 560px; min-width: 0; }
.page-grid > .sidebar { flex: 1 1 320px; min-width: 280px; max-width: 380px; position: sticky; top: 24px; }
.page-body--legal .page-grid > .entry-content { max-width: 820px; }
@media (max-width: 960px) { .page-grid > .sidebar { position: static; max-width: none; } }

/* Contenu éditorial (blocs Gutenberg) */
.entry-content { font-size: 17px; line-height: 1.7; color: var(--text); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content p { max-width: 72ch; }
.entry-content h2 { font-size: clamp(26px, 2.8vw, 34px); color: var(--ink); margin-top: 2.1em; line-height: 1.12; }
.entry-content h3 { font-size: clamp(20px, 2vw, 24px); color: var(--ink); margin-top: 1.7em; line-height: 1.2; }
.entry-content h4 { font-family: var(--sans); font-weight: 600; font-size: 17px; color: var(--ink); margin-top: 1.5em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content a { color: var(--yellow-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--ink); text-decoration-thickness: 2px; }
.entry-content strong { color: var(--ink); font-weight: 600; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; max-width: 72ch; }
.entry-content li + li { margin-top: .45em; }
.entry-content ul li::marker { color: var(--yellow-ink); }
.entry-content ol li::marker { color: var(--yellow-ink); font-family: var(--mono); font-size: .9em; }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin-inline: 0; padding: 18px 22px; background: var(--paper-2); border-left: 3px solid var(--yellow-ink);
	border-radius: 0 var(--radius) var(--radius) 0; font-size: 16.5px;
}
.entry-content .wp-block-quote p { margin: 0; }
.entry-content .wp-block-quote cite { display: block; margin-top: 8px; font-family: var(--mono); font-size: 12px; font-style: normal; color: var(--muted); }
.entry-content img { border-radius: 3px; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); margin-top: 8px; }
.entry-content hr, .entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line-paper); margin-block: 2.4em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line-paper); text-align: left; }
.entry-content th { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content details { border-bottom: 1px solid var(--line-paper); padding: 14px 0; }
.entry-content summary { cursor: pointer; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.entry-content .wp-block-embed iframe, .entry-content iframe[src*="youtube"], .entry-content iframe[src*="dailymotion"] { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 3px; }
.entry-content .wp-block-button__link, .entry-content .wp-element-button {
	display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; background: var(--ink-2); color: var(--on-dark);
	border-radius: 3px; font-weight: 600; font-size: 15px; text-decoration: none;
}
.entry-content .wp-block-button__link:hover { background: var(--ink); color: var(--yellow); }
.entry-content .wp-block-buttons { margin-top: 1.6em; }
.entry-content .wp-block-cover { border-radius: var(--radius); overflow: hidden; }
.entry-content .wp-block-cover a { color: inherit; }
.entry-content .wp-block-gallery { gap: 10px; }

/* -------------------------------------------------------------------------
   Anciens contenus : mise au diapason du thème
   ------------------------------------------------------------------------- */
/* Rythme et titres */
.entry-content > p:first-child { font-size: 19px; line-height: 1.6; color: var(--ink); }
.entry-content h2::before { content: ""; display: block; width: 36px; height: 2px; background: var(--yellow-ink); margin-bottom: 16px; }
.entry-content h2.is-long, .entry-content h3.is-long {
	font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; letter-spacing: 0; color: var(--ink);
	padding: 20px 24px; background: var(--white); border: 1px solid var(--line-paper); border-left: 3px solid var(--yellow-ink); border-radius: var(--radius);
}
.entry-content h2.is-long::before { display: none; }
.entry-content .is-long strong { font-weight: 400; color: inherit; }
.entry-content .has-text-align-center { text-align: left; }
.entry-content h2.has-background, .entry-content h3.has-background, .entry-content p.has-background {
	background: var(--ink-2) !important; color: var(--on-dark) !important; padding: 18px 22px; border-radius: var(--radius); border-left: 4px solid var(--yellow);
}
.entry-content .has-background a { color: var(--yellow) !important; }
.entry-content h2.has-background::before { display: none; }
.entry-content p:empty { display: none; }
.entry-content .wp-block-spacer { max-height: 24px; }

/* Images et galeries */
.entry-content .wp-block-image { margin-block: 1.8em; }
.entry-content .wp-block-image img { height: auto; box-shadow: 0 18px 40px -26px rgba(14, 18, 22, .55); }
.entry-content .alignfull, .entry-content .alignwide { width: 100%; max-width: 100%; margin-inline: 0; }
.entry-content .wp-block-image.alignfull img, .entry-content .wp-block-image.alignwide img { width: 100%; max-height: 520px; object-fit: cover; }
.entry-content .wp-block-gallery.has-nested-images {
	display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px !important; margin-block: 1.8em;
}
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; flex: none !important; position: relative; overflow: hidden; border-radius: 3px; background: var(--paper-2); }
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100% !important; height: 100% !important; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: none; border-radius: 0; transition: transform .3s ease; }
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: scale(1.03); }
.entry-content .wp-block-gallery figure.wp-block-image figcaption { position: absolute; inset: auto 0 0; margin: 0; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(10, 13, 16, .82)); color: var(--on-dark); font-size: 11px; }
.entry-content .fd-zoomable { cursor: zoom-in; }

/* Accordéons (blocs Otter de l'ancien thème, et blocs « Détails ») */
.entry-content .wp-block-themeisle-blocks-accordion { display: flex; flex-direction: column; gap: 10px; margin-block: 1.8em; }
.entry-content details.wp-block-themeisle-blocks-accordion-item, .entry-content details.wp-block-details {
	background: var(--white); border: 1px solid var(--line-paper); border-radius: var(--radius); padding: 0; margin: 0; transition: border-color .2s ease;
}
.entry-content details.wp-block-details + details.wp-block-details { margin-top: 10px; }
.entry-content details[open].wp-block-themeisle-blocks-accordion-item, .entry-content details[open].wp-block-details { border-color: rgba(103, 98, 37, .45); box-shadow: inset 3px 0 0 var(--yellow-ink); }
.entry-content .wp-block-themeisle-blocks-accordion-item__title, .entry-content details.wp-block-details > summary {
	list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 18px 14px 22px;
	font-family: var(--serif); font-size: 19px; line-height: 1.3; color: var(--ink); cursor: pointer; background: none; border: 0;
}
.entry-content .wp-block-themeisle-blocks-accordion-item__title::-webkit-details-marker, .entry-content details.wp-block-details > summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-themeisle-blocks-accordion-item__title::marker, .entry-content details.wp-block-details > summary::marker { content: ""; }
.entry-content .wp-block-themeisle-blocks-accordion-item__title > div { display: inline; margin: 0; }
.entry-content .wp-block-themeisle-blocks-accordion-item__title::after, .entry-content details.wp-block-details > summary::after {
	content: "+"; flex: 0 0 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-paper); border-radius: 50%;
	font-family: var(--mono); font-size: 16px; color: var(--yellow-ink); transition: transform .2s ease, background .2s ease;
}
.entry-content details[open] > .wp-block-themeisle-blocks-accordion-item__title::after, .entry-content details.wp-block-details[open] > summary::after { content: "−"; background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.entry-content .wp-block-themeisle-blocks-accordion-item__title:hover, .entry-content details.wp-block-details > summary:hover { color: var(--yellow-ink); }
.entry-content .wp-block-themeisle-blocks-accordion-item__content, .entry-content details.wp-block-details > :not(summary) {
	padding: 0 22px 18px; margin: 0; border: 0; font-size: 16px; color: var(--text);
}
.entry-content .wp-block-themeisle-blocks-accordion-item__content p { margin: 0 0 .6em; }
.entry-content .wp-block-themeisle-blocks-accordion-item__content p:last-child { margin-bottom: 0; }

/* Colonnes, citations, boutons, séparateurs */
.entry-content .wp-block-columns { gap: 32px; margin-block: 1.8em; }
.entry-content .wp-block-column > :first-child { margin-top: 0; }
.entry-content .wp-block-quote { position: relative; padding: 22px 26px 22px 56px; font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink); }
.entry-content .wp-block-quote::before { content: "«"; position: absolute; left: 18px; top: 10px; font-size: 40px; line-height: 1; color: var(--yellow-ink); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--yellow); }
.entry-content .wp-block-button__width-100 .wp-block-button__link { width: 100%; justify-content: center; }
.entry-content .wp-block-separator { border-top: 1px dashed rgba(14, 18, 22, .2); }
.entry-content .wp-block-embed { margin-block: 1.8em; }
.entry-content .wp-block-embed__wrapper { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px -28px rgba(14, 18, 22, .6); }

/* Encadré mis en avant (urgence, mise en garde) */
.entry-content .fsf-notice {
	background: var(--ink-2); color: var(--on-dark); border: 1px solid rgba(246, 233, 88, .45); border-left: 4px solid var(--yellow);
	border-radius: var(--radius); padding: 20px 24px;
}
.entry-content .fsf-notice p { max-width: none; margin: 0; color: var(--on-dark-2); }
.entry-content .fsf-notice p + p { margin-top: .5em; }
.entry-content .fsf-notice strong { color: var(--yellow); }

/* Formulaires (Contact Form 7 et autres) */
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"],
.entry-content input[type="url"], .entry-content input[type="number"], .entry-content select, .entry-content textarea {
	width: 100%; max-width: 560px; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(14, 18, 22, .25); border-radius: 3px;
	background: var(--white); color: var(--ink); font: inherit; font-size: 16px;
}
.entry-content textarea { min-height: 140px; }
.entry-content input:focus, .entry-content select:focus, .entry-content textarea:focus { outline: 2px solid var(--yellow-ink); outline-offset: 1px; border-color: transparent; }
.entry-content .wpcf7 label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); }
.entry-content .wpcf7-form p { max-width: 560px; }
.entry-content input[type="submit"], .entry-content button[type="submit"] {
	min-height: 52px; padding: 0 28px; border: 0; border-radius: 3px; background: var(--yellow); color: var(--ink); font-weight: 600; font-size: 15px;
}
.entry-content .wpcf7-not-valid-tip { color: #9A2B22; font-size: 13px; }
.entry-content .wpcf7-response-output { border-radius: 3px; margin: 1em 0 0 !important; padding: 12px 16px !important; }

/* =========================================================================
   7. Barre latérale
   ========================================================================= */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.call-card { background: var(--ink-2); color: var(--on-dark); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.call-card__phone { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--on-dark); }
.call-card__phone:hover { color: var(--yellow); }
.call-card p { font-size: 14px; line-height: 1.55; color: var(--on-dark-3); }
.side-box { background: var(--white); border: 1px solid var(--line-paper); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.6; color: #3B4148; }
.side-box--paper { background: var(--paper-2); border-color: transparent; }
.side-box .mono { font-size: 12.5px; overflow-wrap: anywhere; }
.side-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.side-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-paper); color: var(--text); font-size: 14.5px; }
.side-nav a:hover { color: var(--yellow-ink); }
.side-nav a[aria-current] { color: var(--ink); font-weight: 600; }
.side-nav a::after { content: "→"; color: var(--yellow-ink); }
.side-nav__group { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 0 4px; }

/* =========================================================================
   8. Sections de l'accueil
   ========================================================================= */
.section { padding-block: clamp(72px, 9vw, 104px); }
.section--ink { background: var(--ink); }
.section--ink2 { background: var(--ink-2); }
.section--line { border-top: 1px solid rgba(243, 238, 228, .08); }
.section--paper { background: var(--paper); color: var(--ink); border-top: 6px solid var(--yellow); }
.section--grid { position: relative; isolation: isolate; }
.section--grid::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(95, 176, 165, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 176, 165, .06) 1px, transparent 1px);
	background-size: 48px 48px;
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head__title { display: flex; flex-direction: column; gap: 12px; max-width: 64ch; }
.section-head h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1; letter-spacing: -.02em; }
.section-head h2 em { font-style: italic; color: var(--yellow); }
.section-head h2 em.tech { color: var(--tech); }
.section-head p { max-width: 46ch; color: var(--on-dark-3); font-size: 15.5px; line-height: 1.6; }
.section--paper .section-head p { color: #3B4148; }
.section--paper h2 { color: var(--ink); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.card {
	display: flex; flex-direction: column; gap: 12px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
	padding: 26px; color: var(--on-dark); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
a.card:hover { transform: translateY(-4px); border-color: rgba(243, 238, 228, .35); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); color: var(--on-dark); }
.card--dossier { border-top: 2px solid var(--yellow); }
.card__num { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--yellow); text-transform: uppercase; }
.card__title { font-family: var(--serif); font-size: 25px; line-height: 1.1; }
.card__text { font-size: 14.5px; line-height: 1.55; color: var(--on-dark-3); }
.card--tech { padding: 0; overflow: hidden; background: var(--ink); position: relative; }
.card--tech:hover { border-color: rgba(95, 176, 165, .7) !important; }
.card--tech img { width: 100%; height: 220px; object-fit: cover; filter: saturate(.5) contrast(1.1); }
.card--tech .card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.card--tech .card__num { color: var(--tech); }
.card__sys { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--tech); background: rgba(10, 13, 16, .75); padding: 4px 7px; }
.mission-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 40px 24px; }
.mission-group h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-4); margin-bottom: 16px; }
.mission-group .cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Fusion archive / atelier */
.fusion { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.fusion__archive { position: relative; background: var(--paper-2); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 44px 28px 30px; min-height: 440px; background-image: linear-gradient(rgba(14, 18, 22, .05) 1px, transparent 1px); background-size: 100% 28px; }
.fusion__archive .tag { position: absolute; top: 16px; left: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-ink); }
.stamp { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-ink); border: 1.5px solid var(--yellow-ink); padding: 5px 8px; border-radius: 3px; }
.fusion__archive .stamp { position: absolute; top: 14px; right: 18px; transform: rotate(6deg); }
.print { width: min(400px, 100%); height: auto; display: block; border: 10px solid #F8F5EE; box-shadow: 0 2px 0 rgba(14, 18, 22, .08), 0 24px 50px rgba(14, 18, 22, .28); transform: rotate(-1.5deg); filter: saturate(.85) contrast(1.04) sepia(.12); border-radius: 0; }
.fusion__archive figcaption { text-align: center; max-width: 42ch; display: flex; flex-direction: column; gap: 5px; }
.fusion__archive figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.fusion__archive figcaption span { font-size: 14px; color: var(--muted); }
.fusion__lab { position: relative; min-height: 440px; background: var(--ink-2); display: flex; align-items: flex-end; border-left: 1px solid var(--line-dark); isolation: isolate; }
.fusion__lab img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: invert(.93) hue-rotate(180deg) saturate(.5) contrast(1.1); z-index: -2; }
.fusion__lab::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 16, 0) 40%, rgba(10, 13, 16, .92) 100%), linear-gradient(rgba(95, 176, 165, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 176, 165, .12) 1px, transparent 1px); background-size: auto, 36px 36px, 36px 36px; }
.fusion__lab img { object-position: center 25%; }
.fusion__lab figcaption { width: 100%; padding: 64px 26px 24px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(180deg, rgba(10, 13, 16, 0) 0, rgba(10, 13, 16, .94) 46%, var(--ink-2) 100%); }
.fusion__lab figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--on-dark); }
.fusion__lab figcaption span { font-size: 14px; color: var(--on-dark-2); }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; border-top: 1px solid var(--line-dark); padding-top: 36px; margin-top: 48px; }
.figure__n { display: block; font-family: var(--serif); font-size: clamp(48px, 5vw, 64px); line-height: 1; letter-spacing: -.02em; }
.figure__n--y { color: var(--yellow); }
.figure__n--t { color: var(--tech); }
.figure__l { display: block; margin-top: 6px; }

/* Pièces découvertes */
.exhibits { display: flex; flex-wrap: wrap; gap: 18px; align-items: stretch; border-top: 1px solid var(--line-dark); padding-top: 36px; margin-top: 44px; }
.exhibits__intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.exhibits__intro h3 { font-size: 30px; line-height: 1.05; }
.exhibits__intro p { font-size: 14.5px; line-height: 1.55; color: var(--on-dark-3); }
.exhibit { margin: 0; flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.exhibit img { width: 100%; height: 190px; object-fit: cover; border-radius: 3px; border: 1px solid var(--line-dark); filter: saturate(.6); }
.exhibit figcaption { font-family: var(--mono); font-size: 11px; color: var(--on-dark-4); letter-spacing: .08em; text-transform: uppercase; }

/* Zones */
.zones { position: relative; }
.zones::before { content: ""; position: absolute; left: 6%; right: 6%; top: 46px; border-top: 1px dashed rgba(243, 238, 228, .25); }
.zones .cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); position: relative; }
.card--zone { background: rgba(10, 13, 16, .85); min-height: 214px; position: relative; }
.card--zone .card__title { font-size: 40px; line-height: 1; }
.zone-pin { position: absolute; top: 38px; right: 24px; width: 14px; height: 14px; border-radius: 50%; }
.zone-pin--office { background: var(--yellow); box-shadow: 0 0 0 5px rgba(246, 233, 88, .2); }
.zone-pin--field { border: 1.5px solid var(--tech); }
.card--zone .card__num.tech { color: var(--tech); }
@media (max-width: 640px) { .card--zone { min-height: 0; } .card--zone .card__title { font-size: 34px; } .zones::before { display: none; } }

/* Histoire (papier) */
.history { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.history__intro { flex: 0 1 420px; min-width: 280px; display: flex; flex-direction: column; gap: 18px; }
.history__intro p { font-size: 16px; line-height: 1.6; color: #3B4148; }
.press { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-family: var(--serif); font-size: 17px; color: #3B4148; margin-top: 6px; }
.timeline { list-style: none; margin: 0; padding: 0; flex: 1 1 520px; min-width: 0; border-left: 2px solid var(--yellow-ink); }
.timeline li { display: flex; gap: 24px; padding: 0 0 28px 28px; position: relative; }
.timeline li:last-child { padding-bottom: 4px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow-ink); }
.timeline li.is-now::before { background: var(--tech); }
.timeline__date { font-family: var(--mono); font-size: 13px; color: var(--yellow-ink); min-width: 92px; padding-top: 3px; }
.timeline li.is-now .timeline__date { color: var(--tech-ink); }
.timeline__body { display: flex; flex-direction: column; gap: 4px; }
.timeline__body strong { font-family: var(--serif); font-weight: 400; font-size: 23px; color: var(--ink); line-height: 1.15; }
.timeline__body span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 560px) { .timeline li { flex-direction: column; gap: 4px; } }

/* Preuve */
.proof .card { background: var(--ink-2); }
.proof .card__num { color: var(--yellow); }

/* Contact (bande) */
.contact-band { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-band__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-band__phone { font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); color: var(--on-dark); line-height: 1; }
.offices { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.office { border: 1px solid rgba(243, 238, 228, .14); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.office .label { color: var(--yellow); }
.office small { color: var(--on-dark-3); font-size: 14px; }

/* Actualités */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-paper); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14, 18, 22, .14); color: var(--text); }
.post-card__media { aspect-ratio: 16 / 10; background: var(--ink-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ref { aspect-ratio: 16 / 10; background: var(--ink-2); color: var(--on-dark); display: flex; flex-direction: column; justify-content: space-between; padding: 22px; background-image: linear-gradient(rgba(95, 176, 165, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 176, 165, .08) 1px, transparent 1px); background-size: 24px 24px; }
.post-card__ref .label { color: var(--tech); }
.post-card__ref strong { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.15; color: var(--yellow); }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.post-card__meta { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-card__title { font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--ink); }
.post-card__excerpt { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.section--ink .post-card, .section--ink2 .post-card { border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-paper); border-radius: 999px; font-size: 14px; color: var(--text); background: var(--white); }
.chip:hover, .chip[aria-current] { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-paper); border-radius: 3px; color: var(--text); background: var(--white); }
.pagination .current { background: var(--ink); color: var(--yellow); border-color: var(--ink); }

/* Article seul */
.post-hero-media { margin: 0; }
.post-hero-media img { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.juris-ref { display: inline-flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--ink); background: var(--yellow); padding: 6px 12px; border-radius: 2px; }

/* =========================================================================
   8 bis. Témoignages
   ========================================================================= */
/* En-tête : décompte et pile de lettres */
.hero--temoignages .hero__inner { align-items: center; }
.tally { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, max-content)); gap: 22px 44px; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid var(--line-paper); }
.tally div { display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; }
.tally dd { order: -1; }
.tally dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tally dd { margin: 0; font-family: var(--serif); font-size: clamp(32px, 3.4vw, 44px); white-space: nowrap; line-height: 1; color: var(--ink); }
.letters-stack { position: relative; min-height: 420px; display: grid; place-items: center; }
.letters-stack__sheet { grid-area: 1 / 1; width: min(300px, 70vw); height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: #FBF8F1; border: 1px solid rgba(14, 18, 22, .1); box-shadow: 0 2px 0 rgba(14, 18, 22, .06), 0 22px 44px rgba(14, 18, 22, .22); }
.letters-stack__sheet:nth-child(1) { transform: rotate(-7deg) translate(-38px, 10px); }
.letters-stack__sheet:nth-child(2) { transform: rotate(4deg) translate(34px, -6px); }
.letters-stack__sheet:nth-child(3) { transform: rotate(-1deg); }
.letters-stack__stamp { position: absolute; bottom: 18px; right: 8%; transform: rotate(-4deg); background: var(--paper); z-index: 2; }

/* Lettre */
.letters { display: grid; gap: 22px; }
.letters--pros { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); align-items: start; }
.letters--clients { display: block; columns: 3 320px; column-gap: 22px; }
.letters--clients .letter { break-inside: avoid; margin-bottom: 22px; }
.letter { margin: 0; position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 28px 22px; border-radius: var(--radius); }
.letter__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.letter__type { border: 1px solid currentColor; padding: 3px 8px; border-radius: 3px; }
.letter__body { margin: 0; padding: 0; border: 0; background: none; font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.letter__body p { margin: 0 0 .7em; }
.letter__body p:last-child { margin-bottom: 0; }
.letter__opener { font-style: italic; }
.letter__sign { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-top: 14px; font-size: 14px; }
.letter__who { font-family: var(--serif); font-style: italic; font-size: 17px; }
.letter__who::before { content: "— "; }
.letter__date { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; }

/* Lettres de clients : papier à lettres, surligneur */
.letter--letter { background: #FBF8F1; color: var(--text); border: 1px solid rgba(14, 18, 22, .08); box-shadow: 0 1px 0 rgba(14, 18, 22, .05), 0 14px 30px -18px rgba(14, 18, 22, .35); background-image: linear-gradient(rgba(14, 18, 22, .045) 1px, transparent 1px); background-size: 100% 27.9px; background-position: 0 54px; }
.letter--letter::before { content: "«"; position: absolute; top: 6px; right: 20px; font-family: var(--serif); font-size: 78px; line-height: 1; color: rgba(103, 98, 37, .22); pointer-events: none; }
.letter--letter .letter__head { color: var(--yellow-ink); padding-right: 44px; }
.letter--letter .letter__opener { color: var(--muted); }
.letter--letter .letter__sign { border-top: 1px dashed var(--line-paper); color: var(--muted); }
.letter--letter .letter__who { color: var(--ink); }
.letter mark { color: inherit; padding: 0 .08em; background: linear-gradient(transparent 52%, rgba(246, 233, 88, .85) 52%, rgba(246, 233, 88, .85) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.letters--clients .letter:nth-child(3n+1) { transform: rotate(-.4deg); }
.letters--clients .letter:nth-child(3n+2) { transform: rotate(.35deg); }

/* Attestations de professionnels : fond sombre, passage clé en jaune */
.letter--pro { background: var(--ink-2); color: var(--on-dark-2); border: 1px solid var(--line-dark); border-top: 2px solid var(--yellow); }
.letter--pro .letter__head { color: var(--yellow); }
.letter--pro .letter__body { font-size: 19px; }
.letter--pro .letter__opener { color: var(--on-dark-4); }
.letter--pro mark { background: none; color: var(--yellow); }
.letter--pro .letter__sign { border-top: 1px solid var(--line-dark); color: var(--on-dark-4); }
.letter--pro .letter__who { color: var(--on-dark); }
.testimonials-pros .section-head h2 em { font-style: italic; color: var(--yellow); }

/* Originaux scannés */
.scans { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 34px 28px; }
.scan { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.scan a { display: block; background: #FBF8F1; padding: 8px; border-radius: 2px; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .7); transition: transform .25s ease; }
.scan:nth-child(odd) a { transform: rotate(-1.2deg); }
.scan:nth-child(even) a { transform: rotate(1deg); }
.scan a:hover, .scan a:focus-visible { transform: rotate(0) translateY(-4px); }
.scan img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.scan figcaption { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-4); text-align: center; }

/* Visionneuse */
.lightbox { width: min(92vw, 900px); max-height: 94vh; padding: 0; border: 0; background: transparent; color: var(--on-dark); overflow: visible; }
.lightbox::backdrop { background: rgba(6, 8, 10, .88); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; background: #FBF8F1; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.lightbox figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.lightbox__btn { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243, 238, 228, .35); background: rgba(10, 13, 16, .7); color: var(--on-dark); font-size: 22px; cursor: pointer; }
.lightbox__btn:hover { background: var(--yellow); color: var(--ink); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__close { top: 16px; right: 16px; transform: none; }

/* Appel à témoigner */
.testimonials-cta__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.testimonials-cta h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 10px 0 12px; }
.testimonials-cta p:not(.kicker) { color: var(--on-dark-3); max-width: 52ch; margin: 0; }

/* Accueil : « Ils nous ont écrit » */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 30px 28px 24px; background: #FBF8F1; border: 1px solid rgba(14, 18, 22, .08); border-radius: var(--radius); box-shadow: 0 14px 30px -18px rgba(14, 18, 22, .35); }
.quote blockquote { margin: 0; padding: 0; border: 0; }
.quote blockquote p { margin: 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.3; color: var(--ink); }
.quote blockquote p::before { content: "«\00a0"; color: var(--yellow-ink); }
.quote blockquote p::after { content: "\00a0»"; color: var(--yellow-ink); }
.quote figcaption { display: flex; flex-direction: column; gap: 4px; border-top: 1px dashed var(--line-paper); padding-top: 12px; }
.quote__type { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-ink); }
.quote__who { font-family: var(--serif); font-style: italic; color: var(--muted); }

@media (max-width: 960px) {
	.letters-stack { min-height: 340px; margin-top: 12px; }
	.letters-stack__sheet { width: min(230px, 56vw); }
}
@media (max-width: 640px) {
	.letter { padding: 22px 20px 18px; }
	.letter__body, .letter--pro .letter__body { font-size: 17px; }
	.letters--clients .letter { transform: none !important; }
	.scans { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
	.lightbox__btn { top: auto; bottom: 16px; transform: none; }
	.lightbox__close { top: 16px; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) { .scan a { transition: none; } }
@media print { .letters-stack, .testimonials-scans, .testimonials-cta { display: none !important; } .letter { break-inside: avoid; box-shadow: none; transform: none !important; } }

/* =========================================================================
   8 ter. Autorisation CNAPS mise en valeur
   ========================================================================= */
.cnaps-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 6px 0 24px; }
.cnaps-hero__doc { position: relative; display: block; width: min(400px, 78vw); transform: rotate(-2.2deg); transition: transform .25s ease; }
.cnaps-hero__doc img { display: block; width: 100%; height: auto; background: #FFF; border: 1px solid rgba(14, 18, 22, .12); box-shadow: 0 2px 0 rgba(14, 18, 22, .06), 0 30px 60px -18px rgba(14, 18, 22, .45); }
.cnaps-hero__doc:hover, .cnaps-hero__doc:focus-visible { transform: rotate(0) translateY(-4px); }
.cnaps-hero__zoom { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 5px 8px; border-radius: 2px; }
.cnaps-hero__stamp { position: absolute; top: 46%; right: max(0px, calc(50% - 250px)); transform: rotate(-8deg); background: rgba(243, 238, 228, .94); color: #8B2E24; border-color: #8B2E24; font-size: 11px; padding: 7px 10px; z-index: 2; box-shadow: 0 6px 16px -8px rgba(14, 18, 22, .4); }
.cnaps-hero__card { position: relative; z-index: 2; margin-top: -86px; margin-left: min(160px, 20vw); width: min(340px, 86vw); transform: rotate(1.4deg); padding: 18px 20px 14px; }
.cnaps-hero__card p { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.cnaps-hero__card strong { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.entry-content .cnaps-doc { margin: 1.6em auto 2.2em; max-width: 560px; }
.entry-content .cnaps-doc a { display: block; position: relative; }
.entry-content .cnaps-doc a::after { content: "Agrandir"; position: absolute; top: 12px; right: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 5px 8px; border-radius: 2px; }
.entry-content .cnaps-doc img { display: block; width: 100%; height: auto; background: #FFF; border: 1px solid var(--line-paper); border-top: 4px solid var(--yellow); box-shadow: 0 24px 50px -24px rgba(14, 18, 22, .5); }
.entry-content .cnaps-doc figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; line-height: 1.5; text-align: center; color: var(--muted); }
.card--cnaps.has-doc { padding-right: 132px; position: relative; }
.card--cnaps__doc { position: absolute; top: 22px; right: 22px; width: 92px; height: auto; background: #FFF; transform: rotate(4deg); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .7); transition: transform .25s ease; }
a.card--cnaps:hover .card--cnaps__doc { transform: rotate(0) scale(1.04); }
.card__more { margin-top: auto; font-size: 13.5px; font-weight: 500; color: var(--yellow); }
@media (max-width: 640px) {
	.cnaps-hero__card { margin-left: 0; margin-top: -40px; }
	.cnaps-hero__stamp { right: 4px; top: 38%; }
	.card--cnaps.has-doc { padding-right: 110px; }
	.card--cnaps__doc { width: 74px; }
}
@media (prefers-reduced-motion: reduce) { .cnaps-hero__doc, .card--cnaps__doc { transition: none; } }

/* =========================================================================
   9. Pied de page
   ========================================================================= */
.site-footer { background: #06080A; color: var(--on-dark-4); border-top: 1px solid rgba(243, 238, 228, .08); font-size: 14px; }
.site-footer a { color: var(--on-dark-3); }
.site-footer a:hover { color: var(--yellow); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; padding-block: 56px 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .label { margin-bottom: 4px; color: var(--on-dark-4); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-brand img { height: 44px; width: auto; display: block; }
.footer-brand p { color: var(--on-dark-3); line-height: 1.6; max-width: 34ch; }
.footer-phone { font-family: var(--serif); font-size: 26px; color: var(--on-dark) !important; }
.footer-bottom { border-top: 1px solid rgba(243, 238, 228, .08); padding-block: 20px 28px; font-size: 12.5px; line-height: 1.6; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* =========================================================================
   10. Animations
   ========================================================================= */
@keyframes fd-scan { 0% { top: -4%; } 100% { top: 104%; } }
@keyframes fd-bars { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
@keyframes fd-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fd-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes fd-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(95, 176, 165, .55); } 70% { box-shadow: 0 0 0 10px rgba(95, 176, 165, 0); } }
@keyframes fd-spin { to { transform: rotate(360deg); } }
@keyframes fd-ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes fd-track { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.dot--pulse { animation: fd-pulse 2.2s ease-out infinite; }
@media (prefers-reduced-motion: reduce) {
	.ticker__track, .hero__scan, .scope__ring, .scope__ring2, .cursor, .dot--pulse, .spectrum__bar, .ping, .track-dot { animation: none !important; }
	.hero__scan { display: none; }
}

/* Impression */
@media print {
	.site-header, .site-footer, .sidebar, .hero__panel, .ticker, .hero__scan { display: none !important; }
	body, .hero, .page-body { background: #fff !important; color: #000 !important; }
}

/* Trace GPS : animée par défaut, figée si l'utilisateur limite les animations. */
.track-still { display: none; }
@media (prefers-reduced-motion: reduce) { .track-live { display: none; } .track-still { display: inline; } }
