.hero-logo {
  width: 132px; height: auto; display: block; margin: 0 0 22px;
  filter: drop-shadow(0 10px 30px rgba(139, 92, 246, .45));
}
@media (max-width: 1024px) { .hero-logo { width: 104px; margin: 0 auto 18px; } }

@media (max-width: 1024px) {
  .nav { display: none; }

  .logo-flottant {
    position: fixed; top: 12px; left: 50%; transform: translateX(-50%) translateY(-14px);
    z-index: 50; padding: 7px 15px; border-radius: 999px;
    background: rgba(6, 6, 12, .72); backdrop-filter: blur(12px);
    border: 1px solid var(--ligne); opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s;
  }
  .logo-flottant img { width: 84px; height: auto; display: block; }
  
  body.hero-sorti .logo-flottant { opacity: 1; 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(19, 19, 42, .92); backdrop-filter: blur(14px);
    border: 1px solid var(--ligne); border-radius: 19px;
    box-shadow: 0 14px 38px -14px rgba(0, 0, 0, .7);
  }
  
  .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: var(--txt3); font: inherit; font-size: 9.5px; letter-spacing: .07em;
    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: var(--violet-clair); }
}

.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: 0; padding: 30px 0 26px; }
  .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; }
}
