/* ============================================================
   MODULE « NOS AGENCES » — v2 (partagé Contact + Accueil)
   Extrait de contact.css pour être réutilisable. Mobile-first.
   Fond beige, titre + description + accordéon des villes.
   Markup : templates/front/fragment/agences_module.html.twig
   Breakpoints : base = mobile, 769 = tablette, 1101 = desktop.
   Garde les mêmes classes que la page Contact d'origine.
============================================================ */
.contact-agences {
  background-color: #efece9;
  padding: 40px 0;                 /* mobile : py-40 (gouttière via .container) */
}
.contact-agences .container { padding: 0 30px; }
/* Gouttières alignées sur le header/footer (comme .container de la page) :
   30px mobile / 40px tablette (769-1100) / contenu 1166 centré au-delà. */
@media (min-width: 769px) and (max-width: 1100px) {
  .contact-agences .container { padding: 0 40px; max-width: 100%; }
}
.contact-agences__inner {
  display: flex;
  flex-direction: column;
  gap: 62px;
}
.contact-agences__intro {
  display: flex;
  flex-direction: column;
  gap: 40px;                       /* mobile : titre ↔ desc */
}
.contact-agences__title {
  font-family: 'Asul', sans-serif;
  font-weight: 400;
  font-size: 35px;                 /* mobile */
  line-height: 1;
  color: #0f1b24;
}
.contact-agences__desc {
  font-family: 'Asul', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 22px;
  color: #0f1b24;
}

/* --- Accordéon des villes --- */
.contact-agences__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
/* Chaque agence = titre (+ corps si ouverte), séparée de la suivante par une
   ligne 0.7px EN BAS (après « Plus de détails » à l'ouverture, cf. maquette
   716:1575) — et non sous le titre. */
.contact-agency {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding-bottom: 20px;
  border-bottom: 0.7px solid rgba(15, 27, 36, 0.35);
}
.contact-agency:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-agency__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.contact-agency__name {
  font-family: 'Asul', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: normal;
  color: #0f1b24;
}
.contact-agency__chevron {
  display: inline-flex;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.contact-agency__head.is-open .contact-agency__chevron { transform: rotate(180deg); }
/* Corps ouvert : adresse + bouton téléphone + lien « Plus de détails »
   (comme la maquette agence ouverte). */
.contact-agency__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 0;                     /* l'écart titre↔corps vient du gap de .contact-agency */
}
.contact-agency__body.hidden { display: none; }
/* Adresse : adresse + « , » + code postal + ville (source BO). */
.contact-agency__address {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 24px;
  color: #0f1b24;
  margin: 0;
}
/* Bouton téléphone (pill sauge) — survol : changement de couleur. */
.contact-agency__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 17px;
  border: 1px solid #9f9a7c;
  border-radius: 30.076px;
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  color: #9f9a7c;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.contact-agency__phone:hover { background-color: #9f9a7c; color: #ffffff; }
/* Lien « Plus de détails » → page « Nos conseillers voyageurs » (bonne agence). */
.contact-agency__more {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #9f9a7c;
  text-decoration: underline;
  transition: color .15s ease;
}
.contact-agency__more:hover { color: #615d48; }

/* ============================================================
   TABLETTE  (≥ 769px) — 2 colonnes (intro + liste)
============================================================ */
@media (min-width: 769px) {
  .contact-agences { padding: 60px 0; }
  .contact-agences__inner {
    flex-direction: row;
    gap: 62px;
    align-items: stretch;
  }
  .contact-agences__intro {
    width: 340px;
    flex-shrink: 0;
    justify-content: space-between;
  }
}

/* ============================================================
   DESKTOP  (≥ 1101px) — contenu 1166 centré (gouttière 100px jusqu'à
   1366), aligné sur le header/footer (min(1166px, calc(100% - 200px))).
============================================================ */
@media (min-width: 1101px) {
  .contact-agences { padding: 60px 0; }
  .contact-agences .container {
    max-width: min(1166px, calc(100% - 200px));
    margin-inline: auto;
    padding: 0;
  }
  .contact-agences__title { font-size: 50px; }
}
