/* Bannière : image entière, jamais rognée ni déformée. Le titre est centré dans un cartouche clair au milieu de la bannière ; le reste (sous-titre, boutons) est dans la bande de couleur dessous. */
header[data-ban]{
  position:relative; text-align:center; box-sizing:border-box; color:#14284a !important;
  background:#fbf4e4 url(/banniere.webp) top center / 100% auto no-repeat !important;
  padding:calc(100% / 11.7 + 14px) 16px 84px !important; min-height:0; display:flex; flex-direction:column; align-items:center; gap:8px; border-bottom:3px solid #fff;
}
header[data-ban] h1{ position:absolute !important; top:calc(50vw / 11.7); left:50%; transform:translate(-50%,-50%); height:auto; max-width:38%; margin:0 !important; background:rgba(255,255,255,.8); border-radius:14px; padding:4px 18px !important; box-shadow:0 2px 10px rgba(20,40,74,.2); }
header[data-ban] h1::before{ content:none; }
header[data-ban] > *:not(.games-btn):not(.lang-select):not(.lang-switch):not(.home-btn){ color:#14284a !important; opacity:1 !important; text-shadow:none; }
header[data-ban] > :not(h1):not(.games-btn):not(.lang-select):not(.lang-switch):not(.home-btn){ background:rgba(255,255,255,.88); border-radius:16px; padding:5px 20px; margin:0 !important; max-width:min(760px,94%); box-shadow:0 2px 10px rgba(20,40,74,.15); }
header[data-ban] h1 span, header[data-ban] h1{ font-size:clamp(14px,2.1vw,27px) !important; line-height:1.15; }
header[data-ban] .eyebrow{ font-size:12.5px; font-weight:800; color:#1E4F9E !important; padding:3px 14px; }
header[data-ban] .badge{ background:#14284a !important; color:#fff !important; }
header[data-ban] .games-btn, header[data-ban] .home-btn{ position:absolute !important; bottom:34px !important; top:auto !important; right:calc(50% + 8px) !important; left:auto !important; text-shadow:none; z-index:2; }
header[data-ban] .lang-select, header[data-ban] .lang-switch{ position:absolute !important; bottom:34px !important; top:auto !important; left:calc(50% + 8px) !important; right:auto !important; text-shadow:none; z-index:2; }
header[data-ban]:not(:has(.games-btn)):not(:has(.home-btn)) .lang-select, header[data-ban]:not(:has(.games-btn)):not(:has(.home-btn)) .lang-switch{ left:50% !important; transform:translateX(-50%); }
header[data-ban] .home-btn{ color:#14284a !important; background:#fff !important; border:2px solid #14284a !important; }
header[data-ban] .lang-btn{ text-shadow:none; color:#14284a !important; border:2px solid #14284a !important; background:rgba(255,255,255,.8) !important; }
header[data-ban] .lang-btn.active{ background:#14284a !important; color:#fff !important; }
.progress-wrap{ margin-top:-26px !important; }
@media (max-width:700px){
  header[data-ban]{ background-size:auto 96px !important; background-position:left top !important; padding-top:112px !important; }
  header[data-ban] h1{ position:static !important; transform:none; height:auto; max-width:94%; background:rgba(255,255,255,.88); border-radius:16px; padding:5px 18px !important; box-shadow:0 2px 10px rgba(20,40,74,.15); font-size:19px !important; }
}
