:root {
    --primary: #142850;
    --secondary: #CFAF70;
    --light: #FFFFFF;
    --dark: #0f1d33;
    --muted: #6c7a93;
    --font-main: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--light);
    color: var(--primary);
    padding-top: 86px;
}

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

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

section {
    scroll-margin-top: 110px;
}

.page-content > section:not(:last-child) {
    margin-bottom: 3rem;
}

.pt-nav {
    padding-top: 1rem;
}

.page-content {
    padding-bottom: 4rem;
}

.navbar {
    background-color: var(--primary) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

.navbar .navbar-brand {
    color: var(--light) !important;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary);
    font-size: 1.2rem;
}

.brand-title span {
    color: var(--secondary);
}

.navbar-slogan {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.navbar .nav-link {
    color: var(--light) !important;
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.2s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after,
.navbar .nav-link.active::after {
    width: 100%;
}

.navbar .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--light);
}

.navbar .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-warning {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-warning:hover {
    background-color: #e0b96b;
    border-color: #e0b96b;
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.5rem rgba(207, 175, 112, 0.35);
}

.btn-outline-light {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.25rem rgba(20, 40, 80, 0.25);
}

.hero {
    background: linear-gradient(180deg, var(--primary) 0%, #0f1d33 100%);
    position: relative;
    box-shadow: 0 1.5rem 3rem rgba(20, 40, 80, 0.25);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(207, 175, 112, 0.35), transparent 55%);
    opacity: 0.85;
}

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

.hero .btn-lg {
    min-width: 220px;
}

.hero-accent {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-heading h2 {
    font-size: 2.1rem;
    color: var(--primary);
}

.section-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background-color: rgba(20, 40, 80, 0.08);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

.step-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 0.5rem 1.5rem rgba(20, 40, 80, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.25rem 2.5rem rgba(20, 40, 80, 0.12);
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(207, 175, 112, 0.2);
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.1rem;
}

.step-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.feature-card {
    border: none;
    border-radius: 16px;
    background-color: var(--light);
    box-shadow: 0 0.75rem 1.5rem rgba(20, 40, 80, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.25rem 2.5rem rgba(20, 40, 80, 0.12);
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(20, 40, 80, 0.08);
    color: var(--primary);
    font-size: 1.5rem;
}

.security-section {
    color: var(--primary);
}

.contact-section {
    background: linear-gradient(160deg, #0f1d33 0%, #061326 100%);
    border-radius: 24px;
    box-shadow: 0 1.5rem 3rem rgba(6, 19, 38, 0.35);
    color: var(--light);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
}

.contact-form .form-label {
    color: rgba(255, 255, 255, 0.85);
}

.contact-form .form-control {
    background-color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--primary);
}

.contact-form .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(207, 175, 112, 0.25);
}

.footer {
    background-color: var(--primary);
    color: var(--light);
    padding: 2.5rem 0;
    border-top: 3px solid var(--secondary);
    text-align: center;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(207, 175, 112, 0.7), transparent);
    margin-bottom: 1.5rem;
}

.footer-contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-contact .divider {
    color: rgba(255, 255, 255, 0.4);
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.timeline-step .step-number {
    background: #0d6efd;
    color: #fff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.timeline-step p {
    color: #5a5f66;
    text-align: center;
}

.dashboard-table th {
    background-color: #f1f3f5;
    font-weight: 600;
}

.badge-status {
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.badge-status[data-status="aguardando_upload"] {
    background-color: #fff3cd;
    color: #856404;
}

.badge-status[data-status="em_analise"] {
    background-color: #cfe2ff;
    color: #084298;
}

.badge-status[data-status="concluido"] {
    background-color: #d1e7dd;
    color: #0f5132;
}

.report-pill {
    background: linear-gradient(135deg, #0d6efd, #3350ff);
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 0.75rem 2rem rgba(13, 110, 253, 0.25);
}

.report-metric-card {
    background: linear-gradient(135deg, #f8f9ff, #eef3ff);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(13, 110, 253, 0.08);
    box-shadow: 0 1.5rem 3rem rgba(15, 15, 15, 0.05);
}

.report-metric-card code.report-hash {
    display: block;
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    word-break: break-all;
    font-size: 0.85rem;
    color: #0d6efd;
}

.report-quesitos {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.report-quesito-item {
    display: flex;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: #f8f9fb;
    border: 1px solid rgba(33, 37, 41, 0.05);
}

.report-quesito-number {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.15);
    color: #0d6efd;
    font-weight: 600;
    font-size: 0.85rem;
}

.report-file-card {
    background: #fff;
    border-radius: 1.1rem;
    padding: 1.25rem;
    border: 1px solid rgba(13, 110, 253, 0.08);
    box-shadow: 0 1.25rem 2.5rem rgba(15, 15, 15, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.report-file-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.6rem 3.2rem rgba(15, 15, 15, 0.12);
}

.report-file-card-primary {
    border-color: rgba(25, 135, 84, 0.45);
    box-shadow: 0 1.6rem 3.2rem rgba(25, 135, 84, 0.2);
    background: linear-gradient(135deg, rgba(220, 248, 232, 0.92), #fff);
}

.report-file-primary-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: #198754;
    color: #fff;
    box-shadow: 0 0.5rem 1.2rem rgba(25, 135, 84, 0.25);
    margin-bottom: 0.75rem;
}

.report-file-primary-icon {
    font-size: 0.9rem;
    line-height: 1;
}

.report-file-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 76px;
    }

    .navbar .btn-link {
        display: none !important;
    }

    .navbar .nav-link::after {
        display: none;
    }

    .hero {
        border-radius: 20px;
    }
}

@media (max-width: 575.98px) {
    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .hero .btn-lg {
        min-width: 100%;
    }

    .contact-section {
        border-radius: 18px;
        padding: 3rem 1.25rem;
    }
}
