/* ==========================================================================
   Identidade de Marca AVASET
   ========================================================================== */
   :root {
    --primary: #007bff; 
    --primary-hover: #0069d9;
    --bg-dark: #0f172a; 
    --bg-light: #f8fafc; 
    --bg-white: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #e2e8f0; 
    --radius: 8px;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-white); color: var(--text-main); line-height: 1.6; }
.container { width: 92%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

h1, h2, h3 { color: #0f172a; font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; }

/* ==========================================================================
   Botões Globais
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}
.btn-primary { background-color: var(--primary); color: #ffffff; }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0, 123, 255, 0.3); }
.btn-outline { background-color: transparent; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-outline:hover { background-color: rgba(255, 255, 255, 0.1); border-color: #ffffff; }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-block { width: 100%; padding: 16px; font-size: 1.1rem; }

/* ==========================================================================
   Header e Logo
   ========================================================================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.brand-logo { text-decoration: none; display: flex; align-items: center; }
.brand-logo img { width: 200px; height: auto; max-height: 80px; display: block; object-fit: contain; }
.nav-menu { display: flex; gap: 2.5rem; }
.nav-menu a { text-decoration: none; color: var(--text-main); font-weight: 600; transition: var(--transition); }
.nav-menu a:hover { color: var(--primary); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero { background-color: var(--bg-dark); padding: 190px 0 130px; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 1000px; height: 1000px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, rgba(15, 23, 42, 0) 70%); z-index: 0;
}
.hero-wrapper { position: relative; z-index: 1; max-width: 850px; margin: 0 auto; }
.hero-badge {
    display: inline-block; padding: 8px 20px;
    background-color: rgba(0, 123, 255, 0.15); color: #ffffff; 
    border: 1px solid rgba(0, 123, 255, 0.3); border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; margin-bottom: 25px;
}
.hero h1 { color: #ffffff; font-size: 3.8rem; margin-bottom: 25px; }
.hero p { color: var(--text-light); font-size: 1.25rem; margin-bottom: 45px; }
.hero-actions { display: flex; gap: 15px; justify-content: center; }

/* ==========================================================================
   Seções e Grids
   ========================================================================== */
.section { padding: 110px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: #fff; }
.bg-dark h2 { color: #fff; }
.section-header { margin-bottom: 70px; }
.section-header h2 { font-size: 2.8rem; margin-top: 10px; margin-bottom: 20px; }
.section-header p { font-size: 1.15rem; color: var(--text-muted); max-width: 650px; margin: 0 auto; }
.bg-dark .section-header p { color: var(--text-light); }
.tag {
    display: inline-block; padding: 6px 14px; background: #e2e8f0; color: var(--bg-dark);
    border-radius: 4px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
}
.tag-blue { background: rgba(0, 123, 255, 0.1); color: var(--primary); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }

/* Cards AVASET */
.card { background: var(--bg-white); border-radius: var(--radius); border: 1px solid #e2e8f0; overflow: hidden; transition: var(--transition); }
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-heavy); border-color: transparent; }
.card-img { width: 100%; height: auto; border-bottom: 1px solid #e2e8f0; }
.card-body { padding: 30px; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card-body p { color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================================================
   GESET Showcases (Z-Pattern)
   ========================================================================== */
.showcase-row { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { flex-direction: row-reverse; }
.showcase-content { flex: 1; }
.showcase-content h3 { font-size: 2.3rem; margin-bottom: 25px; }
.showcase-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 30px; }
.feature-list { list-style: none; }
.feature-list li { position: relative; padding-left: 35px; margin-bottom: 18px; font-weight: 500; font-size: 1.05rem; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: bold; font-size: 1.4rem; }
.showcase-image { flex: 1.3; position: relative; }
.dashboard-img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-heavy); border: 2px solid #fff; transition: var(--transition); }
.dashboard-img:hover { transform: scale(1.02); }
.image-stack { position: relative; }
.overlay-img { position: absolute; bottom: -40px; right: -40px; width: 60%; border-width: 6px; }

/* ==========================================================================
   Formulário de Contato
   ========================================================================== */
.custom-form-box {
    background: var(--bg-white); padding: 50px; border-radius: 12px;
    max-width: 650px; margin: 50px auto 0; box-shadow: var(--shadow-heavy);
    color: var(--text-main); text-align: left;
}
.input-group { margin-bottom: 22px; }
.input-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.95rem; color: var(--bg-dark); }
.input-group input, .input-group textarea {
    width: 100%; padding: 14px 18px; border: 1px solid #cbd5e1;
    border-radius: 6px; font-size: 1rem; outline: none; transition: var(--transition);
}
.input-group input:focus, .input-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); }

/* ==========================================================================
   Footer e Animações
   ========================================================================== */
.footer { padding: 40px 0; font-size: 0.95rem; border-top: 1px solid rgba(255,255,255,0.05); }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==========================================================================
   Redes Sociais e Widget WhatsApp
   ========================================================================== */
.footer-social { margin-bottom: 20px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-light); text-decoration: none; font-weight: 500; transition: var(--transition); }
.social-link:hover { color: var(--primary); }

.whatsapp-widget { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; }
.whatsapp-btn {
    background-color: #25D366; color: white; border: none; border-radius: 50%;
    width: 65px; height: 65px; display: flex; justify-content: center; align-items: center;
    cursor: pointer; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6); }

.whatsapp-options {
    background: white; border-radius: 12px; padding: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    margin-bottom: 15px; width: max-content; border: 1px solid #e2e8f0;
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.whatsapp-options.show { opacity: 1; visibility: visible; transform: translateY(0); }
.whatsapp-options p { font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); text-align: center; }

.wa-option {
    display: block; background: #f8fafc; padding: 12px 18px; border-radius: 8px;
    margin-bottom: 8px; text-decoration: none; color: var(--text-main); font-weight: 600;
    border: 1px solid #e2e8f0; transition: background 0.3s; line-height: 1.4;
}
.wa-option:last-child { margin-bottom: 0; }
.wa-option span { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }
.wa-option:hover { background: #e2e8f0; border-color: #cbd5e1; }

/* ==========================================================================
   Responsividade Mobile (Celular e Tablets)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.2rem; }
}

@media (max-width: 992px) {
    .showcase-row, .showcase-row.reverse { flex-direction: column; gap: 40px; text-align: center; }
    .feature-list li { text-align: left; }
    .overlay-img { right: 0; width: 80%; bottom: -30px; }
    .hero h1 { font-size: 2.8rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .custom-form-box { padding: 35px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; } /* Esconde os links de navegação normais */
    
    /* Mantém logo e botão alinhados nas pontas */
    .nav-content { display: flex; align-items: center; justify-content: space-between; }

    /* NOVA REGRA: Botão de demonstração estilo "Comprimido" no Mobile */
    .navbar .btn { 
        display: inline-block !important; 
        padding: 6px 14px !important;    
        font-size: 0.8rem !important;    
        border-radius: 50px !important;  
        white-space: nowrap; /* Impede que o texto quebre de linha */
    }

    /* Reduz um pouco a logo para não apertar o novo botão */
    .brand-logo img { width: 130px; } 

    .hero { padding: 140px 0 80px; }
    .hero h1 { font-size: 2.3rem; }
    
    /* Botões da Hero 100% no mobile e empilhados */
    .hero-actions { flex-direction: column; gap: 15px; width: 100%; }
    .hero-actions .btn { width: 100%; text-align: center; border-radius: var(--radius) !important; font-size: 1.1rem !important; padding: 16px !important; }

    .section-header h2 { font-size: 2.2rem; }
    .showcase-content h3 { font-size: 2rem; }

    /* Ajuste WhatsApp mobile */
    .whatsapp-widget { bottom: 20px; right: 20px; }
    .whatsapp-btn { width: 55px; height: 55px; }
    .whatsapp-btn svg { width: 28px; height: 28px; }
}