/* Reset básico */
* { margin: 0; padding: 0; box-sizing: border-box; }
body, html { height: 100%; font-family: var(--fonte-corpo); }

.container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Sidebar */
.sidebar {
    width: 450px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--cor-borda);
    z-index: 10;
}

header {
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--cor-fundo);
}

/* Cards da Lista */
.card {
    border: 1px solid var(--cor-borda);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mapa */
#map {
    flex: 1;
    height: 100%;
}

/* Etiqueta de Preço (Marcador) */
.price-tag {
    background-color: var(--cor-fundo);
    border: 1px solid var(--cor-borda);
    border-radius: 20px;
    padding: 5px 12px;
    font-weight: bold;
    font-size: 14px;
    color: var(--cor-texto);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
    transition: transform 0.2s, background 0.2s;
}

.price-tag:hover, .price-tag.selected {
    background-color: var(--cor-texto);
    color: var(--cor-fundo);
    transform: scale(1.1);
}

/* Estilo do Campo de Busca */
.search-container {
    margin-top: 15px;
}

#busca {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

#busca:focus {
    border-color: var(--cor-texto);
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* Esconder elementos que não batem com a busca */
.hidden {
    display: none !important;
}

.servico-item {
    padding: 15px;
    border-bottom: 1px solid var(--cor-borda);
    transition: background 0.3s;
    cursor: pointer;
}

.servico-item:hover {
    background-color: var(--cor-superficie-2);
}

.servico-item h3 {
    margin: 0 0 5px 0;
    color: var(--cor-texto);
    font-size: 1.1rem;
}

.servico-item p {
    margin: 0;
    color: var(--cor-texto-suave);
    font-size: 0.9rem;
}