
*{
    box-sizing:border-box;
}

html,
body{
    margin:0;
    min-height:100%;
    background:#050505;
    color:#fff;
    font-family:-apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Arial, sans-serif;
}

.portfolio-tv-page{
    overflow-x:hidden;
}

.tv-app{
    min-height:100vh;
    display:grid;
    grid-template-columns:280px 1fr;
    background:
        radial-gradient(circle at 68% 8%, rgba(201,120,88,.18), transparent 28%),
        radial-gradient(circle at 50% 70%, rgba(255,255,255,.08), transparent 34%),
        linear-gradient(180deg, #050505 0%, #12171A 100%);
}

.tv-sidebar{
    position:fixed;
    inset:0 auto 0 0;
    width:280px;
    padding:34px 18px;
    background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border-right:1px solid rgba(255,255,255,.10);
    backdrop-filter:blur(28px) saturate(160%);
    -webkit-backdrop-filter:blur(28px) saturate(160%);
    z-index:50;
}


.tv-sidebar-logo{

    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;

    margin:0 0 38px 0;

    background:none;
    border:none;
    box-shadow:none;

}


.tv-side-item{
    display:flex;
    align-items:center;
    gap:14px;
    min-height:46px;
    padding:0 14px;
    border-radius:12px;
    color:rgba(255,255,255,.72);
    font-size:17px;
    font-weight:650;
    text-decoration:none;
    margin-bottom:8px;
}

.tv-side-item.active,
.tv-side-item:hover{
    color:#fff;
    background:rgba(255,255,255,.10);
}

.tv-sidebar-label{
    display:block;
    margin:34px 0 16px;
    color:rgba(255,255,255,.28);
    font-weight:700;
}

.tv-content{
    grid-column:2;
    padding:118px 44px 70px;
}

.tv-hero{
    min-height:460px;
    border-radius:36px;
    display:flex;
    align-items:flex-end;
    padding:70px;
    background:none !important;
    box-shadow:0 40px 90px rgba(0,0,0,.45);
}

.tv-kicker{
    color:#C97858;
    text-transform:uppercase;
    letter-spacing:.16em;
    font-weight:800;
    font-size:13px;
}

.tv-hero h1{
    margin:14px 0 12px;
    font-size:clamp(52px, 8vw, 110px);
    letter-spacing:-.07em;
    line-height:.9;
}

.tv-hero p{
    max-width:560px;
    color:rgba(255,255,255,.72);
    font-size:22px;
    line-height:1.45;
}

.tv-hero-button{
    display:inline-flex;
    margin-top:22px;
    padding:16px 28px;
    border-radius:999px;
    color:#111;
    background:#fff;
    text-decoration:none;
    font-weight:800;
}

.tv-row{
    margin-top:42px;
}

.tv-row h2{
    margin:0 0 22px;
    font-size:28px;
    letter-spacing:-.04em;
}

.tv-cards{
    display:grid;
    grid-template-columns:repeat(4, minmax(230px, 1fr));
    gap:26px;
}

.tv-card{
    position:relative;
    min-height:360px;
    overflow:hidden;
    border-radius:22px;
    color:#fff;
    text-decoration:none;
    background:#171717;
    box-shadow:0 26px 70px rgba(0,0,0,.45);
    transition:.45s cubic-bezier(.22,1,.36,1);
}

.tv-card img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(.68) saturate(1.08);
    transition:.55s cubic-bezier(.22,1,.36,1);
}

.tv-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.82));
}

.tv-number{
    position:absolute;
    top:18px;
    left:20px;
    z-index:2;
    font-size:58px;
    font-weight:900;
    color:#fff;
    text-shadow:0 6px 18px rgba(0,0,0,.55);
}

.tv-card div{
    position:absolute;
    left:22px;
    right:22px;
    bottom:24px;
    z-index:2;
}

.tv-card h3{
    margin:0 0 8px;
    font-size:24px;
}

.tv-card p{
    margin:0;
    color:rgba(255,255,255,.72);
    line-height:1.45;
}

.tv-card:hover{
    transform:translateY(-10px) scale(1.045);
    z-index:5;
}

.tv-card:hover img{
    transform:scale(1.08);
    filter:brightness(.82) saturate(1.15);
}

@media(max-width:900px){
    .tv-app{
        display:block;
    }

    .tv-sidebar{
        display:none;
    }

    .tv-content{
        padding:108px 20px 50px;
    }

    .tv-hero{
        min-height:420px;
        padding:34px 24px;
        border-radius:32px;
    }

    .tv-cards{
        display:flex;
        overflow-x:auto;
        gap:18px;
        padding-bottom:18px;
        scroll-snap-type:x mandatory;
    }

    .tv-card{
        min-width:78vw;
        scroll-snap-align:start;
    }
}


.tv-sidebar-logo img{

    width:145px;

    height:auto;

    display:block;

    object-fit:contain;

    transition:.35s;

}

.tv-sidebar-logo img:hover{

    transform:scale(1.03);

}






/* HERO DO PORTFÓLIO COM VÍDEO */
.tv-hero{
    position:relative !important;
    overflow:hidden !important;
    isolation:isolate !important;
    background:#050505 !important;
    min-height:520px !important;
}

.tv-hero-video{

    border-radius:inherit;

    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
    display:block !important;
    z-index:0 !important;
    opacity:1 !important;
}


.tv-hero-overlay{

    border-radius:inherit;


    position:absolute;
    inset:0;

    z-index:1;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.38) 0%,
            rgba(0,0,0,.12) 35%,
            rgba(0,0,0,.22) 100%
        ) !important;

    pointer-events:none;

}


.tv-hero-copy{
    position:relative !important;
    z-index:2 !important;
}

@media(max-width:900px){
    .tv-hero{
        min-height:400px !important;
    }
}


/* =====================================================
   CARDS APPLE TV+ PREMIUM
===================================================== */

.tv-card{
    min-height:400px !important;
    border-radius:34px !important;
    overflow:hidden !important;
    isolation:isolate !important;

    border:1px solid rgba(255,255,255,.16) !important;

    box-shadow:
        0 32px 90px rgba(0,0,0,.46),
        inset 0 1px 1px rgba(255,255,255,.20) !important;

    transition:
        transform .55s cubic-bezier(.22,1,.36,1),
        box-shadow .55s cubic-bezier(.22,1,.36,1),
        border-color .55s cubic-bezier(.22,1,.36,1),
        filter .55s cubic-bezier(.22,1,.36,1) !important;
}

.tv-card::before{
    content:"";
    position:absolute;
    inset:1px;
    z-index:3;
    border-radius:inherit;
    pointer-events:none;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.34) 0%,
            rgba(255,255,255,.13) 18%,
            rgba(255,255,255,.03) 42%,
            transparent 70%
        );

    opacity:.75;
}

.tv-card::after{
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.03) 0%,
            rgba(0,0,0,.20) 42%,
            rgba(0,0,0,.86) 100%
        ) !important;
}

.tv-card img{
    transition:
        transform .75s cubic-bezier(.22,1,.36,1),
        filter .75s ease !important;
}

.tv-card:hover{
    transform:translateY(-18px) scale(1.065) !important;
    z-index:20 !important;

    border-color:rgba(255,255,255,.34) !important;

    box-shadow:
        0 55px 130px rgba(0,0,0,.62),
        0 0 42px rgba(201,120,88,.20),
        inset 0 1px 1px rgba(255,255,255,.32) !important;
}

.tv-card:hover img{
    transform:scale(1.10) !important;
    filter:brightness(.88) saturate(1.18) contrast(1.08) !important;
}

.tv-card:hover::before{
    opacity:.95;
}

.tv-card div,
.tv-number{
    z-index:4 !important;
}

@media(max-width:900px){
    .tv-card{
        min-height:430px !important;
        border-radius:30px !important;
    }

    .tv-card:hover{
        transform:none !important;
    }
}


/* SELEÇÃO CATEGORIAS LATERAIS */

.tv-sidebar .tv-side-item.active{
    color:#ffffff !important;
    background:rgba(255,255,255,.11) !important;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.12),
        0 12px 28px rgba(0,0,0,.22);
}

.tv-sidebar .tv-side-item.active::before{
    content:"";
    width:6px;
    height:6px;
    border-radius:999px;
    background:#D9956E;
    box-shadow:0 0 14px rgba(217,149,110,.55);
    margin-right:2px;
}

.tv-sidebar .tv-side-item{
    transition:
        background .35s ease,
        color .35s ease,
        transform .35s ease,
        box-shadow .35s ease;
}

.tv-sidebar .tv-side-item:hover{
    transform:translateX(4px);
}
