/* L'Univers YouTips : bandeau pleine largeur (accueil, glossaire, ressources) et pastille (fiches, catégories) */
.ygt { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 500px; margin: 0; background: radial-gradient(120% 120% at 70% 50%, #10142e 0%, #06070f 65%); color: #f4efe4; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.ygt-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ygt-cv.hov { cursor: pointer; }
.ygt-in { position: relative; z-index: 1; box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding-block: 72px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); pointer-events: none; }
.ygt-in h2, .ygt-in p, .ygt-cta, .ygt-gals { pointer-events: auto; }
.ygt-in h2 { margin: 0 0 14px; max-width: 9em; font-family: inherit; font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; color: #fff; text-transform: none; }
.ygt-in p { margin: 0 0 26px; max-width: 30em; font-size: 17px; line-height: 1.55; color: #d6d2e6; }
.ygt-cta { display: inline-flex; align-items: center; gap: 8px; background: #0059d0; color: #fff !important; text-decoration: none !important; border-radius: 999px; padding: 13px 24px; font-weight: 600; font-size: 16px; line-height: 1.2; transition: background .2s; }
.ygt-cta:hover { background: #0047a8; }
.ygt-gals { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 34em; }
.ygt-gals li { margin: 0; padding: 0; }
.ygt-gals li::before { content: none; }
.ygt-gals a { display: inline-flex; align-items: center; gap: 7px; background: rgba(13,16,34,.72); border: 1px solid rgba(190,198,255,.16); border-radius: 999px; padding: 6px 12px; font-size: 13px; line-height: 1.3; color: #e6e8f6 !important; text-decoration: none !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ygt-gals a:hover { border-color: rgba(190,198,255,.45); color: #fff !important; }
.ygt-gals i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ygt-gals small { font-size: 11px; color: #9aa0c3; }
@media (max-width: 860px) {
  .ygt { min-height: 600px; align-items: flex-end; }
  .ygt-in { padding-block: 240px 40px; background: linear-gradient(to top, rgba(6,7,15,.96) 45%, rgba(6,7,15,0)); }
  .ygt-in p { font-size: 15px; }
}
.ygt-p { margin: 10px 0 26px; }
.ygt-pill { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; box-sizing: border-box; padding: 10px 18px 10px 12px; border-radius: 18px; background: linear-gradient(100deg, #0d1022, #1b2050); border: 1px solid rgba(190,198,255,.24); color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 15px; line-height: 1.3; box-shadow: 0 8px 24px rgba(6,7,15,.18); transition: border-color .2s, transform .2s; }
.ygt-pill:hover { border-color: rgba(190,198,255,.55); transform: translateY(-1px); }
.ygt-pill svg { width: 28px; height: 28px; flex: none; }
.ygt-pill small { display: block; font-weight: 400; font-size: 12.5px; color: #b9bdd8; }
/* Le bandeau reste sombre quel que soit le style des sections de la page (accueil, mode clair) */
body section.ygt { background: radial-gradient(120% 120% at 70% 50%, #10142e 0%, #06070f 65%) !important; color: #f4efe4 !important; padding: 0 !important; border: 0 !important; }
body section.ygt .ygt-in h2 { color: #fff !important; }
body section.ygt .ygt-in p { color: #d6d2e6 !important; }
/* Accueil : apple.js pose des classes de fond (yap-clair) sur les sections ; le bandeau garde son fond nuit */
html body section.ygt.ygt.ygt.ygt.ygt { background: radial-gradient(120% 120% at 70% 50%, #10142e 0%, #06070f 65%) !important; color: #f4efe4 !important; }
html body section.ygt.ygt.ygt.ygt.ygt .ygt-in h2 { color: #fff !important; }
html body section.ygt.ygt.ygt.ygt.ygt .ygt-in p { color: #d6d2e6 !important; }
