* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    height: 100vh
}

@media (max-width: 768px) {
    body {
        scroll-behavior: smooth;
        overflow-x: hidden;
        height: 100vh
    }
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #002244, #005f99);
    /* Gradiente Azul Escuro */
    height: 100vh
}

/* Importando uma fonte moderna */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&family=Montserrat:wght@600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    line-height: 1.6;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px 0px 10px;
    background: linear-gradient(135deg, #aad9ff, #005f99, #5486bd);
    /* Gradiente Azul */
    color: #ffffff;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
    /* Transição suave para a mudança */
}


.header .logo img {
    width: 200px;
    margin: -15px 10px -25px 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.2));
}


.header .logo img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0px 6px 10px rgba(0, 0, 0, 0.4));
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    align-items: center;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #00b0ff;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #00b0ff;
    transform: translateY(-3px);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Ajustes para dispositivos móveis */
/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    .header {
        display: flex;
        justify-content: space-between;
        /* Alinha horizontalmente */
        align-items: center;
        /* Centraliza verticalmente */
        padding: 10px 15px;
        /* Reduz espaçamento */
        margin-left: -20PX;
    }

    .header .logo img {
        width: 125px;
        /* Ajusta o tamanho do logo */
        margin: 0;
        /* Remove margens desnecessárias */
    }

    .menu-toggle {
        display: block;
        /* Exibe o botão de menu no mobile */
        font-size: 1.5rem;
        color: #fff;
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-menu {
        display: none;
        /* Menu escondido inicialmente */
        flex-direction: column;
        /* Menu em coluna ao ser exibido */
        position: absolute;
        top: 60px;
        right: 10px;
        background: #005f99;
        padding: 15px;
        border-radius: 5px;
    }

    .menu-mobile.open+.nav-menu {
        display: flex;
        /* Exibe o menu ao clicar no botão */
        position: absolute;
        /* Para controlar o posicionamento */
    }
}



/* Estilo do botão de menu */
.menu-toggle {
    font-size: 30px;
    background-color: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 10px;
    /* Espaço entre os três pontos */
    z-index: 2000;
    /* Garante que o botão estará acima do conteúdo */
}

/* Estilo do menu móvel */
.mobile-nav {
    display: none;
    /* Esconde o menu inicialmente */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* O menu ocupa toda a altura da tela */
    z-index: 1000;
    /* Garante que o menu ficará acima de outros conteúdos */
    text-align: center;
}

.mobile-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-top: -20px;
    margin-bottom: -45px;
}

.mobile-nav ul li {
    margin: 0px 0;
}

.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    display: block;
    padding: 3px;
    margin-bottom: 10px;
    margin-top: 10px;
}

/* Exibe o menu quando a classe "active" for adicionada */
.menu-mobile.active .mobile-nav {
    display: block;
}

/* Estilo para quando o botão estiver em foco ou hover */
.menu-toggle:hover {
    color: #fff;
}

/* Esconde o botão de menu em telas grandes (desktop) */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    header.hide {
        transform: translateY(-100%);
        /* Esconde o header movendo para cima */
        transition: transform 0.3s ease-in-out;
    }

}



/* Hero */
.hero {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(180deg, #003b5c, #005f99);
    color: #fff;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
}


#cta-container {
    margin-right: 50px;
}

/* Botão CTA */
.cta-button {
    background: linear-gradient(90deg, #00b0ff, #005f99);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 10px 30px 10px 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}


.cta-button:hover {
    background: linear-gradient(90deg, #007acc, #004f77);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 176, 255, 0.6);
}


/* Menu Móvel */
.menu-mobile {
    display: none;
    /* Só aparece em telas pequenas */
}

.menu-toggle {
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-left: 15px;
    /* Ajuste do botão para a esquerda */
    margin-bottom: -20px;
    margin-top: 0px;
    z-index: 1001;
    /* Garante que o botão fique sobre o menu */
    position: relative
}

@media (max-width: 768px) {
    .menu-toggle {
        font-size: 1.5rem;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
        /* Ajuste do botão para a esquerda */
        margin-bottom: -20px;
        margin-top: 0px;
        z-index: 1001;
        margin-right: 20px;
        /* Garante que o botão fique sobre o menu */
        position: relative
    }
}

/* Estilos para dispositivos móveis */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        /* Oculta menu em telas pequenas */
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 30px;
        background: #ffff;
        border-radius: 5px;
        padding: 10px;
        gap: 10px;
    }

    .nav-menu a {
        color: #fff;
        font-size: 1.2rem;
        text-align: center;
    }

    .menu-mobile {
        display: block;
        margin-bottom: 25px;
        /* Exibe o ícone de menu */
    }

    .menu-mobile.open+.nav-menu {
        display: flex;
        /* Exibe o menu ao clicar no ícone */
    }
}


/* Serviços */
/* Seção de Serviços */

.servicos-lista {
    display: flex;
    gap: 20px;
    /* Espaçamento entre os cartões */
    flex-wrap: wrap;
    /* Permite que os itens se ajustem em linhas */
    justify-content: center;
    /* Centraliza os cartões */
}

.servicos {
    padding: 60px 20px;
    background: linear-gradient(135deg, #aad9ff, #005f99, #5486bd);
    text-align: center;
}

.servicos h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}



.descricao-servicos {
    font-size: 1.5rem;
    color: #ffff;
    max-width: 600px;
    margin: 20px auto 50px auto;
}

.servicos-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

.servico {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 calc(25% - 20px);
    /* Garante que cada cartão ocupe 25% da largura disponível */
    max-width: 400px;
    /* Limita o tamanho máximo */
    display: flex;
    flex-direction: column;
    /* Organiza o conteúdo verticalmente */
    justify-content: space-between;
    /* Garante que o botão fique no fim */
    min-height: 300px;
    /* Define uma altura mínima para uniformizar os cartões */
    text-align: center;
    margin-top: 20px;
}

.servico h3 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    color: #003b5c;
}

.servico p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 10px;
    margin-top: 5px;
}

.servico ul {
    list-style: none;
    padding: 0;
    margin-bottom: 5px;
    margin-top: 5x;
}

.servico ul li {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 10px;
}

.servico ul li::before {
    content: "✔";
    color: #00b0ff;
    margin-right: 10px;
    font-weight: bold;
}

.cta-button {
    margin-top: 15px;
    /* Espaçamento entre o botão e o conteúdo acima */
    display: block;
    /* Garante que o botão seja tratado como um bloco */
    background: linear-gradient(90deg, #00b0ff, #005f99);
    color: #fff;
    padding: 20px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s ease, transform 0.2s ease;
    text-align: center;
    /* Centraliza o texto no botão */
    width: fit-content;
    /* Ajusta a largura para caber no texto */
    margin-left: auto;
    /* Centraliza horizontalmente */
    margin-right: auto;
    /* Centraliza horizontalmente */
}

.cta-button:hover {
    background: linear-gradient(90deg, #007acc, #004f77);
    transform: scale(1.05);
}



/* Estilo Geral da Seção de Portfólio */
.portfolio {
    padding: 60px 20px;
    background: linear-gradient(180deg, #0d3b66, #145da0);
    color: #fff;
    text-align: center;
}

.portfolio h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffff;
}

@media (max-width: 768px) {
    .portfolio h2 {
        font-size: 2.4rem;
    }
}

.portfolio-descricao {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
    color: #e4e4e4;
}

.portfolio-lista {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas fixas */
    gap: 30px;
    justify-content: center;
}


@media (max-width: 768px) {
    .portfolio-lista {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas para telas menores */
    }
}

@media (max-width: 480px) {
    .portfolio-lista {
        grid-template-columns: 1fr; /* 1 coluna para telas muito pequenas (celulares) */
    }
}


.projeto {
    background: #fff;
    color: #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projeto:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.projeto a {
    text-decoration: none;
    color: inherit;
}

/* Garantir imagens alinhadas e proporcionais */
.projeto-imagem {
    width: 100%;
    height: 260px;
    /* Altura fixa para todas as imagens */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
    /* Fundo para imagens menores */
    border-bottom: 5px solid #4683ac;
}

.projeto-imagem img {
    width: 450px;
    height: 100%;
    object-fit: cover;
    /* Ajusta a imagem para cobrir o container */
    object-position: center;
    transition: transform 0.3s ease;
}


.projeto:hover img {
    transform: scale(1.05);
}

.projeto-detalhes {
    padding: 20px;
}

.projeto-detalhes li {
    font-size: 1.1rem;
    margin-top: 5px;
}

.projeto-detalhes ul {
    margin-top: 15px;
}

.projeto-detalhes h3 {
    font-size: 1.5rem;
    color: #145da0;
    margin-bottom: 10px;
}

.projeto-detalhes p {
    font-size: 1rem;
    color: #2e2e2e;
    line-height: 2rem;
    margin-bottom: 5px;
    font-size: 1.2rem;
}


/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #002244, #005f99);
    /* Gradiente Azul */
    color: #fff;
    animation: fadeIn 1s ease-in-out;
    /* Animação de entrada */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    margin-top: 15px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.6rem;
    }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    margin-top: 20px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero button {
    background-color: #00b0ff;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-top: 45px;
}

.hero button:hover {
    background-color: #005f99;
    transform: scale(1.1);
    /* Efeito de zoom ao passar o mouse */
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* Sobre Mim */
.sobre {
    padding: 80px 20px;
    background: linear-gradient(135deg, #aad9ff 0%, #005f99 50%, #5486bd 100%);
    color: #fff;
}

.sobre h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-align: center;
}

@media (max-width: 768px) {
    .sobre h2 {
        font-size: 2rem;
    }
}


.sobre-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.sobre-imagem img {
    width: 350px;
    height: auto;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .sobre-imagem img {
        width: 250px;
    }
}

.sobre-imagem img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.sobre-texto {
    max-width: 600px;
    padding: 20px;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.sobre-texto h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.sobre-texto ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    color: #d1f0ff;
}

.sobre-texto ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
}

.sobre-texto ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #50fa7b;
    font-size: 1.3rem;
    font-weight: bold;
}

.sobre-texto p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #f0f8ff;
}

.sobre-texto a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #50fa7b;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.sobre-texto a:hover {
    background-color: #3fcf5b;
    transform: translateY(-3px);
}






/* Ajuste geral para a seção */
.por-que-escolher {
    padding: 60px 20px;
    background: linear-gradient(135deg, #002244, #005f99);
    /* Gradiente Azul Escuro */
    text-align: center;
    color: #fff;
}

.por-que-escolher h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .por-que-escolher h2 {
        font-size: 2rem;
    }
}

.descricao-escolher {
    font-size: 1.2rem;
    color: #f1f1f1;
    margin-bottom: 40px;
    line-height: 1.8;
    font-style: italic;
}

.motivos-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 10px;
}

.motivo {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .motivo {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 15px;
        /* Reduzi o padding para telas menores */
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        text-align: left;
        transition: all 0.3s ease-in-out;
        margin-left: 15px;
        /* Adicionei uma margem à direita para garantir o espaçamento */
        margin-top: 15px;
        /* Dêi um espaçamento superior para não colar em outros elementos */
        width: 85%;
        /* Garante que a largura ocupe 90% da tela */
        box-sizing: border-box;
        /* Garante que o padding seja considerado no cálculo da largura */
    }
}


.motivo:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.motivo h3 {
    font-size: 1.5rem;
    color: #005f99;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.motivo p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
}

.motivo:last-child h3 {
    color: #ff6600;
}

/* Botão de chamada para ação */
.cta-section {
    margin-top: 40px;
    text-align: center;
}

.cta-section p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 500;
}

.cta-button {
    background-color: #28a745;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #218838;
    transform: scale(1.1);
}

.cta-button:active {
    transform: scale(1);
}





/* Contato */
/* Contato */
.contato {
    background: linear-gradient(135deg, #6aace2 0%, #005f99 50%, #5486bd 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    /* Fonte mais legível */
}

.contato h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    /* Maior espaço entre título e formulário */
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Modernidade no texto */
}

.contato form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Mais espaçamento entre os campos */
    max-width: 500px;
    /* Limitando a largura para centralizar melhor */
    margin: 0 auto;
    padding: 20px 20px 10px 20px;
}

.contato input,
.contato textarea {
    padding: 16px;
    /* Conforto no preenchimento */
    border: 2px solid transparent;
    border-radius: 10px;
    background-color: #f4f4f4;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contato input:focus,
.contato textarea:focus {
    border-color: #00b0ff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 176, 255, 0.5);
}

.contato button {
    background-color: #00b0ff;
    color: #fff;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s ease;
    max-width: 250px;
    margin: 0 auto;
}

.contato button:hover {
    background-color: #005f99;
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 176, 255, 0.3);
}

@media (max-width: 768px) {
    .contato h2 {
        font-size: 2rem;
        /* Título mais compacto */
    }

    .contato form {
        width: 100%;
        padding: 15px;
    }

    .contato input,
    .contato textarea {
        font-size: 1.1rem;
    }

    .contato button {
        width: 100%;
    }
}






/* Footer */
.footer {
    background: linear-gradient(135deg, #002244, #005f99);
    /* Gradiente Azul Escuro */
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    width: 200px;
    height: auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social a {
    color: #fff;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #00b0ff;
}

.footer-bottom {
    margin-top: 35px;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem;
}

.cta-button {
    background-color: #25D366;
    color: white;
    padding: 15px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px
}

@media (max-width: 768px) {
    .cta-button {
        background-color: #25D366;
        color: white;
        padding: 10px 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 15px
    }
}

.cta-button:hover {
    background-color: #1da851;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007bff;
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
}