/* ============================================================
   Architecture Franck Labarde — Shared Styles
   Minimalist, material-driven. Inspired by Kengo Kuma + FLW.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink:    #1a1812;
  --paper:  #f5f2ec;
  --stone:  #e5dfd2;
  --warm:   #b8926a;
  --accent: #2c2720;
  --muted:  #7a7165;
  --line:   #d4cec3;
  --white:  #faf9f7;

  --ff-head: 'Space Grotesk', sans-serif;
  --ff-body: 'DM Sans', sans-serif;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Architectural grid background */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(44,39,32,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44,39,32,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

/* ── NAVIGATION ─────────────────────────────────────────── */

nav {
  padding: 32px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.nav-logo {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.2px;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { font-weight: 300; color: var(--muted); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.lang-switcher {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-shrink: 0;
}
.lang-btn {
  font-family: var(--ff-head);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 5px 9px;
  border: 1px solid transparent;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1;
}
.lang-btn:hover { color: var(--accent); border-color: var(--line); }
.lang-btn.active { color: var(--accent); border-color: var(--line); background: var(--stone); }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--accent);
  transition: all 0.2s;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0 16px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--stone);
}
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--accent); }

/* ── SECTION DIVIDER ────────────────────────────────────── */

.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}
.divider-line { flex: 1; height: 1px; background: var(--line); }
.divider-text {
  font-family: var(--ff-head);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--warm);
  white-space: nowrap;
}

/* ── LABEL TAG ──────────────────────────────────────────── */

.label-tag {
  font-family: var(--ff-head);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--warm);
  display: flex;
  align-items: center;
  gap: 12px;
}
.label-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--warm);
}

/* ── BUTTONS ────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn-dark {
  background: var(--accent);
  color: var(--paper);
}
.btn-dark:hover { opacity: 0.82; }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
}
.btn-outline:hover { border-color: var(--accent); background: var(--stone); }

/* ── FOOTER ─────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  margin-top: 80px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
}

.footer-offices {
  display: flex;
  gap: 56px;
}
.footer-office {}
.footer-office-label {
  font-family: var(--ff-head);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--warm);
  margin-bottom: 10px;
}
.footer-office-address {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
}

.footer-logo-wrap { text-align: center; }
.footer-logo {
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.2px;
  display: block;
  margin-bottom: 6px;
}
.footer-logo span { font-weight: 300; color: var(--muted); }
.footer-tagline {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.footer-right { text-align: right; }
.footer-copy {
  font-size: 0.73rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── PAGE HERO (shared across pages) ───────────────────── */

.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
}
.page-hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--accent);
  line-height: 1.05;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ── UTILITIES ──────────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .container { padding: 0 32px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-right { text-align: left; }
  .footer-offices { flex-direction: column; gap: 24px; }
  .footer-logo-wrap { text-align: left; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .page-hero { padding: 48px 0 40px; }
}
