/* ============================================= */
/* 🚀 RESET GERAL & ESTILOS GERAIS */
/* ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* ============================================= */
/* 📌 MENU FIXO TRANSPARENTE E DINÂMICO */
/* ============================================= */
.navbar {
    transition: all 0.3s ease-in-out;
    padding: 15px 20px;
}

/* Adiciona fundo e sombra ao rolar */
.navbar.scrolled {
    background: #16588b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
}

/* ============================================= */
/* 🏆 LOGO E NOME DA EMPRESA */
/* ============================================= */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px; /* Adiciona espaçamento entre a logo e o texto */
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.navbar-brand img {
    max-height: 80px; /* Ajusta o tamanho da logo */
}

.navbar-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    white-space: nowrap; /* Impede que o texto quebre */
}

/* ============================================= */
/* 🎨 RESPONSIVIDADE */
/* ============================================= */
@media (max-width: 992px) { /* Ajusta para tablets e telas menores */
    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) { /* Ajusta para celulares */
    .navbar-brand {
        font-size: 1rem;
        gap: 5px;
    }

    .navbar-text {
        font-size: 1rem;
    }

    .navbar-brand img {
        max-height: 50px; /* Reduz o tamanho da logo em telas menores */
        max-width: 50px;
    }
}



/* ============================================= */
/* 🎯 HERO SECTION (BANNER INICIAL) */
/* ============================================= */
.hero {
    position: relative;
    height: 80vh;
    background: url('https://source.unsplash.com/1600x900/?technology') center/cover fixed no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeIn 1.5s ease-in-out;
}

/* 🎬 Animação de Fade-in */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.4rem;
    margin-top: 10px;
}

/* ============================================= */
/* 🔹 SEÇÃO SOBRE */
/* ============================================= */
#sobre {
    background-color: #f8f9fa;
    padding: 80px 20px;
}

#sobre h2 {
    font-size: 2.5rem;
    color: #16588b;
}

#sobre p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* 💡 Imagem com efeito suave */
#sobre img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, opacity 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

#sobre img.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================= */
/* 🚀 SEÇÃO SERVIÇOS */
/* ============================================= */
#servicos {
    background: #f8f9fa;
    padding: 80px 20px;
}

#servicos h2 {
    font-size: 2.5rem;
    color: #16588b;
}

/* 💎 ESTILO DOS CARTÕES DE SERVIÇOS */
.servico-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
    text-align: center;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

/* 💡 EFEITO HOVER - ANIMAÇÃO FLUIDA */
.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 🖼️ ÍCONES */
.servico-card i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
}

.servico-card:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* 📝 TEXTO DOS SERVIÇOS */
.servico-card h3 {
    font-size: 1.6rem;
    color: #16588b;
    margin-top: 15px;
    font-weight: 600;
}

.servico-card p {
    font-size: 1.1rem;
    color: #555;
    margin-top: 10px;
}

/* 💫 EFEITO DE APARIÇÃO SUAVE AO ROLAR */
.servico-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.servico-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================= */
/* 📱 RESPONSIVIDADE */
/* ============================================= */
@media (max-width: 992px) { /* Ajustes para tablets */
    .servico-card {
        padding: 25px;
    }

    .servico-card h3 {
        font-size: 1.4rem;
    }

    .servico-card p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) { /* Ajustes para celulares */
    .servico-card {
        margin-bottom: 20px;
    }

    .servico-card i {
        font-size: 3rem;
    }

    .servico-card h3 {
        font-size: 1.3rem;
    }

    .servico-card p {
        font-size: 1rem;
    }
}


/*-------------------------------*/
/* SEÇÃO DE CONTATO */
#contato {
    background-color: #f8f9fa;
    padding: 80px 20px;
}

#contato h2 {
    font-size: 2.5rem;
    color: #16588b;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* CAMPOS DO FORMULÁRIO */
.contact-form .form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 12px;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
}

/* EFEITO DE FOCO NOS CAMPOS */
.contact-form .form-control:focus {
    border-color: #08ad3a;
    box-shadow: 0 0 5px rgba(8, 173, 58, 0.5);
}

/* BOTÃO DE ENVIO */
.contact-form button {
    background-color: #08ad3a;
    border: none;
    font-size: 1.2rem;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.contact-form button:hover {
    background-color: #06a032;
    transform: scale(1.05);
}

/* BOTÃO DO WHATSAPP */
.btn-success {
    background-color: #25D366;
    padding: 10px 20px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.btn-success:hover {
    transform: scale(1.1);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }

    .contact-form button {
        font-size: 1rem;
    }
}



/* ============================================= */
/* 🏆 SEÇÃO DEPOIMENTOS */
/* ============================================= */
#depoimentos {
    background-color: #f8f9fa;
    padding: 80px 20px;
}

.testimonial {
    max-width: 700px;
    margin: auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.testimonial:hover {
    transform: scale(1.03);
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #08ad3a;
}

/* ============================================= */
/* 🎨 SEÇÃO PORTFÓLIO */
/* ============================================= */
#portfolio {
    background: linear-gradient(to bottom, #16588b, #0c3a5e);
    padding: 80px 20px;
    color: white;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

/* ============================================= */
/* 📲 BOTÃO FIXO DO WHATSAPP */
/* ============================================= */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* ============================================= */
/* ⚡ FOOTER (RODAPÉ) */
/* ============================================= */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* ============================================= */
/* 📱 RESPONSIVIDADE */
/* ============================================= */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .servico-card { padding: 20px; }
    .portfolio-img { height: 200px; }
}
