/* ===================== */
/*    FOOTER SALVIA      */
/* ===================== */

/* Footer global */
.site-footer {
  background: #2f4a3a;
  margin-top: 0 !important;
}

/* Bloc principal */
.footer-main {
  padding: 48px 18px 28px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  align-items: start;
}

/* Marque */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  justify-self: center;
}

.footer-logo img {
  display: block;
  max-width: 130px;
  height: auto;
  border-radius: 12px;
}

.footer-desc {
  margin: 14px 0 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-align: center;
  max-width: 160px;
}

/* Petit trait décoratif au-dessus du slogan */
.footer-desc::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(141, 198, 63, 0.5);
  margin: 0 auto 12px;
}

/* Titres de colonnes */
.footer-title {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8dc63f;
}

/* Liens */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: #ede1cd;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
}

.footer-links a {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
  opacity: 0.95;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  color: #8dc63f;
  padding-left: 4px;
}

/* Social / contact */
.footer-side {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social .social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.footer-social .social:hover {
  color: #8dc63f;
}

.social-handle {
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.footer-contact {
  font-style: normal;
  color: #ede1cd;
  font-size: 15px;
  line-height: 1.9;
}

.footer-contact strong {
  letter-spacing: 0.35em;
  margin-right: -0.35em;
  font-weight: 600;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s ease, transform 0.15s ease;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
}

.footer-contact a:hover {
  opacity: 0.75;
  transform: translateX(2px);
  border-bottom-style: solid;
}

/* Feedback tactile mobile */
.footer-contact a:active {
  opacity: 0.6;
}

/* Bas du footer */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 18px;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-bottom-inner p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* ===================== */
/*      RESPONSIVE       */
/* ===================== */

/* Tablette : 2 colonnes, le bloc social/contact passe en dessous */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;      /* le logo prend toute la largeur en haut */
  }

  .footer-side {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Mobile : tout empilé et centré */
@media (max-width: 768px) {
  .footer-main {
    padding: 36px 16px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-logo img {
    max-width: 140px;
  }

  .footer-title {
    text-align: center;
  }

  .footer-links {
    text-align: center;
    justify-items: center;
  }

  .footer-links a {
    font-size: 14px;
    padding: 4px 0;           /* zones tactiles plus grandes au doigt */
  }

  /* Pas de décalage au tap sur mobile (pas de hover au doigt) */
  .footer-links a:hover {
    padding-left: 0;
  }

  .footer-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-bottom-inner p {
    font-size: 12px;
    line-height: 1.5;
  }
}