:root {
    --texto-app: #424242;
    --laranja-app: #FD8139;
    --rosa-app: #D5618F;
    --bg-app: #F7F7F7;
    --card: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
    --radius: 18px;
}

html, body {
    height: 100%;
}

body {
    color: var(--texto-app);
    background: var(--bg-app);
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-main {
    flex: 1 0 auto;
}

/* Brand */
.brand {
    font-weight: 800;
    letter-spacing: .2px;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--laranja-app), var(--rosa-app));
    display: inline-block;
}

/* Buttons */
.btn-brand {
    background: var(--laranja-app);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 14px;
    padding: .6rem 1rem;
    box-shadow: 0 10px 20px rgba(253,129,57,.25);
}

    .btn-brand:hover {
        filter: brightness(.95);
        color: #fff;
    }

.btn-outline-brand {
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    color: var(--texto-app);
    font-weight: 700;
    border-radius: 14px;
    padding: .6rem 1rem;
}

    .btn-outline-brand:hover {
        border-color: rgba(0,0,0,.22);
    }

/* Sections / Cards */
.section {
    padding: 64px 0;
}

.card-soft {
    background: var(--card);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Hero */
.hero {
    background: radial-gradient(1200px 600px at 20% 10%, rgba(213,97,143,.22), transparent 60%), radial-gradient(1200px 600px at 90% 0%, rgba(253,129,57,.18), transparent 55%);
    padding: 72px 0;
}

    .hero h1 {
        font-weight: 900;
        line-height: 1.1;
    }

    .hero .lead {
        color: rgba(66,66,66,.8);
    }

.hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 10px 20px rgba(0,0,0,.04);
    font-weight: 600;
    font-size: .92rem;
}

/* Screenshot placeholders */
.sshot {
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.02));
    border: 1px dashed rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(66,66,66,.6);
    font-weight: 700;
}

/* Forms */
.form-control, .form-select {
    border-radius: 14px;
    border: 1px solid #ddd;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--rosa-app);
        box-shadow: 0 0 0 .2rem rgba(213,97,143,.18);
    }

/* Pills / filters */
.filter-box {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius);
    padding: 18px;
}

.filter-title {
    font-weight: 800;
    margin-bottom: 10px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

@media (max-width: 768px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.app-footer {
    flex-shrink: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.06);
}

.link-muted {
    color: rgba(66,66,66,.72);
    text-decoration: none;
}

    .link-muted:hover {
        color: var(--texto-app);
        text-decoration: underline;
    }

/* linha do checkbox */
.chk-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem .6rem;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    background: #fff;
}

.chk-text {
    color: var(--texto-app);
    font-weight: 600;
}

/* 2) quando marcado, texto e checkbox viram #D5618F */
.chk-row.is-checked {
    border-color: rgba(213,97,143,.35);
    box-shadow: 0 0 0 .15rem rgba(213,97,143,.12);
}

    .chk-row.is-checked .chk-text {
        color: var(--rosa-app);
    }

/* checkbox “puxado” para rosa */
.chk-pink:checked {
    background-color: var(--rosa-app);
    border-color: var(--rosa-app);
}

.prestador-card {
    display: flex;
    gap: 14px;
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,.04);
}

.prestador-logo {
    width: 72px;
    min-width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,.06);
    background: rgba(213,97,143,.10); /* rosa leve */
}

.prestador-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prestador-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 24px;
    color: var(--rosa-app);
}

.prestador-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.prestador-title {
    font-weight: 900;
    font-size: 16px;
    color: var(--texto-app);
    line-height: 1.2;
}

.prestador-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: rgba(66,66,66,.85);
    font-size: 13px;
}

.prestador-meta-item {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.prestador-meta-label {
    font-weight: 800;
    color: rgba(66,66,66,.75);
}

.prestador-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

@media (max-width: 576px) {
    .prestador-card {
        flex-direction: row;
    }

    .prestador-actions {
        flex-wrap: wrap;
    }
}

.phone-link {
    font-weight: 800;
    color: var(--rosa-app);
    text-decoration: none;
}

    .phone-link:hover {
        text-decoration: underline;
    }

.prestador-actions .btn {
    border-radius: 14px;
    font-weight: 700;
}

.prestador-actions .btn-brand {
    box-shadow: 0 6px 14px rgba(253,129,57,.25);
}

/* =========================
   SERVIÇOS (chips) - AJUSTADO
   ========================= */

/* GRID */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (min-width: 768px) {
    .servicos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Em celulares muito estreitos, 1 coluna evita esmagar o texto */
@media (max-width: 420px) {
    .servicos-grid {
        grid-template-columns: 1fr;
    }
}

/* CHIP */
.servico-chip {
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    border-radius: 18px;
    padding: 12px 12px;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 8px 18px rgba(0,0,0,.04);
    transition: transform .06s ease, box-shadow .12s ease, border-color .12s ease;
}

    .servico-chip:active {
        transform: scale(.99);
    }

.servico-chip-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0; /* essencial p/ ellipsis funcionar */
    flex: 1 1 auto; /* <-- dá espaço pro texto no mobile */
}

.servico-chip-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253,129,57,.12);
    color: var(--laranja-app);
    flex: 0 0 auto;
    font-size: 18px;
}

/* <-- ESTE É O PULO DO GATO: sem flex aqui o texto pode colapsar no mobile */
.servico-chip-text {
    min-width: 0;
    flex: 1 1 auto;
    display: block;
}

.servico-chip-title {
    font-weight: 900;
    color: var(--texto-app);
    font-size: 14px;
    line-height: 1.1;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.servico-chip-sub {
    font-size: 12px;
    color: rgba(66,66,66,.65);
    margin-top: 2px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.servico-chip-badge {
    font-size: 12px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(253,129,57,.12);
    color: var(--laranja-app);
    white-space: nowrap;
    flex: 0 0 auto; /* não deixa a badge esmagar o texto */
}

/* Selecionado */
.servico-chip.is-selected {
    border-color: rgba(213,97,143,.55);
    box-shadow: 0 10px 24px rgba(213,97,143,.10);
    background: rgba(213,97,143,.06);
}

    .servico-chip.is-selected .servico-chip-icon {
        background: rgba(213,97,143,.14);
        color: var(--rosa-app);
    }

    .servico-chip.is-selected .servico-chip-badge {
        background: rgba(213,97,143,.14);
        color: var(--rosa-app);
    }

/* Ajuste fino MOBILE: reduz um pouco e garante que o texto fique visível */
@media (max-width: 576px) {
    .servico-chip {
        padding: 10px 10px;
    }

    .servico-chip-icon {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 16px;
    }

    .servico-chip-title {
        font-size: 13px;
    }

    .servico-chip-sub {
        font-size: 11px;
    }

    /* Se estiver apertado demais, a badge diminui e não “mata” o texto */
    .servico-chip-badge {
        font-size: 11px;
        padding: 5px 8px;
    }
}


.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.auth-title {
    margin: 0 0 18px 0;
    font-size: 24px;
    font-weight: 700;
    color: #424242;
}

.auth-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-input {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 0 12px;
    outline: none;
    font-size: 15px;
}

    .auth-input:focus {
        border-color: #8B3A62;
        box-shadow: 0 0 0 4px rgba(139,58,98,.10);
    }

.auth-validation {
    color: #b00020;
    font-size: 12px;
}

.auth-alert {
    background: #fff2f4;
    border: 1px solid #ffd0d7;
    color: #8a1b2b;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 14px;
}

.btn-site {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: #8B3A62;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .06s ease, opacity .15s ease, box-shadow .15s ease;
    box-shadow: 0 10px 20px rgba(139,58,98,.22);
}

    .btn-site:hover {
        opacity: .95;
    }

    .btn-site:active {
        transform: translateY(1px);
    }
.img-tile {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
}

.img-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 0;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

    .btn-remove:hover {
        background: rgba(0,0,0,.78);
    }

.badge-new {
    position: absolute;
    left: 6px;
    bottom: 6px;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(213,97,143,.90);
    color: #fff;
    font-weight: 800;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-box {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    text-align: center;
    min-width: 240px;
}

    .loading-box .spinner-border {
        width: 2.2rem;
        height: 2.2rem;
    }

.loading-title {
    font-weight: 900;
    margin-top: 10px;
}

.loading-sub {
    font-size: 12px;
    color: rgba(66,66,66,.75);
}


.validation-summary-errors ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.validation-summary-errors li {
    margin: 0;
}

.brand-logo {
    height: 34px; /* padrão pro navbar */
    width: auto;
    display: block;
    object-fit: contain;
}

@media (min-width: 992px) {
    .brand-logo {
        height: 38px; /* um pouco maior no desktop */
    }
}

.brand-name {
    font-weight: 800;
    letter-spacing: .2px;
}

.footer-logo {
    height: 28px; /* discreto e elegante */
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-brand-name {
    font-weight: 800;
    letter-spacing: .2px;
}

/* =========================================================
   HERO - LAYOUT IGUAL AO "imagelayout"
   (card grande à esquerda + 2 banners à direita)
   ========================================================= */

/* Alias: se você ainda usa <section class="hero"> */
.hero,
.hero-v2 {
    /* tira o fundo radial antigo para ficar igual ao mock (fundo clean) */
    background: transparent;
    padding: 26px 0 14px;
}

    /* Mantém seus títulos bonitos */
    .hero h1,
    .hero-v2 h1 {
        font-weight: 900;
        line-height: 1.08;
        letter-spacing: -0.4px;
    }

/* Card grande esquerda */
.hero-left-card {
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    height: 100%;
}

/* Área da imagem do card grande */
.hero-left-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f6f6f6;
}

    .hero-left-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Texto e botões abaixo da imagem, como no mock */
.hero-left-body {
    padding: 22px 22px 24px;
}

.hero-title {
    margin: 0;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.4px;
    font-size: clamp(28px, 3.2vw, 44px);
    color: #1c1c1c;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

    /* Botões no mock são mais "pill" */
    .hero-actions .btn,
    .hero-banner-actions .btn {
        border-radius: 999px;
    }

    /* Opcional: deixa o btn-brand do hero mais parecido sem afetar o resto do site */
    .hero-actions .btn-brand,
    .hero-banner-actions .btn-brand {
        padding: .58rem 1rem;
    }

/* =========================================================
   DIREITA: 2 banners empilhados com texto sobre a imagem
   ========================================================= */

.hero-right-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 100%;
}

/* Banner como card com imagem de fundo */
.hero-banner {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 210px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

/* Camada escura para leitura do texto (igual ao mock) */
.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,0) 100%);
}

/* Conteúdo do banner */
.hero-banner-content {
    position: absolute;
    inset: 0;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.hero-banner-title {
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.3px;
    line-height: 1.05;
    font-size: clamp(20px, 2.2vw, 34px);
    text-shadow: 0 6px 18px rgba(0,0,0,.35);
}

    .hero-banner-title .accent {
        color: var(--laranja-app);
    }

/* Botões dentro do banner */
.hero-banner-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Botões claros dentro do banner (sem mexer no seu .btn-outline-brand global) */
.hero-banner .btn-light {
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.55);
    color: #1c1c1c;
    font-weight: 800;
    border-radius: 999px;
    padding: .42rem .75rem;
}

    .hero-banner .btn-light:hover {
        background: rgba(255,255,255,.96);
    }

/* =========================================================
   NAV - deixa mais parecido com o mock (links simples + botão laranja)
   ========================================================= */

.nav-v2 .nav-link {
    color: #1c1c1c;
    font-weight: 700;
    font-size: 14px;
}

    .nav-v2 .nav-link:hover {
        color: #000;
    }

.nav-v2-actions .nav-link {
    opacity: .9;
}

/* =========================================================
   Pequenos ajustes de responsividade
   ========================================================= */
@media (max-width: 991.98px) {
    .hero-right-stack {
        grid-template-rows: auto;
    }

    .hero-banner {
        min-height: 220px;
    }

    /* dá um respiro para o hero em telas menores */
    .hero-left-body {
        padding: 18px 18px 20px;
    }
}

/* Em mobile bem pequeno, botões ficam 100% sem ficar feio */
@media (max-width: 420px) {
    .hero-actions .btn,
    .hero-banner-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
