/* =========================================================
   O RURAL — estilos
   Paleta da marca: laranja sol, verde lavoura, amarelo, céu
   ========================================================= */
:root {
  --r-orange: #e8590c;
  --r-orange-d: #c94a06;
  --r-orange-l: #fff1e8;
  --r-sun: #fed702;
  --r-sky: #b0e2fd;
  --r-green: #0c6124;
  --r-green-d: #08481a;
  --r-green-m: #4f9c2b;
  --r-green-l: #ebf5e6;
  --r-brown: #6d4c41;
  --r-wheat: #e0a526;
  --r-clay: #d84315;
  --r-leaf: #43a047;
  --r-text: #202124;
  --r-muted: #5f6368;
  --r-border: #dfe1e5;
  --r-bg-soft: #f6f8f6;
  --r-link: #0c6124;
  --r-shadow: 0 1px 6px rgba(32, 33, 36, .18);
  --bs-body-font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-color: var(--r-text);
  --bs-link-color: var(--r-green);
  --bs-link-color-rgb: 12, 97, 36;
  --bs-link-hover-color-rgb: 8, 72, 26;
  --bs-primary: var(--r-orange);
  --bs-primary-rgb: 232, 89, 12;
}

body { font-family: var(--bs-body-font-family); color: var(--r-text); background: #fff; -webkit-font-smoothing: antialiased; }
.fw-black { font-weight: 900; }
.min-w-0 { min-width: 0; }

/* ---------- Logo ---------- */
.brand-img { display: block; height: auto; user-select: none; }
.brand-xl { width: min(380px, 78vw); }
.brand-md { width: min(260px, 70vw); margin: 0 auto; }
.brand-sm { height: 30px; width: auto; }
.brand-xs { height: 14px; width: auto; display: inline-block; vertical-align: -1px; }
.c1 { color: var(--r-orange); } .c2 { color: var(--r-green); } .c3 { color: #e09a00; }
.c4 { color: var(--r-orange); } .c5 { color: var(--r-green-m); } .c6 { color: var(--r-orange-d); }

/* ---------- Botões ---------- */
.btn-rural { --bs-btn-bg: var(--r-orange); --bs-btn-border-color: var(--r-orange); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--r-orange-d); --bs-btn-hover-border-color: var(--r-orange-d); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--r-orange-d); --bs-btn-active-border-color: var(--r-orange-d); --bs-btn-disabled-bg: var(--r-orange); }
.btn-wa { --bs-btn-bg: #25d366; --bs-btn-border-color: #25d366; --bs-btn-color: #fff; --bs-btn-hover-bg: #1ebe5b; --bs-btn-hover-border-color: #1ebe5b; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #18a74f; --bs-btn-active-color: #fff; font-weight: 700; }
.text-orange { color: var(--r-orange) !important; }
.bg-orange { background-color: var(--r-orange) !important; }
.btn-outline-success { --bs-btn-color: var(--r-green); --bs-btn-border-color: var(--r-green); --bs-btn-hover-bg: var(--r-green); --bs-btn-hover-border-color: var(--r-green); }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: #f6a46f; box-shadow: 0 0 0 .2rem rgba(232,89,12,.15); }
.form-check-input:checked { background-color: var(--r-orange); border-color: var(--r-orange); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--r-orange); }
.pagination { --bs-pagination-active-bg: var(--r-orange); --bs-pagination-active-border-color: var(--r-orange); --bs-pagination-color: var(--r-green); }
.avatar-btn { width: 40px; height: 40px; border-radius: 50%; color: #fff !important; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--r-border); }
.flash-stack { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2000; width: min(560px, calc(100% - 24px)); }
.flash-stack .alert { border-radius: 14px; border: 0; }

/* ---------- Avatares ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; background: #eee; }
.avatar-xs { width: 28px; height: 28px; font-size: .7rem; }
.avatar-sm { width: 40px; height: 40px; font-size: .9rem; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.3rem; }
.avatar-xl { width: 112px; height: 112px; font-size: 2.4rem; }

/* =========================================================
   CAIXA DE BUSCA (estilo buscador)
   ========================================================= */
.search-form { width: 100%; min-width: 0; }
body { overflow-x: clip; }
.search-box { position: relative; display: flex; align-items: center; height: 46px; border: 1px solid var(--r-border); border-radius: 24px; background: #fff; padding: 0 6px 0 16px; transition: box-shadow .15s, border-color .15s; }
.search-box:hover, .search-box:focus-within { box-shadow: var(--r-shadow); border-color: rgba(223,225,229,0); }
.search-box.is-open { border-radius: 24px 24px 0 0; box-shadow: var(--r-shadow); border-color: transparent; }
.search-form.lg .search-box { height: 52px; border-radius: 26px; }
.search-form.lg .search-box.is-open { border-radius: 26px 26px 0 0; }
.search-icon { color: #9aa0a6; margin-right: 12px; font-size: 1rem; }
.search-input { flex: 1; width: 100%; border: 0; outline: 0; font-size: 1.05rem; background: transparent; min-width: 0; height: 100%; color: var(--r-text); }
.search-input::-webkit-search-cancel-button { display: none; }
.search-clear, .search-mic, .search-go { border: 0; background: transparent; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--r-muted); flex-shrink: 0; }
.search-clear:hover, .search-go:hover, .search-mic:hover { background: #f1f3f4; }
.search-mic { color: var(--r-green); font-size: 1.15rem; }
.search-mic.listening { color: #fff; background: var(--r-clay); animation: pulse 1.2s infinite; }
.search-go { color: var(--r-green); }
.search-sep { width: 1px; height: 24px; background: var(--r-border); margin: 0 4px; }
.search-clear[hidden] + .search-sep { display: none; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(216,67,21,.45); } 50% { box-shadow: 0 0 0 10px rgba(216,67,21,0); } }

/* Lista de sugestões (autocompletar) */
.ac-list { text-align: left; position: absolute; left: -1px; right: -1px; top: 100%; background: #fff; border-radius: 0 0 24px 24px; box-shadow: 0 4px 6px rgba(32,33,36,.28); z-index: 1050; padding: 4px 0 12px; overflow: hidden; }
.ac-list::before { content: ''; display: block; height: 1px; background: #e8eaed; margin: 0 14px 6px; }
.ac-item { display: flex; align-items: center; gap: 12px; padding: 7px 18px; cursor: pointer; color: var(--r-text); text-decoration: none; line-height: 1.25; }
.ac-item:hover, .ac-item.active { background: #f1f3f4; color: var(--r-text); }
.ac-item .ac-ico { width: 28px; text-align: center; color: #9aa0a6; flex-shrink: 0; }
.ac-item .ac-ico.cat { color: var(--r-green); }
.ac-item .avatar { width: 28px; height: 28px; font-size: .7rem; }
.ac-item .ac-text { min-width: 0; flex: 1; }
.ac-item .ac-label { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-item .ac-label b { font-weight: 800; }
.ac-item .ac-sub { display: block; font-size: .8rem; color: var(--r-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-item .ac-tag { font-size: .7rem; color: var(--r-muted); border: 1px solid var(--r-border); border-radius: 10px; padding: 1px 8px; flex-shrink: 0; }
.ac-empty { padding: 8px 18px; color: var(--r-muted); font-size: .9rem; }

/* Autocompletar de campos de formulário */
.ac-wrap { position: relative; }
.ac-wrap .ac-list { border-radius: 12px; top: calc(100% + 4px); left: 0; right: 0; padding: 6px 0; border: 1px solid var(--r-border); max-height: 300px; overflow-y: auto; }
.ac-wrap .ac-list::before { display: none; }

/* =========================================================
   HOME
   ========================================================= */
.home { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.home-top { display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding: 12px 20px; }
.home-links { display: flex; gap: 16px; }
.home-links a { color: var(--r-text); text-decoration: none; font-size: .92rem; }
.home-links a:hover { text-decoration: underline; }
.home-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 16px 9vh; text-align: center; }
.home-center h1 { margin-bottom: 4px !important; }
.home-tagline { color: var(--r-muted); margin: 0 0 26px; font-size: 1.02rem; }
.home-center .search-form { max-width: 600px; }
.search-buttons { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn-search { background: #f8f9fa; border: 1px solid #f8f9fa; color: #3c4043; font-size: .9rem; padding: 8px 16px; border-radius: 6px; }
.btn-search:hover { border-color: #dadce0; box-shadow: 0 1px 1px rgba(0,0,0,.1); background: #f8f9fa; color: #202124; }
.home-chips, .chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; max-width: 720px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--r-border); border-radius: 18px; padding: 6px 14px; font-size: .86rem; color: var(--r-text); text-decoration: none; background: #fff; transition: background .15s, border-color .15s; }
.chip i { color: var(--r-green); }
.chip:hover { background: var(--r-green-l); border-color: #c8e6c9; color: var(--r-green-d); }
.chip-more { color: var(--r-green); font-weight: 700; }
.home-offer { margin-top: 26px; font-size: .9rem; color: var(--r-muted); }
.home-offer a { color: var(--r-green); font-weight: 700; text-decoration: none; }
.home-footer, .site-footer { background: #f2f2f2; color: #70757a; font-size: .88rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 13px 28px; border-top: 1px solid #dadce0; }
.footer-row:first-child { border-top: 0; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-row a { color: #70757a; text-decoration: none; }
.footer-row a:hover { text-decoration: underline; }
@media (max-width: 575px) {
  .home-center { justify-content: flex-start; padding-top: 12vh; }
  .search-buttons { display: none; }
  .home-chips { margin-top: 22px; }
}

/* =========================================================
   CABEÇALHO DAS PÁGINAS INTERNAS + RESULTADOS
   ========================================================= */
.top-header { position: sticky; top: 0; z-index: 1030; background: #fff; }
.page-default .top-header { border-bottom: 1px solid #ebebeb; }
.top-header-inner { display: flex; align-items: center; gap: 28px; padding: 18px 24px 10px; }
.header-logo { text-decoration: none; flex-shrink: 0; }
.header-search { flex: 1; max-width: 690px; min-width: 0; }
.header-user { margin-left: auto; flex-shrink: 0; }
@media (max-width: 767px) {
  .top-header-inner { flex-wrap: wrap; gap: 10px; padding: 12px 14px 8px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
}
.results-tabs { border-bottom: 1px solid #ebebeb; background: #fff; position: sticky; top: 74px; z-index: 1020; }
@media (max-width: 767px) { .results-tabs { position: static; } }
.results-tabs-inner { display: flex; align-items: center; gap: 4px; padding: 0 24px 0 calc(24px + 140px); overflow-x: auto; scrollbar-width: none; }
.results-tabs-inner::-webkit-scrollbar { display: none; }
.results-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; color: var(--r-muted); text-decoration: none; font-size: .9rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.results-tabs a i { font-size: .85rem; }
.results-tabs a small { background: #f1f3f4; border-radius: 8px; padding: 0 6px; font-size: .72rem; }
.results-tabs a.active { color: var(--r-orange); border-bottom-color: var(--r-orange); font-weight: 700; }
.results-tabs a:hover { color: var(--r-text); }
.btn-tool { color: var(--r-muted); font-size: .88rem; }
.uf-menu { width: 280px; }
.uf-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin-top: 4px; }
.uf-grid .dropdown-item { padding: 6px 0; font-size: .85rem; }
.dropdown-item.active, .dropdown-item:active { background: var(--r-orange); }

.results-wrap { display: flex; gap: 60px; padding: 0 24px 40px calc(24px + 140px); }
.results-main { flex: 0 1 652px; min-width: 0; }
.results-side { flex: 0 0 340px; padding-top: 52px; }
@media (max-width: 1199px) { .results-side { display: none; } }
@media (max-width: 991px) {
  .results-wrap, .results-tabs-inner { padding-left: 16px; padding-right: 16px; }
}
.results-stats { color: #70757a; font-size: .85rem; margin: 14px 0 22px; min-height: 1em; }
.result { margin-bottom: 30px; }
.result-link { text-decoration: none; display: block; }
.result-site { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.result-site-text { line-height: 1.25; min-width: 0; }
.result-site-name { display: block; color: var(--r-text); font-size: .9rem; }
.result-site cite { font-style: normal; color: #4d5156; font-size: .78rem; }
.result-title { font-size: 1.25rem; color: var(--r-link); font-weight: 600; margin: 0; line-height: 1.35; }
.result-link:hover .result-title { text-decoration: underline; }
.result-title b { font-weight: 800; }
.result-snippet { color: #4d5156; font-size: .92rem; line-height: 1.58; margin-top: 4px; }
.result-snippet b { color: #3c4043; font-weight: 800; }
.result-meta { color: #70757a; }
.badge-featured { display: inline-block; font-size: .7rem; font-weight: 800; color: #7a5a00; background: #fff4d6; border-radius: 4px; padding: 1px 6px; margin-right: 4px; vertical-align: 1px; }
.verified { color: #1a73e8; font-size: .85em; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.btn-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--r-text); border: 1px solid var(--r-border); border-radius: 16px; padding: 4px 12px; text-decoration: none; background: #fff; }
.btn-chip:hover { background: #f8f9fa; color: var(--r-text); }
.btn-chip.wa { color: #128c4b; border-color: #b7e4c7; background: #f1fbf4; font-weight: 700; }
.btn-chip.wa:hover { background: #def5e5; }
.no-results { color: var(--r-text); padding-top: 8px; }
.no-results ul { padding-left: 2rem; }
.cta-card, .side-card { border: 1px solid var(--r-border); border-radius: 16px; padding: 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.side-card { display: block; }
.cta-card > i { font-size: 1.6rem; color: var(--r-wheat); }
.category-head { display: flex; align-items: center; gap: 14px; margin: 20px 0 0; }
.category-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--r-green-l); color: var(--r-green); display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; }

/* Paginação oRuuuuural */
.rural-pager { display: flex; justify-content: center; align-items: flex-end; gap: 0; margin: 40px 0 10px; font-size: .9rem; }
.pager-cell, .pager-arrow { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--r-link); min-width: 22px; }
.pager-cell.current { color: var(--r-text); font-weight: 800; }
.pager-letter { font-size: 2.1rem; font-weight: 900; line-height: 1.1; letter-spacing: -.04em; }
.pager-arrow { padding: 0 10px; }
.pager-arrow span:last-child { font-weight: 700; }
.pager-cell:hover span:last-child, .pager-arrow:hover span:last-child { text-decoration: underline; }
@media (max-width: 575px) { .pager-letter { font-size: 1.6rem; } .pager-cell { min-width: 16px; } }

/* Categorias */
.container-narrow { max-width: 980px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cat-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--r-border); border-radius: 16px; text-decoration: none; color: var(--r-text); transition: box-shadow .15s, border-color .15s; }
.cat-card:hover { box-shadow: var(--r-shadow); border-color: transparent; color: var(--r-text); }
.cat-name { font-weight: 700; flex: 1; line-height: 1.2; }
.cat-count { font-size: .8rem; color: var(--r-muted); background: #f1f3f4; border-radius: 10px; padding: 2px 8px; }

/* Anuncie */
.feature-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--r-green-l); color: var(--r-green); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.phone-mock { width: 290px; border-radius: 40px; padding: 12px; background: #1f1f1f; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.phone-mock-screen { background: linear-gradient(180deg, #e8f5e9, #fff 45%); border-radius: 30px; padding: 0 18px 22px; text-align: center; overflow: hidden; }
.pm-cover { height: 90px; margin: 0 -18px; background: linear-gradient(135deg, #2e7d32, #9ccc65); }
.pm-avatar { width: 76px; height: 76px; border-radius: 50%; background: #6d4c41; color: #fff; font-weight: 900; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin: -38px auto 8px; border: 4px solid #fff; }
.pm-name { font-weight: 800; font-size: .95rem; }
.pm-sub { font-size: .75rem; color: var(--r-muted); margin-bottom: 14px; }
.pm-btn { background: #fff; border: 1px solid #e3e3e3; border-radius: 14px; padding: 10px; font-size: .8rem; font-weight: 700; margin-bottom: 8px; }
.pm-wa { background: #25d366; border-color: #25d366; color: #fff; }
.pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 12px; }
.pm-grid span { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, #c5e1a5, #8d6e63); }
.pm-grid span:nth-child(2) { background: linear-gradient(135deg, #ffe082, #8bc34a); }
.pm-grid span:nth-child(3) { background: linear-gradient(135deg, #a5d6a7, #5d4037); }

/* Erros */
.error-page { text-align: center; padding: 12vh 16px; max-width: 520px; margin: 0 auto; }
.error-icon { font-size: 4rem; color: var(--r-wheat); display: block; margin-bottom: 12px; }

/* =========================================================
   BIOLINK (página pública do perfil)
   ========================================================= */
.page-profile { --theme: #0c6124; background: #eef1ee; min-height: 100vh; }
/* fundo: cor da página + morros suaves (padrão do campo) */
.bio-bg { position: absolute; inset: 0 0 auto 0; height: 340px; z-index: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='340' viewBox='0 0 1200 340' preserveAspectRatio='none'%3E%3Cpath d='M0 250 Q300 180 600 240 T1200 220 V340 H0Z' fill='%23ffffff' fill-opacity='.07'/%3E%3Cpath d='M0 290 Q350 230 700 285 T1200 270 V340 H0Z' fill='%23ffffff' fill-opacity='.07'/%3E%3Ccircle cx='1040' cy='70' r='60' fill='%23ffffff' fill-opacity='.08'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat,
    radial-gradient(circle at 15% 0%, rgba(255,255,255,.18), transparent 45%),
    linear-gradient(160deg, var(--theme), color-mix(in srgb, var(--theme) 55%, #000)); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .bio-bg { background: var(--theme); } }
.bio { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; padding: 4px 14px 120px; }

/* barra superior: transparente no topo, branca ao rolar */
.bio-nav { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; max-width: 600px; margin: 0 auto; padding: 12px 14px; transition: background .25s, box-shadow .25s; }
.bio-nav.is-scrolled { background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 2px 12px rgba(0,0,0,.08); max-width: none; }
.bio-nav-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; backdrop-filter: blur(6px); transition: background .2s, color .2s; }
.bio-nav-btn:hover { background: rgba(255,255,255,.3); color: #fff; }
.bio-nav.is-scrolled .bio-nav-btn { background: #f1f3f1; color: var(--r-text); }
.bio-nav-logo { text-decoration: none; background: #fff; border-radius: 22px; padding: 7px 16px 8px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.bio-nav.is-scrolled .bio-nav-logo { box-shadow: none; padding-left: 0; padding-right: 0; }
.bio-nav-logo .brand-img { height: 22px; }

/* cartões */
.bio-card { background: #fff; border-radius: 26px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 30px rgba(0,0,0,.07); overflow: hidden; margin-bottom: 14px; }
.bio-block { padding: 20px 20px 22px; }
.bio-hero { padding-bottom: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.14); }
.bio-cover { height: 160px; background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='160'%3E%3Cpath d='M0 120 Q150 80 300 115 T600 100 V160 H0Z' fill='%23ffffff' fill-opacity='.18'/%3E%3Cpath d='M0 140 Q200 105 400 135 T600 130 V160 H0Z' fill='%23ffffff' fill-opacity='.18'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat,
    linear-gradient(135deg, color-mix(in srgb, var(--theme) 80%, #fff), color-mix(in srgb, var(--theme) 35%, #fff)); background-size: 100% 100%, cover; background-position: center; }
.bio-cover.has-img { background-size: cover; }
.bio-head { text-align: center; padding: 0 22px; }
.bio-avatar-wrap { position: relative; display: table; margin: -62px auto 0; }
.bio-avatar { border: 5px solid #fff; box-shadow: 0 6px 20px rgba(0,0,0,.15), 0 0 0 3px color-mix(in srgb, var(--theme) 35%, #fff); background-color: #fff; width: 120px; height: 120px; font-size: 2.6rem; object-fit: cover; }
.bio-verified { position: absolute; right: 2px; bottom: 6px; width: 32px; height: 32px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: #1a73e8; font-size: 1.35rem; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.bio-type { display: flex; justify-content: center; align-items: center; gap: 5px; margin-top: 12px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--theme); }
.bio-name { font-size: clamp(1.45rem, 5.5vw, 1.8rem); font-weight: 900; margin: 4px 0 6px; line-height: 1.15; letter-spacing: -.02em; color: #15181b; }
.bio-tagline { margin: 0 auto; max-width: 440px; font-size: 1.04rem; color: #4a4f55; line-height: 1.45; }
.bio-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.bio-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: #3c4043; background: #f2f4f2; border-radius: 20px; padding: 5px 12px; text-decoration: none; }
a.bio-chip:hover { background: #e8ebe8; color: #15181b; }
.bio-chip i { color: var(--theme); }
.bio-chip.is-area { background: color-mix(in srgb, var(--theme) 10%, #fff); color: color-mix(in srgb, var(--theme) 80%, #000); }

/* redes sociais com a cor de cada marca */
.bio-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 2.4vw, 12px); padding: 20px 14px 0; }
.soc { width: clamp(44px, 12vw, 52px); height: clamp(44px, 12vw, 52px); border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.45rem; text-decoration: none; box-shadow: 0 6px 14px rgba(0,0,0,.14); transition: transform .15s, box-shadow .15s; }
.soc:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.18); }
.soc:active { transform: scale(.95); }
.soc-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.soc-facebook { background: #1877f2; }
.soc-youtube { background: #ff0000; }
.soc-tiktok { background: #111; box-shadow: -2px -2px 0 #25f4ee inset, 2px 2px 0 #fe2c55 inset, 0 6px 14px rgba(0,0,0,.14); }
.soc-site { background: var(--theme); }
.soc-email { background: #ea4335; }

/* botões principais */
.bio-actions { padding: 20px 18px 0; }
.bio-btn { display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 18px; padding: 14px 18px; font-weight: 800; font-size: 1.05rem; text-decoration: none; transition: transform .12s, box-shadow .15s, filter .15s; }
.bio-btn:active { transform: scale(.98); }
.bio-btn-wa { background: linear-gradient(135deg, #2bd96b, #12a150); color: #fff; box-shadow: 0 10px 24px rgba(18,161,80,.35); text-align: left; }
.bio-btn-wa:hover { color: #fff; filter: brightness(1.05); box-shadow: 0 12px 28px rgba(18,161,80,.42); }
.bio-btn-wa > i:first-child { font-size: 1.7rem; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bio-btn-wa span { flex: 1; line-height: 1.2; }
.bio-btn-wa strong { display: block; font-size: 1.08rem; }
.bio-btn-wa small { display: block; font-weight: 600; opacity: .9; font-size: .8rem; }
.bio-btn-go { opacity: .8; }
.modal-footer .bio-btn-wa { justify-content: center; text-align: center; }
.modal-footer .bio-btn-wa > i:first-child { width: auto; height: auto; background: none; font-size: 1.35rem; }
.bio-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.bio-quick-btn { border: 1px solid #eceeec; background: #fafbfa; border-radius: 16px; padding: 11px 4px 9px; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--r-text); text-decoration: none; font-size: .76rem; font-weight: 700; transition: background .15s, transform .12s; }
.bio-quick-btn i { font-size: 1.2rem; color: var(--theme); }
.bio-quick-btn:hover { background: color-mix(in srgb, var(--theme) 7%, #fff); color: var(--r-text); transform: translateY(-1px); }

/* links */
.bio-links { display: flex; flex-direction: column; gap: 10px; }
.bio-link { display: flex; align-items: center; gap: 14px; border: 1px solid #e7eae7; background: #fff; border-radius: 18px; padding: 10px 14px 10px 10px; text-decoration: none; color: var(--r-text); font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.04); transition: border-color .15s, box-shadow .15s, transform .12s; }
.bio-link:hover { border-color: color-mix(in srgb, var(--theme) 45%, #fff); box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: translateY(-1px); color: var(--r-text); }
.bio-link:active { transform: scale(.99); }
.bio-link-ico { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; color: #fff; background: var(--theme); }
.bio-link-text { flex: 1; min-width: 0; }
.bio-link-go { color: #b0b5b9; font-size: .9rem; transition: transform .15s; }
.bio-link:hover .bio-link-go { transform: translate(2px, -2px); color: var(--theme); }
.ico-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ico-facebook { background: #1877f2; } .ico-youtube { background: #ff0000; } .ico-tiktok { background: #111; }
.ico-whatsapp { background: #25d366; } .ico-linkedin { background: #0a66c2; } .ico-telegram { background: #229ed9; }
.ico-twitter-x { background: #111; } .ico-spotify { background: #1db954; } .ico-pinterest { background: #e60023; }
.ico-geo-alt { background: #34a853; } .ico-file-earmark-pdf { background: #e53935; } .ico-bag { background: #f59e0b; }

/* seções */
.bio-h { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 900; color: #15181b; margin-bottom: 14px; }
.bio-h small { font-size: .75rem; font-weight: 800; background: #f2f4f2; color: var(--r-muted); border-radius: 10px; padding: 1px 8px; }
.bio-h-ico { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--theme) 10%, #fff); color: var(--theme); font-size: .95rem; }
.bio-text { color: #3c4043; line-height: 1.65; font-size: 1rem; }
.bio-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bio-photo { border: 0; padding: 0; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #eee; cursor: zoom-in; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.bio-photo:hover img { transform: scale(1.06); }
.bio-gallery .bio-photo:first-child:nth-last-child(1) { grid-column: span 3; aspect-ratio: 16/10; }
.bio-gallery .bio-photo:first-child:nth-last-child(2), .bio-gallery .bio-photo:first-child:nth-last-child(2) ~ .bio-photo { grid-column: span 1; }
.bio-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.bio-tags a { font-size: .8rem; color: color-mix(in srgb, var(--theme) 85%, #000); background: color-mix(in srgb, var(--theme) 8%, #fff); border-radius: 10px; padding: 4px 10px; text-decoration: none; font-weight: 700; }
.bio-tags a:hover { background: color-mix(in srgb, var(--theme) 15%, #fff); }
.bio-place { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.btn-theme { background: var(--theme); color: #fff; font-weight: 700; padding: 8px 18px; border: 0; }
.btn-theme:hover { color: #fff; filter: brightness(1.1); }

/* veja também + rodapé */
.bio-related { margin-top: 26px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.related-item { background: #fff; border-radius: 20px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--r-text); box-shadow: 0 2px 10px rgba(0,0,0,.05); transition: box-shadow .15s, transform .15s; }
.related-item:hover { box-shadow: 0 10px 22px rgba(0,0,0,.1); transform: translateY(-2px); color: var(--r-text); }
.related-name { font-weight: 800; font-size: .88rem; margin-top: 8px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-sub { font-size: .76rem; color: var(--r-muted); }
.bio-footer { text-align: center; margin-top: 30px; font-size: .85rem; }
.bio-footer-cta { color: var(--r-muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; background: #fff; padding: 10px 18px; border-radius: 22px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.bio-footer-cta:hover { color: var(--r-text); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.owner-bar { position: relative; z-index: 70; background: #202124; color: #fff; font-size: .85rem; display: flex; gap: 10px; align-items: center; justify-content: center; padding: 8px 12px; flex-wrap: wrap; }
.is-embed .owner-bar { display: none; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 1030; display: flex; align-items: center; gap: 10px; text-decoration: none; opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none; transition: opacity .25s, transform .25s; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float-btn { position: relative; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, #2bd96b, #12a150); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: 0 10px 26px rgba(18,161,80,.45); }
.wa-float-btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: waPulse 2.2s infinite; }
.wa-float-label { background: #fff; color: #15181b; font-weight: 800; font-size: .88rem; padding: 8px 14px; border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.14); white-space: nowrap; transition: opacity .3s, transform .3s; }
.wa-float.label-hidden .wa-float-label { opacity: 0; transform: translateX(10px); pointer-events: none; }
.wa-float:hover .wa-float-label { opacity: 1; transform: none; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
.is-embed .wa-float { display: none; }

/* entrada suave das seções */
.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float-btn::before { animation: none; }
}
.gallery-close { position: absolute; top: 14px; right: 14px; z-index: 5; }
.gallery-img { max-height: 82vh; object-fit: contain; background: #000; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 20px 16px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); text-align: center; }
.qr-box { width: 200px; height: 200px; display: flex; align-items: center; justify-content: center; }
.qr-box img, .qr-box canvas { width: 200px !important; height: 200px !important; }

/* =========================================================
   AUTENTICAÇÃO
   ========================================================= */
.page-auth { background: var(--r-bg-soft); }
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 16px; }
.auth-card { width: 100%; max-width: 450px; margin: 0 auto; background: #fff; border-radius: 28px; padding: 36px 32px; border: 1px solid #e6e8e6; }
@media (max-width: 480px) { .auth-card { padding: 28px 20px; border-radius: 22px; } }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   PAINEL
   ========================================================= */
.page-panel { background: var(--r-bg-soft); }
.panel-header { position: sticky; top: 0; z-index: 1030; height: 64px; background: #fff; border-bottom: 1px solid #e6e8e6; display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.panel-title { color: var(--r-muted); font-size: 1.1rem; padding-left: 12px; border-left: 1px solid var(--r-border); }
.panel-body { display: flex; }
.panel-sidebar { width: 250px; flex-shrink: 0; }
@media (min-width: 992px) {
  .panel-sidebar { position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; padding: 16px 10px; }
  .panel-sidebar .offcanvas-header { display: none; }
}
.panel-nav-group { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #80868b; font-weight: 800; padding: 6px 16px; }
.panel-nav-link { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 0 22px 22px 0; color: var(--r-text); text-decoration: none; font-weight: 600; margin-right: 6px; }
.panel-nav-link i { font-size: 1.1rem; color: var(--r-muted); }
.panel-nav-link:hover { background: #ebeeeb; color: var(--r-text); }
.panel-nav-link.active { background: var(--r-orange-l); color: var(--r-orange-d); }
.panel-nav-link.active i { color: var(--r-orange); }
.panel-main { flex: 1; min-width: 0; padding: 26px 28px 60px; }
@media (max-width: 575px) { .panel-main { padding: 18px 12px 80px; } }
.panel-card { background: #fff; border: 1px solid #e6e8e6; border-radius: 20px; padding: 22px; margin-bottom: 16px; }
@media (max-width: 575px) { .panel-card { padding: 18px 14px; border-radius: 16px; } }
.panel-card-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.step { width: 26px; height: 26px; border-radius: 50%; background: var(--r-orange); color: #fff; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.panel-tabs .nav-link { border-radius: 20px; color: var(--r-muted); font-weight: 700; padding: 7px 16px; }
.panel-tabs .nav-link.active { color: #fff; }
.panel-tabs { gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.form-label { font-weight: 700; font-size: .92rem; }
.slug-prefix { background: #f6f8f6; color: var(--r-muted); font-size: .95rem; }
@media (max-width: 575px) { .slug-prefix { font-size: .78rem; padding-left: 8px; padding-right: 4px; } }
.slug-status.ok { color: var(--r-green); font-weight: 700; }
.slug-status.bad { color: #d32f2f; font-weight: 700; }
.type-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 575px) { .type-picker { grid-template-columns: repeat(2, 1fr); } }
.type-option input { position: absolute; opacity: 0; }
.type-option span { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 2px solid var(--r-border); border-radius: 16px; padding: 16px 8px; cursor: pointer; font-weight: 700; transition: all .15s; }
.type-option span i { font-size: 1.6rem; color: var(--r-muted); }
.type-option input:checked + span { border-color: var(--r-orange); background: var(--r-orange-l); color: var(--r-orange-d); }
.type-option input:checked + span i { color: var(--r-orange); }
.type-option input:focus-visible + span { box-shadow: 0 0 0 .2rem rgba(46,125,50,.25); }
.upload-tile { position: relative; display: flex; align-items: center; justify-content: center; border: 2px dashed #c9cdc9; border-radius: 18px; background: #fafbfa; cursor: pointer; overflow: hidden; transition: border-color .15s; }
.upload-tile:hover { border-color: var(--r-green); }
.upload-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.upload-avatar { width: 140px; height: 140px; border-radius: 50%; }
.upload-cover { width: 100%; aspect-ratio: 8/3; }
.upload-hint { display: flex; flex-direction: column; align-items: center; color: var(--r-muted); font-size: .85rem; font-weight: 700; text-align: center; z-index: 1; }
.upload-hint i { font-size: 1.6rem; }
.color-picker { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch input[type=radio] { position: absolute; opacity: 0; }
.swatch span { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); transition: transform .12s; }
.swatch input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); transform: scale(1.05); }
.swatch-custom input[type=color] { width: 36px; height: 36px; border: 0; border-radius: 50%; padding: 0; cursor: pointer; background: none; }
.swatch-custom input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.swatch-custom input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.swatch-custom input[type=radio]:checked ~ input[type=color] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #999; }
.save-bar { position: sticky; bottom: 0; z-index: 10; display: flex; justify-content: flex-end; gap: 10px; padding: 14px 0; background: linear-gradient(transparent, var(--r-bg-soft) 30%); }
@media (max-width: 575px) { .save-bar .btn-lg { flex: 1; } }
.links-list { display: flex; flex-direction: column; gap: 10px; }
.link-row { display: flex; align-items: center; gap: 12px; border: 1px solid #e6e8e6; border-radius: 16px; padding: 10px 12px; background: #fff; }
.link-row.is-new { border-color: #a5d6a7; background: #fbfefb; }
.link-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--r-green-l); color: var(--r-green); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.link-fields { flex: 1; display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; min-width: 0; }
.link-tools { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.link-clicks { font-size: .78rem; color: var(--r-muted); margin-right: 6px; white-space: nowrap; }
@media (max-width: 767px) {
  .link-row { flex-wrap: wrap; }
  .link-fields { grid-template-columns: 1fr; flex-basis: calc(100% - 50px); }
  .link-tools { width: 100%; justify-content: flex-end; }
}
.quick-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 2px dashed #c9cdc9; border-radius: 18px; padding: 34px 16px; cursor: pointer; text-align: center; background: #fafbfa; transition: all .15s; }
.dropzone i { font-size: 2.2rem; color: var(--r-green); }
.dropzone:hover, .dropzone.drag { border-color: var(--r-green); background: var(--r-green-l); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.photo-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.photo-order { width: 64px; }
.preview-sticky { position: sticky; top: 84px; }
.phone-frame { border: 10px solid #202124; border-radius: 36px; overflow: hidden; height: min(720px, calc(100vh - 140px)); background: #f4f5f4; box-shadow: 0 20px 40px rgba(0,0,0,.12); }
.phone-frame iframe { width: 100%; height: 100%; border: 0; }
.tips-card { background: #fff; border: 1px solid #e6e8e6; border-radius: 20px; padding: 20px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: var(--r-bg-soft); border-radius: 16px; padding: 14px; text-align: center; }
.stat i { color: var(--r-green); font-size: 1.2rem; }
.stat strong { display: block; font-size: 1.5rem; font-weight: 900; }
.stat span { font-size: .78rem; color: var(--r-muted); }
.empty-state { text-align: center; padding: 60px 16px; background: #fff; border-radius: 20px; border: 1px dashed #c9cdc9; }
.empty-state > i { font-size: 3rem; color: var(--r-green); }

/* Cartões de página no painel */
.page-card { background: #fff; border: 1px solid #e6e8e6; border-radius: 20px; overflow: hidden; height: 100%; }
.page-card-cover { height: 74px; background: linear-gradient(135deg, var(--theme), color-mix(in srgb, var(--theme) 45%, #fff)); background-size: cover; background-position: center; }
.page-card-body { padding: 0 18px 18px; position: relative; }
.page-card-avatar { margin-top: -32px; border: 4px solid #fff; }
.page-card-status { position: absolute; top: 12px; right: 16px; }
.page-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0; text-align: center; }
.page-stats div { background: var(--r-bg-soft); border-radius: 12px; padding: 8px 4px; }
.page-stats strong { display: block; font-weight: 900; font-size: 1.1rem; }
.page-stats span { font-size: .72rem; color: var(--r-muted); }

/* Admin */
.kpi { display: block; background: #fff; border: 1px solid #e6e8e6; border-radius: 18px; padding: 16px; height: 100%; color: var(--r-text); }
.kpi i { font-size: 1.3rem; }
.kpi strong { display: block; font-size: 1.7rem; font-weight: 900; line-height: 1.2; margin-top: 4px; }
.kpi span { font-size: .8rem; color: var(--r-muted); }
a.kpi:hover { box-shadow: var(--r-shadow); color: var(--r-text); }
.admin-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #80868b; font-weight: 800; background: #fafbfa; padding: 12px 16px; }
.admin-table td { padding: 12px 16px; }
.install-checks li:last-child { border-bottom: 0 !important; }

/* Toast de cópia */
.copy-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: #202124; color: #fff; padding: 10px 20px; border-radius: 24px; font-size: .9rem; opacity: 0; transition: all .25s; z-index: 3000; pointer-events: none; }
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================
   v2 — rede: contatos, indicações, pedidos, ajuda
   ========================================================= */
.home-logo { margin: 0 0 6px; }
.home-logo a { display: inline-block; }
.home-links a { display: inline-flex; align-items: center; gap: 5px; }
.home-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; width: 100%; margin-top: 28px; text-align: left; }
@media (max-width: 575px) { .home-cards { grid-template-columns: 1fr; } }
.home-card { display: flex; gap: 12px; align-items: center; border: 1px solid var(--r-border); border-radius: 18px; padding: 14px 16px; text-decoration: none; color: var(--r-text); background: #fff; transition: box-shadow .15s, border-color .15s; }
.home-card:hover { box-shadow: var(--r-shadow); border-color: transparent; color: var(--r-text); }
.home-card strong { display: block; }
.home-card small { color: var(--r-muted); line-height: 1.3; display: block; }
.home-card-icon { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.home-card-icon.orange { background: var(--r-orange-l); color: var(--r-orange); }
.home-card-icon.green { background: var(--r-green-l); color: var(--r-green); }
.home-offer a strong { color: var(--r-orange); }
.btn-search i { color: var(--r-orange); }
@media (max-width: 575px) { .home-center { padding-top: 6vh; } .search-buttons { display: flex; margin-top: 16px; } .btn-search:first-child { display: none; } }

/* Biolink: indicações e área */
.bio-endorsed { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; text-decoration: none; color: var(--r-text); font-size: .88rem; background: #fff8e1; border-radius: 20px; padding: 4px 12px 4px 6px; }
.bio-endorsed:hover { color: var(--r-text); background: #fff1c4; }
.bio-endorsed .stack { display: inline-flex; }
.bio-endorsed .stack .avatar { width: 24px; height: 24px; font-size: .6rem; border: 2px solid #fff; margin-left: -8px; }
.bio-endorsed .stack .avatar:first-child { margin-left: 0; }
.bio-count { margin-left: 8px; background: var(--r-orange-l); color: var(--r-orange); border-radius: 10px; padding: 0 8px; font-size: .75rem; letter-spacing: 0; }
.endorse-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.endorse-item { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--r-text); padding: 8px; border-radius: 14px; }
a.endorse-item:hover { background: #f6f7f6; color: var(--r-text); }
.endorse-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.endorse-text small { color: var(--r-muted); }
.endorse-note { font-size: .88rem; color: #3c4043; font-style: italic; }
.endorse-form { display: flex; gap: 8px; }
.endorse-form .form-control { border-radius: 14px; }
.btn-endorse { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--r-orange); color: var(--r-orange); font-weight: 800; border-radius: 14px; padding: 8px 16px; background: #fff; white-space: nowrap; }
.btn-endorse:hover, .btn-endorse.is-on { background: var(--r-orange); color: #fff; border-color: var(--r-orange); }
.endorse-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.endorse-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--r-border); border-radius: 18px; padding: 3px 12px 3px 4px; font-size: .82rem; text-decoration: none; color: var(--r-text); max-width: 100%; }
.endorse-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.endorse-chip:hover { background: #f6f7f6; color: var(--r-text); }
.btn-chip.endorse { color: #8a5a00; border-color: #ffe08a; background: #fff8e1; }
.bio-legal { margin-top: 10px; font-size: .75rem; }
.bio-legal a { background: none !important; box-shadow: none !important; padding: 0 !important; display: inline !important; text-decoration: underline; color: var(--r-muted); }
.contact-form .modal-body { padding-top: 12px; }

/* Pedidos */
.page-hero { background: linear-gradient(180deg, var(--r-orange-l), #fff); padding: 28px 0 22px; border-bottom: 1px solid #f3e3d8; }
.req-filters { display: grid; grid-template-columns: 2fr 1.4fr 1fr auto; gap: 8px; margin-top: 18px; }
@media (max-width: 767px) { .req-filters { grid-template-columns: 1fr 1fr; } .req-filters input { grid-column: 1 / -1; } .req-filters button { grid-column: 1 / -1; } }
.req-list { display: flex; flex-direction: column; gap: 12px; }
.req-card { background: #fff; border: 1px solid #e6e8e6; border-radius: 18px; padding: 16px 18px; }
.req-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .82rem; }
.req-cat { color: var(--r-green); font-weight: 700; text-decoration: none; }
.req-time { color: var(--r-muted); margin-left: auto; }
.req-title { display: block; font-size: 1.15rem; font-weight: 800; color: var(--r-text); text-decoration: none; margin: 8px 0 6px; line-height: 1.3; }
.req-title:hover { color: var(--r-orange); }
.req-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--r-muted); font-size: .85rem; }
.req-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.req-new-flag { font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--r-orange); margin-bottom: -6px; padding-left: 4px; }
.urgency-picker, .area-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 575px) { .urgency-picker, .area-picker { grid-template-columns: repeat(2, 1fr); } }
.urgency-picker .type-option span, .area-picker .type-option span { padding: 12px 6px; font-size: .88rem; }
.urgency-picker .type-option span i, .area-picker .type-option span i { font-size: 1.2rem; }
.note-card, .success-card { display: flex; gap: 12px; align-items: flex-start; border-radius: 16px; padding: 14px 16px; background: #f1f6fb; color: #23415c; font-size: .92rem; }
.note-card > i { font-size: 1.2rem; color: #1a73e8; }
.success-card { background: var(--r-green-l); color: #173d1f; }
.success-card > i { font-size: 1.8rem; color: var(--r-green-m); }
.success-card .input-group { max-width: 560px; }

/* Ajuda */
.help-hero { background: linear-gradient(180deg, #fff7ec, #fff); padding: 40px 0 28px; }
.help-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.help-cat { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--r-border); border-radius: 18px; padding: 16px; text-decoration: none; color: var(--r-text); background: #fff; }
.help-cat:hover { box-shadow: var(--r-shadow); border-color: transparent; color: var(--r-text); }
.help-cat strong, .help-cat small, .help-cat em { display: block; }
.help-cat small { color: var(--r-muted); }
.help-cat em { font-style: normal; font-size: .75rem; color: var(--r-orange); font-weight: 700; margin-top: 4px; }
.help-list { display: flex; flex-direction: column; border: 1px solid var(--r-border); border-radius: 18px; overflow: hidden; background: #fff; }
.help-item { display: flex; gap: 12px; align-items: center; padding: 14px 16px; text-decoration: none; color: var(--r-text); border-top: 1px solid #eef0ee; }
.help-item:first-child { border-top: 0; }
.help-item:hover { background: #fafbfa; color: var(--r-text); }
.help-item > i:first-child { font-size: 1.2rem; color: var(--r-green); }
.help-item strong, .help-item small { display: block; }
.help-item small { color: var(--r-muted); }
.help-article { background: #fff; }
.help-body { font-size: 1.05rem; line-height: 1.7; color: #2c2f33; }
.help-body ol, .help-body ul { padding-left: 1.4rem; }
.help-body li { margin-bottom: 6px; }
.help-tip { display: flex; gap: 10px; background: #fff8e1; border-radius: 14px; padding: 12px 14px; margin: 16px 0; font-size: .95rem; }
.help-tip > i { color: #e09a00; font-size: 1.2rem; }
.help-vote { margin-top: 32px; padding: 18px; border: 1px solid var(--r-border); border-radius: 18px; }
.help-contact { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: var(--r-orange-l); border-radius: 20px; padding: 20px 22px; }
.help-wa-card { display: flex; gap: 12px; align-items: center; border-radius: 18px; padding: 14px 18px; background: #e9fbf0; color: #0f5132; text-decoration: none; }
.help-wa-card > i:first-child { font-size: 1.8rem; color: #25d366; }
.help-wa-card strong, .help-wa-card small { display: block; }
.help-dot { border: 0; background: none; padding: 0 2px; color: #9aa0a6; font-size: .95rem; line-height: 1; vertical-align: 0; }
.help-dot:hover, .help-dot:focus { color: var(--r-orange); }
.help-fab { position: fixed; right: 18px; bottom: 18px; z-index: 1040; border: 0; border-radius: 26px; background: var(--r-green); color: #fff; padding: 10px 18px 10px 14px; font-weight: 800; box-shadow: 0 6px 18px rgba(0,0,0,.2); display: inline-flex; align-items: center; gap: 6px; }
.help-fab i { font-size: 1.1rem; }
.help-fab:hover { background: var(--r-green-d); }
@media (max-width: 575px) { .help-fab span { display: none; } .help-fab { padding: 12px 14px; } }
.help-panel { --bs-offcanvas-width: 440px; }
.help-panel .search-box { height: 44px; }
.help-panel-content { font-size: .98rem; line-height: 1.6; }
.help-panel-content h3 { font-size: 1.1rem; font-weight: 800; }
.help-panel-foot { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid #eee; padding-top: 14px; margin-top: 18px; }
.help-panel .ac-list { border-radius: 0 0 22px 22px; }
.legal h2 { font-size: 1.1rem; font-weight: 800; margin-top: 28px; }
.legal { line-height: 1.7; }

/* Painel v2 */
.kpi { min-height: 100%; }
.mini-chart { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding-top: 6px; }
.mini-bar { flex: 1; height: 100%; display: flex; align-items: flex-end; position: relative; }
.mini-bar { background: linear-gradient(transparent calc(100% - 1px), #eceeec 0); }
.mini-bar span { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 3px 3px 0 0; }
.mini-bar .v { background: #cfe8c4; }
.mini-bar .c { background: var(--r-orange); left: 25%; right: 25%; }
.mini-bar:hover .v { background: #a8d695; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; }
.legend-dot.views { background: #cfe8c4; }
.legend-dot.contacts { background: var(--r-orange); }
.lead-mini { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #f0f1f0; }
.lead-mini:last-child { border-bottom: 0; }
.lead-list { display: flex; flex-direction: column; gap: 10px; }
.lead-card { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: #fff; border: 1px solid #e6e8e6; border-radius: 18px; padding: 14px 16px; }
.lead-card.is-new { border-left: 4px solid var(--r-orange); }
.lead-main { flex: 1 1 340px; min-width: 0; }
.lead-msg { margin: 8px 0 0; color: #3c4043; background: #f8f9f8; border-radius: 12px; padding: 8px 12px; font-size: .92rem; }
.lead-actions { display: flex; gap: 8px; align-items: center; }
.progress-card { background: #fff; border: 1px solid #f3dccb; border-radius: 20px; padding: 16px 18px; }
.progress-ring { --p: 0; width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(var(--r-orange) calc(var(--p) * 1%), #f1f1f1 0); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.progress-ring span { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: .85rem; }
.progress-items { display: flex; flex-wrap: wrap; gap: 6px; }
.progress-item { border: 1px dashed #f0b893; background: #fffaf6; color: var(--r-orange-d); border-radius: 14px; padding: 4px 12px; font-size: .82rem; font-weight: 700; }
.progress-item.done { border: 1px solid #d5ead0; background: var(--r-green-l); color: var(--r-green); font-weight: 600; }
.choice-list { display: flex; flex-direction: column; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--r-border); border-radius: 14px; padding: 10px 14px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--r-orange); background: var(--r-orange-l); }
.choice input { margin-top: 4px; accent-color: var(--r-orange); }
.choice strong, .choice small { display: block; }
.choice small { color: var(--r-muted); }
.choice em { font-style: normal; font-size: .65rem; vertical-align: 2px; }
.pm-endorse { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; background: #fff8e1; border-radius: 10px; padding: 2px 8px; margin: -8px 0 12px; }
.pm-endorse span { width: 12px; height: 12px; border-radius: 50%; background: #8d6e63; margin-left: -4px; border: 1px solid #fff; }
.pm-endorse span:first-child { margin-left: 0; background: #e8590c; }
.pm-avatar { background: var(--r-orange) !important; }
.pm-cover { background: linear-gradient(135deg, var(--r-green), var(--r-green-m)) !important; }

/* v3 — pedidos com foto ou logo */
.req-card.has-thumb { display: flex; gap: 16px; align-items: flex-start; }
.req-body { flex: 1; min-width: 0; }
.req-thumb { width: 96px; height: 96px; border-radius: 16px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.req-thumb img { width: 100%; height: 100%; object-fit: cover; }
.req-thumb-logo { background: #fff; border: 1px solid #eceeec; }
.req-thumb-logo img { object-fit: contain; padding: 6px; }
.req-thumb-icon { background: linear-gradient(135deg, var(--r-orange-l), #fff6d6); color: var(--r-orange); font-size: 2.2rem; }
@media (max-width: 575px) { .req-thumb { width: 64px; height: 64px; border-radius: 12px; } .req-thumb-icon { font-size: 1.5rem; } .req-card.has-thumb { gap: 12px; padding: 14px; } .req-title { font-size: 1.02rem; } }
.req-by { color: var(--r-green); font-weight: 700; }
.req-by-card { display: flex; align-items: center; gap: 10px; border: 1px solid var(--r-border); border-radius: 16px; padding: 10px 14px; margin: 4px 0 14px; text-decoration: none; color: var(--r-text); max-width: 420px; }
.req-by-card:hover { background: #fafbfa; color: var(--r-text); }
.req-photo { display: block; margin: 0 0 16px; border-radius: 18px; overflow: hidden; background: #f1f3f1; }
.req-photo img { width: 100%; max-height: 460px; object-fit: cover; display: block; }
.upload-request { width: 100%; aspect-ratio: 16/7; }
.upload-request .upload-hint small { display: block; color: var(--r-muted); }
