:root {
    --primary: #004aad;
    --secondary: #00c6ff;
    --dark: #121212;
    --light: #f8fafc;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, sans-serif; }
html { scroll-behavior: smooth; }
body { color: #334155; line-height: 1.6; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   HEADER & LOGO (ALINHAMENTO DE PRECISÃO)
   ========================================= */
header {
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 9999;
    background: #ffffff; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 8px 0;
}

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

.logo-wrapper {
    display: flex;
    align-items: center; 
    gap: 15px;
}

.logo { 
    height: 70px; 
    width: auto;
    display: block;
}

.brand-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Remove espaços extras entre as linhas de texto */
    line-height: 0.9; 
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
    margin-bottom: 4px; /* Espaço controlado entre o nome e o subtítulo */
    display: block;
}

.logo-subtext {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 3.2px; /* Espaçamento para alinhar a largura com o nome de cima */
    display: block;
}

/* =========================================
   MENU DE NAVEGAÇÃO
   ========================================= */
.nav-menu { display: flex; list-style: none; gap: 5px; }
.nav-link { 
    text-decoration: none; 
    color: #1e293b; 
    font-weight: 600; 
    padding: 10px 15px; 
    transition: 0.3s; 
    border-radius: 8px;
}
.nav-link:hover, .nav-link.active { 
    color: var(--primary); 
    background: rgba(0,74,173,0.05); 
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 74, 173, 0.8), rgba(15, 23, 42, 0.9)), 
                url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=1200');
    background-size: cover; 
    background-position: center;
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: #fff; 
    text-align: center; 
    margin-top: 86px;
}

.btn-main { 
    display: inline-block; 
    padding: 14px 32px; 
    background: var(--secondary); 
    color: #fff; 
    text-decoration: none; 
    border-radius: 12px; 
    font-weight: 700; 
    margin-top: 24px; 
    transition: 0.3s; 
}

/* =========================================
   HOTSPOT SLIDER
   ========================================= */
.hotspot-slider-container { 
    background: #fff; 
    padding: 30px; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    margin-bottom: 50px; 
}

#hotspot-carousel { 
    position: relative; 
    height: 400px; 
    overflow: hidden; 
    border-radius: 15px; 
    background: #f1f5f9;
}

.hs-slide { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
}

.hs-slide.active { opacity: 1; z-index: 10; }

.hs-image { 
    flex: 1.2; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 20px; 
}

.hs-image img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
}

.hs-text { 
    flex: 0.8; 
    padding: 40px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    background: #ffffff; 
}

.hs-text h4 { 
    font-size: 1.8rem; 
    color: var(--primary); 
    margin-bottom: 15px; 
    font-weight: 800; 
}

/* =========================================
   GRID SERVIÇOS
   ========================================= */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}

.service-card { 
    padding: 40px; 
    border-radius: 20px; 
    border: 1px solid #e2e8f0; 
    text-align: center; 
    background: #fff; 
    transition: 0.3s;
}

.service-card:hover { 
    border-color: var(--secondary); 
    transform: translateY(-5px); 
}

.icon-service { 
    font-size: 3rem; 
    color: var(--primary); 
    margin-bottom: 20px; 
}

/* =========================================
   CLIENTES E CONTATO
   ========================================= */
.clients-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 50px; 
}

.client-item img { 
    height: 70px; 
    filter: grayscale(1); 
    opacity: 0.6; 
    transition: 0.3s; 
}

.bg-dark { 
    background: #0f172a; 
    color: #fff; 
    padding: 100px 0; 
}

.main-form input, .main-form textarea { 
    width: 100%; 
    padding: 15px; 
    margin-bottom: 20px; 
    border-radius: 10px; 
    border: 1px solid #334155; 
    background: #1e293b; 
    color: #fff; 
}

.btn-submit { 
    width: 100%; 
    padding: 16px; 
    background: var(--primary); 
    color: #fff; 
    border: none; 
    border-radius: 10px; 
    cursor: pointer; 
    font-weight: 700; 
}

/* =========================================
   WHATSAPP E RODAPÉ
   ========================================= */
.whatsapp-float { 
    position: fixed; 
    width: 65px; 
    height: 65px; 
    bottom: 30px; 
    right: 30px; 
    background: #22c55e; 
    color: #fff; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 32px; 
    z-index: 10000; 
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3); 
    text-decoration: none; 
}

.section-padding { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.4rem; font-weight: 800; color: var(--primary); }
.bg-light { background: #f8fafc; }

/* MOBILE */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .logo { height: 50px; }
    .logo-text { font-size: 1.3rem; }
    .logo-subtext { letter-spacing: 1.5px; font-size: 0.7rem; }
    .hs-slide { flex-direction: column; }
    #hotspot-carousel { height: auto; position: static; }
    .hs-slide { position: relative; display: none; }
    .hs-slide.active { display: flex; }
    .hs-image { height: 220px; }
    .hs-text { padding: 30px; }
}

/* RODAPÉ ESTILIZADO */
.footer {
    background: #080e1b;
    color: #94a3b8;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #1e293b;
}
.footer strong { color: var(--secondary); }