/* Estilo leve, pensado para celulares simples e internet fraca. */
:root {
  --green: #0b6e4f;
  --green-dark: #08533b;
  --green-soft: #e6f4ee;
  --gold: #c9930b;
  --gold-soft: #fff6dc;
  --ink: #1f2933;
  --muted: #616e7c;
  --line: #e4e7eb;
  --bg: #f5f7f9;
  --white: #fff;
  --danger: #c0392b;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}
img, video { max-width: 100%; display: block; }
a { color: var(--green); }
h1 { font-size: 1.6rem; line-height: 1.25; margin: .6em 0 .5em; }
h2 { font-size: 1.2rem; margin: 0 0 .6em; }
h3 { font-size: 1.05rem; margin: 1.2em 0 .5em; }

.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 16px; }
.main { padding-bottom: 40px; min-height: 70vh; }
.narrow { max-width: 480px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.pre-line { white-space: pre-line; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.inline { display: inline; }

/* Topo e rodapé */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.3rem; letter-spacing: .5px; color: var(--ink); text-decoration: none; }
.brand-icon { width: 30px; height: 30px; border-radius: 8px; }
.brand-vi { color: var(--green); }
.brand-rest { color: var(--ink); }
.topnav { display: flex; align-items: center; gap: 14px; }
.topnav a { text-decoration: none; font-weight: 600; }
.footer { border-top: 1px solid var(--line); background: var(--white); padding: 20px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); }
.footer nav { display: flex; gap: 14px; flex-wrap: wrap; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 10px 20px;
  background: var(--green); color: var(--white);
  border: 2px solid var(--green); border-radius: 10px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-outline { background: var(--white); color: var(--green); }
.btn-outline:hover { background: var(--green-soft); }
.btn-small { min-height: 38px; padding: 6px 14px; font-size: .95rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--green); cursor: pointer; font-weight: 600; }
.link-btn.danger { color: var(--danger); }
.link { display: inline-block; margin: 10px 12px; font-weight: 600; }

/* Cartões e alertas */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 14px 0; }
.card-warn { border-color: #f0c36d; background: var(--gold-soft); }
.card-ok { border-color: #9fd6c0; background: var(--green-soft); }
.alert { border-radius: 10px; padding: 12px 14px; margin: 12px 0; border: 1px solid transparent; }
.alert-success { background: var(--green-soft); border-color: #9fd6c0; }
.alert-error { background: #fdecea; border-color: #f5b7b1; }
.alert-info { background: #eaf2fd; border-color: #b6d0f5; }
.alert-warn { background: var(--gold-soft); border-color: #f0c36d; }
.big-icon { font-size: 3rem; }

/* Formulários */
.form label { display: block; margin: 0 0 14px; font-weight: 600; }
.form input:not([type=checkbox]):not([type=file]), .form select, .form textarea, .search-box select {
  display: block; width: 100%; margin-top: 6px; min-height: 48px;
  padding: 10px 12px; font: inherit; color: var(--ink);
  border: 1px solid #cbd2d9; border-radius: 10px; background: var(--white);
}
.form textarea { min-height: 110px; }
.form input[type=file] { display: block; margin-top: 6px; font-size: .95rem; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.inline-form label { flex: 1 1 220px; margin: 0; }

/* Página inicial e busca */
.hero { text-align: center; padding: 24px 0 8px; }
.hero h1 { font-size: 1.9rem; }
.accent { color: var(--green); }
.lead { font-size: 1.1rem; color: var(--muted); }
.search-box { display: grid; gap: 10px; background: var(--white); padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); max-width: 640px; margin: 18px auto; text-align: left; }
.search-box select { margin: 0; }
.search-box.compact { max-width: none; }
.geo-status { margin: 0; min-height: 1.2em; font-size: .92rem; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); text-align: center; font-weight: 600; font-size: .95rem; }
.cat-icon { font-size: 1.8rem; }
.split { display: grid; gap: 14px; }
.steps { padding-left: 20px; }
.steps li { margin-bottom: 6px; }
.choice-grid { display: grid; gap: 12px; margin: 20px 0; }
.choice { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; }
.choice:hover { border-color: var(--green); }
.choice-icon { font-size: 2rem; }

/* Cartão de profissional */
.pro-list { display: grid; gap: 10px; }
.pro-card { display: flex; gap: 14px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.pro-card:hover { border-color: var(--green); }
.pro-card.is-vip { border: 2px solid var(--gold); background: linear-gradient(0deg, var(--white), var(--gold-soft)); }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 120px; height: 120px; font-size: 2.2rem; }
.pro-name { font-weight: 800; font-size: 1.08rem; }
.pro-cats { color: var(--green-dark); font-weight: 600; font-size: .95rem; margin: 2px 0; }
.pro-headline { font-size: .95rem; }
.pro-meta { color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 4px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.tag-vip { display: inline-block; background: var(--gold); color: var(--white); font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; vertical-align: middle; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0; }

/* Perfil público */
.profile-head { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.profile.is-vip .profile-head { border: 2px solid var(--gold); }
.profile-id { flex: 1 1 240px; }
.profile-id h1 { margin-top: 0; }
.badges { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { background: var(--green-soft); color: var(--green-dark); border-radius: 99px; padding: 4px 10px; font-size: .85rem; font-weight: 600; }
.badge-vip { background: var(--gold-soft); color: #7a5700; }
.contact-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 12px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.video-grid { display: grid; gap: 12px; }
.video-grid video { width: 100%; border-radius: 8px; background: #000; }
.timeline { list-style: none; padding: 0; }
.timeline li { border-left: 3px solid var(--green-soft); padding: 4px 0 12px 14px; }
.review { border-top: 1px solid var(--line); padding: 12px 0; }
.reply { background: var(--bg); padding: 8px 12px; border-radius: 8px; font-size: .95rem; }

/* Painel */
.subnav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 6px; }
.subnav a { white-space: nowrap; padding: 8px 14px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; }
.subnav a.active { background: var(--green); border-color: var(--green); color: var(--white); }
.checklist { list-style: none; padding: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.grid-3 .card { margin: 0; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat-n { font-size: 1.8rem; font-weight: 800; color: var(--green); }
.avatar-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.geo-box { background: var(--bg); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.cat-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 14px; margin-bottom: 14px; }
.media-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.media-item img, .media-item video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #000; }

/* Planos */
.plans { display: grid; gap: 14px; }
.plan .price { font-size: 1.9rem; font-weight: 800; margin: 0 0 10px; }
.plan .price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan .features { list-style: none; padding: 0; margin: 0 0 16px; }
.plan .features li { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.plan-vip { border: 2px solid var(--gold); }
.prose h2 { margin-top: 1.2em; }

@media (min-width: 720px) {
  .split, .choice-grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .search-box { grid-template-columns: 1.4fr 1fr auto; align-items: center; }
  .search-box .geo-status { grid-column: 1 / -1; }
  .video-grid { grid-template-columns: 1fr 1fr; }
}
