/* ==========================================================================
   Module graphismes : logos (front office et page de choix de l'administration)
   Couleurs réglables par les graphismes et par l'endroit du logo :
   --logo-m (bulle, #920c30), --logo-b (W), --logo-e (encre), --logo-a (or),
   --logo-fond (fond derrière le logo), --logo-mot / --logo-mot-b (mot « weba » / « mag »)
   ========================================================================== */
.wa-logo{display:inline-flex;align-items:center;gap:8px;line-height:1}
.wa-logo__bulle{width:50px;height:38px;overflow:visible;flex:0 0 auto}
.wa-logo__mot{font-family:var(--wa-serif,'Fraunces',Georgia,serif);font-weight:900;font-size:calc(var(--gl-t,26px)*var(--gl-k,1));letter-spacing:-.03em;color:var(--logo-mot,var(--wa-encre,#1d1a24));white-space:nowrap}
.wa-logo__mot b{color:var(--logo-mot-b,var(--wa-marque-texte,#920c30));font-weight:inherit}
.wa-logo--grand .wa-logo__bulle{width:140px;height:106px}
.wa-logo--pied{--logo-mot:var(--wa-pied-titre,#fff);--logo-mot-b:var(--wa-pied-accent,#ff9fb5);--logo-e:var(--wa-pied-titre,#fff);--logo-fond:var(--wa-pied-fond,#16131c)}

/* Logo de base (module webamag) */
.wa-logo__fond,.wa-logo__goutte{fill:var(--logo-m,var(--wa-marque,#920c30))}
.wa-logo__contour{fill:none;stroke:var(--logo-m,var(--wa-marque,#920c30));stroke-width:10;stroke-linecap:round;stroke-linejoin:round}
.wa-logo__w{fill:none;stroke:var(--logo-b,#fff);stroke-width:4.8;stroke-linecap:round;stroke-linejoin:round}

/* Couleurs des dessins */
.gl-m{fill:var(--logo-m,var(--wa-marque,#920c30))}
.gl-ms{fill:none;stroke:var(--logo-m,var(--wa-marque,#920c30))}
.gl-b{fill:var(--logo-b,#fff)}
.gl-bs{fill:none;stroke:var(--logo-b,#fff)}
.gl-e{fill:var(--logo-e,var(--wa-encre,#1d1a24))}
.gl-es{fill:none;stroke:var(--logo-e,var(--wa-encre,#1d1a24))}
.gl-ks{fill:none;stroke:var(--logo-k,#1d1a24)}
.gl-k{fill:var(--logo-k,#1d1a24)}
.gl-mb{fill:var(--logo-mot-b,var(--wa-marque-texte,#920c30))}
.gl-a{fill:var(--logo-a,#d9a93f)}
.gl-as{fill:none;stroke:var(--logo-a,#d9a93f)}
.gl-f{fill:none;stroke:var(--logo-fond,var(--wa-papier,#faf6ef))}
.gl-nf{fill:var(--logo-m,var(--wa-marque,#920c30));opacity:.14}
.gl-n1{fill:none;stroke:var(--logo-m,var(--wa-marque,#920c30));opacity:.35}
.gl-n2{fill:none;stroke:var(--logo-n,#e8366b)}
.gl-n3{fill:none;stroke:#fff;opacity:.9}

/* Mot « webamag » propre à chaque logo */
.gl--tampon{--gl-t:25px}
.gl--tampon .wa-logo__mot{font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:.07em}
.gl--boum{--gl-t:31px}
.gl--boum .wa-logo__mot{font-family:'Bangers',Impact,cursive;font-weight:400;letter-spacing:.05em}
.gl--boum .wa-logo__mot b{text-shadow:2px 2px 0 var(--logo-e,var(--wa-encre,#1d1a24))}
.gl--nuage{--gl-t:31px}
.gl--nuage .wa-logo__mot{font-family:'Gochi Hand',cursive;font-weight:400;letter-spacing:0}
.gl--pixel{--gl-t:14px;gap:12px}
.gl--pixel .wa-logo__mot{font-family:'Press Start 2P',monospace;font-weight:400;letter-spacing:0;line-height:1.3}
.gl--pixel .wa-logo__bulle{shape-rendering:crispEdges}
.gl--neon{--gl-t:27px}
.gl--neon .wa-logo__bulle{filter:drop-shadow(0 0 3px rgba(232,54,107,.6))}
.gl--neon .wa-logo__mot{font-family:'Righteous',sans-serif;font-weight:400;letter-spacing:.01em}
.gl--neon .wa-logo__mot b{color:var(--logo-n,#e8366b);text-shadow:0 0 8px rgba(232,54,107,.6)}
.gl--pinceau{--gl-t:25px}
.gl--pinceau .wa-logo__mot{font-family:'Permanent Marker',cursive;font-weight:400;letter-spacing:.01em}
.gl--monogramme{--gl-t:28px}
.gl--monogramme .wa-logo__mot{font-family:'Space Grotesk',system-ui,sans-serif;font-weight:700;letter-spacing:-.055em}
.gl--medaillon{--gl-t:28px}
.gl--medaillon .wa-logo__mot{font-family:'Playfair Display',Georgia,serif;font-style:italic;font-weight:700;letter-spacing:-.01em}
.gl--case{--gl-t:21px}
.gl--case .wa-logo__mot{font-family:'Archivo Black',Impact,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:.02em}
.gl--plume{--gl-t:32px}
.gl--plume .wa-logo__mot{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;letter-spacing:-.01em}

/* Famille « W + EBAMAG » : dessin et mot dans un seul SVG */
.gl--w .wa-logo__bulle{height:42px;width:auto}
.wa-logo--grand.gl--w .wa-logo__bulle{height:106px;width:auto}
.gl-cache{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

@media (max-width:640px){
	.gl--w .wa-logo__bulle{height:36px;width:auto}
	.wa-logo{--gl-k:.85}
	.wa-entete .wa-logo{--gl-k:.78;gap:6px}
	.wa-logo__bulle{width:42px;height:32px}
}

/* Bandeau d'aperçu (administrateur) */
.gl-apercu{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:500;background:#1d1a24;color:#fff;font:500 14px/1.3 system-ui,sans-serif;padding:10px 18px;border-radius:999px;box-shadow:0 10px 30px rgba(0,0,0,.3);max-width:calc(100% - 32px);text-align:center}
.gl-apercu b{color:#ff9fb5}
