@charset "utf-8";

/*
Theme Name: diegomaia
Author: Diego Maia
Author URI: www.diegomaia.dev
Description: Tema desenvolvido para o site "Diego Maia Dev"
Version: 1.0
*/

body {
    background-color: #becac9;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}


/* Container */

@media only screen and (max-width: 820px) {

    .container {
        width: auto;
        display: flex;
        flex-direction: column;
        margin-top: 220px;
    }
}

/* Cabeçalho*/

.header {
    position: relative;
    height: 100vh;
}

.cabecalho {
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px;
}

.logo-diego img {
    width: 63%;
}

.menu {
    display: flex;
    justify-content: center;
    width: 100vw;
}

.menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;

}

.menu ul li {
    margin: 0 20px;
    font-family: Poppins, sans-serif;
    letter-spacing: 2.7px;
    font-weight: 300;
}

.menu ul li a {
    color: #023859;
    font-family: 'Poppins';
    font-size: 0.9rem;
    line-height: 45px;

}

.menu ul li a:hover {
    color: #919f9e
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

/*.touch {
	font-family: Poppins, sans-serif;
	letter-spacing: 2.7px;
	font-weight: 300;
	font-size: 12px;
	color: #919290;
	text-align: center;
	padding-bottom: 50px;
}*/


@media only screen and (max-width: 820px) {

    .cabecalho {
        display: block;
        width: auto;
        height: 300px;
        text-align: center;
    }

    .menu {
        width: auto;
        text-align: center;
    }

    .menu ul {
        display: block;
        width: auto;
    }

    .menu ul li {
        margin-bottom: 10px;
    }

    .menu ul li:last-child {
        margin-bottom: 0;
    }

    .logo-diego img {
        width: 100%;
        margin-bottom: 80px;
    }
}


/* About */

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #becac9;
    width: 100vw;
    height: auto;
    padding: 70px;
    gap: 90px;
}

.about h1 {
    font-family: Poppins, sans-serif;
    letter-spacing: 2.7px;
    font-weight: 300;
    font-size: 32px;
    text-align: center;
    margin-top: 220px;
}

.about img {
    width: 10%;
    border-style: groove;
    border-width: 1px;
    border-color: rgb(135, 131, 131);
    border-radius: 150px 150px 150px 150px;
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.5);
}

.about-text {
    font-family: Poppins, sans-serif;
    letter-spacing: 2.7px;
    font-weight: 300;
    font-size: 16px;
    color: #023859;
    text-align: center;
    width: 65%;
    margin-bottom: 120px;
}

@media only screen and (max-width: 820px) {

    .about {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        width: auto;
    }

    .about h1 {
		text-align: left;
        font-size: 1.8rem;
    }
  

    .about img {
        width: 30%;
    }

    .about-text {
        width: 80%;
        text-align: center;
        font-size: 1.3rem;
    }
}


/* Portfólio */

.video-projeto {
    width: 100%;
    /* O vídeo ocupará toda a largura disponível */
    max-width: 840px;
    /* Limita a largura máxima do vídeo */
    height: auto;
    /* A altura será ajustada proporcionalmente */
    border-radius: 15px;
}

.video-projeto-vital {
    width: 100%;
    /* O vídeo ocupará toda a largura disponível */
    max-width: 840px;
    /* Limita a largura máxima do vídeo */
    height: auto;
    /* A altura será ajustada proporcionalmente */
    border-radius: 15px;
}


.portfolio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    background-color: #011c2d;
}

.descricao-projeto a {
    font-family: Poppins, sans-serif;
    letter-spacing: 2.7px;
    font-weight: 300;
    font-size: 1rem;
    color: #c4cfce;
    margin-top: 145px;
    padding-bottom: 80px;
    text-decoration: none;
    /* Remove o sublinhado */
    color: inherit;
    /* Mantém a cor do texto padrão */
}

.portfolio-item {
    text-align: center;
    margin-top: 40px;
}

.portfolio-item img {
    width: 60%;
    border-radius: 3px;
    margin-bottom: 40px;
}

.portfolio-item h3 {
    font-family: Poppins, sans-serif;
    letter-spacing: 2.7px;
    font-weight: 300;
    font-size: 2rem;
    color: #c4cfce;
    margin-bottom: 40px;
}

.portfolio h2 {
    font-family: "Poppins", sans-serif;
    color: #becac9;
    font-size: 2.8rem;
    font-weight: 300;
    padding: 60px;
}

.descricao-projeto {
    font-family: Poppins, sans-serif;
    letter-spacing: 2.7px;
    font-weight: 300;
    font-size: 19px;
    color: #c4cfce;
    text-transform: uppercase;
    padding: 20px;
    margin-bottom: 0px;
}

.descricao-projeto-design {
    font-family: Poppins, sans-serif;
    letter-spacing: 2.7px;
    font-weight: 300;
    font-size: 7px;
    color: #c4cfce;
    text-transform: uppercase;
    margin-bottom: 180px;
}

@media only screen and (max-width: 820px) {

    .video-projeto {
        max-width: 90%;
        /* Limita a largura máxima do vídeo */
        border-radius: 8px;
    }

    .portfolio-item h3 {
        font-size: 18px;
    }

    .portfolio-item img {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .descricao-projeto {
        font-size: 14px;
    }
}

/* Carousel cta*/

.text-carousel-wrapper,
.carousel-cta-1 {
    width: 100%;
    background-color: #becac9;
    overflow: hidden;
    border-bottom: 1px solid black;
}

.text-carousel {
    display: flex;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    width: max-content;
    /* Garante que o conteúdo se expanda corretamente */
}

.text-carousel span {
    font-size: 40px;
    color: #000;
    display: inline-block;
    padding: 29px 36px;
    flex: 0 0 auto;
}

.text-carousel span:nth-child(odd),
.text-carousel span:nth-child(even) {
    font-family: "Mendl Serif Trial Dawn", serif;
    font-weight: 500;
    font-style: italic;
    min-width: 250px;
    text-align: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}



@media (max-width: 768px) {
    .text-carousel {
        width: 100%;
    }

    .text-carousel span:nth-child(even) {
        width: auto;
    }
}

/* Suporte e Manutenção */
.suporte {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #becac9;
    width: 100%;
    padding: 70px 20px;
    gap: 30px;
}

.suporte h2 {
    font-family: Poppins, sans-serif;
    letter-spacing: 2.7px;
    font-weight: 300;
    font-size: 3rem;
    color: #011c2d;
    margin-top: 120px;
    text-align: center;
}

.suporte p {
    font-family: Poppins, sans-serif;
    letter-spacing: 2.7px;
    font-weight: 300;
    font-size: 18px;
    color: #011c2d;
    text-align: center;
    max-width: 800px;
}

.suporte .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-family: Poppins, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2.7px;
    font-weight: 300;
    color: white;
    background-color: #011c2d;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.suporte .btn:hover {
    background-color: #919f9e;
}

@media only screen and (max-width: 820px) {
    .suporte h2 {
        font-size: 2rem;
        margin-top: 80px;
    }

    .suporte p {
        width: 80%;
        text-align: center;
        font-size: 1.3rem;
    }
}


/* Footer */

#titulo-contato {
    font-family: Poppins, sans-serif;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 2.7px;
    text-align: center;
    margin-top: 120px;
}

footer {
    position: relative;
    overflow: hidden;
    /* Evita partículas escapando */
    padding: 20px 0;
    /* Reduz o espaço interno (altura do footer) */
    z-index: 1;
}

#contato {
    display: flex;
    justify-content: space-between;
    /* Espaço entre os elementos */
    align-items: center;
    /* Centraliza verticalmente */
    flex-wrap: wrap;
    /* Permite quebra em telas menores */
    max-width: 1200px;
    /* Largura máxima */
    gap: 20px;
    /* Espaçamento entre os itens */
    padding: 40px 20px;
    /* Espaçamento interno */
    position: relative;
    /* Garante que os campos sejam renderizados no contexto correto */
    z-index: 10;
    /* Prioridade acima do footer */
}


.texto-footer {
    font-family: Poppins, sans-serif;
    font-size: 19px;
    font-weight: 300;
    letter-spacing: 2.7px;
    width: 40%;
    /* Aloca 40% para o texto */
    margin: 0;
    /* Remove margens extras */
    text-align: center;
    padding-left: 50px;
}


/* Redes Sociais */
.redes-sociais {
    display: flex;
    flex-direction: column;
    /* Ícones empilhados */
    align-items: flex-start;
    /* Alinhados à esquerda */
    gap: 15px;
    /* Espaçamento entre os ícones */
    margin: 0;
    /* Remove margens extras */
}

.redes-sociais a {
    display: flex;
    /* Usa flexbox para centralizar */
    justify-content: center;
    /* Centraliza horizontalmente */
    align-items: center;
    /* Centraliza verticalmente */
    width: 50px;
    /* Tamanho total do círculo */
    height: 50px;
    /* Tamanho total do círculo */
    border: 1px solid #002244;
    /* Borda ao redor */
    border-radius: 50%;
    /* Torna o círculo redondo */
    background-color: transparent;
    /* Fundo transparente */
    text-decoration: none;
    /* Remove o sublinhado do link */
    margin-bottom: 30px;
}

.redes-sociais a img {
    width: 24px;
    /* Tamanho da imagem central */
    height: 24px;
    /* Tamanho da imagem central */
    object-fit: cover;
    /* Ajusta o conteúdo */
    margin-bottom: 0;
}

@media only screen and (max-width: 820px) {

    .redes-sociais {
        flex-direction: row;
    }

    #titulo-contato {
        margin-bottom: 60px;
    }

    #contato {
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0 auto;
        width: auto;
    }

    .texto-footer {
        width: 100%;
        text-align: center;
        padding: 0 30px;
        margin-bottom: 100px;
        font-family: 'Poppins';
        font-size: 1.3rem;
    }
}

/* Formulário */

/* Alterar a fonte dos labels do Contact Form 7 */
.wpcf7-form label {
    font-family: 'Poppins', sans-serif;
    /* Substitua 'SuaFonte' pelo nome da fonte desejada */
    text-transform: uppercase;
    font-weight: 300px;
    letter-spacing: 2.7px;
}

.wpcf7-form-control,
.wpcf7-submit {
    pointer-events: auto;
    /* Garante que o mouse possa interagir */
    position: relative;
    /* Evita problemas de contexto de empilhamento */
    z-index: 10;
    /* Mantém acima de outros elementos */
}

.wpcf7-form-control {
    cursor: text;
    /* Cursor padrão para campos de texto */
}

.wpcf7-submit {
    cursor: pointer;
    /* Cursor "mãozinha" para o botão */
}


/* Estilo dos campos de entrada */
.wpcf7-form-control {
    padding: 10px;
    /* Espaçamento interno */
    margin-bottom: 15px;
    /* Espaçamento entre os campos */
    border: 1px solid #ccc;
    /* Borda padrão */
    border-radius: 5px;
    /* Cantos arredondados */
    font-size: 16px;
    /* Tamanho do texto */
    background-color: #fff;
    /* Fundo branco */
    position: relative;
    /* Garante que o z-index seja aplicado corretamente */
    z-index: 10;
    /* Eleva os campos acima de outros elementos */
}

/* Estilo ao focar nos campos */
.wpcf7-form-control:focus {
    border-color: #002244;
    /* Cor da borda ao focar */
    outline: none;
    /* Remove a borda padrão do navegador */
    box-shadow: 0 0 5px rgba(0, 34, 68, 0.5);
    /* Adiciona um efeito de foco */
}

/* Estilo do botão de envio */
.wpcf7-submit {
    display: inline-block;
    background-color: #002244;
    /* Cor de fundo */
    color: #fff;
    /* Cor do texto */
    padding: 10px 20px;
    /* Espaçamento interno */
    font-size: 16px;
    /* Tamanho do texto */
    border: none;
    /* Remove a borda */
    border-radius: 5px;
    /* Cantos arredondados */
    cursor: pointer;
    /* Muda o cursor para "mãozinha" */
    transition: background-color 0.3s;
    /* Transição suave ao passar o mouse */
    z-index: 10;
}

/* Efeito ao passar o mouse no botão */
.wpcf7-submit:hover {
    background-color: #919f9e;
    /* Cor do botão ao passar o mouse */
    color: #002244
}

/* Estilo de mensagens de erro ou sucesso */
.wpcf7-response-output {
    margin-top: 15px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid;
    border-radius: 5px;
}

/* Mensagem de sucesso */
.wpcf7-response-output.wpcf7-mail-sent-ok {
    color: #2d7a2b;
    border-color: #2d7a2b;
    background-color: #eafaea;
}

/* Mensagem de erro */
.wpcf7-response-output.wpcf7-validation-errors {
    color: #a94442;
    border-color: #a94442;
    background-color: #fbeaea;
}

@media only screen and (max-width: 820px) {
    .wpcf7 {
        width: 100%;
        /* Ocupa toda a largura disponível */
        max-width: 90%;
        /* Define um limite de largura com espaçamento */
        margin: 0 auto;
        /* Centraliza o formulário */
        padding: 0 15px;
        /* Espaçamento interno para evitar que encoste nas laterais */
        box-sizing: border-box;
        /* Inclui padding na largura total */
    }

    .wpcf7-form-control {
        width: 100%;
        /* Campos ocupam 100% da largura do contêiner */
        max-width: 100%;
        /* Remove limite de largura nos campos */
        box-sizing: border-box;
        /* Garante que o padding seja incluído na largura total */
    }
}





#particles-js-footer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
    /* Impede que o fundo interfira no clique */
}

/* Scroll to Top*/

.scroll-to-top {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #002244;
    /* Cor de fundo */
    color: #fff;
    /* Cor da seta */
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    border-radius: 50%;
    /* Deixa a seta redonda */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* Sombra leve */
    cursor: pointer;
    /* Mostra o ícone de mão ao passar o mouse */
    display: none;
    /* Inicialmente escondida */
    z-index: 100;
    /* Garantir que fique acima de outros elementos */
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Animação suave */
}

.scroll-to-top:hover {
    background-color: #0056a8;
    /* Muda a cor ao passar o mouse */
    transform: scale(1.1);
    /* Aumenta ligeiramente o tamanho */
}

.scroll-to-top {
    margin-right: -20px;
}

/* Política de Privacidade */
.politica-privacidade {
    background-color: #f5f5f5;
    padding: 50px 80px;
    font-family: "Poppins", sans-serif;
    color: #023859;
}

.container-politica {
    max-width: 900px;
    margin: 0 auto;
}

.politica-privacidade h2 {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 30px;
}

.politica-privacidade h3 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-top: 30px;
    margin-bottom: 15px;
}

.politica-privacidade p,
.politica-privacidade ul {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.politica-privacidade ul {
    padding-left: 20px;
}

.politica-privacidade a {
    color: #0056a8;
    text-decoration: none;
}

.politica-privacidade a:hover {
    text-decoration: underline;
}

.link-politica {
    text-align: center;
    margin-top: 20px;
}

.link-politica a {
    color: #011c2d;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
}

.link-politica a:hover {
    text-decoration: underline;
}

/* Menu Hambúrguer */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    top: 20px;
    right: 20px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #023859;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger.is-active {
    width: 20px;
    /* Diminui o tamanho do botão close */
    height: 20px;
    /* Diminui o tamanho do botão close */
}

.hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.menu.is-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: -2px;
    right: 0;
    background-color: #becac9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    align-items: flex-start;
    height: 105%;
    text-align: left;
}

.menu.is-active ul {
    flex-direction: column;
    align-items: flex-start;
}

.menu.is-active ul li {
    margin: 10px 0;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        width: 12%;
        margin-right: 20px;
        margin-top: 20px;
    }

    .menu {
        display: none;
    }
}