/* --- VARIÁVEIS (Identidade Visual Corporativa) --- */
:root {
    --primary: #193d8f;       /* Azul Microsoft/Enterprise */
    --secondary: #002a5c;     /* Azul Marinho Profundo */
    --accent: #87BFFF;        /* Azul Claro (Detalhes) */
    --text: #333333;          /* Cinza Escuro (Texto) */
    --light-bg: #f4f7f6;      /* Fundo Cinza Gelo */
    --white: #ffffff;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- RESET BÁSICO --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 100px; /* Compensa o menu fixo */
}

body { font-family: var(--font-main); color: var(--text); line-height: 1.6; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILITÁRIOS DE LAYOUT --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }
.mt-50 { margin-top: 50px; }

/* --- HEADER & NAVEGAÇÃO (GLASSMORPHISM) --- */
header { 
    background: rgba(11, 17, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000;
    border-bottom: 3px solid var(--primary); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Ajuste na Logo - CORRIGIDO: Adicionado 'px' e mudado para max-height para evitar distorção */
.logo img { 
    max-height: 50px; 
    width: auto; 
    transition: 0.3s; 
}
.logo img:hover { transform: scale(1.03); }

/* Menu de Navegação */
.menu { display: flex; align-items: center; gap: 35px; }

.menu a { 
    color: rgba(255, 255, 255, 0.85); 
    font-weight: 500; 
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    padding: 5px 0;
}

/* Underline animado */
.menu a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.menu a:not(.btn-nav):hover { color: var(--accent); }
.menu a:not(.btn-nav):hover::after { width: 100%; }

/* --- BOTÃO DESTAQUE NO MENU --- */
.menu .btn-nav {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    border: 2px solid var(--primary) !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.2);
}

.menu .btn-nav:hover {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 212, 255, 0.4);
}

.menu .btn-nav:active {
    transform: translateY(1px) scale(0.98);
}

.mobile-menu-icon { display: none; color: var(--white); font-size: 1.8rem; cursor: pointer; }

/* --- HERO SECTION --- */
.hero {
    height: 600px;
    background: url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,42,92,0.9), rgba(0,86,179,0.7)); }
.hero-content { position: relative; z-index: 2; }
.hero h2 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; }

/* Botões Gerais */
.btn-primary {
    background-color: var(--white);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background-color: var(--accent); color: var(--secondary); }

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    margin-left: 10px;
    display: inline-block;
}
.btn-outline:hover { background-color: var(--white); color: var(--primary); }

/* --- STATS SECTION --- */
.stats { background-color: var(--accent); padding: 40px 0; margin-top: -50px; position: relative; z-index: 3; }
.stat-item { text-align: center; color: var(--secondary); }
.stat-item i { font-size: 2rem; margin-bottom: 10px; }
.stat-item h3 { font-size: 2rem; font-weight: 800; }

/* --- SOBRE --- */
.sobre-text { text-align: justify; }
.sobre-text-tit { text-align: left; }
.sobre-img img { border-radius: 10px; box-shadow: 20px 20px 0 var(--primary); }
.sobre-text h6 { color: var(--primary); letter-spacing: 2px; font-weight: 700; margin-bottom: 10px; }
.sobre-text h2 { font-size: 2rem; margin-bottom: 20px; color: var(--secondary); }
.lista-check li { margin-bottom: 10px; font-weight: 500; }
.lista-check i { color: #25d366; margin-right: 10px; }
.btn-text { color: var(--primary); font-weight: 700; margin-top: 20px; display: inline-block; }

/* --- SERVIÇOS --- */
.divider { width: 60px; height: 4px; background: var(--primary); margin: 20px auto; border-radius: 2px; }

.card-servico {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.04);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.card-servico:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.12); 
    border-color: rgba(0, 86, 179, 0.3);
}

.card-servico::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.card-servico:hover::before { transform: scaleX(1); }

.icon-box { 
    width: 80px; height: 80px; margin: 0 auto 25px;
    background: rgba(0, 86, 179, 0.05); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 2rem; color: var(--primary); transition: all 0.4s ease;
}

.card-servico:hover .icon-box { 
    background: var(--primary); color: var(--white); transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
}

.card-servico h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--secondary); }
.card-servico p { font-size: 0.95rem; color: #666; line-height: 1.6; }

/* --- CTA BANNER --- */
.cta-banner { background-color: var(--secondary); padding: 60px 0; color: var(--white); }
.btn-white { background: var(--white); color: var(--secondary); padding: 12px 30px; border-radius: 5px; font-weight: bold; }

/* CTA BANNER HOVER */
.btn-white:hover { background-color: var(--accent); color: var(--white); }

/* --- SLIDER PARCEIROS --- */
.partners-slider { background: var(--white); padding: 60px 0 40px; overflow: hidden; position: relative; border-bottom: 1px solid #eee; }
.partners-header-p { color: #666; font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.partners-header-h3 { color: var(--secondary); font-size: 1.8rem; font-weight: 700; }

.partners-slider::before, .partners-slider::after {
    content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; pointer-events: none;
}
.partners-slider::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.partners-slider::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }

.slider-track { display: flex; width: calc(200px * 12); animation: scroll 30s linear infinite; }
.slide { width: 200px; height: 80px; display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.slide img { width: 100%; max-height: 60px; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: 0.3s; }
.slide img:hover { filter: grayscale(0%); opacity: 1; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-200px * 3)); } }

/* --- CONTATO & FORMULÁRIO --- */
.contato-info h2 { color: var(--secondary); margin-bottom: 15px; }
.info-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.icon-box-small { width: 50px; height: 50px; background-color: var(--white); border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.05); flex-shrink: 0; }
.icon-box-small i { font-size: 1.2rem; color: var(--primary); }
.link-contato { color: inherit; font-weight: 500; transition: 0.3s; }
.link-contato:hover { color: var(--secondary); }

.form-corp { background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; }
.form-corp input, .form-corp select, .form-corp textarea {
    width: 100%; padding: 15px; border: 1px solid #e1e1e1; border-radius: 5px;
    font-family: inherit; font-size: 1rem; background-color: #f9f9f9; transition: 0.3s; color: var(--text);
}
.form-corp input:focus, .form-corp textarea:focus { outline: none; border-color: var(--primary); background-color: #fff; box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1); }
.form-corp button { width: 100%; margin-top: 10px; }

/* --- FOOTER --- */
footer { background: #111; color: #aaa; padding-top: 5px; }
.footer-content { display: flex; justify-content: center; align-items: center; padding-bottom: 5px; border-bottom: 1px solid #333; }
.social-links a { font-size: 1.5rem; color: var(--white); margin-left: 20px; }
.social-links a:hover { color: var(--primary); }
.copy { text-align: center; padding: 5px; font-size: 0.9rem; }

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px; background: #25d366; color: #fff;
    width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 2000;
}
.whatsapp-float:hover { background: #1da851; transform: scale(1.1); }

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .mobile-menu-icon { display: block !important; z-index: 1100; }
    .menu {
        display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(11, 17, 26, 0.98); padding: 30px; gap: 20px; text-align: center;
        border-bottom: 3px solid var(--primary); box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    .menu.active { display: flex; animation: slideDown 0.3s ease-out; }
    .menu a { font-size: 1.1rem; display: block; width: 100%; }
    .menu .btn-nav { width: 100%; margin-top: 10px; }
    
    .hero h2 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero-btns { display: flex; flex-direction: column; gap: 15px; }
    .btn-outline { margin-left: 0; }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .flex-between { flex-direction: row; }
}

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }