@media screen and (max-width: 768px) {
  .container {
    width: 95%;
    margin-left: 2.5%;
  }

  .main > section{
    margin-bottom: 100px;
  }

  .section-1,
  .section-2,
  .section-3,
  .section-5,
  .section-7,
  .section-8,
  .section-11,
  .section-12{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .section-4,
  .section-6 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .section-4 > .titulo,
  .section-6 > .titulo,
  .section-8 > .titulo,
  .section-11 > .titulo {
    grid-column: auto;
  }

  .slogan h2 {
    font-size: 2rem;
    text-align: center;
  }

  .slogan p {
    font-size: 1.2rem;
    text-align: center;
  }

  .box {
    font-size: 20px;
    padding: 20px;
    height: auto;
  }

  .box-stands {
    font-size: 20px;
    padding: 20px;
    height: auto;
  }

  .box-stands img{
    width: 90%;
    margin: 0 auto;
    margin-bottom: 10px;
  }


  .box > h3 {
    font-size: 30px;
  }

  .box > h3 > b {
    font-size: 50px;
  }

  .comentario {
    font-size: 16px;
    padding: 15px;
  }

  .formulario h2 {
    font-size: 30px;
    text-align: center;
  }

  .titulo{
    font-size: 24px;
    text-align: center;
  }

  .logo {
    width: 120px;
  }
  
  .selo {
    width: 120px;
  }

  .logo-escrita {
    width: 250px;
  }

  .nav-list {
    align-items: flex-start;
    align-items: center;
  }

  .niveis {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .input-control {
    width: 100%;
  }

  .link-btn {
    margin: 10px 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .btn {
    width: 100%;
    box-sizing: border-box;
  }

  .whatsapp-botao {
    width: 70px;
    height: 70px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-botao img {
    width: 70px;
    height: 70px;
  }

  .section-9 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 20px 0;
  }

  .section-9 .box {
    padding: 0;
    height: auto;
  }

  .section-9 .box img {
    width: 100%;
    height: auto;
  }

  .div-grup {
    grid-column: auto;
    padding: 20px 10px;
  }

  .titulo-9 h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 15px;
  }

  .box-9 {
    font-size: 16px;
    text-align: justify;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .niveis {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 10px;
  }

  .niveis > div {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .niveis h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .niveis p {
    font-size: 14px;
  }  

  .faq-section {
    padding: 20px 10px;
  }

  .faq-section h2 {
      font-size: 1.5rem;
      margin-bottom: 20px;
  }

  .faq-question {
      font-size: 1rem;
  }

  .faq-answer {
      font-size: 0.95rem;
  }

  .faq-answer a {
      word-break: break-word;
  }

  .section-10{
    font-size: 20px;          /* Texto menor para caber melhor */
    padding: 20px;            /* Menos padding para mais espaço útil */
    border-radius: 8px;       /* Bordas um pouco menores */
    text-align: center;     
    margin-left: -5%;
  }

  .master{
    flex-direction: column;
  }

  .master img{
    width: 50%;
    margin-bottom: 15px;
  }

  .patrocinadores{
    flex-direction: column;
  }

  .patrocinadores img{
   width: 25%;
   margin-bottom: 15px;
  }

  .noticias .box-container {
    grid-template-columns: 1fr; /* Título ocupa linha inteira */
  }
  .noticias .box-container-2 {
    grid-template-columns: 1fr; /* Título ocupa linha inteira */
  }

  .imagem-n > .img1-n{
      width: 100%;
      height: 260px;
      border-radius: 7px;
  } 

  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* permite rolar se necessário */
    background-color: rgba(0, 0, 0, 0.5);
  }  

        .img-box-section-12 img{
            width: 400px;
            height: auto;
            margin-bottom: 15px;
        }  

  .modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    box-shadow: 0 5px 10px rgba(0,0,0,0.25);
    text-align: center;
    position: relative;
  }  

  .close-btn {
    font-size: 24px;
    top: 5px;
    right: 10px;
  }

  .link-n{
    width: 100%;
    background-color: #20cc3d;
    border-radius: 5px;
    display: flex;
    justify-content: center;
  }
}

