/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  min-height: 100vh;
}

body {
  font-family: Arial, sans-serif;
  background-color: #0d1117;
  color: white;
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  background-color: #161b22;
  padding: 20px;
  border-bottom: 1px solid #30363d;
}

header nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

header nav ul li a {
  color: rgb(227, 226, 226);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #0328cb;
}

/* ===== CONTAINER PRINCIPAL ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* ===== TÍTULO ===== */
.container h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.titulo-secao {
  position: relative;
  display: inline-block;
  font-size: 2rem;
}

.titulo-secao::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ffff, #0080ff);
  transition: width 0.4s ease;
}

.titulo-secao:hover::after {
  width: 100%;
}

/* ===== INTRO ===== */
.contato-intro {
  text-align: center;
  margin-bottom: 50px;
}

.contato-intro p {
  font-size: 1.1rem;
  color: #c9d1d9;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CARDS DE CONTATO ===== */
.contatos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.contato-card {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  will-change: transform;
}

.contato-card:hover {
  transform: translateY(-6px);
  border-color: #58a6ff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* ÍCONES — MESMA POSIÇÃO DE ANTES */
.contato-card i {
  font-size: 3rem;
  color: #58a6ff;
  margin-bottom: 20px;
}

.contato-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.contato-card p {
  color: #b1bac4;
  margin-bottom: 20px;
}

/* ===== BOTÃO ===== */
.btn {
  display: inline-block;
  background-color: #238636;
  color: white;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  min-width: 160px;
  transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
  background-color: #2ea043;
  transform: translateY(-2px);
}

/* ===== STATUS ===== */
.status {
  display: inline-block;
  background-color: #1f6feb;
  color: white;
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  header nav {
    justify-content: center;
  }

  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .container {
    padding: 40px 15px;
  }

  .container h1 {
    font-size: 2rem;
  }

  .contato-intro p {
    font-size: 1rem;
  }

  .contato-card {
    padding: 25px;
  }
}

/* EXTRA — CELULAR PEQUENO */
@media (max-width: 480px) {
  .contato-card i {
    font-size: 2.5rem;
  }

  .contato-card h3 {
    font-size: 1.25rem;
  }
}
