/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* Modal Styles */
.modal {
    transition: opacity 0.3s ease;
}

.modal-container {
    pointer-events: none;
}

.modal-content {
    pointer-events: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
    justify-content: center;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.container {
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr !important;
    }

    .step-card {
        margin-bottom: 1.5rem;
    }

    .step-card:last-child {
        margin-bottom: 0;
    }
}

/* Accessibility focus styles */
button:focus,
[role="button"]:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero {
    animation: fadeIn 0.8s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Button focus state */
#ctaButton:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* Section spacing */
section {
    padding: 5rem 0;
}

/* Card hover effect */
.benefit-card:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

.indis {
    background-color: #374151 !important;
}

.indis:hover {
    background-color: #475264 !important;
}

.modalMsg {
    display: none;
    /* escondido por padrão */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content-msg {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 300px;
    max-height: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#closeModalMsg {
    margin-top: 10px;
    padding: 6px 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#closeModalMsg:hover {
    background: #0056b3;
}

@media (max-width: 500px) {
    #nav-itens {
        position: absolute;
        width: 100%;
        height: auto;
        left: 0;
        top: 75px;
        background-color: rgb(223, 223, 223);
        padding: 3px;
        transition: .21s ease-in-out all;
        z-index: 10;
    }

    #nav-itens ul {
        display: flex;
        flex-direction: column;
    }

    #nav-itens li {

        margin: 1px 0;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.1);
    }

    #nav-itens li:hover {
        cursor: pointer;
        background-color: rgba(0, 0, 0, 0.2);
    }

    #modalContent {
        height: 100% !important;
        overflow-y: auto !important;
    }

    .modal-content {
        height: 100% !important;
        overflow-y: auto !important;
    }

}

@media (max-width: 290px) {
    .title-span {
        word-break: normal;
    }
}