/* Tour 360° — visualizador de panoramas (página Nosso Espaço) */

.nai-tour360 {
    padding-top: 2rem;
}

.tour360-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tour360-viewer {
    width: 100%;
    height: 60vh;
    min-height: 340px;
    max-height: 560px;
    border-radius: var(--nai-radius-lg, 12px);
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: var(--nai-shadow-sm, 0 1px 3px rgba(0, 0, 0, .1));
}

.tour360-hint {
    margin: 0;
    text-align: center;
    font-size: .875rem;
    color: var(--nai-text-muted, #6b7280);
}

.tour360-switcher {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.tour360-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 140px;
    padding: 6px;
    border: 2px solid transparent;
    border-radius: var(--nai-radius-lg, 12px);
    background: transparent;
    cursor: pointer;
    font: inherit;
    transition: border-color .2s ease, transform .2s ease;
}

.tour360-scene img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.tour360-scene span {
    font-size: .8125rem;
    font-weight: 500;
    color: var(--nai-text, #1f2937);
    text-align: center;
    line-height: 1.3;
}

.tour360-scene:hover {
    transform: translateY(-2px);
}

.tour360-scene.is-active {
    border-color: var(--nai-primary, #2D5A3D);
}

@media (max-width: 640px) {
    .tour360-viewer {
        height: 46vh;
        min-height: 260px;
    }
    .tour360-scene {
        width: 108px;
    }
}
