/* ==========================================================================
   JOFERFIL - Estilos Modernos da Página de Contactos
   ========================================================================== */

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 25px 0 35px 0;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #eae6df;
  border-radius: 8px;
  padding: 28px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(113, 174, 150, 0.15);
  border-color: #71ae96;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(113, 174, 150, 0.12);
  color: #71ae96;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.contact-card:hover .contact-card-icon {
  background: #71ae96;
  color: #ffffff;
  transform: scale(1.08);
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  fill: none;
  stroke: currentColor;
}

.contact-card-title {
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #2b2b2b;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-card-content {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

.contact-card-content a {
  color: #71ae96;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-card-content a:hover {
  color: #4f8571;
  text-decoration: underline;
}

.contact-card-note {
  display: block;
  font-size: 11px;
  color: #999999;
  margin-top: 6px;
  font-style: italic;
}

@media screen and (max-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
