/* SOFTCON TECNOLOGIA - CSS COMPLETO E FINAL - PRESERVADO INTEGRALMENTE */

/* 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%;
}

.logo, .header-button-wrapper {
    flex: 1; 
    display: flex;
}

.header-button-wrapper {
    justify-content: flex-end; 
}

.logo img { 
    height: 65px; 
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
    align-items: center;
    flex: 2; 
    justify-content: center; 
}

.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;
}

.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 */
.final-app-section { padding: 60px 0; background: #fff; border-top: 1px solid #eee; }
.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; }
.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; }
.final-app-links { display: flex; flex-direction: column; 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); }

/* FOOTER */
.footer { background: #f4f7f9; padding: 60px 0 30px; border-top: 1px solid #eee; width: 100%; }
.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); }
.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid #ddd; display: flex; justify-content: space-between; align-items: center; }

/* SOCIAIS */
.social-icons { display: flex; gap: 20px; align-items: center; }
.social-icons a { width: 55px; height: 55px; background-color: #fff; color: var(--primary); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.6rem; text-decoration: none; transition: all 0.3s ease-in-out; border: 2px solid #eee; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.social-icons a:hover { color: #fff; transform: translateY(-8px); box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3); }
.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; }
.footer-bottom p { font-size: 1.1rem; font-weight: 600; color: #444; }

/* WHATSAPP */
.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; }
.whatsapp-float::after { content: 'ATENDIMENTO'; font-size: 0.85rem; letter-spacing: 0.5px; }

/* QUEM SOMOS */
.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; }

/* PRODUTOS E SERVIÇOS */
.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; }
.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-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; }

/* CONTATO */
.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-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 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); }
.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); margin: 0 auto; }
.map-container iframe { display: block; border-radius: 15px; width: 100%; }

/* ==========================================================================
   ADICIONANDO RESPONSIVIDADE SEM CORTAR NADA
   ========================================================================== */

@media (max-width: 992px) {
    /* Header ajuste celular */
    .nav-flex { flex-direction: column; gap: 20px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .logo, .header-button-wrapper { flex: none; justify-content: center; }

    /* Forçar Grids Gerais para 1 coluna */
    .hero-grid, .app-grid, .solutions-grid, .qs-intro-grid, .qs-tech-grid, .contact-grid, .final-app-grid, .product-grid-small { 
        grid-template-columns: 1fr !important; 
        text-align: center; 
    }

    /* Ajuste de Hero e Títulos */
    .hero-text h1 { font-size: 2.5rem; }
    .title-blue-border { border-left: 0; border-top: 8px solid var(--primary); padding-left: 0; padding-top: 20px; }

    /* Ajuste de Produtos */
    .product-row, .product-row.reverse { flex-direction: column; text-align: center; }
    .product-img img { height: auto; }

    /* Footer colunas */
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .hero-small h1 { font-size: 2.2rem; }
    .final-app-links { flex-direction: row; justify-content: center; }
    
    /* WhatsApp Mobile */
    .whatsapp-float::after { display: none; }
    .whatsapp-float { padding: 15px; bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.8rem; }
    .nav-links { gap: 10px; }
    .nav-links a { font-size: 0.8rem; }
    .qs-white-card { padding: 30px 15px; border-radius: 20px; }
}