/* Sócio Digital · base comum dos modelos */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
template { display: none; }

/* Entrada ao rolar */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--atraso, 0s); }
.rv.vis { opacity: 1; transform: none; }

/* Botão flutuante de WhatsApp */
.zap-flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.zap-flutuante:hover { transform: scale(1.08); }
.zap-flutuante svg { width: 30px; height: 30px; }

/* Mapa sob demanda */
.mapa-botao {
  width: 100%; min-height: 240px; border: 0; border-radius: inherit; display: grid; place-items: center; gap: 8px; padding: 24px; text-align: center;
  background: repeating-linear-gradient(45deg, rgba(127, 127, 127, .06) 0 12px, transparent 12px 24px);
}
.mapa-botao b { display: block; font-size: 15px; }
.mapa-botao span { font-size: 13px; opacity: .7; }
iframe { width: 100%; min-height: 280px; border: 0; display: block; border-radius: inherit; }

/* Política de privacidade */
.privacidade { max-width: 560px; width: calc(100% - 32px); border: 0; border-radius: 18px; padding: 30px; font: 15px/1.6 system-ui, sans-serif; color: #1b1b1b; }
.privacidade::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); }
.privacidade h2 { font-size: 22px; margin-bottom: 12px; }
.privacidade p + p { margin-top: 10px; }
.privacidade form { position: absolute; top: 10px; right: 10px; }
.privacidade-fechar { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #f1f1f1; font-size: 22px; line-height: 1; }

/* Crédito discreto */
.credito { font-size: 12px; opacity: .55; text-decoration: none; }
.credito:hover { opacity: .9; }

/* Barra do modo demonstração (?demo) */
.demo-barra {
  position: fixed; left: 50%; bottom: 20px; z-index: 70; transform: translateX(-50%); display: flex; align-items: center; gap: 6px;
  padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(13, 13, 15, .92); backdrop-filter: blur(10px); color: #fff;
  font: 500 13.5px/1 system-ui, sans-serif; white-space: nowrap; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6);
}
.demo-barra span { margin-right: 8px; opacity: .8; }
.demo-barra b { font-weight: 700; opacity: 1; }
.demo-barra a { padding: 10px 14px; border-radius: 999px; text-decoration: none; }
.demo-barra a:hover { background: rgba(255, 255, 255, .12); }
.demo-barra .demo-acao { background: #6c3cff; font-weight: 700; }
.demo-barra .demo-acao:hover { background: #7d52ff; }
.demo-celular-botao { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 0; border-radius: 999px; background: none; color: #fff; font: inherit; }
.demo-celular-botao:hover { background: rgba(255, 255, 255, .12); }
.demo-celular-botao svg { width: 16px; height: 16px; }
/* Visualização no celular */
.demo-celular { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; align-content: center; gap: 14px; background: rgba(9, 9, 11, .72); backdrop-filter: blur(8px); animation: demoEntra .35s ease-out; }
.demo-celular[hidden] { display: none; }
.demo-aparelho { width: 410px; height: 868px; padding: 10px; border-radius: 56px; background: #111; box-shadow: 0 0 0 2px #2a2a2e, 0 50px 100px -30px rgba(0, 0, 0, .8); transform: scale(var(--escala, 1)); margin: calc((var(--escala, 1) - 1) * 434px) 0; }
.demo-aparelho iframe { width: 390px; height: 848px; min-height: 0; border: 0; border-radius: 46px; background: #fff; }
.demo-celular p { color: rgba(255, 255, 255, .75); font: 500 14px/1 system-ui, sans-serif; }
.demo-celular-fechar { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; }
.demo-celular-fechar:hover { background: rgba(255, 255, 255, .24); }
@keyframes demoEntra { from { opacity: 0; } }
@media (max-width: 640px) {
  .demo-celular-botao { display: none; }
  .demo-barra { left: 12px; right: 90px; bottom: 20px; transform: none; padding: 5px; justify-content: space-between; }
  .demo-barra span { display: none; }
  .demo-barra a { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
}
