/* =========================================================
   Brasil Mudanças — estilo principal (mobile-first)
   ========================================================= */
:root {
  --brand: #1a4fd6;
  --brand-dark: #12307a;
  --brand-darker: #0d2150;
  --accent: #ff7a1a;
  --accent-dark: #e8650a;
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --bg-soft2: #eef3ff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(18, 48, 122, .18);
  --container: 1180px;
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 4.4vw, 2.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.3rem, 3.2vw, 1.8rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.02rem, 2vw, 1.18rem); }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
strong { color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 40px 0; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; display: block; }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
.text-center { text-align: center; }
.lead { font-size: 1.02rem; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  padding: .62rem 1.2rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-align: center; line-height: 1.1; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 122, 26, .35); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(26, 79, 214, .3); }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--bg-soft); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: .8rem 1.5rem; font-size: .98rem; }
.btn-sm { padding: .48rem .95rem; font-size: .82rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.brand-logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.brand-logo:hover { color: var(--ink); }
.brand-logo .logo-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand-logo b { color: var(--brand); }
.brand-logo span.accent { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); font-weight: 500; font-size: .9rem; position: relative; }
.nav a:hover { color: var(--brand); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--brand); transition: width .25s; border-radius: 2px; }
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: .8rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px; border-radius: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav, .header-cta .btn-desktop { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: block; }
}
.mobile-menu {
  display: none; position: fixed; inset: 70px 0 0; background: #fff; z-index: 49;
  padding: 24px 20px 40px; overflow-y: auto; border-top: 1px solid var(--line);
  animation: fadeIn .2s ease;
}
.mobile-menu a { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu a:hover { color: var(--brand); }
.mobile-menu .btn { margin-top: 20px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(120% 120% at 80% -10%, #2a63ea 0%, var(--brand) 35%, var(--brand-dark) 75%, var(--brand-darker) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 32px; padding: 56px 0 64px; align-items: center; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.92); font-size: 1.02rem; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 18px 0 22px; }
.hero-badge { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: .35rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 500; }
.hero-badge svg { width: 16px; height: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 6px; }
.hero-illustration { position: relative; z-index: 2; }
.hero-illustration img { width: 100%; max-width: 540px; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(13, 33, 80, .4)); }

/* Hero em coluna única (sem ilustração) */
.hero-grid.solo { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; text-align: center; }
.hero-grid.solo .hero-badges, .hero-grid.solo .hero-actions { justify-content: center; }
.hero-grid.solo .hero-copy p { margin-left: auto; margin-right: auto; }
.hero-grid.solo .search-card { margin-left: auto; margin-right: auto; }
.local-hero-inner.solo { grid-template-columns: 1fr; }
.local-hero-inner.solo > div { max-width: 820px; }

/* ---------- Search box ---------- */
.search-card {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-lg); margin-top: 26px; max-width: 560px;
}
.search-card h3 { font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: .5rem; }
.search-card h3 svg { width: 22px; height: 22px; color: var(--brand); }
.search-fields { display: grid; grid-template-columns: 1fr; gap: 12px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field select {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: var(--font-body); color: var(--ink); background: #fff;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; cursor: pointer;
}
.field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26, 79, 214, .15); }
.field select:disabled { background-color: #f1f5f9; cursor: not-allowed; }
.search-card .btn { margin-top: 4px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .25s, border-color .2s;
  height: 100%; overflow-wrap: break-word;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0ff; }
.icon-badge {
  width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-soft2); color: var(--brand); margin-bottom: 16px;
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.accent { background: #fff1e6; color: var(--accent-dark); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }

/* benefits */
.benefit { display: flex; gap: 14px; align-items: flex-start; }
.benefit .icon-badge { margin-bottom: 0; width: 46px; height: 46px; flex: 0 0 auto; }
.benefit .icon-badge svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.benefit p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: 1fr; }
.step { position: relative; padding-left: 60px; }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff;
  font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.step p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

/* ---------- Cities section ---------- */
.cities-search { max-width: 480px; margin: 0 auto 30px; position: relative; }
.cities-search input {
  width: 100%; padding: .85rem 1rem .85rem 2.8rem; border: 1.5px solid var(--line);
  border-radius: 999px; font-size: 1rem; font-family: var(--font-body);
}
.cities-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26,79,214,.15); }
.cities-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.states-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.state-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.state-card h3 { font-size: 1.05rem; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.state-card h3 .uf-tag { font-size: .72rem; background: var(--bg-soft2); color: var(--brand); padding: .15rem .5rem; border-radius: 6px; font-family: var(--font-body); font-weight: 700; }
.city-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.city-links a {
  display: inline-block; padding: .35rem .75rem; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; font-size: .9rem; color: var(--body);
}
.city-links a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Blog cards ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .25s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 9; background: var(--bg-soft2); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-dark); margin-bottom: 8px; }
.post-card h3 { font-size: 1.04rem; margin-bottom: .5rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-meta { font-size: .82rem; color: var(--muted); margin-top: 10px; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.post-meta .chip { background: var(--bg-soft2); color: var(--brand); padding: .15rem .55rem; border-radius: 6px; font-weight: 600; }
.read-link { margin-top: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.read-link svg { width: 18px; height: 18px; transition: transform .2s; }
.post-card:hover .read-link svg { transform: translateX(3px); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .88rem; color: var(--muted); padding: 16px 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: .4rem; }
.breadcrumbs li:not(:last-child)::after { content: "›"; color: var(--line); font-weight: 700; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Local page ---------- */
.local-hero { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; position: relative; overflow: hidden; }
.local-hero::after { content: ""; position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3C/g%3E%3C/svg%3E"); }
.local-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; padding: 40px 0 50px; }
.local-hero h1 { color: #fff; }
.local-hero p { color: rgba(255,255,255,.92); max-width: 600px; }
.local-hero .hero-illustration img { max-width: 420px; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 18px 0; list-style: none; padding: 0; }
.pill-list li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: .4rem .85rem; border-radius: 999px; font-size: .88rem; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { color: var(--body); }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose .figure { margin: 1.6em 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.prose .figure img { width: 100%; }

.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.areas-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem 1rem; list-style: none; display: flex; align-items: center; gap: .5rem; font-size: .95rem; }
.areas-grid li svg { width: 18px; height: 18px; color: var(--brand); flex: 0 0 auto; }
.areas-grid.cols { padding: 0; margin: 0; }

/* info callout */
.callout { background: var(--bg-soft2); border: 1px solid #cfe0ff; border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 18px 20px; margin: 1.5em 0; }
.callout p { margin-bottom: 0; }
.callout strong { color: var(--brand-dark); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q:hover { color: var(--brand); }
.faq-q .chevron { width: 22px; height: 22px; flex: 0 0 auto; transition: transform .25s; color: var(--brand); }
.faq-item.open .faq-q .chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 20px; }
.faq-item.open .faq-a { max-height: 600px; padding: 0 20px 18px; }
.faq-a p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); color: #fff; border-radius: var(--radius); padding: 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.95); max-width: 620px; margin: 0 auto 22px; font-size: 1rem; }
.cta-band .btn-wa { box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* related */
.related-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.related-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; box-shadow: var(--shadow-sm); }
.related-card:hover { border-color: #cfe0ff; box-shadow: var(--shadow); }
.related-card .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--bg-soft2); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.related-card .ic svg { width: 22px; height: 22px; }
.related-card strong { display: block; color: var(--ink); font-size: .98rem; }
.related-card span { font-size: .85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-darker); color: #cdd7ee; padding: 56px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand .brand-logo { color: #fff; }
.footer-brand .brand-logo b { color: #fff; }
.footer-brand p { color: #9fb0d6; max-width: 320px; margin-top: 14px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #b8c4e2; }
.footer-col a:hover { color: #fff; }
.footer-states { columns: 2; column-gap: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; color: #8fa0c8; font-size: .88rem; }
.footer-bottom a { color: #b8c4e2; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37,211,102,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); opacity: .55; animation: pulse 2.2s infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 404 / generic page ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 40px 0; }
.page-hero h1 { margin-bottom: .3rem; }
.page-hero p { color: var(--muted); margin-bottom: 0; }
.error-wrap { text-align: center; padding: 70px 0; }
.error-wrap .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 16vw, 8rem); color: var(--brand); line-height: 1; letter-spacing: -.04em; }

/* utilities */
.mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.muted { color: var(--muted); }
.divider { height: 1px; background: var(--line); border: 0; margin: 36px 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { background: var(--bg-soft2); color: var(--brand); padding: .25rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-card .btn, .search-fields .field-full { grid-column: 1 / -1; }
  .states-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 880px) {
  .section { padding: 72px 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; padding: 70px 0 80px; }
  .local-hero-inner { grid-template-columns: 1.2fr .8fr; }
  .states-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .local-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
  .local-aside { position: sticky; top: 90px; }
}
.benefits-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }

/* aside card */
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.1rem; }
.aside-card .btn { margin-top: 8px; }
.aside-card ul { list-style: none; padding: 0; margin: 12px 0; }
.aside-card ul li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: .5rem; align-items: center; font-size: .95rem; }
.aside-card ul li:last-child { border-bottom: 0; }
.aside-card ul li svg { width: 18px; height: 18px; color: var(--wa); flex: 0 0 auto; }

@media print { .wa-float, .wa-fab, .wa-sticky, .nav-toggle, .mobile-menu { display: none !important; } }

/* =========================================================
   Logo real + marca d'água + CTAs de WhatsApp (overlays)
   ========================================================= */
.brand-logo .brand-img { height: 46px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo .brand-img { height: 38px; } }

/* marca d'água da logo no fundo dos heroes */
.hero::before, .local-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url("../img/logo-watermark.png") no-repeat;
  background-position: -40px bottom; background-size: 360px auto;
  opacity: .07; filter: blur(1.5px);
}
@media (min-width: 880px) {
  .hero::before, .local-hero::before { background-position: 30px center; background-size: 540px auto; opacity: .08; }
}

/* botão flutuante de WhatsApp (desktop) — pill persuasivo com overlays */
.wa-fab { position: fixed; right: 20px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-fab-bubble {
  position: relative; background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem;
  padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow); max-width: 230px;
  opacity: 0; transform: translateY(8px) scale(.96); transform-origin: bottom right;
  animation: waBubbleIn .5s ease 1.6s forwards, waBubbleFloat 3.5s ease-in-out 2.2s infinite;
}
.wa-fab-bubble b { color: var(--wa-dark); }
.wa-fab-bubble::after { content: ""; position: absolute; right: 26px; bottom: -7px; border: 7px solid transparent; border-top-color: #fff; }
.wa-fab-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; border-radius: 999px; padding: 11px 17px;
  font-family: var(--font-head); font-weight: 700; box-shadow: 0 12px 30px rgba(37, 211, 102, .5);
  transition: transform .2s, box-shadow .25s;
}
.wa-fab-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 42px rgba(37, 211, 102, .65); }
.wa-fab-btn svg { width: 24px; height: 24px; }
.wa-fab-btn::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--wa); opacity: .55; z-index: -1; animation: pulse 2.2s infinite; }
.wa-fab-text { white-space: nowrap; font-size: .9rem; }
.wa-fab-dot { position: absolute; top: 10px; right: 16px; width: 9px; height: 9px; border-radius: 50%; background: #b9ffce; box-shadow: 0 0 0 0 rgba(185, 255, 206, .8); animation: dotPulse 1.8s infinite; }
@keyframes waBubbleIn { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes waBubbleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(185, 255, 206, .7); } 70% { box-shadow: 0 0 0 8px rgba(185, 255, 206, 0); } 100% { box-shadow: 0 0 0 0 rgba(185, 255, 206, 0); } }

/* barra fixa de WhatsApp (mobile) */
.wa-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 10px 14px;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 26px rgba(15, 23, 42, .12);
}
.wa-sticky-info strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1rem; line-height: 1.2; }
.wa-sticky-info span { font-size: .8rem; color: var(--muted); }
.wa-sticky-btn {
  position: relative; display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto;
  background: var(--wa); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  padding: 11px 18px; border-radius: 999px; box-shadow: 0 8px 18px rgba(37, 211, 102, .45); overflow: hidden;
}
.wa-sticky-btn:hover { color: #fff; }
.wa-sticky-btn svg { width: 19px; height: 19px; }
.wa-sticky-btn::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--wa); opacity: .5; z-index: -1; animation: pulse 2.2s infinite; }

/* brilho deslizante nos botões de WhatsApp */
.btn-wa { position: relative; overflow: hidden; }
.btn-wa::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-wa:hover::after { left: 150%; }

/* footer com logo real */
.footer-logo { display: inline-flex; background: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.footer-logo img { height: 48px; width: auto; display: block; }

/* CTA band turbinada para WhatsApp */
.cta-band { position: relative; overflow: hidden; }
.cta-band-inner { position: relative; z-index: 2; }
.cta-glow { position: absolute; z-index: 1; width: 560px; height: 560px; border-radius: 50%; top: -260px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 70%); pointer-events: none; }
.cta-wa-ghost { position: absolute; z-index: 1; right: -34px; bottom: -54px; color: #fff; opacity: .16; pointer-events: none; }
.cta-wa-ghost svg { width: 250px; height: 250px; }
.cta-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35); color: #fff; padding: .4rem .95rem; border-radius: 999px; font-weight: 600; font-size: .85rem; margin-bottom: 14px; }
.cta-kicker svg { width: 18px; height: 18px; }
.cta-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: center; margin-top: 20px; }
.cta-trust span { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: .92rem; }
.cta-trust svg { width: 18px; height: 18px; }
.wa-cta { animation: waCtaPulse 2.4s infinite; }
@keyframes waCtaPulse { 0%, 100% { box-shadow: 0 10px 24px rgba(0, 0, 0, .18); } 50% { box-shadow: 0 16px 38px rgba(37, 211, 102, .75); } }

/* espaço para a barra fixa não cobrir o conteúdo no mobile */
@media (max-width: 879px) { body { padding-bottom: 74px; } .wa-fab { display: none; } }
@media (min-width: 880px) { .wa-sticky { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .wa-fab-bubble, .wa-fab-dot, .wa-cta, .wa-fab-btn::before, .wa-sticky-btn::before { animation: none; }
  .wa-fab-bubble { opacity: 1; transform: none; }
}
