/* Variables */
:root {
    --gefipe-blue: #0066CC;
    --gefipe-dark-blue: #004C99;
    --gefipe-light-blue: #3399FF;
    --gefipe-success: #28a745;
    --gefipe-warning: #ffc107;
    --gefipe-danger: #dc3545;
}

[id] {
    scroll-margin-top: 75px;
}

img {
    border-radius: 5px;
}

/* Base styles */
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header and Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: white;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.nav-link.active {
    color: var(--gefipe-blue) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gefipe-blue), var(--gefipe-light-blue));
    color: white;
    padding: 4rem 0 0 0;
}

.hero .breadcrumb {
    background: transparent;
}

.hero .breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.hero .breadcrumb-item.active {
    color: rgba(255,255,255,0.8);
}

.hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.8);
}

/* Cards */
.feature-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.feature-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card .card-title {
    color: var(--gefipe-blue);
    margin-bottom: 1.5rem;
}

.feature-card .btn {
    margin-top: auto; /* Move o botão para o fundo do card */
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--gefipe-blue);
    border-color: var(--gefipe-blue);
    color: white;
}

/* Process Steps */
.process-steps .step {
    padding: 1.5rem;
    border-left: 3px solid var(--gefipe-blue);
    margin-left: 1rem;
    margin-bottom: 2rem;
}

.process-steps .step:last-child {
    border-left: 3px solid transparent;
}

.process-steps .step h4 {
    color: var(--gefipe-blue);
    margin-bottom: 1rem;
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-info {
    background-color: rgba(0,102,204,0.1);
    border-left: 4px solid var(--gefipe-blue);
}

.alert-warning {
    background-color: rgba(255,193,7,0.1);
    border-left: 4px solid var(--gefipe-warning);
}

.alert h4 {
    color: inherit;
    margin-bottom: 1rem;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li i {
    position: absolute;
    left: 0;
    top: 4px;
}

/* Code blocks */
pre {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

/* Back to top button */
#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    background: var(--gefipe-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 1000;
}

#back-to-top:hover {
    background: var(--gefipe-dark-blue);
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 0 0;
    }
    
    .progress-steps {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step {
        margin-bottom: 1.5rem;
    }
}