/* Eralia - charte de l'espace pro (pro.eralia.fr) : petrole & moutarde, Figtree / Space Grotesk.
   Charge en dernier dans les pages pro : il habille sans toucher au fonctionnement. */
@font-face{font-family:'Figtree';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/fig-latin-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Figtree';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/fig-latin-ext-400.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Figtree';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/fig-latin-500.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Figtree';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/fig-latin-ext-500.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Figtree';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/fig-latin-600.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Figtree';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/fig-latin-ext-600.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Figtree';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/fig-latin-700.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Figtree';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/fig-latin-ext-700.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Figtree';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/fig-latin-800.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Figtree';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/fig-latin-ext-800.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/sg-latin-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/sg-latin-ext-400.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/sg-latin-500.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/sg-latin-ext-500.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/sg-latin-600.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/sg-latin-ext-600.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}
:root{--er-petrole:#0E4A63;--er-petrole-d:#0A3547;--er-petrole-hl:#2C6E8A;--er-petrole-soft:#E4EEF1;--er-line:#C3D5DC;
--er-mout:#E3A41F;--er-mout-h:#F0B53C;--er-mout-soft:#FBEFD0;--er-mout-ink:#6E4A00;--er-ink:#0E3446;--er-bg:#F2F6F7;
--bleu:#0E4A63;--bleu-fonce:#0A3547;--bleu-clair:#E4EEF1;--bleu-ciel:#2C6E8A;--texte:#0E3446}
body{font-family:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif!important;background:var(--er-bg)}
h1,h2,.page-title,.mx h1.mx-titre,.st-ct h3{font-family:'Space Grotesk',system-ui,sans-serif!important;font-weight:500!important;letter-spacing:-.03em!important;color:var(--er-ink)}

/* logo era/ia */
.er-logo{display:flex;align-items:center;text-decoration:none}
.er-wm{font-family:'Space Grotesk',system-ui,sans-serif;font-weight:400;font-size:31px;letter-spacing:-.05em;line-height:1;white-space:nowrap}
.er-bar{display:inline-block;width:.08em;height:.72em;background:var(--er-mout);transform:skewX(-20deg);margin:0 .06em}
/* logo dessine (oct. 2026) : remplace le texte era/ia, le balisage des pages ne change pas */
.er-wm{display:inline-block;width:120px;height:34px;font-size:0!important;color:transparent!important;background:url(/eralia/logo.svg?v=3) no-repeat left center/contain}
.er-wm .er-bar{display:none}
.sidebar .er-wm{width:113px;height:32px;background-image:url(/eralia/logo-blanc.svg?v=3)}
.auth-wrap .er-wm{width:156px;height:44px}

/* barre laterale petrole (avocat, secretariat, administration) */
.sidebar{background:var(--er-petrole)!important;border-right:0!important;color:#CFE0E6!important}
.sidebar .sidebar-logo,.sidebar .logo{color:#fff!important;font-family:'Space Grotesk',system-ui,sans-serif!important}
.sidebar-sub{color:#9FC0CD!important}
.sidebar .nav-item{color:#CFE0E6!important}
.sidebar .nav-item:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
.sidebar .nav-item.active{background:var(--er-mout)!important;color:var(--er-ink)!important;box-shadow:none!important}
.sidebar .user-chip{background:rgba(255,255,255,.08)!important}
.sidebar .user-name{color:#fff!important}
.sidebar .user-role{color:#9FC0CD!important}
.sidebar .user-avatar{background:var(--er-mout)!important;color:var(--er-ink)!important}
.sidebar .logout-btn{color:#F6D682!important}
.sidebar .logout-btn:hover{background:rgba(255,255,255,.08)!important}

/* boutons principaux */
.btn-primary,.dispo-btn-primary,.mx .mx-btn{background:var(--er-petrole)!important;border-color:var(--er-petrole)!important;color:#fff!important}
.btn-primary:hover,.dispo-btn-primary:hover,.mx .mx-btn:hover{background:var(--er-petrole-d)!important}

/* page de connexion */
.auth-wrap .logo{color:var(--er-ink)!important;justify-content:center}
.role-btn.active,.btn-submit,button[type=submit]{background:var(--er-petrole)!important;color:#fff!important}
.card-badge{background:var(--er-mout-soft)!important;color:var(--er-mout-ink)!important}

/* secretariat et administration : memes elements, autres noms */
.sidebar .role{color:#9FC0CD!important}
.sidebar .chip{background:rgba(255,255,255,.08)!important;color:#fff!important}
.sidebar .chip *,.sidebar .chip-nom{color:#fff!important}
.sidebar .chip-role,.sidebar .chip span{color:#9FC0CD!important}
.sidebar .avatar{background:var(--er-mout)!important;color:var(--er-ink)!important}
.sidebar .deconnexion{color:#F6D682!important;background:transparent!important}
.sidebar .deconnexion:hover{background:rgba(255,255,255,.08)!important}
