/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--camel);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 2fr 0.6fr 0.8fr;
  gap: 40px;
  padding: 36px 60px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col--logo { gap: 14px; }

.footer-col--email {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 22px;
}

.footer-logo-lien { display: inline-block; }

.footer-logo {
  width: 80px;
  height: auto;
  display: block;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social-lien {
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
}

.footer-social-lien:hover { opacity: 1; }

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.55;
}

.footer-titre {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 2px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  line-height: 1.4;
}

.footer-nav a:hover { opacity: 1; }

.footer-nav--grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.footer-copier {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
  border-radius: 0.6rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.footer-copier:hover {
  background: var(--white);
  color: var(--camel);
}

.footer-copier.copied {
  background: var(--white);
  color: var(--camel);
}

/* ── Desktop/Mobile toggle ─ */
.footer-desktop-only { display: flex; }
.footer-mobile-only  { display: none; }
.footer-bottom       { display: none; }

/* ── Toast ─ */
.toast-email {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  padding: 10px 22px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  white-space: nowrap;
}

.toast-email.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE TABLET
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .footer {
    grid-template-columns: 1fr 1.8fr 0.6fr;
    gap: 28px;
  }

  .footer-col--email {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .footer {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 24px;
  }

  .footer-nav--grille {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════
   MOBILE — 500px
═══════════════════════════════════════ */
@media (max-width: 500px) {
  .footer-desktop-only { display: none !important; }
  .footer-mobile-only  { display: flex !important; }
  .footer-bottom {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.2);
    grid-column: 1 / -1;
  }

  .footer {
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
  }

  /* Logo + bouton email côte à côte */
  .footer-col--logo {
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* logo à gauche, bouton à droite */
    gap: 12px;
    width: 100%;
  }

  .footer-logo { width: 70px; }

  .footer-nav--grille {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}