/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #e6e9f2;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1d2b46;
    color: white;
    padding: 15px 40px;
    flex-wrap: wrap;
    min-height: 70px;
    position: relative;
    z-index: 100;
}

.header .logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
}

.header .logo img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav a.active {
    background-color: #2F446B;
    color: white;
}

.whatsapp-header {
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-header:hover {
    background-color: #20b954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Banner Serviços */
.banner-servicos {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 0;
}

.banner-servicos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.banner-servicos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47, 68, 107, 0.8), rgba(29, 43, 70, 0.6));
    z-index: 1;
}

.texto-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.texto-banner h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
}

.texto-banner p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    opacity: 0.95;
}

/* Introdução dos Serviços */
.servicos-intro {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.servicos-intro h2 {
    font-size: 2.5rem;
    color: #2F446B;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
}

.servicos-intro h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2F446B;
    border-radius: 2px;
}

.servicos-intro p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Estatísticas */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.stat-item {
    background: linear-gradient(135deg, #2F446B, #1d2b46);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 25px rgba(47, 68, 107, 0.3);
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 200px;
    max-width: 220px;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Serviços Principais */
.servicos-principais {
    background: #f8f9fc;
    padding: 80px 0;
}

.servicos-principais h2 {
    font-size: 2.5rem;
    color: #2F446B;
    margin-bottom: 50px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.servicos-principais h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2F446B;
    border-radius: 2px;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.servico-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #2F446B;
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    background: linear-gradient(135deg, #2F446B, #1d2b46);
    padding: 30px;
    text-align: center;
}

.card-icon i {
    font-size: 3rem;
    color: white;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.4rem;
    color: #2F446B;
    margin-bottom: 15px;
    font-weight: bold;
}

.card-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #555;
}

.service-features li i {
    color: #2F446B;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Processo de Trabalho */
.processo-trabalho {
    background: white;
    padding: 80px 0;
}

.processo-trabalho h2 {
    font-size: 2.5rem;
    color: #2F446B;
    margin-bottom: 50px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.processo-trabalho h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2F446B;
    border-radius: 2px;
}

.processo-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.processo-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #2F446B, #1d2b46);
    border-radius: 2px;
}

.processo-step {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.processo-step:nth-child(odd) {
    flex-direction: row;
}

.processo-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    background: linear-gradient(135deg, #2F446B, #1d2b46);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(47, 68, 107, 0.3);
}

.step-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 0 40px;
    flex: 1;
    border-left: 4px solid #2F446B;
    transition: transform 0.3s ease;
}

.processo-step:nth-child(even) .step-content {
    border-left: none;
    border-right: 4px solid #2F446B;
}

.step-content:hover {
    transform: translateY(-5px);
}

.step-content h3 {
    font-size: 1.3rem;
    color: #2F446B;
    margin-bottom: 10px;
    font-weight: bold;
}

.step-content p {
    color: #555;
    line-height: 1.6;
}

/* Áreas de Atuação */
.areas-atuacao {
    background: #f8f9fc;
    padding: 80px 0;
}

.areas-atuacao h2 {
    font-size: 2.5rem;
    color: #2F446B;
    margin-bottom: 50px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.areas-atuacao h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2F446B;
    border-radius: 2px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.area-item {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #2F446B;
}

.area-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.area-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2F446B, #1d2b46);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(47, 68, 107, 0.3);
}

.area-icon i {
    font-size: 2rem;
    color: white;
}

.area-item h3 {
    font-size: 1.3rem;
    color: #2F446B;
    margin-bottom: 15px;
    font-weight: bold;
}

.area-item p {
    color: #555;
    line-height: 1.6;
}

/* Diferenciais Técnicos */
.diferenciais-tecnicos {
    background: white;
    padding: 80px 0;
}

.diferenciais-tecnicos h2 {
    font-size: 2.5rem;
    color: #2F446B;
    margin-bottom: 50px;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.diferenciais-tecnicos h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2F446B;
    border-radius: 2px;
}

.diferenciais-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.diferencial-tech {
    background: linear-gradient(135deg, #f8f9fc, #e6e9f2);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    flex: 1;
    min-width: 250px;
    max-width: 280px;
}

.diferencial-tech:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #2F446B;
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2F446B, #1d2b46);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(47, 68, 107, 0.3);
}

.tech-icon i {
    font-size: 2rem;
    color: white;
}

.diferencial-tech h3 {
    font-size: 1.3rem;
    color: #2F446B;
    margin-bottom: 15px;
    font-weight: bold;
}

.diferencial-tech p {
    color: #555;
    line-height: 1.6;
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, #2F446B, #1d2b46);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-final .container {
    position: relative;
    z-index: 2;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.botao-cta {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.botao-cta.primary {
    background: white;
    color: #2F446B;
}

.botao-cta.primary:hover {
    background: #f8f9fc;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.botao-cta.secondary {
    background: #25d366;
    color: white;
}

.botao-cta.secondary:hover {
    background: #20b954;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

/* Footer */
.footer {
    background: #1d2b46;
    color: white;
    font-size: 0.9em;
}

.testediv {
    background: #2F446B;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}

.contato-mapa {
    width: 100%;
}

.contato-mapa iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

.newsletter {
    background: #2F446B;
    padding: 40px 20px;
    text-align: center;
}

.newsletter h1 {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.5rem;
}

.newsletter form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter input {
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    flex: 1;
    min-width: 250px;
}

.newsletter button {
    background: #2F446B;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background: #1d2b46;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 40px 20px;
    gap: 30px;
}

.footer-column {
    max-width: 250px;
    margin-bottom: 20px;
}

.footer-column h4 {
    margin-bottom: 15px;
    border-bottom: 2px solid white;
    padding-bottom: 8px;
    font-size: 1.1rem;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a,
.footer-column ul li {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #2F446B;
}

.footer-column i {
    color: #2F446B;
    width: 16px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .header {
        padding: 15px 20px;
        gap: 15px;
    }
    
    .header-right {
        gap: 20px;
    }
    
    .nav {
        gap: 15px;
    }
    
    .banner-servicos {
        height: 400px;
    }
    
    .servicos-intro,
    .servicos-principais,
    .processo-trabalho,
    .areas-atuacao,
    .diferenciais-tecnicos,
    .cta-final {
        padding: 60px 0;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .processo-timeline::before {
        left: 30px;
    }
    
    .processo-step {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .processo-step:nth-child(even) {
        flex-direction: row !important;
    }
    
    .step-number {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .step-content {
        margin: 0;
        border-left: 4px solid #2F446B !important;
        border-right: none !important;
    }
    
    .stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        min-width: 180px;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .header-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-left: 0;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .banner-servicos {
        height: 350px;
    }
    
    .servicos-intro,
    .servicos-principais,
    .processo-trabalho,
    .areas-atuacao,
    .diferenciais-tecnicos,
    .cta-final {
        padding: 50px 0;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .stat-item {
        min-width: 250px;
        max-width: 300px;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .diferenciais-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .diferencial-tech {
        min-width: 280px;
        max-width: 350px;
    }
    
    .processo-step {
        padding-left: 70px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter input {
        width: 100%;
        max-width: 400px;
    }
    
    .newsletter button {
        width: 100%;
        max-width: 200px;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px;
    }
    
    .nav a {
        font-size: 1rem;
        padding: 6px 10px;
    }
    
    .whatsapp-header {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .banner-servicos {
        height: 300px;
    }
    
    .servicos-intro,
    .servicos-principais,
    .processo-trabalho,
    .areas-atuacao,
    .diferenciais-tecnicos,
    .cta-final {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .servicos-intro h2,
    .servicos-principais h2,
    .processo-trabalho h2,
    .areas-atuacao h2,
    .diferenciais-tecnicos h2 {
        font-size: 2rem;
    }
    
    .cta-final h2 {
        font-size: 2rem;
    }
    
    .processo-step {
        padding-left: 60px;
    }
    
    .processo-timeline::before {
        left: 25px;
    }
    
    .step-number {
        left: 0;
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
    
    .step-content {
        padding: 15px;
    }
    
    .servico-card .card-content,
    .area-item,
    .diferencial-tech {
        padding: 25px 20px;
    }
    
    .testediv {
        font-size: 1.5rem;
        padding: 15px;
    }
    
    .newsletter {
        padding: 30px 15px;
    }
    
    .footer-main {
        padding: 30px 15px;
    }
}

