/* ============================================================
   CONTACT — Design cohérent avec le site PhoneHS
   Template: template-contact.php
   ============================================================ */

/* ====== HERO ====== */
.phs-contact-hero {
  background: #111;
  padding: 56px 24px 48px;
  text-align: center;
}
.phs-contact-hero-inner {
  max-width: 560px;
  margin: 0 auto;
}
.phs-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 113, 227, 0.15);
  color: #5ac8fa;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.phs-contact-hero h1 {
  color: white;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 10px;
}
.phs-contact-hero p {
  color: rgba(255,255,255,0.45);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ====== SECTION PRINCIPALE ====== */
.phs-contact-section {
  background: #f7f7f8;
  padding: 48px 24px 64px;
}
.phs-contact-wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

/* ====== COLONNE GAUCHE ====== */
.phs-contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.phs-info-card {
  background: white;
  border: 1.5px solid #e8e8ea;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.phs-info-card:hover {
  border-color: #d0d0d5;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.phs-info-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phs-icon-blue   { background: rgba(0,113,227,0.1);  color: #0071e3; }
.phs-icon-green  { background: rgba(52,199,89,0.1);  color: #34c759; }
.phs-icon-orange { background: rgba(255,149,0,0.1);  color: #ff9500; }
.phs-icon-purple { background: rgba(175,82,222,0.1); color: #af52de; }

.phs-info-card-body h3 {
  font-size: 0.72rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 5px;
}
.phs-info-card-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #1d1d1f;
  margin: 0;
}
.phs-info-card-body p a {
  color: #1d1d1f;
  text-decoration: none;
}
.phs-info-card-body p a:hover { color: #0071e3; }
.phs-info-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0071e3;
  text-decoration: none;
  margin-top: 6px;
}
.phs-info-link:hover { text-decoration: underline; }
.phs-closed { color: #bbb; }

/* ====== CARTE MAPS ====== */
.phs-contact-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #e8e8ea;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.phs-contact-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: none;
}

/* ====== COLONNE DROITE : FORMULAIRE ====== */
.phs-contact-form-box {
  background: white;
  border: 1.5px solid #e8e8ea;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.phs-contact-form-box h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.phs-form-subtitle {
  font-size: 0.87rem;
  color: #999;
  margin: 0 0 24px;
}

/* ====== FORMULAIRE NATIF ====== */
.phs-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phs-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.phs-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phs-form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #444;
  letter-spacing: 0.01em;
}
.phs-form-group label span {
  color: #e3001b;
  margin-left: 2px;
}
.phs-form-group input,
.phs-form-group textarea,
.phs-form-group select {
  padding: 11px 14px;
  border: 1.5px solid #e2e4e7;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #1d1d1f;
  background: #f9f9fb;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}
.phs-form-group input:focus,
.phs-form-group textarea:focus,
.phs-form-group select:focus {
  border-color: #0071e3;
  background: white;
  box-shadow: 0 0 0 3px rgba(0,113,227,0.08);
}
.phs-form-group textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}
.phs-form-group select {
  cursor: pointer;
  appearance: auto;
}

.phs-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: #0071e3;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: -0.01em;
  font-family: inherit;
  margin-top: 4px;
}
.phs-form-submit:hover {
  background: #005bb5;
  box-shadow: 0 4px 14px rgba(0,113,227,0.28);
}

/* Alertes */
.phs-form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: #f0fdf4;
  border: 1.5px solid #34c759;
  border-radius: 12px;
  color: #1a7a3c;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}
.phs-form-success svg { flex-shrink: 0; margin-top: 1px; color: #34c759; }

.phs-form-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: #fff5f5;
  border: 1.5px solid #fc8181;
  border-radius: 10px;
  color: #c53030;
  font-size: 0.87rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.phs-form-error svg { flex-shrink: 0; margin-top: 1px; }

/* ====== RESPONSIVE ====== */
@media (max-width: 960px) {
  .phs-contact-wrap { grid-template-columns: 1fr; }
  .phs-contact-map iframe { height: 240px; }
}
@media (max-width: 600px) {
  .phs-contact-hero { padding: 44px 20px 36px; }
  .phs-contact-hero h1 { font-size: 1.6rem; }
  .phs-contact-section { padding: 28px 16px 48px; }
  .phs-contact-form-box { padding: 24px 18px; }
  .phs-form-row { grid-template-columns: 1fr; }
}
