/* IPTV Abonné — shared mobile burger nav (injected panel) */
.ia-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border-radius: 10px;
  background: transparent;
  border: 1.5px solid rgba(15, 23, 42, 0.22);
  color: #0b132b;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  z-index: 1002;
}
.ia-burger:hover { border-color: rgba(37, 99, 235, 0.55); }
.ia-burger:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.ia-burger-bars,
.ia-burger-bars::before,
.ia-burger-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.ia-burger-bars::before,
.ia-burger-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.ia-burger-bars::before { top: -6px; }
.ia-burger-bars::after { top: 6px; }
.ia-burger[aria-expanded="true"] .ia-burger-bars { background: transparent; }
.ia-burger[aria-expanded="true"] .ia-burger-bars::before {
  top: 0; transform: rotate(45deg);
}
.ia-burger[aria-expanded="true"] .ia-burger-bars::after {
  top: 0; transform: rotate(-45deg);
}

/* Dark headers (guides / legal / blog) */
.site-header .ia-burger {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.site-header .ia-burger:hover {
  border-color: rgba(234, 179, 8, 0.7);
  color: #fde68a;
}

.ia-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  z-index: 1100;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.ia-nav-overlay.is-open { display: block; }

.ia-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 88vw);
  background: #0b132b;
  color: #e2e8f0;
  z-index: 1101;
  transform: translateX(105%);
  transition: transform 0.22s ease;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.15rem 1.5rem;
  overflow-y: auto;
}
.ia-mobile-panel.is-open { transform: translateX(0); }
.ia-mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ia-mobile-panel-brand {
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.ia-mobile-panel-brand span { color: #fbbf24; }
.ia-mobile-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.ia-mobile-close:hover { border-color: #fbbf24; color: #fde68a; }
.ia-mobile-close:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}
.ia-mobile-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.ia-mobile-links a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.ia-mobile-links a:hover,
.ia-mobile-links a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}
.ia-mobile-links a.is-active {
  background: rgba(37, 99, 235, 0.18);
  color: #93c5fd;
}
.ia-mobile-cta {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ia-mobile-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.ia-mobile-cta .ia-cta-test {
  background: #2563eb;
  color: #fff;
}
.ia-mobile-cta .ia-cta-wa {
  background: #25d366;
  color: #052e16;
}

@media (max-width: 900px) {
  .ia-burger { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  .ia-burger-bars,
  .ia-burger-bars::before,
  .ia-burger-bars::after,
  .ia-mobile-panel {
    transition: none !important;
  }
}
