/* ==========================================================================
   Área de Prestadores (/prestadores) — mobile primeiro, alvos de toque >= 48px
   Prefixo .pv-  ·  usa tokens de lsb27.css e a marca de lsb-brand.css
   ========================================================================== */
.pv { --pv-wa: #0f7a3f; --pv-wa-dark: #0a5f2f; color: var(--lsb-ink); background: var(--lsb-sand, #fffaf2); }
:where(.pv) :is(h1, h2, h3, p, ul, ol) { margin: 0; }
.pv ul, .pv ol { padding: 0; list-style: none; }

/* ---- Hero ---- */
.pv-hero { position: relative; isolation: isolate; background: linear-gradient(160deg, #12384F 0%, #2B5A75 62%, #3a7194 100%); color: #fff; padding: clamp(104px, 18vw, 150px) 0 clamp(64px, 9vw, 104px); overflow: hidden; }
.pv-hero--cat { padding-top: clamp(96px, 15vw, 130px); padding-bottom: clamp(56px, 8vw, 88px); }
.pv-hero__inner { position: relative; z-index: 1; display: grid; gap: 14px; }
.pv-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8125rem; color: var(--lsb-sun-100, #ffe9c2); }
.pv-hero h1 { font-family: var(--lsb-font-display); font-weight: 650; font-variation-settings: 'SOFT' 100; font-size: clamp(1.9rem, 6.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.015em; max-width: 18ch; text-wrap: balance; color: #fff; }
.pv-hero--cat h1 { max-width: 24ch; }
.pv-hero__sub { font-size: clamp(1.02rem, 2.6vw, 1.2rem); line-height: 1.55; max-width: 52ch; color: rgba(255, 255, 255, .92); }
.pv-hero__row { display: flex; align-items: center; gap: 18px; }
.pv-hero__ico { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); }
.pv-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; opacity: .92; width: fit-content; }
.pv-back:hover { opacity: 1; text-decoration: underline; }
.pv-back__ico { transform: scaleX(-1); }

/* ---- Busca ---- */
.pv-search { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 10px; max-width: 640px; background: #fff; color: var(--lsb-ink); border-radius: 20px; padding: 0 14px 0 18px; min-height: 64px; box-shadow: 0 14px 40px rgba(8, 40, 61, .35); }
.pv-search:focus-within { outline: 3px solid var(--lsb-sun); outline-offset: 2px; }
.pv-search svg { flex: none; color: var(--lsb-lake-700); }
.pv-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.1rem; min-height: 60px; color: var(--lsb-ink); }
.pv-search input::placeholder { color: var(--lsb-ink-3); }
.pv-search__clear { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--lsb-lake-100); color: var(--lsb-lake-800); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pv-chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; margin: 6px -2px 0; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pv-chips::-webkit-scrollbar { display: none; }
.pv-chips li { flex: none; scroll-snap-align: start; }
.pv-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .38); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.pv-chips a:hover, .pv-chips a:focus-visible { background: #fff; color: var(--lsb-lake-900); }
.pv-chips a:hover .lsb-bi { --bi-stroke: #2B5A75; }

/* ---- Resultados da busca ---- */
.pv-results { padding: 28px 0 8px; }
.pv-results__count { font-weight: 700; color: var(--lsb-lake-800); margin-bottom: 12px; }
.pv-results__list { display: grid; gap: 12px; }
.pv-results__none { text-align: center; padding: 24px 0; display: grid; gap: 14px; justify-items: center; color: var(--lsb-ink-2); }
.pv-hit { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--lsb-line); border-radius: 18px; padding: 12px 14px; box-shadow: var(--lsb-shadow-1); }
.pv-hit__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #eaf3fa; }
.pv-hit__txt { min-width: 0; }
.pv-hit__txt a { color: var(--lsb-ink); font-weight: 700; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-hit__txt span { display: block; font-size: .875rem; color: var(--lsb-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Seções ---- */
.pv-section { padding-block: clamp(40px, 6vw, 72px); }
.pv-section--alt { background: #fff; }
.pv-section--tight { padding-block: clamp(28px, 4vw, 44px); }
.pv-head { margin-bottom: clamp(18px, 3vw, 30px); display: grid; gap: 6px; }
.pv-head h2 { font-family: var(--lsb-font-display); font-weight: 650; font-variation-settings: 'SOFT' 100; font-size: clamp(1.5rem, 4.4vw, 2.2rem); line-height: 1.15; color: var(--lsb-lake-900); text-wrap: balance; }
.pv-head p { color: var(--lsb-ink-2); font-size: 1.05rem; max-width: 60ch; }

/* ---- Categorias ---- */
.pv-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pv-cat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 148px; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid var(--lsb-line); text-decoration: none; color: var(--lsb-ink); box-shadow: var(--lsb-shadow-1); transition: transform .22s var(--lsb-ease), box-shadow .22s, border-color .22s; }
.pv-cat:hover, .pv-cat:focus-visible { transform: translateY(-3px); box-shadow: var(--lsb-shadow-2); border-color: var(--lsb-lake-200); }
.pv-cat__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #eaf3fa; margin-bottom: 6px; }
.pv-cat--1 .pv-cat__ico { background: #fff2d3; }
.pv-cat--2 .pv-cat__ico { background: #ffe9e1; }
.pv-cat__name { font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.pv-cat__n { font-size: .875rem; color: var(--lsb-ink-3); }
.pv-cat.is-empty { opacity: .72; }

/* ---- Cards de prestador ---- */
.pv-grid { display: grid; gap: 14px; }
.pv-card { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--lsb-line); border-radius: 22px; padding: 16px; box-shadow: var(--lsb-shadow-1); }
.pv-card--top { border-color: var(--lsb-sun); box-shadow: 0 0 0 2px rgba(246, 190, 69, .35), var(--lsb-shadow-1); }
.pv-card__head { display: flex; gap: 14px; align-items: center; }
.pv-card__ico { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #eaf3fa; overflow: hidden; }
.pv-card__ico img { width: 100%; height: 100%; object-fit: cover; }
.pv-card__id { min-width: 0; display: grid; gap: 2px; }
.pv-card__name { font-size: 1.12rem; line-height: 1.2; font-weight: 700; }
.pv-card__name a { color: var(--lsb-ink); text-decoration: none; }
.pv-card__name a:hover { text-decoration: underline; }
.pv-card__cat { font-size: .875rem; color: var(--lsb-lake-700); font-weight: 600; }
.pv-card__rate { display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--lsb-ink-2); min-height: 22px; }
.pv-card__norate { color: var(--lsb-ink-3); font-size: .85rem; }
.pv-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 4px 12px 4px 8px; border-radius: 999px; background: var(--lsb-sun-50); color: #7a4b00; font-weight: 700; font-size: .8125rem; }
.pv-card__desc { color: var(--lsb-ink-2); line-height: 1.5; font-size: .98rem; }
.pv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-tags li { padding: 4px 10px; border-radius: 999px; background: var(--lsb-lake-50); color: var(--lsb-lake-800); font-size: .8125rem; font-weight: 600; }
.pv-card__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 4px; }
.pv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: 16px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .18s var(--lsb-ease), background .18s, color .18s; cursor: pointer; }
.pv-btn:active { transform: scale(.98); }
.pv-btn--wa { background: var(--pv-wa); color: #fff; grid-column: 1 / -1; }
.pv-btn--wa:hover { background: var(--pv-wa-dark); color: #fff; }
.pv-btn--call { border-color: var(--lsb-lake-800); color: var(--lsb-lake-800); background: #fff; }
.pv-btn--call:hover { background: var(--lsb-lake-800); color: #fff; }
.pv-btn--call:hover .lsb-bi { --bi-stroke: #fff; }
.pv-btn--ghost { color: var(--lsb-lake-800); background: var(--lsb-lake-50); }
.pv-btn--ghost:hover { background: var(--lsb-lake-100); }
.pv-card__actions .pv-btn--call, .pv-card__actions .pv-btn--ghost { min-height: 48px; }
.pv-card__actions:not(:has(.pv-btn--call)) .pv-btn--ghost { grid-column: 1 / -1; }

/* ---- Filtro / vazio / pills ---- */
.pv-filter { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--lsb-line); border-radius: 16px; padding: 0 16px; min-height: 56px; margin-bottom: 18px; box-shadow: var(--lsb-shadow-1); }
.pv-filter:focus-within { outline: 3px solid var(--lsb-lake-500); outline-offset: 2px; }
.pv-filter input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.05rem; min-height: 52px; color: var(--lsb-ink); }
.pv-empty { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 40px 0; color: var(--lsb-ink-2); }
.pv-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pv-pills a { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--lsb-line); color: var(--lsb-ink); font-weight: 600; text-decoration: none; box-shadow: var(--lsb-shadow-1); }
.pv-pills a:hover { border-color: var(--lsb-lake-500); background: var(--lsb-lake-50); }

/* ---- Como funciona ---- */
.pv-steps { display: grid; gap: 14px; counter-reset: s; }
.pv-steps li { position: relative; background: #fff; border: 1px solid var(--lsb-line); border-radius: 22px; padding: 22px 20px 20px 84px; box-shadow: var(--lsb-shadow-1); }
.pv-steps__n { position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--lsb-sun); color: var(--lsb-lake-950); font-family: var(--lsb-font-display); font-weight: 700; font-size: 1.4rem; }
.pv-steps h3 { font-size: 1.15rem; margin-bottom: 4px; color: var(--lsb-lake-900); }
.pv-steps p { color: var(--lsb-ink-2); line-height: 1.55; }

/* ---- CTA ---- */
.pv-cta { background: linear-gradient(135deg, var(--lsb-sun-100) 0%, #ffd987 100%); padding: clamp(36px, 6vw, 64px) 0; }
.pv-cta__inner { display: grid; gap: 22px; align-items: center; }
.pv-cta h2 { font-family: var(--lsb-font-display); font-weight: 650; font-variation-settings: 'SOFT' 100; font-size: clamp(1.5rem, 4.6vw, 2.2rem); line-height: 1.15; color: var(--lsb-lake-950); text-wrap: balance; }
.pv-cta p { margin-top: 8px; color: #4a3500; font-size: 1.05rem; max-width: 56ch; }
.pv-cta__points { display: grid; gap: 8px; margin-top: 16px; }
.pv-cta__points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--lsb-lake-950); }
.pv-cta .lsb-btn { justify-self: start; }

/* ---- FAQ / notas ---- */
.pv-faq { max-width: 820px; }
.pv-faq__item { background: #fff; border: 1px solid var(--lsb-line); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--lsb-shadow-1); }
.pv-faq__item summary { cursor: pointer; padding: 16px 18px; min-height: 56px; display: flex; align-items: center; font-weight: 700; color: var(--lsb-lake-900); list-style: none; }
.pv-faq__item summary::-webkit-details-marker { display: none; }
.pv-faq__item summary::after { content: '+'; margin-left: auto; padding-left: 12px; font-size: 1.5rem; color: var(--lsb-lake-500); }
.pv-faq__item[open] summary::after { content: '–'; }
.pv-faq__item p { padding: 0 18px 18px; color: var(--lsb-ink-2); line-height: 1.6; }
.pv-note { margin-top: 18px; color: var(--lsb-ink-2); line-height: 1.55; }
.pv-note a { color: var(--lsb-lake-800); font-weight: 700; }
.pv-note--small { font-size: .875rem; color: var(--lsb-ink-3); margin-top: 8px; }

/* ---- Formulário ---- */
.pv-formwrap { max-width: 680px; }
.pv-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; background: #fff; border: 1px solid var(--lsb-line); border-radius: 26px; padding: clamp(18px, 4vw, 32px); box-shadow: var(--lsb-shadow-1); }
.pv-field { grid-column: 1 / -1; display: grid; gap: 6px; }
.pv-field--half { grid-column: span 1; }
.pv-field label { font-weight: 700; color: var(--lsb-lake-900); }
.pv-field input, .pv-field select, .pv-field textarea { width: 100%; font: inherit; font-size: 1.05rem; min-height: 54px; padding: 12px 14px; border: 2px solid var(--lsb-line); border-radius: 14px; background: #fff; color: var(--lsb-ink); }
.pv-field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.pv-field input:focus, .pv-field select:focus, .pv-field textarea:focus { outline: 0; border-color: var(--lsb-lake-500); box-shadow: 0 0 0 4px rgba(58, 139, 184, .2); }
.pv-field small { color: var(--lsb-ink-3); font-size: .875rem; }
.pv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pv-consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; color: var(--lsb-ink-2); cursor: pointer; }
.pv-consent input { flex: none; width: 26px; height: 26px; margin-top: 2px; accent-color: var(--lsb-lake-800); }
.pv-form .cf-turnstile, .pv-form__msg, .pv-form .lsb-btn { grid-column: 1 / -1; }
.pv-form__msg { padding: 12px 16px; border-radius: 14px; background: var(--lsb-coral-100); color: #7a2208; font-weight: 600; }
.pv-done { text-align: center; display: grid; justify-items: center; gap: 14px; background: #fff; border: 1px solid var(--lsb-line); border-radius: 26px; padding: 40px 24px; box-shadow: var(--lsb-shadow-1); }
.pv-done h2 { font-family: var(--lsb-font-display); color: var(--lsb-lake-900); }
.pv-done p { color: var(--lsb-ink-2); max-width: 44ch; line-height: 1.55; }

/* ---- Telas maiores ---- */
@media (min-width: 560px) {
    .pv-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pv-card__actions { grid-template-columns: 1fr auto auto; }
    .pv-btn--wa { grid-column: auto; }
    .pv-card__actions:not(:has(.pv-btn--call)) { grid-template-columns: 1fr auto; }
    .pv-card__actions:not(:has(.pv-btn--call)) .pv-btn--ghost { grid-column: auto; }
}
@media (min-width: 760px) {
    .pv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pv-steps li { padding: 84px 20px 22px; }
    .pv-steps__n { left: 20px; top: 20px; }
    .pv-cta__inner { grid-template-columns: 1fr auto; }
    .pv-cta .lsb-btn { justify-self: end; }
}
@media (min-width: 960px) {
    .pv-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) { .pv-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 420px) {
    .pv-form { grid-template-columns: 1fr; }
    .pv-field--half { grid-column: 1 / -1; }
    .pv-hero__ico { width: 64px; height: 64px; border-radius: 20px; }
    .pv-hero__ico svg { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .pv-cat, .pv-btn { transition: none; } }

.pv-soon { margin: 28px 0 12px; font-weight: 700; color: var(--lsb-ink-2); }
.pv-pills--soon a { min-height: 48px; font-weight: 500; font-size: .95rem; opacity: .9; border-style: dashed; }
.pv-search input::-webkit-search-cancel-button, .pv-filter input::-webkit-search-cancel-button { display: none; -webkit-appearance: none; }
.pv-search input:focus, .pv-search input:focus-visible, .pv-filter input:focus, .pv-filter input:focus-visible { outline: none !important; box-shadow: none !important; }
.pv-card, .pv-cat, .pv-hit { min-width: 0; }
.pv-card__desc, .pv-card__name { overflow-wrap: anywhere; }
.pv-btn { min-width: 0; text-align: center; }
