@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600;700;800&family=Syncopate:wght@400;700&display=swap');

/** Colocar id topo no primeiro elemento da pagina **/
html{
    scroll-behavior: smooth;
}
body {
    font-family: 'inter', sans-serif;
    background-color: #fffefb;
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
    height: auto;
}

main {
    width: 100%;
    display: block; /* Garante que as seções fiquem uma abaixo da outra */
}


/* - alterando o scroll - */

::-webkit-scrollbar {
    width: 0.7rem;
}

::-webkit-scrollbar-track {
    background-color: #fffefb;
    margin-block: 1px;
}

::-webkit-scrollbar-thumb {
    background-color: #000000;
    border-radius: 10px;  
    border: 3px solid transparent;
    background-clip: padding-box;
}


/* - cabeçalho -*/

.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cabecalho .container {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cabecalho{
    background-color: #fffefb9f;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 -1px 0 rgba(117, 117, 117, 0.1);
    width: 100%;
}


/* - logo -*/

.logo {
    width: 50px;
    height: 50px;
    display: block;
}

.logo:hover {
    transform: scale(1.07);
    transition: transform 0.3s ease;
}

/* - menu de links -*/
.menu {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.menu li a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    text-decoration: none;
    position: relative;
    color: #3d3d3d;
    transition: color 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
}

.menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: #000000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
    pointer-events: none;
}

.menu li a:hover::after {
    transform: scaleX(1);
}

.menu li a:hover {
    font-weight: bold;
    color: #000000;
}


/* - botão de contato -*/

.button-cont {
    display: inline-block;
    text-decoration: none;
    appearance: none;
    background: transparent;
    border: 0.124em solid #616161;
    border-radius: 0.75em;
    box-sizing: border-box;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #474747;
    padding: 0.65rem 1.4rem;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    will-change: transform;
}


.button-cont:hover {
    color: #fff;
    background-color: #1A1A1A;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px)
}

.button-cont:active {
    box-shadow: none;
    transform: translateY(0);
}


/* ==============================
         - corpo do site -
   ============================== */

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 4rem 0rem 4rem;
    text-align: center;
}

.sublogo {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.line {
    width: 40px;
    height: 1px;
    background-color: #1A1A1A;
}

.home-titulo {
    font-family: 'Syncopate', sans-serif;
    font-size: 4rem;
    color: #000000;
    margin: 0;
    max-width: 700px;
    width: 100%;
}

.negrito {
    color: #3d3d3d;
    display: block;
}

.ponto{
    color: #000000;
}


.home-text {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #3d3d3d;
    width: 47%;
    margin-top: 2rem;
    overflow-wrap: break-word;
    font-weight: 400;
}

/* ---  botoes da home ---  */

.home-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    margin: 3rem 2rem 0rem 2rem;
}

.bt {
    display: inline-block;
    text-decoration: none;
    appearance: none;
    border-radius: 10em;
    background: transparent;
    box-sizing: border-box;
    cursor: pointer;
    font-family: 'inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: black;
    padding: 1rem 2rem;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    will-change: transform;
}

.homebt1 {
    background-color: black;
    color: #fff;
}

.homebt1 a {
    color: #fff;
    text-decoration: none;
}

.homebt1:hover {
    background-color: #1A1A1A;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2.5px);
}

.homebt2 {
    border: 0.124em solid #616161;
}

.homebt2 a {
    color: #000;
    text-decoration: none;
}

.homebt2:hover {
    background: transparent;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2.5px);
}

.sepline {
    width: 99%;
    border: none;
    border: 0.2px solid #b6b6b66e;
    margin-top: 7rem;
}


/*  ==================  
    pagina de serviços
========================*/


.tituser{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 6REM 2.5REM 3REM 2.5rem;
}

.serv-content {
    text-align: left;
    width: 50%;
}

.serv-content p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #000000;
    margin: 0;
    width: 50%;
}

.serv-content h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 2.6rem;
    color: #000000;
    margin: 0;
    max-width: min-content;
    margin-top: 0.7rem;
}

.subt-serv{
    margin-right: 5%;
}

.subt-serv p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #3d3d3d;
    margin: 0;
    line-height: 1.6;
    border-left: 1.5px solid #000000;
    padding-left: 20px;
    max-width: 350px;
}

/* cards de serviços */

.serv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 2.5rem;
    margin-bottom: 5rem;
}

.grid-item{
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0 2rem 1rem;
    width: 75%;
}

.grid-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.nu1 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #747474;
    text-align: right;
    width: 100%;
}

.grid-item h3 {
    font-family: 'montserrat', sans-serif;
    font-size: 1.6rem;
    color: #000000;
    
}

.grid-item img {
    width: 30px;
    height: 30px;
}

.paragrafo {
    margin-top: 1rem;
    max-width: 500px;
    line-height: 1.1;
    font-weight: 400;
    color: #747474;
}

#b1, #b2{
    padding-right: 4rem;
    border-right: 1px #b6b6b66e solid;
}

/* ============================
        PAGINA DE TRABALHOS
   ============================ */

.workti {
    display: block;
    margin: 6rem 2.5rem 2rem 2.5rem;
}

.workti h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 40px;
    color: #000;
    margin: 0;
    max-width: min-content;
}

.workti p {
    text-align: right;
    font-family: 'inter', sans-serif;
    font-size: 13px;
    color: #474747;
    margin: 0;
}

.workline {
    width: auto;
    border: none;
    border: 0.1px solid #00000083;
    margin-top: 7rem;
}

/* --- grid de trabalhos --- */

.grid-photos {
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    width: 90%;
}

.grid-photos img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    border-radius: 12px;
}

.grid-photos h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.9rem;
    color: #000000;
    margin: 0.5rem 0 0.2rem 0;
    max-width: 300px;
}

.rent {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cardline {
    width: auto;
    border: none;
    border: 0.1px solid #6363636e;  
    margin: 0.5rem 0;
}

.data {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #747474;
    margin: 0;
    text-align: right;
}

.subtle-work {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #747474;
    margin: 0;
    text-align: left;
}

.card01, .card02, .card03 {
    transition: transform 0.3s ease-in-out;
}

.card01:hover, .card02:hover, .card03:hover {
    transform: scale(1.03);
}


/* ==============================

     pagina sobre nos

================================*/

.sobre {
    padding: 6rem 0;
    background-color: rgb(0, 0, 0);
    color: white;
}

.sobre-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.dkimg, .studio-content { 
    flex: 1;
}

.dkimg img {
    flex:1;
    max-width: 520px;
    width: 100%;
    padding: 3px;
    border-radius: 12px;
}

.studio-content h5 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #9e9e9e;
    display: block;
}

.studio-content h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 2.6rem;
    color: #fff;
    margin: 0;
    margin-top: 0.7rem;
    padding-bottom: 1rem;
}

.negri {
    color: #9e9e9e;
}

.spaco {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #ffffff;
    margin-top: 1rem;
    line-height: 1.6;
}

#end {
    padding-bottom: 1rem;
}

.starts {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

.starts h2{
    font-family:'Montserrat' sans-serif;
    font-weight: 400;
}

.starts p {
    font-family: 'inter' sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #616161;
    margin: 0;
}

.start2 {
    padding-right: 4rem;
}





/* ============================== 
        - RESPONSIVIDADE -
 ==================================*/

/* --- 1024px: Tablets e Laptops Pequenos --- */
@media (max-width: 1024px) {
    .home-titulo {
        width: 80%;
        font-size: 3rem;
    }
    
    .home-text {
        width: 70%;
    }

    .serv-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas */
        gap: 2rem;
    }

    #b2 {
        border-right: none; /* Remove borda lateral no grid de 2 colunas */
    }

    .sobre-nos {
        padding: 2rem;
        flex-direction: column; /* Empilha imagem e texto */
        text-align: center;
    }

    .dkimg img {
        width: 80%;
    }
}

/* --- 768px: Tablets e Mobile Horizontal --- */
@media (max-width: 768px) {
    .cabecalho {
        height: auto;
        padding: 1rem;
        flex-wrap: wrap; /* Permite que o menu caia para a linha de baixo se necessário */
        justify-content: center;
        gap: 1rem;
    }

    .navegacao {
        margin-left: 0;
        order: 3; /* Move o menu para baixo no celular */
        width: 100%;
    }

    .menu {
        justify-content: center;
        gap: 1.5rem;
    }

    .home-titulo {
        font-size: 2.2rem;
        width: 100%;
    }

    .home-text {
        width: 100%;
        font-size: 18px;
    }

    .tituser {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .serv-content, .subt-serv {
        width: 100%;
    }

    .subt-serv p {
        max-width: 100%;
        border-left: 2px solid #000;
    }

    .grid-photos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 480px: Smartphones --- */
@media (max-width: 480px) {
    .home-content {
        padding: 2rem 1.5rem;
    }

    .home-titulo {
        font-size: 1.8rem;
    }

    .home-buttons {
        flex-direction: column; /* Botões um em cima do outro */
        width: 100%;
        align-items: center;
    }

    .bt {
        width: 100%; /* Botões ocupam a largura total */
        text-align: center;
    }

    .serv-grid {
        grid-template-columns: 1fr; /* 1 coluna apenas */
    }

    #b1, #b2 {
        border-right: none;
        border-bottom: 1px solid #b6b6b66e;
        padding-right: 0;
        width: 100%;
    }

    .grid-photos {
        grid-template-columns: 1fr;
    }

    .workti h2 {
        font-size: 28px;
    }

    .starts {
        flex-direction: column;
        gap: 2rem;
    }

    /* Ajuste no cabeçalho celular */
    .logo {
        margin-top: 0;
    }

    .button-container {
        margin-top: 0; 
        width: auto;
    }
}