/* 1. VARIÁVEIS E CONFIGURAÇÕES GERAIS */
:root {
    --bg-main: #f4f7f9;
    --navy-blue: #0d1b2a; /* Cor da sidebar e fundo dark */
    --primary-action: #0d6efd; /* Azul principal */
    --text-dark: #2c3e50;
    --text-muted: #64748b;
    --border-color: #e3eaf0;
    --white: #ffffff;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

/* 2. NAVEGAÇÃO E BOTOES */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--navy-blue);
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-action);
    border-radius: 4px;
}

.btn-primary-custom {
    background-color: var(--primary-action);
    color: var(--white);
    border: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-primary-custom:hover {
    background-color: #0b5ed7;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
    color: var(--white);
}

/* 3. SEÇÕES PRINCIPAIS */
.hero-section {
    padding: 80px 0;
}

.bg-soft-primary {
    background-color: rgba(13, 110, 253, 0.1);
}

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

/* 4. CARDS DE MÉTRICAS (UNIFORMIZADOS) */
.metric-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    height: 100%;
}

.metric-card h2 {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.metric-line {
    height: 4px;
    width: 100%;
    border-radius: 2px;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* 5. SEÇÃO DE ENGENHARIA (DARK MODE) */
.bg-dark-deep {
    background-color: var(--navy-blue);
}

#security .row {
    gap: 16px 0;
}

.eng-card {
    background: #142539; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    border-radius: 12px;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Linha superior decorativa nos cards de engenharia */
.eng-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-action);
    opacity: 0.7;
}

.eng-card i {
    background: rgba(13, 110, 253, 0.15);
    padding: 14px;
    border-radius: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.eng-card h5 {
    color: var(--white);
    margin-top: 12px;
    font-weight: 600;
}

.eng-card p {
    color: rgba(255, 255, 255, 0.65);
}

.eng-card:hover {
    transform: translateY(-6px);
    border-color: rgba(13, 110, 253, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    background: #1a2d44;
}

.eng-card:hover i {
    transform: scale(1.1);
}

/* 6. IMAGENS E MOCKUPS */
.browser-mockup {
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border-color);
}

.browser-header {
    background: #e3eaf0;
    padding: 10px;
    display: flex;
    gap: 6px;
}

.dot { height: 8px; width: 8px; border-radius: 50%; display: inline-block; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.img-clean-capture {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease;
}

.img-clean-capture:hover {
    transform: scale(1.01);
}

/* 7. FOOTER E EXTRAS */
footer {
    background-color: var(--white) !important;
}

.feature-box {
    padding: 30px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.feature-box:hover {
    border-color: var(--primary-action);
    background: #fdfdfd;
}
.diagram-shadow {
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.diagram-shadow:hover {
    transform: scale(1.02);
}
/* Efeito de elevação para o diagrama */
.diagram-shadow {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    border: 1px solid var(--border-color);
}

.diagram-shadow:hover {
    transform: scale(1.02);
}

/* Ajuste de espaçamento para as etapas do "Como funciona" */
.col-lg-6 .mb-4 h6 {
    color: var(--navy-blue);
    position: relative;
    padding-left: 0;
}

/* Garante que o texto em colunas longas não fique muito disperso */
.text-muted.small {
    line-height: 1.5;
}

/* Ajuste para o Footer e Seção Infra Cloud */
.bg-light.border-top {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}