/* ══════════════════════════════════════
   Denver Consultoria — styles.css
   ══════════════════════════════════════ */

/* ── Reset & Base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #1c2b45 #080c14;
    overflow-x: clip;
}
body {
    background: #080c14;
    color: #ecfeff;
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}

/* ── Acessibilidade: Skip Link ── */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #06b6d4;
    color: #080c14;
    padding: 10px 20px;
    z-index: 1000;
    font-weight: 700;
    transition: top 0.3s;
    border-bottom-right-radius: 8px;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #080c14; }
::-webkit-scrollbar-thumb { background: #1c2b45; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #06b6d4; }

/* ── Logo ── */
.logo-mark {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0,212,255,0.2));
    transition: filter 0.3s ease;
}
.logo-group:hover .logo-mark {
    filter: drop-shadow(0 0 12px rgba(0,212,255,0.4));
}
.logo-text {
    line-height: 1;
}
.logo-text-name {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: #ecfeff;
}
.logo-text-sub {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: #00d4ff;
    text-transform: uppercase;
}

/* ── Trust Ribbon ── */
.trust-ribbon {
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.03), transparent);
    border-top: 1px solid rgba(0,212,255,0.05);
    border-bottom: 1px solid rgba(0,212,255,0.05);
}

/* ── Circuit SVG Pattern ── */
.circuit-bg {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0v20h30v20h-30v20h60v-20h30v-20h-30v-20h30v-20' fill='none' stroke='%2306b6d4' stroke-width='0.5'/%3E%3Ccircle cx='20' cy='20' r='2' fill='%2306b6d4'/%3E%3Ccircle cx='50' cy='40' r='1.5' fill='%2306b6d4'/%3E%3Ccircle cx='80' cy='20' r='2' fill='%2306b6d4'/%3E%3Ccircle cx='110' cy='40' r='1.5' fill='%2306b6d4'/%3E%3Cpath d='M100 80h40v40h-40zM140 100h30v20M60 120h40v30' fill='none' stroke='%2306b6d4' stroke-width='0.5'/%3E%3Ccircle cx='100' cy='80' r='2' fill='%2306b6d4'/%3E%3Ccircle cx='140' cy='120' r='1.5' fill='%2306b6d4'/%3E%3Ccircle cx='60' cy='150' r='2' fill='%2306b6d4'/%3E%3Cpath d='M0 160h20v20h40v-20h20v40' fill='none' stroke='%2306b6d4' stroke-width='0.5'/%3E%3Ccircle cx='20' cy='160' r='1.5' fill='%2306b6d4'/%3E%3Ccircle cx='60' cy='180' r='2' fill='%2306b6d4'/%3E%3Cpath d='M140 160h40v20h-20v20' fill='none' stroke='%2306b6d4' stroke-width='0.5'/%3E%3Ccircle cx='140' cy='160' r='1.5' fill='%2306b6d4'/%3E%3Ccircle cx='180' cy='180' r='2' fill='%2306b6d4'/%3E%3C/svg%3E");
}

/* ── Hero Circuit Lines ── */
.circuit-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), transparent);
    height: 1px;
    animation: traceLine var(--duration) linear infinite;
}
.circuit-line-v {
    position: absolute;
    background: linear-gradient(180deg, transparent, rgba(0,212,255,0.3), transparent);
    width: 1px;
    animation: traceLineV var(--duration) linear infinite;
}
@keyframes traceLine {
    0% { transform: translateX(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100vw); opacity: 0; }
}
@keyframes traceLineV {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* ── ROI Calculator Styles ── */
.roi-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 24px;
}
.roi-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 3px;
    outline: none;
}
.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #00d4ff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.roi-result-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(8, 145, 178, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* ── Founder Quote ── */
.quote-mark {
    font-family: 'Rajdhani', sans-serif;
    font-size: 8rem;
    line-height: 0;
    color: rgba(0, 212, 255, 0.05);
    position: absolute;
    top: 40px;
    left: -20px;
    pointer-events: none;
}

/* ── Glowing Nodes ── */
.glow-node {
    position: absolute;
    width: 6px; height: 6px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 12px 4px rgba(0,212,255,0.4);
    animation: nodePulse 3s ease-in-out infinite;
}
@keyframes nodePulse {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Service Cards ── */
.service-card {
    position: relative;
    background: linear-gradient(145deg, rgba(15,23,41,0.9), rgba(8,12,20,0.95));
    border: 1px solid rgba(0,212,255,0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.service-card:hover {
    border-color: rgba(0,212,255,0.2);
    transform: translateY(-6px);
    box-shadow: 0 25px 60px -12px rgba(0,212,255,0.1);
}

/* ── Navigation ── */
.nav-blur {
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.nav-link { color: rgba(236,254,255,0.6); transition: color 0.3s ease; }
.nav-link:hover { color: #00d4ff; }

/* ── CTA Buttons ── */
.cta-primary {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 0 20px -5px rgba(0,212,255,0.3);
    transition: all 0.3s ease;
}
.cta-primary:hover {
    box-shadow: 0 8px 40px -8px rgba(0,212,255,0.5);
    transform: translateY(-1px);
}

/* ── Form Inputs ── */
.input-field {
    background: rgba(8,12,20,0.9);
    border: 1px solid rgba(0,212,255,0.1);
    transition: all 0.3s ease;
}
.input-field:focus {
    outline: none;
    border-color: #06b6d4;
}

/* ── hCaptcha ── */
.h-captcha {
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.75rem;
}

/* ── Diagnóstico: Barra de Progresso ── */
.diag-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0891b2, #00d4ff);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── WhatsApp Floating Button (Disabled) ── */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 90;
    width: 56px;
    height: 56px;
    background: #1c2b45;
    border: 1px solid rgba(0,212,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(236,254,255,0.3);
    cursor: help;
}
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #0b121e;
    border: 1px solid rgba(0,212,255,0.2);
    color: #ecfeff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    opacity: 0;
    transition: all 0.3s ease;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(-10px); }

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    width: 44px;
    height: 44px;
    background: rgba(8,12,20,0.9);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 50%;
    color: #00d4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; }

.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(8,12,20,0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,212,255,0.1);
    padding: 1rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.visible { transform: translateY(0); }

@media (max-width: 767px) {
    .whatsapp-float { bottom: 80px; }
}
