/* ============================================
   Spark Soluções - Site Institucional
   Cores: padrão Meu Gestor ME
   Visual: futurista, glassmorphism, gradientes
   ============================================ */

:root {
    --primary: #0066CC;
    --primary-dark: #0052A3;
    --primary-light: #E6F2FF;
    --accent: #FFD700;
    --accent-hover: #FFCC00;
    --bg-dark: #0a0e17;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-border: rgba(255, 255, 255, 0.12);
    --text: #e8ecf4;
    --text-muted: #8b95a8;
    --white: #ffffff;
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Background effects */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 102, 204, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 204, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}
.glow-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}
.glow-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-dark);
    bottom: 20%;
    left: -80px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bg-card-border);
    transition: background 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}
.logo-img {
    height: 46px;
    max-width: 200px;
    width: auto;
    display: block;
    object-fit: contain;
}
.logo-icon {
    color: var(--primary);
    font-size: 1.5rem;
}
.logo:hover {
    color: var(--primary-light);
}
.logo:hover .logo-img {
    opacity: 0.95;
}
.logo:hover .logo-icon {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.nav-links a:hover {
    color: var(--primary-light);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-close-wrap {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 14, 23, 0.98);
        flex-direction: column;
        padding: 2rem 1.5rem 2rem;
        gap: 0.25rem;
        border-left: 1px solid var(--bg-card-border);
        transition: right 0.3s ease;
        z-index: 99;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.3);
    }
    .nav-links.open {
        right: 0;
    }
    .nav-toggle {
        display: block;
        position: relative;
        z-index: 101;
    }
    .nav-close-wrap {
        display: block;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--bg-card-border);
    }
    .nav-close {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0.75rem 0;
        background: none;
        border: none;
        color: var(--text-muted);
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        transition: color 0.2s ease;
    }
    .nav-close:hover {
        color: var(--primary-light);
    }
    .nav-close i {
        font-size: 1.25rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.4);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #003d7a);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 102, 204, 0.5);
}
.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--primary);
    color: var(--white);
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0 4rem;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    height: clamp(72px, 12vw, 120px);
    width: auto;
    max-width: 280px;
    display: block;
    margin: 0 auto 1.5rem;
    object-fit: contain;
    animation: fadeUp 0.8s ease;
}
.hero-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    animation: fadeUp 0.8s ease 0.05s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease 0.1s both;
}
.hero-title .line {
    display: block;
}
.hero-title .accent {
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    max-width: 560px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    animation: fadeUp 0.8s ease 0.2s both;
}
.hero-subtitle strong {
    color: var(--primary-light);
    font-size: inherit;
    font-weight: 700;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: fadeUp 0.8s ease 0.3s both;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-hint {
    display: inline-flex;
    color: var(--text-muted);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}
.scroll-hint:hover {
    color: var(--primary);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Sections */
.section {
    position: relative;
    z-index: 1;
    padding: 5rem 0;
}
.section-dark {
    background: linear-gradient(180deg, transparent, rgba(0, 82, 163, 0.08), transparent);
}

.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-lead {
    max-width: 640px;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Glass cards */
.glass {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.glass:hover {
    border-color: rgba(0, 102, 204, 0.3);
    transform: translateY(-4px);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-card {
    padding: 2rem;
    text-align: center;
}
.about-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--white);
}
.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
}
.about-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Goals */
.goals-list {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}
.goal-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
}
.goal-item i {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}
.goal-item span {
    font-size: 1rem;
    color: var(--text);
}

/* Meu Gestor ME promo */
.promo-section .section-lead {
    margin-bottom: 2rem;
}

.promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.promo-card {
    padding: 1.5rem;
    position: relative;
}
.promo-card.featured {
    border-color: rgba(0, 102, 204, 0.5);
    background: rgba(0, 102, 204, 0.08);
}
.promo-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent);
}
.promo-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.promo-card h3 i {
    color: var(--primary);
}
.promo-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.promo-cta {
    text-align: center;
}
.promo-cta .btn {
    margin-bottom: 0.75rem;
}
.promo-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* WhatsApp contact */
.whatsapp-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 3rem;
    text-decoration: none;
    color: var(--white);
    border-radius: 20px;
    border: 2px solid rgba(37, 211, 102, 0.4);
    background: rgba(37, 211, 102, 0.12);
    transition: all 0.25s ease;
}
.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25d366;
    transform: scale(1.02);
}
.whatsapp-btn i {
    font-size: 3rem;
    color: #25d366;
}
.whatsapp-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}
.whatsapp-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contato-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
}
.email-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 2.5rem;
    text-decoration: none;
    color: var(--white);
    border-radius: 20px;
    border: 2px solid rgba(0, 102, 204, 0.4);
    background: rgba(0, 102, 204, 0.12);
    transition: all 0.25s ease;
}
.email-btn:hover {
    background: rgba(0, 102, 204, 0.22);
    border-color: var(--primary);
    transform: scale(1.02);
}
.email-btn i {
    font-size: 2.5rem;
    color: var(--primary-light);
}
.email-address {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    word-break: break-all;
}
.email-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    padding: 3rem 0;
    border-top: 1px solid var(--bg-card-border);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    text-align: left;
}
.footer-logo {
    height: 90px;
    max-height: 20vh;
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}
.footer-spark-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}
.footer-spark-text p {
    margin-bottom: 0.25rem;
}
.footer-spark-text p:last-child {
    margin-bottom: 0;
}
.footer-copy,
.footer-dev {
    font-size: 0.8rem;
    color: var(--text-muted);
}
@media (max-width: 576px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
