@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    list-style: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: white;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ----------------------------------------------------------Barra de Navegação ---------------------------------------------------------------------------------*/
.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    box-shadow: 0 0.1rem 0.5rem #ccc;
    width: 100%;
    background-color: white;
    transition: all 0.5s;
    position: fixed;
    z-index: 1000;
}

.btn-primary {
    padding: 9px 15px;
    font-size: 14px;
    background: white;
    color: #5479f7;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #5479f7;
}

.btn-primary:hover {
    background: #5479f7;
    color: white;
}

.navigation .logo {
    color: #5479f7;
    font-size: 1.3rem;
    font-weight: 600;
}

.logo span {
    color: #333;
}

.navigation ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navigation ul li a {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.navigation ul li a:hover {
    color: #5479f7;
}

.menu {
    cursor: pointer;
    display: none;
}

.menu .bar {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: #333;
    margin: 5px auto;
    transition: all 0.3s;
}

.menu .bar:nth-child(1),
.menu .bar:nth-child(3) {
    background: #5479f7;
}

/* Seção Home */
.home {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 10% 50px;
    text-align: center;
    background-color: #f8f9fa;
}

.text-animado {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    display: block;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#digitando {
    position: relative;
    color: #5479f7;
    margin-left: 5px; /* Reduzido de 10px para 5px */
    text-align: left;
}

#digitando::after {
    content: "|";
    position: absolute;
    right: -8px;
    animation: pisca 0.7s infinite;
    color: #5479f7;
    font-weight: 400;
}


@keyframes pisca {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.text-h4 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
}

.home-btn {
    position: relative;
    padding: 13px 45px;
    font-size: 1rem;
    background: #5479f7;
    color: white;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 20px;
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    border: none;
    cursor: pointer;
    gap: 8px; 
}

.home-btn:hover {
    background: #3a5bd9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(84, 121, 247, 0.3);
}

/* -------------------------------------------------------------------------Seção Sobre ----------------------------------------------------------------------*/
.sobre-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
    background-color: white;
}

.sobre-text {
    max-width: 100%;
    text-align: center;
    margin-bottom: 3rem;
}

.sobre-text .titulo {
    font-size: 1.2rem;
    color: #5479f7;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sobre-text .titulo-principal {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #333;
}

.sobre-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #666;
    max-width: 800px;
    margin-right: auto;
}

.sobre-img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.sobre-img img {
    width: 100%;
    height: auto;
}

/* -------------------------------------------------------------------------Seção Serviços------------------------------------------------------------------------- */
#servicos {
    padding: 80px 5%;
    background-color: #f8f9fa;
}

.servicos-header {
    text-align: center;
    margin-bottom: 50px;
}

.servicos-header h6 {
    font-size: 1rem;
    color: #5479f7;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.servicos-header h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.servicos-header h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #5479f7;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.servicos-header p {
    font-size: 1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.servicos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.servico-card {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 350px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(84, 121, 247, 0.1);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(84, 121, 247, 0.1);
    border-color: rgba(84, 121, 247, 0.3);
}

.servico-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(84, 121, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #5479f7;
}

.servico-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}

.servico-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* -------------------------------------------------------------------------Seção Confiança------------------------------------------------------------------------- */
.confianca {
    padding: 80px 5%;
    background-color: white;
}

.container-conf {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.img-conf {
    width: 100%;
    max-width: 500px;
    margin-bottom: 3rem;
}

.img-conf img {
    width: 100%;
}

.txt-conf {
    width: 100%;
    text-align: center;
}

.txt-conf h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    width: 120%;
}

.txt-conf p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.avaliacao {
    margin: 1.5rem 0;
    color: #ffc107;
    font-size: 1.5rem;
}

.txt-conf p b {
    color: #5479f7;
    font-size: 1.2rem;
}

/* -------------------------------------------------------------------------Seção Projetos------------------------------------------------------------------------- */
.projetos {
    padding: 80px 5%;
    background-color: #f8f9fa;
}

.projetos-titulo {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.projetos-titulo:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #5479f7;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.projetos-caixa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

.projetos-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(84, 121, 247, 0.1);
}

.projetos-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(84, 121, 247, 0.1);
}

.projetos-imagem {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.caixa-textos-projetos {
    padding: 1.5rem;
}

.info-projetos {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.paragrafo-projetos {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------------------------------------------------------------------------------------Seção Contato------------------------------------------------------------------ */
.contato {
    padding: 80px 5%;
    background-color: white;
}

.container-contatos {
    max-width: 800px;
    margin: 0 auto;
}

.form-box {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.title-cont {
    font-size: 1.2rem;
    color: #5479f7;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
}

.form-box form {
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.form-box input,
.form-box textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-box input:focus,
.form-box textarea:focus {
    border-color: #5479f7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(84, 121, 247, 0.2);
}

.form-box textarea {
    height: 150px;
    resize: vertical;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.loading-spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid white;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: none;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}



/* -------------------------------------------------------------------------Footer------------------------------------------------------------------------- */
footer {
    background-color: #333;
    color: white;
    padding: 60px 5% 20px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    margin-bottom: 2rem;
}

.text1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.text1 span {
    color: #5479f7;
}

.line {
    width: 40px;
    height: 3px;
    background-color: #5479f7;
    margin: 10px 0 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: #5479f7;
    transform: translateY(-3px);
}

.footer-column h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    transition: all 0.3s;
}

.footer-column ul li a:hover {
    color: #5479f7;
    padding-left: 5px;
}

.footer-column ul li i {
    margin-right: 10px;
    color: #5479f7;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.name1 {
    color: #5479f7;
}

/* -------------------------------------------------------------------------Animações------------------------------------------------------------------------- */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/*------------------------------------------------------------------------- Media Queries------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .sobre-section {
        flex-direction: row;
        text-align: left;
    }
    
    .sobre-text {
        max-width: 50%;
        text-align: left;
        margin-right: 3rem;
        margin-bottom: 0;
    }
    
    .sobre-img {
        max-width: 45%;
    }
    
    .container-conf {
        flex-direction: row;
    }
    
    .img-conf {
        max-width: 45%;
        margin-right: 3rem;
        margin-bottom: 0;
    }
    
    .txt-conf {
        text-align: left;
    }
    
    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .footer-column {
        width: 48%;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .navigation ul {
        gap: 3rem;
    }
    
    .text-animado {
        font-size: 3rem;
    }
    
    .sobre-text .titulo-principal {
        font-size: 3rem;
    }
    
    .servicos-container {
        gap: 40px;
    }
    
    .footer-column {
        width: 23%;
    }
}

@media (max-width: 767px) {

    .txt-conf h2 {
        width: 100%;
    }

    .navigation {
        padding: 15px 20px;
    }
    
    .navigation ul {
        position: fixed;
        right: -100%;
        top: 70px;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        background: white;
        gap: 0;
        transition: 0.3s;
        padding: 40px 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .navigation ul.ativo {
        right: 0;
    }
    
    .nav-item {
        margin: 15px 0;
        text-align: center;
    }
    
    .btn-primary {
        margin: 20px auto 0;
        display: block;
        width: 150px;
        text-align: center;
    }
    
    .menu {
        display: block;
    }
    
    .menu.ativo .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu.ativo .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu.ativo .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .text-animado {
        font-size: 2rem;
        height: 60px;
        display: block;
    }
    
    #digitando {
        min-width: 250px;
    }
    
    .text-h4 {
        font-size: 1.2rem;
    }
    
    .home-btn {
        padding: 12px 35px;
    }
    
    .servico-card {
        padding: 25px;
    }
}




/* Modal de Sucesso */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #333;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    color: #fff;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    margin-top: 0;
    color: #4CAF50;
}

.modal-content p {
    font-size: 1.1em;
    line-height: 1.6;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #fff;
    text-decoration: none;
}


/* Seção de Contato - CTA */
.contato-cta {
    padding: 80px 0;
    background-color: #f8f9fa; /* Fundo cinza claro para contraste */
    text-align: center;
    color: #333;
}

.contato-cta.hidden {
    opacity: 0;
    transform: translateY(20px);
}

.contato-cta.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.container-cta {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-box {
    padding: 40px;
    background-color: white; /* Caixa branca, como nos outros cartões de serviço */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Sombra mais suave */
}

.title-cta {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #5479f7; /* Cor azul do seu logo e botões */
    text-transform: uppercase;
}

.cta-box p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #666;
}

.btn-cta {
    display: inline-block;
    background-color: #5479f7; /* Cor azul do seu logo e botões */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-cta:hover {
    background-color: #3a5bd9;
    transform: translateY(-3px);
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .title-cta {
        font-size: 1.8em;
    }
}










@media (max-width: 480px) {

    .txt-conf h2 {
        width: 100%;
    }


    .text-animado {
        font-size: 1.3rem;
        height: 50px;
        display: block;
    }
    
    #digitando {
        min-width: 200px;
    }
    
    .sobre-text .titulo-principal {
        font-size: 2rem;
    }
    
    .servico-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .projetos-titulo {
        font-size: 1.8rem;
    }
}