/* Page Contact — chargé après styles.css */

main {
  padding: 20px 0;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
  text-align: center;
  font-weight: 700;
}

.page-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 48px;
}

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 15px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-card .icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.contact-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 5px;
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-card .contact-p {
  color: var(--primary);
}

.presentation {
  padding: 20px 0;
}

.presentation .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.centered-image {
  max-width: 400px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.leaflet-popup-content-wrapper {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.leaflet-popup-tip {
  background: var(--surface);
  border: 1px solid var(--border);
}

.leaflet-control-attribution {
  background: rgba(17, 24, 39, 0.8) !important;
  color: var(--text-muted) !important;
}

.leaflet-control-attribution a {
  color: var(--primary) !important;
}

@media (max-width: 768px) {
  main {
    padding: 60px 0 40px;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
