/* ====== Contactos ====== */
.contacts-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Formulário */
.contact-form{
  display:grid;
  gap: 12px;
  margin-top: 8px;
}
.f-label{
  font-weight: 600;
  color: white;
  font-size: .96rem;
}
.f-label span{ color:#ef4444 }
.f-input{
  width: 100%;
  height: 46px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0b1220;
  padding: 10px 14px;
  border-radius: 12px;
  outline: none;
  transition: border .15s ease, box-shadow .15s ease;
}
.f-input:focus{
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59,130,246,.2);
}
.f-textarea{ height: auto; resize: vertical }

/* Cartões de contacto */
.contact-cards{
  display:grid;
  gap: 16px;
  margin-top: 8px;
}
.c-card{
  background:#fff;
  border:1px solid #e6e9f0;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
  padding: 16px;
  display:flex; gap: 12px; align-items: flex-start;
}
.c-ico{
  flex:0 0 44px; width:44px; height:44px; border-radius:12px;
  display:grid; place-items:center;
  color:#fff; background:#2563eb; /* default */
  box-shadow: 0 10px 20px rgba(37,99,235,.25);
}
.c-ico--mail{ background:#f97316 }
.c-ico--map{ background:#0ea5e9 }
.c-ico svg{ width:22px; height:22px }

.c-body .c-title{ font-weight: 800; color:#0b1220 }
.c-body .c-main a{ color:#0f172a; text-decoration:none }
.c-body .c-main a:hover{ text-decoration: underline }
.c-body .c-sub{ color:#6b7280; font-size:.95rem }

/* Responsivo */
@media (max-width: 1020px){
  .contacts-grid{
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
/* ===== POPUP ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.popup {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: popIn 0.4s ease;
  position: relative;
}

.popup h2 {
  color: #0a0a0a;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.popup p {
  color: #555;
  font-size: 1rem;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #777;
  cursor: pointer;
  transition: 0.2s;
}

.popup-close:hover {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}