*{
  margin:0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: #F9FAFB;
  font-family: 'Poppins', sans-serif;
  color: #F9FAFB;
  margin: auto;
  padding: 0;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.logo-overlay {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-overlay img{
  display: block;
  width: clamp(160px, 20vw, 240px);
  height: auto;
}

.slides{
  width: 100%;
  height: 100vh;
}

.slide{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: #F67F0D;
  padding: 0 70px;
}

.slide1{
  min-height: auto;
  background-size: 750px;
  background-color: #f0f0f0;
  background-image: url("/assets/BG2.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
  margin: 0 auto;
  text-align: center;
}

  .wrapper{
  max-width: 700px;
  text-align: center;
  display: inline-block;
}

.slide h2{
    font-size: 50px;
    max-width: 700px;
    font-weight: 600;
    letter-spacing: -0.1rem;
    text-align: center;
    
}

p{
  font-size: 35px;
  max-width: 700px;
  font-weight: 400;
  margin-top: 20px;
  letter-spacing: -0.1rem;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
}

.writing{
  max-width: 700px;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.1rem;
  color: #F67F0D;
  border-right: 3px solid #ffffff;
  white-space: nowrap;
  word-wrap: break-word;
  word-break: break-word;
  text-align: center;
  overflow: hidden;
  display: inline-block;
  margin: 20px auto;
  
  animation: typing 3s steps(20, end) infinite alternate,
             blink .75s step-end infinite;
}

  .hero-section {
    height: 50vh;
    background: linear-gradient(rgba(240, 148, 16, 1), rgba(188, 67, 13, 1));
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
  }

  .hero-section h2{
    text-transform: uppercase;
    font-size: 32px;
  }

  .hero-section h3{
    text-transform: uppercase;
    font-size: 23px;
  }

  .hero-section p{
    font-size: 27px;
    text-align: justify;
    letter-spacing: normal;
  }

  .features-container {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 100px auto;
    border: none;
    border-radius: 10px;
    overflow: visible;
  }
  
  .feature-card {
    padding: 24px;
    /*background: linear-gradient(rgba(240, 148, 16, 1), rgba(188, 67, 13, 1));*/
    background-color: #2b2b2b;
    text-align: center;
    border-radius: 10px;
  }
  
  /* Remove a borda direita dos cartões da última coluna */
  .feature-card:nth-child(3n) {
    border-right: none;
  }
  
  /* Remove a borda inferior dos cartões da última linha */
  .feature-card:nth-last-child(-n+3) {
    border-bottom: none;
  }
  
  .feature-card h3 {
    text-align: center;
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .feature-card p {
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: normal;
    padding: 20px 0;
    color: #ffffff;
    text-align: justify;
  }

.gallery-container {
  
  height: auto;
  min-height: auto;
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 50px auto;
  grid-template-columns: repeat(4, 1fr); 
  grid-auto-rows: minmax(100px, auto);
  grid-template-areas:
    "item1 item2 item2 item3"
    "item4 item2 item2 item5"
    "item6 item7 item8 item9"
    "item10 item10 item11 item12";
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-1 { grid-area: item1; }
.item-2 { grid-area: item2; }
.item-3 { grid-area: item3; }
.item-4 { grid-area: item4; }
.item-5 { grid-area: item5; }
.item-6 { grid-area: item6; }
.item-7 { grid-area: item7; }
.item-8 { grid-area: item8; }
.item-9 { grid-area: item9; }
.item-10 { grid-area: item10; }
.item-11 { grid-area: item11; }
.item-12 { grid-area: item12; }


  .hero-container {
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
  }
  
  .hero-container h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .hero-container p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.5;
  }

  .hero-container span{
    font-size: 21px;
    color: black
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
  }
  
  .btn-primary {
    background: #ffffff;
    color: black;
  }
  
  .btn-primary:hover {
    opacity: 0.9;
  }
  
  .btn-secondary {
    background: rgba(37, 211, 102, 0.9);
    color: #ffffff;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
  }
  
  .btn-secondary:hover {
    background: rgba(37, 211, 102, 0.7);
  }

  .main-footer {
    background-color: #1a1a1a;
    color: #f0f0f0;
    padding: 30px 20px;
    text-align: center;
  }
  
  .footer-container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-info {
    line-height: 1.6;
  }
  
  .company-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
    letter-spacing: normal;
  }
  
  .address {
    font-size: 0.9rem;
    margin: 0;
    color: #b0b0b0;
    letter-spacing: normal;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
  }
  
  .social-icon {
    color: #f0f0f0;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  
  .social-icon:hover {
    color: #4CAF50;
  }

  @keyframes typing {
    from { width: 10%; }
    to { width: 100%; }
  }
  
  @keyframes blink {
    50% { border-color: transparent; }
  }
  
  /* Media Queries */

  @media screen and (min-width: 320px) and (max-width: 429px){
    
    .slide1{
      min-height: 200px;
      background-color: #f0f0f0;
      background-image: url("/assets/BG2-Mini.png");
      background-repeat: no-repeat;
      background-size: cover;
      overflow: hidden;
    }

    .slide h2{
      font-size: 27px;
      font-weight: 900;
      letter-spacing: -0.1rem;
  }

  p{
    font-size: 21px;
    font-weight: 400;
    margin-top: 20px;
    letter-spacing: -0.1rem;
  }

  .writing{
    max-width: 400px;
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
    word-wrap: break-word;
    word-break: break-word;
    text-align: center;
    overflow: hidden;
    display: inline-block;
    
    animation: typing 3s steps(20, end) infinite alternate,
               blink .75s step-end infinite;
  }

  .hero-section {
    height: 50%;
    background: linear-gradient(rgba(240, 148, 16, 1), rgba(188, 67, 13, 1));
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
  }

  .hero-section h2{
    text-transform: uppercase;
    font-size: 25px;
  }

  .hero-section h3{
    text-transform: uppercase;
    font-size: 23px;
  }

  .hero-section p{
    font-size: 16px;
    text-align: justify;
    letter-spacing: normal;
  }

  .features-container {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    max-width: none;
    margin: 70px 1%;
    overflow: hidden;
  }

  .gallery-container {
    margin: 100px 2%;
    grid-template-columns: 2fr 2fr;
    grid-template-areas:
      "item1 item2"
      "item1 item2"
      "item3 item3"
      "item4 item5"
      "item6 item7"
      "item8 item9"
      "item10 item11"
      "item10 item12";
    grid-auto-rows: minmax(100px, auto);
  }

  .hero-container {
    margin: 0 auto;
    justify-items: center;
  }
  
  .hero-container h3 {
    font-size: 20px;
    padding-top: 10px;
  }
  
  .hero-container p {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .hero-container span{
    font-size: 20px;
    color: black
  }
  .hero-section:nth-of-type(2){
    height: 70%;
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }

}



@media screen and (min-width: 431px) and (max-width: 768px) {
    
    .slide1{
      min-height: 250px;
      background-size: 750px;
      background-color: #f0f0f0;
      background-image: url("/assets/BG2-Mini.png");
      background-repeat: no-repeat;
      background-size: 100% auto;
      background-position: center;
      overflow: hidden;
    }

    .slide h2{
      font-size: 30px;
      font-weight: 900;
      letter-spacing: -0.1rem;
  }
  
  p{
    font-size: 23px;
    font-weight: 400;
    margin-top: 20px;
    letter-spacing: -0.1rem;
  }

    .hero-section {
      height: 50%;
      background: linear-gradient(rgba(240, 148, 16, 1), rgba(188, 67, 13, 1));
      padding: 70px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
    }
  
    .hero-section h2{
      text-transform: uppercase;
      font-size: 22px;
    }
  
    .hero-section h3{
      text-transform: uppercase;
      font-size: 21px;
    }
  
    .hero-section p{
      font-size: 23px;
      text-align: justify;
      letter-spacing: normal;
    }

    .features-container {
      height: auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      max-width: 700px;
      margin: 70px 2%;
      border: none;
      border-radius: 10px;
      overflow: hidden;
    }

    .features-container {
      grid-template-columns: 1fr 2fr;
    }
  
    .feature-card {
      border-right: none;
    }
  
    .feature-card:last-child {
      border-bottom: none;
    }

    .gallery-container {
      margin: 100px 2%;
      grid-template-columns: 2fr 2fr;
      grid-template-areas:
        "item1 item2"
        "item1 item2"
        "item3 item3"
        "item4 item5"
        "item6 item7"
        "item8 item9"
        "item10 item11"
        "item10 item12";
      grid-auto-rows: minmax(100px, auto);
    }

    .hero-container {
      max-width: 700px;
      margin: 0 auto;
      justify-items: center;
    }
    
    .hero-container h1 {
      font-size: 19px;
      font-weight: bold;
      padding-top: 20px;
    }
    
    .hero-container p {
      font-size: 17px;
      color: #ffffff;
      margin-bottom: 30px;
      line-height: 1.5;
    }
  
    .hero-container span{
      font-size: 19px;
      color: black
    }

    .footer-container {
      flex-direction: row;
      justify-content: space-between;
    }
}

/*
@media screen and (min-width: 1025px) and (max-width: 1366px) {
  .features-container {    
    margin: 30px auto;
  }

  .hero-section:nth-of-type(2){
    height: 60%;
  }
} */

@media screen and (min-width: 769px) and (max-width: 1216px){

  .features-container {    
    margin: 30px 2%;
  }

  .hero-section:nth-of-type(2){
    height: 60%;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1366px) {

.slide1{
  background-image: url("/assets/BG2.png");
  background-size: 100% auto;
  background-position: center;
  }
}