:root {
  --bg: #f5f3ee; --ink: #1c1c1c; --muted: #626b64;
  --green: #338641; --green-dark: #246b31; --line: #e7e8e2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
.site-header, .site-footer {
  width: min(1160px, calc(100% - 48px)); margin: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header { min-height: 78px; }
.studio-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; }
.studio-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 11px; color: white; background: var(--green); font-size: 12px;
}
.back-link, .site-footer { color: var(--muted); font-size: 13px; text-decoration: none; }
.site-footer { min-height: 82px; border-top: 1px solid var(--line); font-size: 12px; }
.site-footer a { text-decoration: none; color: inherit; }

/* Footer : liens regroupés en colonne (confidentialité, contact, copyright) */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
  margin-left: auto;
  text-align: left;
}
.footer-links a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.footer-links a { transition: color .2s; }
.footer-links span { color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 4px; }
.footer-links a:hover { color: var(--green); }

@media (max-width: 600px) {
  .footer-links { margin-left: 0; }
}

/* Footer de la page d'accueil : copyright à gauche, contact à droite */
.home-footer { flex-wrap: wrap; gap: 12px 24px; padding: 20px 0; }
.footer-copyright { margin: 0; color: var(--muted); font-size: 13px; }
.site-footer .footer-contact {
  color: var(--ink); font-size: 15px; font-weight: 700;
  letter-spacing: -.01em; transition: color .2s;
}
.site-footer .footer-contact:hover { color: var(--green); }
.footer-links .footer-heading {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}
