/* ─────────────────────────────────────────
   contact.css — Section contact & formulaire
───────────────────────────────────────── */

#contact {
  background: linear-gradient(145deg, var(--foam), var(--cloud));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* ── Infos ── */
.contact-info h2  { margin-bottom: 1rem; }

.contact-info p {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid rgba(74, 191, 191, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ── Réseaux sociaux ── */
.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 1px solid rgba(74, 191, 191, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  color: var(--teal-mid);
  transition: all 0.3s ease;
  position: relative;
}

.social-link:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26, 107, 107, 0.25);
}

.social-link .tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-deep);
  color: white;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.social-link:hover .tooltip { opacity: 1; }

/* ── Formulaire ── */
.contact-form {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(74, 191, 191, 0.12);
  box-shadow: 0 20px 60px rgba(42, 144, 144, 0.06);
}

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--teal-deep);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

input, select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(74, 191, 191, 0.2);
  border-radius: 10px;
  background: var(--cloud);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--teal-soft);
  box-shadow: 0 0 0 3px rgba(74, 191, 191, 0.1);
  background: var(--white);
}

input::placeholder, textarea::placeholder { color: var(--text-light); }

textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--teal-deep);
  color: var(--white);
  border: none;
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(42, 144, 144, 0.25);
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* ── Message de succès ── */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success .success-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--teal-deep);
  margin-bottom: 0.5rem;
}

.form-success p { color: var(--text-mid); font-size: 0.9rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row       { grid-template-columns: 1fr; }
}
