
/*		Mobile Layout: 767px.
---------------------------------------------------------------- */
@media (max-width: 767px) {
   
    /* Start First Session */
    .first-session-home-club h1 {
        font-size:24px !important;
        line-height: 1.1 !important;
    }

    .first-session-home-club  p {
        font-size: 12px !important;
        line-height: 13px !important;
    }

    .first-session-home-club .logo{ 
        width: 45%;
        margin-top: -5%;
    }

    .first-session-publicacao .logo img{
        width: 68%;
        margin-top: 0%;
    }
   

    .first-session-home-club #estrela-clube {
        position: absolute;
        right: 0;
        top: 3%;
        max-width: 160px;
    }

    /* End First Session */
    
    /* Start Two Session */ 

    .two-session-home-club .platform-data {
        font-size: 13px !important;
    }

    .two-session-home-club .platform-data svg{
        max-height: 34px;
    }

    .two-session-home-club p {
        line-height: 14px;
    }

    .two-session-home-club figcaption {
        font-size: 14px;
        padding: 11%;
        top: 50%;
        transform: translateY(-50%);
    }

    .two-session-home-club figure img {
        border-radius: 10px;
        filter: brightness(50%);
        margin: auto;
    }

    .bottom-end-second-session {
        background-image: url("../images/mobile/logo-gdo-translucida-mobile.png");
        background-size: cover;
        margin-top: -20%;
        padding-top: 19%;
        background-position: bottom;
    }

    /* End Two Session */ 

    /* Start Three Session */ 

    .three-session-home-club img {
        right: 0px;
        bottom: 0;
    }
    
    /* End Three Session */ 

    /* Start Four Session */ 

    .four-session-home-club {
        overflow: hidden;
    }

    .four-session-home-club img {
        max-height: 54px;
    }

    /* End Four Session */ 

    /* Start Five Session */

    .five-session-home-club {
        margin-top: -18px;
    }

    .festival-content {
        margin: 0 auto;
    }

    .about-section {
        font-size: 16px;
        line-height: 24px;
    }

    /* End Four Session */ 

    /*Start Videos Session */

    .embed-youtube {
        border-radius: 0;
    }

    .embed-youtube .embed-youtube-play {
        width: 28%;
    }

    /*End Videos Session */

    /* Start Six Session */ 

    #six-session-home-club h2 {
        font-size: 20px;
    }

    #six-session-home-club input:not([type='checkbox']) {
        background: transparent;
        padding: 5%;
        border-radius: 12px;
        font-size: 15px;
    }

    #six-session-home-club input::placeholder {
        color: white;
    }

    #six-session-home-club label {
        font-size: 11px;
        text-align: initial; 
        padding-bottom: 5%;
    }

    #six-session-home-club .select-clube {
        padding: 5%;
    }

    #six-session-home-club {
        background: #0F65CA !important;
    }

    #six-session-home-club .card {
        background: transparent;
        border:none;
    }

    .icons-input i.fa{
        top: 28%;
        font-size: 20px;
    }
    /* End six Session */ 

    /* Start Nine Session */

    .nine-session-home-club {
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../images/mobile/fundo-sessao-fotos.png");
        height: 503px;
        background-repeat:no-repeat;
        background-size: cover;
    }

    .nine-session-home-club h2 {
        font-size: 21px;
    }

    .nine-session-home-club img {
        margin-top: -6%;
    }

    .nine-session-home-club button {
        font-size: 14px;
    }
   
    /* End Nine Session */

    /* Start Footer Session */

    .footer-session-home-club .info-footer {
        font-size: 10px;
    }

    /* End Footer Session */

    /*Start Painel */

    html,
    body {
        overflow: auto !important;
    }

    button.navbar-toggler,button.navbar-toggler:hover {
        background: transparent;
        border: 0px;
    }

    .navbar {
        margin-top: -6%;
        margin-bottom: 6%;
        
    }
    .most-read h2 {
        font-size:40px;
        line-height: 40px;
        margin-bottom: -1%;
    }

    .fourth-session-painel1 h2,
    .fourth-session-painel2 h2 {
        font-size:40px;
        line-height: 40px;
        margin-top: 11%;
        margin-bottom: -10%;
    }

    .fourth-session-painel3 #estrela-clube-left {
        max-width: 100%;
        bottom: auto;
        top: -3%;
        left: -64px;
    }

    .fourth-session-painel h2,
    .fourth-session-painel3 h2 {
        font-size:40px;
        line-height: 40px;
        margin-top: 15%;
        margin-bottom: -22%;
    }

    .fourth-session-painel3 h2 {
        margin-bottom: -38% !important;
    }

    .fourth-session-painel3 .owl-nav button {
        top:27%;
    }
    .owl-nav .owl-next {
        left:83%
    }
    .owl-nav .owl-prev{
        left:0%;
    }
    .navbar-toggler-icon{
        background-image:url('../../../assets/images/clube/iconbar.svg')
    }
    .menu-mobile{
        background: #40167D;
        color:white;
        font-size: 16px;
        line-height: 20px;
    }

    .icons-input.position-relative {
        border-top: 1px solid white;
        padding-top: 10%;
    }

    .form-clube .icons-input.position-relative {
        border-top: 0px;
        padding-top: 0%;
    }
    
    .navbar-nav .icons-input i.fa{
        top: 45%;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered{
        font-size: 1rem;
    }

    span.select2-selection.select2-selection--single{
        padding: 3% 0 5% 3%;
    }

    .navbar-nav .icons-input #search{
        padding:4%;
    }

    .navbar-nav .fa-chevron-down,
    .navbar-nav .fa-chevron-up {
        margin-left: 4%;
    }

    .icons-input .fa-chevron-down {
        top: 25%;
        font-size: 29px;
    }

    .overlay#menu-mobile {
        width: 90%;
        height: 100%;
        position: fixed;
        z-index: 1;
        top: 0;
        right: -500px;
        background: #40167D;
        overflow-x: hidden;
        text-align: left;
        z-index: 999999999;
        color:white;
        transition: right 0.3s ease-in-out;
    }
      
    .overlay#menu-mobile .overlay-content {
        padding: 8%;
    }

    .overlay#menu-mobile button {
        padding: 3% 8%;
        font-size: 14px;
    }
      
    .overlay#menu-mobile a {
        padding: 14px 2px;
        color: white;
        display: -webkit-inline-box;
    }
    
    .navbar-nav .icons-input input {
        color: black !important;
    }
    .navbar-nav  .form-control:focus{
        background:white !important;
    }
    
    li.nav-item.dropdown:hover {
        background: #5C3498;
    }

    .overlay#menu-mobile .closebtn {
        position: absolute;
        top: 0;
        right: 13px;
        font-size: 60px;
    }

    ul.dropdown-menu.show{
        background: #29114c;
    }

    .first-session-painel .logo img{
        width: 68%;
        margin-top: 0%;
    }

    .copiado.homepage,.copiado.categorias{
        width: 100%;
        margin-left: 12%;
        margin-top: -2%;
    }

    .first-session-painel .titulo-destaque {
        font-size: 28px;
        line-height: 32px;
    }

    section.footer p {
        display: inline;
    }
    .footer .info {
        margin-top: 7% !important;
        margin-bottom: -8%;
    }
    .first-session-painel .categorias{
        margin-top: 5%;
        margin-bottom: -5%;
    }
    .categorias .menu{  
        display: none !important;
    }
    .footer .menu{
        display: block;
    }
    /*End Painel */
    
    .publicacao h2 {
        font-size: 26px;
        line-height: 30px;
    }

    .publicacao h3{
        font-size: 18px;
        line-height: 24px;
    }
    
    .publicacao .titulo{
        font-size: 28px;
        line-height: 32px;
    }

    .publicacao .conteudo-publicacao {
        font-size: 16px;
    }
    .ondas-svg  {
        background: url("../../../assets/clube/images/painel/ondas-mobile.png");
        height:13%;
        margin-top: 8%;
    }
    .fourth-session-painel1{
        padding-bottom: 20% !important;
    }
    .fourth-session-painel1{
        margin-bottom: 15%;
    }

    .video button{
        margin-bottom: 4%;
    }
    .video .titulo-videos{
        margin-bottom: 12%;
    }

    .video h2{
        font-size: 40px;
        line-height: 40px;
        margin-top: 10%;
    }

    .publicacao .conteudo-publicacao .imagem-principal-publicacao{
        padding: 0% !important;
        margin: 0 -12px;
        width: auto;
    }

    section.publicacao img{
        max-width: 100% !important;
        border-radius: 0px;
    }

    .publicacao .conteudo-blog img,
    .publicacao .conteudo-blog iframe {
        margin:3%  0;
    }

    .meu-cupom h2{
        font-size: 34px;
    }
    .meu-cupom h3{
        font-size: 16px;
    }

    .sorteios h2{
        font-size: 25px !important;
        text-align: center;
    }

    .card.sorteio{
        width: 100%;
    }

    .sorteios .sem-sorteios img{
        width: 50%;
        margin: 2% 0;
        margin-bottom: 10%;
    }

    .sorteios .sem-sorteios{
        text-align: center;
      
    }
    section.sorteios{
        padding: 3%;
    }
    .card.sorteio .card-body .img-status{
        margin-top: -17%;
    }

    .card-text{ 
        text-decoration: underline;
    }

    .alert.alert-danger.erro-ladding-page{
        margin-left: 5%;
        width: 90%;
        font-size: 13px;
    }

    #carousel-mais-lidos .owl-item.active,
    .fourth-session-painel1 .owl-item.active,
    .fourth-session-painel2 .owl-item.active,
    .fourth-session-painel .owl-item.active{
        width: 305px !important;
        margin-right: 15px
    }

    .cupom{
        margin-left: 0%;
        font-weight: 300;
        width: 50%;
    }

    #copiadoheader2,
    #copiado2,
    .copiado {
        margin-top: 8px;
        position: absolute;
        float:left;
    }

    .nav-bar-mob {
        margin-top: 10%;
    }

    .tela-de-sorteio .card{
        margin-top: 15%;
        width: 100%;
        height: auto;
        margin-bottom: 0%;
    }

    .text-info {
        margin-top: 5%;
    }

    .tela-de-sorteio .card .btn-sorteio{
        width: 100%;
    }

    .vencedores {
        margin-top: -180%;
    }
    
    .col-lg-6 .card.sorteio.sorteio-finalizado.sorteador{
        margin-top: 0%;
        margin-bottom: 5%;
    }

    .card.sorteio.sorteio-finalizado.sorteador .btn-ganhador{
        top:85%;
        bottom:auto;
    }

    .carregando-sorteio{
        margin-top: 35%;
    }

    .tela-de-sorteio .logo img {
        width: 55%;
    }

    canvas#canvas{
        height: 678px !important;
    }

    .vencedores .title {
        margin-top: 15%;
    }

    .subcategorias .shows-e-eventos img{
        height: 335px;
    }

    #search-box-mobile{
        position: static;
        width: 100%;
        margin-left: 0%;
        display: flex;
        border-top: 1px solid #D9D9D9;
        margin-top: 5%;
    }

    #search-box-mobile button{
        margin-top: 7%;
        border-radius: 10px;
        color: #3b1f7a;
        margin-left: -10%;
        background: transparent;
        font-size: 17px !important;
        padding:0 !important;
    }

    #search-input-mobile {
        width: 100%;
        border-radius: 8px;
        border-color: transparent;
        padding: 3%;
        color: #000 !important;
        margin-top: 7%;
    }

    .alert.edicao-user-flash{
        width: 80%;
    }  

    .icons-input.position-relative.input-cidade{
        margin-bottom: 5%;
    }

}

/*		Desktop Layout: 768px to upper
---------------------------------------------------------------- */
@media only screen and (min-width: 768px) {

    /* Start First Session */
    .first-session-home-club .logo{
        width: 45%;
        margin-bottom: 5%;
    }
    .first-session-home-club h1 {
        font-size: 41px;
        line-height: 45px;
    }

    .first-session-home-club p {
        font-size: 20px;
        line-height: 20px;
    }

    .first-session-home-club #estrela-clube {
        right: 0;
        top: 3%;
    }

    /* End First Session */

    /* Start Two Session */
    
    .two-session-home-club p {
        font-size: 20px;
        line-height: 25px !important;
        padding: 3% 16%;
    }

    .two-session-home-club p.title-section {
        font-size: 24px;
        padding:0%;
    }

    .two-session-home-club .padding-title{
        padding: 2% 10%;
    }
    
    .two-session-home-club .platform-data {
        font-size: 13px !important;
    }
    
    .two-session-home-club figure img{
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 30px;
        box-shadow: 0px 4px 4px 0px #0000005c;
    }

    #text-end-two-session {
        padding: 3% 12% !important;
    }

    .bottom-end-second-session {
        background-image: url("../images/desktop/fundo-translucido.png");
        background-repeat: no-repeat;
        background-size: cover;
        margin-top: -10%;
        padding-top: 9%;
        background-position: center center;
    }

    /* End Two Session */

    /* Start Three Session */

    .three-session-home-club {
        box-shadow: 0px 3px 5px 1px #bbbbbb;
    }

    .three-session-home-club .logo-gdo-fundo {
        position: absolute;
        right: 0px;
        bottom: 0px;
    }

    .three-session-home-club p {
        font-size: 25px !important;
        line-height: 25px !important;
    }


    .three-session-home-club #estrela-clube-left {
        margin-top:-2% !important;
        left:0%;
    }

    /* End Three Session */

    /*Start Four Session */
    .four-session-home-club h3 {
        font-size: 2rem;
    }

    .four-session-home-club p {
        font-size: 44px;
        line-height: 45px;
    }

    .four-session-home-club img {
        width: 30% !important;
    }

    .end-session-four {
        margin-top: -5%;
    }
    
    /*End Four Session */

    /* Start Six Session */

    #six-session-home-club {
        background: url('../images/desktop/novo-fundo-festa.jpg');
    }

    #six-session-home-club .card {
        padding: 2%;
        width: 50%;
        background: #0F65CA;
        border-radius: 47px;
    }

    #six-session-home-club input:not([type='checkbox']) {
        background: transparent;
        padding: 4% 5%;
        border-radius: 12px;
        font-size: 20px;
    }

    #six-session-home-club input::placeholder {
        color: white;
    }

    #six-session-home-club input[type='checkbox'] {
        cursor: pointer;
        width: 1.5rem;
        height: 1.5rem;
    }

    #six-session-home-club label {
        font-size: 12px;
        text-align: left; 
        cursor: pointer;
    }
    .select-clube {
        font-size: 20px;
    }
    .icons-input i.fa{
        top: 35%;
        font-size: 25px;
    }
    .icons-input .fa-chevron-down {
        font-size: 35px;
    }
      

    /* End Six Session */
    
    /* Start Seven Session */

    .seven-session-home-club p {
        font-size: 44px !important;
        line-height: 45px;
        color:#0F65CA;
    }

    /* End Seven Session */

    /* Start Eight Session */

    .eight-session-home-club {
        background: #F5EC5A;
        background-image: url('../images/desktop/fundo-riscos-amarelos.png')
    }
    .eight-session-home-club .image-two-session {
        margin-top:-5%;
    }

    /* End Eight Session */

    /*Start Nine Session */

    .nine-session-home-club {
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../images/desktop/fundo-sessao-fotos.png");
        height: 600px;
        background-repeat: no-repeat;
        background-size:cover;
    }

    .nine-session-home-club h2 {
        font-size: 50px;
    }

    .nine-session-home-club img {
        margin-top: -6%;
    }

    .nine-session-home-club a {
        font-size: 24px;
    }

    /* End Nine Session */

    /* Start Footer Session */
    .footer-session-home-club .info-footer {
        font-size: 15px;
    }
    /*End Footer Session */

    .first-session-publicacao .logo img{
        width: 10%;
        margin-top: -20px;
    }

    .most-read h2 {
        margin-bottom:-4%;
        margin-left: 3px;
    }

    .first-session-painel .menu .fa-search:before,
    .first-session-painel .menu .fa-close:before{
        border-left: 1px solid white;
        
    }
    
    .menu .fa-search:before{
        padding-left: 100% !important;
        font-size: 20px;
    }

    .menu .fa-search:before{
        border-left: 1px solid #40167D;
    }

    .categorias .menu .fa-chevron-down {
        margin-left: 12%;
    }

    .fourth-session-painel3 h2 {
        margin-top: 7%;
        margin-bottom: -2%;
    }
    .fourth-session-painel h2,
    .video h2{
        margin-bottom: -2% ;
        font-size: 80px;
    }
   
    .first-session-painel .logo img {
        width: 10%;
    }

    .first-session-painel .titulo-destaque {
        font-size: 40px;
        line-height: 45px;
    }

    .publicacao h2 {
        font-size: 40px;
        line-height: 45px;
    }

    .publicacao h3{
        font-weight: 600;
        font-size: 24px;
    }
    .publicacao .titulo{
        font-size: 40px;
        line-height: 45px;
    }

    .publicacao .conteudo-blog img,
    .publicacao .conteudo-blog iframe {
        margin:3%  0;
    }

    .publicacao .conteudo-publicacao {
        font-size: 15px;
    }

    .publicacao .resumo {
        font-size: 17px;
    }

    .ondas-svg  {
        background: url("../../../assets/clube/images/painel/ondas.png") ;
        height:11%;
        margin-top: -1%;
    }
    
    .ondas-footer  {
        margin-top: 47px;
    }
   
    #carousel-mais-lidos .owl-nav button{
        margin-left: -48px;
    }

    .rede-social-footer a {
        float:right
    }

    .meu-cupom h2{
        font-size: 60px;
    }
    .meu-cupom h3{
        font-size: 27px;
    }
    
    .meu-cupom .observacao{
        font-size: 16px;
    }

    .sorteios h2{
        font-size: 45px  !important;
    }
    .card.sorteio{
        width: 18rem;
    }
    .sorteios .sem-sorteios {
        text-align: center;
        height: 50vh;
        margin-bottom: 2%;
    }
    .sorteios .sem-sorteios h2{
        text-align: center;
    }
    .sorteios .sem-sorteios img{
        width: 25%;
    }

    .card.sorteio .card-body .img-status{
        margin-top: -20%;
    }
    .card-text:hover{
        text-decoration: underline;
        cursor: pointer;
    }

    .cupom.categorias{
        margin-top: -11%;
        margin-bottom: -10%;
    }
    
    .cupom span#codigo{
        color: #FFF;
        font-weight: bold;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        margin-bottom: 0;
    }

    .first-session-publicacao button{
        margin-top: -12% !important;
    }

    .cupom.categorias{
        margin-top: 1%;
    }

    .carregando-sorteio{
        margin-top:5%;
    }

    .card.sorteio.sorteio-finalizado.sorteador {
        left: 50%;
        transform: translate(-50%, 0%);
    }
        
}

/*	Small Desktop Layout: 768px to 1199px */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .first-session-home-club #estrela-clube {
        max-width: 480px;
        top: 7%;
    }
}

/* ===== Carterinha GDO — responsivo ===== */

/* Desktop — tela grande sobra espaço, então o cartão pode ser maior e mais legível */
@media (min-width: 992px) {
    .carterinha-card {
        max-width: 680px;
        padding: 34px 42px;
    }

    .carterinha-card__nome {
        font-size: 34px;
    }

    .carterinha-card__badge {
        font-size: 13px;
        padding: 8px 16px;
    }

    .carterinha-card__valor {
        font-size: 20px;
    }

    .carterinha-card__qrcode #carterinha-qrcode canvas,
    .carterinha-card__qrcode #carterinha-qrcode img {
        width: 100px;
        height: 100px;
    }

    .carterinha-card__qrcode-legenda {
        font-size: 11px;
    }

    .carterinha-card__strip {
        padding: 12px 42px;
        font-size: 12px;
    }
}

/* Celular deitado — modo "crachá": some o resto da página e a carterinha aparece grande e inteira, sem cortar.
   A altura do cartão é automática (baseada no conteúdo, com um teto de segurança) em vez de calculada por
   proporção fixa — isso evita conteúdo se sobrepondo quando a tela é mais baixa/estreita que o previsto. */
@media (orientation: landscape) and (max-height: 500px) {
    html, body {
        height: 100%;
        overflow: hidden;
    }

    .first-session-painel,
    .footer,
    .footer-end-footer,
    .carterinha-intro,
    .carterinha-dica {
        display: none !important;
    }

    main {
        margin: 0;
    }

    .carterinha-section {
        padding: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carterinha-section .container {
        max-width: 100%;
        width: 100%;
        padding: 0 3vw;
    }

    .carterinha-card {
        position: relative;
        width: min(680px, 92vw);
        max-height: 94dvh;
        aspect-ratio: auto;
        max-width: none;
        margin: 0 auto;
        padding: 5vh 5vh 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 2vh;
        overflow-y: auto;
    }

    .carterinha-card__nome {
        font-size: 28px;
    }

    .carterinha-card__valor {
        font-size: 17px;
    }

    .carterinha-card__qrcode #carterinha-qrcode canvas,
    .carterinha-card__qrcode #carterinha-qrcode img {
        width: 96px;
        height: 96px;
    }

    .carterinha-card__qrcode-legenda {
        display: none;
    }

    /* a faixa deixa de ficar sobreposta (position: absolute) e passa a ocupar seu próprio espaço no final do cartão */
    .carterinha-card__strip {
        position: static;
        margin: 0 -5vh;
        padding: 1.4vh 5vh;
    }
}

/* Celular em pé — cartão menor, mantendo a proporção de cartão físico */
@media (max-width: 575px) {
    .carterinha-card {
        max-width: 400px;
        padding: 22px 22px;
        border-radius: 18px;
    }

    .carterinha-card__nome {
        font-size: 20px;
    }

    .carterinha-card__logo {
        height: 40px;
    }

    .carterinha-card__badge {
        font-size: 10px;
        padding: 5px 10px;
    }

    .carterinha-card__valor {
        font-size: 14px;
    }

    .carterinha-card__strip {
        padding: 8px 22px;
        font-size: 10px;
    }

    .carterinha-card__body {
        gap: 10px;
    }

    .carterinha-card__qrcode #carterinha-qrcode canvas,
    .carterinha-card__qrcode #carterinha-qrcode img {
        width: 56px;
        height: 56px;
    }

    .carterinha-card__qrcode-legenda {
        display: none;
    }
}