/* =============================================================================
   Page « Recrutement » (recrutement.html)

   Affiches : composant commun .affiche (affiches.css), cliquables pour les ouvrir en grand.
   Les textes des affiches sont petits sur tablette et téléphone : le même contenu est donc
   repris en vrai texte (.rec-texte) sous chaque affiche, affiché sous 992 px seulement.
   Les coordonnées et la convention collective sont du texte à toutes les tailles.

   À charger APRÈS style.css, services.css et affiches.css (balises <link> dans le <head>).
   Règles préfixées par #main : priorité supérieure à style.css, sans recourir à !important.
============================================================================= */

#main .rec-poste:last-child {
  margin-bottom: 0;
}

#main .rec-poste {
  margin-bottom: 28px;
  padding: 26px 22px;
  border-radius: 28px;
}

#main .rec-poste h3 {
  margin: 0 0 14px;
  font-family: var(--font-nav);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: var(--atsad-blue, #1b3b6f);
}

/* ---- Contenu de l'affiche en vrai texte (tablette et téléphone) ------------- */

#main .rec-texte {
  max-width: 640px;
  margin: 22px auto 0;
}

@media (min-width: 992px) {
  #main .rec-texte { display: none; }
}

/* Postes : six qualités en cartes pêche / bleu pâle, comme les bulles de l'affiche */
#main .rec-qualites {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

#main .rec-qualites li {
  padding: 12px 20px;
  border-radius: 28px;
  line-height: 1.4;
  color: #44556d;
}

#main .rec-qualites li:nth-child(odd)  { background: #fdeadb; }
#main .rec-qualites li:nth-child(even) { background: #e3edfc; }

#main .rec-qualites strong {
  display: block;
  font-family: var(--font-nav);
  font-size: 1.05rem;
  color: var(--atsad-blue, #1b3b6f);
}

#main .rec-signature {
  margin: 0;
  padding: 16px 22px;
  border-radius: 24px;
  background: var(--atsad-blue, #1b3b6f);
  text-align: center;
  font-weight: 600;
  color: #fff;
}

/* Villes : accroche, trois points, encart, bandeau */
#main .rec-accroche {
  margin: 0 0 14px;
  font-family: var(--font-nav);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--atsad-blue, #1b3b6f);
}

#main .rec-points {
  margin: 0 0 18px;
  padding-left: 20px;
}

#main .rec-points li {
  margin-bottom: 8px;
  line-height: 1.5;
}

#main .rec-encart {
  margin: 0 0 14px;
  padding: 16px 20px;
  border-radius: 24px;
  background: #fdeadb;
}

#main .rec-encart p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.45;
}

#main .rec-encart .rec-encart-titre {
  margin-bottom: 6px;
  font-family: var(--font-nav);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-accent);
}

#main .rec-bandeau {
  margin: 0;
  padding: 14px 22px;
  border-radius: 24px;
  background: var(--color-accent);
  font-family: var(--font-nav);
  font-weight: 600;
  color: #fff;
}

/* ---- Candidature et convention collective (toutes tailles) ------------------- */

#main .rec-postuler {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
}

#main .rec-postuler > :last-child {
  margin-bottom: 0;
}

#main .rec-postuler p {
  margin: 0 0 8px;
}

#main .rec-contact {
  font-size: 1.15rem;
  font-weight: 600;
}

#main .rec-convention {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: .95rem;
  color: #5b7390;
}
