/* ===================================================================
   BM WEB MARKETING — DESIGN TOKENS
=================================================================== */
:root {
  --cream: #F8F7FF;
  --p900: #1E0A5E;
  --p800: #2D1B69;
  --p700: #4C1D95;
  --p600: #5B21B6;
  --p500: #7C3AED;
  --p400: #A78BFA;
  --p300: #C4B5FD;
  --p100: #EDE9FE;
  --p50: #F5F3FF;
  --o600: #C2410C;
  --o500: #EA580C;
  --o400: #F97316;
  --o300: #FDBA74;
  --o100: #FFF7ED;
  --s900: #0F172A;
  --s700: #334155;
  --s600: #475569;
  --s500: #64748B;
  --s400: #94A3B8;
  --s300: #CBD5E1;
  --s200: #E2E8F0;
  --s100: #F1F5F9;
  --s50: #F8FAFC;
  --white: #FFFFFF;
  --r: 16px;
  --rl: 26px;
  --rxl: 34px;
  --shadow: 0 4px 24px rgba(92, 33, 182, .12);
  --shadow-lg: 0 24px 70px rgba(30, 10, 94, .22);
  --shadow-o: 0 16px 40px rgba(234, 88, 12, .28);
  --ease: 0.35s cubic-bezier(.4, 0, .2, 1);
  --header-h: 88px;
  --grad-brand: linear-gradient(135deg, var(--p800) 0%, var(--p600) 50%, var(--p500) 75%, var(--o500) 130%);
  --grad-brand-soft: linear-gradient(135deg, var(--p50), var(--o100));
  --grad-text: linear-gradient(120deg, var(--p600), var(--o500));
}

/* ===================================================================
   RESET
=================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

body {
  font-family: 'Onest', sans-serif;
  background: var(--cream);
  color: var(--s900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* watermark decorativo "bm" — mesma pegada dos materiais em PDF */
.bm-watermark {
  position: absolute; font-family: 'Onest', sans-serif; font-weight: 800;
  line-height: 1; letter-spacing: -.05em; pointer-events: none; user-select: none;
  z-index: 0; white-space: nowrap;
}

/* ===================================================================
   PRELOADER
=================================================================== */
.bm-preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--grad-brand);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity .75s ease, filter .75s ease, transform .75s ease, visibility 0s linear .75s;
  will-change: opacity, filter, transform;
  backdrop-filter: blur(0px);
}
.bm-preloader.is-done { opacity: 0; filter: blur(26px); transform: scale(1.06); visibility: hidden; pointer-events: none; }
.bm-preloader-logo { width: 150px; opacity: 0; filter: brightness(0) invert(1); animation: preloaderIn .5s ease-out .1s forwards, preloaderPulse 2.2s ease-in-out .6s infinite; }
@keyframes preloaderIn { to { opacity: 1; } }
@keyframes preloaderPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.035); opacity: .85; } }
.bm-preloader-bar { width: 200px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.bm-preloader-fill { height: 100%; width: 0%; background: var(--o500); border-radius: 3px; animation: preloaderFill .9s cubic-bezier(.65,0,.35,1) .15s forwards; box-shadow: 0 0 14px rgba(234,88,12,.7); }
@keyframes preloaderFill { to { width: 100%; } }

/* ===================================================================
   BUTTONS
=================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; border-radius: 100px; font-weight: 700; font-size: 15px;
  transition: var(--ease); white-space: nowrap; position: relative;
}
.btn-primary { background: linear-gradient(135deg, var(--o500), var(--o600)); color: var(--white); box-shadow: var(--shadow-o); position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 20px 50px rgba(234,88,12,.38); }
.btn-ghost { background: rgba(255,255,255,.6); color: var(--p700); border: 1.5px solid var(--s200); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--p400); background: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--p700); box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.btn-white:hover { background: var(--p50); transform: translateY(-3px); }
.btn-lg { padding: 18px 32px; font-size: 16.5px; }

/* ===================================================================
   HEADER — flutua e inverte cor ao rolar (estilo Convertfly)
=================================================================== */
.bm-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--header-h);
  display: flex; align-items: center;
}
.bm-header-inner {
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 14px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 100px;
  background: rgba(255,255,255,.5); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 4px 24px rgba(30,10,94,.06);
  transition: background var(--ease), box-shadow var(--ease), margin var(--ease), padding var(--ease), width var(--ease), border-color var(--ease);
  margin-top: 20px !important;
}
.bm-header.scrolled { height: 78px; }
.bm-header.scrolled .bm-header-inner {
  background: rgba(255,255,255,.85); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 12px 40px rgba(30,10,94,.14); margin: 0 auto; width: calc(100% - 32px);
  max-width: 1180px; border: 1px solid rgba(255,255,255,.6);
}
.bm-brand { position: relative; display: block; height: 38px; }
.bm-brand-icon {
  position: absolute; left: 0; top: 0; height: 38px; width: auto;
  opacity: 0; transition: opacity .3s ease .15s, height var(--ease);
}
.bm-brand-full {
  position: relative; height: 38px; width: auto; display: block;
  clip-path: inset(0 0 0 0); -webkit-clip-path: inset(0 0 0 0);
  transition: clip-path .55s cubic-bezier(.65,0,.35,1), -webkit-clip-path .55s cubic-bezier(.65,0,.35,1), height var(--ease);
}
/* "Apaga" o logo completo da direita pra esquerda revelando só o "bm" por baixo */
.bm-header.scrolled .bm-brand-full { clip-path: inset(0 100% 0 0); -webkit-clip-path: inset(0 100% 0 0); height: 34px; }
.bm-header.scrolled .bm-brand-icon { opacity: 1; height: 34px; }
.bm-nav { display: flex; align-items: center; gap: 30px; }
.bm-nav-head { display: none; }
.bm-nav a { font-weight: 600; font-size: 15px; color: var(--s700); transition: var(--ease); position: relative; padding: 4px 0; }
.bm-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--grad-text); transition: width var(--ease); border-radius: 2px; }
.bm-nav a:hover { color: var(--p700); }
.bm-nav a:hover::after { width: 100%; }
.bm-header-actions { display: flex; align-items: center; gap: 14px; }
.bm-header-actions .btn-primary { padding: 12px 22px; font-size: 14px; }
.bm-burger { display: none; flex-direction: column; gap: 5px; width: 28px; }
.bm-burger span { height: 2px; width: 100%; background: var(--s900); border-radius: 2px; transition: var(--ease); }

@media (max-width: 900px) {
  .bm-header-inner {
    background: rgba(255,255,255,.9); backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(30,10,94,.08);
    border-radius: 22px; width: calc(100% - 32px); margin: 0 auto;
  }
  /* Dropdown glass logo abaixo do header — não é mais tela cheia.
     O próprio hamburguer já vira um X animado (linhas abaixo), então ele
     funciona como botão de abrir E fechar; não precisa de um X duplicado
     dentro do menu. */
  .bm-nav {
    position: fixed; top: calc(var(--header-h) + 10px); left: 16px; right: 16px;
    max-height: calc(100dvh - var(--header-h) - 26px); max-height: calc(100svh - var(--header-h) - 26px);
    display: flex; flex-direction: column; gap: 2px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255,255,255,.7); border-radius: 24px; box-shadow: var(--shadow-lg);
    padding: 10px 18px 18px; box-sizing: border-box; overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateY(-14px) scale(.97); opacity: 0; visibility: hidden;
    transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .3s ease, visibility 0s linear .35s;
    z-index: 499;
  }
  .bm-nav.open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .3s ease; }
  .bm-nav-head { display: none; }
  .bm-nav a { width: 100%; padding: 16px 4px; font-size: 18px; border-bottom: 1px solid rgba(15,23,42,.08); flex-shrink: 0; }
  .bm-nav a:last-child { border-bottom: none; }
  .bm-burger { display: flex; position: relative; z-index: 2; }
  .bm-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .bm-burger.open span:nth-child(2) { opacity: 0; }
  .bm-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .bm-header-actions .btn-primary span { display: none; }
  .bm-header-actions .btn-primary { padding: 12px 14px; }
}

/* ===================================================================
   HERO
=================================================================== */
.hero { position: relative; padding: calc(var(--header-h) + 64px) 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: -15% -10% auto -10%; height: 145%; z-index: -2;
  background:
    radial-gradient(50% 50% at 85% 6%, rgba(124,58,237,.32), transparent 70%),
    radial-gradient(42% 42% at 0% 30%, rgba(249,115,22,.24), transparent 70%),
    radial-gradient(45% 45% at 45% 95%, rgba(91,33,182,.16), transparent 70%),
    var(--cream);
}
.hero-watermark { top: -4%; left: -3%; font-size: clamp(220px, 32vw, 460px); color: var(--p900); opacity: .035; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; position: relative; z-index: 1; }

/* Efeito Apple: só o TEXTO/botões desvanecem ao rolar (a imagem não some —
   em telas pequenas sumir a imagem deixava a seção vazia). A imagem "respira"
   com um zoom vai-e-volta, sempre visível. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-copy { animation: heroCopyFade linear both; animation-timeline: scroll(root); animation-range: 0 55vh; }
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-visual { animation: scrollBreathe linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes heroCopyFade { to { opacity: .15; transform: translateY(-30px); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white); border: 1px solid var(--s200); border-radius: 100px;
  padding: 8px 18px 8px 9px; font-size: 13px; font-weight: 700; color: var(--p700);
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.eyebrow-badge { height: 22px; width: 22px; object-fit: contain; }
.eyebrow-plain { background: var(--p50); border-color: var(--p100); padding: 8px 18px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--o500); box-shadow: 0 0 0 4px var(--o100); }

.hero-copy h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; color: var(--p900); }
.hero-copy h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.script { font-family: 'Caveat', cursive; font-weight: 700; color: var(--o500); font-size: 1.3em; line-height: .7; display: inline-block; }
.hero-sub { margin-top: 22px; font-size: 18px; color: var(--s600); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 13.5px; color: var(--s500); font-weight: 600; }
.hero-trust-avatars { display: flex; }
.hero-trust-avatars img { width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid var(--white); object-fit: cover; margin-left: -10px; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.hero-trust-avatars img:first-child { margin-left: 0; }

.hero-visual { position: relative; height: 460px; }
.hero-card { position: absolute; border-radius: var(--rl); overflow: hidden; box-shadow: var(--shadow-lg); border: 7px solid var(--white); transition: box-shadow .4s, border-color .4s; }
/* Sombra/brilho no hover em vez de transform: os cards já têm animação de
   parallax/flutuação rodando em cima do transform — uma segunda animação de
   transform no mesmo elemento seria ignorada (CSS animation sempre vence
   transition na mesma propriedade). Foi assim que o parallax "sumiu" antes. */
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-1 { width: 60%; height: 84%; top: 0; right: 0; }
.hero-card-2 { width: 38%; height: 56%; bottom: 0; left: 0; }
.hero-card-3 { width: 38%; height: 36%; top: 4%; left: 4%; }
.hero-card-2 img, .hero-card-3 img { animation: floatY 5.5s ease-in-out infinite; }
.hero-card-3 img { animation-name: floatY; animation-duration: 6.5s; animation-direction: reverse; }

/* Scroll-driven parallax nativo (CSS puro, sem lib, sem JS de scroll).
   Fica no elemento WRAPPER (.hero-card-N), enquanto a flutuação contínua
   fica na <img> de dentro — assim as duas animações não brigam pela mesma
   propriedade transform no mesmo elemento (é por isso que não aparecia antes).
   Sem suporte (Safari/Firefox mais antigos) os cards ficam parados no lugar
   de origem: nunca quebra, só deixa de ganhar o efeito extra. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-card-1 { animation: heroParallax1 linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero-card-2 { animation: heroParallax2 linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero-card-3 { animation: heroParallax3 linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero-watermark { animation: heroWatermarkParallax linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
}
@keyframes heroParallax1 { to { transform: translateY(-80px); } }
@keyframes heroParallax2 { to { transform: translateY(50px); } }
@keyframes heroParallax3 { to { transform: translateY(-40px); } }
@keyframes heroWatermarkParallax { to { transform: translateY(70px); } }

/* Mesma técnica pra imagens grandes ganharem profundidade ao entrar na tela
   (estilo "scroll controla a cena"), sempre com fallback estático. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about-visual img {
      animation: scrollZoomIn linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
  }
}
@keyframes scrollZoomIn { from { transform: scale(1.14); } to { transform: scale(1); } }

/* "Respira" ao passar pela tela: cresce ao entrar, volta ao normal ao sair —
   liga à posição de rolagem (view timeline), não a um scroll listener em JS. */
@keyframes scrollBreathe { 0% { transform: scale(.88); } 50% { transform: scale(1.16); } 100% { transform: scale(.88); } }
/* .services-acc-visual img / .vid-frame img,iframe: zoom controlado via JS
   (ver "ZOOM NO SCROLL" em main.js) — garante funcionamento em qualquer
   navegador, sem depender de animation-timeline: view(). */
.hero-badge-float {
  position: absolute; bottom: 8%; right: -4%; background: var(--white); border-radius: 18px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; animation: floatY 5s ease-in-out infinite 1s;
}
.hero-badge-float strong { display: block; font-size: 18px; color: var(--p900); }
.hero-badge-float span { font-size: 11.5px; color: var(--s500); }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; margin-top: 14px; }
  .hero { padding-top: calc(var(--header-h) + 34px); }
  .hero-badge-float { display: none; }
  .hero-copy { text-align: center; }
  .hero-copy .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-copy .hero-cta { justify-content: center; }
  .hero-copy .hero-trust { justify-content: center; }
  .hero-copy .eyebrow { margin-left: auto; margin-right: auto; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* ===================================================================
   STATS
=================================================================== */
.stats { position: relative; padding: 34px 0; background: var(--grad-brand); overflow: hidden; }
.stats-watermark { top: -30%; right: -4%; font-size: clamp(160px, 22vw, 320px); color: var(--white); opacity: .05; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; position: relative; z-index: 1; }
.stat-item strong { display: block; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; color: var(--white); background: linear-gradient(120deg, #fff, var(--o500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item span { display: block; margin-top: 7px; font-size: 13px; color: var(--p200, var(--p100)); line-height: 1.35; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================================================================
   LOGOS MARQUEE
=================================================================== */
.logos-section { position: relative; padding: 40px 0 48px; background: var(--white); overflow: hidden; }
.logos-title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s500); margin-bottom: 32px; }
.marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marqueeScroll 36s linear infinite; will-change: transform; }
.marquee-swatch {
  width: 150px; height: 150px; flex-shrink: 0; border-radius: 18px;
  background: var(--white); border: 1px solid var(--s200);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.marquee-swatch:hover { border-color: var(--p300, var(--p400)); box-shadow: var(--shadow); transform: translateY(-3px); }
.marquee-swatch img { width: 100%; height: 100%; object-fit: contain; opacity: .85; filter: grayscale(1); transition: opacity .25s, filter .25s; }
.marquee-swatch:hover img { opacity: 1; filter: grayscale(0); }
@media (max-width: 640px) { .marquee-swatch { width: 110px; height: 110px; padding: 16px; border-radius: 14px; } .marquee-track { gap: 16px; } }
.marquee-track img:hover { opacity: 1; filter: grayscale(0); transform: scale(1.06); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================================================================
   ABOUT TEASER
=================================================================== */
.about-teaser { position: relative; padding: 100px 0; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.about-visual { position: relative; border-radius: var(--rxl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-visual-contain { background: var(--p900); aspect-ratio: 3/4; }
.about-visual-contain img { object-fit: cover; object-position: top center; aspect-ratio: 3/4; }
.about-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(30,10,94,.55)); }
.about-visual-tag { position: absolute; left: 20px; bottom: 20px; z-index: 2; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); }
.about-visual-tag strong { display: block; color: var(--p900); font-size: 15px; }
.about-visual-tag span { font-size: 12px; color: var(--s500); }
.about-copy h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; color: var(--p900); margin: 16px 0 20px; line-height: 1.18; letter-spacing: -.02em; }
.about-copy p { color: var(--s600); font-size: 16.5px; max-width: 540px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; max-width: 540px; }
.about-point { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--s700); }
.about-point svg { flex-shrink: 0; color: var(--o500); margin-top: 1px; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; font-weight: 700; color: var(--o500); transition: var(--ease); }
.link-arrow span { transition: transform var(--ease); display: inline-flex; }
a:hover .link-arrow span, .link-arrow:hover span { transform: translateX(5px); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-visual { order: -1; aspect-ratio: 16/10; } .about-visual img { aspect-ratio: 16/10; } .about-points { grid-template-columns: 1fr; } }

/* ===================================================================
   SERVICES
=================================================================== */
.services { position: relative; padding: 30px 0 100px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; position: relative; z-index: 1; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; color: var(--p900); margin-top: 16px; line-height: 1.2; letter-spacing: -.02em; }
.section-head p { margin-top: 14px; color: var(--s600); font-size: 16px; }

.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-card {
  display: block; position: relative; background: var(--white); border: 1px solid var(--s200); border-radius: var(--rxl);
  overflow: hidden; transition: var(--ease); isolation: isolate;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: var(--grad-text); opacity: 0; transition: var(--ease);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-card-lg { display: grid; grid-template-columns: 1fr 1fr; }
.service-media { position: relative; min-height: 240px; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 45%, rgba(30,10,94,.5)); }
.service-tag { position: absolute; bottom: 16px; left: 16px; z-index: 1; background: rgba(255,255,255,.92); color: var(--p800); font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 100px; backdrop-filter: blur(4px); }
.service-body { padding: 34px; display: flex; flex-direction: column; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad-brand-soft); color: var(--p600); margin-bottom: 18px; box-shadow: inset 0 0 0 1px rgba(124,58,237,.12); }
.service-body h3 { font-size: 22px; font-weight: 800; color: var(--p900); margin-bottom: 11px; letter-spacing: -.01em; }
.service-body p { color: var(--s600); font-size: 15px; margin-bottom: 16px; flex-grow: 1; }
.service-bullets li { position: relative; padding-left: 22px; font-size: 14px; color: var(--s700); margin-bottom: 9px; font-weight: 500; }
.service-bullets li::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-text); }
.service-bullets { margin-bottom: 18px; }
.service-card-sm .service-body { padding: 30px; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card-lg { grid-template-columns: 1fr; }
}

/* ---- HERO CENTRALIZADO (páginas internas com introdução diferenciada) ---- */
.hero-centered { text-align: center; }
.hero-centered h1 { margin-left: auto; margin-right: auto; }
.hero-centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero-centered .hero-cta { justify-content: center; }

/* ---- CARROSSEL INFINITO DE IMAGENS GRANDES ---- */
.media-marquee-section { padding: 20px 0 90px; overflow: hidden; }
.media-marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.media-marquee-track { display: flex; gap: 22px; width: max-content; animation: marqueeScroll 42s linear infinite; will-change: transform; }
.media-marquee-track img { width: 320px; height: 400px; object-fit: cover; border-radius: var(--rl); box-shadow: var(--shadow-lg); flex-shrink: 0; }
@media (max-width: 640px) { .media-marquee-track img { width: 220px; height: 280px; } .media-marquee-track { gap: 14px; } }

/* ---- TIME (Quem Somos) ---- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.team-card { background: var(--white); border: 1px solid var(--s200); border-radius: var(--rl); padding: 32px; transition: var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; color: var(--white); background: var(--grad-text); margin-bottom: 18px;
}
.team-avatar-photo { width: 72px; height: 72px; object-fit: cover; }
.team-card h3 { font-size: 19px; font-weight: 800; color: var(--p900); }
.team-role { display: block; font-size: 13px; font-weight: 700; color: var(--o500); margin: 4px 0 14px; }
.team-card p { color: var(--s600); font-size: 15px; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }

/* ---- PACOTES (páginas internas) ---- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.pkg-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .pkg-grid-3 { grid-template-columns: 1fr; } }
.pkg-card {
  background: var(--white); border: 1px solid var(--s200); border-radius: var(--rl);
  padding: 32px; transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--p200, var(--p100)); }
.pkg-tag {
  display: inline-flex; align-items: center; background: var(--p50); color: var(--p700); font-weight: 700;
  font-size: 12.5px; padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.pkg-card h3 { font-size: 21px; font-weight: 800; color: var(--p900); margin-bottom: 10px; }
.pkg-card p { color: var(--s600); font-size: 15px; margin-bottom: 16px; }
.pkg-card-highlight { background: linear-gradient(160deg, var(--p900), var(--p700)); border-color: transparent; position: relative; }
.pkg-card-highlight::before { content: ''; position: absolute; inset: 0; border-radius: var(--rl); overflow: hidden; background: radial-gradient(60% 60% at 100% 0%, rgba(249,115,22,.25), transparent 70%); pointer-events: none; }
.pkg-card-highlight h3, .pkg-card-highlight p { color: var(--white); position: relative; z-index: 1; }
.pkg-card-highlight .service-bullets { position: relative; z-index: 1; }
.pkg-card-highlight .service-bullets li { color: var(--p100); }
.pkg-tag-highlight { background: var(--o500); color: var(--white); }
.pkg-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--o500); color: var(--white); font-size: 12px; font-weight: 800;
  padding: 7px 18px; border-radius: 100px; box-shadow: var(--shadow-o); white-space: nowrap;
}
.pkg-card-highlight { padding-top: 40px; }
.pkg-more-note {
  grid-column: 1 / -1; text-align: center; background: var(--p50); border: 1px dashed var(--p300);
  border-radius: var(--r); padding: 22px 24px; color: var(--s700); font-size: 15px; margin-top: 26px;
}
.pkg-more-note strong { color: var(--p900); }
@media (max-width: 760px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .pkg-grid-2 { grid-template-columns: 1fr; } }

/* ---- PORTFÓLIO (grid de mockups) ---- */
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.portfolio-item {
  border-radius: var(--r); overflow: hidden; background: var(--white); border: 1px solid var(--p100);
  box-shadow: var(--shadow-sm); transition: var(--ease); aspect-ratio: 1/1; cursor: zoom-in;
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.portfolio-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.portfolio-item:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* Variante "flutuante": imagens já têm fundo branco embutido (mockups de
   dispositivo), então a seção some atrás delas — sem card, sem borda. */
.portfolio-grid-float .portfolio-item { background: none; border: none; box-shadow: none; aspect-ratio: auto; }
.portfolio-grid-float .portfolio-item img { object-fit: contain; transition: transform .4s ease; }
.portfolio-grid-float .portfolio-item:hover { box-shadow: none; transform: translateY(-6px); }
.portfolio-grid-float .portfolio-item:hover img { transform: scale(1.03); }

/* ---- LIGHTBOX ---- */
.bm-lightbox {
  position: fixed; inset: 0; z-index: 900; background: rgba(15,10,30,.92);
  display: flex; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
}
.bm-lightbox.open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.bm-lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.bm-lightbox-close {
  position: absolute; top: 22px; right: 28px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: var(--white); font-size: 26px; display: flex;
  align-items: center; justify-content: center; cursor: pointer; border: 1px solid rgba(255,255,255,.2);
}
.bm-lightbox-close:hover { background: rgba(255,255,255,.22); }

/* ---- HOSPEDAGEM (Sites) ---- */
.hosting-section { padding: 90px 0; background: var(--gray-50); overflow: hidden; }
.hosting-grid { display: grid; grid-template-columns: .8fr 1.1fr; gap: 56px; align-items: center; }
.hosting-visual { max-width: 320px; margin: 0 auto; filter: drop-shadow(0 24px 50px rgba(76,29,149,.25)); }
.hosting-copy h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--p900); margin: 14px 0 16px; }
.hosting-copy p { color: var(--s600); font-size: 16px; margin-bottom: 18px; max-width: 520px; }
.hosting-copy .service-bullets { margin-bottom: 26px; }
@media (max-width: 860px) {
  .hosting-grid { grid-template-columns: 1fr; text-align: center; }
  .hosting-copy p { margin-left: auto; margin-right: auto; }
  .hosting-copy .service-bullets { display: inline-block; text-align: left; }
  .hosting-visual { max-width: 220px; }
}

/* ---- PORTFÓLIO ESTILO LOJAVIRTUALBM (carrossel) ---- */
.port-sec { padding: 90px 0; background: var(--gray-50); overflow: hidden; }
.port-wrapper { margin-top: 40px; width: 100%; overflow: hidden; position: relative; }
.port-track { display: flex; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; gap: 24px; padding: 4px 24px 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.port-track::-webkit-scrollbar { display: none; }
.port-card { width: 300px; height: 400px; border-radius: var(--rl); position: relative; overflow: hidden; flex-shrink: 0; box-shadow: 0 10px 30px rgba(0,0,0,.1); background: var(--s200, #eee); scroll-snap-align: center; }
.port-bg { width: 100%; height: 100%; background-size: 100% auto; background-position: top center; background-repeat: no-repeat; transition: background-position 3s cubic-bezier(.2,.8,.2,1); }
@media (min-width: 993px) { .port-card:hover .port-bg { background-position: center 30%; } }
.port-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,.95) 0%, rgba(15,23,42,.1) 60%, transparent 100%);
  opacity: 0; transition: opacity .4s ease; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; pointer-events: none;
}
.port-card:hover .port-overlay { opacity: 1; pointer-events: all; }
.port-badge {
  align-self: flex-start; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(4px);
  color: var(--white); padding: 6px 14px; border-radius: 50px; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 12px; transform: translateY(10px); transition: transform .4s ease;
}
.port-badge.next { background: #0F172A; color: #38BDF8; border-color: #38BDF8; }
.port-name { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 6px; transform: translateY(10px); transition: transform .4s ease .05s; }
.port-cat { font-size: 13px; color: rgba(255,255,255,.8); font-weight: 500; transform: translateY(10px); transition: transform .4s ease .1s; }
.port-card:hover .port-badge, .port-card:hover .port-name, .port-card:hover .port-cat { transform: translateY(0); }
.port-controls { display: flex; gap: 12px; justify-content: center; margin-top: 8px; }
.port-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--s200); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--s700); transition: var(--ease); }
.port-btn:hover { border-color: var(--p500, var(--p700)); color: var(--p700); box-shadow: var(--shadow-sm); }
@media (max-width: 640px) { .port-card { width: 240px; height: 330px; } }

/* ---- CONTATO ---- */
.contact-info-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px;
}
.contact-info-item {
  display: flex; align-items: center; gap: 14px; background: var(--white);
  border: 1px solid var(--p100); border-radius: var(--r); padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.contact-info-item svg { flex-shrink: 0; color: var(--o500); }
.contact-info-item div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-info-item span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--s500); }
.contact-info-item a { color: var(--p900); font-weight: 700; font-size: 15px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-info-item a[href]:hover { color: var(--o500); }
.contact-map-wrap {
  width: 100%; height: 560px; border-radius: var(--rxl); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--p100);
}
@media (max-width: 900px) {
  .contact-info-row { grid-template-columns: repeat(2, 1fr); }
  .contact-map-wrap { height: 420px; }
}
@media (max-width: 560px) {
  .contact-info-row { grid-template-columns: 1fr; }
  .contact-map-wrap { height: 340px; }
}

/* ---- ACORDEÃO VERTICAL DE SERVIÇOS ---- */
.services-acc { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: center; }
.services-acc-visual { position: relative; aspect-ratio: 4/5; border-radius: var(--rxl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--p900); }
.services-acc-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .55s ease, transform .7s ease;
}
.services-acc-visual img.is-active { opacity: 1; transform: scale(1); }
.services-acc-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(30,10,94,.55)); pointer-events: none; }

.services-acc-list { display: flex; flex-direction: column; }
.services-acc-item {
  border-bottom: 1px solid var(--s200); border-radius: 14px;
  transition: background var(--ease), padding var(--ease), opacity .6s ease, transform .6s cubic-bezier(.4,0,.2,1);
  opacity: 0; transform: translateX(-16px);
}
.services-acc.visible .services-acc-item { opacity: 1; transform: translateX(0); }
.services-acc-item:nth-child(1) { transition-delay: .05s; }
.services-acc-item:nth-child(2) { transition-delay: .15s; }
.services-acc-item:nth-child(3) { transition-delay: .25s; }
.services-acc-item:nth-child(4) { transition-delay: .35s; }
.services-acc-item:first-child { border-top: 1px solid var(--s200); }
.services-acc-item:hover { background: var(--p50); padding-left: 6px; }
.services-acc-head { width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 4px; text-align: left; cursor: pointer; }
.services-acc-item:hover .services-acc-title { color: var(--p700); }
.services-acc-item:hover .services-acc-plus { background: var(--p100); color: var(--p700); transform: scale(1.08); }
.services-acc-num { font-size: 13px; font-weight: 800; color: var(--p300); }
.services-acc-title { flex-grow: 1; font-size: 19px; font-weight: 800; color: var(--s700); transition: color var(--ease); }
.services-acc-plus { width: 32px; height: 32px; border-radius: 50%; background: var(--p50); color: var(--p600); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; transition: var(--ease); }
.services-acc-item.is-open .services-acc-title { color: var(--p900); }
.services-acc-item.is-open .services-acc-plus { background: var(--grad-text); color: var(--white); transform: rotate(135deg); }
.services-acc-body { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.4,0,.2,1); }
.services-acc-item.is-open .services-acc-body { max-height: 300px; }
.services-acc-body p { color: var(--s600); font-size: 15px; padding: 0 4px 6px; max-width: 460px; }
.services-acc-body .service-bullets { padding: 0 4px; margin-top: 8px; }
.services-acc-body .link-arrow { margin: 14px 4px 22px; }

@media (max-width: 900px) {
  .services-acc { grid-template-columns: 1fr; gap: 28px; }
  .services-acc-visual { aspect-ratio: 16/11; }
}

/* ===================================================================
   TESTIMONIALS (vídeo)
=================================================================== */
.testimonials { position: relative; padding: 100px 0 76px; background: var(--grad-brand); color: var(--white); overflow: hidden; }
.testimonials-watermark { bottom: -14%; left: -3%; font-size: clamp(180px, 26vw, 380px); color: var(--white); opacity: .045; }
.testimonials .section-head .eyebrow-plain { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); color: var(--white); }
.testimonials .section-head h2 { color: var(--white); max-width: none; }
.testimonials .section-head { max-width: 680px; }
.testimonials .section-head p { color: var(--p200, var(--p100)); }

.vid-carousel { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 4px; margin-top: 10px; z-index: 1; max-width: 1180px; margin-left: auto; margin-right: auto; }
.vid-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 20px; scrollbar-width: none; justify-content: safe center; }
.vid-track::-webkit-scrollbar { display: none; }
.vid-slide { flex: 0 0 240px; scroll-snap-align: center; opacity: .5; transform: scale(.92); transition: var(--ease); cursor: pointer; }
.vid-slide:hover { opacity: .85; transform: scale(.96); }
.vid-slide.is-center:hover { transform: scale(1.03); }
@media (min-width: 860px) { .vid-slide { flex-basis: 255px; } }
.vid-slide.is-center { opacity: 1; transform: scale(1); }
.vid-frame { position: relative; width: 100%; aspect-ratio: 9/16; border-radius: 22px; overflow: hidden; background: var(--s900); box-shadow: var(--shadow-lg); }
.vid-facade { position: relative; width: 100%; height: 100%; cursor: pointer; }
.vid-facade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.5), transparent 40%); }
.vid-facade img { width: 100%; height: 100%; object-fit: cover; }
.vid-play-btn { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.95); border-radius: 50%; color: var(--o500); z-index: 1; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: var(--ease); }
.vid-facade:hover .vid-play-btn { transform: scale(1.1); }
.vid-play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.vid-info { padding: 14px 4px 0; }
.vid-name { font-weight: 700; margin-bottom: 5px; }
.insta-proof { display: flex; align-items: center; gap: 8px; }
.insta-avatar-wrapper { position: relative; width: 30px; height: 30px; flex-shrink: 0; }
.insta-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.insta-avatar-ring { position: absolute; inset: -2px; border-radius: 50%; background: linear-gradient(45deg, var(--o500), var(--p400)); z-index: -1; }
.insta-handle-row { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; }
.insta-followers { font-size: 12px; color: var(--p300); }

.vid-nav { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); font-size: 22px; display: flex; align-items: center; justify-content: center; transition: var(--ease); border: 1px solid rgba(255,255,255,.14); }
.vid-nav:hover { background: rgba(255,255,255,.2); transform: scale(1.06); }
.vid-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; position: relative; z-index: 1; }
.vid-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); transition: var(--ease); }
.vid-dot.active { background: var(--o500); width: 22px; border-radius: 4px; }

.testimonials-more { text-align: center; margin-top: 40px; color: var(--p200, var(--p100)); font-size: 14.5px; position: relative; z-index: 1; }
.testimonials-more a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ===================================================================
   FAQ
=================================================================== */
.faq { padding: 100px 0 20px; }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 56px; align-items: start; }
.faq-grid .section-head { text-align: left; margin: 0; }
.faq-item { border-bottom: 1px solid var(--s200); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 4px; text-align: left; font-weight: 700; font-size: 16.5px; color: var(--p900); gap: 16px; }
.faq-q .faq-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--p50); color: var(--p600); display: flex; align-items: center; justify-content: center; transition: var(--ease); }
.faq-item.open .faq-q .faq-icon { background: var(--grad-text); color: var(--white); transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--ease); }
.faq-a p { padding: 0 4px 22px; color: var(--s600); font-size: 15px; max-width: 560px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   CTA FINAL
=================================================================== */
.cta-final { padding: 90px 0; position: relative; }
.cta-final-inner {
  position: relative; background: var(--grad-brand); border-radius: var(--rxl); padding: 70px 44px; text-align: center; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-final-watermark { top: -26%; right: -6%; font-size: clamp(180px, 24vw, 340px); color: var(--white); opacity: .06; }
.cta-final-inner h2 { position: relative; z-index: 1; color: var(--white); font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; max-width: 680px; margin: 0 auto 16px; letter-spacing: -.02em; }
.cta-final-inner p { position: relative; z-index: 1; color: var(--p200, var(--p100)); margin-bottom: 30px; font-size: 16.5px; }
.cta-final-inner .btn-actions { position: relative; z-index: 1; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================================================================
   FOOTER
=================================================================== */
.bm-footer {
  position: relative; color: var(--p100); padding: 76px 0 0; overflow: hidden;
  background:
    radial-gradient(60% 70% at 15% 0%, rgba(124,58,237,.35), transparent 60%),
    radial-gradient(50% 60% at 100% 10%, rgba(234,88,12,.16), transparent 65%),
    linear-gradient(180deg, var(--p900), #150742 60%, #0f0530);
}
.footer-nuvem-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: var(--p100);
  font-size: 13px; font-weight: 700; padding: 10px 16px; border-radius: 100px;
}
.footer-nuvem-badge svg { color: var(--o500); flex-shrink: 0; }
.footer-nuvem-badge img { height: 16px; filter: brightness(0) invert(1); opacity: .9; }
.bm-signature {
  background: linear-gradient(180deg, #0f0530, #0a031f);
  padding: 50px 20px 60px; text-align: center; overflow: hidden; margin-top: -1px;
}
.bm-signature-logo { width: min(900px, 80vw); margin: 0 auto; filter: brightness(0) invert(1); opacity: .1; }
.footer-top { display: grid; grid-template-columns: 1.3fr .8fr .8fr .95fr; gap: 44px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1; }
.footer-logo { height: 46px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: var(--p300); line-height: 1.7; margin-bottom: 16px; max-width: 280px; }
.footer-badges { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.footer-badge { height: 44px; background: rgba(255,255,255,.06); border-radius: 12px; padding: 8px 12px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: var(--ease); border: 1px solid rgba(255,255,255,.1); }
.footer-social a:hover { background: var(--grad-text); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-size: 13.5px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { color: var(--p300); font-size: 14.5px; transition: var(--ease); }
.footer-col a:hover { color: var(--o500); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--p300); }
.footer-contact-item svg { flex-shrink: 0; color: var(--o500); margin-top: 2px; }
.footer-bottom { padding: 26px 0; position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 13px; color: var(--p400); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: var(--p400); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 6px; } .footer-brand { margin-bottom: 20px; } .footer-bottom { flex-direction: column; text-align: center; } }
.footer-col-body { display: contents; }
@media (max-width: 560px) {
  .footer-col:not(.footer-brand) h4 {
    cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .footer-col:not(.footer-brand) h4::after { content: '+'; font-size: 18px; font-weight: 400; transition: transform .3s ease; }
  .footer-col.is-open h4::after { transform: rotate(45deg); }
  .footer-col-body { display: flex; flex-direction: column; gap: 13px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
  .footer-col.is-open .footer-col-body { max-height: 400px; padding: 14px 0 4px; }
}

/* ===================================================================
   WHATSAPP FLUTUANTE
=================================================================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 400;
  width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #25D366, #1DA851); color: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(37,211,102,.42);
  transition: transform var(--ease);
}
.wa-float:hover { transform: scale(1.1) rotate(-4deg); }

/* ===================================================================
   MODAL FORM — premium, com degradê e glass
=================================================================== */
.modal-bg {
  position: fixed; inset: 0; z-index: 800; background: rgba(15,8,40,.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.modal-bg.on { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white); border-radius: var(--rxl); width: 100%; max-width: 480px; max-height: 92vh;
  overflow-y: auto; position: relative;
  transform: translateY(20px) scale(.97); transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 40px 100px rgba(15,8,40,.45);
}
.modal-bg.on .modal-box { transform: translateY(0) scale(1); }
.modal-head {
  background: var(--grad-brand); padding: 30px 30px 46px; position: relative; overflow: hidden;
}
.modal-head-watermark { top: -22%; right: -8%; font-size: 220px; color: var(--white); opacity: .12; }
.modal-head-title { position: relative; z-index: 1; color: var(--white); font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.modal-head p { position: relative; z-index: 1; color: var(--p100); font-size: 14px; font-weight: 600; }
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 20px; color: var(--white); display: flex; align-items: center; justify-content: center; transition: var(--ease); }
.modal-close:hover { background: rgba(255,255,255,.28); }

.bm-form { padding: 0 30px 32px; }
.bm-progress { height: 5px; border-radius: 4px; background: var(--s100); overflow: hidden; margin: -22px 0 28px; box-shadow: 0 2px 10px rgba(0,0,0,.08); position: relative; z-index: 1; }
.bm-progress-bar { height: 100%; width: 14%; background: linear-gradient(90deg, var(--o500), var(--o500)); border-radius: 4px; transition: width .4s ease; }

.bm-step-panel { display: none; animation: stepIn .35s ease; }
.bm-step-panel.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.bm-step-panel h3 { font-size: 21px; font-weight: 800; color: var(--p900); margin-bottom: 20px; letter-spacing: -.01em; }

.bm-form input[type="text"], .bm-form input[type="tel"], .bm-form input[type="email"] {
  width: 100%; padding: 15px 18px; border: 1.5px solid var(--s200); border-radius: 14px; font-size: 15px;
  margin-bottom: 12px; transition: var(--ease); font-family: inherit; background: var(--s50);
}
.bm-form input:focus { outline: none; border-color: var(--p500); background: var(--white); box-shadow: 0 0 0 4px var(--p100); }
.bm-form .btn { width: 100%; margin-top: 8px; }
.bm-form .bm-btn-back { margin-top: 10px; display: none; background: transparent; color: var(--s500); font-weight: 600; padding: 10px; }
.bm-form .bm-btn-back:hover { color: var(--p700); }

.options-grid { display: flex; flex-direction: column; gap: 11px; margin-bottom: 6px; }
.opt-btn {
  text-align: left; padding: 16px 18px; border: 1.5px solid var(--s200); border-radius: 14px; font-weight: 700;
  color: var(--s700); transition: var(--ease); background: var(--white); position: relative;
}
.opt-btn:hover { border-color: var(--p400); background: var(--p50); transform: translateX(3px); }
.opt-btn.sel { border-color: var(--p500); background: linear-gradient(135deg, var(--p50), var(--o100)); color: var(--p800); box-shadow: 0 0 0 3px var(--p100); }

.bm-whats-wrap { position: relative; }
.bm-whats-pais { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--s500); pointer-events: none; font-weight: 600; }
/* Especificidade maior de propósito: ".bm-form input[type=tel]" (classe+atributo+elemento)
   tinha mais peso que ".bm-whats-wrap .i-whats" (duas classes) e vencia, zerando o padding-left
   — o texto do campo nascia por baixo do "+55". */
.bm-form .bm-whats-wrap input.i-whats { padding-left: 72px; }
.bm-confere { display: none; background: linear-gradient(135deg, var(--p50), var(--o100)); border-radius: 12px; padding: 12px 16px; margin: -2px 0 12px; font-size: 13px; border: 1px solid var(--p100); }
.bm-confere-rot { color: var(--s600); display: block; margin-bottom: 3px; }
.bm-confere-num { font-size: 19px; color: var(--p700); font-weight: 700; }

/* ===================================================================
   SCROLL REVEAL
=================================================================== */
.animate-in { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.4,0,.2,1); }
.animate-in.visible { opacity: 1; transform: translateY(0); }
