/* ========================================================
   HOME MODERNA - SM MADEIRAS 2026
   ======================================================== */

/* 1. SLIDER / HERO */
#myCarousel {
    position: relative !important;
    width: 100% !important;
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow: hidden !important;
}

#myCarousel .carousel-inner,
#myCarousel .carousel-item {
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
}

.hero-video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bgBannerTopoDesktop,
.bgBannerTopoMobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
}

.bgBannerTopoMobile {
    display: none;
}

#myCarousel .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.42);
    z-index: 2;
}

#myCarousel .carousel-caption {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    padding-top: 60px !important;
    margin: 0 !important;
    min-height: unset !important;
    display: flex !important;
    align-items: center !important;
    z-index: 3 !important;
}

.badge-editorial {
    font-family: var(--font-tech, 'Public Sans', sans-serif);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 600;
    color: var(--sm-primary);
    background: transparent;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
    border: 1px solid rgba(189, 87, 37, 0.4);
}

/* Alto contraste nos banners do Hero sobre fundos translúcidos escuros (Outline sem preenchimento) */
.hero-premium-caption .badge-editorial {
    font-family: var(--font-tech, 'Public Sans', sans-serif);
    display: inline-block;
    text-transform: uppercase;
    color: #FFB049 !important;
    background: transparent !important;
    border: 1px solid rgba(255, 176, 73, 0.5) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 2.2px !important;
    padding: 7px 18px !important;
    border-radius: 50px !important;
    margin-bottom: 14px !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

/* 1. HERO REFINADO - SUTIL, TRANSLÚCIDO E ULTRA-PREMIUM */
.hero-premium-caption {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: linear-gradient(135deg, rgba(22, 17, 14, 0.45) 0%, rgba(26, 20, 16, 0.22) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 38px 44px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.hero-premium-caption h1 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.hero-premium-caption p {
    font-size: 17px;
    color: #E8E2DC;
    margin-bottom: 22px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hero-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-tag-item {
    color: #F0E6DE;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.hero-tag-item:hover {
    border-color: var(--sm-primary);
    color: #fff;
    background: var(--sm-primary);
}

/* ANIMAÇÃO DE ENTRADA DINÂMICA, ESCALONADA E CLEAN */
@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroCardScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.96) translateY(14px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.carousel-item .hero-premium-caption {
    opacity: 0;
    transform: scale(0.96) translateY(14px);
}

.carousel-item .badge-editorial,
.carousel-item .hero-premium-caption h1,
.carousel-item .hero-premium-caption p,
.carousel-item .hero-premium-caption .banner-actions,
.carousel-item .hero-tags {
    opacity: 0;
    transform: translateY(22px);
}

.carousel-item.active .hero-premium-caption {
    animation: heroCardScaleIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.carousel-item.active .badge-editorial {
    animation: heroFadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

.carousel-item.active .hero-premium-caption h1 {
    animation: heroFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.carousel-item.active .hero-premium-caption p {
    animation: heroFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.carousel-item.active .hero-premium-caption .banner-actions {
    animation: heroFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.52s forwards;
}

.carousel-item.active .hero-tags {
    animation: heroFadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.64s forwards;
}

/* 2. INFINITE MARQUEE TICKER */
.sm-marquee-wrapper {
    background: #151210;
    color: #FFFFFF;
    padding: 16px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid var(--sm-primary);
}

.sm-marquee-track {
    display: inline-flex;
    animation: marqueeScroll 28s linear infinite;
}

.sm-marquee-item {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 35px;
    color: #E2DBD5;
}

.sm-marquee-item i {
    color: var(--sm-primary);
    margin-right: 12px;
    font-size: 14px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* BOTÕES SM MODERNOS */
.btn-sm-primary {
    background: var(--sm-primary);
    color: #FFF !important;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(189, 87, 37, 0.3);
    border: none;
    transition: all 0.3s;
}

.btn-sm-primary:hover {
    background: var(--sm-primary-dark, #a8471b);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(189, 87, 37, 0.4);
    color: #FFF !important;
}

.btn-sm-outline {
    border: 2px solid var(--sm-primary);
    color: var(--sm-primary) !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    background: transparent;
}

.btn-sm-outline:hover {
    background: var(--sm-primary);
    color: #FFF !important;
}

.banner-actions .btn-sm-outline {
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: #FFF !important;
}

.banner-actions .btn-sm-outline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #FFF !important;
    color: #FFF !important;
}

/* 3. NAVEGAÇÃO DE APLICAÇÕES RÁPIDAS */
.categories-scroll-wrapper {
    position: relative;
    width: 100%;
}

.categories-single-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.category-pill-card {
    background: #FFF;
    border-radius: 10px;
    padding: 16px 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #EFEAE5;
    transition: all 0.25s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    min-height: 115px;
}

.category-pill-card:hover {
    transform: translateY(-4px);
    border-color: var(--sm-primary);
    box-shadow: 0 8px 18px rgba(189, 87, 37, 0.12);
    color: var(--sm-primary);
}

.category-pill-card img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
    border-radius: 0 !important;
    border: none !important;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.category-pill-card:hover img {
    transform: scale(1.08);
}

.category-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 3px;
}

.category-pill-card small {
    font-size: 11px;
    color: #6B6560;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .categories-single-row {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 10px !important;
        padding: 4px 16px 12px 16px !important;
        margin: 0 -16px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .categories-single-row::-webkit-scrollbar {
        display: none !important;
    }

    .category-pill-card {
        flex: 0 0 calc((100% - 20px) / 3) !important;
        min-width: 100px !important;
        max-width: 130px !important;
        scroll-snap-align: start !important;
        padding: 12px 6px !important;
        min-height: 100px !important;
    }

    .category-pill-card img {
        max-height: 30px !important;
        margin-bottom: 6px !important;
    }

    .category-title {
        font-size: 12.5px !important;
    }

    .category-pill-card small {
        font-size: 10px !important;
    }
}

/* 4. SHOWROOM DE ESPÉCIES */
.showroom-section {
    padding: 90px 0;
    background: #FAF8F5;
    position: relative;
}

.species-carousel-wrapper {
    position: relative;
    margin-top: 35px;
}

/* Grade Interativa do Showroom */
.species-card {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
    cursor: pointer;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.species-card:hover,
.species-card.active {
    transform: translateY(-8px);
    border-color: var(--sm-primary);
    box-shadow: 0 16px 35px rgba(189, 87, 37, 0.18);
}

.species-card .img-thumb-wrap {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #e8e2dc;
}

.species-card .img-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.species-card .img-thumb-wrap .img-environment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: scale(1);
    transition: transform 0.8s ease, opacity 0.5s ease;
    z-index: 1;
}

.species-card .img-thumb-wrap .img-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: transform 0.8s ease, opacity 0.5s ease;
    z-index: 2;
}

.species-card:hover .img-thumb-wrap .img-environment,
.species-card.hover-active .img-thumb-wrap .img-environment {
    transform: scale(1.08);
    opacity: 0 !important;
}

.species-card:hover .img-thumb-wrap .img-texture,
.species-card.hover-active .img-thumb-wrap .img-texture {
    transform: scale(1.08);
    opacity: 1 !important;
}

.species-card:hover .img-thumb-wrap img:only-child {
    transform: scale(1.08);
    opacity: 1 !important;
}

.species-tone-badge {
    display: none !important;
}

.species-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.species-title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: #1F1B18;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.species-card:hover .species-title {
    color: var(--sm-primary);
}

.species-card-body p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 14px;
    flex-grow: 1;
}

.species-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F0ECE7;
    padding-top: 14px;
}

.species-action-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--sm-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.species-card:hover .species-action-link {
    gap: 10px;
}

.species-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.species-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D9D2CA;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.species-dot.active {
    background: var(--sm-primary);
    width: 22px;
    border-radius: 4px;
}

/* 5. SEÇÃO MANEJO FLORESTAL SUSTENTÁVEL (ORIGEM RESPONSÁVEL) */
.sm-manejo-section {
    background: #FAF8F5;
    padding: 90px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.sm-manejo-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

.sm-manejo-tag {
    display: block;
    color: var(--sm-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sm-manejo-heading {
    font-size: clamp(28px, 2.9vw, 40px);
    font-weight: 700;
    color: #191614;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.sm-manejo-subheading {
    font-size: 15px;
    color: #6F6760;
    line-height: 1.55;
    max-width: 560px;
    margin-bottom: 24px;
}

/* Lista de Abas Verticais */
.sm-vertical-tabs-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.sm-vtab-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 15px 0 15px 26px;
    cursor: pointer;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    transition: all 0.35s ease;
    text-align: left;
    background: transparent;
    border-left: none;
    border-right: none;
    border-bottom: none;
    width: 100%;
}

.sm-vtab-item:first-child {
    border-top: none;
}

/* Trilha e Barra de Progresso Vertical */
.sm-vtab-progress-track {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(0, 0, 0, 0.07);
    border-radius: 2px;
    overflow: hidden;
}

.sm-vtab-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #0B3B32;
    border-radius: 2px;
}

.sm-vtab-item.active .sm-vtab-progress-bar {
    animation: smVTabProgress 5s linear forwards;
}

.sm-manejo-section.is-paused .sm-vtab-item.active .sm-vtab-progress-bar {
    animation-play-state: paused;
}

@keyframes smVTabProgress {
    0% {
        height: 0%;
    }

    100% {
        height: 100%;
    }
}

/* Numeração /01, /02 */
.sm-vtab-num {
    font-family: var(--font-tech, monospace);
    font-size: 13px;
    font-weight: 700;
    color: #B0A7A0;
    margin-top: 4px;
    transition: color 0.3s ease;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    flex-shrink: 0;
}

.sm-vtab-item.active .sm-vtab-num {
    color: #BD5725;
}

/* Conteúdo Textual da Tab */
.sm-vtab-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sm-vtab-title {
    font-family: var(--font-title, 'Public Sans', sans-serif) !important;
    font-size: clamp(19px, 1.5vw, 22px);
    font-weight: 600;
    color: #7D756E;
    letter-spacing: -0.3px;
    margin: 0;
    line-height: 1.25;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.sm-vtab-item:hover .sm-vtab-title {
    color: #191614;
}

.sm-vtab-item.active .sm-vtab-title {
    color: #191614;
    font-weight: 700;
}

/* Acordeão Descritivo */
.sm-vtab-desc-wrap {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin 0.35s ease;
}

.sm-vtab-item.active .sm-vtab-desc-wrap {
    max-height: 180px;
    opacity: 1;
    margin-top: 8px;
}

.sm-vtab-desc {
    font-size: 14px;
    color: #6A625A;
    line-height: 1.55;
    margin-bottom: 0;
    max-width: 520px;
}

/* Coluna da Galeria Visual */
.sm-manejo-gallery-card {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(7, 37, 31, 0.16);
    border: none;
    outline: none;
    background: #191614;
    aspect-ratio: 4 / 5;
    cursor: pointer;
}

.sm-gallery-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sm-gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04) translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.sm-gallery-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 2;
}

.sm-gallery-img,
.sm-gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.sm-manejo-gallery-card:hover .sm-gallery-slide.active .sm-gallery-img,
.sm-manejo-gallery-card:hover .sm-gallery-slide.active .sm-gallery-video {
    transform: scale(1.04);
}

.sm-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 35, 29, 0.8) 0%, rgba(7, 35, 29, 0.25) 35%, transparent 65%);
    pointer-events: none;
}

/* Título Sobreposto na Imagem (Sem a tag) */
.sm-gallery-badge-info {
    position: absolute;
    bottom: 22px;
    left: 24px;
    z-index: 5;
    pointer-events: none;
    max-width: 68%;
}

.badge-step-title {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    display: block;
}

/* Botões Flutuantes de Navegação */
.sm-gallery-controls {
    position: absolute;
    bottom: 22px;
    right: 24px;
    display: flex;
    gap: 10px;
    z-index: 1060;
}

.sm-gallery-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #191614;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.sm-gallery-btn:hover {
    background: #FFFFFF;
    color: #BD5725;
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

.sm-gallery-btn:active {
    transform: scale(0.92);
}

/* Responsividade Manejo */
@media (max-width: 991px) {
    .sm-manejo-section {
        padding: 70px 0 80px 0;
    }

    .sm-manejo-gallery-card {
        aspect-ratio: 4 / 5;
        border-radius: 20px;
        margin: 0 auto 20px auto;
    }

    .sm-manejo-text-col {
        display: contents;
    }

    .sm-manejo-text-col>.sm-manejo-header {
        order: 1 !important;
    }

    .sm-manejo-gallery-col {
        order: 2 !important;
    }

    .sm-manejo-text-col>.sm-vertical-tabs-list {
        order: 3 !important;
    }

    .sm-vtab-item {
        padding: 14px 0 14px 20px;
    }

    .sm-gallery-controls {
        top: 18px;
        bottom: auto;
        right: 18px;
        left: auto;
        z-index: 1060;
        gap: 8px;
    }

    .sm-gallery-btn {
        width: 38px;
        height: 38px;
        font-size: 13px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    }

    .sm-gallery-badge-info {
        bottom: 18px;
        left: 18px;
        right: 18px;
        max-width: calc(100% - 36px);
    }

    .badge-step-title {
        font-size: 17px;
        line-height: 1.35;
    }
}

/* 7. SEÇÃO DE VÍDEOS SHORTS */
#SecaoVideos {
    padding: 80px 0;
    background: #FAF8F5;
}

#youtube-feed {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 10px 0 20px 0;
}

#youtube-feed::-webkit-scrollbar {
    display: none;
}

.video-item {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 240px;
    scroll-snap-align: start;
}

.BoxShorts {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ECE7E1;
    isolation: isolate;
    transform: translateZ(0);
}

.BoxShorts:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.BoxShorts img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: scale(1.04);
    transition: opacity 0.6s ease, transform 0.5s ease;
    z-index: 2;
    position: relative;
}

.VideoPreviewContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.VideoPreviewContainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 200% !important;
    height: 200% !important;
    transform: scale(0.5);
    transform-origin: top left;
    border: none;
}

.OverlayShorts {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
    z-index: 3;
    pointer-events: none;
}

.TextShorts {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 4;
}

.TextShorts .TituloBusca {
    color: #FFFFFF;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.video-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.video-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D9D2CA;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-carousel-dot.active {
    background: var(--sm-primary);
    width: 20px;
    border-radius: 4px;
}

/* 8. SEÇÃO CTA FINAL (CARD EXCLUSIVO VERDE COM IMAGEM ILUSTRATIVA À ESQUERDA) */
.sm-cta-wrapper {
    background-color: #FAF8F5;
    padding: 45px 0 55px 0;
}

.sm-cta-card {
    background: #FFFFFF;
    border: 1px solid #ECE7E1 !important;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 12px 34px rgba(25, 22, 20, 0.07);
    position: relative;
    overflow: hidden;
}

.sm-cta-cover-col {
    position: relative;
    min-height: 100%;
}

.sm-cta-cover-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .sm-cta-cover-wrap {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
    }
}

.sm-cta-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sm-cta-card:hover .sm-cta-cover-img {
    transform: scale(1.05);
}

.sm-cta-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 55%, #FFFFFF 100%);
    pointer-events: none;
}

.sm-cta-content-inner {
    padding: 34px 44px;
}

.sm-cta-badge {
    background: none !important;
    color: #BD5725 !important;
    border: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: block !important;
    margin-bottom: 12px !important;
}

.sm-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #191614;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.sm-cta-desc {
    color: #6B6560;
    font-size: 15px;
    line-height: 1.55;
    max-width: 580px;
    margin-bottom: 22px;
}

.sm-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sm-cta-btn-primary {
    background: #BD5725;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 14.5px;
    padding: 13px 26px;
    border-radius: 6px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(189, 87, 37, 0.3);
    transition: all 0.25s ease;
}

.sm-cta-btn-primary:hover {
    background: #8C3B13;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(189, 87, 37, 0.4);
}

.sm-cta-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.36);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.sm-cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #A9D46A;
    color: #A9D46A !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(169, 212, 106, 0.2);
}

/* RESPONSIVIDADE HOME */
@media (max-width: 991px) {
    .sm-cta-content-inner {
        padding: 28px 24px;
    }

    .sm-cta-title {
        font-size: 23px;
    }

    .sm-cta-desc {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .sm-cta-wrapper {
        padding: 30px 0 40px 0;
    }

    #myCarousel,
    #myCarousel .carousel-inner,
    #myCarousel .carousel-item {
        height: 560px !important;
        min-height: 560px !important;
        max-height: 560px !important;
    }

    .hero-premium-caption {
        padding: 26px 28px;
    }

    .hero-premium-caption h1 {
        font-size: 24px;
    }

    .video-item {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    /* Showroom Carrossel de Ponta a Ponta no Mobile */
    .species-carousel-wrapper {
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    #speciesGrid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 14px !important;
        padding: 6px 16px 22px 16px !important;
        margin: 0 !important;
        width: 100% !important;
    }

    #speciesGrid::-webkit-scrollbar {
        display: none !important;
    }

    #speciesGrid .species-item {
        flex: 0 0 80% !important;
        max-width: 320px !important;
        min-width: 270px !important;
        scroll-snap-align: center !important;
        padding: 0 !important;
    }

    #speciesGrid .species-card {
        height: 100% !important;
        margin-bottom: 0 !important;
        border-radius: 14px !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
        background: #FFFFFF !important;
    }

    #speciesGrid .species-card .img-thumb-wrap {
        height: 235px !important;
    }

    #speciesGrid .species-card-body {
        padding: 20px 18px !important;
    }

    #speciesGrid .species-title {
        font-size: 21px !important;
        margin-bottom: 8px !important;
    }

    /* Dots de Navegação Mobile */
    .species-carousel-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        margin-top: 6px !important;
        margin-bottom: 8px !important;
    }

    .species-dot {
        width: 8px;
        height: 8px;
        border-radius: 4px;
        background: #DDD5CD;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .species-dot.active {
        width: 26px;
        background: var(--sm-primary);
        border-radius: 8px;
    }
}

@media (max-width: 768px) {

    /* Banner de Altura Confortável no Mobile */
    #myCarousel,
    #myCarousel .carousel-inner,
    #myCarousel .carousel-item {
        height: 520px !important;
        min-height: 520px !important;
        max-height: 520px !important;
    }

    .bgBannerTopoDesktop {
        display: none !important;
    }

    .bgBannerTopoMobile {
        display: block !important;
    }

    #myCarousel .carousel-caption {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 16px !important;
        padding-top: 55px !important;
        padding-bottom: 25px !important;
        margin: 0 !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #myCarousel .carousel-caption .container {
        padding-left: 30px !important;
        padding-right: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #myCarousel .carousel-caption .col-12,
    #myCarousel .carousel-caption .col-lg-7,
    #myCarousel .carousel-caption .col-lg-8 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-premium-caption {
        padding: 26px 20px !important;
        border-radius: 16px !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-premium-caption h1 {
        font-size: 1.42rem !important;
        line-height: 1.3 !important;
        margin-bottom: 14px !important;
    }

    .hero-premium-caption p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }

    .badge-editorial,
    .hero-premium-caption .badge-editorial {
        font-size: 10px !important;
        padding: 5px 13px !important;
        margin-bottom: 13px !important;
        letter-spacing: 1.4px !important;
        display: inline-block !important;
    }

    .banner-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 4px !important;
    }

    .banner-actions .btn-sm-primary,
    .banner-actions .btn-sm-outline {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
    }

    /* Remove tags do banner no mobile para não sobrecarregar */
    .hero-tags {
        display: none !important;
    }

    /* Oculta as setas laterais no mobile (navegação tátil via indicadores) */
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    .carousel-indicators {
        bottom: 8px !important;
    }

    /* 3. TÍTULOS E ESPAÇAMENTOS DAS SEÇÕES */
    .showroom-section,
    .projects-section,
    .quiz-section {
        padding: 50px 0 !important;
    }

    .section-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    h2.serif-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
    }

    .sm-cta-cover-wrap {
        height: 200px;
    }

    .sm-cta-cover-overlay {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 55%, #FFFFFF 100%);
    }

    .sm-cta-actions {
        justify-content: center;
    }

    .sm-cta-actions .sm-cta-btn-primary {
        width: 100%;
    }

    .sm-manejo-heading {
        font-size: 24px;
    }

    .video-item {
        flex: 0 0 85%;
    }
}

@media (min-width: 768px) {
    .sm-cta-actions {
        justify-content: flex-start;
    }

    .sm-cta-actions .sm-cta-btn-primary {
        width: auto;
    }
}