/* Services Section */
.services {
    background: #f3f4f6;
    padding: 80px 0;
}

/* ADICIONE ESTA LINHA PARA AJUSTAR O SCROLL */
#services {
    scroll-margin-top: 50px;
}

.services .section-header {
    text-align: left;
    margin-bottom: 40px;
    max-width: 800px;
}

.services .section-subtitle {
    color: #000000;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.services .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    font-weight: 700;
}

.services .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 40px;
    width: 70px;
    height: 3px;
    background: #72939c;
}

.services .section-header p {
    font-size: 1.1rem;
    color: #34495e;
    margin-top: 30px;
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Services Content - Left Side */
.services-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: -20px;
}

.service-progress {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #72939c;
    transition: all 0.3s ease;
}

.service-progress:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-header span:first-child {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ÍCONES NO LUGAR DO 100% */
.progress-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-check {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(44%) sepia(15%) saturate(800%) hue-rotate(150deg) brightness(90%) contrast(85%);
}

.icon-bus {
    width: 35px;
    height: 35px;
}

.icon-driver {
    width: 30px;
    height: 30px;
}

.icon-suitcase {
    width: 28px;
    height: 28px;
}

/* Remove o estilo antigo do percentage */
.progress-percentage {
    display: none;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: #72939c;
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

.progress-description {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Services Image - Right Side */
.services-image {
    position: relative;
    height: 470px;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin-top: -23px;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.services-image:hover img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #151c23;
    padding: 2px;
    /* CORRIGIDO: era 2px, agora 20px */
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    max-width: 220px;
    text-align: center;
    z-index: 10;
    border: 2px solid #151c23;
}

.floating-card i {
    font-size: 2.2rem;
    color: #72939c;
    margin-bottom: 15px;
}

.floating-card h5 {
    font-size: 0.8rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.3;
}

.floating-card p {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-image {
        height: 350px;
        order: -1;
        overflow: visible;
    }

    .services .section-header h2 {
        font-size: 2.2rem;
    }

    .floating-card {
        bottom: -30px;
        max-width: 250px;
        padding: 20px;
    }

    .services-content {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 50px 0;
    }

    .services .section-header {
        text-align: center;
    }

    .services .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .services .section-header h2 {
        font-size: 2rem;
    }

    .services .section-header p {
        font-size: 1rem;
    }

    .service-progress {
        padding: 20px;
    }

    .progress-header span:first-child {
        font-size: 1.1rem;
    }

    .floating-card {
        bottom: -25px;
        max-width: 220px;
        padding: 18px;
    }

    .floating-card h5 {
        font-size: 0.95rem;
    }

    .services-content {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 40px 0;
    }

    .services .section-header h2 {
        font-size: 1.6rem;
    }

    .services .section-header p {
        font-size: 0.95rem;
        margin-top: 25px;
    }

    .service-progress {
        padding: 18px;
    }

    .progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .progress-header span:first-child {
        font-size: 1rem;
    }

    .services-content {
        gap: 25px;
        margin-top: 0;
    }

    .services-image {
        height: 250px;
    }

    .icon-check {
        width: 25px;
        height: 25px;
    }

    .floating-card {
        bottom: -20px;
        max-width: 200px;
        padding: 15px;
    }

    .floating-card i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .floating-card h5 {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .floating-card p {
        font-size: 0.85rem;
    }
}

/* Animation for progress bars */
.progress-fill.animated {
    width: 100%;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-progress {
    animation: fadeInUp 0.6s ease-out;
}

.service-progress:nth-child(2) {
    animation-delay: 0.2s;
}

.service-progress:nth-child(3) {
    animation-delay: 0.4s;
}