/* =========================================================================
   v3 — cena de balões no hero, movimento com a rolagem, Instagram compacto,
   rodapé e balões proporcionais. Carregado depois de site-premium-v2.css.
   ========================================================================= */

/* ---------- Hero: cena de balões (canvas) ---------- */
.cinematic-hero { cursor: default; }
.cinematic-hero.sobre-balao { cursor: pointer; }
.hero-canvas { z-index: 0; }
.hero-hint {
  position: absolute; z-index: 3; right: clamp(16px, 4vw, 56px); bottom: 84px; margin: 0; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: var(--pm-ink); background: rgba(255, 255, 255, .65); border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: hintPulse 3s ease-in-out infinite; pointer-events: none;
}
.hero-hint i { color: var(--tema-primaria); }
@keyframes hintPulse { 50% { transform: translateY(-4px); } }
.hero-gradient-overlay { background: linear-gradient(95deg, rgba(250, 248, 251, .95) 0%, rgba(250, 248, 251, .78) 34%, rgba(250, 248, 251, 0) 62%); }
@media (max-width: 991.98px) {
  .hero-gradient-overlay { background: linear-gradient(180deg, rgba(250, 248, 251, .96) 0%, rgba(250, 248, 251, .8) 42%, rgba(250, 248, 251, 0) 78%); }
}

/* ---------- Balões da página: proporcionais e abaixo do herói ---------- */
.balloon { width: 4.4rem; height: 4.4rem; border-radius: 4.4rem 4.4rem 1.6rem 4.4rem; box-shadow: inset -.3rem -.3rem 1.6rem -.3rem rgba(183, 110, 121, .4), 1.4rem 1.4rem .9rem rgba(0, 0, 0, .04); }
.balloon-container.back .balloon { opacity: .5; }
.balloon-container.front .balloon { opacity: .3; }
.balloon-container.front { z-index: 19; }
.cta-section, footer#contato.site-footer { position: relative; z-index: 45 !important; }

/* ---------- Faixa de texto gigante (move com a rolagem) ---------- */
.scroll-band { overflow: hidden; padding: clamp(2rem, 5vw, 4rem) 0; background: var(--pm-bg); }
.scroll-band-row { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); width: max-content; will-change: transform; }
.scroll-band-row + .scroll-band-row { margin-top: .4rem; }
.scroll-band-row span { font: 600 clamp(3.2rem, 9vw, 7.5rem)/1.05 var(--pm-display); letter-spacing: -.04em; white-space: nowrap; color: var(--pm-ink); }
.scroll-band-row span.o { color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--tema-primaria) 55%, transparent); }
.scroll-band-row b { font-size: clamp(1.4rem, 3vw, 2.4rem); color: var(--tema-primaria); opacity: .6; font-weight: 400; }

/* ---------- Instagram: faixa compacta ---------- */
.ig-sec { padding-bottom: 0 !important; overflow: hidden; }
.ig-sec .section-heading { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.ig-sec .section-head, .ig-sec .section-lead { max-width: 34rem; }
.ig-strip { margin-top: 3rem; padding-bottom: clamp(3rem, 6vw, 5rem); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ig-strip-track { display: flex; width: max-content; gap: 14px; animation: igMarquee 60s linear infinite; }
.ig-strip:hover .ig-strip-track { animation-play-state: paused; }
.ig-strip .ig-tile { flex: none; width: clamp(130px, 14vw, 190px); height: clamp(130px, 14vw, 190px); border-radius: 22px; }
@keyframes igMarquee { to { transform: translateX(-50%); } }

/* ---------- Rodapé: mais compacto e proporcional ---------- */
footer#contato.site-footer { margin-top: 90px; }
.footer-cta { margin: -46px 0 2.4rem; padding: 1.4rem 2rem; border-radius: 26px; }
.footer-cta h3 { font-size: clamp(1.15rem, 2.2vw, 1.55rem); }
.footer-cta p { font-size: .92rem; }
.footer-cta-btn { padding: .8rem 1.5rem; font-size: .95rem; }
footer#contato .footer-marca img { height: 112px !important; margin: -24px 0 -18px -10px; }
.footer-sobre { font-size: .9rem; margin: .8rem 0 1.1rem; }
.footer-redes a { width: 40px; height: 40px; font-size: 1rem; }
footer.site-footer h6 { margin-bottom: 1rem; }
.footer-links { gap: .55rem; }
.footer-links a { font-size: .9rem; }
.footer-contato { gap: .8rem; }
.footer-contato li > span { width: 40px; height: 40px; }
.footer-base { margin-top: 2rem; padding-top: 1.1rem; }
.footer-topo { width: 40px; height: 40px; }
@media (max-width: 575.98px) { .footer-cta { padding: 1.3rem; margin-top: -40px; } }

/* ---------- Movimento ao rolar: suporte visual ---------- */
.cta-section { transform-origin: 50% 0; will-change: transform; }
#servicos .row, .processo-passos { will-change: transform; }
.mn-up #mainNav { translate: 0 -170%; }
#mainNav { transition: translate .45s cubic-bezier(.2, .8, .2, 1), background .3s ease, box-shadow .3s ease; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .hero-hint, .ig-strip-track { animation: none !important; }
}

/* Modais do site: título na fonte do sistema (igual ao painel) */
.modal-header .modal-title { font-family: var(--pm-body); }
