/* Carrossel Responsivo - Snippet */
.carousel-responsivo {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.carousel-responsivo__title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--enap-primary-color, #1976d2);
}

.carousel-responsivo__container {
    position: relative;
    width: 100%;
    height: var(--carousel-height-mobile);
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .carousel-responsivo__container {
        height: var(--carousel-height-desktop);
    }
}

.carousel-responsivo__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-responsivo__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
}

.carousel-responsivo__slide[data-active="true"] {
    opacity: 1;
}

.carousel-responsivo__picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-responsivo__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-responsivo__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 2;
}

.carousel-responsivo__content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 2rem 0;
}

.carousel-responsivo__text-wrapper {
    max-width: 600px;
    color: white;
}

.carousel-responsivo__slide--left .carousel-responsivo__text-wrapper {
    margin-left: 0;
    text-align: left;
}

.carousel-responsivo__slide--center .carousel-responsivo__text-wrapper {
    margin: 0 auto;
    text-align: center;
}

.carousel-responsivo__slide--right .carousel-responsivo__text-wrapper {
    margin-left: auto;
    text-align: right;
}

.carousel-responsivo__slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .carousel-responsivo__slide-title {
        font-size: 2.5rem;
    }
}

.carousel-responsivo__slide-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .carousel-responsivo__slide-subtitle {
        font-size: 1.25rem;
    }
}

.carousel-responsivo__slide-text {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .carousel-responsivo__slide-text {
        font-size: 1rem;
    }
}

.carousel-responsivo__slide-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--enap-primary-color, #1976d2);
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-responsivo__slide-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-responsivo__slide-button-icon {
    transition: transform 0.3s ease;
}

.carousel-responsivo__slide-button:hover .carousel-responsivo__slide-button-icon {
    transform: translateX(4px);
}

/* Navegação */
.carousel-responsivo__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--enap-primary-color, #1976d2);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.carousel-responsivo__nav:hover,
.carousel-responsivo__nav:focus {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    outline: 2px solid var(--enap-primary-color, #1976d2);
    outline-offset: 2px;
}

.carousel-responsivo__nav--prev {
    left: 1rem;
}

.carousel-responsivo__nav--next {
    right: 1rem;
}

/* Indicadores */
.carousel-responsivo__indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 4;
}

.carousel-responsivo__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-responsivo__indicator[aria-selected="true"] {
    background: white;
    border-color: white;
}

.carousel-responsivo__indicator:hover,
.carousel-responsivo__indicator:focus {
    border-color: white;
    transform: scale(1.2);
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Wrapper Styles - MANTÉM TODAS */
.carousel-wrapper {
    width: 100%;
}

.carousel-wrapper--margin-top-none {
    margin-top: 0;
}

.carousel-wrapper--margin-top-small {
    margin-top: 1rem;
}

.carousel-wrapper--margin-top-medium {
    margin-top: 2rem;
}

.carousel-wrapper--margin-top-large {
    margin-top: 4rem;
}

.carousel-wrapper--margin-bottom-none {
    margin-bottom: 0;
}

.carousel-wrapper--margin-bottom-small {
    margin-bottom: 1rem;
}

.carousel-wrapper--margin-bottom-medium {
    margin-bottom: 2rem;
}

.carousel-wrapper--margin-bottom-large {
    margin-bottom: 4rem;
}

.carousel-wrapper--max-width {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .carousel-wrapper--max-width {
        padding: 0 2rem;
    }
}

.carousel-wrapper--max-width .carousel-responsivo__container {
    border-radius: 0.75rem;
}

/* Utilitários */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}




.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Layout do hero slideshow */
.hero-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slideshow-container {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

.hero-slide.slide-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.hero-content-center {
    text-align: center;
}

.hero-content-left {
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    max-width: 50%;
}

.hero-slide-heading {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-slide-text {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-grafismo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* Navegação */
.hero-slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 3;
}

.hero-nav-btn {
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Melhorias de foco para navegação */
.hero-nav-btn:focus,
.hero-indicator:focus {
    outline: 2px solid var(--enap-primary-color, #1976d2);
    outline-offset: 2px;
}

.hero-nav-btn:hover,
.hero-indicator:hover {
    opacity: 0.8;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Indicadores */
.hero-slideshow-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

/* Indicadores com melhor visibilidade */
.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.indicator-active,
.hero-indicator[aria-selected="true"] {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-slideshow-container {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-slide-heading {
        font-size: 1.8rem;
    }
    
    .hero-slide-text {
        font-size: 1rem;
    }
    
    .hero-content-left {
        max-width: 80%;
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}