/* Menu mobile/tablet – visual de vidro, coerente com o topo do site */
.cc-menu {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  padding: max(72px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: rgba(20, 20, 20, .82);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .25s ease, transform .25s ease;
  overflow-y: auto;
  font-family: Sora, sans-serif;
}
.cc-menu[hidden] { display: none; }
.cc-menu.is-open { opacity: 1; transform: none; }

.cc-menu__close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
}
.cc-menu__close svg { width: 28px; height: 28px; }
/* o tema pinta [type=button] de rosa no hover/focus; mantemos o padrão do site */
.cc-menu .cc-menu__close,
.cc-menu .cc-menu__close:hover,
.cc-menu .cc-menu__close:focus,
.cc-menu .cc-menu__close:active { background: rgba(255, 255, 255, .14); color: #fff; border: 0; }
.cc-menu .cc-menu__close:hover { background: rgba(255, 255, 255, .26); }
.cc-menu .cc-menu__close:focus-visible { color: #f5e63d; outline: 2px solid #f5e63d; outline-offset: 2px; }

.cc-menu__nav ul { list-style: none; margin: 0 auto; padding: 0; width: min(420px, 100%); }
.cc-menu__nav li + li { border-top: 1px solid rgba(255, 255, 255, .18); }
.cc-menu__nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 8px 4px;
  color: #fff;
  font-size: clamp(1.125rem, 4.5vw, 1.375rem);
  font-weight: 700;
  text-decoration: none;
}
.cc-menu__nav a:hover, .cc-menu__nav a:focus-visible { color: #f5e63d; }
.cc-menu__nav a[aria-current="page"] { color: #f5e63d; }

.cc-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: min(420px, 100%);
  min-height: 56px;
  background: #c4151c;
  color: #f5e63d;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.cc-menu__cta:hover { background: #9f1017; transform: scale(1.02); }

html.cc-menu-lock, html.cc-menu-lock body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .cc-menu { transition: none; transform: none; }
}
/* o painel só existe até a largura em que o menu horizontal aparece */
@media (min-width: 1025px) { .cc-menu { display: none !important; } }
