/* W41.20.1 : ex-bloc <style> de brand_head() (_brand.php), externalisé — aucun style inline (CSP style-src 'self'). */
/* W42.3 : variable de jaune --ws-jaune. W42.23-r1 (t954, « le jaune qui était en ligne hier ») : #FACC15 = rgb 250 204 21, valeurs de la prod 3a1b01b du 04.11
   (survol #fde047 là où c'était le cas ; jaunes de W42.3, W42.3-r1 et W42.21 abandonnés).
   Triplet R G B : rgb(var(--ws-jaune)) ou rgb(var(--ws-jaune) / .35) ; teintes claires/foncées par color-mix(). Contraste : 10,6:1 sur #121212, 8,3:1 sur #1e293b, noir sur jaune 11,9:1 (AA). */
:root { --ws-jaune: 250 204 21; }
.ws-jaune-trait { stroke: rgb(var(--ws-jaune)); }
.ws-jaune-fond { fill: rgb(var(--ws-jaune)); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/space-grotesk-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin-700.woff2') format('woff2'); }
.ws-wordmark { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; letter-spacing: .04em; line-height: 1; white-space: nowrap; }
.ws-wordmark .w { color: #ffffff; } .ws-wordmark .s { color: #FACC15; }
.ws-display { font-family: 'Space Grotesk', system-ui, sans-serif; }
/* Logo de la barre de menu (lot logo 19.10) : icône 32 px (< 360 px), 36 px (mobile), 44 px (768-1279), 48 px (>= 1280).
   Le texte suit l'icône ; white-space:nowrap + shrink-0 : jamais de retour à la ligne ni de débordement de la barre. */
.ws-brand { gap: .625rem; min-width: 0; }
.ws-brand img { width: 2.25rem; height: 2.25rem; border-radius: .625rem; flex-shrink: 0; }
.ws-brand .ws-wordmark { font-size: 1.25rem; }
@media (max-width: 359.98px) { .ws-brand { gap: .5rem; } .ws-brand img { width: 2rem; height: 2rem; border-radius: .5rem; } .ws-brand .ws-wordmark { font-size: 1.0625rem; } }
@media (min-width: 768px)  { .ws-brand img { width: 2.75rem; height: 2.75rem; border-radius: .75rem; } .ws-brand .ws-wordmark { font-size: 1.5rem; } }
@media (min-width: 1280px) { .ws-brand img { width: 3rem; height: 3rem; border-radius: .8125rem; } .ws-brand .ws-wordmark { font-size: 1.625rem; } }

/* W44.2 : noms courts sur tous les écrans utilisant le bloc compte commun.
   Le dépliage natif reste accessible sans JavaScript (Entrée/Espace/toucher). */
.ws-acct { width: 12rem; max-width: 100%; flex-shrink: 1; }
.ws-acct > summary { display: flex; align-items: center; gap: .35rem; min-height: 44px; min-width: 0; cursor: pointer; list-style: none; border-radius: .25rem; }
.ws-acct > summary::-webkit-details-marker { display: none; }
.ws-acct-lines { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ws-acct-chevron { color: #FACC15; flex-shrink: 0; }
.ws-acct > summary:hover .ws-acct-chevron { color: #fde047; }
.ws-acct > summary:focus-visible { outline: 2px solid #FACC15; outline-offset: 3px; }
.ws-acct[open] .ws-acct-chevron { transform: rotate(180deg); }
.ws-acct-full { display: block; padding: .5rem 0; font-size: .75rem; line-height: 1.5; color: inherit; overflow-wrap: anywhere; white-space: normal; }
@media (max-width: 639px) { .ws-acct { width: 10rem; } }

/* W45.3 : pied commun public et connecté, cibles tactiles de 44 px. */
footer nav[aria-label="Informations légales"] a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .5rem .75rem; box-sizing: border-box; }
footer nav[aria-label="Informations légales"] a:hover { color: #fde047; }
/* Commandes de défilement : aucun texte explicatif ajouté à l'écran. */
.ws-scroll-tools { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; margin: .25rem 0 .5rem; }
.ws-scroll-tools[hidden] { display: none; }
.ws-scroll-tools button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 1px solid #FACC15; border-radius: .5rem; background: #121212; color: #FACC15; font-size: 1.5rem; cursor: pointer; }
.ws-scroll-tools button:hover { color: #fde047; border-color: #fde047; }
.ws-scroll-tools button:disabled { opacity: .35; cursor: default; }
.ws-scroll-tools button:focus-visible { outline: 2px solid #FACC15; outline-offset: 2px; }

/* W46.4 B4 : cibles isolées d’inscription à 390 px, sans toucher au menu/navigation. */
@media (max-width: 390px) {
    .ws-touch-target, label[for="regConsent"] a {
        display: inline-flex; align-items: center; justify-content: center;
        box-sizing: border-box; min-width: 44px; min-height: 44px;
        padding: .625rem .375rem; max-width: 100%; overflow-wrap: anywhere;
        color: #FACC15;
    }
    .ws-touch-target:hover, label[for="regConsent"] a:hover { color: #fde047; }
    .ws-touch-target:focus-visible, label[for="regConsent"] a:focus-visible { outline: 2px solid #FACC15; outline-offset: 2px; }
}
