/* Guia da rede credenciada odontologica Hapvida - clickplanosdesaude.com.br
   Folha de estilo unica para o guia (pagina principal, estados e cidades).
   Mesmo visual do guia original, sem depender do Tailwind via CDN. */

:root {
  --blue: #002D72;
  --blue-light: #0A3F94;
  --blue-dark: #001a42;
  --orange: #F4511E;
  --orange-dark: #CC4400;
  --gold: #FBBF24;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --bg: #FAFAFA;
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #4b5563;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --line: #e5e7eb;
  --line-2: #f3f4f6;
  --blue-50: #eff6ff;
  --radius: 16px;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--ink);
  overflow-x: hidden; -webkit-font-smoothing: antialiased; line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); margin: 0; line-height: 1.2; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
.i { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
.i-o { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--blue); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.wrap-md { max-width: 1152px; margin: 0 auto; padding: 0 16px; }
.wrap-sm { max-width: 960px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap, .wrap-md, .wrap-sm { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap, .wrap-md, .wrap-sm { padding: 0 32px; } }

/* ---------- Topo ---------- */
.topo { background: var(--blue); position: relative; z-index: 40; }
.topo::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), #FF8A65, var(--orange)); background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
.topo .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marca img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.marca-txt { display: none; border-left: 1px solid rgba(255,255,255,.2); padding-left: 12px; }
.marca-txt b { display: block; color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.marca-txt span { color: rgba(255,255,255,.8); font-size: 12px; }
@media (min-width: 640px) { .marca-txt { display: block; } }
.topo-acoes { display: flex; align-items: center; gap: 12px; }
.topo-fone { display: none; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-size: 14px; font-weight: 500; text-decoration: none; }
.topo-fone:hover { color: #fff; }
.topo-fone .i { width: 20px; height: 20px; color: var(--wa); }
@media (min-width: 768px) { .topo-fone { display: flex; } }
.btn-cot {
  background: var(--orange); color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 14px;
  text-decoration: none; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); transition: all .3s; white-space: nowrap;
}
.btn-cot:hover { background: #fff; color: var(--orange); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blue); padding: 48px 0 128px; overflow: hidden; text-align: center; }
@media (min-width: 1024px) { .hero { padding: 80px 0 160px; } }
.hero-sub { padding: 32px 0 120px; }
@media (min-width: 1024px) { .hero-sub { padding: 48px 0 140px; } }
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; width: 384px; height: 384px; border-radius: 50%; filter: blur(64px); mix-blend-mode: multiply; animation: blob 7s infinite; }
.blob-1 { top: -10%; left: -10%; background: var(--blue-light); opacity: .5; }
.blob-2 { top: 20%; right: -10%; background: var(--orange-dark); opacity: .3; animation-delay: 2s; }
.hero .wrap { position: relative; z-index: 10; }
.hero h1 { font-size: 36px; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 24px; }
@media (min-width: 768px) { .hero h1 { font-size: 48px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 72px; } }
.hero-sub h1 { font-size: 30px; margin-bottom: 16px; }
@media (min-width: 768px) { .hero-sub h1 { font-size: 40px; } }
@media (min-width: 1024px) { .hero-sub h1 { font-size: 52px; } }
.grad { background: linear-gradient(90deg, var(--orange), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 672px; margin: 16px auto 0; font-size: 18px; color: #dbeafe; font-weight: 500; }
@media (min-width: 768px) { .hero-lead { font-size: 20px; } }
.hero-sub .hero-lead { max-width: 760px; font-size: 17px; }
@media (min-width: 768px) { .hero-sub .hero-lead { font-size: 19px; } }
.stats { margin-top: 32px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
@media (min-width: 640px) { .stats { gap: 24px; } }
.stat { background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 12px 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,.2); color: #fff; }
.stat b { display: block; font-family: var(--font-head); font-size: 24px; font-weight: 700; }
.stat span { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.migalhas { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; font-size: 13px; color: rgba(255,255,255,.7); }
.migalhas li + li::before { content: '›'; margin-right: 6px; color: rgba(255,255,255,.45); }
.migalhas a { color: rgba(255,255,255,.85); text-decoration: none; }
.migalhas a:hover { color: #fff; text-decoration: underline; }
.hero-share { margin-top: 28px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-share-hero {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--blue); border: 0; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; box-shadow: 0 10px 25px -8px rgba(0,0,0,.35); transition: transform .2s;
}
.btn-share-hero:hover { transform: translateY(-1px); }
.btn-share-hero .i { width: 18px; height: 18px; }

/* ---------- Filtros ---------- */
.filtros-box { position: relative; z-index: 20; margin-top: -80px; }
.glass {
  background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.3); border-radius: 16px; padding: 16px;
  box-shadow: 0 20px 50px -12px rgba(0,45,114,.15);
}
@media (min-width: 768px) { .glass { padding: 24px; } }
.campos { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .campos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .campos { grid-template-columns: repeat(4, 1fr); } .campos-5 { grid-template-columns: repeat(5, 1fr); } }
.campo label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 4px 4px; }
.campo select, .campo input {
  width: 100%; background: #fff; border: 1px solid var(--line); color: #1f2937; border-radius: 12px; padding: 14px 16px;
  outline: none; transition: all .2s; font-weight: 500; font-size: 15px; min-height: 52px;
}
.campo select:focus, .campo input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,45,114,.2); }
.campo select {
  -webkit-appearance: none; appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.2em;
}
.campo select:disabled { background-color: #f9fafb; color: var(--muted-2); }
.busca { position: relative; }
.busca input { padding-left: 44px; }
.busca .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted-2); }
.acoes-filtro { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.contagem { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.contagem strong { color: var(--ink); }
.botoes { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-s {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 8px;
  cursor: pointer; transition: all .2s; border: 1px solid transparent; background: none; text-decoration: none; min-height: 40px;
}
.btn-s .i { width: 16px; height: 16px; }
.btn-share { background: var(--blue); color: #fff; }
.btn-share:hover { background: var(--blue-light); }
.btn-pdf { color: var(--blue); border-color: rgba(0,45,114,.2); }
.btn-pdf:hover { background: var(--blue-50); }
.btn-limpar { color: var(--orange); }
.btn-limpar:hover { background: #fff7ed; color: var(--orange-dark); }

/* ---------- Resultados ---------- */
.principal { max-width: 1280px; margin: 0 auto; padding: 64px 16px; min-height: 400px; }
@media (min-width: 640px) { .principal { padding: 64px 24px; } }
@media (min-width: 1024px) { .principal { padding: 64px 32px; } }
.inicial { text-align: center; padding: 80px 0; display: flex; flex-direction: column; align-items: center; }
.inicial-ico { width: 96px; height: 96px; background: var(--blue-50); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--blue); }
.inicial-ico .i { width: 48px; height: 48px; stroke-width: 1.5; }
.inicial h2 { font-size: 24px; font-weight: 700; color: #1f2937; margin-bottom: 12px; }
@media (min-width: 768px) { .inicial h2 { font-size: 30px; } }
.inicial p { color: var(--muted); max-width: 448px; font-size: 18px; }
.inicial strong { color: var(--blue); }
.aviso { background: #fff; border: 1px dashed #cbd5e1; border-radius: 16px; padding: 20px; color: var(--ink-3); text-align: center; margin: 0 0 32px; }
.carregando { text-align: center; padding: 48px 0; color: var(--muted); font-weight: 600; }
.carregando::before { content: ''; display: block; width: 36px; height: 36px; margin: 0 auto 14px; border-radius: 50%; border: 4px solid #dbeafe; border-top-color: var(--blue); animation: gira 1s linear infinite; }

.lista-titulo { font-size: 26px; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
@media (min-width: 768px) { .lista-titulo { font-size: 32px; } }
.lista-sub { color: var(--muted); margin-bottom: 36px; font-size: 16px; }
.grupo { margin-bottom: 48px; }
.grupo-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 12px; flex-wrap: wrap; }
.grupo-cab h2, .grupo-cab h3 { font-size: 24px; font-weight: 700; color: var(--blue); }
.grupo-cab h3 { font-size: 21px; }
.grupo-cab h2 small, .grupo-cab h3 small { color: var(--muted-2); font-weight: 500; font-size: 18px; }
.grupo-cab a.ver-cidade { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--orange-dark); text-decoration: none; }
.grupo-cab a.ver-cidade:hover { text-decoration: underline; }
.pill { background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 20px; display: flex; flex-direction: column;
  height: 100%; position: relative; overflow: hidden; transition: all .3s; scroll-margin-top: 24px;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--orange); transform: translateX(-100%); transition: transform .3s; }
.card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); border-color: rgba(0,45,114,.3); }
.card:hover::before { transform: translateX(0); }
.card:target { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold); }
.card-corpo { flex-grow: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { display: inline-block; background: var(--blue-50); color: var(--blue); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; border-radius: 4px; }
.tag-q { background: #fef3c7; color: #92400e; }
.tag-24 { background: #fee2e2; color: #991b1b; }
.card h3, .card h4 { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.25; margin-bottom: 4px; font-family: var(--font-body); }
.card-razao { font-size: 12px; color: var(--muted-2); margin-bottom: 8px; }
.card-end { font-size: 14px; color: var(--ink-3); margin: 8px 0 4px; line-height: 1.6; }
.card-end .bairro { color: var(--muted); }
.card-ref { display: block; font-size: 12px; color: var(--muted-2); margin-top: 4px; }
.card-mapa { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--blue-light); text-decoration: none; margin-bottom: 14px; }
.card-mapa:hover { text-decoration: underline; }
.card-mapa .i { width: 14px; height: 14px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.specs span { background: var(--line-2); color: var(--ink-3); font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); }
.specs .sem { background: none; border: 0; color: var(--muted-2); font-style: italic; padding: 0; }
.card-acoes { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); flex-direction: column; }
@media (min-width: 640px) { .card-acoes { flex-direction: row; flex-wrap: wrap; } }
.btn-tel, .btn-wa {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 12px; border-radius: 8px;
  font-size: 12px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; min-height: 40px; white-space: nowrap;
}
.btn-tel { border: 2px solid var(--blue); color: var(--blue); }
.btn-tel:hover { background: var(--blue); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-tel .i, .btn-wa .i { width: 16px; height: 16px; }
.sem-tel { font-size: 14px; color: var(--muted-2); font-style: italic; }
.card-share {
  margin-top: 10px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  color: var(--muted); font-size: 13px; font-weight: 600; padding: 6px 0;
}
.card-share:hover { color: var(--blue); }
.card-share .i { width: 15px; height: 15px; }
.mais { display: flex; justify-content: center; margin-top: 8px; }
.btn-mais { background: #fff; border: 2px solid var(--blue); color: var(--blue); padding: 12px 24px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.btn-mais:hover { background: var(--blue); color: #fff; }
.vazio { text-align: center; padding: 64px 0; }
.vazio-ico { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--line-2); color: var(--muted-2); margin-bottom: 16px; }
.vazio-ico .i { width: 32px; height: 32px; }
.vazio h3 { font-size: 20px; font-weight: 700; color: #1f2937; margin-bottom: 8px; }
.vazio p { color: var(--muted); }

/* ---------- Blocos de conteudo (cidade / estado) ---------- */
.sec { padding: 56px 0; border-top: 1px solid var(--line); background: #fff; }
.sec-alt { background: #F4F7FB; }
.sec h2 { font-size: 26px; font-weight: 800; color: var(--blue); margin-bottom: 16px; }
@media (min-width: 768px) { .sec h2 { font-size: 32px; } }
.sec h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 28px 0 10px; }
.olho { color: var(--orange-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; margin-bottom: 8px; display: block; }
.texto p { color: var(--ink-2); font-size: 16px; line-height: 1.75; margin-bottom: 16px; max-width: 820px; }
.texto p:last-child { margin-bottom: 0; }
.texto a { color: var(--blue-light); font-weight: 600; }
.numeros { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
@media (min-width: 768px) { .numeros { grid-template-columns: repeat(4, 1fr); } }
.numero { background: #F4F7FB; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; }
.sec-alt .numero { background: #fff; }
.numero b { display: block; font-family: var(--font-head); font-size: 28px; color: var(--blue); font-weight: 800; }
.numero span { font-size: 13px; color: var(--muted); }
.tabela-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; max-width: 820px; }
table.tabela { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabela th, .tabela td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.tabela th { background: #F8FAFC; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.tabela td.n { text-align: right; font-weight: 700; color: var(--blue); white-space: nowrap; }
.tabela th.n { text-align: right; }
.tabela tr:last-child td { border-bottom: 0; }
.tabela a { color: var(--blue-light); font-weight: 600; text-decoration: none; }
.tabela a:hover { text-decoration: underline; }
.barra { display: inline-block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--orange), var(--gold)); vertical-align: middle; margin-left: 8px; }
.faq { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.sec-alt .faq details { background: #fff; }
.faq summary { cursor: pointer; padding: 18px 48px 18px 20px; font-weight: 700; color: var(--ink); list-style: none; position: relative; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--orange); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq .resp { padding: 0 20px 18px; color: var(--ink-2); line-height: 1.7; }
.faq .resp a { color: var(--blue-light); font-weight: 600; }
.links-cidades { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.links-cidades a {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; transition: all .2s;
}
.links-cidades a:hover { border-color: var(--blue); color: var(--blue); box-shadow: 0 6px 16px -8px rgba(0,45,114,.3); }
.links-cidades small { color: var(--muted); font-weight: 500; font-size: 13px; white-space: nowrap; }
.links-estados { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.cta-cidade {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; border-radius: 24px; padding: 32px;
  display: grid; gap: 20px; align-items: center; box-shadow: 0 20px 50px -12px rgba(0,45,114,.5);
}
@media (min-width: 900px) { .cta-cidade { grid-template-columns: 1.4fr 1fr; padding: 40px; } }
.cta-cidade h2 { color: #fff; margin-bottom: 10px; }
.cta-cidade p { color: #dbeafe; line-height: 1.7; }
.cta-cidade .preco { color: var(--gold); font-weight: 800; }
.cta-botoes { display: flex; flex-direction: column; gap: 12px; }
.btn-grande { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 20px; border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; text-align: center; transition: all .2s; }
.btn-grande .i { width: 22px; height: 22px; }
.btn-grande-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 20px -8px rgba(37,211,102,.5); }
.btn-grande-wa:hover { background: var(--wa-dark); }
.btn-grande-sec { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-grande-sec:hover { background: rgba(255,255,255,.18); }
.nota { font-size: 13px; color: var(--muted); margin-top: 18px; max-width: 820px; line-height: 1.6; }

/* ---------- Precos (pagina principal) ---------- */
.precos { padding: 64px 0; background: #fff; position: relative; border-top: 1px solid var(--line-2); }
@media (min-width: 768px) { .precos { padding: 96px 0; } }
.precos-cab { text-align: center; margin-bottom: 64px; }
.precos-cab .olho { color: var(--orange); font-size: 14px; }
.precos-cab h2 { font-size: 30px; font-weight: 800; color: var(--blue); margin-bottom: 16px; }
@media (min-width: 768px) { .precos-cab h2 { font-size: 36px; } }
.precos-cab p { color: var(--muted); max-width: 672px; margin: 0 auto; font-size: 18px; }
.planos { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 1024px; margin: 0 auto; align-items: center; }
@media (min-width: 768px) { .planos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .planos { gap: 48px; } }
.plano { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); display: flex; flex-direction: column; height: 100%; position: relative; overflow: hidden; transition: box-shadow .3s; }
.plano:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); }
.plano::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--blue); }
.plano-dest { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); border-color: rgba(255,255,255,.1); box-shadow: 0 20px 50px -12px rgba(0,45,114,.5); }
@media (min-width: 768px) { .plano-dest { transform: translateY(-16px); } }
.plano-dest::before { display: none; }
.plano h3 { font-size: 24px; font-weight: 700; color: var(--ink); }
.plano-dest h3 { color: #fff; }
.plano-pub { color: var(--muted); margin-top: 4px; }
.plano-dest .plano-pub { color: #bfdbfe; }
.plano-valor { display: flex; align-items: baseline; margin-top: 24px; color: var(--ink); }
.plano-dest .plano-valor { color: #fff; }
.plano-valor .rs { font-size: 30px; font-weight: 700; }
.plano-valor .v { font-size: 48px; font-weight: 800; letter-spacing: -.02em; }
.plano-dest .plano-valor .v { font-size: 60px; }
.plano-valor .m { font-size: 20px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plano-dest .plano-valor .m { color: #bfdbfe; }
.selo { margin-top: 8px; display: inline-block; background: var(--blue-50); color: var(--blue); font-weight: 600; font-size: 14px; padding: 4px 12px; border-radius: 999px; }
.plano-dest .selo { background: rgba(255,255,255,.1); color: var(--gold); border: 1px solid rgba(255,255,255,.2); }
.oferta { position: absolute; top: 24px; right: 24px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 6px 12px; border-radius: 999px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.2); }
.plano ul { list-style: none; padding: 0; margin: 32px 0; flex: 1; color: var(--ink-3); display: grid; gap: 16px; }
.plano-dest ul { color: #dbeafe; margin-bottom: 24px; }
.plano li { display: flex; gap: 12px; }
.plano li .i { width: 24px; height: 24px; color: var(--blue); }
.plano-dest li .i { color: var(--orange); }
.plano-obs { font-size: 12px; color: rgba(147,197,253,.8); margin-bottom: 24px; font-style: italic; }
.btn-plano { display: block; width: 100%; text-align: center; padding: 16px; border-radius: 12px; font-weight: 700; text-decoration: none; margin-top: auto; transition: all .2s; background: var(--blue); color: #fff; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.btn-plano:hover { background: var(--blue-light); }
.plano-dest .btn-plano { background: var(--orange); font-size: 18px; box-shadow: 0 10px 15px -3px rgba(244,81,30,.3); }
.plano-dest .btn-plano:hover { background: var(--orange-dark); }

/* ---------- Consultor ---------- */
.consultor { background: #F4F7FB; padding: 64px 0; border-top: 1px solid var(--line); }
.consultor-grid { display: flex; flex-direction: column; align-items: center; gap: 40px; }
@media (min-width: 1024px) { .consultor-grid { flex-direction: row; gap: 64px; } }
.perfil { width: 100%; background: #fff; border-radius: 2rem; padding: 32px; box-shadow: 0 15px 40px -10px rgba(0,0,0,.08); border: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; transition: transform .3s; }
.perfil:hover { transform: scale(1.01); }
@media (min-width: 1024px) { .perfil { width: 41.666%; flex-shrink: 0; } }
.perfil img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); margin-bottom: 20px; }
.perfil h3 { font-size: 24px; font-weight: 800; color: var(--blue); margin-bottom: 4px; }
.perfil-cargo { color: var(--orange); font-weight: 700; font-size: 14px; letter-spacing: .025em; margin-bottom: 24px; text-align: center; }
.btn-insta { background: var(--blue); color: #fff; padding: 12px 28px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; margin-bottom: 32px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.btn-insta:hover { background: var(--blue-light); }
.btn-insta .i { width: 20px; height: 20px; }
.perfil-info { width: 100%; display: grid; gap: 16px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.perfil-info div { display: flex; align-items: flex-start; gap: 12px; }
.perfil-info .i { width: 20px; height: 20px; color: var(--orange); margin-top: 2px; }
.consultor-txt { width: 100%; }
.consultor-txt h2 { color: var(--orange-dark); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; margin-bottom: 16px; font-family: var(--font-body); }
.consultor-txt .texto p { font-size: 16px; line-height: 1.7; margin-bottom: 20px; }
.btn-wa-grande { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--wa); color: #fff; padding: 16px 32px; border-radius: 12px; font-weight: 700; font-size: 18px; text-decoration: none; box-shadow: 0 10px 15px -3px rgba(37,211,102,.3); margin-top: 12px; }
.btn-wa-grande:hover { background: var(--wa-dark); }
.btn-wa-grande .i { width: 24px; height: 24px; }

.mini { display: grid; gap: 20px; align-items: center; background: #fff; border-radius: 24px; padding: 24px; border: 1px solid var(--line-2); box-shadow: 0 15px 40px -10px rgba(0,0,0,.08); }
@media (min-width: 900px) { .mini { grid-template-columns: auto 1fr auto; padding: 28px 32px; } }
.mini img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.mini-nome { font-size: 22px; font-weight: 800; color: var(--blue); margin-bottom: 2px; }
.mini .perfil-cargo { margin-bottom: 8px; text-align: left; }
.mini-txt p:last-child { color: var(--ink-3); font-size: 15px; }
.mini-botoes { display: flex; flex-direction: column; gap: 10px; }
.mini-botoes .btn-wa-grande { margin-top: 0; font-size: 16px; padding: 14px 22px; }
.mini-botoes .btn-insta { margin-bottom: 0; justify-content: center; }

/* ---------- Rodape ---------- */
.rodape { background: #0A1628; padding: 80px 0 32px; color: var(--muted-2); border-top: 4px solid var(--orange); }
.rod-grid { display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 64px; }
@media (min-width: 768px) { .rod-grid { grid-template-columns: 5fr 3fr 4fr; } }
@media (min-width: 1024px) { .rod-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } }
.rodape img.logo { height: 48px; width: auto; margin-bottom: 24px; filter: brightness(0) invert(1); }
.rodape p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.rodape h4 { color: #fff; font-weight: 700; margin-bottom: 20px; letter-spacing: .025em; text-transform: uppercase; font-size: 14px; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; font-size: 14px; }
.rodape .rot { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 4px; }
.rodape .val { color: #e5e7eb; font-weight: 500; }
.rodape nav a { display: block; color: #d1d5db; text-decoration: none; font-size: 14px; padding: 4px 0; }
.rodape nav a:hover { color: #fff; }
.selo-rod { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.selo-rod span.ico { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.selo-rod .i { width: 16px; height: 16px; }
.rod-wa { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.05); padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.05); text-decoration: none; transition: background .2s; margin-top: 16px; }
.rod-wa:hover { background: rgba(255,255,255,.1); }
.rod-wa .bola { width: 48px; height: 48px; background: var(--wa); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.rod-wa .bola .i { width: 24px; height: 24px; }
.rod-wa small { display: block; font-size: 12px; color: var(--muted-2); }
.rod-wa strong { color: #fff; font-size: 18px; }
.rod-fim { border-top: 1px solid rgba(255,255,255,.1); padding-top: 32px; font-size: 12px; }
.rod-fim p { font-size: 12px; margin-bottom: 8px; }

/* ---------- Flutuante, toast e compartilhar ---------- */
.flutuante { position: fixed; bottom: 24px; right: 24px; z-index: 50; background: var(--wa); color: #fff; padding: 16px; border-radius: 50%; box-shadow: 0 4px 14px 0 rgba(37,211,102,.39); transition: transform .2s; display: flex; }
.flutuante:hover { transform: scale(1.1); background: var(--wa-dark); }
.flutuante .i { width: 32px; height: 32px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: #111827; color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 14px; z-index: 90; opacity: 0; pointer-events: none; transition: all .25s; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.folha-fundo { position: fixed; inset: 0; background: rgba(0,26,66,.55); z-index: 80; display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
@media (min-width: 640px) { .folha-fundo { align-items: center; } }
.folha { background: #fff; border-radius: 20px; padding: 24px; width: 100%; max-width: 420px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.4); }
.folha h2 { font-size: 20px; color: var(--blue); margin-bottom: 6px; }
.folha p { color: var(--muted); font-size: 14px; margin-bottom: 18px; word-break: break-word; }
.folha-link { display: flex; gap: 8px; margin-bottom: 14px; }
.folha-link input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--ink-3); background: #f9fafb; }
.folha-opcoes { display: grid; gap: 10px; }
.folha-opcoes a, .folha-opcoes button { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 0; }
.op-wa { background: var(--wa); color: #fff; }
.op-copiar { background: var(--blue); color: #fff; }
.op-fb { background: #1877F2; color: #fff; }
.op-fechar { background: var(--line-2) !important; color: var(--ink-3); }
.folha-opcoes .i { width: 20px; height: 20px; }

.marca-dagua { display: none; }

@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -50px) scale(1.1); } 66% { transform: translate(-20px, 20px) scale(.9); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes gira { to { transform: rotate(360deg); } }
.anim { animation: fadeInUp .6s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ---------- PDF / impressao (sem cortes e com marca d'agua fixa) ---------- */
@media print {
  @page { margin: 1.5cm 1cm 2.5cm 1cm; }
  body { background: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .topo, .hero, .filtros-box, .no-print, .rodape, .flutuante, .toast, .folha-fundo, .inicial, .card-share, .card-mapa, .mais { display: none !important; }
  .principal { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
  .grupo, .card { break-inside: avoid; page-break-inside: avoid; }
  .grupo-cab { break-after: avoid; page-break-after: avoid; }
  .card { border: 1px solid #e5e7eb !important; box-shadow: none !important; }
  .card::before { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .marca-dagua {
    display: flex !important; position: fixed; bottom: 0; left: 0; width: 100%; justify-content: center; align-items: center; gap: 15px;
    padding: 12px; background: #fff; border-top: 2px solid var(--blue); z-index: 9999;
  }
  .marca-dagua img { height: 30px; width: auto; filter: grayscale(100%); }
  .marca-dagua span { font-size: 13px; font-weight: 700; color: var(--blue); }
  .print-titulo { display: block !important; font-size: 20px; color: var(--blue); margin-bottom: 12px; }
}
.print-titulo { display: none; }

/* ---------- Celular: filtros em duas colunas (fica depois das regras base de proposito) ---------- */
.nw { white-space: nowrap; }
@media (max-width: 639px) {
  .glass .campos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .glass .campo:last-child { grid-column: 1 / -1; }
  .glass .campo label { font-size: 11px; margin-left: 2px; }
  .glass .campo select, .glass .campo input { min-height: 48px; padding: 12px 14px; font-size: 14px; }
  .glass .campo select { padding-right: 30px; background-position: right .55rem center; }
  .glass .busca input { padding-left: 40px; }
  .acoes-filtro { gap: 10px; }
  .botoes { width: 100%; }
  .botoes .btn-s { flex: 1; justify-content: center; }
}

/* ---------- Celular: topo das paginas de cidade/estado mais compacto ---------- */
@media (max-width: 639px) {
  .hero-sub { padding: 24px 0 104px; }
  .hero-sub h1 { font-size: 27px; }
  .hero-sub .hero-lead { font-size: 16px; }
  .hero-sub .stats { margin-top: 20px; gap: 8px; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-sub .stat { padding: 8px 12px; border-radius: 12px; display: flex; align-items: baseline; justify-content: center; gap: 6px; }
  .hero-sub .stat b { font-size: 19px; display: inline; }
  .hero-sub .stat span { font-size: 11px; letter-spacing: .03em; }
  .hero-share { margin-top: 18px; }
  .btn-share-hero { padding: 11px 18px; font-size: 14px; }
  .migalhas { font-size: 12px; margin-bottom: 14px; }
  .principal { padding-top: 40px; }
  .flutuante { bottom: 16px; right: 16px; padding: 13px; }
  .flutuante .i { width: 28px; height: 28px; }
}
