.hero-logo {
  width: 108px; height: auto; display: block; margin: 0 auto 16px;
  filter: drop-shadow(0 10px 30px rgba(139, 92, 246, .45));
}
@media (max-width: 1024px) { .hero-logo { width: 96px; margin: 0 auto 14px; } }


@media (max-width: 1024px) {
  .nav { display: none; }

  
  
  .logo-flottant {
    position: fixed; top: 10px; left: 50%;
    transform: translateX(-50%) translateY(-14px);
    z-index: 50; padding: 5px 12px; border-radius: 999px;
    background: rgba(6, 6, 12, .62); backdrop-filter: blur(14px) saturate(1.2);
    border: 1px solid var(--ligne); opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s;
  }
  .logo-flottant img { width: 42px; height: auto; display: block; }
  
  body.hero-sorti .logo-flottant {
    opacity: .9; transform: translateX(-50%) translateY(0); pointer-events: auto;
  }
}
@media (min-width: 1025px) { .logo-flottant { display: none; } }


.dock { display: none; }

@media (max-width: 1024px) {
  
  body {
    padding-bottom: calc(var(--barre-h) + var(--dock-h) + 22px + env(safe-area-inset-bottom, 0px));
  }
  .barre { bottom: calc(var(--dock-h) + 14px + env(safe-area-inset-bottom, 0px)); }

  
  
  .dock {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed; left: 12px; right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    height: var(--dock-h); z-index: 70;
    background: rgba(244, 240, 246, .95); backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 95, 162, .34); border-radius: 19px;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8);
    overflow: hidden;
  }
  .dock::before {
    content: ''; position: absolute; top: 0; left: 14%; right: 14%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan) 22%, var(--violet) 78%, transparent);
    opacity: .9;
  }
  
  
  .dock a, .dock button {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; min-width: 0; min-height: 48px; padding: 0 2px;
    background: none; border: 0; cursor: pointer;
    color: #4a4568; font: inherit; font-size: 9.5px; letter-spacing: .05em;
    text-transform: uppercase; border-radius: 15px;
    transition: color .2s, transform .16s;
  }
  .dock a span, .dock button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dock svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; fill: none; }
  .dock a:active, .dock button:active { transform: scale(.92); }
  
  .dock .on { color: #fff; background: linear-gradient(135deg, var(--violet) 0%, #ff7ab0 100%); }
  
  .dock #dock-play { color: #1d6b78; }
  .dock #dock-play:active { color: var(--cyan); }
}


.tiroir-fond {
  position: fixed; inset: 0; z-index: 80; background: rgba(6, 6, 12, .72);
  backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .28s;
}
.tiroir-fond.ouvert { opacity: 1; pointer-events: auto; }
.tiroir {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--carte); border-top: 1px solid var(--ligne);
  border-radius: 22px 22px 0 0; padding: 10px 22px calc(28px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1);
  max-height: 80vh; overflow-y: auto;
}
.tiroir.ouvert { transform: translateY(0); }
.tiroir-poignee { width: 42px; height: 4px; border-radius: 3px; background: var(--txt3); margin: 0 auto 18px; opacity: .5; }
.tiroir h3 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--violet-clair); margin: 0 0 14px; }
.tiroir a {
  display: flex; align-items: center; gap: 12px; padding: 14px 4px;
  border-bottom: 1px solid rgba(139, 92, 246, .1); color: var(--txt); font-size: 15px;
}
.tiroir a:last-of-type { border-bottom: 0; }
.tiroir-fermer {
  position: absolute; top: 12px; right: 16px; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid var(--ligne); background: none;
  color: var(--txt2); cursor: pointer; font-size: 17px; line-height: 1;
}
@media (min-width: 1025px) { .tiroir, .tiroir-fond { display: none !important; } }


@media (max-width: 1024px) {
  
  .hero-in {
    min-height: calc(100svh - var(--dock-h) - var(--barre-h) - 26px);
    padding: 26px 0 20px;
  }
  .hero h1 { font-size: clamp(29px, 8vw, 40px); line-height: 1.06; margin-bottom: 12px; }
  .hero-lead { font-size: 15px; margin-bottom: 20px; }
  .pastille { margin-bottom: 14px; font-size: 10.5px; padding: 5px 13px; }
  .avant { padding: 11px; gap: 13px; }
  .avant-cover { width: 62px; height: 62px; }
  .gros-play { width: 50px; height: 50px; }
  .hero-ctas { margin-top: 20px; gap: 10px; }
  .hero-ctas .cta { flex: 1 1 auto; justify-content: center; padding: 13px 18px; font-size: 14px; }
}
@media (max-width: 400px) {
  .hero-logo { width: 88px; margin-bottom: 14px; }
  .hero h1 { font-size: 27px; }
  .hero-lead { font-size: 14.5px; }
}



@media (max-width: 1024px) {

  
  
  .dock { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .dock-lg-fl { width: 20px; height: 14px; border-radius: 2px; display: block; }

  
  .lg-menu--dock {
    position: fixed !important;
    right: 12px; left: auto;
    bottom: calc(var(--dock-h, 62px) + env(safe-area-inset-bottom, 0px) + 20px);
    top: auto !important;
    z-index: 80;
    min-width: 168px;
    border-radius: 14px;
    box-shadow: 0 20px 50px -16px rgba(0,0,0,.75);
  }
}


.dock a #dock-lg-fl { width: 21px; height: 14px; border-radius: 2px; overflow: hidden; }
.dock a #dock-lg-fl rect { stroke: none; }
.dock a #dock-lg-fl rect:nth-of-type(1) { fill: #002654; }
.dock a #dock-lg-fl rect:nth-of-type(2) { fill: #ffffff; }
.dock a #dock-lg-fl rect:nth-of-type(3) { fill: #ce1126; }


.lg-menu--dock {
  display: block !important;
  background: rgba(16,16,26,.97);
  border: 1px solid rgba(255,255,255,.12);
  padding: 6px;
}
.lg-menu--dock a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 9px;
  color: #f2f2f6; text-decoration: none; font-size: 14px;
}
.lg-menu--dock a:hover { background: rgba(255,255,255,.08); }


@media (max-width: 1024px) {

  .hero-in {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  
  .hero-in .hero-logo {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
  }

  
  .hero-in .hero-txt { align-items: center; text-align: center; }

  
  .hero-in .hero-ctas {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  }
  .hero-in .hero-ctas .cta { flex: 1 1 auto; justify-content: center; white-space: nowrap; }
  

  .hero-in .hero-points { justify-content: center; }
}



@media (max-width: 1024px) {
  .hero-in > .avant { display: none !important; }
}
