body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  background: #f9f9f9;
}

.header {
  background: #002a4e;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}


.header-logo img {
  height: 50px;
  margin-bottom: 1rem;
}

.header h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

.subheading {
  font-size: 1.2rem;
  margin: 0.2rem 0;
}

.tagline {
  font-size: 1rem;
  font-style: italic;
}

.banner img {
  width: 100%;
  display: block;
}

.content {

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 90%;
  margin: 2rem auto;
  padding: 0 1rem;
}

.content-block {
  display: flex;
  align-items: center;
  width: 33%;
  /* margin-bottom: 2rem; */
}

.content-block img {
  width: 200px;
  margin-right: 1rem;
  border-radius: 4px;
}

.content-block p {
  flex: 1;
  font-size: 1rem;
}

.content-block.gray {
  background: #e6e6e6;
  padding: 1rem;
  border-radius: 4px;
}

.advantages {
  background-image: url("bg\ fundo.png");
  color: #fff;
  padding: 1rem 1rem;
  text-align: center;
}

.advantages h2 {
  margin-bottom: 1rem;
}

.advantages .grid {
  display: flex;
  flex-direction: row;
  
  justify-content: space-between;
  
  gap: 1rem;
  
  margin: 0 2em 0 2em;
}

.advantages .item {
  background: #002a4e;
  padding: 1rem;
  border-radius: 4px;
  font-size: 1rem;
  text-align: left;
}

.cta {
    display: flex;
  align-items: center;
  flex-direction: column;
  background: #f90;
  color: #000;
  text-align: center;
  padding: 1rem 1rem;
}

.item{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.item p{

  text-align: center;
}

.cta h3 {
  margin-bottom: 1rem;
}

.cta h1 {
  font-size: 2em;
}

.btn {
  background: #9c1b1b;
  color: #fff;
  padding: 1rem 7.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
  align-items: center;
}
.faixa-laranja {
      width: 100%;           
      height: 12px;           
      background-color: #F7941D; 
    }

    .faixa-vermelha {
      width: 100%;           
      height: 12px;           
      background-color: #9c1b1b;
    }

footer {
  text-align: center;
  padding: 1rem;
  background: #002a4e;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  
}

footer a{
  text-decoration: none;
}



.open-modal-btn {
  padding: 1em 1em;
  padding: 2rem 7rem;
   background-color: #9c1b1b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2em;
  font-weight: bold;
  cursor: pointer;

}
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}


.modal {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  text-align: justify;
}


.modal p {
  margin-bottom: 20px;

}
.modal-buttons {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}
.modal-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
}
.btn-unifacema {
  background-color: #F7941D;

  color: white;
  font-weight: bold;
}
.btn-close {
  
        
        background-color: #9c1b1b;
  color: white;
    font-weight: bold;
}


/* Responsividade para telas até 768px (tablets e celulares) */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    align-items: center;
  }

  .content-block {
    width: 100%;
    flex-direction: column;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .content-block img {
    width: 80%;
    margin: 0 auto 1rem auto;
  }

  .content-block p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .advantages .grid {
    flex-direction: column;
    gap: 1rem;
    margin: 0;
  }

  .advantages .item {
    text-align: center;
  }

  .cta h1 {
    font-size: 1.5em;
    padding: 0 1rem;
  }

  .btn {
    padding: 1rem 2rem;
    width: auto;
  }
}

/* Responsividade para telas bem pequenas (celulares até 480px) */
@media (max-width: 480px) {
  .content-block img {
    width: 100%;
  }

  .cta h1 {
    font-size: 1.2em;
  }

  .btn {
    padding: 1rem;
    font-size: 1rem;
  }
}