/* VIYABO – noir & or */
:root {
  --bg: #0E0E10;
  --bg2: #151517;
  --card: #17171A;
  --card2: #1E1E21;
  --line: #2A2A2E;
  --line2: #3A3A3E;
  --text: #F2F2F0;
  --muted: #C9C9C4;
  --muted2: #8A8A85;
  --gold: #D4A64A;
  --gold-light: #F3D58A;
  --gold-dark: #9C7424;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; line-height: 1.5; }
a { color: var(--gold); }
a:hover { color: #E8C27A; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; margin: 0; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-alt { background: var(--bg2); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.h2 { font-size: 44px; }
.kicker { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: var(--muted); }

/* Boutons */
.btn { display: inline-block; font-weight: 600; padding: 16px 28px; border-radius: 999px; text-decoration: none; font-size: 16px; }
.btn-gold { background: var(--gold); color: #0E0E10; }
.btn-gold:hover { background: #E8C27A; color: #0E0E10; }
.btn-ghost { border: 1px solid var(--line2); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* En-tête */
.header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; gap: 5px; }
.gold-text { font-family: 'Michroma', sans-serif; letter-spacing: 2px; background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-text .gold-text { font-size: 20px; }
.gold-bar { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark)); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a.active { color: var(--gold); }
.nav a.active { font-weight: 600; }
.nav .btn { padding: 10px 20px; font-size: 15px; color: #0E0E10; }

/* Accueil */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 112px; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(44px, 6vw, 80px); font-weight: 700; line-height: 1.02; }
.hero h1 span { color: var(--gold); }
.hero .lead { font-size: 20px; max-width: 620px; line-height: 1.6; }
.hero-photo { flex: 1 1 300px; display: flex; justify-content: center; }
.hero-photo img { width: 340px; height: 420px; object-fit: cover; object-position: center top; border-radius: 24px; border: 1px solid var(--line); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }

/* Grilles et cartes */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-sm { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 28px; }
.card p { color: var(--muted); line-height: 1.6; }
.card-soft { background: var(--card2); border: 1px solid #2E2E32; border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card-soft h3 { font-size: 22px; }
.card-soft p { color: #A9A9A4; line-height: 1.6; }

/* Clients */
.clients { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.client { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.client-logo { width: 100%; height: 110px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line2); display: flex; align-items: center; justify-content: center; padding: 14px; overflow: hidden; }
.client-logo img { max-height: 82px; object-fit: contain; }
.client-logo .initials { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: #0E0E10; }
.client span { font-size: 14px; font-weight: 500; color: var(--muted); }

/* À propos */
.about { display: flex; flex-wrap: wrap; gap: 56px; }
.about h1 { flex: 1 1 280px; font-size: 44px; }
.about-text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.about-text strong { color: var(--text); }
.timeline-item { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-date { flex: 1 1 200px; color: var(--muted2); font-size: 15px; }
.timeline-body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.timeline-body h3 { font-size: 24px; }
.timeline-meta { color: var(--muted2); font-size: 15px; }
.timeline-body p:last-child { color: var(--muted); line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--card2); border: 1px solid var(--line2); border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 500; }

/* Projets */
.project { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.project-top { display: flex; align-items: center; gap: 16px; }
.project-logo { width: 64px; height: 64px; flex-shrink: 0; border-radius: 14px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 6px; }
.project-logo img { max-height: 52px; object-fit: contain; }
.project-logo .initials { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; color: #0E0E10; }
.project h3 { font-size: 22px; }
.project p { color: var(--muted); line-height: 1.6; }
.via { align-self: flex-start; border: 1px solid var(--line2); border-radius: 999px; padding: 6px 14px; font-size: 14px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-item { position: relative; border-radius: 18px; overflow: hidden; background: #1A1A1E; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.gallery-item img, .gallery-item iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.gallery-item .tag { position: absolute; top: 12px; left: 12px; background: var(--bg); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.empty { color: var(--muted2); border: 1px dashed var(--line2); border-radius: 18px; padding: 40px; text-align: center; }

/* Contact */
.cta h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
.cta h2 span { color: var(--gold); }
.cta { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding-top: 112px; padding-bottom: 112px; }

/* Pied de page */
.footer { border-top: 1px solid #222226; padding: 28px 32px; text-align: center; color: var(--muted2); font-size: 14px; }

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .cta { padding-top: 72px; padding-bottom: 72px; }
  .header { justify-content: center; }
  .nav { justify-content: center; }
  .nav .btn { display: none; }
  .hero h1, .hero .eyebrow { text-align: left; }
  .card, .project { padding: 22px; }
  .h2 { font-size: 34px; }
  .hero { padding-top: 32px; padding-bottom: 72px; }
  .nav { gap: 16px; }
}
