/* =========================================
   VARIÁVEIS
========================================= */

:root {

    --verde: #38583f;

    --verde-escuro: #263d2c;

    --verde-claro: #b8c6ba;

    --verde-suave: #e0e7e0;

    --fundo: #f7f5ef;

    --texto: #182019;

    --branco: #ffffff;

    --linha: rgba(56, 88, 63, 0.25);

}



/* =========================================
   RESET
========================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: "Montserrat", sans-serif;

    background: var(--fundo);

    color: var(--texto);

    line-height: 1.7;

}


a {

    color: inherit;

    text-decoration: none;

}


button {

    font-family: inherit;

}



/* =========================================
   MENU
========================================= */

.menu {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 68px;

    padding: 0 7%;

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 30px;

    background: rgba(247, 245, 239, 0.94);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(56, 88, 63, 0.12);

    z-index: 100;

}


.menu a {

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.16em;

    color: var(--verde);

    padding-bottom: 4px;

    border-bottom: 1px solid transparent;

    transition: 0.25s;

}


.menu a:hover {

    border-bottom-color: var(--verde);

}



/* =========================================
   INÍCIO
========================================= */

.inicio {

    min-height: 100vh;

    padding: 120px 7% 70px;

    background: var(--verde-claro);

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 70px;

    align-items: center;

    position: relative;

    overflow: hidden;

}



/* linha vertical do Canva */

.inicio::after {

    content: "";

    position: absolute;

    width: 1px;

    height: 68%;

    right: 34%;

    top: 16%;

    background: #111;

    opacity: 0.85;

}



/* =========================================
   TEXTO DO INÍCIO
========================================= */

.inicio-texto {

    position: relative;

    z-index: 5;

}


.nome h1 {

    font-family: "Cormorant Garamond", serif;

    color: var(--verde);

    font-size: clamp(4rem, 8vw, 8rem);

    line-height: 0.78;

    font-weight: 600;

    letter-spacing: -0.05em;

    text-transform: uppercase;

}


.nome h1 span {

    display: block;

    margin-top: 25px;

    font-size: 0.68em;

}


.apresentacao {

    max-width: 690px;

    margin-top: 55px;

    font-size: 1rem;

}


.apresentacao p {

    margin-bottom: 13px;

}


.apresentacao strong {

    color: var(--verde);

}



/* =========================================
   NAVEGAÇÃO INICIAL
========================================= */

.navegacao-inicial {

    display: flex;

    gap: 25px;

    margin-top: 35px;

}


.navegacao-inicial a {

    color: var(--verde);

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.14em;

    border-bottom: 1px solid var(--verde);

    padding-bottom: 3px;

    transition: 0.2s;

}


.navegacao-inicial a:hover {

    opacity: 0.55;

}



/* =========================================
   FOTO
========================================= */

.foto-area {

    position: relative;

    z-index: 4;

    width: min(420px, 100%);

    justify-self: end;

}



/* moldura */

.foto-moldura {

    width: 100%;

    aspect-ratio: 1 / 1.08;

    background: #cce9f5;

    position: relative;

    overflow: hidden;

}



/* borda interna */

.foto-moldura::before {

    content: "";

    position: absolute;

    inset: 0;

    border: 1px solid rgba(56, 88, 63, 0.18);

    z-index: 2;

    pointer-events: none;

}



/* =========================================
   FOTO DE PERFIL

   NÃO TEM MONTANHAS
   NÃO TEM ONDAS
========================================= */

.foto {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center 25%;

}



/* =========================================
   LINHAS DO CANVA
========================================= */

.linha-vertical {

    position: absolute;

    width: 2px;

    height: 125%;

    background: #111;

    left: -25px;

    top: -12%;

    z-index: 1;

}


.linha-horizontal {

    position: absolute;

    width: 125%;

    height: 2px;

    background: #111;

    right: -22%;

    bottom: -25px;

    z-index: 1;

}



/* =========================================
   SEÇÕES
========================================= */

section {

    padding: 105px 8%;

}


.numero {

    color: var(--verde);

    font-size: 0.68rem;

    letter-spacing: 0.24em;

    text-transform: uppercase;

    font-weight: 700;

    margin-bottom: 17px;

}


.numero-claro {

    color: #dbe5dc;

}


h2 {

    font-family: "Cormorant Garamond", serif;

    color: var(--verde);

    font-size: clamp(3.4rem, 5vw, 5.5rem);

    line-height: 0.88;

    font-weight: 600;

}



/* =========================================
   SOBRE MIM
========================================= */

.sobre {

    background: var(--fundo);

    display: grid;

    grid-template-columns: 0.7fr 1.3fr;

    gap: 90px;

    align-items: start;

}



/* título */

.titulo-sobre {

    position: relative;

}



/* texto */

.texto-sobre {

    max-width: 780px;

    font-size: 0.98rem;

}


.texto-sobre p {

    margin: 0;

    line-height: 1.9;

}


.texto-sobre p + p {

    margin-top: 24px;

}


.texto-sobre strong {

    color: var(--verde);

}



/* frase */

.frase {

    margin-top: 35px;

    padding: 20px 0 20px 22px;

    border-left: 3px solid var(--verde);

    color: var(--verde);

    font-family: "Cormorant Garamond", serif;

    font-size: 1.65rem;

    line-height: 1.35;

    max-width: 650px;

}



/* =========================================
   PROJETOS
========================================= */

.projetos {

    background: var(--verde-suave);

}


.cabecalho-projetos {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 50px;

}


.cabecalho-projetos > p {

    max-width: 450px;

    font-size: 0.9rem;

    line-height: 1.8;

}



/* =========================================
   GRADE DE PROJETOS
========================================= */

.grade-projetos {

    margin-top: 60px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;

}



/* =========================================
   CARD
========================================= */

.projeto {

    position: relative;

    min-height: 290px;

    padding: 32px;

    text-align: left;

    border: 1px solid var(--linha);

    background: var(--branco);

    color: var(--texto);

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;

}


.projeto:hover {

    transform: translateY(-7px);

    box-shadow: 0 18px 40px rgba(24, 32, 25, 0.1);

}


.projeto .tipo {

    color: var(--verde);

    font-size: 0.64rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    font-weight: 700;

}


.projeto h3 {

    font-family: "Cormorant Garamond", serif;

    color: var(--verde);

    font-size: 2.7rem;

    line-height: 1;

    margin-top: 55px;

    margin-bottom: 15px;

}


.descricao-card {

    max-width: 420px;

    font-size: 0.78rem;

    line-height: 1.6;

    margin-bottom: 22px;

}



/* =========================================
   TAGS
========================================= */

.tags {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

}


.tag {

    border: 1px solid var(--linha);

    padding: 5px 10px;

    font-size: 0.59rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: var(--verde);

}



/* =========================================
   SETA
========================================= */

.seta {

    position: absolute;

    right: 25px;

    top: 20px;

    color: var(--verde);

    font-size: 1.4rem;

}



/* =========================================
   CONTATO
========================================= */

.contato {

    background: var(--verde);

    color: var(--fundo);

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

}


.contato h2 {

    color: var(--fundo);

}


.contato-texto p {

    margin-top: 25px;

    max-width: 560px;

    color: rgba(247, 245, 239, 0.9);

    line-height: 1.8;

}



/* =========================================
   LINKS DE CONTATO
========================================= */

.links-contato {

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.link-contato {

    display: grid;

    grid-template-columns: 0.7fr 1fr auto;

    gap: 15px;

    align-items: center;

    padding: 19px 0;

    border-bottom: 1px solid rgba(255,255,255,0.28);

    color: var(--fundo);

    transition: 0.2s;

}


.link-contato:hover {

    opacity: 0.65;

}


.link-contato span:first-child {

    font-size: 0.7rem;

    text-transform: uppercase;

    letter-spacing: 0.13em;

}


.link-contato span:nth-child(2) {

    font-size: 0.78rem;

}


.link-contato strong {

    font-size: 1.2rem;

    font-weight: 400;

}



/* =========================================
   RODAPÉ
========================================= */

footer {

    background: var(--verde);

    border-top: 1px solid rgba(255,255,255,0.22);

    color: rgba(247,245,239,0.68);

    padding: 23px 8%;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    font-size: 0.65rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;

}



/* =========================================
   MODAL
========================================= */

.modal {

    position: fixed;

    inset: 0;

    background: rgba(20,29,22,0.72);

    backdrop-filter: blur(6px);

    display: none;

    align-items: center;

    justify-content: center;

    padding: 25px;

    z-index: 200;

}


.modal.aberto {

    display: flex;

}


.modal-conteudo {

    position: relative;

    width: min(720px, 100%);

    max-height: 90vh;

    overflow-y: auto;

    background: var(--fundo);

    padding: 50px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.2);

}


.fechar {

    position: absolute;

    top: 12px;

    right: 20px;

    border: none;

    background: transparent;

    color: var(--verde);

    font-size: 2rem;

    cursor: pointer;

}


.modal-conteudo h3 {

    font-family: "Cormorant Garamond", serif;

    color: var(--verde);

    font-size: 3.8rem;

    line-height: 1;

    margin: 12px 0 22px;

}


.modal-descricao {

    line-height: 1.8;

    margin-bottom: 25px;

}


.modal-conteudo h4 {

    color: var(--verde);

    margin-bottom: 10px;

    font-size: 0.75rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;

}


.modal-conteudo ul {

    margin: 0 0 25px 20px;

}


.modal-conteudo li {

    margin-bottom: 7px;

}


.modal-tags {

    margin-top: 15px;

}



/* =========================================
   RESPONSIVO
========================================= */

@media (max-width: 900px) {


    .menu {

        justify-content: center;

        gap: 18px;

    }


    .inicio {

        grid-template-columns: 1fr;

        padding-top: 115px;

    }


    .inicio::after {

        display: none;

    }


    .foto-area {

        justify-self: center;

        width: min(400px, 90%);

    }


    .navegacao-inicial {

        margin-bottom: 10px;

    }


    /* SOBRE */

    .sobre {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .titulo-sobre {

        position: static;

    }


    .texto-sobre {

        max-width: 100%;

    }


    /* PROJETOS */

    .cabecalho-projetos {

        display: block;

    }


    .cabecalho-projetos > p {

        margin-top: 25px;

    }


    .grade-projetos {

        grid-template-columns: 1fr;

    }


    /* CONTATO */

    .contato {

        grid-template-columns: 1fr;

        gap: 50px;

    }

}



/* =========================================
   CELULAR
========================================= */

@media (max-width: 550px) {


    .menu {

        height: auto;

        min-height: 60px;

        padding: 12px 15px;

        flex-wrap: wrap;

        gap: 12px 18px;

    }


    .menu a {

        font-size: 0.58rem;

    }


    .inicio {

        padding: 105px 7% 55px;

    }


    .nome h1 {

        font-size: 3.7rem;

    }


    .apresentacao {

        margin-top: 40px;

        font-size: 0.9rem;

    }


    .navegacao-inicial {

        flex-wrap: wrap;

        gap: 15px;

    }


    .foto-area {

        width: 88%;

    }


    section {

        padding: 75px 7%;

    }


    h2 {

        font-size: 3.5rem;

    }


    .sobre {

        gap: 35px;

    }


    .texto-sobre {

        font-size: 0.9rem;

    }


    .frase {

        font-size: 1.45rem;

    }


    .projeto {

        min-height: 260px;

        padding: 25px;

    }


    .projeto h3 {

        font-size: 2.4rem;

    }


    .contato {

        gap: 40px;

    }


    .link-contato {

        grid-template-columns: 1fr auto;

    }


    .link-contato span:nth-child(2) {

        display: none;

    }


    footer {

        flex-direction: column;

        font-size: 0.58rem;

    }


    .modal {

        padding: 15px;

    }


    .modal-conteudo {

        padding: 40px 25px;

    }


    .modal-conteudo h3 {

        font-size: 3rem;

    }

}