﻿#expositores {
    scroll-margin-top: -50px;
}

/* ===== Moldura laranja com textos no topo e rodapé ===== */
.expositores-frame {
    position: relative;
    max-width: 1280px;
    width: 92%;
    margin: 40px auto 48px;
    padding: 15px 20px 72px; /* espaço para os rótulos sobre a borda */
    border: 2px solid var(--brand);
    border-radius: 18px;
    background: #fff;
}

    .expositores-frame .frame-heading,
    .expositores-frame .frame-footer {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 16px;
        color: var(--brand);
        font-weight: 700;
        font-size: clamp(22px, 3.2vw, 40px);
        line-height: 1;
    }

        .expositores-frame .frame-heading::before,
        .expositores-frame .frame-heading::after,
        .expositores-frame .frame-footer::before,
        .expositores-frame .frame-footer::after {
            content: "";
            flex: 1 1 180px;
            height: 2px;
            background: #B76E06;
            display: block;
            border-radius: 2px;
        }

        .expositores-frame .frame-heading span,
        .expositores-frame .frame-footer span {
            background: #fff;
            padding: 0 14px;
        }

    .expositores-frame .frame-heading {
        top: -1px;
        transform: translate(-50%, -50%);
    }

    .expositores-frame .frame-footer {
        bottom: -1px;
        transform: translate(-50%, 50%);
    }

    .expositores-frame .frame-content {
        position: relative;
        z-index: 1;
    }

/* ===== Desktop section ===== */
.expositores {
    padding: 28px 0 0;
}

    .expositores .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
    }

.expo-sub {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 20px;
    color: #1A1A26;
    line-height: 1.5;
    font-size: 25px;
    z-index:4;
}

.feiras-card {
    position: relative;
    background: var(--dark-blue);
    border-radius: 28px;
    padding: 32px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.orange-band {
    position: absolute;
    left: 0;
    right: 10%; /* ajuste p/ 5% se quiser */
    top: 50%;
    transform: translateY(-50%);
    height: 110px;
    background: var(--brand);
    border-radius: 0 25px 25px 0;
    z-index: 1;
}

.band-title {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: #fff;
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: clamp(24px, 4vw, 30px);
    white-space: nowrap;
}

.mySwiper {
    margin-left: auto;
    width: min(560px,55%);
    z-index: 2;
}

    .mySwiper .swiper-slide img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        display: block;
    }

    .mySwiper .swiper-pagination-bullet {
        background: #fff;
        opacity: .6;
    }

    .mySwiper .swiper-pagination-bullet-active {
        opacity: 1;
    }

/* vídeo 16:9 */
.feiras-video {
    margin-top: 18px;
}

.video-16x9 {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

    .video-16x9 iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* ===== Mobile section ===== */
.expositores-mobile {
    display: none;
    padding: 28px 0;
    background: var(--bg);
    border-radius: 20px;
}

    .expositores-mobile .container {
        width: 90%;
        max-width: 1000px;
        margin: 0 auto;
    }

.container-azul {
    background-color: var(--dark-blue, #161D3A) !important; /* fallback */
    border-radius: 16px;
    padding: 20px;
    overflow: hidden; /* se tiver carrossel com borda arredondada */
}

    /* Título em branco dentro do bloco azul (opcional) */
    .container-azul .expo-title-mobile {
        color: #fff;
    }

/* Se quiser que o bloco azul encoste nas bordas do container */
.expositores-mobile .container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}
.expo-title-mobile {
    color: #1a1a26;
    font-size: clamp(30px,4vw,34px);
    text-align: center;
    margin: 5px 0 10px 0;
    font-family: var(--font-serif);
    font-weight: 500;
}

.mySwiperMobile {
    width: 100%;
    margin: 0 auto;
}

    .mySwiperMobile .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .mySwiperMobile .swiper-slide img {
            width: 100%;
            height: auto;
            border-radius: 10px;
            display: block;
        }

    /* Paginação mobile */
    .mySwiperMobile .swiper-pagination-bullet {
        background: #fff;
        opacity: .6;
    }

    .mySwiperMobile .swiper-pagination-bullet-active {
        opacity: 1;
    }

/* ===== Alternância e ajustes responsivos ===== */
/* Mostra mobile até 1199px, desktop a partir de 1200px */

@media (max-width: 900px) {
    .expo-sub {
        text-align: center;
        max-width: 820px;
        margin: 0 auto 0px;
        line-height: 1.5;
        font-size:16px;
        padding:5px 10px;
    }
}

    @media (max-width: 1199px) {
        .expositores {
            display: none;
        }

        .expositores-mobile {
            display: block;
        }
    }
    /* ≤ 760px: 1 slide; imagem centralizada com máx 400px */
    @media (max-width: 760px) {
        .expositores-mobile .swiper-slide {
            width: 100% !important;
            flex-shrink: 0;
        }

            .expositores-mobile .swiper-slide img {
                max-width: 400px;
            }
    }
    /* 761–1199px: 2 slides; imagem pode ter máx 350px e centralizada */
    @media (min-width: 761px) and (max-width: 1199px) {
        .expositores-mobile .swiper-slide img {
            max-width: 350px;
            margin: 0 auto;
        }
    }
