/* @import url('reset.css');
@import url('variable.css');
@import url('color.css');
@import url('police.css'); */




 /* ===== Variables ===== */
:root {
  --footer-gap: 20px;
  --footer-border: 5px;
  --footer-color: #fff;
  --footer-accent: #fff; 
  --footer-hover: #000;  
}

/* ===== Fond et texte ===== */
footer.fcpm-footer {
  background: url("/images/footerbackground.webp") center center no-repeat;
  background-size: cover;
  color: var(--footer-color);
}

/* ===== Structure principale ===== */
.footer-menu {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: var(--footer-gap);
  padding: 80px var(--footer-gap);
}

/* ===== Colonnes ===== */
.dcma {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--footer-gap);
  border-left: var(--footer-border) solid var(--footer-accent);
}
.dcma:first-child {
  border-left: none;
}
.img_logo {
  width: 160px;
  height: auto;
  display: block;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  padding: 0 30px;
  border-left: var(--footer-border) solid var(--footer-accent);
}

.reseau_border {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-left: var(--footer-border) solid var(--footer-accent);
  padding: 0 30px;
}
.reseau_all {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reseau {
  display: flex;
  gap: 10px;
  align-items: center;
}
.img_social {
  width: 28px;
  height: 28px;
  display: block;
}

/* ===== Liens et listes ===== */
.footer-nav,
.footer-contact,
.li-reseau-all {
  list-style: none;
  margin: 0;
  padding: 0;
}

.li-footer,
.contact-footers,
.li-footer-reseau {
  margin: 0 0 6px 0;
}

.li-footer a,
.li-footer-reseau a {
  color: var(--footer-color);
  text-decoration: none;
  transition: color .3s ease;
  font-size: 18px;
}
.li-footer a:hover,
.li-footer-reseau a:hover {
  color: var(--footer-hover); 
}

.footer-contact p {
  margin: 0;
  font-size: 18px;
}

/* Icônes contact */
.footer-contact li {
  position: relative;
  padding-left: 30px;
}
.footer-contact li:nth-child(1)::before,
.footer-contact li:nth-child(2)::before,
.footer-contact li:nth-child(3)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.footer-contact li:nth-child(1)::before { background-image: url("/images/loc.png"); }
.footer-contact li:nth-child(2)::before { background-image: url("/images/mail.png"); }
.footer-contact li:nth-child(3)::before { background-image: url("/images/tel.png"); }

/* ===== Copyright ===== */
.copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 12px;
  font-size: 14px;
  background: rgba(0,0,0,0.65);
  color: var(--footer-color);
}

/* ===== Lien "Réalisé par Vultek" ===== */
.realise {
  margin-left: 5px;
  font-size: 14px;
}

.link-vultek {
  color: var(--footer-color);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
  cursor: pointer;
}

.link-vultek:hover {
  color: #00a3ff; 
}

/* ===== Largeurs de colonnes ===== */
.footer-menu > * {
  flex: 1 1 0;
  min-width: 220px;
}


@media (max-width: 1170px) {
  .footer-menu {
    flex-direction: column;
    gap: calc(var(--footer-gap) * 1.25);
    padding: 0; 
    margin: 0;
  }

  .footer-menu > * {
    flex: 1 1 100%;
    min-width: 0;
    border-left: none !important;
    padding: 30px 20px; 
    width: 100%;
    box-sizing: border-box;
  }

  /* Bordures deviennent horizontales et s'étendent jusqu'aux bords */
  .dcma,
  .footer,
  .reseau_border {
    border-top: var(--footer-border) solid var(--footer-accent);
    border-left: none;        
    margin-left: calc(-50vw + 50%); 
    padding-left: 20px;
    padding-right: 20px;
  }
  .dcma { border-top: none; }

  .reseau {
    justify-content: flex-start;
  }

  .li-footer-reseau { margin-bottom: 8px; }

  .img_logo { width: 140px; }
}

/* Petits mobiles */
@media (max-width: 500px) {
  .img_logo { width: 130px; }
  .img_social { width: 26px; height: 26px; }
  .li-footer a, .li-footer-reseau a, .footer-contact p { font-size: 16px; }
  .copyright { font-size: 12.5px; }
}

/* Smooth scroll */
html { scroll-behavior: smooth; }
