/* SECTION CONTACT */
.contact-section {
  padding: 40px 0 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 30px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-info > p {
  color: #475569;
  font-size: 1.1rem;
  max-width: 420px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.contact-details .detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}

.contact-details .detail i {
  width: 40px;
  height: 40px;
  background: #eef4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 1.2rem;
}

.contact-details .detail span {
  color: #1e293b;
  font-weight: 500;
}

.contact-details .detail a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.contact-details .detail a:hover {
  text-decoration: underline;
}

/* Formulaire */
.contact-form {
  background: white;
  border-radius: 36px;
  padding: 40px 32px;
  border: 1px solid #edf2f7;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-form .form-subtitle {
  color: #64748b;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #1e293b;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 40px;
  font-size: 1rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  background: #f8fafc;
  font-family: inherit;
}

.form-group textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
  background: white;
}

.form-group select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%2364748b" d="M6 8L1 3h10z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.btn-submit {
  width: 100%;
  background: #2563eb;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  transition: 0.2s;
  cursor: pointer;
}

.btn-submit:hover {
  background: #1d4ed8;
  transform: scale(1.02);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Message de succès/erreur */
.form-message {
  padding: 12px 18px;
  border-radius: 40px;
  font-size: 0.95rem;
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.form-message.success {
  background: #ecfdf5;
  color: #065f46;
  border-left: 4px solid #10b981;
  display: flex;
}

.form-message.error {
  background: #fef2f2;
  color: #dc2626;
  border-left: 4px solid #dc2626;
  display: flex;
}

.form-message i {
  font-size: 1.2rem;
}

/* Map / social */
.contact-social {
  margin-top: 24px;
}

.contact-social h4 {
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-social .social-links {
  display: flex;
  gap: 12px;
}

.contact-social .social-links a {
  background: #f1f5f9;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  font-size: 1.3rem;
  transition: 0.2s;
}

.contact-social .social-links a:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-3px);
}

/* FOOTER (identique) */
.footer-design {
  margin-top: 50px;
  background: #0b1a33;
  color: #cbd5e1;
  border-radius: 48px 48px 0 0;
  padding: 50px 40px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.8;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-col .social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer-col .social a {
  background: rgba(255, 255, 255, 0.05);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 1.2rem;
  transition: 0.2s;
}

.footer-col .social a:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-bottom i {
  color: #2563eb;
}

/* Animations reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .container {
    padding: 0 16px;
  }

  .navbar .container {
    padding: 0 16px;
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    font-size: 1.4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .footer-design {
    padding: 30px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
