:root {
    --bg-color: #F3F0FE;
    --text-color: #111111;
    --font-serif: 'DM Serif Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --glow-yellow-color: rgba(245, 238, 86, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans); 
    line-height: 1.6;
}

body.page-home {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 5rem;
    height: 15vh;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
}


.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    position: relative;
    padding: 0.5rem 0.5rem;
    transition: color 0.3s ease;
}


.nav-links a::before {
    content: '';
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 180%;
    background-color: var(--glow-yellow-color);
    filter: blur(15px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0; 
    transition: opacity 0.3s ease;
}


.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::before {
    opacity: 1;
}


.glow-text {
    position: relative;
    z-index: 1;
}
.glow-text::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 200%;
    background-color: var(--glow-yellow-color);
    filter: blur(20px);
    border-radius: 50%;
    z-index: -1;
}


.glow-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background-color: var(--glow-yellow-color);
    filter: blur(15px);
    border-radius: 50%;
    z-index: -1;
}


.home-main {
    display: flex;
    flex: 1;
    padding: 0 5rem 3rem 5rem;
    gap: 4rem;
}


.home-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.main-photo {
    width: 85%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


.home-text-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.subtitle {
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.title {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 2rem;
}

.btn-container {
    margin-right: 1rem;
}

.btn-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; 
    height: 60px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}


.btn-arrow .glow-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; 
    height: 60px;
    background-color: var(--glow-yellow-color);
    filter: blur(15px);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
}


.btn-arrow:hover {
    transform: translateX(8px); 
}


.btn-arrow:hover .glow-bg {
    width: 75px; 
    height: 75px;
    filter: blur(20px);
}



.sobre-container {
    padding: 2rem 10rem;
    max-width: 1400px;
    margin: 0 auto;
}


.sobre-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
    margin-bottom: 8rem;
}

.sobre-img-box img {
    width: 100%;
    max-width: 450px;
}

.serif-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.bio p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
}


.sobre-detalhes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.serif-subtitle {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}



.lista-detalhes li {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.data {
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 140px;
    position: relative;
    z-index: 1;
    display: inline-block;
}


.glow-inline {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.glow-inline::before {
    content: '';
    position: absolute;
    top: 50%; 
    left: 40px; 
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    filter: blur(25px);
    z-index: -1;
}


.glow-purple-soft::before { 
    background-color: rgba(216, 191, 216, 0.4); 
    width: 100px;
    height: 100px;
}


.glow-green::before { background-color: rgba(144, 238, 144, 0.7); }
.glow-yellow::before { background-color: rgba(245, 238, 86, 0.7); }
.glow-purple::before { background-color: rgba(216, 191, 216, 0.7); }


.lista-simples {
    list-style: none;
    padding-left: 0;
}

.lista-simples li {
    margin-bottom: 1.5rem;
    position: relative;
}


.lista-detalhes {
    list-style: none;
    padding-left: 0;
}

.lista-detalhes p {
    margin-bottom: 0;
}


.nav-links a.active {
    font-weight: bold; 
}

.nav-links a.active::before {
    opacity: 1;
}


.glow-largo::before {
    width: 140px; 
    left: 65px; 
}



.portfolio-container {
    padding: 2rem 10rem 5rem 10rem;
    max-width: 1400px;
    margin: 0 auto;
}


.portfolio-intro {
    margin-bottom: 5rem;
}

.intro-desc {
    max-width: 500px;
    font-size: 1rem;
    line-height: 1.5;
}


.projeto-card {
    margin-bottom: 8rem;
}

.projeto-header {
    margin-bottom: 2rem;
}

.categoria {
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: inline-block;
    font-style: italic; 
    position: relative;
    z-index: 1;
}
.projeto-titulo {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0.5rem;
}


.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.grid-3-cols img,
.col-esquerda img,
.col-direita img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.grid-3-cols img {
    aspect-ratio: auto; 
}

.grid-assimetrica {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.col-esquerda {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.col-esquerda img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.col-direita img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projeto-footer {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.projeto-footer.legenda {
    margin-top: 1rem;
    color: #555;
    font-size: 0.9rem;
}

.link-projeto {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    white-space: nowrap;
    position: relative;
    display: inline-flex;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.link-projeto::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: var(--glow-yellow-color);
    filter: blur(20px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.link-projeto:hover {
    transform: translateX(8px); 
}

.link-projeto:hover::before {
    width: 130px;
    height: 130px;
    filter: blur(25px);
    opacity: 1;
}


.contacto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    padding: 2rem 10rem 5rem 10rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch; 
    min-height: 75vh;
}


.contacto-info {
    display: flex;
    flex-direction: column;
}

.contacto-info .serif-title {
    margin-bottom: 2rem;
}

.contacto-intro {
    margin-bottom: 3rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contacto-intro p {
    margin-bottom: 1.5rem;
}

.lista-contactos {
    list-style: none;
    padding: 0;
}

.lista-contactos li {
    margin-bottom: 2rem;
}

.label-contacto {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.lista-contactos p {
    font-size: 1rem;
    margin: 0;
}

.glow-green-soft::before { 
    background-color: rgba(144, 238, 144, 0.4); 
}


.lista-contactos .glow-inline::before {
    left: 30px; 
}

.contacto-imagem {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 5.5rem;
        height: calc(100% - 5.5rem); 
}

.contacto-imagem img {
    width: 100%;
    max-width: 500px;
    height: 100%;
    object-fit: cover;
}

.lista-contactos li:last-child {
    margin-bottom: 0;
}


.detalhe-container {
    padding: 2rem 5rem 5rem 5rem; 
    max-width: 1400px;
    margin: 0 auto;
}

.detalhe-header {
    margin-bottom: 3rem;
}

.detalhe-header .categoria {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.detalhe-header .glow-inline::before {
    left: 50%;
    width: 90px;
    height: 90px;
}


.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%;
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.flipbook-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .iframe-wrapper {
        padding-top: 100%; 
    }
    .detalhe-container {
        padding: 2rem 2rem;
    }
}