/* =========================================================================
   FOOTER YOUNGS JOB — nouveau bas de page (fond clair)
   Styles isolés sous le préfixe .yj-footer pour ne pas impacter le reste
   du site (l'ancien footer utilisait .main-footer avec un fond bleu nuit).
   ========================================================================= */

/* Conteneur général du footer : fond clair, texte bleu marine */
.yj-footer {
  background: #ffffff;
  color: #1f2a44;
  font-family: inherit;
  border-top: 1px solid #eef1f6;
}

/* Largeur centrée du contenu */
.yj-footer .yj-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 24px 32px 24px;
}

/* Grille principale : colonne logo (large) + 4 colonnes de liens */
.yj-footer .yj-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
}

/* ---------- Colonne logo / présentation ---------- */
.yj-footer .yj-logo img {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

.yj-footer .yj-tagline {
  color: #5b6478;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 22px 0;
  max-width: 260px;
}

/* Réseaux sociaux : pastilles rondes claires */
.yj-footer .yj-social {
  display: flex;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.yj-footer .yj-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f4f6fb;
  color: #2563eb;
  font-size: 18px;
  transition: all .2s ease;
  box-shadow: 0 4px 10px rgba(31, 42, 68, .06);
}

.yj-footer .yj-social a:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---------- Colonnes de liens ---------- */
.yj-footer .yj-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #1f2a44;
  margin: 6px 0 22px 0;
}

/* Petite pastille bleu clair derrière l'icône de titre */
.yj-footer .yj-col-title i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eaf0ff;
  color: #2563eb;
  font-size: 16px;
}

.yj-footer .yj-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.yj-footer .yj-links li {
  margin-bottom: 14px;
}

/* Lien avec petit chevron bleu à gauche */
.yj-footer .yj-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5b6478;
  text-decoration: none;
  font-size: 16px;
  transition: color .2s ease, transform .2s ease;
}

.yj-footer .yj-links a::before {
  content: "\f105"; /* chevron-right FontAwesome */
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome";
  font-weight: 900;
  color: #2563eb;
  font-size: 13px;
}

.yj-footer .yj-links a:hover {
  color: #2563eb;
  transform: translateX(3px);
}

/* ---------- Colonne contact ---------- */
.yj-footer .yj-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.yj-footer .yj-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  color: #5b6478;
  font-size: 16px;
  line-height: 1.4;
}

.yj-footer .yj-contact li i {
  color: #2563eb;
  font-size: 16px;
  margin-top: 3px;
}

.yj-footer .yj-contact a {
  color: #5b6478;
  text-decoration: none;
}

.yj-footer .yj-contact a:hover {
  color: #2563eb;
}

/* Encart "Une question ?" */
.yj-footer .yj-cta {
  display: flex;
  align-items: center;
  gap: 12px;                 /* espacement resserré pour laisser de la place au texte */
  background: #f4f6fb;
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 6px;
}

.yj-footer .yj-cta .yj-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;               /* pastille un peu plus compacte */
  height: 38px;
  border-radius: 12px;
  background: #eaf0ff;
  color: #2563eb;
  font-size: 15px;
  flex-shrink: 0;
}

/* Bloc texte : prend la place disponible et autorise le retour à la ligne propre */
.yj-footer .yj-cta .yj-cta-text {
  flex: 1;
  min-width: 0;              /* évite que le texte déborde / pousse la flèche */
}

.yj-footer .yj-cta .yj-cta-text strong {
  display: block;
  color: #1f2a44;
  font-size: 15px;
  white-space: nowrap;       /* le titre "Une question ?" reste sur une seule ligne */
}

.yj-footer .yj-cta .yj-cta-text span {
  display: block;
  color: #5b6478;
  font-size: 13px;
  line-height: 1.35;
}

.yj-footer .yj-cta .yj-cta-arrow {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;               /* flèche légèrement réduite pour l'équilibre */
  height: 36px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  flex-shrink: 0;
  transition: transform .2s ease;
}

.yj-footer .yj-cta .yj-cta-arrow:hover {
  transform: translateX(3px);
}

/* ---------- Bandeau de confiance ---------- */
.yj-footer .yj-trust {
  background: #f7f9fc;
  border-top: 1px solid #eef1f6;
}

.yj-footer .yj-trust-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #5b6478;
  font-size: 15px;
}

.yj-footer .yj-trust-inner i {
  color: #2563eb;
  font-size: 22px;
}

.yj-footer .yj-trust-inner strong {
  color: #1f2a44;
  display: block;
  font-weight: 600;
}

/* ---------- Barre du bas (copyright) ---------- */
.yj-footer .yj-bottom {
  background: #2563eb;
  color: #ffffff;
  text-align: center;
  padding: 16px 24px;
  font-size: 15px;
}

.yj-footer .yj-bottom a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

/* =========================================================================
   RESPONSIVE — adaptation tablette / mobile
   ========================================================================= */
@media (max-width: 1024px) {
  .yj-footer .yj-grid {
    grid-template-columns: 1fr 1fr 1fr; /* 3 colonnes sur tablette */
  }
  .yj-footer .yj-logo-col {
    grid-column: 1 / -1; /* la colonne logo prend toute la largeur */
    margin-bottom: 10px;
  }
}

@media (max-width: 640px) {
  .yj-footer .yj-grid {
    grid-template-columns: 1fr; /* tout en une colonne sur mobile */
    gap: 28px;
  }
  .yj-footer .yj-container {
    padding: 40px 20px 24px 20px;
  }
  .yj-footer .yj-tagline {
    max-width: none;
  }
}
