/* ===================================================================
   FOOTER UNIFIÉ CERFRANCE TERRE D'ALLIER
   Fichier partagé par toutes les pages du site.
   Emplacement serveur : /partials/footer.css
   Pour modifier le style du footer : ce fichier uniquement.
   =================================================================== */

.cf-footer {
  --cf-jaune: #f8b332;
  --cf-gris: #4b4b4d;
  --cf-blanc: #ffffff;

  background: var(--cf-gris);
  color: var(--cf-blanc);
  padding: 70px 24px 30px;
  font-family: 'Nexa', Arial, Helvetica, sans-serif;
}

.cf-footer .cf-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cf-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* --- Colonne marque --- */
.cf-footer-about img {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}

.cf-footer-about p {
  font-size: 14px;
  opacity: .7;
  line-height: 1.6;
  max-width: 340px;
  margin: 0;
}

.cf-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.cf-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--cf-blanc);
  transition: background .2s, transform .2s;
}

.cf-footer-social a:hover {
  background: var(--cf-jaune);
  transform: translateY(-2px);
}

.cf-footer-social svg {
  width: 18px;
  height: 18px;
}

/* --- Colonnes de liens --- */
.cf-footer h4 {
  color: var(--cf-jaune);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 18px;
  font-weight: 800;
}

.cf-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cf-footer li {
  margin-bottom: 10px;
}

.cf-footer a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}

.cf-footer a:hover {
  color: var(--cf-jaune);
}

.cf-footer-agences {
  font-size: 14px;
  opacity: .7;
  line-height: 1.7;
  margin: 0;
}

.cf-footer-contact p {
  font-size: 14px;
  opacity: .75;
  line-height: 1.9;
  margin: 0;
}

.cf-footer-cta {
  margin-top: 14px !important;
  opacity: 1 !important;
}

.cf-footer-cta a {
  font-weight: 700;
  color: var(--cf-jaune);
}

/* --- Bas de page --- */
.cf-footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.cf-footer-bottom .cf-legal {
  opacity: .6;
}

.cf-footer-bottom .cf-legal a {
  color: inherit;
  font-size: 13px;
}

.cf-baseline {
  font-style: italic;
  letter-spacing: .02em;
  color: var(--cf-jaune);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .cf-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .cf-footer-grid {
    grid-template-columns: 1fr;
  }
  .cf-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
