html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

main {
    padding-top: 90px;
    padding-left: 200px;
    padding-right: 200px;
}

.contact {
    padding: 100px 0;
    background-color: #f8fbff;
}

.contact .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-text h1 {
    font-family: 'Arimo SemiBold', 'Arimo', sans-serif;
    font-size: 2.5rem;
    color: #00478A;
    margin-bottom: 15px;
}

.contact-text p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
}

/* SOCIAL */

.contact-social h2 {
    font-size: 1.5rem;
    color: #002c57;
    margin-bottom: 20px;
}

.social-links2 {
    display: flex;
    gap: 20px;
}

.social-links2 a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #00478A;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.social-links2 a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-links2 a:hover {
    transform: translateY(-4px);
    color: #38bdf8;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {

  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  /* Remove padding exagerado do main */
  main {
    padding-top: 80px;
    padding-left: 0;
    padding-right: 0;
  }

  /* Seção contato */
  .contact {
    padding: 60px 0;
  }

  .contact .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  /* Texto */
  .contact-text h1 {
    font-size: 1.8rem;
  }

  .contact-text p {
    font-size: 1rem;
  }

  /* Social */
  .contact-social h2 {
    font-size: 1.3rem;
  }

  .social-links2 {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .social-links2 a {
    width: 48px;
    height: 48px;
  }

  .social-links2 a svg {
    width: 20px;
    height: 20px;
  }
}
