@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #090d16;
    --bg-soft: #111827;
    --panel: rgba(17, 24, 39, 0.82);
    --panel-strong: #0f172a;
    --border: rgba(148, 163, 184, 0.16);
    --text: #e5e7eb;
    --muted: #94a3b8;
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #3b82f6;
    --success: #34d399;
    --shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top, rgba(99, 102, 241, 0.18), transparent 30%),
        var(--bg);
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: rgba(99, 102, 241, 0.6);
    color: white;
}

.rotate-180 {
    transform: rotate(180deg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.hero-badge {
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.14);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-panel {
    position: relative;
    width: min(100%, 480px);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.72));
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    animation: floatCard 6s ease-in-out infinite;
}

.glass-panel::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.2), transparent 60%);
    z-index: -1;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 0.25rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.status-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 18px rgba(52, 211, 153, 0.8);
}

.panel-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(229, 231, 235, 0.9);
}

.panel-tag {
    margin-left: auto;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.panel-body {
    padding-top: 1.1rem;
}

.mini-stat {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    gap: 1rem;
}

.mini-label {
    font-size: 0.78rem;
    color: var(--muted);
}

.mini-stat strong {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    background: linear-gradient(135deg, #e2e8f0 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mini-progress {
    width: 100%;
    height: 0.65rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
    overflow: hidden;
    margin-bottom: 1.3rem;
}

.mini-progress span {
    display: block;
    width: 82%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.4);
}

.feature-stack {
    display: grid;
    gap: 0.8rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0.9rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-item.active {
    border-color: rgba(99, 102, 241, 0.45);
    background: rgba(99, 102, 241, 0.08);
}

.feature-item:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.18));
    color: #c4b5fd;
}

.feature-item span {
    display: block;
    font-weight: 700;
    color: #f8fafc;
}

.feature-item small {
    display: block;
    margin-top: 0.15rem;
    color: var(--muted);
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.25rem 1rem;
    border-radius: 1.15rem;
    border: 1px solid var(--border);
    background: rgba(17, 24, 39, 0.75);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.3);
}

.stat-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.74rem;
    color: var(--muted);
    line-height: 1.5;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #090d16;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.8), rgba(139, 92, 246, 0.8));
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(99, 102, 241, 1), rgba(139, 92, 246, 1));
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 1rem;
    }
}

#servicos .bg-darkCard,
#processo .bg-darkCard,
#beneficios .benefit-card,
#faq .bg-darkCard,
#contato form,
#projetos .project-card,
footer {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#servicos .bg-darkCard:hover,
#processo .bg-darkCard:hover,
#beneficios .benefit-card:hover,
#faq .bg-darkCard:hover,
#projetos .project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.34);
}

#servicos .bg-darkCard {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(148, 163, 184, 0.12);
    min-height: 100%;
}

#servicos .bg-darkCard::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.9), rgba(59, 130, 246, 0.4));
    opacity: 0;
    transition: opacity 0.25s ease;
}

#servicos .bg-darkCard:hover::before {
    opacity: 1;
}

#servicos .bg-darkCard .p-3 {
    width: 3.3rem;
    height: 3.3rem;
    display: grid;
    place-items: center;
    background: rgba(99, 102, 241, 0.09);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 1rem;
}

#servicos .bg-darkCard h3 {
    letter-spacing: -0.03em;
}

#processo .bg-darkCard {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.8), rgba(15, 23, 42, 0.85));
}

#processo .bg-darkCard::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22), transparent 70%);
}

#projetos .project-card {
    position: relative;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.9), rgba(10, 14, 25, 0.9));
}

#projetos .project-card .relative {
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

#projetos .project-card .absolute a {
    backdrop-filter: blur(8px);
}

#beneficios .benefit-card {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.88), rgba(15, 23, 42, 0.78));
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 1.5rem;
    padding: 1.5rem;
    min-height: 100%;
}

#beneficios .benefit-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.18));
    color: #c4b5fd;
    margin-bottom: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

#beneficios .benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

#beneficios .benefit-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.96rem;
}

.value-feature {
    padding: 1.2rem 1.1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.72), rgba(15, 23, 42, 0.8));
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.18));
    color: #c4b5fd;
    margin-bottom: 0.9rem;
}

.value-feature h4 {
    margin: 0 0 0.5rem;
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 700;
}

.value-feature p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.92rem;
}

#faq .faq-item {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.9), rgba(15, 23, 42, 0.75));
    border: 1px solid rgba(148, 163, 184, 0.14);
}

#faq .faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.6rem 1.8rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08), rgba(15, 23, 42, 0.9));
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.2);
}

.cta-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c4b5fd;
}

.cta-banner h3 {
    margin: 0;
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.25;
}

#contato form {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.28);
}

#contato input,
#contato select,
#contato textarea {
    background: rgba(9, 13, 22, 0.9) !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#contato input:focus,
#contato select:focus,
#contato textarea:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.6) !important;
    transform: translateY(-1px);
}

footer {
    background: rgba(9, 13, 22, 0.98);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.fixed a {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
    .glass-panel {
        border-radius: 24px;
        padding: 0.9rem;
    }

    .mini-stat {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-item {
        padding: 0.7rem 0.8rem;
    }

    #servicos .bg-darkCard,
    #processo .bg-darkCard,
    #projetos .project-card,
    #faq .bg-darkCard,
    #contato form {
        border-radius: 1.1rem;
    }
}