/* Gestion Spyder Management — holding company site */
:root {
  --bg: #fbfaf7;
  --ink: #16130f;
  --muted: #6e6557;
  --accent: #c3221f;
  --accent-soft: #f3ded7;
  --card: #ffffff;
  --line: #e4dcd0;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --content-max: min(3400px, 96vw);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5vw;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-color: var(--line); }

.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav { display: flex; gap: 1.75rem; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav a:hover { opacity: 1; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5vw 5rem;
  background: #fff;
}
.hero-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy { max-width: 720px; }

.hero-photo { display: flex; justify-content: center; }
.hero-logo {
  width: 100%;
  max-width: 520px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.lede {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(22, 19, 15, 0.25); }

.btn-ghost {
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--accent-soft); }

/* Sections */
section {
  padding: 6rem 5vw;
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-head { margin-bottom: 3rem; }
.section-head h2,
.contact h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
  gap: 2.5rem;
}

.about-text p { margin-bottom: 1.25rem; }
.muted { color: var(--muted); }

/* Work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1500px;
  margin: 0 auto;
}

.work-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  transition: transform 0.2s, box-shadow 0.25s;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(22, 19, 15, 0.1);
}

.thumb {
  aspect-ratio: 4 / 3;
  border-radius: 0.6rem;
  margin-bottom: 1rem;
}
.thumb-1 { background: linear-gradient(135deg, #e0a9a4, #a8322f); }
.thumb-2 { background: linear-gradient(135deg, #b9b1a2, #5f5647); }
.thumb-3 { background: linear-gradient(135deg, #e2c8a6, #a98252); }

.work-cat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.work-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}
.work-desc {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Contact */
.contact {
  text-align: center;
  padding-bottom: 8rem;
}
.contact .btn { margin-top: 1.75rem; }
.contact .muted { margin-top: 0.75rem; }

.socials {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.socials a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.socials a:hover { color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 5vw;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .nav { gap: 1rem; }
}

/* Large screens — scale type up so it reads well at 4K */
@media (min-width: 2200px) {
  html { font-size: 20px; }
}
@media (min-width: 3000px) {
  html { font-size: 24px; }
}
