/* Premium Minimalist Dark Theme Styling - Foco Extremo em Conversão (Visual-First) */
:root {
    --primary: #009FE3; 
    --primary-glow: rgba(0, 159, 227, 0.4);
    --secondary: #94A3B8;
    --bg-body: #070B10;
    --text-main: #FFFFFF;
    --text-muted: #8899A6;
    --border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(15, 22, 30, 0.85);
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, .nav-link, .card-title, .badge-tag { font-family: var(--font-display); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Background Tech Grid */
.bg-animation {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
    background-image: 
        linear-gradient(rgba(0, 159, 227, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 159, 227, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 30s linear infinite;
}
.bg-vignette {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-body) 100%);
    pointer-events: none;
}
@keyframes gridMove { 0% { transform: translateY(0); } 100% { transform: translateY(60px); } }

/* Navbar */
.navbar {
    position: relative; z-index: 100;
    background: rgba(7, 11, 16, 0.8);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    min-height: 90px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.logo-container img { height: 50px; width: auto; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-link {
    font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-muted); text-decoration: none; transition: color 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.btn-contact-trigger {
    background: transparent; border: 1px solid var(--primary); color: var(--primary);
    font-family: var(--font-display); font-size: 0.85rem; padding: 12px 24px;
    border-radius: 6px; cursor: pointer; letter-spacing: 1px; transition: all 0.3s ease;
}
.btn-contact-trigger:hover { background: var(--primary); color: var(--bg-body); box-shadow: 0 0 20px var(--primary-glow); }

/* Hero */
.hero { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 4rem 5% 2rem 5%; text-align: center; }
.hero-intro h1 { font-size: 4rem; font-weight: 700; line-height: 1.1; margin-bottom: 16px; letter-spacing: -1px; color: var(--text-main); text-shadow: 0 0 40px rgba(0,159,227,0.3); }
.hero-intro h1 span { color: var(--primary); }
.hero-intro p { font-size: 1.2rem; color: var(--text-muted); max-width: 650px; margin: 0 auto 4rem auto; }

/* Hero Cards (Altíssima Conversão Visual) */
.hero-cards-container { display: flex; gap: 2rem; width: 100%; max-width: 1100px; margin-bottom: 4rem; }
.tech-card {
    flex: 1; position: relative; border-radius: 24px; min-height: 420px;
    cursor: pointer; overflow: hidden; transition: all 0.5s var(--ease);
    display: flex; flex-direction: column; justify-content: flex-end;
    text-decoration: none; text-align: left; border: 1px solid var(--border);
    background: var(--card-bg);
}
.card-bg-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0.4; transition: transform 1s var(--ease), opacity 0.5s ease; z-index: 0;
}
.tech-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 85%;
    background: linear-gradient(to top, rgba(7, 11, 16, 1) 0%, rgba(7, 11, 16, 0.6) 50%, transparent 100%); z-index: 1;
}
.tech-card:hover { border-color: var(--primary); box-shadow: 0 15px 40px var(--primary-glow); transform: translateY(-8px); }
.tech-card:hover .card-bg-img { transform: scale(1.1); opacity: 0.7; }

.card-content { z-index: 2; position: relative; padding: 2.5rem; }
.card-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; display: inline-block; filter: drop-shadow(0 0 10px rgba(0,159,227,0.5)); }
.card-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-main); }

/* Badges de Produtos/Serviços nas caixas principais */
.card-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge-tag {
    font-size: 0.75rem; background: rgba(0, 159, 227, 0.1); border: 1px solid rgba(0, 159, 227, 0.3);
    color: var(--primary); padding: 8px 14px; border-radius: 50px;
    backdrop-filter: blur(4px); transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px;
}
.tech-card:hover .badge-tag { background: var(--primary); color: #000; border-color: var(--primary); }

.btn-plus {
    position: absolute; top: 2rem; right: 2rem; width: 50px; height: 50px;
    background: rgba(7, 11, 16, 0.6); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-main); font-size: 1.2rem; transition: all 0.4s var(--ease); z-index: 3;
}
.tech-card:hover .btn-plus { background: var(--primary); border-color: var(--primary); color: #000; transform: rotate(90deg); }

/* Carrossel Infinito com Imagens Reais */
.carousel-section { width: 100%; border-top: 1px solid var(--border); background: rgba(7, 11, 16, 0.4); padding: 40px 0; }
.carousel-title { text-align: center; font-family: var(--font-display); font-size: 0.75rem; color: var(--text-muted); letter-spacing: 3px; margin-bottom: 30px; text-transform: uppercase; }
.marquee-container { overflow: hidden; white-space: nowrap; width: 100%; display: flex; }
.marquee-track { display: flex; animation: marquee 30s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 160px; margin: 0 20px; cursor: pointer; }
.circle-img-wrapper {
    width: 120px; aspect-ratio: 1 / 1; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; transition: all 0.4s var(--ease); overflow: hidden; position: relative;
    background-color: var(--bg-body);
}
.carousel-real-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.marquee-item:hover .circle-img-wrapper { border-color: var(--primary); box-shadow: 0 0 25px var(--primary-glow); transform: scale(1.05); }
.marquee-item:hover .carousel-real-img { transform: scale(1.15); }
.marquee-label { font-size: 0.85rem; color: var(--text-muted); font-family: var(--font-display); transition: color 0.3s; }
.marquee-item:hover .marquee-label { color: var(--text-main); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Páginas Internas */
.page-title-section { padding: 80px 0 40px 0; text-align: center; }
.page-title-section h1 { font-size: 3rem; color: var(--text-main); letter-spacing: -1px; }
.subtitle { color: var(--text-muted); font-size: 1.15rem; margin-top: 16px; max-width: 700px; margin-left: auto; margin-right: auto; }
.content-wrapper { padding: 40px 24px 100px 24px; }

/* Grid Produtos / Serviços */
.products-grid { display: grid; grid-template-columns: 1fr; gap: 60px; }
.product-category-card {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 24px;
    padding: 3rem; transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.product-category-card:hover { border-color: var(--primary); box-shadow: 0 10px 40px rgba(0, 159, 227, 0.08); }
.product-real-img { width: 100%; height: 450px; object-fit: cover; border-radius: 16px; margin-bottom: 2rem; border: 1px solid var(--border); }
.product-category-card h2 { font-size: 2rem; margin-bottom: 24px; display: flex; align-items: center; gap: 16px; color: var(--text-main); }
.icon-accent { color: var(--primary); }

.sub-product-item { margin-bottom: 2rem; }
.sub-product-item h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 8px; }
.sub-product-item p { color: var(--text-muted); font-size: 1rem; }

/* Lista de Perfis e Portas */
.product-bullet-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.product-bullet-list li {
    font-size: 0.95rem; color: var(--text-main); display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.02); padding: 16px; border-radius: 8px;
    border: 1px solid var(--border); transition: all 0.3s;
}
.product-bullet-list li:hover { border-color: var(--primary); background: rgba(0, 159, 227, 0.05); transform: translateX(5px); }
.text-blue { color: var(--primary); font-size: 1.2rem; }

/* Serviços Layout */
.services-detailed-list { display: grid; grid-template-columns: 1fr; gap: 24px; }
.service-detail-item {
    display: flex; background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 20px; padding: 2.5rem; gap: 32px; align-items: center; transition: all 0.4s ease;
}
.service-detail-item:hover { border-color: var(--primary); transform: translateY(-4px); }
.service-icon-box {
    background: rgba(0, 159, 227, 0.1); border: 1px solid rgba(0, 159, 227, 0.2);
    border-radius: 16px; width: 100px; height: 100px; display: flex; align-items: center;
    justify-content: center; color: var(--primary); font-size: 2.5rem; flex-shrink: 0;
}
.service-text-box h2 { font-size: 1.8rem; margin-bottom: 12px; }
.service-text-box p { font-size: 1.05rem; color: var(--text-muted); }

/* Footer */
.footer { background: #05080c; border-top: 1px solid var(--border); padding: 40px 0; margin-top: auto; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; }
.footer-left p, .footer-left a { color: var(--text-muted); font-size: 0.9rem; text-decoration: none; }
.footer-left a:hover { color: var(--primary); }
.footer-right a { color: var(--text-muted); font-size: 1.5rem; transition: color 0.3s; margin-left: 10px; }
.footer-right a:hover { color: var(--primary); }

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed; bottom: 32px; right: 32px; background: #25D366; color: white;
    width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 34px; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); z-index: 1000;
    transition: all 0.4s var(--ease); text-decoration: none;
}
.whatsapp-float:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5); }

/* Modal Contato */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease; z-index: 9999;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box {
    background: var(--card-bg); border: 1px solid var(--primary);
    width: 100%; max-width: 480px; border-radius: 24px; padding: 0;
    box-shadow: 0 20px 60px var(--primary-glow);
    transform: translateY(30px) scale(0.95); transition: all 0.4s var(--ease);
}
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
.modal-header { border-bottom: 1px solid var(--border); padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-family: var(--font-display); color: var(--primary); font-size: 1.1rem; letter-spacing: 1px; }
.modal-close-btn { background: none; border: none; color: var(--text-muted); font-size: 1.8rem; cursor: pointer; transition: color 0.3s; }
.modal-close-btn:hover { color: var(--text-main); }
.modal-body { padding: 32px; }
.modal-action-row {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 12px;
    padding: 16px 20px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: inherit; transition: all 0.3s;
}
.channels-whatsapp { border-left: 4px solid #25d366; }
.channels-whatsapp:hover { background: rgba(37, 211, 102, 0.05); transform: translateX(5px); border-color: #25d366; }
.icon-green { color: #25d366; font-size: 1.3rem; margin-right: 12px;}
.action-btn-text { font-family: var(--font-display); font-size: 0.85rem; color: #25d366; }
.btn-copy { background: none; border: none; font-family: var(--font-display); font-size: 0.85rem; color: var(--primary); cursor: pointer; }
.btn-copy:hover { text-decoration: underline; }

/* ==========================================================================
   NOVA SESSÃO DE RESPONSIVIDADE MULTITELAS
   ========================================================================== */

/* TABLETS E NOTEBOOKS PEQUENOS (Até 1024px) */
@media (max-width: 1024px) {
    .hero-intro h1 { font-size: 3rem; }
    .tech-card { min-height: 350px; }
    .product-real-img { height: 350px; }
    .hero-cards-container { flex-direction: column; }
}

/* SMARTPHONES E TABLETS MENORES (Até 768px) */
@media (max-width: 768px) {
    /* Navbar ajustada */
    .nav-container { flex-direction: column; padding: 20px; gap: 20px; min-height: auto; }
    .nav-menu { flex-wrap: wrap; justify-content: center; gap: 15px; }
    
    /* Hero Section */
    .hero { padding: 3rem 5% 1rem 5%; }
    .hero-intro h1 { font-size: 2.2rem; line-height: 1.2; }
    .hero-intro p { font-size: 1rem; }
    .hero-cards-container { gap: 1.5rem; margin-bottom: 2rem; }
    
    /* Cards (Botões Gigantes) */
    .tech-card { min-height: auto; padding: 1.5rem; border-radius: 16px; }
    .card-content { padding: 1rem; }
    .card-title { font-size: 1.8rem; }
    .card-icon { font-size: 2rem; margin-bottom: 1rem; }
    .btn-plus { top: 1.5rem; right: 1.5rem; width: 40px; height: 40px; }
    
    /* Páginas Internas */
    .page-title-section { padding: 40px 20px 20px 20px; }
    .page-title-section h1 { font-size: 2rem; }
    .subtitle { font-size: 1rem; }
    .content-wrapper { padding: 30px 20px 80px 20px; }
    
    /* Grade de Produtos */
    .products-grid { gap: 30px; }
    .product-category-card { padding: 2rem; border-radius: 16px; }
    .product-real-img { height: 250px; margin-bottom: 1.5rem; }
    .product-category-card h2 { font-size: 1.5rem; flex-direction: column; align-items: flex-start; gap: 10px; }
    .sub-product-item h3 { font-size: 1.2rem; }

    /* Grade de Serviços */
    .service-detail-item { flex-direction: column; text-align: center; gap: 20px; padding: 2rem; }
    .service-icon-box { margin: 0 auto; width: 80px; height: 80px; font-size: 2rem; }
    .service-text-box h2 { font-size: 1.5rem; }

    /* Footer */
    .footer { padding: 30px 0; }
    .footer-grid { flex-direction: column; text-align: center; gap: 20px; }
}

/* SMARTPHONES PEQUENOS (Até 480px) */
@media (max-width: 480px) {
    /* Header Mobile */
    .logo-container img { height: 40px; }
    .nav-menu { flex-direction: column; width: 100%; gap: 10px; }
    .nav-link { font-size: 0.85rem; }
    .btn-contact-trigger { width: 100%; padding: 12px; text-align: center; font-size: 0.85rem; }
    
    /* Títulos */
    .hero-intro h1 { font-size: 1.8rem; }
    
    /* Listas e Tags */
    .product-bullet-list { grid-template-columns: 1fr; }
    .product-bullet-list li { font-size: 0.85rem; padding: 12px; }
    .badge-tag { font-size: 0.7rem; padding: 6px 10px; }
    
    /* Modal de Contato Mobile */
    .modal-box { max-width: 95%; border-radius: 16px; }
    .modal-header { padding: 16px 20px; }
    .modal-body { padding: 20px; }
    .modal-title { font-size: 1rem; }
    .channels-whatsapp span { font-size: 0.9rem; }
    .action-btn-text { display: none; } /* Oculta texto para caber perfeitamente no mobile */
    .modal-action-row span { font-size: 0.8rem; }
    
    /* Botão Flutuante do WhatsApp */
    .whatsapp-float { width: 55px; height: 55px; font-size: 28px; bottom: 20px; right: 20px; }
}