﻿/* ==========================================================================
   CARROSSEL EXECUTIVO DE AMBIENTE / IMERSÃO PARA CURSOS NATIVOS CODEMAR
   ========================================================================== */

.native-hero-carousel {
    position: relative;
    width: 100%;
    min-height: 290px;
    background: linear-gradient(135deg, #091a28 0%, #0d2f44 50%, #082133 100%);
    border-radius: 20px;
    overflow: hidden;
    margin: 1.5rem auto 1.75rem;
    max-width: 1080px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 0 25px rgba(13, 138, 188, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.native-hero-carousel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(13, 138, 188, 0.25) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.18) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.native-hero-slides-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.native-hero-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 2.2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.native-slide-content {
    flex: 1;
    max-width: 620px;
}

.native-slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.85rem;
    color: #e2e8f0;
}

.native-slide-eyebrow i {
    color: #38bdf8;
}

.native-slide-title {
    font-size: 1.85rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.65rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.native-slide-title .highlight {
    background: linear-gradient(135deg, #38bdf8, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.native-slide-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.35rem;
}

.native-slide-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-native-hero-primary {
    background: linear-gradient(135deg, #0D8ABC, #10b981);
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(13, 138, 188, 0.4);
    transition: all 0.25s ease;
    font-family: inherit;
}

.btn-native-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 138, 188, 0.55);
    color: #ffffff;
}

.btn-native-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.25s ease;
    font-family: inherit;
}

.btn-native-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

.native-slide-sidepanel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
}

.native-glass-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.25s ease;
}

.native-glass-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
}

.native-glass-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
}

.native-glass-value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
}

.native-glass-sub {
    font-size: 0.75rem;
    color: #cbd5e1;
}

.native-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}

.native-carousel-btn:hover {
    background: rgba(13, 138, 188, 0.85);
    border-color: #38bdf8;
    transform: translateY(-50%) scale(1.08);
}

.native-carousel-prev {
    left: 14px;
}

.native-carousel-next {
    right: 14px;
}

.native-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.native-carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
}

.native-carousel-dot.active {
    width: 26px;
    border-radius: 8px;
    background: linear-gradient(90deg, #38bdf8, #34d399);
}

@media (max-width: 860px) {
    .native-hero-carousel {
        border-radius: 16px;
        margin: 1rem 0.5rem;
    }
    .native-hero-slide {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem 1.25rem 2.2rem;
        gap: 1.25rem;
    }
    .native-slide-sidepanel {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .native-glass-card {
        flex: 1;
        min-width: 140px;
    }
    .native-carousel-btn {
        display: none;
    }
}
