/* ============================================
   Manuela Andrade - Deputada Distrital
   Identidade: roxo profundo + amarelo dourado
   ============================================ */

:root {
  --roxo-profundo: #2a0e52;
  --roxo: #5b1e9e;
  --roxo-claro: #7c3aed;
  --amarelo: #ffc93c;
  --magenta: #e940a4;
  --branco: #ffffff;
  --verde-whats: #25d366;
  --verde-whats-escuro: #128c7e;
  --sombra: 0 12px 32px rgba(16, 4, 38, 0.45);
  --fonte-titulo: "Anton", "Arial Black", sans-serif;
  --fonte-corpo: "Poppins", "Helvetica Neue", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-corpo);
  background: var(--roxo-profundo);
  color: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--amarelo);
}

/* ---------- utilitários ---------- */

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
}

.titulo-secao {
  font-family: var(--fonte-titulo);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-align: center;
}

.titulo-secao .ela {
  color: var(--amarelo);
}

/* chip amarelo inclinado, como os adesivos dos posts */
.chip {
  display: inline-block;
  background: var(--amarelo);
  color: var(--roxo-profundo);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.9rem;
  border-radius: 4px;
  transform: rotate(-2deg);
  margin-bottom: 1rem;
}

.secao {
  padding: 4.5rem 0;
}

/* ---------- navegação ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(42, 14, 82, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 201, 60, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  font-family: var(--fonte-titulo);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--branco);
  text-decoration: none;
  line-height: 1;
}

.logo img {
  height: 38px;
  width: auto;
  display: block;
}

.logo .ela {
  color: var(--amarelo);
}

.logo small {
  display: block;
  font-family: var(--fonte-corpo);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--amarelo);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
}

.nav-links a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.ativo {
  border-bottom-color: var(--amarelo);
  color: var(--amarelo);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(124, 58, 237, 0.55), transparent),
    radial-gradient(ellipse 50% 40% at 85% 100%, rgba(233, 64, 164, 0.22), transparent),
    var(--roxo-profundo);
}

.hero-nome {
  font-family: var(--fonte-titulo);
  font-size: clamp(3.2rem, 11vw, 7rem);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.hero-nome .ela {
  color: var(--amarelo);
}

.hero-sobrenome {
  display: block;
  font-size: clamp(1.4rem, 4.6vw, 2.9rem);
  letter-spacing: 0.55em;
  margin-top: 0.4rem;
  color: var(--branco);
}

.hero-cargo {
  display: inline-block;
  margin-top: 1.4rem;
  background: var(--amarelo);
  color: var(--roxo-profundo);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(0.72rem, 2vw, 0.95rem);
  padding: 0.45rem 1.4rem;
  border-radius: 4px;
  transform: rotate(-1.5deg);
}

.hero-bio {
  margin: 1.8rem auto 0;
  max-width: 34rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-bio strong {
  color: var(--amarelo);
  font-weight: 700;
}

/* ---------- vídeo ---------- */

.video-moldura {
  margin: 2.4rem auto 0;
  max-width: 420px;
  border: 3px solid var(--amarelo);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sombra);
  background: var(--roxo);
  position: relative;
}

.video-moldura video {
  width: 100%;
  display: block;
  background: #000;
}

.botao-som {
  position: absolute;
  z-index: 5;
  bottom: 4.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amarelo);
  color: var(--roxo-profundo);
  border: 0;
  font-family: var(--fonte-corpo);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(16, 4, 38, 0.5);
}

.video-moldura .instagram-media {
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
}

/* ---------- whatsapp ---------- */

.whats {
  background: linear-gradient(135deg, var(--verde-whats-escuro), var(--verde-whats));
  text-align: center;
  padding: 3.4rem 0;
}

.whats h2 {
  font-family: var(--fonte-titulo);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  line-height: 1.1;
}

.whats p {
  margin: 0.7rem auto 1.6rem;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.92);
}

.busca-grupo-caixa {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--branco);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  max-width: 34rem;
  margin: 0 auto 1.8rem;
  box-shadow: 0 10px 26px rgba(6, 46, 32, 0.35);
}

.busca-grupo-caixa svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--verde-whats-escuro);
}

.busca-grupo-caixa input {
  flex: 1;
  border: 0;
  outline: none;
  font-family: var(--fonte-corpo);
  font-size: 1rem;
  color: #163a2e;
  background: transparent;
  min-width: 0;
}

.lista-grupos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  max-width: 56rem;
  margin: 0 auto;
}

.botao-grupo {
  font-family: var(--fonte-corpo);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--branco);
  color: var(--verde-whats-escuro);
  border: 0;
  text-decoration: none;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(6, 46, 32, 0.25);
  transition: transform 0.12s ease, background 0.12s ease;
}

.botao-grupo:hover {
  transform: scale(1.05);
}

.botao-grupo.sem-link {
  background: rgba(255, 255, 255, 0.82);
}

.botao-grupo.grupo-destaque {
  background: var(--amarelo);
  color: var(--roxo-profundo);
  transform: scale(1.08);
}

.grupo-sem-resultado {
  margin-top: 1.4rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

/* ---------- grid instagram ---------- */

.grid-insta {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.grid-insta .instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  border-radius: 12px !important;
  box-shadow: var(--sombra) !important;
}

/* cartão exibido quando um embed do Instagram não carrega */
.insta-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--roxo), var(--roxo-claro));
  text-decoration: none;
  box-shadow: var(--sombra);
  transition: transform 0.15s ease;
  padding: 1rem;
  text-align: center;
}

.insta-fallback:hover {
  transform: translateY(-4px);
}

.insta-fallback-logo {
  font-family: var(--fonte-titulo);
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--branco);
}

.insta-fallback-logo b {
  color: var(--amarelo);
  font-weight: normal;
}

.insta-fallback-texto {
  color: var(--branco);
  font-weight: 500;
  font-size: 0.95rem;
}

.insta-fallback-arroba {
  color: var(--amarelo);
  font-size: 0.8rem;
  font-weight: 500;
}

.video-moldura .insta-fallback {
  aspect-ratio: auto;
  min-height: 320px;
  border-radius: 0;
}

/* grid de fotos nativas (feed automático via Behold) */
.grid-insta.grid-insta-fotos {
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.insta-post {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform 0.15s ease;
}

.insta-post:hover {
  transform: scale(1.03);
}

.insta-post img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.insta-post-video {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(16, 4, 38, 0.7);
  color: var(--branco);
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

@media (max-width: 860px) {
  .grid-insta.grid-insta-fotos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .grid-insta.grid-insta-fotos {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ver-mais {
  text-align: center;
  margin-top: 2.2rem;
}

.botao-contorno {
  display: inline-block;
  color: var(--amarelo);
  border: 2px solid var(--amarelo);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.botao-contorno:hover {
  background: var(--amarelo);
  color: var(--roxo-profundo);
}

/* ---------- mural de fotos ---------- */

/* faixa de filtros do mural (cidade + data) */
.filtros {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  background: var(--roxo);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  box-shadow: var(--sombra);
}

.filtro {
  text-align: left;
}

.filtro label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amarelo);
  margin-bottom: 0.3rem;
}

.filtro select,
.filtro input {
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(42, 14, 82, 0.6);
  color: var(--branco);
  font-family: var(--fonte-corpo);
  font-size: 0.95rem;
  color-scheme: dark;
  min-width: 11rem;
}

.filtros .botao-limpar {
  width: auto;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

.grid-fotos {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
}

.foto-item {
  margin: 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sombra);
}

.foto-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: zoom-in;
  display: block;
}

.foto-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 0.8rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  text-align: left;
  color: var(--branco);
  background: linear-gradient(transparent, rgba(16, 4, 38, 0.85));
  pointer-events: none;
}

.lightbox figure {
  margin: 0;
  text-align: center;
}

.lightbox figcaption {
  margin-top: 0.7rem;
  color: var(--branco);
  font-size: 0.9rem;
  font-weight: 400;
}

.voltar {
  margin-bottom: 1.6rem;
  display: inline-block;
}

.estado-vazio {
  margin: 3rem auto 0;
  max-width: 30rem;
  text-align: center;
  background: rgba(91, 30, 158, 0.45);
  border: 1px dashed rgba(255, 201, 60, 0.5);
  border-radius: 14px;
  padding: 2.4rem 1.6rem;
  color: rgba(255, 255, 255, 0.85);
}

/* lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(16, 4, 38, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox.aberto {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
}

/* ---------- admin ---------- */

.cartao {
  background: var(--roxo);
  border-radius: 14px;
  padding: 1.8rem;
  box-shadow: var(--sombra);
  max-width: 430px;
  margin: 2.4rem auto 0;
}

/* painel logado: blocos lado a lado, um por função */

.painel-topo {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(91, 30, 158, 0.45);
  border: 1px solid rgba(255, 201, 60, 0.35);
  border-radius: 999px;
  padding: 0.5rem 0.6rem 0.5rem 1.4rem;
}

.painel-usuario {
  flex: 1;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.painel-usuario b {
  color: var(--amarelo);
}

.painel-topo .botao-sair {
  width: auto;
  padding: 0.5rem 1.4rem;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.painel-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: start;
  text-align: left;
}

.painel-grid .cartao {
  max-width: none;
  margin: 0;
}

.cartao-etiqueta {
  display: inline-block;
  background: var(--amarelo);
  color: var(--roxo-profundo);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.cartao-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin: -0.4rem 0 1.1rem;
}

.campo-metade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.campo-metade label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 1080px) {
  .painel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .painel-grid {
    grid-template-columns: 1fr;
  }
  .painel-topo {
    flex-direction: column;
    border-radius: 14px;
    padding: 0.9rem;
  }
}

.cartao h2 {
  font-family: var(--fonte-titulo);
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}

.campo {
  margin-bottom: 1rem;
}

.campo label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.85);
}

.campo input,
.campo textarea,
.campo select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(42, 14, 82, 0.6);
  color: var(--branco);
  font-family: var(--fonte-corpo);
  font-size: 0.95rem;
}

.campo input:focus,
.campo textarea:focus,
.campo select:focus {
  outline: 2px solid var(--amarelo);
  border-color: transparent;
}

.botao {
  display: inline-block;
  width: 100%;
  background: var(--amarelo);
  color: var(--roxo-profundo);
  border: 0;
  font-family: var(--fonte-corpo);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.botao:hover {
  filter: brightness(1.08);
}

.botao:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.botao-secundario {
  background: transparent;
  color: var(--amarelo);
  border: 2px solid var(--amarelo);
}

.dica {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.campo-caixa {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.campo input[type="checkbox"],
.campo input[type="range"] {
  accent-color: var(--amarelo);
  width: auto;
}

.campo input[type="range"] {
  width: 100%;
  padding: 0;
}

.aviso {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  display: none;
}

.aviso.erro {
  display: block;
  background: rgba(233, 64, 164, 0.18);
  border: 1px solid var(--magenta);
}

.aviso.ok {
  display: block;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid var(--verde-whats);
}

.progresso {
  margin-top: 0.9rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: none;
}

.progresso.ativo {
  display: block;
}

.progresso div {
  height: 100%;
  width: 0;
  background: var(--amarelo);
  transition: width 0.2s ease;
}

/* ---------- painel em abas ---------- */

.painel-abas {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.painel-aba-botao {
  font-family: var(--fonte-corpo);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--branco);
  background: rgba(91, 30, 158, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
}

.painel-aba-botao.ativo {
  background: var(--amarelo);
  color: var(--roxo-profundo);
  border-color: var(--amarelo);
}

.painel-aba-botao .badge {
  display: inline-block;
  min-width: 1.4em;
  background: var(--magenta);
  color: var(--branco);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.1rem 0.4rem;
  margin-left: 0.3rem;
}

.painel-aba {
  margin-top: 1.8rem;
  text-align: left;
}

.cartao-aba {
  max-width: 560px;
  margin: 0 auto 1.4rem;
}

/* lista de álbuns */
.lista-albuns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.album-cartao {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--roxo);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--sombra);
  transition: transform 0.12s ease;
  font-family: var(--fonte-corpo);
  color: var(--branco);
}

.album-cartao:hover {
  transform: translateY(-3px);
}

.album-capa {
  aspect-ratio: 16 / 10;
  background: rgba(42, 14, 82, 0.6);
}

.album-capa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-info {
  padding: 0.8rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.album-info b {
  font-size: 0.98rem;
}

.album-info span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.botao-voltar {
  width: auto;
  padding: 0.5rem 1.3rem;
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}

.titulo-fotos-album {
  font-family: var(--fonte-titulo);
  text-transform: uppercase;
  font-size: 1.2rem;
  text-align: center;
  margin-top: 0.6rem;
}

.painel-aba .cartao-desc {
  text-align: center;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

/* fotos do álbum com botão de apagar */
.grid-fotos-admin {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.7rem;
}

.foto-admin {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--sombra);
}

.foto-admin img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.foto-admin-apagar {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 4, 38, 0.75);
  color: var(--branco);
  font-size: 0.95rem;
  cursor: pointer;
}

.foto-admin-apagar:hover {
  background: var(--magenta);
}

/* caneta de edição, ao lado do X */
.foto-admin-editar {
  position: absolute;
  top: 0.4rem;
  right: 2.7rem;
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 4, 38, 0.75);
  color: var(--branco);
  font-size: 0.95rem;
  cursor: pointer;
}

.foto-admin-editar:hover {
  background: var(--amarelo);
  color: var(--roxo-profundo);
}

/* olho de ocultar/mostrar, ao lado da caneta */
.foto-admin-ocultar {
  position: absolute;
  top: 0.4rem;
  right: 5rem;
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 4, 38, 0.75);
  color: var(--branco);
  font-size: 0.95rem;
  cursor: pointer;
}

.foto-admin-ocultar:hover {
  background: var(--roxo-claro);
}

/* foto oculta do site: apagada visualmente na grade do painel */
.foto-admin-oculta img {
  opacity: 0.35;
  filter: grayscale(0.8);
}

.foto-admin-oculta .foto-admin-ocultar {
  background: var(--amarelo);
  color: var(--roxo-profundo);
}

.album-selo-oculto {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 201, 60, 0.18);
  border: 1px solid rgba(255, 201, 60, 0.6);
  color: var(--amarelo);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  vertical-align: middle;
}

.botoes-gerenciar-album {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.botao-perigo {
  background: transparent;
  border: 1px solid var(--magenta);
  color: var(--magenta);
}

.botao-perigo:hover {
  background: var(--magenta);
  color: var(--branco);
}

/* tabela de cadastros (aba admin) */
.tabela-rolagem {
  overflow-x: auto;
  margin-top: 1rem;
}

.tabela-cadastros {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.tabela-cadastros th,
.tabela-cadastros td {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 0.6rem;
  text-align: left;
  white-space: nowrap;
}

.tabela-cadastros th {
  background: rgba(255, 201, 60, 0.12);
  color: var(--amarelo);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

/* fila de aprovação */
.lista-pendentes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

.pendente-cartao {
  display: flex;
  gap: 1rem;
  background: var(--roxo);
  border: 1px solid rgba(255, 201, 60, 0.4);
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: var(--sombra);
  align-items: center;
}

.pendente-cartao img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.pendente-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
  flex: 1;
}

.pendente-info b {
  font-size: 0.95rem;
}

.pendente-info span {
  font-size: 0.82rem;
  color: var(--amarelo);
}

.pendente-acoes {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pendente-acoes .botao {
  width: auto;
  font-size: 0.78rem;
  padding: 0.55rem 1.1rem;
}

.pendente-ocupado {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 560px) {
  .pendente-cartao {
    flex-direction: column;
    align-items: stretch;
  }
  .pendente-cartao img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ---------- virar apoiador ---------- */

.cartao-apoiador {
  max-width: 620px;
  text-align: left;
}

.lista-temas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tema-opcao {
  font-family: var(--fonte-corpo);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(42, 14, 82, 0.6);
  color: var(--branco);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.tema-opcao:hover {
  border-color: var(--amarelo);
}

.tema-opcao.sel {
  background: var(--amarelo);
  color: var(--roxo-profundo);
  border-color: var(--amarelo);
  font-weight: 600;
}

.consentimento {
  align-items: flex-start;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.1rem;
}

.consentimento input {
  margin-top: 0.25rem;
  accent-color: var(--amarelo);
}

/* faixa de chamada na página inicial */
.faixa-apoiador {
  background: linear-gradient(135deg, var(--magenta), var(--roxo-claro));
  text-align: center;
  padding: 3rem 0;
}

.faixa-apoiador h2 {
  font-family: var(--fonte-titulo);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  line-height: 1.1;
}

.faixa-apoiador p {
  margin: 0.6rem auto 1.5rem;
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.92);
}

.faixa-apoiador .botao-apoiar {
  display: inline-block;
  background: var(--amarelo);
  color: var(--roxo-profundo);
  font-weight: 500;
  font-size: clamp(1rem, 3vw, 1.2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(16, 4, 38, 0.4);
  transition: transform 0.15s ease;
}

.faixa-apoiador .botao-apoiar:hover {
  transform: scale(1.04);
}

/* faixa do botão Fotos: espaço próprio (fundo amarelo p/ não confundir com
   a seção do Instagram, que fica no roxo padrão da página) */
.faixa-fotos {
  background: var(--amarelo);
  text-align: center;
  padding: 3rem 0;
}

.faixa-fotos h2 {
  font-family: var(--fonte-titulo);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  line-height: 1.1;
  color: var(--roxo-profundo);
}

.faixa-fotos p {
  margin: 0.6rem auto 1.5rem;
  max-width: 30rem;
  color: rgba(42, 14, 82, 0.85);
}

.faixa-fotos .botao-fotos {
  display: inline-block;
  background: var(--roxo-profundo);
  color: var(--amarelo);
  font-weight: 500;
  font-size: clamp(1rem, 3vw, 1.2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(16, 4, 38, 0.35);
  transition: transform 0.15s ease;
}

.faixa-fotos .botao-fotos:hover {
  transform: scale(1.04);
}

/* ---------- rodapé ---------- */

.rodape {
  border-top: 1px solid rgba(255, 201, 60, 0.25);
  padding: 2.6rem 0;
  text-align: center;
  background: #200a40;
}

.rodape-redes {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.rodape-redes a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.rodape-redes a:hover {
  color: var(--amarelo);
}

.rodape p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- acessibilidade / responsivo ---------- */

:focus-visible {
  outline: 3px solid var(--amarelo);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

@media (max-width: 860px) {
  .grid-insta {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grid-insta {
    grid-template-columns: 1fr;
  }
  .secao {
    padding: 3.2rem 0;
  }
  .nav-links {
    gap: 1rem;
  }
}

/* ---------- mockup do cliente (14/08): Apoiar no menu, hero 20101,
   play amarelo e seções em dropdown ---------- */

.nav-links a.nav-apoiar {
  font-family: var(--fonte-titulo);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--verde-whats);
  color: var(--branco);
  padding: 0.35rem 1.5rem;
  border-bottom: 0;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(6, 46, 32, 0.35);
  transition: filter 0.12s ease;
  animation: apoiar-pulso 1.6s ease-in-out infinite;
}

@keyframes apoiar-pulso {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(6, 46, 32, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 6px 16px rgba(6, 46, 32, 0.35), 0 0 0 9px rgba(37, 211, 102, 0);
  }
}

.nav-links a.nav-apoiar:hover {
  color: var(--branco);
  border-bottom: 0;
  filter: brightness(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a.nav-apoiar {
    animation: none;
  }
}

.hero-logo {
  width: min(340px, 72%);
  margin: 0 auto;
}

.hero-numero {
  font-family: var(--fonte-titulo);
  font-size: clamp(4.6rem, 22vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--branco);
  margin-top: 0.5rem;
}

/* play amarelo por cima do vídeo pausado */
.botao-play {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 0;
  background: transparent;
  color: var(--amarelo);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.botao-play svg {
  width: clamp(64px, 24%, 96px);
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(16, 4, 38, 0.6));
  transition: transform 0.15s ease;
}

.botao-play:hover svg {
  transform: scale(1.1);
}

/* seções em dropdown (WhatsApp e apoiador) */
.dropdown-toggle {
  border: 0;
  cursor: pointer;
}

.dropdown-toggle::after {
  content: "▾";
  display: inline-block;
  margin-left: 0.6rem;
  transition: transform 0.2s ease;
}

.dropdown-toggle.aberto::after {
  transform: rotate(180deg);
}

.whats-logo {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 0.8rem;
  color: var(--branco);
  filter: drop-shadow(0 6px 14px rgba(6, 46, 32, 0.35));
}

.insta-logo {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 0.9rem;
  color: var(--branco);
  filter: drop-shadow(0 6px 14px rgba(16, 4, 38, 0.45));
}

.dropdown-toggle-whats {
  font-family: var(--fonte-corpo);
  font-weight: 700;
  font-size: 1rem;
  background: var(--branco);
  color: var(--verde-whats-escuro);
  padding: 0.8rem 1.9rem;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(6, 46, 32, 0.35);
  transition: transform 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.dropdown-toggle-whats svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.dropdown-toggle-whats:hover {
  transform: scale(1.04);
}

.faixa-apoiador .botao-apoiar {
  font-family: var(--fonte-corpo);
}

.whats .dropdown-conteudo {
  margin-top: 1.8rem;
}

.dropdown-conteudo {
  animation: dropdown-abrir 0.25s ease;
}

@keyframes dropdown-abrir {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dropdown-conteudo {
    animation: none;
  }
}

/* ---------- "Se encontre nas fotos" (reconhecimento no aparelho) ---------- */

.botao-se-encontre {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  font-family: var(--fonte-corpo);
  font-weight: 700;
  font-size: 1rem;
  background: var(--amarelo);
  color: var(--roxo-profundo);
  border: 0;
  padding: 0.8rem 1.9rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(16, 4, 38, 0.4);
  transition: transform 0.12s ease;
}

.botao-se-encontre:hover {
  transform: scale(1.04);
}

.botao-se-encontre svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.facial-resultado {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.facial-resultado p {
  font-weight: 600;
  color: var(--amarelo);
}

.modal-facial {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(16, 4, 38, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.modal-facial-caixa {
  position: relative;
  width: min(420px, 100%);
  background: var(--roxo);
  border-radius: 18px;
  padding: 2rem 1.6rem 1.8rem;
  box-shadow: var(--sombra);
  text-align: center;
}

.modal-facial-caixa h3 {
  font-family: var(--fonte-titulo);
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1.1;
}

.modal-facial-caixa p {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.facial-privacidade {
  background: rgba(42, 14, 82, 0.6);
  border: 1px solid rgba(255, 201, 60, 0.4);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem !important;
}

.modal-facial-caixa .botao {
  margin-top: 1.3rem;
}

.facial-arquivo {
  display: inline-block;
  margin-top: 0.8rem;
  cursor: pointer;
}

.aviso-facial {
  margin-top: 1rem !important;
  background: rgba(233, 64, 164, 0.18);
  border: 1px solid rgba(233, 64, 164, 0.5);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem !important;
}

.modal-facial-fechar {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  background: transparent;
  border: 0;
  color: var(--branco);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

#facial-video {
  width: 100%;
  border-radius: 12px;
  background: #000;
  transform: scaleX(-1); /* espelhado, como selfie */
}

.facial-progresso {
  margin-top: 1rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(42, 14, 82, 0.7);
  overflow: hidden;
}

.facial-barra {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--amarelo);
  transition: width 0.2s ease;
}

/* ---------- "Eu apoio d'ela" (arte com moldura) ---------- */

.apoio-cartao {
  max-width: 460px;
  margin: 2.4rem auto 0;
  background: var(--roxo);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--sombra);
}

.apoio-logo {
  width: min(280px, 70%);
  margin: 1rem auto 0;
}

/* prévia da câmera: quadrado com a moldura por cima e o círculo-guia */
.apoio-preview {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

#apoio-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.apoio-preview-moldura {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* a "faca": círculo tracejado onde o rosto vai aparecer na moldura */
.apoio-guia {
  position: absolute;
  left: 50%;
  top: 36%;
  width: 53%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border: 3px dashed rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(16, 4, 38, 0.18);
}

.apoio-dica {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

#apoio-camera .botao,
#apoio-escolha .botao {
  margin-top: 1.2rem;
}

#apoio-canvas {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--sombra);
}

.apoio-acoes {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.faixa-apoiador .apoio-chamada {
  margin-top: 1.2rem;
  background: var(--branco);
  color: var(--roxo);
  animation: apoio-flutua 2.6s ease-in-out infinite;
}

@keyframes apoio-flutua {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faixa-apoiador .apoio-chamada {
    animation: none;
  }
}

/* Caixa alta sem negrito: a Anton só existe no peso 400 — o bold sintético
   do navegador engorda o traço e fecha os espaços que caracterizam a letra. */
.titulo-secao,
.logo,
.hero-nome,
.hero-numero,
.whats h2,
.insta-fallback-logo,
.insta-fallback-logo b,
.cartao h2,
.titulo-fotos-album,
.faixa-apoiador h2,
.faixa-fotos h2,
.nav-links a.nav-apoiar,
.modal-facial-caixa h3 {
  font-weight: 400;
}

/* ---------- Editor de foto da aba Aprovação (borrões + recorte) ---------- */
.editor-foto-fundo {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(16, 4, 38, 0.94);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.2rem;
  overflow-y: auto;
}

.editor-foto-fundo[hidden] {
  display: none;
}

.editor-foto-caixa {
  width: min(720px, 100%);
  background: var(--roxo);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--sombra);
  margin: auto 0;
}

.editor-foto-caixa h3 {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.4rem;
}

.editor-foto-palco {
  position: relative;
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  touch-action: none;
}

/* max-width + max-height (sem object-fit) mantêm o elemento no tamanho exato
   da imagem exibida - assim o clique cai no pixel certo do canvas */
#editor-canvas {
  display: block;
  max-width: 100%;
  max-height: 60vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  cursor: crosshair;
}

.editor-recorte {
  position: absolute;
  border: 2px dashed var(--amarelo);
  box-shadow: 0 0 0 9999px rgba(16, 4, 38, 0.55);
  cursor: move;
  touch-action: none;
}

.editor-recorte-canto {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--amarelo);
  border-radius: 50%;
  border: 2px solid var(--roxo-profundo);
}

.editor-recorte-canto[data-canto="te"] { left: -11px; top: -11px; cursor: nwse-resize; }
.editor-recorte-canto[data-canto="td"] { right: -11px; top: -11px; cursor: nesw-resize; }
.editor-recorte-canto[data-canto="be"] { left: -11px; bottom: -11px; cursor: nesw-resize; }
.editor-recorte-canto[data-canto="bd"] { right: -11px; bottom: -11px; cursor: nwse-resize; }

.editor-controles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.1rem;
}

.editor-controle label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.9);
}

.editor-controle input[type="range"] {
  width: 100%;
  accent-color: var(--amarelo);
}

.editor-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.editor-acoes .botao {
  margin: 0;
}

@media (max-width: 560px) {
  .editor-controles {
    grid-template-columns: 1fr;
  }
  .editor-foto-caixa {
    padding: 1.1rem;
  }
}

/* prévia da marca d'água no Novo álbum */
.marca-preview-palco {
  margin: 0.5rem 0 0.9rem;
  line-height: 0;
}

#marca-preview-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  cursor: grab;
  touch-action: none;
  box-shadow: var(--sombra);
}

#marca-preview-canvas:active {
  cursor: grabbing;
}
