/* Footer unifié — thème adapté à chaque page */
.site-footer {
  --footer-bg: #140f0b;
  --footer-text: #f5ede4;
  --footer-muted: rgba(245, 237, 228, 0.62);
  --footer-line: rgba(245, 237, 228, 0.14);
  --footer-accent: #f55c09;
  --footer-note: rgba(245, 237, 228, 0.42);

  background: var(--footer-bg) !important;
  color: var(--footer-text);
  padding: 72px 0 32px;
  border-top: 1px solid var(--footer-line);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  text-align: left;
}

.site-footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--footer-line);
}

.site-footer .footer-brand .wordmark {
  display: inline-block;
  font-family: "Bricolage Grotesque", ui-sans-serif, sans-serif;
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: var(--footer-text);
  margin-bottom: 14px;
  text-decoration: none;
}

.site-footer .footer-brand .wordmark .sarl {
  font-weight: 600;
  font-size: 0.72em;
  opacity: 0.72;
  margin-left: 2px;
}

.site-footer .footer-brand p {
  color: var(--footer-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  max-width: 34ch;
  margin-bottom: 20px;
}

.site-footer .footer-brand .socials-block {
  margin-top: 4px;
}

.site-footer .footer-col h4 {
  font-family: "Bricolage Grotesque", ui-sans-serif, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: var(--footer-text);
}

.site-footer .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer .footer-col a,
.site-footer .footer-col li {
  color: var(--footer-muted);
  font-size: 0.93rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .footer-col a:hover {
  color: var(--footer-accent);
}

.site-footer .footer-contact span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.site-footer .footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--footer-accent);
  flex: none;
  margin-top: 3px;
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  flex-wrap: wrap;
}

.site-footer .footer-bottom p,
.site-footer .footer-bottom span {
  color: var(--footer-muted);
  font-size: 0.85rem;
  margin: 0;
}

.site-footer .footer-note {
  font-size: 0.78rem;
  color: var(--footer-note);
}

/* APALIS — accueil & contact */
.site-footer--apalis {
  --footer-bg: #140f0b;
  --footer-accent: #f55c09;
  --footer-line: rgba(245, 237, 228, 0.14);
  --footer-muted: rgba(245, 237, 228, 0.62);
  --footer-note: rgba(245, 237, 228, 0.4);
}

/* Fuel'Express — vert foncé + lime */
.site-footer--fe {
  --footer-bg: #16280f;
  --footer-accent: #c7e552;
  --footer-text: #eef4e2;
  --footer-muted: rgba(238, 244, 226, 0.66);
  --footer-line: rgba(238, 244, 226, 0.14);
  --footer-note: rgba(238, 244, 226, 0.45);
}

/* Fuel'Express Pro — bleu nuit */
.site-footer--pro {
  --footer-bg: #0a2040;
  --footer-accent: #5fb0ff;
  --footer-text: #eaf2fb;
  --footer-muted: rgba(234, 242, 251, 0.68);
  --footer-line: rgba(122, 178, 255, 0.2);
  --footer-note: rgba(234, 242, 251, 0.45);
}

/* Devis — aligné sur Fuel'Express Pro */
.site-footer--devis {
  --footer-bg: #0a2040;
  --footer-accent: #5fb0ff;
  --footer-text: #eaf2fb;
  --footer-muted: rgba(234, 242, 251, 0.68);
  --footer-line: rgba(122, 178, 255, 0.2);
  --footer-note: rgba(234, 242, 251, 0.45);
}

@media (max-width: 1024px) {
  .site-footer .footer-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-footer .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 56px 0 28px;
  }

  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .site-footer .footer-top {
    grid-template-columns: 1.5fr 1.15fr;
    gap: 40px;
    align-items: start;
  }

  .site-footer .footer-brand {
    grid-column: auto;
  }
}
