.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--success));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.logo h1 { font-size: 1.5rem; font-weight: 800; }
.logo h1 span { font-weight: 300; color: var(--text-secondary); }

.version-tag {
    background: rgba(56,189,248,0.12);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    border: 1px solid rgba(56,189,248,0.25);
}

/* Grid principal */
.app-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* Sidebar do planejador */
.planner-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
}

.planner-panel h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Área do mapa */
.map-area {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    overflow: hidden;
    min-height: 500px;
    position: relative;
}

#map {
    width: 100%;
    height: 500px;
    background: #0d1321;
}

/* Resultados */
.results-area {
    grid-column: 1 / -1;
    display: none;
}

.results-area.active {
    display: block;
    animation: fadeUp 0.5s ease;
}

/* Footer */
footer {
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@media (max-width: 860px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
    .container { padding: 1rem; }
    header { flex-direction: column; gap: 1rem; text-align: center; }
    #map { height: 350px; }
}
