/* En-tête des pages publiques (index, contact, help, mentions, privacy, terms) — composant commun.
   Couleurs : uniquement celles du site (bleu #2f6bf6, orange #f5851f, texte #16213d, gris #647089, trait #e7ecf4, fond #f4f7fb). */
.ep-head{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #e7ecf4;transition:box-shadow .2s;font-family:Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif}
.ep-head.scrolled{box-shadow:0 2px 10px rgba(20,40,80,.08)}
.ep-head *{box-sizing:border-box}
.ep-in{max-width:1200px;margin:0 auto;padding:0 24px;height:68px;display:flex;align-items:center;justify-content:space-between}
.ep-left,.ep-right{display:flex;align-items:center}
.ep-logo{display:block;flex-shrink:0}
.ep-logo img{display:block;height:54px;width:auto;max-width:100%;object-fit:contain}
.ep-nav{display:flex;align-items:center;gap:32px;margin-left:40px}
.ep-nav>a,.ep-dd-btn{all:unset;box-sizing:border-box;position:relative;display:inline-block;padding:8px 0;color:#647089;font-family:inherit;font-size:14.5px;font-weight:400;line-height:20px;cursor:pointer;transition:color .15s ease}
.ep-nav>a:hover,.ep-dd-btn:hover,.ep-dd-btn[aria-expanded=true]{color:#2f6bf6}
.ep-nav [aria-current]{color:#2f6bf6;font-weight:500}
.ep-nav [aria-current]::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;background:#2f6bf6}
.ep-head a:focus-visible,.ep-head button:focus-visible{outline:2px solid #2f6bf6;outline-offset:4px;border-radius:4px}
.ep-dd{position:relative}
.ep-menu{position:absolute;top:calc(100% + 14px);left:0;min-width:280px;max-width:calc(100vw - 32px);background:#fff;border:1px solid #e7ecf4;border-radius:12px;box-shadow:0 12px 32px rgba(20,40,80,.12);padding:8px;z-index:60}
.ep-menu[hidden]{display:none}
.ep-menu a{display:block;padding:12px 14px;border-radius:8px;text-align:left;text-decoration:none;color:#16213d}
.ep-menu a:hover{background:#f4f7fb}
.ep-menu b{display:block;font-size:14px;font-weight:500;line-height:1.35}
.ep-menu small{display:block;margin-top:2px;font-size:12.5px;color:#647089;line-height:1.35}
.ep-lang{margin-right:24px}
.ep-lang-btn{height:32px;padding:4px 12px!important;border:1px solid #e7ecf4;border-radius:6px;background:#fff;color:#2f6bf6!important;font-size:14px!important;font-weight:700!important;line-height:22px!important}
.ep-lang-btn:hover,.ep-lang-btn[aria-expanded=true]{border-color:#2f6bf6}
.ep-lang .ep-menu{left:auto;right:0;min-width:168px}
.ep-lang .ep-menu a{display:flex;gap:10px;align-items:baseline;padding:10px 14px;font-size:14px;color:#647089}
.ep-lang .ep-menu a b{display:inline;font-weight:400;min-width:24px;color:inherit}
.ep-lang .ep-menu a[aria-current=true]{color:#2f6bf6;font-weight:700}
.ep-lang .ep-menu a[aria-current=true] b{font-weight:700}
.ep-btn{display:inline-flex;align-items:center;font-family:inherit;font-weight:700;font-size:14.5px;line-height:1.6;padding:11px 18px;border-radius:12px;text-decoration:none;white-space:nowrap;flex-shrink:0;transition:filter .15s ease,box-shadow .15s ease,border-color .15s ease}
.ep-btn.ghost{background:#fff;color:#16213d;border:1px solid #e7ecf4;margin-right:12px}
.ep-btn.ghost:hover{border-color:#2f6bf6;color:#2f6bf6}
.ep-btn.primary{background:#f5851f;color:#fff;border:0;box-shadow:0 6px 16px rgba(245,133,31,.32)}
.ep-btn.primary:hover{filter:brightness(1.06);box-shadow:0 10px 22px rgba(245,133,31,.4)}
.ep-burger{all:unset;display:none;cursor:pointer;padding:6px 10px;line-height:0}
.ep-burger svg{width:24px;height:24px}
.ep-mob{display:none;border-top:1px solid #e7ecf4;background:#fff;padding:8px 24px 16px}
.ep-mob.open{display:block}
.ep-mob a{display:flex;align-items:center;min-height:48px;padding:0 6px;border-bottom:1px solid #e7ecf4;color:#16213d;font-size:15px;font-weight:400;text-decoration:none}
.ep-mob a[aria-current]{color:#2f6bf6;font-weight:500;box-shadow:inset 2px 0 0 #2f6bf6}
.ep-mob a.ep-mob-cta{color:#f5851f;font-weight:700}
.ep-mob .ep-mob-langs{display:flex;align-items:center;gap:24px;min-height:48px;height:auto;padding:0 6px;border:0;border-radius:0;margin:0}
.ep-mob .ep-mob-langs a{display:inline;min-height:0;padding:0;border:0;color:#647089}
.ep-mob .ep-mob-langs a[aria-current=true]{color:#2f6bf6;font-weight:700;box-shadow:none}
@media(max-width:1180px){.ep-nav,.ep-btn.ghost{display:none}.ep-burger{display:block}}
@media(max-width:640px){.ep-right .ep-lang,.ep-btn.primary{display:none}.ep-in{padding:0 20px}.ep-logo img{height:48px}}
@media(max-width:360px){.ep-logo img{height:42px}}
html[dir=rtl] .ep-nav{margin-left:0;margin-right:40px}
html[dir=rtl] .ep-menu{left:auto;right:0;text-align:right}
html[dir=rtl] .ep-lang{margin-right:0;margin-left:24px}
html[dir=rtl] .ep-lang .ep-menu{right:auto;left:0}
html[dir=rtl] .ep-btn.ghost{margin-right:0;margin-left:12px}
/* Menus déroulants des quatre onglets : cartes plates (bordure fine, aucune ombre) */
.ep-menu.plat{box-shadow:none;padding:10px;display:grid;gap:8px;min-width:300px}
.ep-menu.plat[hidden]{display:none}
.ep-menu.plat.cols{grid-template-columns:1fr 1fr;min-width:520px}
.ep-menu.plat a{border:1px solid #e7ecf4;border-radius:8px;padding:11px 13px;background:#fff;transition:border-color .15s ease,background .15s ease}
.ep-menu.plat a:hover{border-color:#2f6bf6;background:#f4f7fb}
.ep-menu.plat a.tous{background:#f4f7fb;text-align:center}
.ep-menu.plat a.tous b{color:#2f6bf6}
@media(max-width:640px){.ep-menu.plat.cols{grid-template-columns:1fr;min-width:0}}
/* Panneau mobile : mêmes onglets en groupes dépliables */
.ep-mob details{border-bottom:1px solid #e7ecf4}
.ep-mob summary{display:flex;align-items:center;min-height:48px;padding:0 6px;color:#16213d;font-size:15px;cursor:pointer;list-style:none}
.ep-mob summary::-webkit-details-marker{display:none}
.ep-mob summary[aria-current]{color:#2f6bf6;font-weight:500;box-shadow:inset 2px 0 0 #2f6bf6}
.ep-mob details a{min-height:42px;padding-left:22px;font-size:14px;color:#647089;border-bottom:0}
/* Onglets en liens, menus à ouverture au survol : panneau structuré (colonne de présentation + cartes plates) */
.ep-menu::before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px}
.ep-menu.mega{display:grid;grid-template-columns:210px minmax(0,1fr);padding:0;overflow:hidden;min-width:560px;box-shadow:0 14px 34px rgba(20,40,80,.10);animation:epOuvre .14s ease-out}
.ep-menu.mega[hidden]{display:none}
@keyframes epOuvre{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ep-mt{background:#16213d;color:#fff;padding:22px 20px;display:flex;flex-direction:column;gap:8px}
.ep-mt strong{font-size:17px;font-weight:700}
.ep-mt p{margin:0;font-size:13px;line-height:1.5;color:rgba(255,255,255,.78)}
.ep-menu .ep-mt .ep-ml{margin-top:auto;display:inline-block;padding:8px 12px;border:1px solid rgba(255,255,255,.35);border-radius:8px;color:#fff;font-size:13px;font-weight:500;text-align:center}
.ep-menu .ep-mt .ep-ml:hover{background:#f5851f;border-color:#f5851f}
.ep-mi{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;align-content:start}
.ep-menu.une .ep-mi{grid-template-columns:1fr}
.ep-mi a{border:1px solid #e7ecf4;border-radius:8px;padding:11px 13px;background:#fff;transition:border-color .15s,background .15s}
.ep-mi a:hover{border-color:#2f6bf6;background:#f4f7fb}
.ep-menu.mega.une{min-width:520px}
@media(prefers-reduced-motion:reduce){.ep-menu.mega{animation:none}}
html[dir=rtl] .ep-mi a{text-align:right}
.ep-nav a.ep-dd-btn,.ep-nav a.ep-dd-btn:hover{text-decoration:none}
