/* portal-ajustes.css — as correcoes que ficavam repetidas num <style> dentro
   de cada uma das 3 paginas (26/09/2026, Fase B). Mesmo conteudo, mesma ordem
   (logo depois de style.css), agora num arquivo so. */
.nutria-a {
  color: #22c55e !important;
}

/* PORTAL-FIX-MENU-FONTE.1 */
.nutria-a {
  color: #22c55e !important;
}
.brand-half {
  color: #4A9BE8 !important;
}
.brand-sga {
  color: #ff304c !important;
}
.product-card,
.project-video-card {
  border-color: rgba(255, 48, 76, .55) !important;
}
.footer-admin-link {
  cursor: pointer;
}


/* PORTAL-MENU-COMPACT-FIX.1 */
.portal-menu-fixed {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 28px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.portal-menu-fixed a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 76px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: rgba(255,255,255,.86) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border: 0 !important;
  background: transparent !important;
}

.portal-menu-fixed a:hover {
  color: #ffffff !important;
}

.portal-menu-fixed a.active::after,
.portal-menu-fixed a.is-active::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  background: #ff304c !important;
}

.portal-menu-fixed .nutria-a {
  color: #22c55e !important;
}

.portal-menu-fixed .brand-sga {
  color: #ff304c !important;
}

.portal-menu-fixed .brand-half {
  color: #4A9BE8 !important;
}

@media (max-width: 980px) {
  .portal-menu-fixed {
    gap: 18px !important;
    overflow-x: auto !important;
    padding: 0 16px !important;
  }

  .portal-menu-fixed a {
    height: 64px !important;
    font-size: 14px !important;
  }
}


/* PORTAL-MENU-STABLE-FIX.2 */
.portal-menu-fixed {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 !important;

  width: calc(100% - 48px) !important;
  max-width: 1460px !important;
  height: 64px !important;
  min-height: 64px !important;

  margin: 8px auto 0 auto !important;
  padding: 0 28px !important;

  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 26px !important;
  background: rgba(5,5,8,.72) !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.portal-menu-fixed a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: 64px !important;
  line-height: 64px !important;
  padding: 0 !important;
  margin: 0 !important;

  color: rgba(255,255,255,.88) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  border: 0 !important;
  background: transparent !important;
}

.portal-menu-fixed a:hover {
  color: #ffffff !important;
}

.portal-menu-fixed a.active::after,
.portal-menu-fixed a.is-active::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  background: #ff304c !important;
}

.portal-menu-fixed .nutria-a {
  color: #22c55e !important;
}

.portal-menu-fixed .brand-sga {
  color: #ff304c !important;
}

.portal-menu-fixed .brand-half {
  color: #4A9BE8 !important;
}

@media (max-width: 980px) {
  .portal-menu-fixed {
    width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: 56px !important;
    padding: 0 18px !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    gap: 22px !important;
  }

  .portal-menu-fixed a {
    height: 56px !important;
    line-height: 56px !important;
    font-size: 14px !important;
  }
}


/* PORTAL-MENU-MOLDURA-UNICA.3 (26/09/2026)
   O menu tinha duas molduras: a da barra (.topbar, em style.css) e a do
   proprio menu (STABLE-FIX.2 acima). Fica so a da barra, que e a que tem o
   desfoque, a sombra e o sticky; o menu passa a ocupar a barra inteira. */
.portal-menu-fixed {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}



/* PLAYER DOS CARTÕES DE VÍDEO (Fase B, 26/09/2026) */
.project-video-card[data-video] { cursor: pointer; }
.project-video-card[data-video]:focus-visible { outline: 2px solid #ff304c; outline-offset: 3px; }
/* Capa do cartão (26/09/2026): elemento próprio, com o endereço da imagem no
   próprio HTML. Antes era a variável --capa usada aqui; url() relativa dentro de
   variável é resolvida a partir DESTE arquivo (assets/css/), e a capa nunca
   aparecia. Fica acima do fundo recortado (:before) e abaixo do degradê (:after). */
.project-video-card .capa { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center;
  filter: brightness(.5) saturate(1.15); transition: filter .28s ease; }
.project-video-card:hover .capa { filter: brightness(.72) saturate(1.25); }
.project-video-card:has(.capa):before { background-image: none !important; }
dialog.video-player { width: min(960px, calc(100% - 32px)); padding: 0; border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; background: #050508; color: #fff; overscroll-behavior: contain; }
dialog.video-player::backdrop { background: rgba(0,0,0,.78); }
dialog.video-player video { display: block; width: 100%; max-height: 80vh; background: #000; }
.video-player-fechar { position: absolute; top: 8px; right: 8px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.6); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.video-player-fechar:focus-visible { outline: 2px solid #ff304c; outline-offset: 2px; }

/* MURAL DA SEÇÃO "APRESENTAÇÕES" (26/09/2026)
   Um quadro próprio abaixo dos cartões, com a mesma borda e sombra deles:
   vídeo em repetição sem som (o botão abre com som, no mesmo player dos
   cartões) ou uma imagem/flyer. Não fica por trás de nada: tentar como fundo
   da seção misturava com o vídeo da pessoa que já está no fundo do site. */
.mural {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: 34px; align-items: center; margin-top: 40px;
}
.mural-texto h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.035em; margin: 0 0 12px; }
.mural-texto .muted { margin: 0 0 22px; }
.mural-tela {
  position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border-soft); background: #000;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .34);
}
.mural-tela video, .mural-tela img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 980px) {
  .mural { grid-template-columns: 1fr; gap: 20px; }
  .mural-tela { order: -1; }            /* no celular: o quadro primeiro, o texto e o botão embaixo */
}
/* ACESSO RÁPIDO — cartões de vidro (26/09/2026)
   Os itens visíveis do menu, um cartão por módulo, cada um com a sua cor.
   Sem fundo próprio: o vídeo do site aparece através do vidro. O desfoque é
   leve (12px) porque roda por cima de vídeo tocando, e em máquina sem placa
   de vídeo um desfoque grande engasga a página. */
.acesso-rapido { position: relative; padding: 10px 0 60px; }
.modulos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.modulo {
  --cor: #d6d9df;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 60px minmax(0, 1fr) 38px; align-items: center; gap: 16px;
  min-height: 118px; padding: 20px 20px 20px 22px;
  border-radius: 20px; color: #f3f3ef; text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--cor) 55%, transparent);
  background:
    radial-gradient(120% 95% at 0% 100%, color-mix(in srgb, var(--cor) 17%, transparent), transparent 62%),
    linear-gradient(145deg, rgba(15, 20, 28, .66), rgba(4, 7, 12, .46));
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .42), 0 0 18px color-mix(in srgb, var(--cor) 14%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.modulo::before {                      /* reflexo diagonal do vidro */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .12), transparent 30%, transparent 72%, rgba(255, 255, 255, .035));
}
.modulo::after {                       /* fio de luz na base */
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--cor), transparent);
  box-shadow: 0 0 14px var(--cor); opacity: .75;
}
.modulo:hover, .modulo:focus-visible {
  transform: translateY(-5px); border-color: var(--cor);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 28px color-mix(in srgb, var(--cor) 30%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .2);
}
.modulo:focus-visible { outline: 2px solid var(--cor); outline-offset: 3px; }
.modulo-icone { width: 60px; height: 60px; color: var(--cor);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--cor) 55%, transparent)); }
.modulo-icone svg { display: block; width: 100%; height: 100%; }
.modulo-icone .enche { fill: currentColor; fill-opacity: .16; }
.modulo-nome { min-width: 0; font-size: clamp(20px, 1.65vw, 27px); font-weight: 600; line-height: 1.15;
  letter-spacing: -.03em; text-shadow: 0 2px 12px rgba(0, 0, 0, .65); }
.modulo-selo {
  display: block; width: fit-content; margin-top: 7px; padding: 2px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-shadow: none;
  color: var(--cor); border: 1px solid color-mix(in srgb, var(--cor) 45%, transparent);
  background: rgba(0, 0, 0, .25);
}
.modulo-seta {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  color: #fff; background: rgba(0, 0, 0, .2);
  border: 1px solid color-mix(in srgb, var(--cor) 70%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--cor) 18%, transparent);
  transition: transform .28s ease;
}
.modulo-seta svg { width: 20px; height: 20px; }
.modulo:hover .modulo-seta { transform: translateX(3px); }
.tema-ouro { --cor: #d5a043; }
.tema-prata { --cor: #d6d9df; }
.tema-verde { --cor: #22dd84; }
.tema-vermelho { --cor: #e0233b; }
.tema-azul { --cor: #25a8ff; }
@media (max-width: 1180px) { .modulos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {            /* celular: 2 por linha, ícone em cima do nome */
  .modulos { gap: 12px; }
  .modulo { grid-template-columns: 1fr; justify-items: start; align-content: start;   /* nomes na mesma altura em toda a linha; o selo fica abaixo */
    gap: 10px; min-height: 0; padding: 16px; }
  .modulo-icone { width: 40px; height: 40px; }
  .modulo-nome { font-size: 18px; }
  .modulo-seta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .modulo, .modulo-seta { transition: none; }
  .modulo:hover, .modulo:focus-visible, .modulo:hover .modulo-seta { transform: none; }
}
