* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* remove a barra lateral */
  }
  
  body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f9fd;
    color: #222;
    line-height: 1.6;
  }
  
  /* Header */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
  }
  
  header .logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: #58a1ff;
  }
  
  header .logo img {
    width: 50px;
    max-width: 50px;
    margin-right: 10px;
    transform: translateY(1px);
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 55px;
    font-size: 1.5rem;
    margin-right: 2.5rem;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }
  
  nav ul li a:hover,
  nav ul li a.active {
    color: #58a1ff;
  }
  
  /* Conteúdo principal */
  main.contato {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center; /* centraliza verticalmente */
    position: relative;
    z-index: 1;
    background: transparent;
  }
  
  .contato-container {
    max-width: 700px;
    background: #fff;
    padding: 60px 40px; /* aumenta o tamanho vertical */
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    min-height: 400px; /* garante altura consistente */
  }
  
  .contato-container h1 {
    font-size: 2.5rem;
    color: #58a1ff;
    margin-bottom: 20px;
  }
  
  .contato-container p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .info-contato p {
    font-size: 1.2rem;
    margin: 10px 0;
    font-weight: bold;
  }
  
  /* Footer */
  footer {
    position: relative;
    text-align: center;
    font-size: 0.9rem;
    color: #333;
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: center;

  }
  
  footer p {
    position: relative;
    margin-bottom: 15px;
    font-weight: bold;
    z-index: 2;
  }
  
  .cidade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    object-fit: cover;
    z-index: -1;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.4s ease, transform 1.4s ease;
  }
  
  body.loaded .cidade {
    opacity: 1;
    transform: translateY(0);
  }
  
  
  /* ===== Animação suave de entrada ===== */
body {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease;
}

body.loaded {
  opacity: 1;
  transform: translateY(0);
}

.contato-container, footer, header {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

body.loaded .contato-container,
body.loaded footer,
body.loaded header {
  opacity: 1;
  transform: translateY(0);
}
