/* ===================== FOOTER ===================== */

#footer {
  background: #00427a;
  color: rgb(251, 251, 251);

  padding: 40px 20px;

  scroll-snap-align: none;
  min-height: auto;
  height: auto;
}


.contact-header {

  text-align: center;

  margin-bottom: 80px;

}

.contact-header h2 {

  font-size: clamp(1.5rem, 2.5vw, 2.8rem);
  margin-bottom: 10px;

}

.contact-header p {

  color: #dbeafe;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);

}

.contact-content {
  display: grid;

  grid-template-columns: 1fr auto 1fr;

  align-items: start;
  justify-items: center;

  gap: 50px;

  max-width: 1200px;
  margin: 0 auto;

}

.contact-left {

  display: flex;
  flex-direction: column;
  align-items: center;

}

#gmap-box {

  height: 220px;
  width: 220px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;

  backdrop-filter: blur(10px);

}

#gmap-box,
.contact-right img {

  width: 220px;
  height: 220px;

  display: block;
}

.contact-left a {

  font-size: 0.9rem;
  color: #e5e7eb;

  text-align: center;

  margin-top: 15px;

  max-width: 220px;

}

.contact-middle {

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
  text-align: center;

}

.contact-item h4 {

  margin-bottom: 8px;
  font-size: 1rem;

}

.contact-item p,
.contact-item a {

  color: #e5e7eb;
  font-size: 0.9rem;
  text-decoration: none;

}

.contact-item a:hover {

  color: #00295e;

}

.contact-footer {

  text-align: center;
  margin-bottom: 40px;

}

.contact-footer h2 {

  font-size: clamp(1.5rem, 2.5vw, 2.8rem);
  margin-bottom: 10px;
  color: white;

}

.contact-footer p {

  color: #dbeafe;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);

}

/* ===== DIREITA ===== */

.contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-right img {
  height: 220px;
  width: 220px;

  object-fit: cover;

  border-radius: 20px;
}

#copyright {

  text-align: center;
  padding: 20px;
  color: #ffffff;
  background-color: black;
  font-size: 14px;

}

/* ===================== RODAPÉ — DESKTOP GRANDE 1280px+ ===================== */

@media (min-width: 1280px) {

  #footer {
    padding: 60px 40px;
  }

  .contact-content {
    max-width: 1300px;
    gap: 70px;
  }

  #gmap-box,
  .contact-right img {
    width: 270px;
    height: 270px;
  }

  .contact-left a {
    max-width: 270px;
  }

  .contact-middle {
    gap: 35px 50px;
  }

  .contact-item h4 {
    font-size: 1.1rem;
  }

  .contact-item p,
  .contact-item a {
    font-size: 1rem;
  }

}

/* ===================== RODAPÉ — FULL HD 1920px+ ===================== */

@media (min-width: 1920px) {

  #footer {
    padding: 80px 60px;
  }

  .contact-content {
    max-width: 1600px;
    gap: 100px;
  }

  #gmap-box,
  .contact-right img {
    width: 320px;
    height: 320px;
  }

  .contact-left a {
    max-width: 320px;
    font-size: 1rem;
  }

  .contact-middle {
    gap: 40px 60px;
    margin-top: 60px;
  }

  .contact-item h4 {
    font-size: 1.2rem;
  }

  .contact-item p,
  .contact-item a {
    font-size: 1.05rem;
  }

  #copyright {
    font-size: 16px;
    padding: 28px;
  }

}

/* ===================== RODAPÉ — MOBILE 900px ===================== */

@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
 
  .contact-middle {
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
    margin-bottom: 50px;
  }
 
  #gmap-box {
    width: 180px;
    height: 180px;
  }
 
  .contact-right img {
    width: 180px;
    height: 180px;
  }
}
 
/* ===================== RODAPÉ — MOBILE 600px ===================== */

@media (max-width: 600px) {
  #footer {
    padding: 30px 14px;
  }
 
  .contact-header h2,
  .contact-footer h2 {
    font-size: 1.5rem;
  }
 
  .contact-middle {
    grid-template-columns: 1fr;
    gap: 20px;
  }
 
  #gmap-box {
    width: 100%;
    height: 180px;
  }
 
  .contact-right img {
    width: 100%;
    height: auto;
    max-height: 200px;
  }
}