/* Mobile-first presentation refinements for RB Marketing IA */
.brand { align-items: center; }
.brand img { width: 204px; height: auto; aspect-ratio: 1168 / 310; object-fit: contain; background: #f7f9fb; border-radius: 6px; padding: 3px 7px; }
.brand > span { display: none; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 20; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #061b14; background: #43e29a; box-shadow: 0 8px 25px #0006; }
.whatsapp-float:hover { transform: translateY(-2px); }
.whatsapp-float svg { width: 23px; height: 23px; }
/* Official platform marks are local assets; the card titles remain explicit. */
.solution-card .icon-box { background-repeat: no-repeat; background-position: center; background-size: 30px 30px; }
#solucoes .solution-card .icon-box svg { display: none; }
.solution-card:has(h3:nth-child(1)) .icon-box { }
.solution-card:has(h3:first-of-type) .icon-box { }
#solucoes .solution-card:nth-child(1) .icon-box { background-image: url('/assets/brand-google-ads.svg'); }
#solucoes .solution-card:nth-child(2) .icon-box { background-image: url('/assets/brand-instagram.svg'); }
#solucoes .solution-card:nth-child(3) .icon-box { background-image: url('/assets/brand-tag-manager.svg'); }
#solucoes .solution-card:nth-child(4) .icon-box { background-image: url('/assets/brand-meta.svg'); }
#solucoes .solution-card:nth-child(5) .icon-box { background-image: url('/assets/brand-facebook.svg'); }
#solucoes .solution-card:nth-child(6) .icon-box { background-image: url('/assets/brand-whatsapp.svg'); }
@media (max-width: 850px) {
  .header-inner { height: 68px; }
  .brand img { width: 170px; }
  .hero { padding-top: 34px; gap: 24px; }
  .hero h1 { max-width: 15ch; font-size: clamp(2.15rem, 9vw, 3.1rem); line-height: 1.08; }
  .hero-copy > p { margin-top: 18px; line-height: 1.6; }
  .buttons { margin-top: 22px; }
  .buttons .button { width: 100%; }
  .hero-mascot { width: min(100%, 210px); margin: 12px auto 0; }
  .hero-visual { padding-top: 4px; }
  .visual-caption { justify-content: center; }
  .floating-note { right: 5px; bottom: 3px; }
  .section-heading { margin-bottom: 26px; }
  .solution-card, .workflow li, .app-card { min-height: 0; }
  .solution-card p, .workflow p, .app-card p { line-height: 1.55; }
  .contact { margin-bottom: 42px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 9px; }
  .brand img { width: 151px; padding: 2px 5px; }
  .mobile-menu summary { padding: 8px 10px; }
  .hero { padding-block: 27px 38px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.6rem); }
  .capsule { white-space: nowrap; }
  .hero-legal { flex-wrap: wrap; gap: 6px 10px; }
  .dashboard, .panel-section .dashboard { padding: 13px; }
  .dash-toolbar > span { max-width: 100%; }
  .metrics > div { padding: 10px; }
  .metrics span, .metrics small { font-size: .6875rem; }
  .metrics strong, .hero .metrics strong { font-size: 1.3rem; }
  .solution-card { padding: 19px; }
  .workflow li { padding: 17px 14px; }
  .section { padding-block: 43px; }
  .section h2, .about h2 { font-size: clamp(1.7rem, 8vw, 2.35rem); line-height: 1.13; }
  .contact { padding: 23px 18px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 43px; height: 43px; }
}
