/* ARQUIVO DE ESTILO - PRÁTICO ONLINE 
   PROJETO: ROBÃO & MARCELO
   VERSÃO: 2.0 (MODO TECH ATIVADO)
*/

:root {
    --primary: #00a8e8;
    --primary-dark: #007ea7;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-dim: #64748b;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

/* CONFIGURAÇÃO GERAL */
body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER E MENU FUTURISTA --- */
header {
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 168, 232, 0.5);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff !important;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: 0.3s;
    opacity: 0.9;
}

.nav-links a:hover {
    color: var(--primary) !important;
    opacity: 1;
    text-shadow: 0 0 10px var(--primary);
}

/* --- CARRINHO E LOGIN --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cart-icon {
    position: relative;
    font-size: 1.8rem; /* TAMANHO QUE VOCÊ PEDIU */
    color: #ffffff !important;
    cursor: pointer;
    transition: 0.3s;
    filter: drop-shadow(0 0 5px rgba(0, 168, 232, 0.5));
}

.cart-icon:hover {
    color: var(--primary) !important;
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #0a0f1c;
    box-shadow: 0 0 10px var(--primary);
}

.btn-login {
    background: transparent;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 4px;
    border: 2px solid var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    transition: 0.4s;
    text-decoration: none;
}

.btn-login:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px var(--primary);
}

/* --- SEÇÃO HERO --- */
.hero {
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero h1 span { color: var(--primary); }

/* --- GRID DE PRODUTOS --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.img-placeholder {
    width: 100%;
    height: 180px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    margin: 15px 0;
    color: var(--text-main);
}

.btn-add {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-add:hover { background: var(--primary-dark); }

/* --- QUEM SOMOS (TECH STYLE) --- */
.sobre-nos.tech-bg {
    background: #0f172a !important;
    padding: 80px 0 !important;
    border-radius: 24px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.15;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    padding: 0 60px !important;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sobre-texto h2 { color: #fff; font-size: 2.2rem; margin-bottom: 25px; font-family: 'Rajdhani'; }
.sobre-texto h2 span { color: var(--primary); }
.sobre-texto p { color: #cbd5e1; line-height: 1.8; margin-bottom: 20px; text-align: justify; }

.circuit-animation {
    width: 220px; height: 220px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 5rem; color: var(--primary);
    box-shadow: 0 0 20px var(--primary);
    animation: pulse-glow 2s infinite;
    background: rgba(0, 168, 232, 0.05);
}

@keyframes pulse-glow {
    0% { transform: scale(1); box-shadow: 0 0 10px var(--primary); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px var(--primary); }
    100% { transform: scale(1); box-shadow: 0 0 10px var(--primary); }
}

/* --- WHATSAPP E MODAL --- */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: #fff;
    padding: 15px 25px; border-radius: 50px;
    text-decoration: none; display: flex; align-items: center; gap: 10px;
    font-weight: 700; z-index: 9999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.modal {
    display: none; position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center; align-items: center; z-index: 2000;
}

.modal-content {
    background: #fff; padding: 40px; border-radius: 20px;
    max-width: 400px; width: 90%; position: relative;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .sobre-grid { grid-template-columns: 1fr; text-align: center; }
    .sobre-texto p { text-align: center; }
    .circuit-animation { margin: 0 auto; }
}

/* AJUSTE PARA DEIXAR O SITE MAIS JUSTO - ROBÃO */

/* Diminui o espaço em cima e embaixo do título principal */
.hero {
    padding: 40px 0 !important; /* Reduzi de 100px para 40px */
    text-align: center;
}

.hero h1 {
    margin-bottom: 10px !important; /* Aproxima o título do texto de baixo */
}

/* Diminui o espaço entre o topo e o bloco preto do "Quem Somos" */
.sobre-nos.tech-bg {
    margin-top: 10px !important; /* Cola mais na parte de cima */
    margin-bottom: 30px !important; /* Diminui o espaço antes de começar os softwares */
    padding: 50px 0 !important; /* Deixa o bloco preto interno mais compacto */
}

.section-title {
    margin: 20px 0 20px !important; /* Diminui o espaço do título "Nossos Softwares" */
}

/* AJUSTE PARA DEIXAR O SITE MAIS JUSTO */
.hero {
    padding: 30px 0 !important; /* Deixa o topo bem compacto */
}

.sobre-nos.tech-bg {
    margin-top: 0 !important; /* Cola o bloco preto no que vem acima */
}

/* LOGO + TEXTO LADO A LADO */
.logo {
    display: flex;
    align-items: center; /* Alinha os dois verticalmente no centro */
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo img {
    max-height: 45px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(0, 168, 232, 0.3)); /* Brilho leve na logo */
}

.logo span {
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* WIDGET DE SUPORTE FLUTUANTE */
.suporte-container {
    position: fixed;
    bottom: 90px; /* Fica acima do botão do WhatsApp */
    right: 25px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.suporte-botao {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4);
    transition: 0.3s;
}

.suporte-botao:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--primary); }

.suporte-janela {
    display: none; /* Começa escondida */
    width: 300px;
    background: #0f172a;
    border: 1px solid var(--primary);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.suporte-header {
    background: var(--primary);
    color: white;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    font-family: 'Rajdhani';
    font-weight: bold;
}

.suporte-body { padding: 15px; display: flex; flex-direction: column; gap: 10px; }

.suporte-body p { color: #cbd5e1; font-size: 0.9rem; margin: 0; }

.suporte-body input, .suporte-body textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid #334155;
    color: white;
    padding: 8px;
    border-radius: 5px;
}

.btn-enviar-suporte {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}