* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5faff;
    color: #333;
    line-height: 1.6;
    font-family: 'Montserrat', Arial, sans-serif;
}

.container {
    max-width: 700px;
    margin: 30px auto 0 auto;
    padding: 0 10px 30px 10px;
}

.header-index {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(52,152,219,0.08);
    text-align: center;
    padding: 36px 20px 32px 20px;
    margin-bottom: 40px;
    position: relative;
}
.logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.header-index h1 {
    color: #2c3e50;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.header-index p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 18px;
}
.btn-avancada {
    display: inline-block;
    background: linear-gradient(90deg, #3498db 60%, #217dbb 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 32px;
    border-radius: 7px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(52,152,219,0.08);
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 8px;
}
.btn-avancada:hover {
    background: linear-gradient(90deg, #217dbb 60%, #3498db 100%);
    box-shadow: 0 4px 16px rgba(52,152,219,0.13);
}
.btn-orcamento {
    display: inline-block;
    background: linear-gradient(90deg, #27ae60 60%, #219150 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 32px;
    border-radius: 7px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(39,174,96,0.08);
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 14px;
    margin-left: 10px;
}
.btn-orcamento:hover {
    background: linear-gradient(90deg, #219150 60%, #27ae60 100%);
    box-shadow: 0 4px 16px rgba(39,174,96,0.13);
}
.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}
input[type="text"] {
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 300px;
    transition: border-color 0.3s ease;
}
input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
}
button {
    padding: 12px 30px;
    font-size: 16px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #2980b9;
}
.result-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.loading {
    text-align: center;
    padding: 20px;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    margin: 0 auto 10px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.company-info h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.info-item {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}
.info-item label {
    display: block;
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
}
.info-item span {
    color: #2c3e50;
}
.error-message {
    text-align: center;
    color: #e74c3c;
    padding: 20px;
}
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0 0 0;
    color: #666;
    font-size: 0.98rem;
    background: none;
}
@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        align-items: center;
    }
    input[type="text"] {
        width: 100%;
        max-width: 300px;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 0 2vw 30px 2vw;
    }
    .header-index h1 {
        font-size: 1.5rem;
    }
}

.mapa-empresa {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    height: 250px;
}

#mapid {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 10px;
}

.mapa-empresa img {
    max-width: 100%;
    width: 400px;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 10px;
}

.result-table th, .result-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
}
.result-table th {
    background: #f5f5f5;
    position: sticky;
    top: 0;
    z-index: 2;
}
.result-table tr:nth-child(even) {
    background: #f9f9f9;
}
.result-table tr:hover {
    background: #eaf6ff;
}
.btn-baixar {
    background: #27ae60;
    color: #fff;
    padding: 8px 18px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 15px;
    cursor: pointer;
}
.btn-vermais {
    background: #2980b9;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 14px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 95vw;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.modal-close {
    float: right;
    font-size: 22px;
    font-weight: bold;
    color: #e74c3c;
    cursor: pointer;
}
@media (max-width: 900px) {
    .filtros-form { flex-direction: column; }
    .filtros-form .filtro-item { min-width: 100%; }
    .result-table th, .result-table td { font-size: 13px; }
} 