/* A fonte Inter é carregada no <head> do index.html (sem @import, que atrasa a página). */

body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* Transições suaves globais */
a, button {
  transition: all 0.2s ease-in-out;
}

/* Customização da barra de rolagem */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #020617;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #10b981;
}

/* Bandeira do Brasil em marca d'água no topo */
.bandeira-fundo {
  position: absolute;
  z-index: -1;
  top: -150px;
  left: 50%;
  width: min(1150px, 170vw);
  aspect-ratio: 10 / 7;
  transform: translateX(-50%);
  opacity: 0.2;
  pointer-events: none;
  /* bordas esmaecidas para se misturar ao azul */
  -webkit-mask-image: radial-gradient(ellipse 52% 50% at 50% 50%, #000 45%, transparent 78%);
          mask-image: radial-gradient(ellipse 52% 50% at 50% 50%, #000 45%, transparent 78%);
}
.bandeira-fundo svg {
  width: 100%;
  height: 100%;
  transform-origin: 0% 50%;
  animation: bandeira-tremular 9s ease-in-out infinite;
}
@keyframes bandeira-tremular {
  0%, 100% { transform: perspective(1200px) rotateY(0deg) skewY(0deg); }
  25%      { transform: perspective(1200px) rotateY(-6deg) skewY(1.2deg); }
  50%      { transform: perspective(1200px) rotateY(3deg) skewY(-0.8deg); }
  75%      { transform: perspective(1200px) rotateY(-4deg) skewY(0.9deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bandeira-fundo svg { animation: none; }
}
@media (max-width: 640px) {
  .bandeira-fundo { opacity: 0.17; top: -60px; }
}

/* Cards de benefícios: surgem ao rolar e sobem no hover */
.beneficio {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
}
.beneficio:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 12px 30px -12px rgba(245, 158, 11, 0.25);
}
.js-animar .beneficio { opacity: 0; transform: translateY(18px); }
.js-animar .beneficio.visivel { opacity: 1; transform: none; }
.js-animar .beneficio.visivel:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  .js-animar .beneficio { opacity: 1; transform: none; }
}

/* Como funciona */
.passo-num {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #020617;
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(245, 158, 11, 0.6);
}
.passo { padding-top: 1.75rem; }

/* FAQ */
.faq summary { list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icone {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  transition: transform 0.25s ease;
}
.faq[open] .faq-icone { transform: rotate(45deg); }
.faq[open] { border-color: rgba(245, 158, 11, 0.35); }

/* Exemplos de anúncios */
.anuncio { position: relative; transition: transform 0.3s ease, border-color 0.3s ease; }
.anuncio:hover { transform: translateY(-4px); border-color: rgba(16, 185, 129, 0.4); }
.anuncio::before {
  content: "Exemplo";
  position: absolute;
  top: -9px;
  right: 14px;
  background: #162032;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  border: 1px dashed #475569;
  border-radius: 6px;
  padding: 2px 6px;
}
.avatar {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px; color: #fff;
}
.tag-prof, .tag-ok {
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
}
.tag-prof { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.tag-ok { background: rgba(16, 185, 129, 0.12); color: #34d399; }
.btn-zap {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #25D366; color: #052e16;
  font-size: 13px; font-weight: 800;
  padding: 9px; border-radius: 10px;
  opacity: 0.85; cursor: default; user-select: none;
}
.btn-zap::before {
  content: "";
  width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-3.9-4.7-4.1-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.3.5-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-3.9-4.7-4.1-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.3.5-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Planos */
.item-ok { position: relative; padding-left: 1.6rem; }
.item-ok::before {
  content: "✓";
  position: absolute; left: 0; top: 0.05rem;
  width: 1.1rem; height: 1.1rem; border-radius: 999px;
  background: rgba(16, 185, 129, 0.15); color: #34d399;
  font-size: 0.7rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.plano { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.plano:hover { transform: translateY(-4px); }
.plano-destaque { box-shadow: 0 20px 50px -24px rgba(245, 158, 11, 0.45); }

/* Kit de divulgação */
.kit-abas button {
  font-size: 12px; font-weight: 700; color: #94a3b8;
  padding: 6px 12px; border-radius: 8px;
}
.kit-abas button[aria-pressed="true"] { background: #f59e0b; color: #020617; }
.kit-cor {
  width: 28px; height: 28px; border-radius: 999px;
  border: 2px solid transparent; outline: 2px solid transparent;
}
.kit-cor[aria-pressed="true"] { border-color: #020617; outline-color: #fbbf24; }
.kit-preview { display: block; max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6); }
.kit-preview-post, .kit-preview-logo { width: min(100%, 420px); }
.kit-preview-cartao { width: auto; max-height: 52vh; }
.kit-cta { animation: kit-pulsar 2.4s ease-in-out infinite; }
@keyframes kit-pulsar {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
  50%      { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
}
@media (prefers-reduced-motion: reduce) { .kit-cta { animation: none; } }

/* Botões Instagram e Site nos anúncios */
.btn-link {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; font-weight: 800;
  padding: 7px; border-radius: 10px;
  cursor: default; user-select: none;
}
.btn-insta {
  color: #fff;
  background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af);
}
.btn-site {
  color: #e2e8f0;
  background: #0d1424;
  border: 1px solid #334155;
}
.btn-link::before {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--icone) center/contain no-repeat; mask: var(--icone) center/contain no-repeat;
}
.btn-insta { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E"); }
.btn-site { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 2.5 15.3 0 18M12 3c-2.5 2.7-2.5 15.3 0 18'/%3E%3C/svg%3E"); }

/* Mapa 3D */
.mapa-cena {
  position: relative;
  perspective: 1100px;
  aspect-ratio: 613 / 639;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  touch-action: pan-y;
}
@media (max-width: 767px) {
  .mapa-cena { max-width: 400px; margin-top: -4%; margin-bottom: -16%; }
}
.mapa-flutuar { width: 100%; height: 100%; transform-style: preserve-3d; animation: mapa-flutuar 7s ease-in-out infinite; }
@keyframes mapa-flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mapa-3d {
  --incl-x: 0deg; --incl-y: 0deg;
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(calc(40deg + var(--incl-x))) rotateY(var(--incl-y)) rotateZ(-4deg);
}
.mapa-camada { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mapa-relevo path { fill: rgb(4, 47, 36, var(--tom)); stroke: rgb(16, 185, 129, 0.25); stroke-width: 0.6; }
.mapa-pulsos { pointer-events: none; }
.mapa-relevo:first-child { filter: drop-shadow(0 40px 30px rgba(0, 0, 0, 0.6)); }
.mapa-estado {
  fill: #1e293b;
  stroke: #475569;
  stroke-width: 0.8;
  stroke-linejoin: round;
  cursor: pointer;
  outline: none;
  transition: fill 0.35s ease, stroke 0.35s ease, transform 0.25s ease;
  transform-box: fill-box;
  transform-origin: center;
}
.mapa-estado:hover, .mapa-estado:focus-visible { fill: #334155; stroke: #fbbf24; stroke-width: 1.4; }
.mapa-estado.ativo { fill: url(#mapa-grad-ativo); stroke: #fef08a; stroke-width: 1; filter: url(#mapa-brilho); }
.mapa-estado.ativo:hover, .mapa-estado.ativo:focus-visible { transform: scale(1.04); stroke: #fff; }
/* entrada: estados surgem em sequência */
.mapa-cena .mapa-estado { opacity: 0; }
.mapa-cena.visivel .mapa-estado { animation: mapa-surgir 0.5s ease-out forwards; animation-delay: var(--atraso); }
@keyframes mapa-surgir { from { opacity: 0; } to { opacity: 1; } }
.mapa-pulso { fill: none; stroke: #fde047; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: mapa-pulso 2.2s ease-out infinite; }
.mapa-ponto { fill: #fff; filter: drop-shadow(0 0 4px #fde047); }
@keyframes mapa-pulso { from { transform: scale(0.4); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.mapa-tooltip {
  position: absolute; z-index: 5; pointer-events: none;
  transform: translate(-50%, -100%);
  background: rgba(2, 6, 23, 0.92); border: 1px solid #334155;
  border-radius: 10px; padding: 7px 11px; text-align: center;
  opacity: 0; transition: opacity 0.15s ease;
  white-space: nowrap;
}
.mapa-tooltip.visivel { opacity: 1; }
.mapa-tooltip strong { display: block; color: #fff; font-size: 13px; }
.mapa-tooltip span { display: block; color: #94a3b8; font-size: 11px; }
.mapa-tooltip.ativo-tip { border-color: rgba(250, 204, 21, 0.6); }
.mapa-tooltip.ativo-tip span { color: #fde047; }
.mapa-regiao { display: grid; grid-template-columns: 6.5rem 1fr 2.5rem; align-items: center; gap: 10px; font-size: 12px; color: #64748b; }
.mapa-regiao.ativa { color: #e2e8f0; font-weight: 700; }
.mapa-regiao-barra { height: 6px; background: #1e293b; border-radius: 999px; overflow: hidden; }
.mapa-regiao-barra span { display: block; height: 100%; background: linear-gradient(90deg, #16a34a, #facc15); border-radius: 999px; transition: width 1s ease; }
.mapa-regiao-n { text-align: right; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .mapa-flutuar, .mapa-pulso { animation: none; }
  .mapa-cena .mapa-estado { opacity: 1; animation: none !important; }
}

/* Título: "Direita no Brasil" em ouro com reflexo de luz */
.titulo-ouro {
  position: relative;
  display: inline-block;
  padding-bottom: 0.08em;
  color: #f59e0b; /* reserva para navegadores sem background-clip */
  /* As duas pontas são iguais (0–40% e 60–100%) para o reflexo recomeçar sem salto */
  background: linear-gradient(100deg,
      #fbbf24 0%, #d97706 20%, #f59e0b 40%,
      #fde68a 45%, #fffbeb 50%, #fde68a 55%,
      #fbbf24 60%, #d97706 80%, #f59e0b 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.25));
  animation: ouro-reflexo 5s ease-in-out 0.6s infinite;
}
.titulo-ouro::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.04em;
  height: 0.07em;
  min-height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #16a34a, #f59e0b 35%, #fde68a 50%, #f59e0b 65%, #16a34a);
  transform-origin: left;
  transform: scaleX(0);
  animation: ouro-linha 1.1s cubic-bezier(.2,.8,.2,1) 0.3s forwards;
}
@keyframes ouro-reflexo {
  0%   { background-position: 100% 0; }
  45%  { background-position: 0% 0; }
  100% { background-position: 0% 0; }
}
@keyframes ouro-linha { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .titulo-ouro { animation: none; background-position: 50% 0; }
  .titulo-ouro::after { animation: none; transform: none; }
}

/* Cards com inclinação 3D (ativado pelo js/cards3d.js) */
.card-3d {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.6s ease;
}
.card-3d.card-3d-ativo {
  transition: transform 0.08s linear, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(245, 158, 11, 0.25);
  z-index: 2;
}
.card-3d::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--brilho-x, 50%) var(--brilho-y, 50%),
              rgba(255, 255, 255, 0.14), rgba(253, 230, 138, 0.06) 30%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card-3d.card-3d-ativo::after { opacity: 1; }
/* o conteúdo "salta" um pouco para frente, reforçando a profundidade */
.card-3d.card-3d-ativo > :not(.absolute):not(.passo-num) { transform: translateZ(18px); }
.card-3d > :not(.absolute):not(.passo-num) { transition: transform 0.45s cubic-bezier(.2,.8,.2,1); }

/* Aviso flutuante (ex.: PIX copiado) */
.aviso-flutuante {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10000;
  max-width: min(92vw, 420px);
  transform: translate(-50%, 140%);
  opacity: 0;
  background: #052e16;
  color: #dcfce7;
  border: 1px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.35s ease;
}
.aviso-flutuante.visivel { transform: translate(-50%, 0); opacity: 1; }

/* Abertura com partículas (js/intro.js) */
html.intro-ativa body { overflow: hidden; }
html.intro-ativa body::before { /* cobre a página antes do script montar a abertura */
  content: ""; position: fixed; inset: 0; z-index: 9998; background: #0f172a;
}
.intro-camada {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(60% 50% at 50% 44%, rgba(22, 163, 74, 0.16), transparent 70%), #0f172a;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.intro-camada canvas { position: absolute; inset: 0; }
.intro-camada.intro-saindo { opacity: 0; pointer-events: none; }
.intro-lema {
  position: absolute; left: 0; right: 0; top: calc(44% + min(31vw, 21vh, 170px) * 0.62 + 18px);
  text-align: center; color: #cbd5e1;
  font: 800 clamp(11px, 2.6vw, 15px) Inter, sans-serif;
  letter-spacing: 0.5em; padding-left: 0.5em;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease, letter-spacing 0.9s ease;
}
.intro-formado .intro-lema { opacity: 1; transform: none; letter-spacing: 0.32em; }
.intro-pular {
  position: absolute; right: 18px; bottom: 18px;
  font: 700 12px Inter, sans-serif; color: #94a3b8;
  background: rgba(15, 23, 42, 0.8); border: 1px solid #334155;
  border-radius: 999px; padding: 6px 14px;
}
.intro-pular:hover { color: #fff; border-color: #f59e0b; }

/* Menu de celular */
.menu-botao {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #162032; border: 1px solid #334155;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
@media (max-width: 767px) { .menu-botao { display: inline-flex; } }
@media (min-width: 768px) { .menu-celular { display: none !important; } }
.menu-botao span {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: #e2e8f0;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-botao.aberto span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-botao.aberto span:nth-child(2) { opacity: 0; }
.menu-botao.aberto span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-celular {
  border-top: 1px solid rgba(51, 65, 85, 0.6);
  background: rgba(15, 23, 42, 0.98);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}
.menu-celular.aberto { max-height: 80vh; opacity: 1; overflow-y: auto; }
.menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  color: #e2e8f0; font-size: 15px; font-weight: 700;
}
.menu-item:hover, .menu-item:focus-visible { background: #162032; color: #fbbf24; }
.menu-item span { width: 22px; text-align: center; }
html { scroll-padding-top: 76px; } /* âncoras não ficam escondidas atrás do topo fixo */

/* Bandeira desenhada (substitui o emoji, que no Windows aparece como "BR") */
.bandeira-mini {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: -0.12em;
  border-radius: 2px;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.15), 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Anúncio em destaque (real) */
.anuncio-destaque {
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(22, 32, 50, 0) 45%), #162032;
  box-shadow: 0 18px 44px -22px rgba(245, 158, 11, 0.55);
}
.anuncio-destaque::before {
  content: "★ Destaque";
  color: #020617;
  background: linear-gradient(90deg, #f59e0b, #fde047);
  border: none;
  padding: 3px 8px;
  font-size: 10px;
}
.btn-site-ativo {
  flex: none;
  width: 100%;
  padding: 10px;
  font-size: 13px;
  cursor: pointer;
  user-select: auto;
  color: #020617;
  background: #f59e0b;
  border-color: #f59e0b;
}
.btn-site-ativo:hover { background: #fbbf24; }

/* "Por que entrar agora" ao lado do cadastro */
.motivo { display: flex; gap: 12px; align-items: flex-start; }
.motivo-icone {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px;
  background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.motivo strong { display: block; color: #fff; font-size: 14px; font-weight: 800; }
.motivo p { color: #94a3b8; font-size: 13px; line-height: 1.45; margin-top: 2px; }

/* Abas do cadastro: anunciar / procurar profissionais */
.cadastro-abas {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #0d1424; border: 1px solid #1e293b; border-radius: 12px;
  padding: 4px; margin-bottom: 20px;
}
.cadastro-abas button {
  font-size: 13px; font-weight: 800; color: #94a3b8;
  padding: 9px 6px; border-radius: 9px; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.cadastro-abas button:hover { color: #e2e8f0; }
#aba-anunciar[aria-selected="true"] { background: #f59e0b; color: #020617; }
#aba-cliente[aria-selected="true"] { background: #059669; color: #fff; }
@media (max-width: 380px) { .cadastro-abas button { font-size: 12px; padding: 9px 4px; } }

/* Parceiro fundador */
.tag-fundador {
  font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px;
  background: rgba(250, 204, 21, 0.15); color: #fde047; border: 1px solid rgba(250, 204, 21, 0.35);
}

/* Quem somos */
.quem-selo {
  position: relative; overflow: hidden; flex-shrink: 0;
  width: 76px; height: 76px; border-radius: 20px;
  background: #facc15;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 50px -20px rgba(250, 204, 21, 0.55), inset 0 0 0 3px rgba(255, 255, 255, 0.25);
  transform: rotate(-6deg);
}
.quem-selo span { color: #002776; font-weight: 900; font-size: 32px; letter-spacing: -1px; transform: rotate(6deg) translateY(-3px); }
.quem-selo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: #009C3B; }

/* WhatsApp flutuante */
.whatsapp-flutuante {
  position: fixed; right: 16px; bottom: 16px; z-index: 45;
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #052e16;
  font-weight: 800; font-size: 14px;
  padding: 12px 16px 12px 14px; border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s ease;
}
.whatsapp-flutuante[hidden] { display: none; }
.whatsapp-flutuante:hover { transform: translateY(-2px); }
.whatsapp-flutuante svg { width: 22px; height: 22px; }
@media (max-width: 480px) { .whatsapp-flutuante span { display: none; } .whatsapp-flutuante { padding: 13px; } }

/* Logo VK nas cores do Brasil: fundo amarelo, letras azuis e faixa verde */
.logo-vk {
  position: relative;
  overflow: hidden;
  background: #facc15;
  color: #002776;
  font-weight: 900;
  border: 1px solid #fde047;
  padding-bottom: calc(0.25rem + 3px);
  box-shadow: 0 4px 14px -6px rgba(250, 204, 21, 0.6);
}
.logo-vk::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 14%; min-height: 3px;
  background: #009C3B;
}

/* Formulário de anúncio */
.tipo-anuncio { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tipo-anuncio label { cursor: pointer; }
.tipo-anuncio input { position: absolute; opacity: 0; pointer-events: none; }
.tipo-anuncio span {
  display: block; border: 1px solid #334155; background: #0d1424; border-radius: 12px;
  padding: 10px 12px; transition: border-color 0.2s ease, background 0.2s ease;
}
.tipo-anuncio strong { display: block; color: #e2e8f0; font-size: 13px; font-weight: 800; }
.tipo-anuncio small { display: block; color: #94a3b8; font-size: 11px; margin-top: 1px; }
.tipo-anuncio input:checked + span { border-color: #f59e0b; background: rgba(245, 158, 11, 0.08); }
.tipo-anuncio input:focus-visible + span { outline: 2px solid #fbbf24; outline-offset: 2px; }
.logo-previa {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px;
  border: 1px dashed #475569; background: #0d1424 center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #64748b;
}
.avatar-logo { background: #fff center/cover no-repeat; }
.tag-verificando {
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: rgba(148, 163, 184, 0.12); color: #cbd5e1; border: 1px dashed #64748b;
}
.anuncio-real::before { content: none; }

/* Diretório e página do anúncio */
.btn-zap.hidden, .btn-link.hidden, .btn-zap[hidden], .btn-link[hidden] { display: none; } /* o estilo do botão não pode vencer o "esconder" */
a.btn-zap, a.btn-link { cursor: pointer; opacity: 1; user-select: auto; transition: filter 0.2s ease, transform 0.2s ease; }
a.btn-zap:hover, a.btn-link:hover { filter: brightness(1.08); transform: translateY(-1px); }
.anuncio-link { color: inherit; }
.anuncio-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; } /* card inteiro clicável */
.anuncio-real [data-contato] { position: relative; z-index: 2; } /* botões de contato continuam funcionando por cima */
.anuncio-real:has(.anuncio-link):hover { border-color: rgba(245, 158, 11, 0.45); }
.anuncio-real .anuncio-link:focus-visible { outline: none; }
.anuncio-real:has(.anuncio-link:focus-visible) { outline: 2px solid #fbbf24; outline-offset: 2px; }
.avatar-grande { width: 96px; height: 96px; border-radius: 24px; font-size: 34px; }
.bandeira-sutil {
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(22, 163, 74, 0.14), transparent 60%),
    radial-gradient(50% 100% at 0% 100%, rgba(250, 204, 21, 0.08), transparent 60%);
}
.pagina-anuncio { box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8); }

/* Janela da Política / Termos */
.modal-legal::backdrop {
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(4px);
}
.modal-legal[open] {
  animation: modal-entrar 0.25s ease-out;
}
@keyframes modal-entrar {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .modal-legal[open] { animation: none; }
}
#modal-legal-corpo h2 { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; }
#modal-legal-corpo ul { list-style: disc; padding-left: 1.25rem; margin-top: 0.5rem; }
#modal-legal-corpo li + li { margin-top: 0.25rem; }
#modal-legal-corpo code { color: #34d399; }
body.modal-aberto { overflow: hidden; }