/* ===================== */
/*    PAGE CONTACT       */
/*  version élégante     */
/* ===================== */

main {
  background: #f5f0eb;
}

.contact-section {
  background: #f5f0eb;
  padding: 5rem 2rem 3rem;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;          /* label, titre, intro centrés */
}

.contact-label {
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #734A26;
  margin-bottom: 1.2rem;
}

.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 400;
  color: #1e3d26;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.contact-intro {
  color: #5a6e5d;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 3rem;         /* intro centrée */
}

/* Liste des coordonnées : grille de cartes */
.contact-list {
  list-style: none;
  margin: 0 auto;              /* grille centrée */
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 900px;
}

.contact-ligne {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding: 1.6rem 1.8rem;
  background: #ffffff;
  border: 1px solid rgba(30, 61, 38, 0.1);
  border-radius: 4px;
  text-align: left;            /* le contenu des cartes reste à gauche */
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.contact-ligne:hover {
  border-color: rgba(141, 198, 63, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(30, 61, 38, 0.08);
}

/* La dernière carte (Horaires) s'étend sur les 2 colonnes */
.contact-ligne:last-child {
  grid-column: 1 / -1;
}

.contact-icone {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(141, 198, 63, 0.5);
  background: rgba(141, 198, 63, 0.08);
  color: #1e3d26;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
}

.contact-ligne:hover .contact-icone {
  background: rgba(141, 198, 63, 0.2);
  border-color: #8dc63f;
}

.contact-texte .label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #734A26;
  margin-bottom: 0.3rem;
}

.contact-texte a,
.contact-texte span,
.contact-texte address {
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  color: #1e3d26;
  text-decoration: none;
  line-height: 1.6;
}

.contact-texte a:hover {
  color: #734A26;
}

/* Carte */
.map-section {
  background: #f5f0eb;
  padding: 2rem 2rem 5rem;
  max-width: 900px;            /* alignée sur la largeur des cartes */
  margin: 0 auto;
}

.map-embed iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
  filter: grayscale(30%);
}

.map-itineraire {
  margin-top: 1.2rem;
  text-align: center;
}

.map-itineraire a {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1e3d26;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 61, 38, 0.4);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.map-itineraire a:hover {
  color: #734A26;
  border-color: #734A26;
}

/* ===================== */
/*      RESPONSIVE       */
/* ===================== */

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 1.25rem 2rem;
  }

  .contact-intro {
    margin-bottom: 2rem;
  }

  /* Cartes en 1 colonne */
  .contact-list {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .contact-ligne {
    padding: 1.2rem 1.3rem;
    gap: 1rem;
  }

  .contact-icone {
    width: 44px;
    height: 44px;
  }

  .map-section {
    padding: 1rem 1.25rem 3rem;
  }

  .map-embed iframe {
    height: 300px;
  }
}