/* ==========================================================================
   Footer — Adrien Carlier Architecte (charte luxe blanc/noir/or)
   Préfixe .acf- : aucun style global, uniquement le footer.
   ========================================================================== */

.acf-footer {
  background: var(--ink, #0A0A0A);
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-sans, "Jost", sans-serif);
  border-top: 2px solid var(--gold, #C9A227);
  font-size: 0.95rem;
  line-height: 1.7;
}

.acf-footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4.5rem 2rem 2rem;
}

/* --- Grille 4 colonnes ------------------------------------------------- */

.acf-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 3rem 2.5rem;
  padding-bottom: 3.5rem;
}

.acf-footer__col {
  min-width: 0;
}

/* --- Col 1 : identité --------------------------------------------------- */

.acf-footer__brand {
  margin: 0 0 1.25rem;
}

.acf-footer__brand-name {
  display: block;
  font-family: var(--font-sans, "Jost", sans-serif);
  font-weight: 300;
  font-size: 1.45rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.acf-footer__brand-role {
  display: block;
  margin-top: 0.35rem;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold, #C9A227);
}

.acf-footer__baseline {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Titres de colonnes -------------------------------------------------- */

.acf-footer__title {
  margin: 0 0 1.35rem;
  font-family: var(--font-sans, "Jost", sans-serif);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold, #C9A227);
}

/* --- Listes de liens ------------------------------------------------------ */

.acf-footer__nav ul,
.acf-footer__social ul,
.acf-footer__legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.acf-footer__nav li {
  margin: 0 0 0.65rem;
}

.acf-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.25s ease;
}

.acf-footer a:hover,
.acf-footer a:focus-visible {
  color: var(--gold, #C9A227);
  text-decoration: none;
}

.acf-footer a:focus-visible {
  outline: 1px solid var(--gold, #C9A227);
  outline-offset: 3px;
}

/* --- Réseaux sociaux (liens textuels en ligne) ----------------------------
   Vague 3-B : doublon .acf-footer__social ul fusionné — règle unique
   conservée plus bas (section « Icones reseaux sociaux », gap 1.4rem). */

.acf-footer__social a {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.acf-footer__social a:hover,
.acf-footer__social a:focus-visible {
  border-bottom-color: var(--gold, #C9A227);
}

/* --- Col 4 : contact ------------------------------------------------------- */

.acf-footer__address {
  font-style: normal; /* neutralise l'italique par défaut de <address> */
}

.acf-footer__address p {
  margin: 0 0 0.65rem;
}

.acf-footer__tel {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  letter-spacing: 0.06em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.acf-footer__tel:hover,
.acf-footer__tel:focus-visible {
  color: var(--gold, #C9A227);
  border-color: var(--gold, #C9A227);
}

.acf-footer__zones {
  color: rgba(255, 255, 255, 0.55);
}

.acf-footer__note {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* --- Barre du bas ----------------------------------------------------------- */

.acf-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.acf-footer__copyright {
  margin: 0;
}

.acf-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

.acf-footer__legal a {
  color: rgba(255, 255, 255, 0.5);
}

.acf-footer__legal a:hover,
.acf-footer__legal a:focus-visible {
  color: var(--gold, #C9A227);
}

/* --- Responsive -------------------------------------------------------------- */

@media (max-width: 960px) {
  .acf-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.75rem 2rem;
  }

  .acf-footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .acf-footer__inner {
    padding: 3.25rem 1.25rem 1.5rem;
  }

  .acf-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .acf-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Icones reseaux sociaux */
.acf-footer__social ul {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.acf-soc {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.acf-soc::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: center / contain no-repeat;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.acf-soc:hover::before { opacity: 1; }

.acf-soc--ig::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='17.6' cy='6.4' r='1.2' fill='%23C9A227' stroke='none'/%3E%3C/svg%3E");
}

.acf-soc--fb::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C9A227'%3E%3Cpath d='M13.5 21v-7h2.4l.5-3h-2.9V9.1c0-.9.3-1.6 1.7-1.6h1.3V4.8c-.6-.1-1.4-.2-2.3-.2-2.4 0-4 1.4-4 4V11H7.5v3h2.7v7h3.3z'/%3E%3C/svg%3E");
}

.acf-soc--in::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C9A227'%3E%3Cpath d='M6.5 8.8H3.6V21h2.9V8.8zM5 7.4a1.9 1.9 0 1 0 0-3.8 1.9 1.9 0 0 0 0 3.8zM21 13.9c0-3.2-1.7-5.3-4.4-5.3-1.5 0-2.5.7-3 1.6h-.1V8.8H10.7V21h2.9v-6.1c0-1.5.6-2.6 2-2.6s2 1.1 2 2.6V21H21v-7.1z'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Vague 3-B — polish tactile mobile + safe-area (aucun changement desktop)
   ========================================================================== */

/* Cibles tactiles >= 44px : padding vertical compensé par une marge négative
   et une marge de liste réduite, pour un rendu visuel quasi identique. */
@media (max-width: 1024px) {
  .acf-footer__nav a {
    display: inline-block;
    padding: 0.6rem 0;   /* ~25.8px de texte + 19.2px -> ~45px */
    margin: -0.35rem 0;
  }

  .acf-footer__nav li {
    margin-bottom: 0.15rem; /* 0.65rem d'origine - compensation du padding */
  }

  .acf-footer__legal a {
    display: inline-block;
    padding: 0.7rem 0;   /* texte 0.82rem -> ~44.7px */
    margin: -0.55rem 0;
  }

  .acf-footer__legal li {
    margin-bottom: 0.15rem;
  }

  /* Liens sociaux : inline-flex conservé (alignement icône + texte) */
  .acf-soc {
    padding: 0.7rem 0;
    margin: -0.55rem 0;
  }
}

/* Safe-area iPhone paysage (encoche) — base = padding actuel de __inner */
@supports (padding: max(0px)) {
  .acf-footer__inner {
    padding-left: max(2rem, env(safe-area-inset-left));
    padding-right: max(2rem, env(safe-area-inset-right));
  }

  @media (max-width: 620px) {
    .acf-footer__inner {
      padding-left: max(1.25rem, env(safe-area-inset-left));
      padding-right: max(1.25rem, env(safe-area-inset-right));
    }
  }
}
