* {
  box-sizing: border-box;
  max-width: 100%;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: #fdfaf6;
  color: #3e3e3e;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

.contact-section {
  max-width: 600px;
  margin: 100px auto 80px;
  padding: 20px;
  background: #fff8f2; /* ton beige clair de fond */
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.contact-section h1 {
  font-size: 2.8rem;
  color: #4e3b36;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #3e3e3e;
  line-height: 1.4;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-buttons a {
  flex: 1 1 150px;
  max-width: 200px;
  background: linear-gradient(135deg, #5e463d, #4e3b36);
  color: #fdfaf6;
  text-decoration: none;
  padding: 12px 0;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(78,59,54,0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-buttons a:hover,
.contact-buttons a:focus {
  background: linear-gradient(135deg, #8ab661, #72994f);
  box-shadow: 0 6px 14px rgba(138,182,97,0.6);
  color: #fff;
  outline: none;
}

.horaire-section {
  margin-bottom: 40px;
  text-align: center;
}

.horaire-section h2 {
  font-size: 2rem;
  color: #4e3b36;
  margin-bottom: 20px;
}

.horaire-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #3e3e3e;
}

.horaire-table th,
.horaire-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
}

.horaire-table th {
  background-color: #fdfaf6;
  color: #4e3b36;
  font-weight: 600;
}

.horaire-table tr:nth-child(even) {
  background-color: #fff8f2;
}

.horaire-table tr:hover {
  background-color: #e6e0d9;
}

.map-section {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-section h2 {
  font-size: 2rem;
  color: #4e3b36;
  margin-bottom: 20px;
  text-align: center;
}

/* ===========================
   RESPONSIVE DESIGN - Contact
=========================== */

/* TABLETTES (≤ 1024px) */
@media (max-width: 1024px) {
  .contact-section {
    margin: 80px 20px;
    padding: 24px;
  }

  .contact-section h1 {
    font-size: 2.2rem;
  }

  .contact-section p {
    font-size: 1rem;
  }

  .horaire-section h2,
  .map-section h2 {
    font-size: 1.7rem;
  }

  .horaire-table {
    font-size: 1rem;
  }

  .map-section {
    margin: 0 20px;
  }
}

/* SMARTPHONES (≤ 768px) */
@media (max-width: 768px) {
  .contact-section {
    margin: 60px 15px;
    padding: 20px;
  }

  .contact-section h1 {
    font-size: 1.8rem;
  }

  .contact-section p {
    font-size: 0.95rem;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .contact-buttons a {
    font-size: 1rem;
    padding: 10px 0;
  }

  .horaire-section h2,
  .map-section h2 {
    font-size: 1.5rem;
  }

  .horaire-table th,
  .horaire-table td {
    font-size: 0.95rem;
    padding: 6px 4px;
  }

  .map-section {
    margin: 0 10px;
  }
}

/* PETITS TÉLÉPHONES (≤ 480px) */
@media (max-width: 480px) {
  .contact-section {
    margin: 40px 10px;
    padding: 16px;
  }

  .contact-section h1 {
    font-size: 1.5rem;
  }

  .contact-section p {
    font-size: 0.9rem;
  }

  .contact-buttons a {
    font-size: 0.95rem;
    padding: 10px;
    border-radius: 24px;
  }

  .horaire-section h2,
  .map-section h2 {
    font-size: 1.3rem;
  }

  .horaire-table {
    font-size: 0.9rem;
  }

  .map-section {
    margin: 0 8px;
  }
}
