/* GLOBAL VARIABLES & RESET ============================== */
:root {
    --color-accent-green: #28a745;
    --color-bg-light: #f0f4f5;
    --color-bg-white: #ffffff;
    --color-border: #e0e0e0;
    --color-primary-blue: #2454a0;
    --color-primary-dark: #22498d;
    --color-promo-green: #00b359;
    --color-secondary-orange: #fb5909;
    --color-text-dark: #181818;
    --color-text-light: #808080;

    --font-primary: 'Montserrat', sans-serif;

    --spacing-lg: 2rem;
    --spacing-md: 1.5rem;
    --spacing-sm: 1rem;
    --spacing-xl: 3rem;
    --spacing-xs: 0.5rem;
}

* {
    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);
}

/* HEADER & NAVIGATION =================================== */
.header-main {
    background: var(--color-bg-white);
    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 {
            color: var(--color-primary-blue);
        }

        .fa-heart:before {
            color: var(--color-primary-blue);
        }

        .fa-shopping-cart:before {
            color: var(--color-primary-blue);
        }

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

            #header-user-name {
                font-weight: 700;
                max-width: 120px;
            }

            .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: var(--color-primary-dark);

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

            li a {
                color: white;
                display: block;
                font-size: 1rem;
                font-weight: bold;
                padding: 1rem 0;
                text-decoration: none;
                transition: opacity 0.3s;

                &:hover {
                    opacity: 0.8;
                }
            }
        }
    }

    .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-blue);
            }
        }

        .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: #D2E9FC !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-blue);
        }
    }
}

/* HERO SECTION ========================================== */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-blue) 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-secondary-orange);
        border-radius: 8px;
        color: 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-secondary-orange);
        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: white;
        font-size: 4rem;
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 2rem;
    }

    .senai-brand {
        color: white;
        font-style: italic;
    }

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

/* SHARED COMPONENTS (TITLES, SLIDERS) =================== */
.section-title {
    color: var(--color-primary-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cities-slider-wrapper,
.courses-slider-wrapper,
.categories-slider-wrapper,
.testimonials-slider-wrapper,
.trust-slider-wrapper,
.banner-slider-wrapper {
    overflow: visible;
    padding: 0 3rem;
    position: relative;
}

.slider-nav {
    align-items: center;
    background: var(--color-primary-blue);
    border: none;
    border-radius: 50%;
    color: 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;
    }
}

/* CITIES & CATEGORIES SLIDERS =========================== */
.cities-slider,
.categories-slider {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    -ms-overflow-style: none;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;

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

.city-item,
.category-item {
    scroll-snap-align: start;
    text-align: center;
}

/* Grid Cidades */
.city-item {
    flex: 0 0 calc((100% - 7.5rem) / 6);
    max-width: calc((100% - 7.5rem) / 6);

    .city-image {
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        height: 120px;
        margin: 0 auto 0.75rem;
        overflow: hidden;
        width: 120px;

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

    .city-name {
        color: var(--color-text-dark);
        font-size: 0.9rem;
        font-weight: 600;
        margin: 0;
    }
}

/* Grid Categorias */
.category-item {
    flex: 0 0 calc((100% - 7.5rem) / 6);
    max-width: calc((100% - 7.5rem) / 6);

    .category-image {
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        height: 120px;
        margin: 0 auto 0.75rem;
        overflow: hidden;
        width: 120px;

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

    .category-name {
        color: var(--color-text-dark);
        font-size: 0.9rem;
        font-weight: 600;
        margin: 0;
    }
}

/* COURSES SLIDER (GRID 3 ITENS) ======================== */
.courses-slider,
.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;
    }
}

.course-card {
    background: 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-secondary-orange);
            color: white;
        }

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

    .btn-favorite {
        align-items: center;
        background: 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-blue);
            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-blue);
                    width: 16px;
                }
            }
        }

        .course-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 1rem;
            margin-top: 0.5rem;
            min-height: 2.4em;

            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-accent-green);
            border: none;
            border-radius: 8px;
            color: white;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
            padding: 0.75rem 1.5rem;
            transition: background 0.3s;

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

        .btn-course-blue {
            background-color: var(--color-primary-blue);
            border: none;
            border-radius: 8px;
            color: 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-blue);
            }
        }

        .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%;
        }
    }
}

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

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

.btn-ver-cursos {
    align-items: center;
    background: var(--color-primary-blue);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 51, 102, 0.2);
    color: 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;
    }
}

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

/* BANNER TEXT HOME ===================================== */
.banner-text-home {
    padding: 2rem 0;
    width: 100%;

    .banner-content {
        color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
        font-size: 2rem;
        font-weight: 700;
        line-height: 1.5;
        max-width: 900px;
        text-align: center;
        z-index: 1;

        .highlight {
            color: var(--color-primary-blue);
        }

        .highlight,
        span,
        strong {
            color: inherit;
        }
    }

    .banner-wrapper {
        align-items: center;
        background-color: #f5f7fa;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 16px;
        display: flex;
        justify-content: center;
        overflow: hidden;
        padding: 4rem 2rem;
        position: relative;
        width: 100%;
    }
}

/* BANNER TEXT SLIDER =================================== */
.banner-text-slider {
    display: flex;
    gap: 1.5rem;
    -ms-overflow-style: none;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;

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

.banner-slide-item {
    border-radius: 12px;
    flex: 0 0 100%;
    max-width: 100%;
    overflow: hidden;
    scroll-snap-align: start;

    img {
        display: block;
        height: auto;
        width: 100%;
    }

    a {
        display: block;
    }
}

/* TRUST SECTION (LOGOS) ================================ */
.trust-logos {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: space-around;
    -ms-overflow-style: none;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;

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

    .trust-logo {
        flex: 0 0 auto;
        scroll-snap-align: start;
        transition: all 0.3s;

        img {
            height: auto;
            max-width: 150px;
            object-fit: contain;
        }
    }
}

/* TESTIMONIALS ========================================= */
.testimonials-slider {
    align-items: stretch;
}

.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 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-blue);
            font-size: 2rem;
        }
    }

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

        i {
            color: var(--color-secondary-orange);
            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: rgba(0, 102, 204, 0.1);
        }

        &:hover {
            background: rgba(0, 102, 204, 0.05);
        }

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

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

    .footer-contact li {
        color: var(--color-text-light);
        font-size: 0.9rem;
    }

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

        .copyright-brand {
            color: var(--color-primary-blue);
            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,
    .footer-contact {
        list-style: none;
        padding: 0;

        li {
            margin-bottom: 0.5rem;
        }
    }

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

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

    .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: #3b5998;
                color: white;
            }

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

            &.youtube {
                background: #ff0000;
                color: white;
            }
        }
    }
}

/* BTN FILTROS CURSO ==================================== */
.btn-clear-filters {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-primary-blue);
    border-radius: 8px;
    box-shadow: none;
    color: var(--color-primary-blue);
    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-blue);
    border: 1px solid var(--color-primary-blue);
    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);
    }
}

/* MSN DE ALERTA ======================================== */
.alert-message {
    background-color: #D2E9FC;
    border-radius: 8px;
    color: var(--color-primary-dark);
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    padding: 0.5rem 1.5rem;
}

/* 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-blue), transparent 90%);
            border: 1px solid color-mix(in srgb, var(--color-primary-blue), transparent 75%);
            border-radius: 50px;
            color: var(--color-primary-blue);
            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-blue), transparent 94%);
                    color: var(--color-primary-blue);
                    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-blue);
                transform: translateY(-2px);
            }
        }
    }
}

.btn-favorite.active i,
.btn-acao.active i,
.fa-heart.text-danger {
    color: var(--color-primary-blue) !important;
}

.fas.fa-heart {
    color: var(--color-primary-blue) !important;
}

/* Customização do Chatbot Boteria */
.gAecrb {
    background-color: var(--color-primary-blue) !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;
    }

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

    .course-card .course-footer .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;
    }
}

/* 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-text-home .banner-content {
        font-size: 1.15rem;
        line-height: 1.6;
        text-align: center;
    }

    .banner-text-home .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;
    }

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

    .course-card .course-footer .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-item .faq-question {
        font-size: 0.9rem;
        padding: 0.9rem 1rem;
    }

    .footer {
        text-align: center;
    }

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

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

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

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

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

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

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

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

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

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

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

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

    .hero-section {
        min-height: auto;
    }

    .hero-section .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-nav.slider-next { right: 0; }
    .slider-nav.slider-prev { left: 0; }

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

/* 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;
    }

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

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

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

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