
/* ===== CONFIGURAÇÕES GERAIS ===== */
body {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth; /* Rolagem suave para âncoras */
}

/* ===== COMPONENTES REUTILIZÁVEIS ===== */

/* Botão primário - usado em vários lugares */
.btn-primary {
    background-color: #1e40af;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px); /* Efeito de levantar ao passar mouse */
}

/* Menu mobile - escondido por padrão */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block; /* Mostra quando tem classe active */
}

/* Logo com gradiente personalizado */
.logo-text {
    font-weight: 800;
    font-size: 24px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* ===== SEÇÃO HERO/PRINCIPAL ===== */
.new-hero {
    background: linear-gradient(to right, #1e40af, #3b82f6);
    padding: 8rem 0 6rem;
    position: relative;
}

.new-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.new-hero-text {
    color: white;
    padding-left: 2rem;
}

.new-hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.new-hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 90%;
}

.new-hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Botões do hero */
.btn-white {
    background: white;
    color: #1e40af;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: white;
    color: #1e40af;
    transform: translateY(-3px);
}

.new-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== SEÇÃO DE SERVIÇOS ===== */
.servicos-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

/* Cards de serviço com efeitos hover */
.servico-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 64, 175, 0.1);
    text-align: center;
}

/* Linha colorida lateral que cresce no hover */
.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, #1e40af, #3b82f6);
    transition: all 0.5s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.1);
}

.servico-card:hover::before {
    height: 100%; /* Linha preenche toda altura no hover */
}

/* Ícones dos serviços */
.servico-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.2);
}

.servico-icon i {
    font-size: 2rem;
    color: white;
}

/* Efeito de inversão de cores no hover */
.servico-card:hover .servico-icon {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.servico-card:hover .servico-icon i {
    color: #1e40af;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.servico-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    transition: color 0.3s ease;
}

.servico-card:hover .servico-title {
    color: #1e40af;
}

.servico-desc {
    color: #64748b;
    line-height: 1.6;
}

/* Link "leia mais" que aparece no hover */
.servico-read-more {
    display: inline-flex;
    align-items: center;
    color: #1e40af;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.servico-card:hover .servico-read-more {
    opacity: 1;
    transform: translateY(0);
}

.servico-read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.servico-read-more:hover i {
    transform: translateX(5px);
}

/* ===== SEÇÕES COMPACTAS (SOBRE, PROCESSO, DIFERENCIAL) ===== */
.compact-sections {
    padding: 5rem 0;
    background-color: white;
}

.compact-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 64, 175, 0.1);
    text-align: center;
}

.compact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, #1e40af, #3b82f6);
    transition: all 0.5s ease;
}

.compact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.1);
}

.compact-card:hover::before {
    height: 100%;
}

.compact-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.2);
}

.compact-icon i {
    font-size: 1.8rem;
    color: white;
}

.compact-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    transition: color 0.3s ease;
}

.compact-card:hover .compact-title {
    color: #1e40af;
}

.compact-desc {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== PROCESSO (PASSOS NUMERADOS) ===== */
.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    text-align: left;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.3rem;
}

.step-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== DIFERENCIAIS ===== */
.diferencial-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    text-align: left;
}

.diferencial-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.diferencial-content h3 {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.3rem;
}

.diferencial-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== SEÇÃO TECNOLOGIAS (CARROSSEL) ===== */
.tech-slider-section {
    padding: 5rem 0;
    background-color: #f8fafc;
    overflow: hidden;
    position: relative;
}

.tech-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.tech-slider-track {
    display: flex;
    animation: tech-scroll 20s linear infinite;
    width: calc(200px * 14); /* Largura para criar loop contínuo */
}

.tech-slide {
    height: 120px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0.8rem;
}

.tech-icon {
    font-size: 2rem;
    color: #1e40af;
    transition: all 0.3s ease;
}

.tech-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    text-align: center;
}

/* Efeitos hover nas tecnologias */
.tech-item:hover .tech-icon-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.15);
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.tech-item:hover .tech-icon {
    color: white;
}

.tech-item:hover .tech-name {
    color: #1e40af;
    font-weight: 600;
}

/* Animação do carrossel infinito */
@keyframes tech-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 7)); /* Move metade do conteúdo */
    }
}

.tech-slider-track:hover {
    animation-play-state: paused; /* Pausa animação no hover */
}

/* ===== SEÇÃO EQUIPE ===== */
.team-section {
    padding: 5rem 0;
    background-color: white;
}

.team-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 64, 175, 0.1);
    text-align: center;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, #1e40af, #3b82f6);
    transition: all 0.5s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.1);
}

.team-card:hover::before {
    height: 100%;
}

/* Fotos da equipe */
.team-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid #f3f4f6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover .team-photo {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.team-role {
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #64748b;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
}

/* ===== SEÇÃO CONTATO ===== */
.contact-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

/* ===== BOTÃO FLUTUANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* ===== FORMULÁRIO DE CONTATO ===== */
.contact-form {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #d1d5db, transparent);
    margin: 2rem 0;
}

/* ===== SEÇÃO PROJETOS ===== */
.projects-section {
    padding: 5rem 0;
    background-color: white;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.1);
}

.project-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 64, 175, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.project-overlay a:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.project-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: #1e40af;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.project-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(5px);
}

/* ===== ESTILOS PARA POLÍTICA DE PRIVACIDADE ===== */
.privacy-container {
    max-width: 4xl;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.privacy-list li {
    margin-bottom: 0.5rem;
}

/* ===== RESPONSIVIDADE - MOBILE ===== */
@media (max-width: 1024px) {
    .new-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .new-hero-text {
        padding-left: 0;
    }
    
    .new-hero-text h1 {
        font-size: 2.8rem;
    }
    
    .new-hero-buttons {
        justify-content: center;
    }
    
    .new-hero-text p {
        max-width: 100%;
        margin: 0 auto 2.5rem;
    }
    
    .team-photo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 767px) {
    /* Esconde navegação desktop no mobile */
    .nav-links {
        display: none;
    }
    
    /* Estilos do menu mobile */
    .mobile-menu {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }
    
    .mobile-menu a {
        display: block;
        padding: 0.75rem 1rem;
        color: #1e293b;
        font-weight: 500;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .mobile-menu a:last-child {
        border-bottom: none;
    }
    
    .mobile-menu a:hover {
        background-color: #f8fafc;
        color: #1e40af;
    }
    
    /* Ajustes do hero para mobile */
    .new-hero {
        padding: 6rem 0 4rem;
    }
    
    .new-hero-text h1 {
        font-size: 2.2rem;
    }
    
    .new-hero-text p {
        font-size: 1.1rem;
    }
    
    .new-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-white, .btn-outline-white {
        width: 100%;
        max-width: 250px;
    }
    
    /* Ajustes de cards para mobile */
    .servico-card {
        padding: 2rem 1.5rem;
    }
    
    .servico-icon {
        width: 70px;
        height: 70px;
    }
    
    .servico-icon i {
        font-size: 1.75rem;
    }
    
    .compact-card {
        padding: 2rem 1.5rem;
    }
    
    .compact-icon {
        width: 60px;
        height: 60px;
    }
    
    .compact-icon i {
        font-size: 1.5rem;
    }
    
    /* Ajustes do carrossel para mobile */
    .tech-slide {
        width: 150px;
    }
    
    /* Ajustes do formulário para mobile */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Ajustes das fotos da equipe para mobile */
    .team-photo {
        width: 180px;
        height: 180px;
    }
}