/* Reset básico */
:root {
    --max-width: 65%;
}

@media (max-width: 1000px) {
    :root {
        --max-width: 80%;
    }
}

@media (max-width: 768px) {
    :root {
        --max-width: 90%;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300; /* Light */
    line-height: 1.5;
}

body::before,
body::after {
    content: ""; /* Necessário para os pseudo-elementos aparecerem */
    position: fixed; /* Faz as linhas ficarem fixas mesmo com o scroll */
    width: 3%; /* Largura da linha */
    height: 3px; /* Altura da linha curta */
    background-color: #b5b5b5; /* Cor da linha */
    top: 50%; /* Centraliza verticalmente */
    transform: translateY(-50%); /* Ajusta para que fique realmente centralizado */
}

body::before {
    left: 0; /* Linha na lateral esquerda */
}

body::after {
    right: 0; /* Linha na lateral direita */
}

/* Estilo do cabeçalho */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    background-color: white;
    margin: 0 auto; /* Centraliza o carrossel horizontalmente */
    position: fixed; /* Fixa o cabeçalho */
    z-index: 1000; /* Garante que o cabeçalho fique acima de outros elementos */
    width: 100%; /* Faz o cabeçalho ocupar toda a largura da tela */
    padding-left: calc((100% - var(--max-width)) / 2);
    padding-right: calc((100% - var(--max-width)) / 2);
}

header h1 {
    font-size: 2rem;
    font-weight: normal;
    color: #000; /* Cor padrão */
}

/* Container do carrossel */
.carousel-container {
    width: var(--max-width); /* Largura ajustável para var(--max-width) da tela */
    max-width: var(--max-width); /* Largura máxima */
    margin: 0 auto; /* Centraliza o carrossel horizontalmente */
	padding-bottom: 100px;
	padding-top: 20px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 80vh; /* Altura proporcional à tela */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

/* Estilo das imagens */
.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
}

/* Container dos projetos */
.project-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: var(--max-width);
    max-width: var(--max-width);
	margin: 0 auto; /* Centraliza o carrossel horizontalmente */
}

.sub-titulo {
    font-size: 1.1rem;
    font-weight: bold;
    color: #b5b5b5;
    text-transform: uppercase;
}

.sobre-subtitulo {
    font-size: 0.9rem;
    font-weight: bold;
    color: #444;
    margin-bottom: 15px;
}

.info-70 {
	width: 70%;
}

/* Estilo do bloco de contato */
.contato {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    background-color: #f2f2f2; /* Fundo cinza claro */
    margin: 0 auto; /* Centraliza o carrossel horizontalmente */
	padding-top: 35px;
    padding-bottom: 35px;
    padding-left: calc((100% - var(--max-width)) / 2);
    padding-right: calc((100% - var(--max-width)) / 2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Estilo da seção de informações */
.contato-info {
    width: 40%;
}

.contato-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contato-nome {
    font-weight: bold;
    color: #914832;
    margin-bottom: 10px;
	word-break: break-word; /* Garante que longos textos sejam quebrados */
}

.contato-endereco,
.contato-email,
.contato-instagram,
.contato-telefone {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.politica-privacidade {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
    margin-bottom: 10px;
    text-decoration: none; /* Remove o sublinhado */
    display: inline-block; /* Permite estilizar o conteúdo do link sem afetar o botão */
}

.contato-redes img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Estilo do formulário */
.contato-form {
    width: 55%;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    font-size: 0.9rem;
	font-family: 'Roboto';
    color: #333;
    outline: none;
}

textarea {
    height: 100px;
    resize: none;
}

button {
    display: block;
    padding: 10px;
    border: 1px solid #914832;
    background-color: transparent;
    color: #914832;
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #914832;
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .contato {
        flex-direction: column; /* Alinha os elementos verticalmente no celular */
        gap: 30px;
    }

    .contato-info {
        width: 100%;
    }

    .contato-form {
        width: 100%;
    }

    .contato-email {
        word-wrap: break-word; /* Garante quebra do e-mail em telas menores */
    }
	
	.info-70 {
		width: 100%;
	}
}

/* Estilo do bloco "Detalhemento do Projeto" */
.projeto-detalhe {
	display: flex;
    width: var(--max-width);
    max-width: var(--max-width);
    background-color: #fff;
    padding: 35px 20px 35px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	margin: 0 auto; /* Centraliza horizontalmente */
}

.projeto-detalhe-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.projeto-detalhe-icone {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.projeto-detalhe-titulo {
    font-size: 1.3rem;
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
}

.projeto-detalhe-conteudo {
    margin-top: 10px;
}

.projeto-detalhe-subtitulo {
    font-size: 1.0rem;
    font-weight: bold;
    color: #444;
    margin-bottom: 15px;
}

.projeto-detalhe-texto {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #666;
	text-align: justify;
}

.projeto-detalhe-texto strong {
    font-weight: bold;
    color: #444;
}

.projeto-detalhe-principal-container {
    width: var(--max-width); /* Largura ajustável para 90% da tela */
    max-width: var(--max-width); /* Largura máxima */
    margin: 0 auto; /* Centraliza o carrossel horizontalmente */
	padding-top: 20px;
}

.projeto-detalhe-principal {
    position: relative;
    width: 100%;
    height: 50vh; /* Altura proporcional à tela */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.projeto-detalhe-landing {
    position: relative;
    width: 100%;
    height: 60vh; /* Altura proporcional à tela */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

/* Estilo das imagens */
.projeto-detalhe-principal-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
}

.projeto-detalhe-principal-image.active {
    opacity: 1;
}

/* Estilo para o container das imagens */
.projeto-detalhe-imagens {
    display: flex;
    flex-wrap: wrap; /* Permite que as imagens quebrem para a próxima linha */
    gap: 20px; /* Espaçamento entre as imagens */
    margin-top: 20px;
}

.projeto-detalhe-imagens img {
    max-height: 400px; /* Altura máxima das imagens */
    object-fit: cover; /* Ajusta a imagem para cobrir o espaço sem distorcer */
}

.projeto-detalhe-imagens video {
    max-height: 400px; /* Altura máxima das imagens */
    object-fit: cover; /* Ajusta a imagem para cobrir o espaço sem distorcer */
}

/* Estilo para as imagens */
.logo img {
    width: 35%;
    object-fit: cover; /* Ajusta a imagem para cobrir o espaço sem distorcer */
}

/* Classes específicas para os tamanhos */
.img-25 {
    width: calc(42% - 10px); /* 25% da largura */
}

.img-50 {
    width: calc(50% - 10px); /* 50% da largura */
}

.img-75 {
    width: calc(58% - 10px); /* 75% da largura */
}

.img-100 {
    width: 100%; /* 100% da largura */
}

/* Responsividade: Ajusta para uma imagem por linha em telas menores */
@media (max-width: 768px) {
    .img-25, .img-50, .img-75, .img-100 {
        width: 100%; /* Cada imagem ocupa 100% da largura em telas menores */
    }

    .projeto-detalhe-imagens video {
        width: 100%; /* Cada imagem ocupa 100% da largura em telas menores */
    }

    .logo img {
        width: 60%;
    }
}

/* Estilo para o loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Fundo branco com transparência */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Certifique-se de que o loader fique acima de tudo */
}

/* Imagem do spinner */
.loader-image {
    width: 50px; /* Ajuste o tamanho do spinner */
    height: 50px;
    animation: spin 1s linear infinite; /* Adiciona uma animação de rotação */
}

/* Animação de rotação */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Menu hambúrguer (escondido no desktop) */
.menu-toggle {
    background: none;
    border: none;
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1100;
}

/* Estilo do menu mobile */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    padding-top: 60px;
    align-items: center;
    text-align: center;
}

/* Estilo dos links do menu */
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    text-decoration: none;
    font-size: 1.2rem;
    color: black;
    transition: color 0.3s;
}

.mobile-menu ul li a:hover {
    color: gray;
}

.menu-icon::before {
    content: "☰"; /* Ícone de hambúrguer */
}

.menu-icon.close::before {
    content: "✖"; /* Ícone de "X" ao abrir */
}

/* Menu desktop */
.desktop-menu {
    display: flex;
}

.desktop-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.desktop-menu ul li a {
    text-decoration: none;
    color: black;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.desktop-menu ul li a:hover {
    color: gray;
}

.site-content {
    padding-top: 100px;
}

/* Exibição no mobile */
@media (max-width: 768px) {
    .desktop-menu {
        display: none; /* Oculta o menu desktop no mobile */
    }
    
    .menu-toggle {
        display: block; /* Exibir o botão no mobile */
    }

    .mobile-menu.show {
        display: flex; /* Exibir o menu quando ativado */
    }
}

.projeto-recentes {
    display: inline-block;
    width: 32%; /* Ajuste a largura conforme necessário */
    text-align: left; /* Alinha o texto à esquerda */
    margin-bottom: 5%; /* Espaçamento entre os blocos */
    opacity: 0; /* Esconde os elementos inicialmente */
    transform: translateY(200px); /* Move os elementos mais para baixo para aumentar o impacto */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out; /* Duração aumentada para 1s */
}

.projeto-recentes.show {
    opacity: 1; /* Mostra os elementos */
    transform: translateY(0); /* Move os elementos para a posição original */
}

.projeto-recentes-100-wd {
    width: 100%; /* Ajuste a largura conforme necessário */
}

.projeto-recentes-67-wd {
    width: 67%; /* Ajuste a largura conforme necessário */
}

.projeto-recentes-67-wd-right {
    width: 75%;
    float: right; /* Posiciona o box à direita */
    margin-left: auto; /* Garante que o espaço restante fique à esquerda */
}

.projeto-recentes-70-hg img {
    height: 70vh; /* Altura proporcional à tela */
}

.projeto-recentes-40-hg img {
    height: 40vh; /* Altura proporcional à tela */
}

.projeto-recentes img {
    width: 100%; /* Faz a imagem ocupar toda a largura do container */
    display: block;
    object-fit: cover; /* Faz a imagem preencher o bloco sem distorções */
    transition: transform 0.3s, filter 0.3s;
}

.projeto-recentes:hover img {
    filter: brightness(0.6);
}

.projeto-recentes .legenda {
    margin-top: 10px; /* Espaço entre a imagem e a legenda */
}

.projeto-recentes .legenda h3 {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.projeto-recentes .legenda p {
    font-size: 0.8rem;
    color: #666;
}

/* Responsividade */
@media (max-width: 768px) {
    .projeto-recentes {
        width: 100%; /* Um boxe por linha */
        margin-bottom: 20px; /* Espaçamento entre os blocos */
    }

    .projeto-recentes img {
        height: 40vh; /* Altura proporcional à tela */
    }
}

/* Estilo específico para PT e EN */
.lang-switch {
    display: flex; /* Garante que PT e EN fiquem lado a lado */
    align-items: center; /* Alinha verticalmente ao centro */
    gap: 5px; /* Espaçamento entre PT e EN */
}

.lang-switch a {
    line-height: 1.8; /* Garante o alinhamento uniforme */
}

/* Deixa o idioma ativo em bold */
.lang-switch a.active {
    font-weight: bold;
    color: black; /* Mantém a cor preta */
}

@media (max-width: 768px) {
    .lang-switch {
        display: flex; /* Coloca PT e EN na mesma linha */
        justify-content: center; /* Centraliza o conteúdo */
        gap: 5px; /* Espaçamento entre PT e EN */
    }

    .lang-switch a {
        text-transform: uppercase; /* Maiúsculas */
        color: black;
    }
}

/* Esconde blocos de idioma por padrão */
.lang-pt, .lang-en {
    display: none;
}

/* Mostra apenas o bloco ativo */
.lang-pt.active, .lang-en.active {
    display: block;
}

/* Estilos para o botão fixo */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000; /* Certificando-se de que o botão está acima de outros elementos */
    padding: 15px; /* Aumentei um pouco o padding para melhorar a aparência no mobile */
}

.whatsapp-button a {
    display: block;
}

.whatsapp-button img {
    width: 50px;
    height: 50px;
}

/* Tornar o botão mais responsivo */
@media (max-width: 600px) {
    .whatsapp-button {
        bottom: 25px; /* Ajuste no bottom para telas pequenas */
        right: 25px; /* Ajuste no right para telas pequenas */
        padding: 10px; /* Reduzindo o padding para telas pequenas */
    }

    .whatsapp-button img {
        width: 60px; /* Reduzindo o tamanho da imagem no mobile */
        height: 60px; /* Mantendo a proporção da imagem */
    }
}