/* Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-blue: #2a4d8c;
    --dark-blue: #1a305e;
    --light-gray: #f4f7f6;
    --white: #ffffff;
    --whatsapp-green: #25d366;
}

body {
    background-color: var(--white);
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header & Menu */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { height: 70px; }

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: bold;
    margin-left: 2rem;
    transition: 0.3s;
}

.nav-links li a:hover { color: var(--primary-blue); }

/* =========================================
   Hero Section - COM A NOVA IMAGEM DE FUNDO
   ========================================= */
.hero {
    height: 80vh; /* Aumentei um pouco a altura para destacar a imagem */
    /* A mágica está aqui: imagem de fundo + sobreposição escura (linear-gradient) */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), 
                      url('https://media.gettyimages.com/id/1294874384/pt/foto/server-room.jpg?s=612x612&w=0&k=20&c=hetWzZz0OokBbkGG7tGpayHu4ODlPCCOh4ZCVf2AaCY=');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito de paralaxe sutil ao rolar */
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Sombra no texto para leitura perfeita */
}

/* Responsividade para o Hero em celulares */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero { background-attachment: scroll; } /* Remove paralaxe no mobile por performance */
}

/* Grid de Serviços */
.section-title { text-align: center; margin: 4rem 0 2rem; font-size: 2.5rem; color: var(--dark-blue); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 5rem;
}

.service-card {
    background: var(--light-gray);
    padding: 2.5rem;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-blue);
    transition: 0.3s;
    border-bottom: 6px solid var(--primary-blue);
}

.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.service-card i { font-size: 3rem; margin-bottom: 1.5rem; color: var(--primary-blue); }

/* Quem Somos */
.about-section { background: var(--light-gray); padding: 5rem 0; }
.about-content { max-width: 900px; margin: auto; text-align: center; }
.about-content p { margin-bottom: 1.5rem; font-size: 1.1rem; text-align: justify; }

/* Páginas Internas de Serviço */
.service-detail { padding: 60px 0; }
.service-content { display: flex; gap: 50px; flex-wrap: wrap; margin-top: 30px; }
.service-image img { width: 100%; border-radius: 15px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); flex: 1; }
.service-text { flex: 1; min-width: 300px; }

/* Formulário de Contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; padding: 50px 0; }
.contact-form { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 15px; }
input, textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; }
.btn-submit { background: var(--dark-blue); color: white; padding: 15px; border: none; width: 100%; cursor: pointer; font-weight: bold; border-radius: 5px; }

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px;
    background-color: var(--whatsapp-green); 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; text-decoration: none;
}

footer { background: var(--dark-blue); color: white; padding: 3rem 0; text-align: center; }