/* ===================================
   LANDING PAGE - DARK THEME MODERN
   Inspirado em Metronic, AdminLTE Dark, Material Dashboard
   =================================== */

:root {
    --bg-primary: #0a0c10;
    --bg-secondary: #12151c;
    --bg-tertiary: #1a1f28;
    --border-color: rgba(176, 188, 210, 0.14);
    --text-primary: #e8ecf4;
    --text-secondary: #b4b8c0;
    --text-muted: #6c757d;
    --accent-blue: #6b9cff;
    --accent-green: #28a745;
    --accent-orange: #fd7e14;
    --accent-purple: #7c6cf0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =====================
   NAVBAR
   ===================== */
.sf-page--landing .navbar-custom,
.sf-page--auth .auth-navbar {
    position: sticky;
    top: 0;
    z-index: 200;
}

.navbar-custom {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.navbar-custom .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-blue) !important;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-brand--logo {
    padding: 0;
}

.navbar-brand-logo {
    display: block;
    max-height: 44px;
    max-width: min(220px, 55vw);
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(107, 156, 255, 0.2));
}

.navbar-brand-logo--auth {
    max-height: 26px;
    max-width: 100px;
}

.navbar-brand i {
    margin-right: 8px;
}

.navbar-custom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
    position: relative;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-btn-cta {
    padding: 8px 20px !important;
    font-size: 14px !important;
    color: #fff !important;
    white-space: nowrap;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: linear-gradient(165deg, #2a3140, #12151c);
    cursor: pointer;
    flex-shrink: 0;
}

.navbar-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #e8ecf4;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-custom.is-menu-open .navbar-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-custom.is-menu-open .navbar-toggle-bar:nth-child(2) {
    opacity: 0;
}
.navbar-custom.is-menu-open .navbar-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.sl-lightbox-open {
    overflow: hidden;
}

.nav-link-custom {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link-custom:hover {
    background: rgba(30, 144, 255, 0.1);
    color: var(--accent-blue);
}

/* =====================
   HERO SECTION
   ===================== */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(107, 156, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(124, 108, 240, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.btn-hero {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-hero {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 156, 255, 0.4);
}

.btn-secondary-hero {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary-hero:hover {
    border-color: var(--accent-blue);
    background: rgba(30, 144, 255, 0.1);
}

/* Hero Mockup */
.hero-mockup {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.mockup-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #28c840; }

.mockup-content {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 20px;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.mockup-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 8px;
}

.mockup-line {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 6px;
}

.mockup-line.short { height: 6px; }

.mockup-text {
    height: 4px;
    width: 100%;
    background: var(--border-color);
    border-radius: 2px;
    margin-bottom: 8px;
}

.mockup-text.medium { width: 90%; }
.mockup-text.small { width: 70%; }

/* =====================
   STATS SECTION
   ===================== */
.stats-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-card {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* =====================
   FEATURES SECTION
   ===================== */
.features-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-blue);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-icon.blue {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.2), rgba(30, 144, 255, 0.05));
    color: var(--accent-blue);
}

.feature-icon.green {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.05));
    color: var(--accent-green);
}

.feature-icon.orange {
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.2), rgba(253, 126, 20, 0.05));
    color: var(--accent-orange);
}

.feature-icon.purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
    color: var(--accent-purple);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-code {
    background: rgba(30, 144, 255, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent-blue);
    font-family: 'Courier New', monospace;
}

/* =====================
   CTA SECTION
   ===================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Rodapé: ver footer.css */

/* =====================
   ANIMATIONS
   ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* =====================
   RESPONSIVE
   ===================== */

/* Tablet */
@media (max-width: 992px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .features-section {
        padding: 80px 0;
    }

    .stats-section {
        padding: 60px 0;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 40px;
    }

    .feature-card {
        padding: 28px;
    }

    .feature-title {
        font-size: 20px;
    }

    .hero-mockup {
        padding: 32px;
    }
}

/* Mobile / Tablet Pequeno */
@media (max-width: 768px) {
    .navbar-custom .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.75rem;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    }

    .navbar-custom.is-menu-open .navbar-menu {
        display: flex;
    }

    .navbar-menu .nav-link-custom,
    .navbar-menu .navbar-btn-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .navbar-menu .navbar-btn-cta {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .nav-link-custom {
        padding: 10px 14px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-section {
        padding: 40px 0 60px;
    }

    .features-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 13px;
    }

    .stat-card {
        padding: 16px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-description {
        font-size: 16px;
    }

    .btn-hero {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
    }

    .feature-card {
        padding: 20px;
        margin-bottom: 16px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .feature-title {
        font-size: 18px;
    }

    .feature-description {
        font-size: 14px;
    }

    .hero-mockup {
        padding: 20px;
    }

}

/* Mobile Pequeno */
@media (max-width: 576px) {
    .navbar-custom {
        padding: 0.75rem 0;
    }

    .navbar-custom .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .navbar-brand {
        font-size: 18px;
    }

    .navbar-brand i {
        margin-right: 6px;
    }

    .nav-link-custom {
        padding: 6px 12px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-section {
        padding: 30px 0 40px;
    }

    .hero-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-section .d-flex {
        gap: 12px !important;
    }

    .features-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-card {
        padding: 12px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .cta-description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .btn-hero {
        padding: 12px 20px;
        font-size: 13px;
    }

    .feature-card {
        padding: 16px;
        margin-bottom: 12px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .feature-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .feature-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .feature-code {
        font-size: 11px;
        padding: 1px 4px;
    }

    .hero-mockup {
        padding: 16px;
    }

    .mockup-dots {
        gap: 6px;
        margin-bottom: 16px;
    }

    .mockup-dot {
        width: 10px;
        height: 10px;
    }

    .mockup-content {
        padding: 16px;
    }

    .mockup-header {
        margin-bottom: 12px;
    }

    .mockup-avatar {
        width: 32px;
        height: 32px;
    }

    .stats-section {
        padding: 40px 0;
    }

}

/* Mobile Extra Pequeno */
@media (max-width: 400px) {
    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .section-title {
        font-size: 20px;
    }

    .feature-title {
        font-size: 15px;
    }

    .cta-title {
        font-size: 20px;
    }

    .btn-hero {
        font-size: 12px;
        padding: 10px 16px;
    }
}

/* Banner de consentimento de cookies (landing / páginas legais) */
.sf-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483000;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(12, 14, 22, 0.96) 0%, rgba(8, 10, 16, 0.99) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
    visibility: hidden;
}

.sf-cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.sf-cookie-banner.is-hidden {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.sf-cookie-banner-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sf-cookie-banner-inner p {
    margin: 0;
    flex: 1 1 280px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.sf-cookie-banner-title {
    flex: 1 1 100% !important;
    font-size: 0.9375rem !important;
    margin-bottom: 0.25rem !important;
}

.sf-cookie-banner-detail {
    flex: 1 1 100% !important;
    font-size: 0.8125rem !important;
    color: rgba(255, 255, 255, 0.72) !important;
    margin-bottom: 0.35rem !important;
}

.sf-cookie-banner-inner a {
    color: #8eb4ff;
    text-decoration: underline;
}

.sf-cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sf-cookie-btn {
    position: relative;
    z-index: 2;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.sf-cookie-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.sf-cookie-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
}

.sf-cookie-btn--primary {
    background: linear-gradient(135deg, #6b9cff 0%, #4f7df0 100%);
    color: #fff;
}

.sf-cookie-btn--primary:hover {
    filter: brightness(1.08);
}

@media (max-width: 576px) {
    .sf-cookie-banner-actions {
        width: 100%;
    }

    .sf-cookie-btn {
        flex: 1;
    }
}

