/* Estilização do Carrossel */
.enap-carousel-container {
    background-color: #02333A;
    color: white;
    padding: 60px 20px; 
    position: relative;
}

.enap-carousel-inner {
    overflow: hidden;
    max-width: 1142px;
    margin: 0 auto; 
}

.enap-carousel-header {
    margin-bottom: 40px;
    max-width: 700px;
}

.enap-carousel-header p {
    color: white;
}

.enap-carousel-title{
    color: white;
}

.enap-carousel-title p {
    font-size: 32px;
    margin-bottom: 10px;
    line-height: 120%;
    color: white;
}

.enap-carousel-subtitle p{
    font-size: 16px;
    margin-top: 0;
    color: white;
}

.enap-carousel-subtitle{
    color: white;
}

.enap-carousel-content {
    position: relative;
    overflow: hidden;
}

.enap-carousel-wrapper {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}

.enap-carousel-card {
    flex: 0 0 25%;
    width: 25%;
    padding: 0 10px;
    box-sizing: border-box;
}

.enap-carousel-card-inner {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.enap-carousel-card-content {
    padding: 15px;
    display: grid;
    grid-template-rows: 140px 1fr;
    height: 100%;
}

.enap-carousel-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
}

.enap-carousel-image-placeholder {
    width: 100%;
    height: 140px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.enap-carousel-text-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.enap-carousel-card-title {
    line-height: 120%;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 15px 0 10px;
    color: #434A54;
}

.enap-carousel-card-description {
    font-size: 0.95rem;
    color: #434A54;
    margin-bottom: 20px;
}

.enap-carousel-card-link {
    color: #007D7A;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease;
}

.enap-carousel-card-link:hover {
    color: #005d5a;
}

.enap-carousel-card-link-icon {
    margin-left: 5px;
}

.enap-carousel-prev-btn,
.enap-carousel-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enap-carousel-prev-btn {
    left: 140px;
}

.enap-carousel-next-btn {
    right: 140px;
}

.enap-carousel-btn-image {
    width: 40px;
    height: 40px;
}

.enap-carousel-indicators {
    display: none;
    justify-content: center;
    margin-top: 20px;
}

.enap-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.enap-carousel-indicator.active {
    background-color: white;
}

.enap-carousel-indicator:not(.active) {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Estilização para cards de demonstração */
.enap-carousel-demo-image {
    width: 100%;
    height: 200px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.enap-carousel-demo-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 15px 0 10px;
    color: #333;
}

.enap-carousel-demo-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #555;
}

.enap-carousel-demo-link {
    color: #0B8457;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease;
}

.enap-carousel-demo-link:hover {
    color: #086b42;
}
@media (max-width: 991px) {
    .enap-carousel-container {
        padding: 40px 15px;
    }
    
    .enap-carousel-title p {
        font-size: 34px;
    }
    
    .enap-carousel-subtitle p{
        font-size: 15px;
    }
    
    .enap-carousel-card {
        flex: 0 0 50%;
        width: 50%;
        padding: 0 8px;
    }
    
    .enap-carousel-text-container {
        padding: 18px;
    }
    
    .enap-carousel-card-title {
        font-size: 1.1rem;
    }
    
    .enap-carousel-card-description {
        font-size: 0.9rem;
    }
    
    .enap-carousel-prev-btn,
    .enap-carousel-next-btn {
        width: 45px;
        height: 45px;
    }
    
    .enap-carousel-prev-btn {
        left: 0;
    }
    
    .enap-carousel-next-btn {
        right: 0;
    }
}

/* Mobile (481px-767px) */
@media (max-width: 767px) {
    .enap-carousel-container {
        padding: 30px 10px;
    }
    
    .enap-carousel-header {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .enap-carousel-title p{
        font-size: 32px;
        line-height: 1.3;
    }
    
    .enap-carousel-subtitle p{
        font-size: 14px;
    }
    
    .enap-carousel-card {
        flex: 0 0 100%;
        width: 100%;
        padding: 0 5px;
    }
    
    .enap-carousel-card-inner {
        max-width: 400px;
        margin: 0 auto;
        border-radius: 16px;
    }
    
    .enap-carousel-image,
    .enap-carousel-image-placeholder {
        height: 180px;
        border-radius: 16px;
    }
    
    .enap-carousel-text-container {
        padding: 20px 0;
    }
    
    .enap-carousel-card-title {
        font-size: 1.25rem;
    }
    
    .enap-carousel-card-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .enap-carousel-card-link {
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* Mostra indicadores e oculta botões */
    .enap-carousel-indicators {
        display: flex;
    }
    
    .enap-carousel-prev-btn,
    .enap-carousel-next-btn {
        display: flex;
    }

    .enap-carousel-btn-image {
        display: flex;
    }
}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    .enap-carousel-container {
        padding: 25px 8px;
    }
    
    .enap-carousel-title p{
        font-size: 30px;
    }
    
    .enap-carousel-subtitle p{
        font-size: 13px;
    }
    
    .enap-carousel-card-inner {
        max-width: 330px;
        border-radius: 14px;
    }
    
    .enap-carousel-image,
    .enap-carousel-image-placeholder {
        height: 160px;
        border-radius: 14px;
    }
    
    .enap-carousel-text-container {
        padding: 16px 0;
    }
    
    .enap-carousel-card-title {
        font-size: 1.1rem;
    }
    
    .enap-carousel-card-description {
        font-size: 0.9rem;
    }
    
    .enap-carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Suporte para touch/swipe */
@media (max-width: 767px) {
    .enap-carousel-wrapper {
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }
    
    .enap-carousel-content {
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
    }
}