

:root {
       /* 
     * Paleta revisada 
     * Dica: Você pode ajustar a saturação ou a luminosidade conforme a necessidade
     */
    
    /* Cores principais - suaves */
    --primary-green:   #3A945E;  /* Verde suave */
    --primary-red:     #D86565;  /* Vermelho suave */
    --primary-yellow:  #ffc701;  /* Amarelo dourado suave */
    --primary-blue:    #2f4de0;  /* Azul suave */
  
    /* Cores secundárias - ainda mais claras (para hover, destaque etc.) */
    --secondary-black: #000;  /* Verde claro */
    --secondary-red:   #E27E7E;  /* Vermelho claro */
    --secondary-yellow:#F5D07B;  /* Amarelo claro */
    --secondary-blue:  #2f4de0;  /* Azul claro */
  
    /* Cores de suporte */
    --primary-dark:    #2f4de0;  /* Escuro para textos */
    --primary-light:   #F8FAFC;  /* Claro para fundos */
  
    /* Cores para Header claro e texto escuro */
    --header-bg:       var(--primary-light);
    --header-text:     #ffc903
  }
  
  /* Exemplo de uso no header com fundo branco e texto preto */
  header {
    background-color: var(--header-bg-light);
    color: var(--text-dark);
    padding: 1rem;
    text-align: center;
    /* Crie um contraste legal no limite inferior */
    border-bottom: 4px solid var(--gradient-purple);
  }
  
  /* Se quiser um header com gradiente “irado”, troque por algo assim: */
  /*
  header {
    background: linear-gradient(
      90deg,
      var(--gradient-pink) 0%,
      var(--gradient-purple) 100%
    );
    color: var(--text-light);
    padding: 1rem;
    text-align: center;
  }
  */
  
  /* Exemplo de seções ou banners com gradiente pink->roxo e texto branco */
  .section-gradient {
    background: linear-gradient(
      45deg,
      var(--gradient-pink),
      var(--gradient-purple)
    );
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
  }
  
  /* Botões com fundo gradiente, texto branco */
  .btn-gradient {
    background: linear-gradient(
      45deg,
      var(--gradient-pink),
      var(--gradient-purple)
    );
    color: var(--text-light);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    cursor: pointer;
  }
  
  /* Hover para “acender” o gradiente */
  .btn-gradient:hover {
    filter: brightness(110%);
  }
  
  /* Para um botão branco com texto pink-roxo */
  .btn-white {
    background-color: var(--text-light);
    color: var(--gradient-pink);
    border: 2px solid var(--gradient-pink);
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .btn-white:hover {
    color: var(--gradient-purple);
    border-color: var(--gradient-purple);
  }



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* Para scroll suave nas âncoras */
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}
.maskLoader{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: #00000096;
    top: 0;
    display: none;
}
/* HTML: <div class="loader"></div> */
.loader-animation {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: 
      radial-gradient(farthest-side,#ffa516 94%,#0000) top/8px 8px no-repeat,
      conic-gradient(#0000 30%,#ffa516);
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
    animation: l13 1s infinite linear;
    margin: 0 auto;
  }
  @keyframes l13{ 
    100%{transform: rotate(1turn)}
  }

/* HTML: <div class="loaderInfo"></div> */
.loaderInfo {
    display: inline-block;
    font-weight: bold;
    font-family: monospace;
    font-size: 30px;
    color: #fff;
    background: linear-gradient(90deg, #000 25%, #ffa516 0 50%, #ffa516 0 75%, #ffa516 0) 0 0 / 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: l10 5s infinite cubic-bezier(0.3, 1, 0, 1);
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    text-align: center;
}
.loaderInfo:before {
    content: "Aguarde...";
    animation: textChange 10s infinite;
}

@keyframes textChange {
    0%, 25% {
        content: "Aguarde...";
    }
    26%, 50% {
        content: "Estamos verificando a nota fiscal...";
    }
    51%, 75% {
        content: "Processando as informações para gerar seu número da sorte...";
    }
    76%, 100% {
        content: "Quase lá! Concluindo o processo...";
    }
}
@keyframes l10 {
    25% {background-position: calc(1*100%/3) 0}
    50% {background-position: calc(2*100%/3) 0}
    75% {background-position: calc(3*100%/3) 0}
    100%{background-position: calc(4*100%/3) 0}
}

/* Header Fixo */
.header {
    background-color: var(--primary-dark);
    color: var(--primary-light);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.logo {
    height: 75px;
}
.logo img{
    max-width: 100%;
    margin-top: 1rem;

}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-links a:hover {
    color: var(--secondary-blue);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #93c5fd;
}

/* Seções */
section {

}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000096;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#invoiceKey{
    display: none;
}

.modal-content {
    background-color: #fff;
    color: #000;
    padding: 20px;
    max-width: 90%;
    border-radius: 8px;
    text-align: center;
    width: 800px;
    max-height: 90vh;
    overflow: auto;
}

.qr-reader {
    border: 2px solid #000;
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
}

#qr-reader-modal {
    width: 100%;
}

#video {
    width: 90%;
    border: 2px solid #000;
    border-radius: 12px;
    margin: 0 auto;
}


input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}
/* Banner */
#inicio {
    color: var(--primary-light);
    padding-top: 8rem; /* Compensar o header fixo */
    text-align: center;
    z-index: 1;
    position: relative;
}
.banner p,.banner h1{
    display:none;
}
@media screen and (max-width: 768px) {
    .banner {
      background: url("../image/banner-home-example-prefeitura.png") no-repeat center top;
      background-size: contain;
      background-color: transparent;
      position: relative;
      max-width: 371px;
      height: 452px;
      border-radius: 30px;
      overflow: hidden;
      box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
      margin: 0 auto;
      z-index: 0;
    }
  }
  
  /* Estilos para PC (desktop) */
  @media screen and (min-width: 769px) {
    .banner {
      /* Exemplo de ajustes diferentes para desktop */
      background: url("../image/banner-home-example-prefeitura.png") no-repeat center center;
      background-size: cover; /* em desktops pode cobrir toda a área */
      max-width: 800px;       /* exemplo de largura maior */
      height: 768px;          /* exemplo de altura maior */
      margin: 0px auto;      /* maior espaçamento externo */
      border-radius: 20px;    /* pode reduzir o “arredondamento” */
      box-shadow: 8px 8px 40px rgba(0, 0, 0, 0.25); /* sombra adaptada */
      position: relative;
      z-index: 0;
      /* Demais propriedades adicionais desejadas */
    }
  }
  
  /* Efeito azul com pseudo-elemento */
  .banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente em tons de azul */
   
    pointer-events: none; 
    z-index: 1; /* Fica sobre a imagem, mas abaixo de outros conteúdos do .banner */
  }
 h2 {
   padding:2rem 0 0 0;
}
.banner h1,.banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0;
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}
.btn-yellow {
    background-color: var(--primary-gold);
    color: var(--primary-light);
}

.btn-yellow:hover {
    background-color: var(--secondary-gold);
}

.btn-blue {
    background-color: var(--primary-dark);
    color: var(--primary-light);
}

.btn-blue:hover {
    background-color: var(--secondary-blue);
    color: var(--primary-yellow);

}

.btn-red {
    background-color: var(--primary-red);
    color: var(--primary-light);
}
.btn-red:hover {
    background-color: var(--secondary-red);
}

.btn-green {
    background-color: var(--primary-green);
    color: var(--primary-light);
}

.btn-green:hover {
    background-color: var(--secondary-green);
}


/* Próximo Sorteio */
#proximo-sorteio {
    background-color: var(--primary-lighty);
    color: var(--primary-dark);
}

.next-draw, .finished-lotteries{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    /* remove ou mude flex-direction para row */
    flex-direction: row; /* aqui está a mudança principal */
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.hero {
    position: relative;
    width: 400px;
    min-width: 400px;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
    margin: 30px;
}

.hero-profile-img {
    background-size: cover;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
}

.hero-description-bk {
    background-image: linear-gradient(-20deg , #140dda, #342df2);
    /*    background-image: linear-gradient(-20deg , #ff901e, #ffc701);
*/
    border-radius: 30px;
    position: absolute;
    top: 55%;
    left: -5px;
    height: 65%;
    width: 108%;
    transform: skew(19deg, -9deg);
}


.hero-logo {
    background-size: cover;
    height: 80px;
    width: 80px;
    border-radius: 20px;
    position: absolute;
    bottom: 30%;
    left: 30px;
    overflow:hidden;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.7);
}

.hero-description {
    position: absolute;
    color: #fff;
    font-weight: 900;
    left: 150px;
    bottom: 35%;
}

.hero-btn-awards {
    position: absolute;
    color: #fff;
    right: 30px;
    bottom: 20%;
    padding: 10px 20px;
    border: 1px solid #fff;
}

.hero-btn-rules {
    position: absolute;
    color: #fff;
    right: 30px;
    bottom: 5%;
    padding: 10px 20px;
    border: 1px solid #fff;
}

.hero-btn-rules  a,.hero-btn-awards a {
    color: #fff;
}

.hero-date {
    position: absolute;
    color: #fff;
    left: 30px;
    bottom: 10%;
    text-align: left;
}
/* END CARD DESIGN */

/* Sorteios */
#sorteios {
    background-color: #f3f4f6;
    color: var(--primary-dark);
}

/* Dúvidas */
#duvidas {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--primary-light);
    padding: 3rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer a {
    color: var(--primary-light);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}
.footer a:hover {
    color: var(--secondary-yellow);

}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    gap: 2rem;
}
/* Seção de Dúvidas */
.question-wrapper1 {
    background: var(--primary-light);
    border-radius: 10px;
    padding: 2rem;
}

/* Estilo das Tabs */
.tabitem{
    display: none
}
.question-tab {
    margin-bottom: 2rem;
}

.tablinks {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.tablinks .links {
    margin: 0;
}

.tablink {
    background: none;
    border: 1px solid var(--primary-blue);
    color: var(--primary-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tablinks .links.active .tablink,
.tablink:hover {
    background: var(--primary-blue);
    color: var(--primary-light);
}

/* Estilo do Accordion */
.accordion-single {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.accordion-btn {
    background: none;
    border: none;
    padding: 1rem 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.header-area {
    margin: 0;
}

.fs20 {
    font-size: 1.25rem;
}

.fw_700 {
    font-weight: 700;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.accordion-single.active .faq-icon {
    transform: rotate(180deg);
}

.tabcontents .active {
    display: block!important;
}

.content-area {
    padding: 1rem;
    display: none;
}

.content-body p {
    color: var(--primary-dark);
    opacity: 0.8;
    margin: 0;
}

/* Estilos do Título */
.section__title {
    margin-bottom: 3rem;
}

.subtitle-head {
    margin-bottom: 1rem;
}

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

.display-four {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.act4-clr {
    color: var(--primary-gold);
}

.act4-underline {
    position: relative;
}

.act4-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
}

/* Classes Utilitárias */
.pt-120 {
    padding-top: 7.5rem;
}

.pb-120 {
    padding-bottom: 7.5rem;
}
.limiter {
    width: 100%;
    margin: 0 auto;
}

.container-table100 {
    width: 100%;
    min-height: 100vh;
    background: #c850c0;
    background: -webkit-linear-gradient(45deg, #4158d0, #c850c0);
    background: -o-linear-gradient(45deg, #4158d0, #c850c0);
    background: -moz-linear-gradient(45deg, #4158d0, #c850c0);
    background: linear-gradient(45deg, #4158d0, #c850c0);

    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 33px 30px;
}

.wrap-table100 {
    padding-top: 10px;
}

table {
    border-spacing: 1;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
table * {
    position: relative;
}
table td, table th {
    padding-left: 8px;
}
table thead tr {
    height: 60px;
    background: var(--primary-blue);
}
table tbody tr {
    height: 50px;
}
table tbody tr:last-child {
    border: 0;
}
table td, table th {
    text-align: left;
}
table td.l, table th.l {
    text-align: right;
}
table td.c, table th.c {
    text-align: center;
}
table td.r, table th.r {
    text-align: center;
}


.table100-head th{
    font-size: 18px;
    color: #fff;
    line-height: 1.2;
    font-weight: unset;
}

tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

tbody tr {
    font-size: 15px;
    color: #808080;
    line-height: 1.2;
    font-weight: unset;
}

tbody tr:hover {
    color: #555555;
    background-color: #f5f5f5;
    cursor: pointer;
}

.column1 {
    width: 260px;
    padding-left: 40px;
}

.column2 {
    width: 160px;
}

.column3 {
    width: 245px;
}

.column4 {
    width: 110px;
    text-align: right;
}

.column5 {
    width: 170px;
    text-align: right;
}

.column6 {
    width: 222px;
    text-align: right;
    padding-right: 62px;
}


@media screen and (max-width: 992px) {
    table {
        display: block;
    }
    table > *, table tr, table td, table th {
        display: block;
    }
    table thead {
        display: none;
    }
    table tbody tr {
        height: auto;
        padding: 37px 0;
    }
    table tbody tr td {
        padding-left: 40% !important;
        margin-bottom: 24px;
    }
    table tbody tr td:last-child {
        margin-bottom: 0;
    }
    table tbody tr td:before {
        font-family: OpenSans-Regular;
        font-size: 14px;
        color: #999999;
        line-height: 1.2;
        font-weight: unset;
        position: absolute;
        width: 40%;
        left: 30px;
        top: 0;
    }
    #tableCheck tbody tr td:nth-child(1):before {
        content: "Número";
    }
    #tableCheck tbody tr td:nth-child(2):before {
        content: "Documento";
    }
    #tableCheck tbody tr td:nth-child(3):before {
        content: "Concurso";
    }
    #tableCheck tbody tr td:nth-child(4):before {
        content: "Sorteio";
    }
    #tableCheck tbody tr td:nth-child(5):before {
        content: "Válido";
    }
    #tableCheck tbody tr td:nth-child(6):before {
        content: "Total";
    }

    #tableAwards tbody tr td:nth-child(1):before {
        content: "Quantidade";
    }
    #tableAwards tbody tr td:nth-child(2):before {
        content: "Descrição";
    }
    #tableAwards tbody tr td:nth-child(3):before {
        content: "Valor";
    }
    #tableAwards tbody tr td:nth-child(4):before {
        content: "Total";
    }
    .column4,
    .column5,
    .column6 {
        text-align: left;
    }

    .column4,
    .column5,
    .column6,
    .column1,
    .column2,
    .column3 {
        width: 100%;
    }

    tbody tr {
        font-size: 14px;
    }
    .next-draw, .finished-lotteries {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .container-table100 {
        padding-left: 15px;
        padding-right: 15px;
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.alertModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.alertModal .modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
}

ul.error-list {
    list-style-type: disc; /* Muda o estilo dos marcadores */
    padding-left: 20px; /* Adiciona recuo para os itens */
    color: red; /* Deixa o texto dos erros em vermelho */
}

ul.error-list li {
    margin-bottom: 5px; /* Adiciona um espaço entre os itens */
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 1rem;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }


    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem;
        width: 100%;
        text-align: center;
    }

    /* Menu hambúrguer animado */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .menu-toggle span {
        background-color: var(--primary-gold);
    }

    .nav-links a:hover {
        background-color: var(--primary-gold);
        color: var(--primary-dark);
    }
    .tablinks {
        flex-direction: column;
    }

    .tablink {
        width: 100%;
        text-align: center;
    }

    .display-four {
        font-size: 2rem;
    }

    .question-wrapper1 {
        padding: 1rem;
    }
}
