@media (max-width: 768px) {

    /* Ajustes do header mobile */
    .hder {
        height: 70px;
    }

    .container-header {
        padding: 0 15px;
    }

    .header-logo img {
        height: 35px;
    }

    .header-text {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    body {
        padding-top: 70px;
    }

    /* Menu lateral ajustado para mobile */
    .menu {
        width: 70%;
        max-width: 300px;
        padding-left: 20px;
    }

    /* Seções */
    .video-section {
        display: none;
    }

.video-section-resp {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-image: url('img_002.png');
        background-size: cover;
        background-position: center center; /* Centraliza o background */
        background-repeat: no-repeat;
        width: 100%;
        min-height: 100vh;
        height: auto;
        position: relative;
        text-align: center; /* Centraliza texto */
    }

    #background-video {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Centraliza o vídeo */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .video-coca {
        width: 100%;
        max-width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .video-section-resp .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 20px;
        margin: 0 auto;
        text-align: center;
        position: relative;
        z-index: 10;
    }

    .content h2 {
        font-size: 51px;
        padding: 20px 0;
        margin: 0 auto;
        text-align: center;
    }

    .logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        position: relative;
        margin: 20px 0;
    }

    .logo img {
        width: 145px;
        position: relative; /* Remove absolute */
        right: auto; /* Remove right */
        top: auto; /* Remove top */
        margin: 0 auto;
    }

    .tit-1 {
        margin: 0;
        padding-top: 10px;
    }

    .logo img {
        width: 145px;
        position: absolute;
        right: 148px;
        top: 0px;
    }

    .bn1 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .resp-ban {
        background-image: url('carreta-caravana-de-natal.webp');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 50vh;
    }

    #popup-container {
        position: absolute;
        height: 100%;
        z-index: 999;
    }

    #popup-content {
        width: 80%;
    }

    .sec-01 {
        margin-top: 0;
        height: 30vh;
    }

    .sec-02t {
        margin-left: 0;
    }

    .head-form {
        margin: 0;
        padding: 10px;
        max-width: 100%;
    }

    /* CORREÇÃO: Caminhão visível no mobile */
    .truck {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
        padding: 20px 10px 0 10px;
    }
    
    .truck img {
        width: 100%;
        max-width: 400px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .sec-03 {
        background-image: url('carreta-caravana-de-natal-df.webp');
        background-size: cover;
        background-position: center;
        height: 37vh;
    }

    .sec-03 p {
        text-align: center;
    }

    .sec-02-2 {
        padding-top: 60px;
        display: block;
        max-width: 100%;
    }

    .video-section-resp .content {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        height: 100%;
        padding-bottom: 50px;
    }
    
    .btn-rotas-natal {
    position: absolute !important;
    left: 47% !important;
    transform: translateX(-50%) !important;
    bottom: 15% !important; /* 15% do fundo do container pai */
    margin: 0 !important;
    z-index: 50;
    padding: 15px 35px;
    font-size: 16px;
    white-space: nowrap;
}
    
    .desktop-btn {
        display: none;
    }
    
    p.data {
        font-size: 16px!important;
        font-weight: 300!important;
    }

    /* ================================
       FILTRO INSTAGRAM - MOBILE COM TAMANHO ORIGINAL
       ================================ */
    .filtro-insta {
        padding: 40px 10px !important;
        overflow-x: auto; /* Permite scroll horizontal se necessário */
        -webkit-overflow-scrolling: touch; /* Scroll suave no iOS */
    }
    
    .filtro-container {
        max-width: 100%;
        min-width: 380px; /* Garante espaço mínimo para as duas imagens */
    }
    
    .filtro-title {
        font-size: 18px !important;
        margin-bottom: 25px !important;
        padding: 0 10px;
    }
    
    /* IMPORTANTE: Mantém imagens com tamanho original */
    .filtro-images {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
        justify-content: center !important;
        align-items: flex-start !important;
        min-width: 360px; /* 170 + 170 + 20 (gap) */
    }
    
    .filtro-item {
        flex: 0 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .filtro-img {
        width: 170px !important; /* TAMANHO ORIGINAL */
        height: 330px !important; /* TAMANHO ORIGINAL */
        flex-shrink: 0; /* Impede que as imagens encolham */
    }
    
    .filtro-btn {
        font-size: 11px !important;
        padding: 12px 20px !important;
        min-width: 150px !important;
    }
    
    .social-icon-round {
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }
    
    .social-icon-round svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .filtro-handle {
        font-size: 14px !important;
    }

    .accordion-item {
        background: #950000;
    }

    /* Formulários */
    .tit-form {
        padding: 0;
    }

    .t-5 {
        font-size: 45px;
        margin: 0;
    }

    body {
        width: 100%;
    }

    /* Ajuste da seção do formulário com caminhão no topo */
    .sec-form {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        display: block;
        padding-top: 0;
    }
    
    .sec-02 {
        text-align: center;
        padding: 0 10px 40px 10px;
        background-image: none;
        display: flex;
        flex-direction: column-reverse; /* Inverte ordem para caminhão aparecer primeiro */
        align-items: center;
    }

    .sec-02 p {
        font-size: 15px;
        padding-right: 0;
        padding: 20px 0;
        font-weight: 800;
    }

    .form-cid {
        overflow: auto;
    }

    .for {
        overflow: auto;
        padding: 20px;
    }

    .T-1 {
        font-size: 40px;
        font-weight: 200;
        text-align: center;
        margin-top: 50px;
        margin-bottom: 18px;
        padding-top: 0px;
        padding: 0 20px;
    }

    .btn {
        line-height: 50px;
        height: 50px;
        text-align: center;
        width: 100%;
        cursor: pointer;
        padding: 0 10px;
    }

    iframe {
        border-radius: 16px;
        margin: 38px 5% 10px !important;
        width: 90% !important;
    }

    .sec-form {
        background-position: 45%;
    }

    .t-2 {
        font-size: 50px;
        text-align: left;
    }

    .sec-cont-form {
        padding: 20px;
        margin: 0;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    .Txt-head {
        width: 100%;
    }

    .column-2 {
        float: left;
        width: 100%;
        background: #e90013;
        margin-bottom: 20px;
    }

    #mapa-imagem {
        width: 100% !important;
    }

    .coca-cola-wave {
        width: 100%;
        height: 92px;
        background-repeat: repeat-x;
        position: relative;
        background-color: #e90013;
        background-image: url('bg-fita.png');
        background-size: contain;
        background-position: center;
        overflow: hidden;
    }

    #cidade-select {
        padding: 10px;
        font-size: 20px;
        display: block;
        color: #e90013;
        font-weight: 600;
    }

    #cidade-form {
        margin: 0;
    }

    #cidade-info {
        padding: 20px;
    }

    #cidade-info img {
        width: 100%;
    }

    /* Ajuste do mapa no mobile */
    #mapa-container {
        padding: 30px 15px 40px 15px;
        margin-top: 20px; /* Espaço entre a obs e o título do mapa */
    }
    
    #mapa-container h4 {
        font-size: 18px;
        margin: 0 0 15px 0;
        padding: 0 10px;
    }
    
    #mapa-iframe-wrapper iframe {
        height: 450px; /* Altura menor para mobile */
    }
    
    /* Ajusta altura do cidade-info para evitar sobreposição */
    #cidade-info {
        height: auto !important; /* Remove altura fixa */
        min-height: 350px;
        padding-bottom: 20px;
    }

    .t-4 {
        font-size: 18px;
        margin-top: 0;
    }

    /* Acordeão */
    .perg {
        padding: 40px 20px;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        background-image: none;
    }

    .perg-2 {
        padding: 0 15px;
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .accordion {
        width: 100%;
        display: block;
        overflow: hidden;
        text-align: left;
    }

    .accordion-item h2 {
        font-size: 15px;
        padding: 10px;
    }

    /* Footer */
    .pre-footer {
        background-image: url('Ativo-2.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #e90013;
        height: 40vh;
        display: block;
    }

    .footer {
        display: flex;
        height: auto;
        margin-top: -2px;
    }

    .ft-1 {
        margin: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .ft-cont {
        width: 100%;
        margin-bottom: 50px;
    }

    .ft-cont img {
        width: 60%;
    }

    .footer-1 {
        margin-top: -306px;
        background-position: center;
        background-size: cover;
    }

    .video-section-resp {
        position: relative;
        overflow: hidden;
        margin-top: 20px;
    }

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

    .video-container video {
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .content {
        position: relative;
        z-index: 1;
        padding: 2rem;
        padding-top: 260px;
    }

    .menu ul li a {
        font-size: 16px;
    }
}

/* Responsivo para telas médias */
@media (max-width: 1024px) {
    .header-text span {
        font-size: 20px;
    }
}

/* Mostrar texto central em tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-text {
        display: block;
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 480px) {
    .perg-2 {
        padding: 0 10px;
    }
    
    .perg {
        padding: 0px 10px 30px 10px;
    }

    .header-text {
        display: none;
    }
    
    .header-logo img {
        height: 60px;
    }
    
    .menu {
        width: 85%;
        max-width: 280px;
    }
    
    .video-section-resp {
        background-position: center center; /* Mantém centralizado */
        background-size: cover;
        min-height: 80vh;
    }
    
    /* Ajuste do caminhão para telas menores */
    .truck img {
        max-width: 320px;
    }
    
    /* Filtro Instagram - Mantém tamanho original */
    .filtro-images {
        gap: 15px !important; /* Reduz um pouco o gap para caber melhor */
    }
    
    .filtro-img {
        width: 170px !important; /* TAMANHO ORIGINAL MANTIDO */
        height: 330px !important; /* TAMANHO ORIGINAL MANTIDO */
    }
    
    .filtro-btn {
        font-size: 12px !important;
        padding: 10px 15px !important;
    }
    
    .social-icon-round {
        width: 60px !important;
        height: 60px !important;
        font-size: 28px !important;
    }
    
    .social-icon-round svg {
        width: 26px !important;
        height: 26px !important;
    }

    #mapa-container {
        padding: 25px 10px 30px 10px;
    }
    
    #mapa-container h4 {
        font-size: 16px;
        margin: 0 0 12px 0;
    }
    
    #mapa-iframe-wrapper iframe {
        height: 400px; /* Altura ainda menor */
    }
}

/* Smartphones muito pequenos */
@media (max-width: 360px) {
    /* Ajuste do caminhão para telas muito pequenas */
    .truck {
        padding: 15px 5px 0 5px;
    }
    
    .truck img {
        max-width: 280px;
    }
    
    /* Filtro Instagram - Força scroll horizontal em telas muito pequenas */
    .filtro-insta {
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .filtro-images {
        gap: 10px !important; /* Gap mínimo */
        padding: 0 5px;
    }
    
    .filtro-img {
        width: 170px !important; /* SEMPRE 170px */
        height: 330px !important; /* SEMPRE 330px */
    }
    
    .filtro-btn {
        font-size: 9px !important;
        padding: 8px 12px !important;
    }
    .video-section-resp {
        background-position: center center; /* Mantém centralizado */
    }
}
/* Mobile - mantém mesma proporção */
@media (max-width: 768px) {
    .btn-rotas-natal {
        position: absolute !important;
        left: 47% !important;
        transform: translateX(-50%) !important;
        bottom: 12% !important; /* Ajuste proporcional para mobile */
        margin: 0 !important;
        padding: 12px 25px;
        font-size: 13px;
    }
    
    /* Remove estilos conflitantes do código original */
    .video-section-resp .content {
        padding-bottom: 20px; /* Reduz padding que estava empurrando o botão */
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .btn-rotas-natal {
        position: absolute !important;
        left: 47% !important;
        transform: translateX(-50%) !important;
        bottom: 14% !important;
        padding: 14px 30px;
        font-size: 15px;
    }
}

/* Smartphones pequenos */
@media (max-width: 480px) {
    .btn-rotas-natal {
        position: absolute !important;
        left: 47% !important;
        transform: translateX(-50%) !important;
        bottom: 60% !important;
        padding: 12px 25px;
        font-size: 13px;
    }
}

/* Smartphones muito pequenos */
@media (max-width: 360px) {
    .btn-rotas-natal {
        position: absolute !important;
        left: 47% !important;
        transform: translateX(-50%) !important;
        bottom: 8% !important;
        padding: 10px 20px;
        font-size: 12px;
    }

    #mapa-container {
        padding: 20px 8px 25px 8px;
    }
    
    #mapa-iframe-wrapper iframe {
        height: 350px;
    }
}

@media (max-width: 768px) {
    /* Ajuste do body para mobile */
    body {
        padding-top: 0;  /* Removido padding-top: 70px */
    }
    
    .hder {
        height: 70px;
    }
}
