:root {
    --primary: #0066FF;
    --dark: #0A0A0B;
    --light: #F4F7FA;
    --accent: #00D1FF;
    --success: #25D366;
    --text-gray: #666;
}

* { margin:0; padding:0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--light); color: var(--dark); line-height: 1.6; overflow-x: hidden; }

/* Typography Responsiva */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
p { font-size: clamp(1rem, 2vw, 1.1rem); }

/* Header & Nav */
header { 
    padding: 15px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(10px);
    position: sticky; 
    top:0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}
.logo { font-weight: 900; font-size: 1.5rem; color: var(--primary); letter-spacing: -1px; text-decoration: none; }
nav ul { display: flex; list-style: none; gap: 20px; }
nav a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
nav a:hover { color: var(--primary); }

/* Hero Section */
.hero { 
    padding: 120px 5%; 
    text-align: center; 
    background-image: url('images/banner.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff; 
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 10, 11, 0.75); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero h1 span { color: var(--accent); display: block; }

.btn-main { 
    background: var(--primary); 
    color: #fff; 
    padding: 16px 32px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: bold; 
    display: inline-block; 
    transition: 0.3s; 
    border: none; 
    cursor: pointer;
    margin-top: 20px;
}
.btn-main:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3); }

/* Seções Gerais */
section { padding: 80px 5%; }

/* Grid de Problemas */
.pain-points { background: #fff; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.check-item { display: flex; align-items: center; margin-bottom: 15px; }
.check-item i { color: #ff4d4d; margin-right: 15px; font-size: 1.2rem; }

/* Grid de Cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.card { background: #fff; padding: 40px; border-radius: 15px; transition: 0.4s; border: 1px solid #eee; text-align: center; }
.card:hover { border-color: var(--primary); transform: translateY(-10px); }
.card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }

/* Detalhes dos Serviços (Z-Pattern que vira Card no Mobile) */
.detalhe-item { 
    display: flex; 
    align-items: center; 
    gap: 50px; 
    margin-bottom: 80px; 
    background: #fff;
    padding: 30px;
    border-radius: 20px;
}
.detalhe-item:nth-child(even) { flex-direction: row-reverse; }
.detalhe-img { flex: 1; min-width: 300px; }
.detalhe-img img { width: 100%; border-radius: 15px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.detalhe-info { flex: 1; min-width: 300px; }
.detalhe-info ul { list-style: none; margin-top: 20px; }
.detalhe-info li { margin-bottom: 12px; display: flex; gap: 10px; }
.detalhe-info li i { color: var(--success); margin-top: 5px; }

/* Mega Footer */
.mega-footer { background: #0A0A0B; color: #fff; padding: 80px 5% 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-col h4 { color: var(--primary); margin-bottom: 20px; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.footer-col p { color: #888; font-size: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #888; text-decoration: none; transition: 0.3s; font-size: 0.9rem; }
.footer-col ul li a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { border-top: 1px solid #222; padding-top: 30px; text-align: center; color: #555; font-size: 0.8rem; }

/* Botão WhatsApp */
.whatsapp-btn {
    position: fixed; bottom: 30px; right: 30px;
    background: var(--success); color: white;
    border-radius: 50%; width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; text-decoration: none; z-index: 1001;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Estilos para a Seção de Clientes */
    .clientes-section {
        background: #111827; /* Fundo escuro elegante para destacar logos brancas/cinzas */
        padding: 80px 20px;
    }
    .clientes-container {
        max-width: 1100px;
        margin: 0 auto;
    }
    .clientes-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    .cliente-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 180px;
        height: 120px;
        transition: all 0.3s ease;
        position: relative;
        text-decoration: none;
    }
    .cliente-card img {
        max-width: 100%;
        max-height: 100%;
        transition: all 0.3s ease;
    }
    .cliente-card .logo-mono {
        opacity: 0.6;
    }
    .cliente-card .logo-color {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
    }
    /* Efeito ao passar o mouse no Card */
    .cliente-card:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateY(-5px);
        border-color: rgba(255, 255, 255, 0.15);
    }
    .cliente-card:hover .logo-mono {
        opacity: 0;
        transform: scale(1.05);
    }
    .cliente-card:hover .logo-color {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
    /* Tooltip (Balãozinho) */
    .cliente-card::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 115%; /* Posiciona acima do card */
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: #ffffff;
        color: #111827;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 600;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
        z-index: 10;
        box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    }
    /* Setinha do balão */
    .cliente-card::before {
        content: '';
        position: absolute;
        bottom: 105%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        border-width: 6px;
        border-style: solid;
        border-color: #ffffff transparent transparent transparent;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 10;
    }
    /* Exibe o balão no hover */
    .cliente-card:hover::after,
    .cliente-card:hover::before {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

/* Seção Sobre */
.sobre-section {
    padding: 100px 5%;
    text-align: center;
    background-color: var(--dark); /* Cor de fallback, você pode trocar pela sua imagem */
    /* Adicione sua imagem de fundo aqui, ex: background-image: url('images/fundo-futurista.jpg'); */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    position: relative;
}
.sobre-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(10, 10, 11, 0.85); /* Overlay para garantir a legibilidade do texto */
    z-index: 1; 
}
.sobre-content-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.sobre-content-container h2 {
    color: #fff;
    margin-bottom: 20px;
}
.sobre-content-container p {
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 20px auto;
}
.sobre-content-container p strong {
    color: var(--accent);
}
.sobre-icon-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
    flex-wrap: wrap;
}
.sobre-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 150px;
}
.sobre-icon-item i {
    font-size: 2.5rem;
    color: var(--primary);
}
.sobre-icon-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #ccc;
}
.sobre-content-container .punchline {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 600;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 30px;
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: -150%; /* Começa escondido, bem abaixo da tela */
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(10px); /* Dá aquele visual de vidro fosco */
    color: #fff;
    padding: 20px 5%;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.4);
    z-index: 9999;
    transition: bottom 0.6s ease-in-out; /* Animação suave */
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.cookie-popup.show {
    bottom: 0; /* Quando o JS adicionar a classe "show", ele sobe para 0 */
}
.cookie-content {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #ccc;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0; /* Impede que os botões esmaguem */
}
.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.btn-accept { background: var(--success); color: #fff; }
.btn-accept:hover { background: #1ebc58; transform: translateY(-2px); }
.btn-decline { background: transparent; color: #aaa; border: 1px solid #555; }
.btn-decline:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Responsividade Mobile */
@media (max-width: 768px) {
    nav { display: none; } /* Simplicidade: menu escondido no mobile ou use um hamburger */
    .hero { min-height: 90vh; padding: 80px 5% 80px; background-attachment: scroll; }
    .detalhe-item, .detalhe-item:nth-child(even) { 
        flex-direction: column; 
        gap: 30px; 
        padding: 0;
        margin-bottom: 60px;
    }
    .detalhe-img, .detalhe-info { min-width: 100%; }
    .detalhe-info h2 { text-align: center; }
    .whatsapp-btn { width: 50px; height: 50px; font-size: 25px; bottom: 20px; right: 20px; }
    
    .clientes-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .cliente-card { width: 100%; height: 100px; }
    .sobre-section { background-attachment: scroll; }
    
    /* Ajustes do Cookies no Celular */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
}
