  body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100vw;
    height: fit-content;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: var(--cor1);
  }

  nav {
    padding: 10px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 8vh;
    background-color: var(--cor5);
    color: var(--cor2);
    font-weight: 600;
    font-size: 1vw;
    position: fixed;
    z-index: 2;
    animation: slideDown 1s ease;
  }

  .logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .logos img {
    width: 10vw;
  }

  .nav-mobile {
    display: none;
  }

  nav img {
    width: 180px;
    height: auto;
  }

  nav a,
  footer a {
    text-decoration: none;
    color: var(--cor2);
  }

  #ola-perfil {
    text-align: center;
  }

  .links {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
  }

  nav a {
    height: 100%;
    display: flex;
    align-items: center;
  }

  nav a:hover {
    border-bottom: 5px solid var(--cor4);
  }

  .container-banner {
    display: flex;
    align-items: start;
    justify-content: end;
    padding: 50px 0;
    width: 100vw;
    height: 113vh;
    position: relative;
    background: url('../img/banner_desktop.png') no-repeat center center;
    background-size: cover;
  }

  .container-banner.marceneiro {
    margin-top: 3%;
    background: url('../img/banner_desktop2.png') no-repeat center center;
    background-size: cover;
  }

  .container-banner.vendedor {
    margin-top: 3%;
    background: url('../img/banner_desktop2.jpg') no-repeat center center;
    background-size: contain;
  }

  .container-banner.produtos>#container1 {
    margin-top: 2%;
  }

  .container-banner.produtos #child1 {
    height: 60vh;
  }

  #lista-produtos {
    width: 100%;
    padding: 0 5px;
    max-height: 80%;
    overflow: auto;
    font-size: 20px;
  }

  .container-banner.faq {
    height: fit-content;
    background: var(--cor1);
    align-items: center;
    justify-content: center;
  }

  .btn-principal {
    all: unset;
    cursor: pointer;
    width: 30%;
    font-size: 1.3vw;
    text-align: center;
    background-color: var(--cor4);
    padding: 20px 60px;
    color: var(--cor1);
    transition: ease 0.3s;
    font-weight: 700;
  }

  .btn-principal:hover {
    transform: scale(1.05);
  }

  #btn-vendedores {
    background-color: var(--cor2);
  }

  #container1 {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-top: 10%;
    width: 90%;
  }

  #child1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: auto;
    padding: 20px;
    gap: 10px;
    animation: scaleIn 1s ease;
  }

  #child1 h1 {
    font-size: 2vw;
    margin-bottom: 2vw;
    text-align: center;
  }

  #child1 h1,
  #child1 h2 {
    color: var(--cor4);
  }

  img {
    user-select: none;
  }

  #btn-participe {
    all: unset;
    background-color: var(--cor4);
    padding: 20px 20%;
    color: black;
    margin-top: 10%;
    cursor: pointer;
    transition: ease 0.3s;
  }

  #btn-participe:hover {
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.183);
  }

  #child2 img {
    width: 100%;
    z-index: 2;
  }

  #child2 {
    position: relative;

  }

  #child2::before {
    content: '';
    display: flex;
    position: absolute;
    width: 88%;
    height: 75%;
    background-color: var(--cor4);
    z-index: 1;
  }

  #bottom-style1 {
    width: 100%;
    height: fit-content;
    position: absolute;
    bottom: -10vw;
    z-index: 1;
  }

  #bottom-style2 {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: -3%;
    z-index: 1;
  }

  #bottom-style2 img {
    width: 100%;
    height: auto;
  }

  /* Container geral do FAQ */
  .faq-section {
    padding: 2rem 1rem;
    width: 60%;
  }

  /* Título "Dúvidas Frequentes" */
  .faq-section h2 {
    color: #FFFFFF;
    font-size: 3vw;
    text-align: center;
    margin-bottom: 2rem;
  }

  /* Lista de perguntas */
  .faq-list {
    width: 80%;
    margin: 0 auto;
    margin-top: 10%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .faq-list> :nth-last-child(1) {
    border-bottom: none;
  }

  .faq-question {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
  }

  .faq-question h3 {
    max-width: 80%;
  }

  .faq-question span {
    position: absolute;
    font-size: 2.5vw;
    right: 0;
    cursor: pointer;
    user-select: none;
  }

  .faq-question span.rotate {
    transform: rotate(180deg);
  }

  /* Bloco individual de pergunta/resposta */
  .faq-box {
    padding-bottom: 2vw;
    text-align: center;
    border-bottom: 1px solid var(--cor5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    height: fit-content;
    cursor: pointer;
  }

  /* Pergunta */
  .faq-box h3 {
    color: var(--cor4);
    font-size: 1.5vw;
    margin: 0;
  }

  /* Resposta */
  .faq-box p {
    margin-top: 1vw;
    font-size: 1rem;
    color: white;
    line-height: 1.5;
  }

  .faq-answer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 60%;
  }

  .faq-answer li {
    text-align: start;
  }

  #bottom-style1 img {
    width: 100%;
    height: auto;
  }

  section {
    color: var(--cor2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
  }

  section h1 {
    text-align: center;
    font-size: 80px;
    margin: 5px;
  }

  #logo-section {
    width: 400px;
  }

  footer {
    background-color: var(--cor1);
    color: var(--cor2);
  }

  footer p {
    margin-left: 20px;
    text-align: center;
  }

  form {
    display: none;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    padding: 2vw;
    background-color: var(--cor1);
    width: fit-content;
    animation: scaleIn 0.5s ease;
  }

  form h1 {
    font-size: 1.5vw;
    padding: 0;
    margin: 0;
  }

  .container {
    display: flex;
    flex-direction: column;
    width: 90%;
    gap: 10px;
  }

  .container input,
  select {
    border: none;
    padding: 0.5vw;
    font-size: 14px;
  }

  .container input:focus {
    outline: none;
    box-shadow: 5px 10px 5px rgba(0, 0, 0, 0.183);
  }

  form button[type="submit"] {
    width: 90%;
    border: none;
    background-color: var(--cor4);
    color: var(--cor1);
    padding: 0.7vw 1vw;
    cursor: pointer;
  }

  form button[type="submit"]:hover {
    box-shadow: 5px 10px 5px rgba(0, 0, 0, 0.183);
  }

  #btn-excluir {
    background-color: red;
    color: white;
  }

  form button[type="submit"]:disabled,
  input:disabled,
  input:read-only {
    opacity: 0.5;
    cursor: auto;
  }

  #input-qrcode,
  #input-nota {
    opacity: 1;
  }

  form button[type="submit"]:disabled:hover {
    box-shadow: none;
  }

  form a {
    color: var(--cor2);
  }

  #form-nota .container,
  #form-cadastro .container {
    display: grid;
    grid-template-columns: 100%;
    width: 25vw;
    max-height: 50vh;
    overflow-y: auto;
    padding: 10px;
  }

  #form-nota img {
    width: 100%;
  }

  #form-nota .container div,
  #form-cadastro .container,
  #form-conta .container div,
  #form-cadastro .container div {
    display: flex;
    flex-direction: column;
  }

  #reader {
    display: none !important;
  }

  #form-nota p {
    text-align: center;
  }

  #form-numeros,
  #form-ganhadores {
    gap: 0;
  }

  #form-numeros .container,
  #form-ganhadores .container {
    width: 20vw;
    max-height: 60vh;
    overflow-y: auto;
  }
  
  #form-ganhadores .container {
    width: fit-content;
  }

  #form-notas .container {
    width: fit-content;
    max-height: 60vh;
    overflow-y: auto;
  }

  #h1-numeros,
  #h1-notas {
    margin: 15px;
  }

  table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    font-size: 18px;
    font-family: "Arial", sans-serif;
    text-align: center;

    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  }

  #form-numeros table td {
    display: flex;
    flex-direction: column;
  }

  table th {
    font-size: 1.2vw;
    background-color: var(--cor1);
    color: var(--cor2);
    padding: 12px 15px;
    border-left: 1px solid var(--cor2);
  }

  table th:first-child {
    border-left: none;
  }

  #form-senha {
    transition: all ease 1s;
  }

  .container-codigo,
  .container-senha {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: slideRight 0.5s linear;
  }

  .container-codigo.closed,
  .container-senha.closed {
    display: none;
  }

  table td {
    border: 1px solid var(--cor1);
    font-size: 20px;
    padding: 12px 15px;
    text-align: center;
    color: black;
  }

  table tbody tr {
    background-color: var(--cor2);
  }

  table tbody tr:last-of-type {
    border-bottom: 2px solid var(--cor4);

  }

  #form-regulamento {
    overflow-y: auto;
    width: fit-content;
  }

  #form-regulamento .container {
    width: 50vw;
    height: 80vh;
  }

  #form-regulamento embed {
    width: 100%;
    height: 100%;
  }

  .overlay-aceite,
  .overlay-loja {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .overlay-aceite.hidden,
  .overlay-loja.hidden {
    display: none;
  }

  #form-aceite,
  #form-loja {
    display: flex;
    flex-direction: column;
    background-color: var(--cor1);
    gap: 1rem;
    min-width: 300px;
    max-width: 30vw;
    animation: scaleIn 0.3s ease;
  }

  #form-aceite p,
  #form-loja p {
    font-size: 1.2rem;
    text-align: center;
    color: var(--cor2);
  }

  #form-aceite button,
  #form-loja button {
    width: 100px;
    padding: 10px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
  }

  #btn-sim,
  #btn-sim-loja {
    background-color: #28a745;
    /* verde */
    color: white;
  }

  #btn-sim:hover,
  #btn-sim-loja:hover {
    background-color: #218838;
  }

  #btn-nao,
  #btn-nao-loja {
    background-color: #dc3545;
    /* vermelho */
    color: white;
  }

  #btn-nao:hover,
  #btn-nao-loja:hover {
    background-color: #c82333;
  }



  #form-ganhadores,
  #form-numeros,
  #form-notas {
    padding: 2vw 2.2vw;
  }

  #form-ganhadores table {
    box-shadow: none;
    border-radius: 0;
  }

  #form-ganhadores table th {
    box-shadow: none;
    border: 1px solid var(--cor2);
  }

  input[type="file"] {
    font-size: 14px;
    color: #999;
    background-color: white;
    padding: 15px;
    cursor: pointer;
    transition: ease 0.5s;
  }

  input[type="file"]:hover {
    box-shadow: 5px 10px 5px rgba(0, 0, 0, 0.183);
  }

  input[type="file"]::file-selector-button {
    all: unset;
    background-color: var(--cor1);
    color: var(--cor2);
    padding: 10px;
    margin-right: 5px;
  }

  input[type="file"].selecionado {
    cursor: auto;
    box-shadow: none;
  }

  input[type="file"].selecionado::file-selector-button {
    display: none;
  }

  .link-perfil {
    display: flex;
    justify-content: center;
    width: fit-content;
    height: 100%;
  }

  .link-nota {
    background-color: var(--cor4);
    color: var(--cor1);
    height: auto;
    padding: 10px;
  }

  .link-nota:hover {
    border: none;
    background-color: var(--cor1);
    color: var(--cor4);
  }

  .icones-perfil {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    cursor: pointer;
    z-index: 1;
    background-color: var(--cor5);
    width: 10vw;
    height: 100%;
  }

  .icones-perfil:hover {
    color: var(--cor1);
  }

  #icone-perfil {
    font-size: 2vw;
    user-select: none;
  }

  #icone-seta {
    transform: rotate(0deg);
    user-select: none;
  }

  #icone-seta.rotate {
    transform: rotate(180deg);
  }

  .menu-conta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 90%;
    width: fit-content;
    padding: 20px;
    background-color: var(--cor5);
    gap: 2px;
    z-index: 3;
    animation: slideDown 1s ease;
  }

  .menu-conta a {
    padding: 15px;
    width: 90%;
    display: flex;
    justify-content: left;
    align-items: center;

    gap: 5px;
  }

  .menu-conta a:hover {
    color: var(--cor1);
    border-bottom: none;
    color: var(--cor2);
    background-color: var(--cor1);
  }

  .menu-conta a:last-child:hover {
    background-color: red;
  }

  #form-produtos>.container {
    max-height: 90vh;
  }

  #form-produtos>.container h1 {
    color: var(--cor4);
  }

  .lista-sugestoes {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 85%;
    max-height: 29%;
    overflow-y: auto;
    background-color: var(--cor1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    top: 85%;
  }

  #ilustrativas {
    position: absolute;
    bottom: 3%;
    max-width: 300px;
    text-align: center;
    font-size: 10px;
    right: 2%;
  }

  .lista-sugestoes li {
    padding: 10px 15px;
    cursor: pointer;
    color: var(--cor2);
    transition: background-color 0.2s ease, transform 0.1s ease;
  }

  .lista-sugestoes li:hover {
    background-color: var(--cor4);
    color: var(--cor1);
  }

  .lista-sugestoes::-webkit-scrollbar {
    width: 8px;
    background-color: var(--cor1);
  }

  .lista-sugestoes::-webkit-scrollbar-thumb {
    background-color: var(--cor4);
    border-radius: 4px;
  }

  .lista-sugestoes::-webkit-scrollbar-track {
    background-color: var(--cor1);
  }

  .hidden {
    display: none;
  }

  @media screen and (max-width: 768px) {

    #ilustrativas {
      display: none;
    }

    body,
    html {
      max-width: 100vw;
      overflow-x: hidden;
      background-color: var(--cor1);
    }

    .links.mobile a {
      text-align: center;
    }

    .nav-desktop {
      display: none;
    }

    .logos img {
      width: 120px;
    }

    .nav-mobile {
      box-sizing: border-box;
      display: flex;
      padding: 10px 8px;
      width: 100%;
      justify-content: space-between;
      z-index: 10;
    }

    .link-nota.nav-m {
      font-size: 15px;
    }

    section {
      background-size: cover;
      height: fit-content;
    }

    .container-banner {
      background: url('../img/banner_mobile.png') no-repeat center center;
      background-size: cover;
      height: 100vh;
      align-items: center;
    }

    .container-banner.marceneiro {
      padding: 0;
      margin-top: 12%;
      background: url('../img/banner_mobile2.png') no-repeat center center;
      background-size: cover;
    }

    .container-banner.vendedor {
      background: url('../img/banner_mobile2.jpg') no-repeat center center;
      background-size: contain;
    }

    .links.closed {
      display: none;
    }

    #logo-nav {
      width: 100px;
    }

    .container-banner.produtos #child1 {
      height: 20vh;
    }

    #link-burger {
      color: var(--cor2);
      font-size: 30px;
    }

    .links {
      position: absolute;
      flex-direction: column;
      gap: 0;
      top: 100%;
      right: 0;
      padding: 15px;
      width: 50%;
      max-height: 90vh;
      height: fit-content;
      background-color: var(--cor5);
      animation: slideRight 0.5s ease;
    }

    .links a {
      height: 60px;
      border-bottom: 1px solid var(--cor2);
      width: 90%;
      align-items: center;
      justify-content: center;
      padding: 5px;
      font-size: 18px;
    }

    .links a:last-child {
      border-bottom: none;
    }

    #h1-numeros,
    #h1-notas {
      font-size: 25px;
    }

    #btn-login {
      border: none;
    }

    #logo-section {
      width: 90vw;
    }

    #container1 {
      width: 100%;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: fit-content;
      margin: 0;
      margin-bottom: 10%;
    }

    #child1 {
      width: 100%;
    }

    #child1 h1 {
      font-size: 20px;
    }

    .btn-principal {
      width: 50%;
      font-size: 15px;
      padding: 15px 40px;
    }

    form {
      gap: 6vw;
      padding: 8vw;
    }

    .container {
      width: 100%;
    }

    .container input {
      padding: 2.5vw;
    }

    button[type="submit"] {
      padding: 4vw 5vw;
    }

    #form-nota .container,
    #form-cadastro .container,
    #form-conta .container {
      width: 90vw;
    }

    #form-nota .container {
      grid-template-columns: 100%;
    }

    form button[type="submit"] {
      width: 100%;
      padding: 4vw;
    }

    #form-cadastro .container {
      grid-template-columns: 1fr;
      overflow: auto !important;
      max-height: 60vh;
    }

    #form-numeros .container {
      width: 80vw;
    }

    #form-notas .container {
      width: 90vw;
    }

    #form-ganhadores,
    #form-numeros,
    #form-notas {
      padding: 35px;
    }

    table th {
      font-size: 20px;
    }

    section h1 {
      font-size: 8vw;
    }

    #form-ganhadores .container {
      width: 80vw;
    }

    #form-regulamento .container {
      width: 90vw;
      height: 80vh;
    }

    footer {
      font-size: 12px;
    }

    .faq-question span {
      font-size: 40px;
    }

    .faq-section {
      width: 90%;
    }

    .faq-section h2 {
      font-size: 30px;
    }

    .faq-box h3 {
      font-size: 22px;
    }

    .lista-sugestoes {
      max-height: 19%;
    }
  }