/* ===== VARIÁVEIS DO TEMA (CLARO / LIGHT SAAS) ===== */
:root {
    --bg-light: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark-section: #0f172a;
    --bg-card: #ffffff;
    --border-light: #e2e8f0;
    --border-dark: #1e293b;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #3b82f6;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --text-light-muted: #cbd5e1;
    --success: #10b981;
    --transition: all 0.3s ease;
}

/* ===== RESET & TIPOGRAFIA ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TIPOGRAFIA ===== */
h1,
h2,
h3,
h4,
h5 {
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* ===== COMPONENTES - BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border-color: var(--border-light);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--bg-alt);
    color: var(--text-main);
}

.btn-outline-dark {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-outline-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ===== NAVEGAÇÃO CLARA ===== */
.navbar-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text-main);
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Dropdown Mega Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown .arrow-down {
    font-size: 0.7rem;
    margin-left: 4px;
    vertical-align: middle;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    min-width: 650px;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.dropdown-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dropdown-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.dropdown-col a {
    display: block;
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 400;
}

.dropdown-col a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.hamburger {
    display: none;
}

.mobile-menu-toggle {
    display: none;
}

/* ===== SECTION: LIGHT & DARK ===== */
.section-padding {
    padding: 80px 0;
}

.section-dark {
    background-color: var(--bg-dark-section);
    color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--text-light);
}

.section-dark .section-subtitle {
    color: var(--text-light-muted);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-inline: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===== CARDS CLAROS ===== */
.glass-card,
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.card-dark {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.card-dark:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* ===== GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Grid 2 colunas para features com imagem */
.feature-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-row-content {
    flex: 1;
    min-width: 300px;
}

.feature-row-content ul li {
    margin-bottom: 10px;
}

.feature-row-image {
    flex: 1;
    min-width: 300px;
}

.feature-row-image img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

/* Feature Icons */
.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-alt);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border: 1px solid var(--border-light);
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
}

.hero-bg-glow {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    max-width: 900px;
    margin: 0 auto 20px;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-dashboard-img {
    margin-top: 60px;
    /* border-radius: 16px; 
    box-shadow: 0 24px 48px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
    */
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ESTATÍSTICAS ===== */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-card {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    min-width: 250px;
    border: 1px solid var(--border-light);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ===== LISTAS COM CHECK ===== */
.check-list {
    margin-top: 20px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.check-list li::before {
    content: url('/assets/img/check.svg');
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
}

.check-list.dark-list li {
    color: var(--text-light-muted);
}

.check-list.dark-list li::before {
    color: var(--primary);
}

/* ===== FOOTER ===== */
.site-footer {
    border-top: 1px solid var(--border-light);
    padding: 80px 0 20px;
    background: #ffffff;
}

.footer-socials {
    display: grid;
    grid-template-columns: 25px 25px;
    /* Coloca os itens obrigatoriamente um ao lado do outro */
    gap: 10px;
    /* Define o espaço exato entre um ícone e outro */
    align-items: center;
    /* Garante que fiquem alinhados ao centro verticalmente */
    margin-top: 10px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-description {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.wa-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.btn-mobile-only {
    display: none;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-light);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .btn-mobile-only {
        display: flex !important;
        text-align: center;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }

    /* Dropdown Mega Menu Mobile Fix */
    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        left: 0;
        min-width: 100%;
        box-shadow: none;
        border: none;
        padding: 10px 0 0 15px;
        display: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        transform: none !important;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
        transform: none !important;
    }

    .dropdown-columns {
        flex-direction: column;
        gap: 20px;
        margin-top: 10px;
    }

    .dropdown-col {
        margin-bottom: 0;
    }

    .dropdown-heading {
        margin-bottom: 10px;
        padding-bottom: 5px;
    }

    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        margin-left: auto;
        padding: 10px;
        z-index: 1001;
    }

    .hamburger {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-main);
        position: relative;
        transition: all 0.3s;
        margin: 0;
        padding: 0;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: var(--text-main);
        left: 0;
        transition: var(--transition);
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    .mobile-menu-toggle.active .hamburger {
        background: transparent;
    }

    .mobile-menu-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .mobile-menu-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    h1.hero-title {
        font-size: 2.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-bg-glow {
        width: 100%;
        left: 0;
        transform: none;
    }

    .cta-banner {
        padding: 40px 20px;
        margin: 40px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Final gradiente claro */
.cta-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 80px auto;
    border: 1px solid #bfdbfe;
}

.cta-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}