/* ==========================================================================
   A OFICINA (TOUR)
   --------------------------------------------------------------------------
   Vídeo do tour numa moldura de celular (TourPlayer.js) e os diferenciais.
   ========================================================================== */

.tour {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
    align-items: center;
}

.phone {
    position: relative;
    width: min(100%,340px);
    justify-self: center;
    aspect-ratio: 9/16;
    border-radius: 34px;
    overflow: hidden;
    border: 10px solid var(--ink);
    box-shadow: 0 40px 70px -34px rgba(22,24,29,0.7);
    background: #000;
}

.phone video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone .play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 12px rgba(217,11,11,0.25);
    transition: opacity .3s ease, transform .2s ease;
}

.phone .play svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

.phone .play:hover {
    transform: scale(1.06);
}

.phone.playing .play {
    opacity: 0;
    pointer-events: none;
}

.feats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.feat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
}

.feat .ic {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--red-soft);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feat .ic svg {
    width: 24px;
    height: 24px;
}

.feat b {
    display: block;
    font-size: 1.08rem;
    margin-bottom: 4px;
}

.feat p {
    color: var(--muted);
    font-size: 0.93rem;
}

/* Título e texto ao lado do vídeo */
.tour-head {
    margin-bottom: 0;
}

.tour-intro {
    margin-top: 14px;
    color: var(--muted);
    font-size: 1.06rem;
}

/* --- Responsivo --------------------------------------------------------- */

@media (max-width:1100px) {
    .tour {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tour > * {
        min-width: 0;
    }
}

@media (max-width:760px) {
    .feats {
        grid-template-columns: 1fr;
    }
}
