*{
  margin: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}


.overflow {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.47);
  z-index: 1;
}

.texto-topo-video {
  position: absolute;
  top: 44%;
  transform: translate(-50%, -60%); /* sobe a caixa */
  z-index: 2;
  color: #fff;
}

.hero-container {
  position: relative;
}

.hero-arrow {
  position: absolute;
  bottom: 30px;          /* distância do fundo do hero */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;            /* acima do overlay */
  color: #fff;
  font-size: 32px;
}


.atendimento{
    padding: 50px;

}

.atendimento p{
  font-size: 24px;
  font-family: 'Barlow', sans-serif;
  color: #575756;
    
}

.atuações-container {
    display: grid;
    grid-template-columns: repeat(4, 2fr); /* sempre 4 colunas */
    gap: 30px;
    padding: 40px;
}

.quadrado-atuaçoes img{
    border: 8px solid rgb(219, 165, 18);
    width: 280px;
    height: 280px;
}


/*sobre nos*/
.sobre-nos-atuaçao{
   padding: 30px;
}

.sobre-nos-atuaçao p {
    
    font-size: 24px;
    font-family: 'Barlow', sans-serif;
    color: #575756;
}

.flexwp{
    gap: 50px;
    display: flex;
    justify-content: center;
    
}

.flexwp p{
    font-size: 25px; 
    margin-top: 30px;
    margin-bottom: 30px;
    color: #4f4f4f;
    font-weight: 400;
}

.flexwp a{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 15px; 
    margin-top: 40px;
    color: #a38634;
    font-weight: bold;
    text-decoration: none;
}

.flexwp a:hover{
    text-decoration: underline;
}

.flexwp i{
    position: absolute;
    font-size: 25px;
}

.cont-two{
    margin-top: 100px;
    background-color: #eaeaea;
    border-top: 1px solid #bd9100;
    padding-bottom: 200px;
}

.cont-two hr{
width: 89%;
margin-left: 85px;
height: 0.5px;
}

.cont-two h2{
    margin-top: 70px;
    font-size: 22px;
    color: #4f4f4f;
    font-weight: lighter;
    font-family: 'Times New Roman', Times, serif;
    margin-left: 85px;
    margin-bottom: 40px;
}


/*responsividaade celular*/

@media (max-width: 768px) {

  /* HERO */
  .hero-container {
    min-height: 80vh;
  }

  .texto-topo-video {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 20px;
  }

  .texto-topo-video h1 {
    font-size: 26px;
  }

  .texto-topo-video p {
    font-size: 16px;
  }

  /* ATENDIMENTO */
  .atendimento {
    padding: 30px 20px;
  }

  .atendimento p {
    font-size: 18px;
    text-align: center;
  }

  /* GRID ATUAÇÕES */
  .atuações-container {
    grid-template-columns: 1fr; /* UMA COLUNA */
    gap: 20px;
    padding: 20px;
    justify-items: center;
  }

  .quadrado-atuaçoes img {
    width: 200px;
    height: 200px;
  }

  /* SOBRE NÓS / FLEX */
  .flexwp {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .flexwp img {
    width: 100%;
    max-width: 350px;
    height: auto;
  }

  .flexwp p {
    font-size: 18px;
    text-align: center;
  }

  .flexwp a {
    font-size: 14px;
  }

  /* CONT TWO */
  .cont-two {
    padding-bottom: 80px;
  }

  .cont-two h2 {
    margin-left: 20px;
    font-size: 18px;
  }

  .cont-two hr {
    margin-left: 20px;
    width: calc(100% - 40px);
  }
}


/*tablet*/

@media (max-width: 1024px) {

  .atuações-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 30px;
  }

  .quadrado-atuaçoes img {
    width: 220px;
    height: 220px;
  }

  .texto-topo-video h1 {
    font-size: 34px;
  }

  .texto-topo-video p {
    font-size: 18px;
  }

  .atendimento p {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {

  div.atuações-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 20px !important;
    justify-items: center !important;
  }

  div.atuações-container .quadrado-atuaçoes img {
    width: 200px !important;
    height: 200px !important;
  }

}

@media (max-width: 768px) {

  .hero-container {
    height: 100svh; /* altura correta no mobile */
    min-height: unset;
  }

  .hero-bg-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .texto-topo-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    z-index: 3;
  }

  .titulo-video {
    font-size: 26px;
    line-height: 1.2;
  }

  .subtitulo {
    font-size: 14px;
  }
}



/* TABLET – HEADER / HERO */
@media (min-width: 769px) and (max-width: 1024px) {

  .hero-container {
    height: 100svh;        /* resolve bug de vh no tablet */
    min-height: unset;
  }

  .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .texto-topo-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    text-align: center;
    z-index: 3;
  }

  .titulo-video {
    font-size: 32px;
    line-height: 1.2;
  }

  .subtitulo {
    font-size: 16px;
  }
}



