/* ==========================================================================
   CORE.CSS — Só o que é comum a todos os modelos
   (reset, faixa de demonstração, botão flutuante, animação de entrada)
   Todo o visual de cada segmento fica no style.css da pasta dele.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--fonte-texto, system-ui, sans-serif); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
body.sem-rolagem { overflow: hidden; }
[hidden] { display: none !important; }
.oculto-visual { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--primaria, #2563eb) 60%, transparent); outline-offset: 2px; }

/* ---------- Entrada suave ao rolar ---------- */
.revelar { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.revelar.visivel { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.core-whats {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
}
.core-whats:hover { transform: scale(1.07); }

/* ---------- Bloco de contatos (herda a cor do rodapé de cada modelo) ---------- */
.core-contatos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; flex-basis: 100%; width: 100%; padding: 12px 0; font-size: .92rem; }
.core-contatos a { display: inline-flex; align-items: center; gap: 6px; opacity: .9; text-decoration: none !important; }
.core-contatos a:hover { opacity: 1; text-decoration: underline !important; }

/* ---------- Faixa de demonstração (Nível Studio) ---------- */
.core-faixa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 48px 10px 16px; background: #0E1A36; color: #dfe4ee;
  font: 500 .84rem/1.4 system-ui, -apple-system, 'Segoe UI', sans-serif; text-align: center;
}
.core-faixa-marca { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; padding-right: 14px; border-right: 1px solid rgba(255,255,255,.18); }
.core-faixa-marca svg { width: 15px; height: 15px; }
.core-faixa-botao { background: #2BD17E; color: #05301a; font-weight: 700; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.core-faixa button { position: absolute; right: 12px; color: #8b94a8; font-size: 1.4rem; line-height: 1; }
body.com-faixa { padding-bottom: 56px; }
body.com-faixa .core-whats { bottom: 76px; }

@media (max-width: 640px) {
  .core-faixa { flex-direction: column; gap: 6px; font-size: .76rem; padding: 10px 40px; }
  .core-faixa-marca { border: 0; padding: 0; }
  body.com-faixa { padding-bottom: 124px; }
  body.com-faixa .core-whats { bottom: 142px; }
}
