/* Header — glass desde o topo (hero claro) */
.bp-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--bp-header-h);
  background: var(--bp-glass-bg);
  backdrop-filter: blur(var(--bp-glass-blur)) saturate(1.35);
  -webkit-backdrop-filter: blur(var(--bp-glass-blur)) saturate(1.35);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--bp-ease), border-color 0.3s var(--bp-ease),
    box-shadow 0.3s var(--bp-ease);
}

.bp-header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.bp-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bp-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.bp-logo img {
  height: 36px;
  width: auto;
}

.bp-logo__on-dark {
  display: none;
}

.bp-logo__on-light {
  display: block;
}

.bp-nav {
  display: none;
  align-items: center;
  gap: 2px;
}

.bp-nav a {
  padding: 8px 14px;
  border-radius: var(--bp-radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bp-text-muted);
  transition: background var(--bp-transition), color var(--bp-transition);
}

.bp-nav a:hover,
.bp-nav a.is-active {
  background: var(--bp-green-tint);
  color: var(--bp-green);
}

.bp-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.bp-header__actions .bp-btn--ghost {
  display: none;
  color: var(--bp-text);
  border-color: var(--bp-border);
  background: transparent;
  padding: 9px 16px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.bp-header__actions .bp-btn--ghost:hover {
  border-color: var(--bp-green);
  color: var(--bp-green);
  background: var(--bp-green-tint);
}

.bp-header__actions .bp-btn--primary {
  display: none;
  padding: 9px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.bp-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  color: var(--bp-text);
  cursor: pointer;
}

.bp-menu-toggle svg {
  width: 20px;
  height: 20px;
}

/* Drawer */
.bp-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}

.bp-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.bp-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bp-drawer.is-open .bp-drawer__backdrop {
  opacity: 1;
}

.bp-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 300px);
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s var(--bp-ease);
  box-shadow: var(--bp-shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bp-drawer.is-open .bp-drawer__panel {
  transform: translateX(0);
}

.bp-drawer__close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--bp-bg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bp-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bp-drawer__nav a {
  padding: 13px 14px;
  border-radius: var(--bp-radius-sm);
  font-weight: 500;
  color: var(--bp-text);
}

.bp-drawer__nav a:hover {
  background: var(--bp-green-tint);
  color: var(--bp-green);
}

.bp-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

/* Footer */
.bp-footer {
  background: var(--bp-black);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 28px;
}

.bp-footer__grid {
  display: grid;
  gap: 32px;
}

.bp-footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}

.bp-footer__brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 260px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.bp-play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  border-radius: 12px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: #fff !important;
  text-decoration: none !important;
  transition: transform var(--bp-transition), border-color var(--bp-transition),
    background var(--bp-transition), box-shadow var(--bp-transition);
  max-width: fit-content;
}

.bp-play-badge:hover {
  color: #fff !important;
  background: #1a1a1a;
  border-color: rgba(0, 191, 99, 0.45);
  box-shadow: 0 8px 24px rgba(0, 191, 99, 0.18);
  transform: translateY(-2px);
}

.bp-play-badge__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.bp-play-badge__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  gap: 1px;
}

.bp-play-badge__eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
}

.bp-play-badge__store {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.bp-footer h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bp-green);
  margin-bottom: 12px;
}

.bp-footer__links,
.bp-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bp-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--bp-transition);
}

.bp-footer a:hover {
  color: var(--bp-green);
}

.bp-footer__bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .bp-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .bp-nav {
    display: flex;
  }

  .bp-menu-toggle {
    display: none;
  }

  .bp-header__actions .bp-btn--ghost,
  .bp-header__actions .bp-btn--primary {
    display: inline-flex;
  }
}
