/*
Theme Name: Salariat
Theme URI: https://salariat.fr
Author: Seobooster
Author URI: https://seobooster.mu
Description: Droit du travail, côté salarié. Thème natif écrit pour ce site — un contrat lu au surligneur : encre pleine (imposé), fluo (négociable), rature (faux/nul). Aucun clone, aucun reskin.
Version: 1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: salariat
*/

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
body { overflow-x: hidden; }

/* ==========================================================================
   2. JETONS — COULEURS
   Deux jeux : ADAPTATIFS (changent avec le mode) et FIXES (identiques
   partout). Ils ne se croisent jamais dans un même bloc.
   ========================================================================== */
:root {
	/* --- clair (par défaut) --- */
	--fond:      #D2E0DD;
	--feuille:   #E7EFEC;
	--encre:     #0E1614;
	--sourde:    #5A6D69;
	--accent:    #A5008F;
	--filet:     #B8C9C5;
	--poids-corps: 400;

	/* --- fixes, identiques dans les deux thèmes --- */
	--fluo:        #FF4FD1;
	--bande-fixe:  #0B1211;
	--encre-fixe:  #E9F2EF;
	--sourde-fixe: #7E918D;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--fond:      #0D1413;
		--feuille:   #1D2A27;
		--encre:     #E3EDEA;
		--sourde:    #8CA09B;
		--accent:    #FF7BDD;
		--filet:     #24312E;
		--poids-corps: 500;
	}
}

:root[data-theme="dark"] {
	--fond:      #0D1413;
	--feuille:   #1D2A27;
	--encre:     #E3EDEA;
	--sourde:    #8CA09B;
	--accent:    #FF7BDD;
	--filet:     #24312E;
	--poids-corps: 500;
}

/* ==========================================================================
   3. JETONS — TYPOGRAPHIE, GRILLE, RAYONS, DURÉES
   ========================================================================== */
:root {
	--f-titre: 'Syne', 'Helvetica Neue', Arial, sans-serif;
	--f-texte: 'Trirong', Georgia, 'Times New Roman', serif;

	--t-display:   clamp(2.75rem, 6vw, 5.25rem);
	--t-h1:        clamp(2.125rem, 4vw, 3.5rem);
	--t-h2:        clamp(1.625rem, 2.6vw, 2.25rem);
	--t-h3:        1.375rem;
	--t-nombre:    clamp(3.5rem, 7vw, 6rem);
	--t-chapo:     1.3125rem;
	--t-corps:     1.125rem;
	--t-petit:     .9375rem;
	--t-etiquette: .75rem;
	--t-ref:       .8125rem;

	--max:              1240px;
	--gouttiere:        28px;
	--marge:            24px;
	--marge-mobile:     18px;
	--marge-annotation: 200px; /* A-3 — élargie de 132 à 200px (les entrées du sommaire se cassaient sur 5 lignes) */
	--colonne:          680px;

	--r-carte:   6px;
	--r-encadre: 6px;
	--r-pill:    4px;
	--r-bouton:  4px;
	--r-champ:   0;

	--d-survol:     160ms;
	--d-trait:      240ms;
	--d-apparition: 320ms;
	--d-compteur:   900ms;
	--e-out:        ease-out;
	--e-signature:  cubic-bezier(.2,.7,.3,1);
}

/* ==========================================================================
   4. TYPOGRAPHIE DE BASE
   ========================================================================== */
html { font-size: 100%; }
body {
	font-family: var(--f-texte);
	font-weight: var(--poids-corps);
	font-size: var(--t-corps);
	line-height: 1.68;
	color: var(--encre);
	background: var(--fond);
	font-variant-numeric: lining-nums tabular-nums;
	transition: background var(--d-survol) var(--e-out), color var(--d-survol) var(--e-out);
}

h1, h2, h3, .sal-t-titre { font-family: var(--f-titre); color: var(--encre); }
h1 { font-size: var(--t-h1); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: var(--t-h2); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.2; }

.sal-saut { position: absolute; left: -999px; top: 0; background: var(--fluo); color: var(--encre); padding: .6em 1em; z-index: 999; }
.sal-saut:focus { left: var(--marge); top: var(--marge); }

/* focus clavier — sur tout élément actif */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* ==========================================================================
   5. MISE EN PAGE — CONTENEURS ET GRILLES
   ========================================================================== */
.sal-conteneur {
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--marge);
}
@media (max-width: 480px) { .sal-conteneur { padding-inline: var(--marge-mobile); } }

.sal-bande { background: var(--fond); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.sal-bande:first-of-type { border-top: 0; }
.sal-bande--feuille { background: var(--feuille); }
.sal-bande--fixe { background: var(--bande-fixe); color: var(--encre-fixe); border-color: rgba(233,242,239,.12); }
.sal-bande--fixe .sal-t-etiquette, .sal-bande--fixe p, .sal-bande--fixe h1, .sal-bande--fixe h2, .sal-bande--fixe h3 { color: var(--encre-fixe); }
.sal-bande { padding-block: clamp(48px, 8vw, 96px); }

.sal-grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gouttiere); }
.sal-grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gouttiere); }
@media (max-width: 900px) { .sal-grille-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sal-grille-3, .sal-grille-2 { grid-template-columns: 1fr; } }

.sal-colonne-lecture { max-width: var(--colonne); }

.sal-t-etiquette {
	font-family: var(--f-texte); font-weight: 600; font-size: var(--t-etiquette);
	text-transform: uppercase; letter-spacing: .12em; color: var(--sourde);
}

/* apparition au défilement (posée en JS via IntersectionObserver) */
[data-anime] { opacity: 0; transform: translateY(14px); transition: opacity var(--d-apparition) var(--e-signature), transform var(--d-apparition) var(--e-signature); }
[data-anime].est-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   6. COMPOSANT — LOGO
   ========================================================================== */
.sal-logo { display: inline-flex; align-items: center; gap: .5em; color: var(--encre); }
.sal-logo-symbole { width: 1.6em; height: 1.6em; flex-shrink: 0; }
.sal-logo-mot {
	font-family: var(--f-titre); font-weight: 800; font-size: 1.4rem;
	letter-spacing: -0.03em; color: var(--encre);
}
.sal-logo-signature {
	display: block; font-family: var(--f-texte); font-weight: 600; font-size: 11px;
	text-transform: uppercase; letter-spacing: .14em; color: var(--sourde-fixe); margin-top: 2px;
}
.sal-bande--fixe .sal-logo, .sal-pied .sal-logo, .sal-bande--fixe .sal-logo-mot,
.sal-bandeau .sal-logo, .sal-bandeau .sal-logo-mot,
.sal-menu-tiroir .sal-logo, .sal-menu-tiroir .sal-logo-mot { color: var(--encre-fixe); }

/* ==========================================================================
   7. COMPOSANT — BANDEAU / NAVIGATION
   ⚠️ WordPress insère un <ul> entre <nav> et les <a> : on vise nav > ul,
   jamais nav directement, sinon le flex ne s'applique qu'à un seul enfant.
   ========================================================================== */
.sal-bandeau {
	position: sticky; top: 0; z-index: 50;
	background: var(--bande-fixe); color: var(--encre-fixe);
	border-bottom: 1px solid rgba(233,242,239,.12);
	transition: padding-block var(--d-survol) var(--e-out);
}
.sal-bandeau-interieur {
	display: flex; align-items: center; gap: var(--gouttiere);
	padding-block: 12px; min-height: 64px;
	transition: min-height var(--d-survol) var(--e-out), padding-block var(--d-survol) var(--e-out);
}
.sal-bandeau.est-reduit .sal-bandeau-interieur { min-height: 48px; padding-block: 6px; }

.sal-nav { flex: 1; }
.sal-nav > ul {
	display: flex; align-items: center; gap: clamp(14px, 2vw, 28px);
	list-style: none; margin: 0; padding: 0;
}
.sal-nav > ul > li { position: relative; }
.sal-nav > ul > li > a {
	display: inline-block; padding: 6px 2px; font-family: var(--f-texte); font-weight: 600;
	font-size: var(--t-petit); text-transform: uppercase; letter-spacing: .04em;
	color: var(--encre-fixe); position: relative;
}
.sal-nav > ul > li > a::after {
	content: ""; position: absolute; left: -6px; right: -10px; bottom: -2px; height: 7px;
	background: var(--fluo); transform: rotate(-2.5deg) scaleX(0); transform-origin: left center;
	transition: transform var(--d-trait) var(--e-signature); z-index: -1;
	clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.sal-nav > ul > li > a.est-actif::after,
.sal-nav > ul > li > a:hover::after { transform: rotate(-2.5deg) scaleX(1); }
.sal-nav > ul > li > a.est-actif, .sal-nav > ul > li > a:hover { color: var(--encre); }

.sal-bandeau-actions { display: flex; align-items: center; gap: 14px; }
.sal-cta-bandeau { padding: 10px 20px; font-size: .8125rem; }
.sal-loupe, .sal-bascule, .sal-menu-bouton {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; color: var(--encre-fixe); border-radius: var(--r-bouton);
	transition: background var(--d-survol) var(--e-out);
}
.sal-loupe:hover, .sal-bascule:hover, .sal-menu-bouton:hover { background: rgba(233,242,239,.1); }
.sal-loupe svg, .sal-bascule svg, .sal-menu-bouton svg { width: 20px; height: 20px; }
.sal-bascule-icone--sombre { display: none; }
:root[data-theme="dark"] .sal-bascule-icone--clair { display: none; }
:root[data-theme="dark"] .sal-bascule-icone--sombre { display: inline-flex; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .sal-bascule-icone--clair { display: none; }
	:root:not([data-theme="light"]) .sal-bascule-icone--sombre { display: inline-flex; }
}

.sal-recherche-boite { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--bande-fixe); padding: 16px var(--marge); border-bottom: 1px solid rgba(233,242,239,.12); }
.sal-recherche-boite.est-ouverte { display: block; }
.sal-recherche-boite form { display: flex; max-width: var(--max); margin-inline: auto; gap: 10px; }
.sal-recherche-boite input[type="search"] {
	flex: 1; background: var(--feuille); color: var(--encre); border: 0; border-bottom: 2px solid var(--sourde);
	padding: 10px 12px; font-size: var(--t-corps);
}
.sal-menu-bouton { display: none; }

/* ==========================================================================
   8. COMPOSANT — MENU TIROIR (mobile plein écran)
   ========================================================================== */
.sal-menu-tiroir {
	position: fixed; inset: 0; z-index: 100; background: var(--bande-fixe); color: var(--encre-fixe);
	display: flex; flex-direction: column; padding: var(--marge-mobile);
	transform: translateX(100%); transition: transform var(--d-apparition) var(--e-signature);
}
.sal-menu-tiroir.est-ouvert { transform: translateX(0); }
.sal-menu-tiroir-entete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.sal-menu-tiroir-liste { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.sal-menu-tiroir-liste li a {
	display: flex; justify-content: space-between; align-items: center; padding: 16px 4px;
	border-bottom: 1px solid rgba(233,242,239,.12);
	font-family: var(--f-titre); font-weight: 700; font-size: 1.25rem;
}
.sal-menu-tiroir-liste li a .sal-pill-compte { color: var(--fluo); }
.sal-menu-tiroir-pied { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ==========================================================================
   9. COMPOSANT — BOUTONS
   ========================================================================== */
.sal-bouton {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--f-texte); font-weight: 600; font-size: var(--t-petit);
	text-transform: uppercase; letter-spacing: .04em;
	padding: 14px 26px; border-radius: var(--r-bouton); border: 2px solid transparent;
	transition: transform var(--d-survol) var(--e-out), box-shadow var(--d-survol) var(--e-out), background var(--d-survol) var(--e-out);
}
.sal-bouton--fluo {
	background: var(--fluo); color: var(--encre);
	box-shadow: 3px 3px 0 var(--encre);
}
.sal-bouton--fluo:hover { box-shadow: 1px 1px 0 var(--encre); transform: translate(2px, 2px); }
:root[data-theme="dark"] .sal-bouton--fluo { box-shadow: none; }
:root[data-theme="dark"] .sal-bouton--fluo:hover { transform: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .sal-bouton--fluo { box-shadow: none; }
	:root:not([data-theme="light"]) .sal-bouton--fluo:hover { transform: none; }
}
.sal-bouton--filet { background: transparent; border-color: currentColor; color: inherit; }
.sal-bouton--filet:hover { border-color: var(--fluo); }
.sal-bouton--pleine-largeur { width: 100%; }

/* ==========================================================================
   10. COMPOSANT — LE TRAIT DE SURLIGNEUR (P1) & LA RATURE (P4)
   Un aplat fluo incliné -2.5°, bouts francs, biseau droit ~20°, qui déborde
   du texte. Seul aplat coloré du site — jamais deux dans un même bloc.
   ========================================================================== */
mark.sal-fluo {
	position: relative; display: inline; background: none; color: var(--encre);
	padding-inline: .08em; z-index: 0;
}
mark.sal-fluo::before {
	content: ""; position: absolute; z-index: -1;
	top: -6%; bottom: -6%; left: -6px; right: -10px;
	background: var(--fluo);
	transform: rotate(-2.5deg);
	clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
mark.sal-fluo.sal-trait-scroll::before { transform: rotate(-2.5deg) scaleX(0); transform-origin: left center; transition: transform var(--d-trait) var(--e-signature); }
mark.sal-fluo.sal-trait-scroll.est-visible::before { transform: rotate(-2.5deg) scaleX(1); }

/* La rature suit le texte ligne par ligne : en inline-block, un texte sur deux lignes
   recevait un seul trait au milieu de la boîte, à travers le vide. */
.sal-rature { display: inline; text-decoration: line-through;
	text-decoration-thickness: 2px; text-decoration-color: currentColor;
	text-decoration-skip-ink: none; }
.sal-rature-bloc { display: flex; flex-direction: column; gap: 10px; padding-block: 20px; border-top: 1px solid rgba(233,242,239,.15); }
.sal-rature-bloc:first-child { border-top: 0; }
.sal-rature-texte { font-family: var(--f-texte); font-style: italic; font-size: 1.1rem; }
.sal-rature-regle { font-family: var(--f-titre); font-weight: 700; font-size: 1rem; color: var(--encre-fixe); }
.sal-rature-ref { display: block; margin-top: 6px; }

/* ==========================================================================
   11. COMPOSANT — RÉFÉRENCE ENTRE CROCHETS (P3)
   ========================================================================== */
.sal-references { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-block: 14px; }
.sal-reference { font-family: var(--f-texte); font-weight: 600; font-size: var(--t-ref); text-transform: uppercase; letter-spacing: .08em; color: var(--sourde); }
.sal-reference-crochet { color: var(--accent); font-size: 1.4em; line-height: 0; vertical-align: -.08em; }
/* A-1/R-1 — même famille de bug : .sal-reference utilise --sourde et
   --reference-crochet utilise --accent, deux jetons ADAPTATIFS. Posés tels
   quels dans « Ce qui ne se signe pas » (bande fixe, home bloc 6), ils
   croisent la règle de jetons. On les rabat sur les jetons FIXES. */
.sal-bande--fixe .sal-reference { color: var(--sourde-fixe); }
.sal-bande--fixe .sal-reference-crochet { color: var(--encre-fixe); }

/* ==========================================================================
   12. COMPOSANT — PILLS LUMINEUX DE RUBRIQUE (P5)
   ========================================================================== */
.sal-pill {
	position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden;
	border: 1.5px solid var(--accent); border-radius: var(--r-pill);
	padding: 9px 16px; font-family: var(--f-texte); font-weight: 600; font-size: var(--t-etiquette);
	text-transform: uppercase; letter-spacing: .08em; color: var(--encre);
}
.sal-pill::before {
	content: ""; position: absolute; inset: 0; background: var(--fluo);
	transform: scaleX(0); transform-origin: left center; transition: transform var(--d-trait) var(--e-signature); z-index: 0;
}
.sal-pill:hover::before, .sal-pill.est-actif::before { transform: scaleX(1); }
.sal-pill-nom, .sal-pill-compte { position: relative; z-index: 1; }
.sal-pill-compte { color: var(--fluo); }
/* Même famille que A-1/R-1 : au survol/actif le fond du pill devient
   --fluo (fixe). Le texte doit rester un jeton FIXE (--sur-fluo) : --encre
   vaut #E3EDEA en sombre, illisible sur le rose (réserve verdict : « 23 »
   en fluo sur aplat fluo). */
.sal-pill:hover .sal-pill-compte, .sal-pill.est-actif .sal-pill-compte,
.sal-pill:hover .sal-pill-nom, .sal-pill.est-actif .sal-pill-nom { color: var(--sur-fluo); }
.sal-pill-liste { display: flex; flex-wrap: wrap; gap: 12px; }
.sal-pill--cartouche { position: absolute; left: 14px; bottom: 14px; z-index: 2; border-color: var(--fluo); background: var(--bande-fixe); color: var(--encre-fixe); }
.sal-pill--cartouche::before { background: var(--fluo); }
/* Le cartouche est un bloc FIXE (fond --bande-fixe, texte --encre-fixe) même
   posé dans une carte adaptative : au survol, son fond bascule sur --fluo
   (fixe) et le texte doit rester un jeton fixe (--sur-fluo), jamais --encre
   (qui vaut #E3EDEA en sombre : illisible sur le rose). */
.sal-carte-media:hover .sal-pill--cartouche .sal-pill-nom { color: var(--sur-fluo); }

/* ==========================================================================
   13. COMPOSANT — CARTES D'ARTICLE (photo pleine)
   ========================================================================== */
.sal-carte { display: flex; flex-direction: column; gap: 14px; }
.sal-carte-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-carte); background: var(--feuille); }
.sal-carte-img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--e-out); }
.sal-carte:hover .sal-carte-img { transform: scale(1.03); }
.sal-carte-corps { display: flex; flex-direction: column; gap: 8px; }
.sal-carte-titre { font-family: var(--f-titre); font-weight: 700; font-size: 1.15rem; line-height: 1.28; }
.sal-carte-titre-texte { position: relative; }
.sal-carte-titre-texte::before {
	content: ""; position: absolute; left: -4px; right: -6px; top: 8%; bottom: 8%;
	background: var(--fluo); z-index: -1; transform: rotate(-2.5deg) scaleX(0); transform-origin: left center;
	transition: transform var(--d-trait) var(--e-signature);
	clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.sal-carte:hover .sal-carte-titre-texte::before { transform: rotate(-2.5deg) scaleX(1); }
.sal-carte-meta { font-family: var(--f-texte); font-size: var(--t-petit); color: var(--sourde); }

/* ==========================================================================
   14. HOME — BANDEAU DE CHIFFRES (bloc 2 bas de hero)
   ========================================================================== */
.sal-hero { padding-block: clamp(56px, 9vw, 110px); }
.sal-hero-grille { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
/* H-1 — line-height remonté de .96 à 1.04 (~+0,08em) : à .96 l'aplat fluo
   de « obtenir. » (2ᵉ ligne) mangeait les jambages du p et du y de
   « pouvez en » (1ʳᵉ ligne), très visible en 390. */
.sal-hero-titre { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-display); line-height: 1.04; letter-spacing: -0.03em; color: var(--encre-fixe); }
.sal-hero-chapo { font-family: var(--f-texte); font-size: var(--t-chapo); line-height: 1.58; margin-top: 20px; max-width: 46ch; color: var(--encre-fixe); }
.sal-hero-boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.sal-hero-boutons .sal-bouton--filet { color: var(--encre-fixe); }

.sal-dossier-vedette { display: block; }
.sal-dossier-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.sal-dossier-titre { font-family: var(--f-titre); font-weight: 700; font-size: 1.4rem; margin-top: 16px; color: var(--encre-fixe); }
.sal-dossier-meta { font-size: var(--t-petit); color: var(--sourde-fixe); margin-top: 6px; }

.sal-hero-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gouttiere); margin-top: clamp(48px, 8vw, 88px); border-top: 1px solid rgba(233,242,239,.15); padding-top: 32px; }
.sal-chiffre-valeur { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-nombre); line-height: .9; color: var(--encre-fixe); }
.sal-chiffre-valeur mark.sal-fluo { color: var(--encre); }
.sal-chiffre-libelle { font-family: var(--f-texte); font-size: var(--t-petit); color: var(--sourde-fixe); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ==========================================================================
   15. HOME — LE FACE-À-FACE (P2, bloc signature)
   ========================================================================== */
.sal-face-a-face { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--filet); border-radius: var(--r-encadre); overflow: hidden; }
.sal-face-a-face + .sal-face-a-face { margin-top: 20px; }
.sal-face-colonne { padding: 24px 28px; }
.sal-face-colonne--gauche { border-right: 1px solid var(--filet); }
.sal-face-etiquette { display: block; margin-bottom: 12px; }
.sal-face-propos { font-family: var(--f-texte); font-style: italic; font-size: 1.25rem; line-height: 1.5; }
.sal-face-fait { font-family: var(--f-titre); font-weight: 700; font-size: 1.125rem; line-height: 1.4; }
.sal-face-liste { display: flex; flex-direction: column; gap: 20px; }

/* ==========================================================================
   16. HOME — RUBRIQUES / GRILLE / AIDE (blocs 4, 5, 7)
   ========================================================================== */
.sal-section-tete { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.sal-section-titre { font-size: var(--t-h2); }

.sal-aide-bloc { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.sal-aide-bloc-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-carte); }
.sal-aide-bloc-texte h2 { margin-bottom: 12px; }
.sal-aide-bloc-texte p { max-width: 52ch; margin-bottom: 20px; }

/* ==========================================================================
   17. PIED DE PAGE (bloc 8)
   ========================================================================== */
.sal-pied { padding-block: clamp(48px, 7vw, 80px) 32px; }
.sal-pied-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gouttiere); }
.sal-pied-col h3 { font-family: var(--f-titre); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--encre-fixe); margin-bottom: 16px; }
.sal-pied-col ul { display: flex; flex-direction: column; gap: 10px; }
.sal-pied-col a { color: var(--sourde-fixe); font-size: var(--t-petit); }
.sal-pied-col a:hover { color: var(--fluo); }
.sal-pied-rubrique-compte { color: var(--fluo); margin-left: 6px; }
.sal-pied-avertissement { margin-top: 12px; font-size: .8125rem; color: var(--sourde-fixe); line-height: 1.5; }
.sal-pied-bas { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(233,242,239,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: var(--t-petit); color: var(--sourde-fixe); }

/* ==========================================================================
   18. GABARIT ARTICLE
   ========================================================================== */
.sal-article-entete { padding-block: 32px 0; }
.sal-fil-ariane { display: flex; align-items: center; gap: 8px; font-size: var(--t-petit); color: var(--sourde); margin-bottom: 18px; }
.sal-fil-ariane a:hover { color: var(--accent); }

.sal-h1-article { max-width: var(--colonne); }
.sal-signature { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: var(--t-petit); color: var(--sourde); }
/* A-5 — même correction que le bloc auteur : carré, rayon 0. */
.sal-signature-photo { width: 32px; height: 32px; border-radius: 0; object-fit: cover; flex-shrink: 0; }
.sal-signature-texte strong { color: var(--encre); text-transform: uppercase; font-weight: 600; letter-spacing: .02em; }

.sal-chapo { font-family: var(--f-texte); font-size: var(--t-chapo); line-height: 1.58; max-width: var(--colonne); margin-block: 24px; }

.sal-image-une { max-width: var(--colonne); margin-block: 28px; }
.sal-image-une img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.sal-image-une figcaption { font-size: var(--t-petit); color: var(--sourde); margin-top: 8px; }

.sal-progression { position: sticky; top: 64px; z-index: 40; height: 3px; background: var(--filet); transition: top var(--d-survol) var(--e-out); }
.sal-progression-barre { height: 100%; width: 100%; background: var(--fluo); transform: scaleX(0); transform-origin: left center; }

/* A-3 — marge (200px) + colonne (680px) faisaient 812px plaqués à gauche
   d'un conteneur de 1240px : 400+ px de vide à droite sur toute la hauteur
   de l'article. Une colonne 1fr de chaque côté centre l'ensemble au lieu
   de laisser toute la respiration d'un seul côté. */
.sal-article-grille { display: grid; grid-template-columns: 1fr var(--marge-annotation) minmax(0, var(--colonne)) 1fr; gap: var(--gouttiere); align-items: start; }
.sal-marge-annotation { grid-column: 2; }

/* En dessous de 1180px, plus de place pour la marge d'annotation (P6) :
   la grille repasse en une colonne et le sommaire se replie sous le chapô. */
@media (max-width: 1180px) {
	.sal-article-grille { grid-template-columns: 1fr; }
	.sal-marge-annotation { display: none; }
	.sal-sommaire--repliable { display: block; margin-block: 20px; background: var(--feuille); border-radius: var(--r-encadre); padding: 16px 18px; }
}
.sal-article-corps-colonne { grid-column: 3; }

.sal-sommaire { position: sticky; top: 96px; }
.sal-sommaire-titre { margin-bottom: 12px; }
.sal-sommaire-liste { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--filet); }
/* A-3 — tronqué à 2 lignes : sans ça, une entrée longue (« Qu'est-ce
   qu'une clause de non-concurrence ? ») cassait sur 5 lignes et donnait
   une colonne de brindilles, même une fois la marge élargie à 200px. */
.sal-sommaire-lien {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
	padding: 6px 0 6px 14px; font-size: var(--t-petit); color: var(--sourde); border-left: 3px solid transparent; margin-left: -2px;
}
.sal-sommaire-lien.est-actif, .sal-sommaire-lien:hover { color: var(--encre); border-left-color: var(--fluo); }
.sal-sommaire--repliable { display: none; }

.sal-corps { max-width: var(--colonne); }
.sal-corps h2 { position: relative; padding-left: 52px; margin-block: 2.2em .8em; }
.sal-corps h2::before { content: ""; position: absolute; left: 0; top: .35em; width: 40px; height: 4px; background: var(--accent); }
.sal-corps p { margin-block: 1.1em; }
.sal-corps ul { margin-block: 1.1em; display: flex; flex-direction: column; gap: 10px; }
.sal-corps ul li { position: relative; padding-left: 22px; }
.sal-corps ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; background: var(--accent); }
.sal-corps a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sal-corps blockquote { border-left: 3px solid var(--accent); padding-left: 20px; font-style: italic; color: var(--sourde); margin-block: 1.5em; }

.sal-corps .sbs_tableau { overflow-x: auto; margin-block: 1.6em; border-radius: var(--r-encadre); }
.sal-corps .sbs_tableau table { min-width: 480px; }
.sal-corps .sbs_tableau th {
	font-family: var(--f-titre); font-weight: 700; text-transform: uppercase; font-size: .8125rem;
	background: var(--feuille); text-align: left; padding: 12px 16px; letter-spacing: .04em;
}
.sal-corps .sbs_tableau td { padding: 12px 16px; border-bottom: 1px solid var(--filet); font-size: var(--t-petit); }
.sal-corps .sbs_tableau td:first-child, .sal-corps .sbs_tableau th:first-child { font-weight: 600; }
.sal-corps .sbs_tableau tbody tr:nth-child(even) { background: var(--feuille); }

.sal-encadre { background: var(--feuille); border-radius: var(--r-encadre); padding: 24px 26px; margin-block: 2em; border-left: 4px solid var(--sourde); }
.sal-encadre--retenir { border-left-color: var(--fluo); }
.sal-encadre--change { border-left-color: var(--accent); }
.sal-encadre-titre { font-family: var(--f-titre); font-weight: 700; text-transform: uppercase; font-size: .8125rem; letter-spacing: .1em; margin-bottom: 14px; }
.sal-encadre ul { gap: 8px; }
.sal-encadre ul li::before { background: var(--accent); }

.sal-encart-aide { background: var(--bande-fixe); color: var(--encre-fixe); border-radius: var(--r-encadre); padding: 32px; margin-block: 2.5em; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.sal-encart-aide p { color: var(--encre-fixe); }
/* A-1 — le h2 générique (color: var(--encre), règle §4) a une spécificité
   supérieure à l'héritage de .sal-encart-aide : sans cette ligne, le titre
   « Une question sur votre situation ? » se peint en encre adaptative sur
   la bande fixe et devient invisible en thème clair. */
.sal-encart-aide h2, .sal-encart-aide h3 { color: var(--encre-fixe); }

.sal-bloc-auteur { display: flex; gap: 20px; align-items: flex-start; padding-block: 32px; margin-block: 24px; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
/* A-5 — carré, rayon 0 (DA §10 : « aucun rayon au-dessus de 6px », et le
   cercle était le seul arrondi mou d'un site à angles francs partout). */
.sal-bloc-auteur-photo { width: 96px; height: 96px; border-radius: 0; object-fit: cover; flex-shrink: 0; }
.sal-bloc-auteur-nom { font-family: var(--f-titre); font-weight: 700; font-size: 1.1rem; }
.sal-bloc-auteur-fonction { font-family: var(--f-texte); font-style: italic; color: var(--sourde); font-size: var(--t-petit); margin-block: 4px 10px; }
.sal-bloc-auteur-bio { font-size: var(--t-petit); color: var(--sourde); max-width: 52ch; }
.sal-bloc-auteur-lien { display: inline-block; margin-top: 10px; color: var(--accent); font-size: var(--t-petit); font-weight: 600; }

.sal-articles-lies { padding-block: 48px; }
.sal-articles-lies-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gouttiere); }

/* ==========================================================================
   19. GABARIT RUBRIQUE
   ========================================================================== */
.sal-rubrique-bandeau { padding-block: clamp(40px, 6vw, 72px); }
.sal-rubrique-tete { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sal-rubrique-titre { font-size: var(--t-h1); font-family: var(--f-titre); font-weight: 800; }
.sal-rubrique-chiffre { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-nombre); line-height: .9; }
.sal-rubrique-chiffre-libelle { font-size: var(--t-petit); text-transform: uppercase; color: var(--sourde); letter-spacing: .06em; }
.sal-rubrique-chapo { max-width: 60ch; margin-top: 14px; font-size: var(--t-chapo); font-family: var(--f-texte); }
.sal-rubrique-filtres { margin-top: 28px; }

.sal-rubrique-grille { padding-block: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gouttiere); }

.sal-pagination { display: flex; justify-content: center; gap: 8px; padding-bottom: 60px; }
/* Réserve verdict — pagination trop discrète : même filet que les pills. */
.sal-pagination-item {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
	border: 1.5px solid var(--accent); border-radius: var(--r-pill); font-size: var(--t-petit); font-weight: 600;
}
.sal-pagination-item.est-actif { background: var(--fluo); color: var(--sur-fluo); border-color: var(--fluo); }
.sal-pagination-item:hover { border-color: var(--accent); }

/* ==========================================================================
   20. FORMULAIRE
   ========================================================================== */
.sal-formulaire { background: var(--feuille); border: 1px solid var(--filet); border-radius: 6px; padding: clamp(24px, 4vw, 40px); }
.sal-champ-groupe { margin-bottom: 22px; }
.sal-etiquette-champ { display: block; font-size: var(--t-petit); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .03em; color: var(--sourde); }
.sal-champ {
	width: 100%; background: transparent; border: none; border-bottom: 2px solid var(--sourde);
	border-radius: var(--r-champ); padding: 10px 2px; font-size: var(--t-corps); color: var(--encre);
	transition: border-color var(--d-survol) var(--e-out);
}
.sal-champ:focus { border-color: var(--accent); outline: none; }
/* Réserve verdict — la zone de texte sans bord haut ne se voyait pas comme
   une zone de saisie (seul son filet bas existait, comme les autres champs
   à une ligne). Filet 1px sur les 4 côtés, seule exception au filet-bas
   des autres champs, justifiée par sa hauteur. */
textarea.sal-champ {
	resize: vertical; min-height: 140px;
	border: 1px solid var(--filet); border-radius: var(--r-champ); padding: 10px 12px;
}
.sal-compteur-caracteres { display: block; text-align: right; font-size: .8125rem; color: var(--sourde); margin-top: 6px; }
.sal-consentement { display: flex; gap: 10px; align-items: start; font-size: var(--t-petit); color: var(--sourde); margin-bottom: 24px; }
.sal-consentement input { margin-top: 4px; }

.sal-piege-anti-robot { position: absolute; left: -9999px; }

/* ==========================================================================
   21. PAGE AIDE (classes utilisées par le second designer sur /poser-une-question/)
   ========================================================================== */
.sal-aide-hero { padding-block: clamp(56px, 8vw, 96px); }
.sal-aide-hero-grille { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.sal-aide-colonnes { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gouttiere); padding-block: clamp(48px, 6vw, 80px); align-items: start; }
.sal-aide-preuve { display: flex; flex-direction: column; gap: 32px; }
.sal-aide-fait-titre { margin-bottom: 12px; }
.sal-aide-fait-liste { display: flex; flex-direction: column; gap: 10px; }
.sal-aide-lien-externe { color: var(--accent); text-decoration: underline; }

/* ==========================================================================
   22. PAGE 404
   ========================================================================== */
.sal-404 { padding-block: clamp(72px, 12vw, 140px); text-align: center; }
.sal-404-code { font-family: var(--f-titre); font-weight: 800; font-size: clamp(4rem, 14vw, 9rem); line-height: .9; }
.sal-404-texte { font-size: var(--t-chapo); max-width: 46ch; margin: 20px auto 32px; color: var(--sourde); }
.sal-404-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   23. PAGE DE RECHERCHE
   ========================================================================== */
.sal-recherche { padding-block: clamp(40px, 6vw, 72px); }
.sal-recherche-titre { font-size: var(--t-h1); font-family: var(--f-titre); font-weight: 800; }
.sal-recherche-resultats { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gouttiere); }
.sal-recherche-vide { font-size: var(--t-chapo); color: var(--sourde); max-width: 50ch; margin-top: 20px; }

/* ==========================================================================
   24. RESPONSIVE — tablette puis 390 px
   La nav bascule en tiroir dès 900px : 6 rubriques + logo + actions ne
   tiennent plus sur une seule ligne sans se serrer, et on ne veut jamais
   de débordement horizontal, même entre 641 et 900px.
   ========================================================================== */
@media (max-width: 900px) {
	.sal-nav, .sal-bandeau-actions .sal-loupe { display: none; }
	.sal-menu-bouton { display: inline-flex; }
}

@media (max-width: 640px) {
	.sal-hero-grille, .sal-aide-bloc, .sal-face-a-face, .sal-aide-colonnes, .sal-aide-hero-grille { grid-template-columns: 1fr; }
	.sal-face-colonne--gauche { border-right: 0; border-bottom: 1px solid var(--filet); }
	.sal-hero-chiffres { grid-template-columns: 1fr; gap: 20px; }
	.sal-pied-grille { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.sal-rubrique-grille, .sal-articles-lies-liste, .sal-recherche-resultats { grid-template-columns: 1fr; }
	.sal-bandeau-interieur { min-height: 56px; }
	.sal-logo-mot--complet { display: none; }
	.sal-cta-bandeau { padding: 8px 14px; font-size: .75rem; }
	.sal-t-display, .sal-hero-titre { font-size: 2.375rem; }
	.sal-h1-article, h1 { font-size: 2rem; }
	.sal-bloc-auteur { flex-direction: column; align-items: flex-start; }
	/* Réserve verdict H-3 — en 390 le symbole seul du logo (sans « Salariat »)
	   se lit comme un hamburger, à 300px du vrai bouton menu. On ne touche
	   pas au logo (DA §6 : « mobile : symbole seul » est explicite) : on
	   donne au VRAI bouton un contour net qui le lit comme un bouton, pas
	   comme un second glyphe de marque. Même largeur, aucun risque de
	   débordement. */
	.sal-menu-bouton { border: 1.5px solid var(--encre-fixe); border-radius: var(--r-bouton); }
}

/* ==========================================================================
   25. PRÉFÉRENCES DE MOUVEMENT RÉDUITES
   La barre de progression reste (c'est une information, pas une animation).
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
	[data-anime] { opacity: 1; transform: none; }
	mark.sal-fluo.sal-trait-scroll::before { transform: rotate(-2.5deg) scaleX(1) !important; }
	.sal-carte:hover .sal-carte-img { transform: none; }
	.sal-menu-tiroir { transition: none; }
}

/* ==========================================================================
   === AJOUTS GABARITS INTÉRIEURS ===
   Ajoutés par le second designer pour single.php / search.php / 404.php.
   Aucune couleur ici : mise en page pure, donc valable telle quelle en
   clair ET en sombre (rien à redéfinir sous les media/attributs de thème).
   ========================================================================== */

/* Article sans sommaire (moins de 2 <h2>) : la grille à 3 colonnes ne se
   monte pas, la colonne de lecture se recentre au lieu de rester plaquée
   à gauche — jamais de trou dans la mise en page (single.php). */
.sal-article-corps-colonne--seul { max-width: var(--colonne); margin-inline: auto; }

/* Utilitaire générique d'empilement vertical avec espace régulier —
   état vide de la recherche, actions de la 404. */
.sal-pile { display: flex; flex-direction: column; gap: 24px; }

/* Sur la 404, les pills de rubrique doivent suivre le centrage du bloc
   (le reste de .sal-pill-liste ailleurs sur le site reste aligné à gauche,
   cette règle est scoped à .sal-404 et ne modifie aucune règle existante). */
.sal-404 .sal-pill-liste { justify-content: center; }

/* === AJOUTS ORCHESTRATEUR — conteneurs structurels du hero (P-204 : classes employées dans front-page.php) === */
.sal-hero-gauche { min-width: 0; }
.sal-hero-droite { min-width: 0; }
.sal-chiffre { display: block; min-width: 0; }
.sal-chiffre-valeur { display: block; }
.sal-chiffre-libelle { display: block; }

/* === CORRECTIF ORCHESTRATEUR — la tuile de date débordait de 173 px en 1440 et de 23 px en 390.
   Une date en Syne 800 à 6rem fait 8 signes de large : elle ne tient pas dans un tiers de grille.
   Mesuré à la sonde : scrollWidth 1613 pour un clientWidth de 1440. === */
.sal-chiffre-valeur { max-width: 100%; overflow-wrap: anywhere; }
.sal-chiffre--date .sal-chiffre-valeur { font-size: clamp(2rem, 3.4vw, 3.25rem); letter-spacing: -0.02em; }
@media (max-width: 640px) {
	.sal-chiffre--date .sal-chiffre-valeur { font-size: clamp(2rem, 9vw, 2.75rem); }
}

/* === CORRECTIFS ORCHESTRATEUR (2e passe, après lecture des captures) === */

/* B — un titre à mot long (« non-concurrence ») débordait de 55 px en 390. */
/* A-4 — corrigé le 08/09/2026 (verdict design) : `overflow-wrap: anywhere`
   coupait AU CARACTÈRE, même en pleine mot (« Clauses de non-concurren /
   ce »). `break-word` ne casse qu'aux points de rupture naturels — dont le
   trait d'union de « non-concurrence » lui-même — et `hyphens: auto` gère
   les mots longs SANS trait d'union (le <html lang="fr"> posé par
   language_attributes() dans header.php fournit le dictionnaire). Le
   `.sal-h1-article, h1 { font-size: 2rem }` du §24 (≤640px) reste : c'est
   lui qui empêchait déjà le débordement horizontal, on n'y touche pas. */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }

/* E — le bandeau collant et le hero de la page aide sont du même noir : le titre collait au menu. */
.sal-aide-hero { padding-block: clamp(72px, 9vw, 112px) clamp(56px, 8vw, 96px); }

/* === CORRECTIF ORCHESTRATEUR — le dossier vedette du hero.
   `.sal-dossier-photo`, `.sal-dossier-titre` et `.sal-dossier-meta` sont des <span> : sans
   `display:block`, `aspect-ratio` et `margin-top` ne s'appliquent pas, et le cartouche de
   rubrique en `position:absolute` s'ancrait sur la ligne de base — il retombait SOUS la photo,
   par-dessus le titre du dossier. Vu à la capture 1440. === */
.sal-dossier-photo { display: block; }
.sal-dossier-titre, .sal-dossier-meta { display: block; }
.sal-dossier-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* === CORRECTIF ORCHESTRATEUR — le symbole du logo mesurait 0 × 0.
   Le SVG est inliné depuis assets/logo.svg : il n'avait ni classe, ni width, ni height, et
   un <svg> sans dimension dans un conteneur flex s'effondre à zéro. Résultat : à 1440 il ne
   restait que le mot, et à 390 (où le mot est masqué) le bandeau n'avait PLUS DE LOGO DU TOUT.
   Mesuré à la sonde : getBoundingClientRect().width = 0 aux deux largeurs. === */
.sal-logo > svg, .sal-logo-symbole {
	width: 1.6em; height: 1.6em; flex: 0 0 auto; display: block;
}
.sal-bandeau .sal-logo > svg { width: 1.5em; height: 1.5em; }
@media (max-width: 640px) {
	.sal-bandeau .sal-logo > svg { width: 1.9em; height: 1.9em; }
}

/* === CORRECTIF ORCHESTRATEUR — l'encre posée SUR le fluo doit être fixe.
   `--encre` vaut #E3EDEA en sombre : un mot surligné y devenait clair sur rose (≈1,9:1),
   illisible. Sur l'aplat fluo l'encre est toujours celle du thème clair. === */
:root, :root[data-theme="dark"] { --sur-fluo: #0E1614; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sur-fluo: #0E1614; } }
mark.sal-fluo, .sal-chiffre-valeur mark.sal-fluo { color: var(--sur-fluo); }
.sal-bouton--fluo { color: var(--sur-fluo); }

/* === CORRECTIF ORCHESTRATEUR — l'entrée active du menu devenait invisible.
   Son trait ne faisait que 7 px collés en bas, et son texte passait en `--encre` (sombre en
   thème clair) sur le bandeau noir : la rubrique courante ne s'affichait plus, il ne restait
   qu'une barre rose. Le trait couvre maintenant le mot, comme le surligneur du reste du site. === */
.sal-nav > ul > li > a::after {
	top: 50%; bottom: auto; height: 1.35em; transform: translateY(-50%) rotate(-2.5deg) scaleX(0);
}
.sal-nav > ul > li > a.est-actif::after,
.sal-nav > ul > li > a:hover::after { transform: translateY(-50%) rotate(-2.5deg) scaleX(1); }
.sal-nav > ul > li > a.est-actif, .sal-nav > ul > li > a:hover { color: var(--sur-fluo); }

/* ==========================================================================
   === CORRECTIONS DESIGNER 2 — VERDICT DU 08/09/2026 ===
   Voir VERDICT-DESIGN-2026-09-08.md §3/§4. Chaque correction porte son code
   (A-1, A-2, A-3…) dans un commentaire au plus près de la règle qu'elle
   modifie ; ce bloc ne rassemble que ce qui n'avait pas encore d'ancrage
   dans le fichier : le FAQ en accordéon (A-2) et le gabarit À propos (P-1
   à P-3). Clair ET sombre par construction (jetons adaptatifs uniquement).
   ========================================================================== */

/* A-2 — FAQ EN ACCORDÉON. Le <h2>Foire aux questions</h2> déjà publié et
   ses paires question/réponse (repérées par functions.php, jamais
   inventées) sont rendues en <details>/<summary> à la signature du site :
   chevron --accent, filet 1px, coins francs (aucun rayon ici, DA §10). */
.sal-faq { display: flex; flex-direction: column; margin-block: 1.6em; }
.sal-faq-item { border-bottom: 1px solid var(--filet); }
.sal-faq-item:first-child { border-top: 1px solid var(--filet); }
.sal-faq-question {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
	gap: 16px; padding: 18px 4px; font-family: var(--f-titre); font-weight: 700; font-size: 1.05rem;
	color: var(--encre);
}
.sal-faq-question::-webkit-details-marker { display: none; }
.sal-faq-question::after {
	content: ""; flex-shrink: 0; width: 10px; height: 10px;
	border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
	transform: rotate(45deg); transition: transform var(--d-survol) var(--e-out);
}
.sal-faq-item[open] .sal-faq-question::after { transform: rotate(-135deg); }
.sal-faq-reponse { padding: 0 4px 20px; color: var(--sourde); }
.sal-faq-reponse p { margin-block: 0 1em; }
.sal-faq-reponse p:last-child { margin-bottom: 0; }

/* P-1/P-3 — GABARIT À PROPOS (page-a-propos.php). Deux colonnes : texte à
   gauche (the_content, non modifié), signatures + rubriques à droite —
   c'est le contenu réel qui comble le vide, pas un centrage artificiel. */
.sal-propos-tete { max-height: 420px; overflow: hidden; }
.sal-propos-tete img { width: 100%; height: 420px; object-fit: cover; }

.sal-propos-grille { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 64px); align-items: start; padding-block: clamp(40px, 6vw, 72px); }
.sal-propos-aside { display: flex; flex-direction: column; gap: 40px; }

.sal-propos-signatures { display: flex; flex-direction: column; gap: 20px; }
.sal-propos-carte { background: var(--feuille); border-radius: var(--r-carte); padding: 24px; }
.sal-propos-carte-photo { width: 96px; height: 96px; object-fit: cover; border-radius: 0; margin-bottom: 14px; }
.sal-propos-carte-nom { font-family: var(--f-titre); font-weight: 700; font-size: 1.05rem; }
.sal-propos-carte-bio { font-size: var(--t-petit); color: var(--sourde); margin-top: 8px; max-width: 42ch; }
.sal-propos-carte-lien { display: inline-block; margin-top: 10px; color: var(--accent); font-size: var(--t-petit); font-weight: 600; }

.sal-propos-rubriques .sal-t-etiquette { display: block; margin-bottom: 12px; }

@media (max-width: 640px) {
	.sal-propos-grille { grid-template-columns: 1fr; }
	.sal-propos-tete, .sal-propos-tete img { max-height: 240px; height: 240px; }
}

/* === CORRECTIF ORCHESTRATEUR — `.sal-propos-texte` était employée dans page-a-propos.php
   sans règle : une classe sans CSS ne fait rien, ne lève aucune erreur et passe tous les
   contrôles (P-204). Elle porte ici la colonne de lecture de la page À propos. === */
.sal-propos-texte { min-width: 0; }
.sal-propos-texte > *:first-child { margin-top: 0; }
