/* SOFTCON TECNOLOGIA - CSS COMPLETO E FINAL */

/* Variáveis de Cores */
:root {
    --primary: #0056b3;
    --primary-dark: #003d7a;
    --whatsapp: #25d366;
    --light-blue: #add8e6;
    --white: #ffffff;
    --gray-text: #666;
    --gray-bg: #f4f7f9;
}

/* 1. Reset e Estrutura Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; overflow-x: hidden; color: #333; line-height: 1.6; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* 2. Header - AJUSTE FINAL PARA CENTRALIZAÇÃO REAL */
.header { 
    padding: 15px 0; 
    background: #fff; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.nav-flex { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    width: 100%;
}

/* Força a logo e o botão a terem o mesmo "peso" para o menu ficar no centro matemático */
.logo, .header-button-wrapper {
    flex: 1; 
    display: flex;
}

.header-button-wrapper {
    justify-content: flex-end; /* Empurra o botão para a ponta direita */
}

.logo img { 
    height: 65px; 
}

/* Menu de Navegação */
.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
    align-items: center;
    flex: 2; /* Dá mais espaço para o menu ocupar o centro */
    justify-content: center; /* Centraliza os links dentro do espaço deles */
}

.nav-links a { 
    text-decoration: none; 
    color: #333; 
    font-weight: 700; 
    font-size: 0.95rem; 
    transition: 0.3s;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active { 
    color: var(--primary); 
}

.nav-links a.active {
    border-bottom: 3px solid var(--primary);
    padding-bottom: 5px;
}

/* Botão Acessar Sistema */
.btn-sistema { 
    background: var(--primary); 
    color: #fff !important; 
    padding: 10px 22px; 
    border-radius: 50px; 
    font-weight: bold; 
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: 0.3s;
}

/* 3. Hero Section */
.hero { 
    background: linear-gradient(90deg, rgba(0, 86, 179, 0.75) 0%, rgba(0, 86, 179, 0.4) 100%), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?q=80&w=1500') center/cover;
    padding: 100px 0; color: #fff;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero-card { background: #fff; padding: 40px; border-radius: 15px; color: #333; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.hero-card h3 { font-size: 1.8rem; margin-bottom: 25px; font-weight: 700; }
input, select { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; }
.btn-form { width: 100%; background: var(--primary); color: #fff; border: none; padding: 18px; border-radius: 10px; font-weight: bold; cursor: pointer; }

/* 4. App & Vídeo */
.app-section { padding: 80px 0; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.video-wrapper { border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.app-content h2 { font-size: 2.8rem; font-weight: 800; border-left: 5px solid var(--primary); padding-left: 20px; margin: 20px 0; }
.btn-primary-blue { background: var(--primary); color: #fff; padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: bold; display: inline-block; }

/* 5. Soluções */
.solutions-section { padding: 80px 0; background: var(--primary); }
.solutions-white-card { background: #fff; border-radius: 25px; padding: 60px; margin-bottom: 40px; }
.solutions-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.solutions-text h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; }
.solutions-image-container { position: relative; }
.solutions-image-container img { width: 100%; border-radius: 10px; }
.experience-badge { 
    position: absolute; top: -25px; left: -25px; background: var(--light-blue); 
    padding: 20px; border-radius: 15px; text-align: center; 
}
.experience-badge .counter { font-size: 3.5rem; font-weight: 900; color: var(--primary); display: block; line-height: 1; }
.experience-badge p { font-size: 0.8rem; font-weight: 700; color: var(--primary); text-transform: uppercase; }

/* 6. Marcas */
.brands-bar { display: flex; justify-content: space-around; flex-wrap: wrap; align-items: center; padding: 20px 0; }
.brands-bar img { height: 40px; filter: brightness(0) invert(1); opacity: 0.9; margin: 15px; }

/* 7. Vantagens e CTA Blue */
.vantagens-section { padding: 80px 0 0; }
.vantagens-header { text-align: center; margin-bottom: 50px; }
.vantagens-header h2 { font-size: 3rem; font-weight: 800; }
.vantagens-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-bottom: 60px; }
.vantagem-card .icon-box { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.cta-blue-bar { background: var(--primary); padding: 40px 0; color: #fff; }
.cta-flex { display: flex; justify-content: space-between; align-items: center; }
.btn-white-outline { border: 2px solid #fff; color: #fff; padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: bold; }


/* ==========================================================================
   SEÇÃO FINAL DO APP (BAIXE O APLICATIVO)
   ========================================================================== */

.final-app-section { 
    padding: 60px 0; 
    background: #fff;
    border-top: 1px solid #eee;
}

/* Grid para alinhar Texto | Ícones | Botões */
.final-app-grid { 
    display: grid; 
    grid-template-columns: 2fr 1.2fr 1fr; 
    align-items: center; 
    gap: 40px; 
}

.final-app-text h2 { 
    font-size: 1.8rem; 
    font-weight: 800; 
    line-height: 1.3;
    margin-bottom: 10px;
    color: #333;
}

.final-app-text p { 
    color: #666; 
    font-size: 1.1rem;
}

/* Lista de Ícones (Controle, Comunicação, Gestão) */
.final-app-features ul { 
    list-style: none; 
    padding: 0; 
}

.final-app-features li { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 12px; 
    font-weight: 700; 
    color: #333;
    font-size: 1rem;
}

.final-app-features i { 
    font-size: 1.2rem; 
    color: #333; 
    width: 25px; 
    text-align: center;
}

/* Botões das Lojas (Google e Apple) */
.final-app-links { 
    display: flex; 
    flex-direction: column; /* Um embaixo do outro para caber no grid */
    gap: 10px; 
    align-items: flex-start;
}

.final-app-links img { 
    height: 45px; 
    width: auto; 
    transition: transform 0.3s;
}

.final-app-links img:hover { 
    transform: scale(1.05); 
}

/* Responsividade para Celular */
@media (max-width: 992px) {
    .final-app-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .final-app-features ul {
        display: inline-block;
        text-align: left;
    }
    .final-app-links {
        flex-direction: row;
        justify-content: center;
    }
}

/* 8. NOVO FOOTER ORGANIZADO */
/* ==========================================================================
   TRECHO ESPECÍFICO: RODAPÉ E WHATSAPP (CORRIGIDO)
   ========================================================================== */

.footer { 
    background: #f4f7f9; 
    padding: 60px 0 30px; 
    border-top: 1px solid #eee;
    width: 100%;
}

/* Alinhamento das colunas principais */
.footer-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr; 
    gap: 40px; 
    margin-bottom: 40px; 
    align-items: start;
}

.footer h4 { 
    margin-bottom: 20px; 
    font-weight: 800; 
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; list-style: none; }
.footer-links a { text-decoration: none; color: var(--gray-text); transition: 0.3s; }
.footer-links a:hover { color: var(--primary); }

/* BARRA INFERIOR: Copyright na esquerda e Sociais na direita */
.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between; /* Copyright na esquerda, Sociais na direita */
    align-items: center;
}

/* ==========================================================================
   ÍCONES SOCIAIS - GRANDES E DESTACADOS
   ========================================================================== */

.social-icons {
    display: flex;
    gap: 20px; /* Mais espaço entre eles */
    align-items: center;
}

.social-icons a {
    width: 55px;  /* Aumentei o tamanho do círculo */
    height: 55px; /* Aumentei o tamanho do círculo */
    background-color: #fff; 
    color: var(--primary); 
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; 
    font-size: 1.6rem; /* Ícone interno bem maior */
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    border: 2px solid #eee; /* Borda pra dar destaque no fundo claro */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Sombra suave */
}

/* Efeito quando passa o mouse (Hover) */
.social-icons a:hover {
    color: #fff;
    transform: translateY(-8px); /* Sobe mais que o normal */
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3); /* Brilho azul na sombra */
}

/* Cores oficiais ao passar o mouse */
.social-icons a.fa-facebook-f:hover { 
    background-color: #3b5998; 
    border-color: #3b5998;
}

.social-icons a.fa-instagram:hover { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    border-color: transparent;
}

.social-icons a.fa-youtube:hover { 
    background-color: #ff0000; 
    border-color: #ff0000;
}

/* Ajuste do texto do Copyright pra não ficar espremido */
.footer-bottom p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
}

/* BOTÃO WHATSAPP - GRANDE E CHAMATIVO */
.whatsapp-float {
    position: fixed; 
    bottom: 30px; 
    right: 30px;
    background-color: #25d366; 
    color: #FFF; 
    padding: 12px 25px;
    border-radius: 50px;
    display: flex; 
    align-items: center; 
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #128c7e;
}

.whatsapp-float i { font-size: 24px; }

/* Texto dentro do botão */
.whatsapp-float::after { 
    content: 'ATENDIMENTO'; 
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Ajuste para celular */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .whatsapp-float::after { display: none; } /* Deixa só o ícone no celular */
}

/* 10. Botão Consultor Hero */
.btn-fale-consultor {
    display: inline-block;
    background: #0056b3;
    color: #f4f7f9;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin-top: 10px;
}
.btn-fale-consultor:hover {
    background: var(--light-blue);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/***** 11. QUEM SOMOS - ORGANIZADO E ALINHADO ********/

.qs-intro { padding: 80px 0; }
.qs-intro-grid { 
    display: grid; 
    grid-template-columns: 1fr 1.2fr; 
    gap: 60px; 
    align-items: center; 
    margin-bottom: 60px;
}
.qs-intro-img img { width: 100%; border-radius: 15px; }

.title-blue-border {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    border-left: 8px solid var(--primary);
    padding-left: 25px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.qs-icons-row { 
    display: flex; 
    justify-content: space-between; 
    padding: 60px 0; 
    border-top: 1px solid #eee;
    margin-top: 50px;
    gap: 20px;
}
.qs-icon-item { text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qs-circle-icon { 
    width: 70px; height: 70px; 
    border: 2px solid var(--primary); 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 2rem; color: var(--primary); 
    margin-bottom: 10px;
}
.qs-icon-item span { font-weight: 700; color: var(--primary); font-size: 0.9rem; max-width: 160px; }

.qs-tech-section { padding: 100px 0; background-color: var(--gray-bg); }
.qs-tech-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.qs-tech-txt h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; }
.qs-tech-txt p { font-size: 1.15rem; color: var(--gray-text); line-height: 1.8; text-align: justify; }
.qs-tech-img img { width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.qs-pillars-blue { background: var(--primary); padding: 100px 0; }
.qs-white-card { 
    background: #fff; 
    border-radius: 35px; 
    padding: 60px; 
    
    grid-template-columns: 1.8fr 1fr; 
    gap: 60px; 
    align-items: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.qs-pillars-layout { display: contents; }
.qs-pillar-box { margin-bottom: 25px; }
.qs-pillar-box h4 { font-size: 1.3rem; color: var(--primary); display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-weight: 800; }
.qs-pillar-box p { font-size: 1rem; color: #555; }

.badge-experience { 
    background: var(--light-blue); 
    padding: 40px; 
    border-radius: 25px; 
    text-align: center; 
}
.badge-num { font-size: 4.5rem; font-weight: 900; color: var(--primary); display: block; line-height: 1; }
.badge-experience p { font-weight: 800; color: var(--primary); font-size: 0.9rem; margin-top: 10px; line-height: 1.2; }

/* 12. Responsividade Geral */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr !important; text-align: center; }
    .hero-grid, .app-grid, .solutions-grid, .qs-intro-grid, .qs-tech-grid, .qs-white-card { 
        grid-template-columns: 1fr !important; 
        text-align: center; 
    }
    .whatsapp-float::after { display: none; } /* Esconde o texto no celular para não cobrir a tela */
    .qs-icons-row { flex-wrap: wrap; justify-content: center; gap: 30px; }
    .qs-icon-item { flex: none; width: 45%; }
}


/* AJUSTES ESPECÍFICOS PARA PRODUTOS E SERVIÇOS */

/* Container Azul de Fundo */
.qs-pillars-blue {
    background-color: var(--primary); /* Ou #0056b3 */
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

/* Card Branco Arredondado (conforme a imagem) */
.qs-white-card {
    background: #fff;
    padding: 60px;
    border-radius: 50px; /* Bordas bem arredondadas da foto */
    max-width: 1000px;
    margin: 0 auto;
    text-align: left; /* Texto alinhado à esquerda dentro do card centralizado */
}

.qs-pillars-centered-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinha o conteúdo ao início do card */
}

.title-no-border {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.qs-subtitle {
    margin-bottom: 40px;
    color: #666;
    font-size: 1.1rem;
}

/* Espaçamento dos Itens */
.qs-pillar-box {
    margin-bottom: 30px;
}

.qs-pillar-box h4 {
    color: var(--primary);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.qs-pillar-box p {
    color: #444;
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 768px) {
    .qs-white-card {
        padding: 40px 20px;
        border-radius: 30px;
        margin: 0 15px;
    }
    
    .title-no-border {
        font-size: 2rem;
    }
}
/* --- ESTILOS DE PRODUTOS E SERVIÇOS --- */

.product-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.product-row.reverse {
    flex-direction: row-reverse;
}

.product-text {
    flex: 1;
}

.product-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
}

.product-text p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 15px;
    text-align: justify;
}

.product-img {
    flex: 1;
}

.product-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-img-small img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

/* Grid para itens menores (Interfone/Biometria) */
.product-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.small-item {
    background: var(--gray-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.small-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.small-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 800;
}

/* Ajuste Responsivo */
@media (max-width: 992px) {
    .product-row, .product-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .product-grid-small {
        grid-template-columns: 1fr;
    }

    .product-img img {
        height: 250px;
    }
}


/* --- ESTILOS PÁGINA CONTATO FINAL --- */

.hero-small {
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 61, 122, 0.9)), 
                url('https://images.unsplash.com/photo-1523966211575-eb4a01e7dd51?q=80&w=1500') center/cover;
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.hero-small h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 10px; }
.hero-small p { font-size: 1.3rem; opacity: 0.9; font-weight: 500; }

.contact-section { padding: 80px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.info-intro {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
}

.info-card {
    background: var(--gray-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.info-item { display: flex; gap: 20px; margin-bottom: 30px; }
.info-item:last-child { margin-bottom: 0; }

.info-item i { font-size: 1.6rem; color: var(--primary); margin-top: 5px; }
.info-item h4 { color: var(--primary-dark); font-weight: 800; margin-bottom: 5px; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; }
.info-item p { color: #333; line-height: 1.5; font-size: 1.05rem; font-weight: 600; }

.btn-whatsapp-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--whatsapp);
    color: #fff;
    padding: 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    margin-top: 25px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}


/* AJUSTE FINAL FORMULÁRIO (Textarea e Foco) */
.contact-page-form input, 
.contact-page-form select, 
.contact-page-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif; /* Garante a fonte correta no textarea */
    background: #fff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Estilo específico para quando o usuário clica no campo (Focus) */
.contact-page-form input:focus, 
.contact-page-form select:focus, 
.contact-page-form textarea:focus {
    border-color: var(--primary); /* Borda azul da Softcon */
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1); /* Sombra suave azul */
}

/* Ajuste de altura do textarea */
.contact-page-form textarea {
    min-height: 120px;
    resize: vertical; /* Permite aumentar apenas a altura */
}

.btn-whatsapp-large:hover { background: #1eb956; transform: translateY(-3px); }

/* ESTILO MAPA CARD QUADRADINHO */
.map-section { padding: 20px 0 100px; display: flex; justify-content: center; }
.map-container {
    width: 100%;
    max-width: 950px;
    background: #fff;
    padding: 15px;
    border-radius: 25px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}
.map-container iframe { display: block; border-radius: 15px; }

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-wrapper { order: -1; }
    .hero-small h1 { font-size: 2.5rem; }
}