/* ==========================================
   RAIZ E IDENTIDADE VISUAL PREMIUM
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #0a0d13;
    background-image:
        radial-gradient(circle at top right, rgba(59,130,246,.18), transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(13, 202, 240, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(92, 131, 216, 0.12), transparent 35%),
        linear-gradient(135deg, #0a0d13, #061329);
    color: #f8fafc;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: .7;
    z-index: 1;
    pointer-events: none;
}

/* NAVBAR COMPACTA */
.home-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 13, 19, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    display: inline-block;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #25e5eb, #215ea8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.system-badge {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 5px;
    margin-left: 6px;
    color: #94a3b8;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin: 0 16px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #ffffff;
}

/* HERO */
.hero-section {
    position: relative;
    z-index: 2;
    padding-top: 150px;
    padding-bottom: 70px;
}

.banner-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #cbd5e1;
}

.hero-text-side h2 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #25e5eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 30px;
}

.cta-group {
    display: flex;
    gap: 14px;
}

.btn-main-cta {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn-main-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.btn-primary-custom {
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: #60a5fa;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary-custom:hover {
    background: #2563eb;
    color: white;
}

.hero-trust-badges {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #64748b;
}

.hero-image {
    max-width: 600px;
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.45));
    animation: floatAnimation 2s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* METRICS SECTION */
.metrics-section {
    padding: 50px 0;
    scroll-margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255,255,255,0.01);
}

.metric-card strong {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(180deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-card span {
    color: #64748b;
    font-size: 14px;
}

/* MODULES GRID */
.features-section {
    padding: 80px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: all 0.25s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.04);
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 8px;
}

.feature-card p {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 0;
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.icon-dashboard   { background: rgba(220, 53, 69, 0.12); color: #f87171; }
.icon-caixa       { background: rgba(25, 135, 84, 0.12);  color: #4ade80; }
.icon-controle    { background: rgba(13, 110, 253, 0.12); color: #60a5fa; }
.icon-venda       { background: rgba(253, 126, 20, 0.12); color: #fb923c; }
.icon-cotacao     { background: rgba(255, 193, 7, 0.12);  color: #fbbf24; }
.icon-agenda      { background: rgba(13, 202, 240, 0.12); color: #22d3ee; }
.icon-escola      { background: rgba(111, 66, 193, 0.12); color: #fa8be2; }
.icon-contabilizo { background: rgba(111, 66, 193, 0.12); color: #82c535; }
.icon-contador    { background: rgba(111, 66, 193, 0.12); color: #3e9fc5; }

.border-danger-hover-static:hover { border-color: #dc3545; }
.border-success-hover-static:hover { border-color: #198754; }
.border-primary-hover-static:hover { border-color: #0d6efd; }
.border-orange-hover-static:hover { border-color: #fd7e14; }
.border-warning-hover-static:hover { border-color: #ffc107; }
.border-info-hover-static:hover { border-color: #0dcaf0; }
.border-purple-hover-static:hover { border-color: #6f42c1; }

/* PRICING PLANS */
.pricing-section {
    padding: 80px 0;
    background: rgba(7, 10, 15, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.price-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 35px 25px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.popular {
    border-color: rgba(37, 99, 235, 0.4);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, rgba(255,255,255,0.01) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 25px;
    background: #2563eb;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    color: white;
}

.plan-name {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
}

.price-value {
    font-size: 42px;
    font-weight: 800;
    margin: 15px 0;
}

.price-value small {
    font-size: 14px;
    color: #64748b;
    font-weight: 400;
}

.plan-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #94a3b8;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    flex-grow: 1;
}

.plan-features li {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-bottom: 12px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li.disabled {
    color: #475569;
    text-decoration: line-through;
}

.btn-price-action {
    display: block;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-price-action:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-pro {
    background: #2563eb;
    border-color: #2563eb;
}

.btn-pro:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* FAQ ACCORDION BOOTSTRAP OVERRIDE */
.faq-section {
    padding: 80px 0;
}

.faq-intro h3 {
    font-size: 28px;
    font-weight: 700;
}

.accordion-item {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.accordion-button {
    background: transparent !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 20px 0 !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

.accordion-button::after {
    filter: invert(0.7);
}

.accordion-body {
    font-family: 'Inter', sans-serif;
    color: #94a3b8;
    font-size: 14.5px;
    padding: 0 0 20px 0 !important;
    line-height: 1.6;
}

/* FOOTER */
.home-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #475569;
    font-size: 13px;
}

/* RESPONSIVIDADE */
@media (max-width: 991px) {
    .hero-text-side { text-align: center; }
    .hero-text-side h2 { font-size: 38px; }
    .cta-group, .hero-trust-badges { justify-content: center; flex-wrap: wrap; }
    .hero-image { max-width: 260px; margin-top: 30px; }
    .faq-intro { text-align: center; margin-bottom: 40px; }
}