:root {
    /* --- Paleta de Cores --- */
    --color-bg-light:         #f0f4f5;
    --color-bg-white:         #ffffff;
    --color-border:           #e0e0e0;
    --color-primary:          #1566B0;
    --color-primary-dark:     #083D77;
    --color-secondary:        #CCCCCC;
    --color-tertiary:         #07BEB8;
    --color-green:            #28a745;
    --color-text-dark:        #454545;
    --color-text-light:       #808080;

    /* --- Compatibilidade e Cores Adicionais --- */
    --color-primary-blue:     var(--color-primary);
    --color-accent-green:     var(--color-green);
    --color-secondary-orange: #ff6600;

    /* --- Cores de Elementos UI --- */
    --color-btn-light-bg:     #f8f9fa;
    --color-btn-light-hover:  #e2e6ea;
    --color-btn-border-hover: #d3d9df;
    --color-submenu-hover:    #f0f4f8;
    --color-play-btn:         #ff0000;
    --color-play-btn-hover:   #cc0000;
    --color-facebook:         #3b5998;
    --color-youtube:          #ff0000;

    /* --- Tipografia --- */
    --font-primary: 'Montserrat', sans-serif;

    /* --- Espaçamentos --- */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: var(--color-text-dark);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
li,
dt,
dd,
th,
td {
    color: var(--color-text-dark);
}

/* REUSABLE - SECTION HEADERS =====================================*/
.section-header {
    .subtitle {
        color: var(--color-primary-dark);
        font-size: 0.95rem;
        font-weight: 700;
    }

    .divider {
        background-color: var(--color-tertiary);
        border-radius: 2px;
        height: 4px;
        margin-top: 1rem;
        width: 60px;
    }
}

.section-title {
    color: var(--color-primary-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* REUSABLE - BUTTONS =========================================== */
.btn-inscreva-se {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;

    &:hover {
        background-color: var(--color-primary-dark);
        color: var(--color-bg-white);
        transform: translateY(-2px);
    }
}

.btn-consultor {
    background-color: var(--color-btn-light-bg);
    color: var(--color-text-dark);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;

    &:hover {
        background-color: var(--color-btn-light-hover);
        color: var(--color-text-dark);
        border-color: var(--color-btn-border-hover);
    }
}

.btn-enroll,
.btn-interest {
    background-color: var(--color-primary);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--color-bg-white);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;

    &:hover {
        background-color: var(--color-primary);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        color: var(--color-bg-white);
        transform: translateY(-2px);
    }
}

.btn-ver-cursos {
    align-items: center;
    background: var(--color-primary);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 51, 102, 0.2);
    color: var(--color-bg-white);
    cursor: pointer;
    display: flex;
    font-size: 0.9rem;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;

    &:hover {
        background: var(--color-primary-dark);
        box-shadow: 0 6px 12px rgba(0, 51, 102, 0.3);
        transform: translateY(-2px);
    }

    a {
        color: var(--color-bg-white);
        text-decoration: none;
    }
}

.btn-clear-filters {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    box-shadow: none;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;

    &:hover {
        background: var(--color-bg-white);
        box-shadow: 0 6px 12px rgba(0, 51, 102, 0.3);
        transform: translateY(-2px);
    }
}

.btn-filters-course {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    box-shadow: none;
    color: var(--color-bg-white);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;

    &:hover {
        background: var(--color-primary-dark);
        box-shadow: 0 6px 12px rgba(0, 51, 102, 0.3);
        transform: translateY(-2px);
    }
}

.btn-info-senai-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;

    &:hover {
        background-color: var(--color-primary-dark);
        color: var(--color-bg-white);
        transform: translateY(-2px);
    }
}

.btn-info-senai-secondary {
    background-color: var(--color-btn-light-bg);
    color: var(--color-text-dark);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;

    &:hover {
        background-color: var(--color-btn-light-hover);
        color: var(--color-text-dark);
        border-color: var(--color-btn-border-hover);
    }
}

/* REUSABLE - SLIDERS ==========================================*/
.courses-slider-wrapper,
.testimonials-slider-wrapper,
.banner-slider-wrapper {
    overflow: visible;
    padding: 0 3rem;
    position: relative;
}

.slider-nav {
    align-items: center;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    color: var(--color-bg-white);
    cursor: pointer;
    display: flex;
    height: 40px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
    width: 40px;
    z-index: 10;

    &:hover {
        background: var(--color-primary-dark);
    }

    &.slider-next {
        right: 0;
    }

    &.slider-prev {
        left: 0;
    }

    &[style*="pointer-events: none"] {
        background: var(--color-text-light);
        cursor: not-allowed;
        opacity: 0.3;
    }
}

/* REUSABLE - ALERTS ========================================== */
.alert-message {
    background-color: color-mix(in srgb, var(--color-primary), transparent 85%);
    border-radius: 8px;
    color: var(--color-primary-dark);
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    padding: 0.5rem 1.5rem;
}

/* HEADER & NAVIGATION ======================================= */
.header-main {
    background: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;

    .hamburger {
        background: none;
        border: none;
        color: var(--color-primary-dark);
        cursor: pointer;
        font-size: 1.5rem;
    }

    .header-actions {
        .fa-bars:before,
        .fa-heart:before,
        .fa-shopping-cart:before {
            color: var(--color-primary);
        }
    }

    #header-site-badge {
        i {
            margin-right: 3px;
        }
    }

    #header-user-badge {
        background-color: color-mix(in srgb, var(--color-primary), transparent 92%);
        border: 1px solid color-mix(in srgb, var(--color-primary), transparent 75%);
        border-radius: 8px;
        color: var(--color-bg-white) !important;
        cursor: pointer;

        i {
            margin-right: 3px;
        }

        #header-user-name {
            color: var(--color-bg-white) !important;
            font-weight: 700;
        }

        .user-greeting {
            font-size: 0.85rem;
            padding-bottom: 3px;
        }

        .user-info {
            font-size: 0.85rem;
        }
    }

    .header-top {
        background: var(--color-bg-white);
    }

    .logo img {
        display: block;
        height: auto;
        max-width: 200px;
    }

    .navbar-main {
        background: transparent;

        .nav-list {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            list-style: none;
            margin: 0;
            padding: 0;

            li {
                position: relative;

                a {
                    color: var(--color-text-dark);
                    display: flex;
                    align-items: center;
                    font-size: 0.95rem;
                    font-weight: 600;
                    padding: 0.5rem 0;
                    text-decoration: none;
                    transition: color 0.3s;

                    &:hover {
                        color: var(--color-primary);
                    }
                }

                /* Setinha para menus com subitens (dropdown) */
                &.menu-item-has-children {
                    > a::after {
                        content: "";
                        display: inline-block;
                        margin-left: 0.4rem;
                        vertical-align: middle;
                        border-top: 4px solid;
                        border-right: 4px solid transparent;
                        border-bottom: 0;
                        border-left: 4px solid transparent;
                        transition: transform 0.3s;
                    }

                    /* Rotaciona a setinha quando o dropdown estiver aberto */
                    &:hover > a::after {
                        transform: rotate(180deg);
                    }

                    /* Dropdown sub-menu */
                    &:hover > .sub-menu {
                        display: block;
                    }
                }
            }

            .sub-menu {
                background: var(--color-bg-white);
                border-radius: 8px;
                box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
                display: none;
                left: 50%;
                list-style: none;
                margin: 0;
                min-width: 220px;
                padding: 0.5rem 0;
                position: absolute;
                top: 100%;
                transform: translateX(-50%);
                z-index: 1000;

                li {
                    position: static;

                    a {
                        color: var(--color-text-dark);
                        display: block;
                        font-size: 0.9rem;
                        font-weight: 500;
                        padding: 0.6rem 1.25rem;
                        white-space: nowrap;
                        transition: background 0.2s, color 0.2s;

                        &:hover {
                            background-color: var(--color-submenu-hover);
                            color: var(--color-primary);
                        }
                    }
                }
            }
        }
    }

    .search-bar {
        display: flex !important;
        justify-content: center !important;
        position: relative;

        .btn-outline-secondary {
            border: 2px solid color-mix(in srgb, var(--color-primary-dark), transparent 40%);

            &:hover {
                color: var(--color-primary);
            }
        }

        .form-control {
            border: 2px solid color-mix(in srgb, var(--color-primary-dark), transparent 40%);
            border-radius: 8px 0 0 8px;
            font-size: 0.95rem;
            padding: 0.75rem 1rem;
        }

        .list-group {
            align-items: stretch;
            background-color: var(--color-bg-white);
            border-radius: 0 0 8px 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            display: flex !important;
            flex-direction: column;
            left: 0;
            max-height: 450px;
            overflow-y: auto;
            position: absolute;
            top: 100%;
            width: 100%;
            z-index: 1000;

            .list-group-item-action {
                border-bottom: 1px solid var(--color-border);
                border-left: none;
                border-right: none;
                border-top: none;
                color: var(--color-text-dark);
                display: block;
                padding: 0.75rem 1.25rem;
                text-transform: none !important;
                transition: background 0.2s, color 0.2s;
                width: 100%;

                &:last-child {
                    border-bottom: none;
                }

                &:hover {
                    background-color: color-mix(in srgb, var(--color-primary), transparent 90%) !important;
                    color: var(--color-primary-dark) !important;
                    text-decoration: none;
                }
            }
        }
    }

    .search-form {
        position: relative;
        width: 75% !important;
    }

    .btn-icon {
        background: none;
        border: none;
        color: var(--color-text-dark);
        cursor: pointer;
        font-size: 1.3rem;
        transition: color 0.3s;

        &:hover {
            color: var(--color-primary);
        }
    }
}

/* MOBILE MENU ============================================== */
.mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.45);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9998;

    &.active {
        display: block;
    }
}

.mobile-menu-container {
    background: var(--color-bg-white);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    height: 100%;
    left: -340px;
    overflow-y: auto;
    position: fixed;
    top: 0;
    transition: left 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 320px;
    z-index: 9999;

    &.active {
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.18);
        left: 0;
    }

    .mobile-menu-header {
        align-items: center;
        border-bottom: 1px solid var(--color-border);
        display: flex;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        flex-shrink: 0;

        .mobile-logo {
            display: flex;
            align-items: center;

            img {
                display: block;
                max-height: 36px;
                width: auto;
            }
        }

        #mobile-user-badge {
            background-color: color-mix(in srgb, var(--color-primary), transparent 90%);
            border: 1px solid color-mix(in srgb, var(--color-primary), transparent 75%);
            border-radius: 50px;
            color: var(--color-primary);
            cursor: pointer;
            padding: 0.4rem 1rem 0.4rem 0.6rem;
            width: 80%;

            #mobile-user-name {
                font-size: 0.95rem;
                font-weight: 700;
            }

            .user-greeting {
                font-size: 0.78rem;
                padding-bottom: 3px;
            }

            i {
                font-size: 1rem;
            }
        }

        .btn-close {
            border: none;
            cursor: pointer;
            font-size: 1rem;
            opacity: 0.5;
            transition: opacity 0.2s;

            &:hover {
                opacity: 1;
            }
        }
    }

    .mobile-menu-content {
        flex: 1;
        display: flex;
        flex-direction: column;

        .menu {
            display: flex;
            flex-direction: column;
            gap: 0;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .menu-item {
            border-bottom: 1px solid var(--color-border);

            &:last-child {
                border-bottom: none;
            }

            a {
                color: var(--color-text-dark);
                display: block;
                font-size: 1rem;
                font-weight: 500;
                letter-spacing: 0.01em;
                padding: 1rem 1.75rem;
                text-decoration: none;
                transition: all 0.25s ease;

                &:hover,
                &:focus {
                    background-color: color-mix(in srgb, var(--color-primary), transparent 94%);
                    color: var(--color-primary);
                    padding-left: 2rem;
                }
            }
        }

        /* Botão "Ver todos os cursos" */
        .border-top {
            border-top: none !important;
            margin-top: 0;
            padding: 1rem 1.5rem 1.25rem;
        }
    }

    /* Redes sociais no menu */
    .mobile-menu-social {
        border-top: 1px solid var(--color-border);
        display: flex;
        gap: 1rem;
        justify-content: center;
        padding: 1.25rem 1.5rem;
        flex-shrink: 0;

        a {
            align-items: center;
            border-radius: 50%;
            color: var(--color-text-light);
            display: flex;
            font-size: 1.15rem;
            height: 38px;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            width: 38px;

            &:hover {
                color: var(--color-primary);
                transform: translateY(-2px);
            }
        }
    }
}

/* HERO SECTION ============================================== */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    min-height: 500px;
    overflow: hidden;
    position: relative;

    &::before {
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M0 0 L1000 0 L1000 1000 L200 1000 Z" fill="%23ff6600" opacity="0.8"/></svg>') no-repeat center;
        background-size: cover;
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
        content: '';
        height: 100%;
        position: absolute;
        right: 0;
        top: 0;
        width: 60%;
    }

    .btn-hero {
        background: var(--color-tertiary);
        border-radius: 8px;
        color: var(--color-bg-white);
        display: inline-block;
        font-weight: 600;
        padding: 1rem 2rem;
        text-decoration: none;
        transition: transform 0.3s;

        &:hover {
            transform: translateY(-2px);
        }
    }

    .hero-content {
        padding: 4rem 0;
        position: relative;
        z-index: 1;
    }

    .hero-cta {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        max-width: 400px;
        padding: 1.5rem 2rem;
    }

    .hero-digital {
        color: var(--color-text-light);
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-installment {
        color: var(--color-tertiary);
        font-size: 2.5rem;
        font-weight: 700;
        margin: 0;
    }

    .hero-subtitle {
        color: var(--color-text-dark);
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .hero-title {
        color: var(--color-bg-white);
        font-size: 4rem;
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 2rem;
    }

    .senai-brand {
        color: var(--color-bg-white);
        font-style: italic;
    }

    .sua-vez {
        color: var(--color-tertiary);
    }
}

/* VOCE NO SENAI SECTION ===================================== */
.voce-senai {
    background-color: var(--color-bg-white);

    .section-header {
        .title {
            color: var(--color-text-dark);
            font-size: 2rem;
            font-weight: 800;
        }
    }

    .diferencial-card {
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 16px !important;
        transition: transform 0.3s, box-shadow 0.3s;

        &:hover {
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
            transform: translateY(-5px);
        }

        .icon-wrapper {
            background-color: var(--color-primary) !important;
            border-radius: 10px !important;
            font-size: 1.5rem;
            height: 48px;
            width: 48px;
        }

        .h5 {
            color: var(--color-primary) !important;
            font-size: 1.15rem;
        }

        p {
            color: var(--color-text-light) !important;
            font-size: 0.9rem;
            line-height: 1.6;
        }
    }
}

/* GLOBAL PAGE BANNER ======================================== */
.global-page-banner {
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--color-bg-white);
    padding: 3rem 0;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, rgba(21, 102, 176, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
        pointer-events: none;
    }

    .container {
        position: relative;
        z-index: 2;
    }

    .banner-breadcrumb {
        margin-bottom: 1.5rem;

        .breadcrumb {
            background: transparent;
            margin: 0;
            padding: 0;

            .breadcrumb-item {
                color: rgba(255, 255, 255, 0.8) !important;
                font-size: 0.85rem;
                font-weight: 500;

                a {
                    color: var(--color-bg-white) !important;
                    text-decoration: none;
                    transition: opacity 0.2s;

                    &:hover {
                        opacity: 0.8;
                        text-decoration: underline;
                    }
                }

                &.active {
                    color: rgba(255, 255, 255, 0.6) !important;
                }

                & + .breadcrumb-item::before {
                    color: rgba(255, 255, 255, 0.5) !important;
                    content: ">" !important;
                }
            }
        }
    }

    .banner-content-wrapper {
        max-width: 650px;
    }

    .banner-eyebrow {
        color: var(--color-bg-white);
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
        display: block;
        opacity: 0.9;
    }

    .banner-title {
        color: var(--color-bg-white) !important;
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1.2;
        margin: 0 0 1rem;
        text-transform: uppercase;
        letter-spacing: -0.5px;
    }

    .banner-divider {
        background-color: var(--color-bg-white);
        height: 3px;
        width: 60px;
        margin-bottom: 1.25rem;
        border-radius: 2px;
    }

    .banner-description {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 0.95rem;
        font-weight: 500;
        line-height: 1.6;
        margin: 0;
    }
}

@media (max-width: 991px) {
    .global-page-banner {
        padding: 2.5rem 0;
        min-height: auto;
        background-position: 75% center;

        .banner-title {
            font-size: 2rem;
        }

        .banner-description {
            font-size: 0.9rem;
        }
    }
}

@media (max-width: 767px) {
    .global-page-banner {
        background-position: 80% center;

        .banner-title {
            font-size: 1.75rem;
        }

        .banner-breadcrumb {
            display: none;
        }
    }
}

/* CATALOGO DE CURSOS ======================================== */
.courses-slider {
    align-items: stretch;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    -ms-overflow-style: none;
    overflow-x: auto;
    padding-bottom: 2rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;

    &::-webkit-scrollbar {
        display: none;
    }
}

.course-card {
    background: var(--color-bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex: 0 0 calc((100% - 3rem) / 3);
    flex-direction: column;
    max-width: calc((100% - 3rem) / 3);
    min-height: 100%;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    transition: transform 0.3s, box-shadow 0.3s;

    &:hover {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        transform: translateY(-4px);
        z-index: 2;
    }

    .badge {
        border-radius: 8px;
        display: inline-block;
        font-size: 0.75rem;
        font-weight: bold;
        padding: 0.4rem 0.8rem;

        &.badge-energy {
            background: var(--color-tertiary);
            color: var(--color-bg-white);
        }

        &.badge-promo {
            background: var(--color-green);
            color: var(--color-bg-white);
            font-size: 0.85rem;
            padding: 0.5rem 1rem;
        }
    }

    .btn-favorite {
        align-items: center;
        background: var(--color-bg-white);
        border: none;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        display: flex;
        height: 36px;
        justify-content: center;
        position: absolute;
        right: 1rem;
        top: 1rem;
        transition: transform 0.3s;
        width: 36px;

        &:hover {
            transform: scale(1.1);
        }

        i {
            color: var(--color-primary);
            font-size: 1.1rem;
        }
    }

    .course-badges {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        left: 1rem;
        position: absolute;
        top: 1rem;
    }

    .course-body {
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 1.25rem;

        .badge {
            align-self: flex-start;
            border-radius: 8px;
            display: inline-block;
            font-size: 0.75rem;
            font-weight: bold;
            max-width: fit-content;
            padding: 0.4rem 0.8rem;
            width: auto;
        }

        .course-info {
            display: flex;
            flex: 1;
            flex-direction: column;
            gap: 0.5rem;

            .info-item {
                align-items: center;
                color: var(--color-text-light);
                display: flex;
                font-size: 0.85rem;
                gap: 0.5rem;

                i {
                    color: var(--color-primary);
                    width: 16px;
                }
            }
        }

        .course-title {
            font-size: 1.1rem;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 1rem;
            margin-top: 0.5rem;
            min-height: 2.4em;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            word-break: break-word;

            a {
                color: var(--color-text-dark) !important;
            }
        }
    }

    .course-footer {
        align-items: center;
        border-top: 1px solid var(--color-border);
        display: flex;
        justify-content: space-between;
        padding: 1.25rem;

        .btn-course {
            background-color: var(--color-green);
            border: none;
            border-radius: 8px;
            color: var(--color-bg-white);
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
            padding: 0.75rem 1.5rem;
            transition: background 0.3s;

            &:hover {
                background-color: var(--color-green);
            }

            &.btn-interest {
                background-color: var(--color-primary);

                &:hover {
                    background-color: var(--color-primary-dark);
                }
            }
        }

        .btn-course-blue {
            background-color: var(--color-primary);
            border: none;
            border-radius: 8px;
            color: var(--color-bg-white);
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
            padding: 0.75rem 1.5rem;
            transition: background 0.3s;

            &:hover {
                background-color: var(--color-primary);
            }
        }

        .course-price {
            flex: 1;

            .price-installment {
                color: var(--color-primary-dark);
                font-size: 1.2rem;
                font-weight: 700;
                margin: 0;
            }

            .price-total {
                color: var(--color-text-light);
                font-size: 0.85rem;
                margin: 0;
            }
        }
    }

    .course-image {
        flex-shrink: 0;
        height: 180px;
        position: relative;
        width: 100%;

        img {
            height: 100%;
            object-fit: cover;
            width: 100%;
        }
    }
}

.courses-see-more {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

/* INFO SENAI - ESTRUTURA =================================== */
.info-senai-estrutura {
    background-color: var(--color-primary-dark);
    color: var(--color-bg-white);

    .eyebrow-text {
        color: var(--color-tertiary);
        font-weight: 600;
        font-size: 1rem;
        display: block;
        margin-bottom: 0.5rem;
    }

    .estrutura-title {
        color: var(--color-bg-white);
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        position: relative;
        padding-bottom: 1rem;

        &::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 4px;
            background-color: var(--color-tertiary);
        }
    }

    p {
        color: var(--color-border);
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        background-color: var(--color-tertiary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-bg-white);
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .stat-text {
        strong {
            font-size: 1.25rem;
            display: block;
            line-height: 1.2;
            color: var(--color-bg-white);
        }

        span {
            font-size: 0.85rem;
            color: var(--color-border);
            line-height: 1.2;
            display: block;
        }
    }

    .video-thumbnail-container {
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

        img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.3s ease;
        }

        &:hover img {
            transform: scale(1.05);
        }
    }

    .play-button-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: var(--color-play-btn);
        color: var(--color-bg-white);
        width: 70px;
        height: 50px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        transition: background-color 0.3s ease, transform 0.3s ease;
        text-decoration: none;

        &:hover {
            background-color: var(--color-play-btn-hover);
            color: var(--color-bg-white);
            transform: translate(-50%, -50%) scale(1.1);
        }
    }
}

/* INFO SENAI - ESTUDE AQUI ================================= */
.info-senai-estude {
    background-color: var(--color-bg-white);
    overflow: hidden;

    .eyebrow-text {
        color: var(--color-primary);
        font-weight: 600;
        font-size: 1rem;
        display: block;
        margin-bottom: 0.5rem;
    }

    .estude-title {
        color: var(--color-text-dark);
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 1rem;
        position: relative;
        padding-bottom: 1rem;

        &::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 4px;
            background-color: var(--color-tertiary);
        }
    }

    p.text-muted {
        color: var(--color-text-light) !important;
        font-size: 1rem;
        line-height: 1.6;
    }

    .aluna-image-wrapper {
        position: relative;
        display: flex;
        justify-content: center;
    }

    .aluna-bg-glow {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 350px;
        height: 350px;
        background: radial-gradient(circle, color-mix(in srgb, var(--color-primary), transparent 75%) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
    }

    .aluna-img {
        position: relative;
        z-index: 1;
        max-height: 500px;
        object-fit: contain;
    }
}

/* TESTIMONIALS ============================================= */
.testimonials-slider {
    align-items: stretch;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    -ms-overflow-style: none;
    overflow-x: auto;
    padding-bottom: 2rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;

    &::-webkit-scrollbar {
        display: none;
    }
}

.testimonial-card {
    align-items: center;
    background: var(--color-bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex: 0 0 calc((100% - 3rem) / 3);
    flex-direction: column;
    height: auto;
    margin-bottom: 5px;
    max-width: calc((100% - 3rem) / 3);
    min-height: 100%;
    padding: 2rem 1.5rem;
    scroll-snap-align: start;
    text-align: center;

    .testimonial-author {
        text-align: center;

        .author-name {
            color: var(--color-primary-dark);
            font-weight: 700;
            margin: 0;
        }

        .author-role {
            color: var(--color-text-light);
            font-size: 0.85rem;
            margin: 0;
        }
    }

    .testimonial-image {
        border: 4px solid var(--color-bg-white);
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        height: 80px;
        margin-bottom: 1rem;
        width: 80px;

        img {
            border-radius: 50%;
            height: 100%;
            object-fit: cover;
            width: 100%;
        }
    }

    .testimonial-quote {
        margin: 1rem 0 1rem;
        text-align: center;

        i {
            color: var(--color-primary);
            font-size: 2rem;
        }
    }

    .testimonial-rating {
        margin-bottom: 1rem;
        margin-top: auto;
        text-align: center;

        i {
            color: #FED50B;
            font-size: 0.9rem;
        }
    }

    .testimonial-text {
        align-items: center;
        display: flex;
        flex-grow: 1;
        justify-content: center;
        margin-bottom: 1.5rem;

        p {
            color: var(--color-text-dark);
            display: -webkit-box;
            font-size: 0.9rem;
            line-height: 1.6;
            margin: 0;
            overflow: hidden;
            -webkit-box-orient: vertical;
        }
    }
}

/* FAQ SECTION ============================================== */
.faq-container {
    margin: 0 auto;
    max-width: 800px;
}

.faq-item {
    background: var(--color-bg-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;

    .faq-answer {
        display: none;
        padding: 0 1.5rem 1.25rem;

        p {
            color: var(--color-text-light);
            margin: 0;
            padding-top: 0.8rem;
        }
    }

    .faq-question {
        align-items: center;
        background: transparent;
        border: none;
        color: var(--color-primary-dark);
        cursor: pointer;
        display: flex;
        font-size: 1rem;
        font-weight: 600;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        text-align: left;
        transition: background 0.3s;
        width: 100%;

        &.active {
            background: color-mix(in srgb, var(--color-primary), transparent 90%);
        }

        &:hover {
            background: color-mix(in srgb, var(--color-primary), transparent 95%);
        }

        i {
            color: var(--color-primary);
            font-size: 1rem;
        }
    }
}

/* FOOTER =================================================== */
.footer {
    background: var(--color-bg-light);
    color: var(--color-text-dark);

    .footer-contact {
        list-style: none;
        padding: 0;

        li {
            color: var(--color-text-light);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
    }

    .footer-copyright {
        border-top: 1px solid var(--color-border);
        padding-top: 2rem;

        .copyright-brand {
            color: var(--color-primary);
            font-weight: 600;
        }

        .copyright-text {
            color: var(--color-text-light);
            font-size: 0.9rem;
            font-weight: 500;
        }
    }

    .footer-description {
        color: var(--color-text-light);
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .footer-links {
        list-style: none;
        padding-left: 0;

        a {
            color: var(--color-text-light);
            font-size: 0.9rem;
            text-decoration: none;
            transition: color 0.3s;

            &:hover {
                color: var(--color-primary);
            }
        }
    }

    .footer-logo img {
        display: block;
        height: auto;
        max-width: 200px;
    }

    .footer-title {
        color: var(--color-primary-dark);
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .social-icons {
        display: flex;
        gap: 1rem;

        .social-icon {
            align-items: center;
            border-radius: 50%;
            display: flex;
            height: 40px;
            justify-content: center;
            text-decoration: none;
            transition: transform 0.3s;
            width: 40px;

            &:hover {
                transform: translateY(-3px);
            }

            &.facebook {
                background: var(--color-facebook);
                color: var(--color-bg-white);
            }

            &.instagram {
                background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
                color: var(--color-bg-white);
            }

            &.youtube {
                background: var(--color-youtube);
                color: var(--color-bg-white);
            }
        }
    }
}

/* UTILS ==================================================== */
.btn-favorite.active i,
.btn-acao.active i,
.fa-heart.text-danger,
.fas.fa-heart {
    color: var(--color-primary) !important;
}

/* MEDIA QUERIES ============================================ */
/* Notebook Grande (≤ 1400px) */
@media (min-width: 1201px) and (max-width: 1400px) {
    .course-card {
        .course-footer {
            align-items: stretch;
            flex-direction: column;
            gap: 0.75rem;

            .btn-course {
                display: flex;
                justify-content: center;
                text-align: center;
                width: 100%;
            }

            .course-price {
                flex: none;
                width: 100%;
            }
        }
    }
}

@media (max-width: 1400px) {
    .city-item,
    .category-item {
        flex: 0 0 calc((100% - 6rem) / 5);
        max-width: calc((100% - 6rem) / 5);
    }
}

/* Notebook (≤ 1200px) */
@media (max-width: 1200px) {
    .city-item,
    .category-item {
        flex: 0 0 calc((100% - 4.5rem) / 4);
        max-width: calc((100% - 4.5rem) / 4);
    }

    .course-card,
    .testimonial-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
    }
}

/* Tablet (≤ 991px) */
@media (max-width: 991px) {
    .city-item,
    .category-item {
        flex: 0 0 calc((100% - 3rem) / 3);
        max-width: calc((100% - 3rem) / 3);
    }

    .course-card,
    .testimonial-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
    }

    .header-main .search-form {
        width: 100% !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .info-senai-estude {
        .estude-title,
        .eyebrow-text {
            text-align: center;
        }

        .estude-title::after {
            left: 50%;
            transform: translateX(-50%);
        }
    }

    .estude-actions {
        justify-content: center;
    }

    .info-senai-estrutura {
        .estrutura-title {
            text-align: center;

            &::after {
                left: 50%;
                transform: translateX(-50%);
            }
        }

        .eyebrow-text {
            text-align: center;
        }
    }

    .estrutura-stats {
        justify-content: center;
    }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
    h1,
    .h1 {
        font-size: 1.75rem;
    }

    h2,
    .h2 {
        font-size: 1.4rem;
    }

    h3,
    .h3 {
        font-size: 1.2rem;
    }

    .banner-text-home {
        padding: 1.5rem 0;

        .banner-content {
            font-size: 1.15rem;
            line-height: 1.6;
            text-align: center;
        }

        .banner-wrapper {
            border-radius: 12px;
            padding: 2rem 1.25rem;
        }
    }

    .btn-ver-cursos {
        font-size: 0.9rem;
        justify-content: center;
        padding: 0.85rem 1.25rem;
        width: 100%;
    }

    .cities-slider-wrapper,
    .courses-slider-wrapper,
    .categories-slider-wrapper,
    .testimonials-slider-wrapper,
    .trust-slider-wrapper {
        padding: 0 40px;
    }

    .course-card,
    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .course-card {
        .course-footer {
            align-items: center;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 0.75rem;
            padding: 1rem;

            .btn-course {
                flex: 0 0 auto;
                font-size: 0.85rem;
                padding: 0.65rem 1.1rem;
                white-space: nowrap;
            }

            .course-price {
                flex: 1 1 auto;
            }
        }
    }

    .courses-see-more {
        margin-top: 1.5rem;
    }

    .faq-container {
        padding: 0;
    }

    .faq-item {
        .faq-answer {
            padding: 0 1rem 1rem;
        }

        .faq-question {
            font-size: 0.9rem;
            padding: 0.9rem 1rem;
        }
    }

    .footer {
        text-align: center;

        .footer-copyright {
            padding-top: 1.25rem;
            text-align: center;
        }

        .footer-description {
            font-size: 0.85rem;
        }

        .footer-links a,
        .footer-contact li {
            font-size: 0.85rem;
        }

        .footer-logo {
            display: flex;
            justify-content: center;
            margin-bottom: 0.75rem;

            img {
                max-width: 150px;
            }
        }

        .footer-title {
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            margin-top: 1rem;
        }

        .mb-lg-0 {
            margin-bottom: 1.25rem !important;
        }

        .pb-4 {
            padding-bottom: 1.5rem !important;
        }

        .pt-5 {
            padding-top: 2rem !important;
        }

        .social-icons {
            justify-content: center;
        }
    }

    .header-main {
        .logo img {
            max-width: 150px;
        }
    }

    .hero-installment {
        font-size: 2rem;
    }

    .hero-section {
        min-height: auto;

        .hero-content {
            padding: 2rem 0;
        }
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .slider-nav {
        font-size: 0.8rem;
        height: 32px;
        width: 32px;

        &.slider-next {
            right: 0;
        }

        &.slider-prev {
            left: 0;
        }
    }

    section.py-5 {
        padding-bottom: 1.5rem !important;
        padding-top: 1.5rem !important;
    }

    .voce-senai {
        .section-header {
            .title {
                font-size: 1.5rem;
            }
        }
    }
}

/* Mobile Pequeno (≤ 600px) */
@media (max-width: 600px) {
    .banner-text-home .banner-content {
        font-size: 1rem;
    }

    .cities-slider-wrapper,
    .courses-slider-wrapper,
    .categories-slider-wrapper,
    .testimonials-slider-wrapper,
    .trust-slider-wrapper {
        padding: 0 36px;
    }

    .city-item,
    .category-item {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
    }

    .city-item .city-image,
    .category-item .category-image {
        height: 80px;
        width: 80px;
    }

    .city-item .city-name,
    .category-item .category-name {
        font-size: 0.8rem;
    }

    .course-card,
    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .course-card {
        .course-footer {
            align-items: stretch;
            flex-direction: column;
            gap: 0.75rem;

            .btn-course {
                display: flex;
                justify-content: center;
                width: 100%;
            }

            .course-price {
                width: 100%;
            }
        }
    }

    .section-title {
        font-size: 1.1rem;
    }

    section.py-5 {
        padding-bottom: 1.25rem !important;
        padding-top: 1.25rem !important;
    }
}