/* =========================================================
   RESET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Quicksand",sans-serif;
}

:root{
    --color-Light:#FFFFFF;
    --color-Black:#000000;
    --color-Orange:#ff6600;
    --color-Gray:#808080;
    --background:rgb(208,208,198);
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--background);
    padding-top:85px;
    overflow-x:hidden;
}

img{
    display:block;
    max-width:100%;
}

a{
    color:inherit;
}


/* =========================================================
   HEADER
========================================================= */

.header-page{
    background:var(--background);
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:6px clamp(15px,4vw,40px);

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:85px;

    z-index:1000;
}

.logo{
    width:clamp(110px,15vw,160px);
    height:auto;
}

.menu-btn{
    width:45px;
    height:45px;

    border:none;
    background:none;

    color:var(--color-Gray);
    font-size:25px;

    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;
}

.header-menu{
    display:none;

    position:fixed;
    top:85px;
    right:clamp(10px,3vw,30px);

    width:min(220px,calc(100vw - 20px));

    background:#333;
    list-style:none;

    border-radius:8px;
    overflow:hidden;

    z-index:999;
}

.header-menu.ativo{
    display:block;
}

.header-menu li{
    border-bottom:1px solid #555;
}

.header-menu li:last-child{
    border-bottom:none;
}

.header-menu a{
    display:block;

    padding:15px;

    color:white;
    text-decoration:none;

    transition:.3s;
}

.header-menu a:hover{
    background:#000;
    color:var(--color-Orange);
}


/* =========================================================
   PROJETO
========================================================= */

.projeto-tekbond{
    width:100%;

    display:grid;

    grid-template-columns:
    minmax(320px,.9fr)
    minmax(400px,1.1fr);

    gap:clamp(30px,5vw,60px);

    padding:
    clamp(40px,6vw,80px)
    clamp(20px,6vw,70px);

    background:var(--background);
}

.texto-tekbond{
    display:flex;
    flex-direction:column;
    justify-content:center;

    padding-right:clamp(20px,4vw,50px);

    border-right:2px solid var(--color-Orange);
}

.texto-tekbond h1{
    color:var(--color-Orange);

    font-size:clamp(38px,6vw,65px);

    margin-bottom:20px;

    text-align:center;
}

.texto-tekbond h2{
    color:var(--color-Light);

    font-size:clamp(24px,4vw,35px);

    margin-bottom:15px;

    text-align:center;
}

.texto-tekbond p{
    color:#4d4c4c;

    font-size:clamp(16px,2vw,20px);

    line-height:1.8;

    text-align:justify;
}


/* =========================================================
   GALERIA
========================================================= */

.galeria-tekbond{
    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:clamp(12px,2vw,25px);

    padding-left:clamp(0px,3vw,40px);
}

.galeria-img{
    width:100%;

    aspect-ratio:4/3;

    object-fit:cover;

    border-radius:15px;

    cursor:pointer;

    transition:.3s;
}

.galeria-img:hover{
    transform:scale(1.04);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox{
    display:none;

    position:fixed;
    inset:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.92);

    z-index:9999;

    justify-content:center;
    align-items:center;

    padding:clamp(15px,4vw,40px);
}

.lightbox.ativo{
    display:flex;
}

.lightbox img{
    max-width:100%;
    max-height:90vh;

    width:auto;
    height:auto;

    object-fit:contain;

    border-radius:10px;
}

.fechar{
    position:absolute;

    top:clamp(10px,2vw,25px);
    right:clamp(10px,3vw,30px);

    width:50px;
    height:50px;

    border:none;
    background:none;

    color:white;

    font-size:clamp(32px,5vw,42px);

    cursor:pointer;

    display:flex;
    justify-content:center;
    align-items:center;

    transition:.3s;
}

.fechar:hover{
    color:var(--color-Orange);
    transform:scale(1.1);
}


/* =========================================================
   PORTFÓLIO
========================================================= */

.portfolio-projetos{
    width:min(100%,1400px);

    margin:clamp(40px,6vw,70px) auto;

    padding:0 clamp(15px,3vw,30px);
}

.card-projeto{
    display:grid;

    grid-template-columns:55% 45%;

    align-items:stretch;

    background:#1a1a1a;

    border-radius:18px;

    overflow:hidden;

    margin-bottom:clamp(30px,5vw,50px);

    text-decoration:none;

    transition:.35s;
}

.card-projeto:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(255,102,0,.25);
}

.card-imagem{
    overflow:hidden;
}

.card-imagem img{
    width:100%;
    height:100%;

    min-height:clamp(280px,35vw,420px);

    object-fit:cover;

    transition:.5s;
}

.card-projeto:hover .card-imagem img{
    transform:scale(1.05);
}

.card-info{
    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:clamp(30px,5vw,60px);
}

.card-info h2{
    color:var(--color-Orange);

    font-size:clamp(30px,5vw,55px);

    margin-bottom:18px;
}

.linha{
    width:clamp(60px,8vw,90px);

    height:3px;

    background:var(--color-Orange);

    margin-bottom:30px;
}

.card-info p{
    color:#d8d8d8;

    font-size:clamp(16px,2vw,21px);

    line-height:1.8;

    margin-bottom:35px;
}

.card-info span{
    color:var(--color-Orange);

    font-size:clamp(17px,2vw,21px);

    font-weight:700;

    display:flex;
    align-items:center;

    gap:12px;

    transition:.3s;
}

.card-projeto:hover span{
    gap:22px;
}


/* =========================================================
   DESKTOP GRANDE
========================================================= */

@media(min-width:1600px){

    .projeto-tekbond{
        max-width:1700px;
        margin:auto;
    }

}


/* =========================================================
   NOTEBOOK
========================================================= */

@media(max-width:1200px){

    .projeto-tekbond{
        grid-template-columns:1fr 1fr;
        gap:35px;
    }

    .card-info{
        padding:40px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px){

    body{
        padding-top:80px;
    }

    .header-page{
        height:80px;
    }

    .header-menu{
        top:80px;
    }

    .projeto-tekbond{
        grid-template-columns:1fr;

        gap:40px;
    }

    .texto-tekbond{
        padding-right:0;
        padding-bottom:35px;

        border-right:none;
        border-bottom:2px solid var(--color-Orange);
    }

    .galeria-tekbond{
        padding-left:0;
    }

    .card-projeto{
        grid-template-columns:1fr;
    }

    .card-imagem img{
        min-height:320px;
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media(max-width:768px){

    body{
        padding-top:75px;
    }

    .header-page{
        height:75px;
        padding:5px 15px;
    }

    .header-menu{
        top:75px;
        right:10px;
    }

    .logo{
        width:125px;
    }

    .menu-btn{
        font-size:23px;
    }

    .projeto-tekbond{
        display:flex;
        flex-direction:column;

        gap:35px;

        padding:45px 20px;

        margin-bottom:50px;

        border-bottom:2px solid #3d3d3d;
    }

    .projeto-tekbond:last-of-type{
        border:none;
        margin-bottom:0;
    }

    .texto-tekbond{
        padding:0;
        border:none;
    }

    .texto-tekbond h1{
        font-size:clamp(34px,10vw,42px);
    }

    .texto-tekbond h2{
        font-size:clamp(22px,6vw,28px);
    }

    .texto-tekbond p{
        font-size:16px;
        line-height:1.7;
    }

    .galeria-tekbond{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .galeria-img{
        aspect-ratio:1/1;
    }

    .portfolio-projetos{
        padding:0 15px;
    }

    .card-info{
        padding:25px;
    }

    .card-info h2{
        font-size:34px;
    }

    .card-info p{
        font-size:16px;
        line-height:1.7;
    }

    .linha{
        margin-bottom:20px;
    }

}


/* =========================================================
   CELULAR PEQUENO
========================================================= */

@media(max-width:480px){

    .header-page{
        height:70px;
    }

    body{
        padding-top:70px;
    }

    .header-menu{
        top:70px;
        width:calc(100vw - 20px);
    }

    .logo{
        width:105px;
    }

    .menu-btn{
        width:40px;
        height:40px;
    }

    .projeto-tekbond{
        padding:30px 15px;
        gap:28px;
    }

    .galeria-tekbond{
        grid-template-columns:1fr;
        gap:15px;
    }

    .galeria-img{
        aspect-ratio:4/3;
    }

    .texto-tekbond h1{
        font-size:32px;
    }

    .texto-tekbond h2{
        font-size:21px;
    }

    .texto-tekbond p{
        font-size:15px;
        line-height:1.65;
    }

    .card-projeto{
        border-radius:14px;
    }

    .card-imagem img{
        min-height:220px;
    }

    .card-info{
        padding:22px 18px;
    }

    .card-info h2{
        font-size:28px;
    }

    .card-info p{
        font-size:15px;
    }

    .lightbox{
        padding:12px;
    }

    .lightbox img{
        max-height:85vh;
    }

    .fechar{
        top:8px;
        right:10px;
        width:45px;
        height:45px;
    }

}


/* =========================================================
   TELAS MUITO PEQUENAS
========================================================= */

@media(max-width:360px){

    .logo{
        width:95px;
    }

    .projeto-tekbond{
        padding:25px 12px;
    }

    .portfolio-projetos{
        padding:0 10px;
    }

    .card-info{
        padding:20px 15px;
    }

    .texto-tekbond h1{
        font-size:29px;
    }

    .texto-tekbond h2{
        font-size:19px;
    }

}