:root {
    --primary-color: #0A5BE0;
    --primary-hover: #0849B5;
    --secondary-color: #2c3e50;
    --accent-color: #00C4CC;
    /* Example accent */
    --text-dark: #333333;
    --text-light: #6c757d;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --hero-bg: #EFF6FF;
    /* Very light blue */
    --border-color: #dee2e6;
    --spacing-section: 100px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-x: hidden;
}

.main-content {
    margin-left: 280px;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
    background-color: var(--bg-light);
}

@media (max-width: 992px) {
    .main-content {
        margin-left: 0;
    }
}


/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--secondary-color);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 91, 224, 0.3);
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, var(--hero-bg) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Global Spacing */
section {
    padding: var(--spacing-section) 0;
}

/* Card Styles */
.card-custom {
    border: none;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(10, 91, 224, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 80px 0;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Problem / Solution Section */
.problem-solution-section {
    background-color: var(--bg-white);
}

.solution-card-main {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
}

.solution-card-main:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.solution-icon-lg {
    font-size: 3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.check-list i {
    color: #27ae60;
    /* Success green */
    font-size: 1.2rem;
}

/* Features Section */
.features-section {
    background-color: var(--bg-light);
}

.feature-card-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.feature-card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--primary-color);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #EFF6FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 36px;
}

/* Resources Section (Plus) */
.resources-section {
    background-color: var(--bg-white);
}

.resource-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.2s ease;
    height: 100%;
}

.resource-card:hover {
    border-color: var(--primary-color);
    background-color: #f8fbff;
}

.resource-card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resource-card h5 i {
    color: var(--primary-color);
}

.resource-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Metrics Section */
.metrics-section {
    background: var(--secondary-color);
    color: #fff;
    padding: 80px 0;
}

.metric-item h2 {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.metric-item p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Innovation Section */
.innovation-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #053b99 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.innovation-content h2 {
    color: #fff;
}

.innovation-content .subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.benefit-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.benefit-box strong {
    color: var(--accent-color);
}


/* Metrics Charts */
.chart-container {
    position: relative;
    height: 200px;
    width: 200px;
    margin: 0 auto 20px;
}

.chart-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

/* Testimonials Carousel */
.testimonial-carousel .carousel-indicators {
    bottom: -50px;
}

.testimonial-carousel .carousel-indicators button {
    background-color: var(--accent-color);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
}

.testimonial-author strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer Section */
.main-footer {
    background-color: #1a1a1a;
    color: #b0b0b0;
    padding: 60px 0 20px;
}

.footer-logo {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #b0b0b0;
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #fff;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-left: 15px;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 0.8;
}

.copyright {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* ====================================================== */
/* AJUSTES DE REFINAMENTO PARA A SIDEBAR (MENU LATERAL)   */
/* ====================================================== */

/* ------------------------------------------------------ */
/* Ponto 1: Adicionar barra de rolagem em telas menores   */
/* ------------------------------------------------------ */
.sidebar .sidebar-menu {
    height: calc(100% - 140px);
    /* Calcula a altura disponÃ­vel, subtraindo o logo e o rodapÃ© */
    overflow-y: auto;
    /* Adiciona a barra de rolagem vertical APENAS quando necessÃ¡rio */
    overflow-x: hidden;
    /* Garante que nÃ£o haja rolagem horizontal */
}

/* EstilizaÃ§Ã£o opcional da barra de rolagem (para navegadores WebKit como Chrome/Safari) */
.sidebar .sidebar-menu::-webkit-scrollbar {
    width: 6px;
}

.sidebar .sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar .sidebar-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.sidebar .sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* ------------------------------------------------------ */
/* Ponto 3: Adicionar divisor abaixo do logo              */
/* ------------------------------------------------------ */
.sidebar .sidebar-logo {
    padding-bottom: 15px;
    /* Aumenta o espaÃ§o inferior para o divisor */
    margin-bottom: 10px;
    /* Adiciona margem para separar do primeiro item */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Linha divisÃ³ria sutil */
    position: relative;
    /* NecessÃ¡rio para o posicionamento do divisor */
}


/* ------------------------------------------------------ */
/* Ponto 4: Diminuir o "gap" (recuo) Ã  esquerda          */
/* ------------------------------------------------------ */
/* SUBSTITUA ESTAS REGRAS NO SEU ARQUIVO CSS PRINCIPAL */

/* 1. Reduz o recuo (padding) esquerdo de todos os itens do menu */
.sidebar .menu-item a {
    /* O padding Ã© no formato: topo/fundo | esquerda/direita */
    padding: 8px 15px;
    /* Reduzimos de 10px para 8px no topo e fundo */
}

/* 2. Reduz o espaÃ§amento em torno dos tÃ­tulos de seÃ§Ã£o */
.sidebar .menu-section-title {
    /* O padding Ã© no formato: topo | esquerda/direita | fundo */
    padding: 15px 15px 4px 15px;
    /* Reduzimos o topo e o fundo */
}

.sidebar .menu-item a i {
    min-width: 35px;
    /* Valor anterior era 40px ou 45px */
    font-size: 20px;
    /* Opcional: Leve ajuste no tamanho do Ã­cone para harmonia */
}

/* 4. Ajuste para a sidebar fechada (recolhida) */
/* Garante que o Ã­cone permaneÃ§a centralizado quando a sidebar estÃ¡ fechada */
.sidebar.close .menu-item a i {
    min-width: 68px;
    /* MantÃ©m o Ã­cone centralizado no modo 'close' */
}
/* ====================================================== */
/*      NOVAS CORES E UTILITÁRIOS (SaaS Grid)             */
/* ====================================================== */

/* Indigo */
.bg-indigo-light { background-color: #e0e7ff; }
.text-indigo { color: #4338ca; }

/* Teal */
.bg-teal-light { background-color: #ccfbf1; }
.text-teal { color: #0f766e; }

/* Purple */
.bg-purple-light { background-color: #f3e8ff; }
.text-purple { color: #7e22ce; }

/* Blue */
.bg-blue-light { background-color: #dbeafe; }

/* Green */
.bg-green-light { background-color: #dcfce7; }

/* Orange */
.bg-orange-light { background-color: #ffedd5; }
.text-orange { color: #c2410c; }

/* Red */
.bg-red-light { background-color: #fee2e2; }

/* Cyan */
.bg-cyan-light { background-color: #cffafe; }

/* Hover Effect for App Cards */
.app-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.icon-square {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}


/* Pink */
.bg-pink-light { background-color: #fce7f3; }
.text-pink { color: #be185d; }

/* Yellow */
.bg-yellow-light { background-color: #fef3c7; }
.text-yellow { color: #b45309; }

/* Proteção de visibilidade antes do carregamento da sessão */
body.auth-protected {
    visibility: hidden !important;
    background-color: #ffffff !important;
}
