/* Diretório de Massoterapia — estilos */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f3eee6;
  --text: #1f2b25;
  --text-2: #56635c;
  --muted: #7d8781;
  --border: #e6dfd3;
  --primary: #3f6f5a;
  --primary-dark: #2f5745;
  --primary-soft: #e4eee8;
  --accent: #c0744a;
  --accent-soft: #f8e9df;
  --gold: #b08a2e;
  --gold-soft: #f6efd9;
  --success: #2f7a4f;
  --success-soft: #e5f3ea;
  --warning: #8a6417;
  --warning-soft: #fbf1d9;
  --error: #a3352a;
  --error-soft: #fbe8e5;
  --info: #2e5f80;
  --info-soft: #e6f0f7;
  --whatsapp: #1fa855;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(31, 43, 37, .05), 0 6px 20px rgba(31, 43, 37, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 4vw, 2.6rem); letter-spacing: -.01em; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.65rem); }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.narrow-sm { max-width: 440px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.lead { font-size: 1.1rem; color: var(--text-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .6em; }
.section { padding: 36px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.h-section { margin-top: 28px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--primary); background: var(--primary); color: #fff; font: 600 .95rem var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary-soft); color: var(--primary-dark); }
.btn-light { background: #fff; color: var(--primary-dark); border-color: #fff; }
.btn-light:hover { background: var(--surface-2); color: var(--primary-dark); border-color: var(--surface-2); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #178a45; border-color: #178a45; }
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn-danger { background: var(--error); border-color: var(--error); }
.btn-danger:hover { background: #82271e; border-color: #82271e; }
.link-danger { background: none; border: 0; padding: 0; color: var(--error); font: inherit; font-size: .875rem; cursor: pointer; text-decoration: underline; }
.muted-link { color: var(--muted); }

/* ---------- Cabeçalho ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--primary-dark); text-decoration: none; font: 600 1.15rem var(--font-display); }
.logo svg { width: 30px; height: 30px; color: var(--primary); }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav .btn { margin-top: 12px; }
}

/* ---------- Hero e busca ---------- */
.hero { background: radial-gradient(1200px 400px at 80% -10%, #dfeae3 0, transparent 60%), linear-gradient(180deg, #f1ece3, var(--bg)); padding: 56px 0 48px; }
.hero-inner { max-width: 860px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.search-box { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 8px; background: var(--surface); padding: 8px; border-radius: 18px; box-shadow: var(--shadow); margin-top: 22px; }
.search-box select { border: 0; background: var(--surface-2); border-radius: 12px; padding: 13px 14px; font: inherit; color: var(--text); min-width: 0; }
.search-box .btn { border-radius: 12px; padding: 13px 26px; }
@media (max-width: 640px) { .search-box { grid-template-columns: 1fr; } }

.page-head { background: linear-gradient(180deg, #f1ece3, var(--bg)); padding: 28px 0 22px; }
.page-head.center .lead { margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }

/* ---------- Filtros ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.filters select, .filters input { padding: 9px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: inherit; font-size: .9rem; color: var(--text); min-width: 0; }
.filters input[type=search] { flex: 1 1 180px; }
.result-count { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }

/* ---------- Bairros ---------- */
.nb-picker { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 18px; margin: 18px 0 0; }
.nb-picker summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--primary-dark); }
.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.zones-compact { padding-bottom: 16px; }
.zone h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 8px; }
.nb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nb-list a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .85rem; color: var(--text); text-decoration: none; }
.zones-compact .nb-list a { background: var(--bg); }
.nb-list a:hover, .nb-list a.current { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-soft); }
.count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 600; text-align: center; line-height: 18px; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid transparent; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(31,43,37,.06), 0 12px 28px rgba(31,43,37,.09); }
.card-hl1 { border-color: #e9cdb9; }
.card-hl2 { border-color: #e2cf96; }
.card-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface-2); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.card-body h3 a { color: var(--text); text-decoration: none; }
.card-headline { color: var(--text-2); font-size: .9rem; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .85rem; margin-bottom: 10px; }
.card-meta svg { width: 15px; height: 15px; flex: none; color: var(--accent); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 10px; flex-wrap: wrap; }
.card-foot .price strong { color: var(--text); font-size: .95rem; }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.profile-head .badge { position: static; display: inline-block; margin-bottom: 8px; }
.badge-featured { background: var(--accent); color: #fff; }
.badge-premium { background: var(--gold); color: #fff; }
.chips { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.chips li { font-size: .75rem; background: var(--primary-soft); color: var(--primary-dark); padding: 3px 9px; border-radius: 999px; }
.chips li a { color: inherit; text-decoration: none; }
.chips-lg li { font-size: .88rem; padding: 6px 13px; }
.chip-more { background: var(--surface-2) !important; color: var(--muted) !important; }
.grid-ad { grid-column: 1 / -1; }

/* ---------- Anúncios ---------- */
.ad { margin: 22px 0; text-align: center; min-height: 90px; }
.ad-label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 4px; }

/* ---------- Vazio ---------- */
.empty { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); padding: 40px 24px; text-align: center; }
.empty p { color: var(--text-2); max-width: 520px; margin: 0 auto 18px; }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Técnicas ---------- */
.tech-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tech-grid a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); text-decoration: none; color: var(--text); }
.tech-grid a:hover { border-color: var(--primary); }
.tech-grid strong { color: var(--primary-dark); }
.tech-grid span { font-size: .88rem; color: var(--text-2); }
.tech-grid em { font-style: normal; font-size: .85rem; color: var(--primary); margin-top: auto; padding-top: 6px; }

/* ---------- Faixa CTA ---------- */
.cta-band { background: var(--primary-dark); color: #fff; padding: 44px 0; margin-top: 24px; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.82); max-width: 600px; margin: 0; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Perfil ---------- */
.profile { padding-top: 22px; padding-bottom: 30px; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } .profile-side { order: -1; } }
.profile-head { display: flex; gap: 22px; align-items: center; margin-bottom: 18px; }
.profile-head h1 { margin-bottom: 4px; }
.profile-head .lead { margin-bottom: 6px; }
@media (max-width: 560px) { .profile-head { flex-direction: column; align-items: flex-start; } }
.avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; background: var(--surface-2); border: 4px solid var(--surface); box-shadow: var(--shadow); flex: none; }
.avatar-xs { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: inline-block; vertical-align: middle; background: var(--surface-2); }
.with-avatar { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.profile-section { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; box-shadow: var(--shadow); }
.profile-section h2 { font-size: 1.15rem; }
.prose { color: var(--text-2); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.contact-box { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); position: sticky; top: 84px; display: flex; flex-direction: column; gap: 10px; }
.price-big { font-size: .95rem; color: var(--muted); margin: 0 0 4px; }
.price-big strong { font-size: 1.5rem; color: var(--text); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 10px 0 0; font-size: .9rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.report-link { text-align: center; font-size: .82rem; margin-top: 10px; }
.report-link a { color: var(--muted); }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.plans-compact { max-width: none; margin: 0 0 24px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; position: relative; }
.plan-popular { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.plan-tag { position: absolute; top: -12px; left: 24px; background: var(--primary); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.plan-price { font: 600 2rem var(--font-display); margin: 0 0 12px; }
.plan-price span { font: 400 .95rem var(--font); color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; font-size: .93rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 8px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.trial-note { display: inline-block; background: var(--accent-soft); color: #7b4527; padding: 8px 16px; border-radius: 999px; font-size: .92rem; }
.how { max-width: 760px; margin: 40px auto 0; }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 10px; }

/* ---------- Formulários ---------- */
.form label { display: block; margin-bottom: 14px; font-size: .9rem; font-weight: 500; }
.form label small { font-weight: 400; color: var(--muted); }
.form input:not([type=checkbox]):not([type=radio]):not([type=file]), .form select, .form textarea, .table input:not([type=checkbox]) {
  display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); font: inherit; font-weight: 400; color: var(--text);
}
.table input:not([type=checkbox]) { margin-top: 0; padding: 6px 8px; font-size: .88rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--primary-soft); border-color: var(--primary); }
.form input[type=file] { display: block; margin-top: 6px; font-size: .88rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.form legend { font-size: .9rem; font-weight: 500; margin-bottom: 6px; }
.checkbox, .radio { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; }
.checkbox input, .radio input { margin-top: 5px; accent-color: var(--primary); }
.radios-inline { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.radios-inline legend { width: 100%; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 16px; }
.check-grid .checkbox { margin-bottom: 6px; }
.card-form { background: var(--surface); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0 12px; }
.align-start { align-items: start; gap: 16px; }
@media (max-width: 640px) { .row-2 { grid-template-columns: 1fr; } }
.hint { font-size: .87rem; color: var(--text-2); background: var(--surface-2); padding: 10px 14px; border-radius: var(--radius-sm); }
.auth-wrap { display: grid; grid-template-columns: 1fr 460px; gap: 40px; align-items: start; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 6px 0 6px 28px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 14px; height: 8px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.photo-field { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.photo-field .avatar { width: 110px; height: 110px; }
.sticky-actions { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 18px 0 12px; }
.inline { display: inline; }
.prose-page h2 { margin-top: 1.4em; font-size: 1.25rem; }

/* ---------- Alertas e pílulas ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin: 14px 0; font-size: .93rem; }
.alert-success { background: var(--success-soft); color: #1f5a39; }
.alert-error { background: var(--error-soft); color: #7e2219; }
.alert-warning { background: var(--warning-soft); color: #6e4e10; }
.alert-info { background: var(--info-soft); color: #234a64; }
.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; vertical-align: middle; }
.pill-success { background: var(--success-soft); color: var(--success); }
.pill-warning { background: var(--warning-soft); color: var(--warning); }
.pill-error { background: var(--error-soft); color: var(--error); }
.pill-muted { background: var(--surface-2); color: var(--muted); }

/* ---------- Painel e admin ---------- */
.app-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding-top: 26px; padding-bottom: 40px; align-items: start; }
.side-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; }
.side-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 8px 12px; }
.side-nav a { padding: 9px 12px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-size: .93rem; display: flex; justify-content: space-between; align-items: center; }
.side-nav a:hover { background: var(--surface-2); }
.side-nav a.active { background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }
@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; gap: 14px; }
  .side-nav { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .side-title { display: none; }
  .side-nav a { white-space: nowrap; background: var(--surface); border: 1px solid var(--border); }
}
.page-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.page-title h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.panel h2 { font-size: 1.15rem; }
.status-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card { background: var(--surface); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; align-items: flex-start; color: var(--text); text-decoration: none; }
a.stat-card:hover { outline: 1px solid var(--primary); }
.stat-label { font-size: .8rem; color: var(--muted); }
.big { font: 600 1.7rem var(--font-display); }
.progress { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.progress span { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
.todo { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; }
.todo li { padding-left: 26px; position: relative; color: var(--text-2); }
.todo li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); }
.todo li.done { color: var(--muted); text-decoration: line-through; }
.todo li.done::before { background: var(--primary); border-color: var(--primary); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; }
.bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.bar span { width: 100%; max-width: 30px; background: var(--primary); border-radius: 4px 4px 0 0; }
.bar small { font-size: .65rem; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.table td { padding: 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table-compact td { padding: 6px 8px; }
.row-open td { background: #fffaf0; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.mod-actions { display: flex; flex-direction: column; gap: 10px; }
.inline-note { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.inline-note input, .inline-note select { flex: 1 1 200px; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; }
.danger-zone { border: 1px solid var(--error-soft); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: .9rem; }
.tabs a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.photo-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.photo-admin figure { margin: 0; background: var(--surface); border-radius: var(--radius-sm); padding: 8px; box-shadow: var(--shadow); }
.photo-admin img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; margin-bottom: 6px; }
.caption-form { display: flex; gap: 4px; margin-bottom: 4px; }
.caption-form input { flex: 1; min-width: 0; padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: .85rem; }
.upload-box { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.upload-box label { margin: 0; flex: 1; }
.pix-box { border: 2px solid var(--primary-soft); }
.pix-key { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.pix-key code { background: var(--surface-2); padding: 8px 14px; border-radius: var(--radius-sm); font-size: 1rem; word-break: break-all; }
.message.is-read { opacity: .65; }
.message header { margin-bottom: 6px; }

/* ---------- Paginação ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 28px 0 0; }
.pagination a, .pagination span { padding: 7px 13px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: .9rem; }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Rodapé ---------- */
.site-footer { background: #1f2b25; color: #c9d1cc; margin-top: 40px; padding: 40px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { font: 600 1.15rem var(--font-display); color: #fff; display: block; margin-bottom: 8px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.site-footer a { display: block; color: #c9d1cc; text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding: 16px; font-size: .8rem; color: #95a19a; }
.cta-band + .site-footer { margin-top: 0; }
