/* ------------------------------------------------------------------
   VV Event — Landing
   Direction : éditorial méditerranéen, light-first.
   Palette OKLCH, typo Gloock (display) + Hanken Grotesk (body).
------------------------------------------------------------------ */

:root {
  /* Surfaces */
  --bg-cream:        oklch(96% 0.015 75);
  --bg-cream-soft:   oklch(98% 0.010 75);
  --bg-stone:        oklch(88% 0.020 75);
  --bg-ink:          oklch(18% 0.020 250);
  --bg-ink-soft:     oklch(22% 0.022 250);

  /* Texte */
  --fg-ink:          oklch(22% 0.020 50);
  --fg-ink-muted:    oklch(42% 0.015 55);
  --fg-ink-dim:      oklch(58% 0.012 60);
  --fg-cream:        oklch(94% 0.015 75);
  --fg-cream-muted:  oklch(75% 0.020 70);
  --fg-cream-dim:    oklch(58% 0.015 65);

  /* Accents */
  --accent:          oklch(58% 0.180 35);
  --accent-hot:      oklch(64% 0.190 35);
  --safran:          oklch(80% 0.150 85);

  /* Filets */
  --line-sand:       oklch(78% 0.015 65);
  --line-sand-soft:  oklch(84% 0.012 65);
  --line-ink:        oklch(38% 0.020 250);
  --line-ink-soft:   oklch(28% 0.020 250);

  /* Rythme (4pt, noms sémantiques) */
  --space-2xs: 4px;
  --space-xs:  8px;
  --space-sm:  12px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Typographie */
  --font-display: 'Gloock', 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;

  /* Conteneur */
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 3vw, 2.5rem);

  color-scheme: light;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-cream);
  color: var(--fg-ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--bg-cream); }

/* ---- Conteneur ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ---- Typographie globale ---- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.02;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.022em; }
h1 { line-height: 1.02; }
h2 { line-height: 1.05; }

p { max-width: 68ch; }

em { font-style: normal; color: var(--accent); }

/* ---- Kicker éditorial (numéro + filet + libellé) ---- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-ink-muted);
}
.kicker__num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--accent);
}
.kicker__line {
  display: block;
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.section--ink .kicker { color: var(--fg-cream-muted); }
.section--ink .kicker__num { color: var(--safran); }

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg-cream);
}
.btn--primary:hover { background: var(--accent-hot); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border-color: var(--fg-ink);
  color: var(--fg-ink);
}
.btn--ghost:hover { background: var(--fg-ink); color: var(--bg-cream); }
.section--ink .btn--ghost { border-color: var(--fg-cream); color: var(--fg-cream); }
.section--ink .btn--ghost:hover { background: var(--fg-cream); color: var(--bg-ink); }
.btn__arrow { transition: transform .25s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ==================================================================
   HEADER
================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg-cream) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-sand-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand__mark { color: var(--accent); }
.brand__name { color: var(--fg-ink); font-style: italic; font-size: 0.85em; }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-ink-muted);
  transition: color .2s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav__link:hover { color: var(--fg-ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link--cta {
  padding: 10px 20px;
  margin-left: var(--space-xs);
  background: var(--fg-ink);
  color: var(--bg-cream);
  transition: background .25s ease;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--accent); color: var(--bg-cream); }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line-sand);
}
.hamburger span {
  width: 18px; height: 1.5px;
  background: var(--fg-ink);
  transition: transform .2s ease, opacity .2s ease;
}

/* ==================================================================
   HERO
================================================================== */
.hero {
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0 clamp(72px, 12vw, 144px);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}
.hero__left { max-width: 900px; }
.hero__kicker { margin-bottom: var(--space-xl); }

.hero__title {
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin-bottom: var(--space-xl);
}
.hero__title-line { display: block; }
.hero__title-accent {
  font-style: italic;
  color: var(--accent);
}

.hero__lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--fg-ink-muted);
  max-width: 52ch;
  margin-bottom: var(--space-2xl);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__right {
  position: relative;
  padding-bottom: var(--space-md);
}
.hero__tag {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-ink-muted);
  border-top: 1px solid var(--fg-ink);
  padding-top: var(--space-md);
  max-width: 34ch;
}
.hero__tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--fg-ink);
  margin-bottom: 4px;
  font-weight: 400;
}

.hero__rule {
  margin-top: clamp(48px, 7vw, 88px);
  height: 1px;
  background: var(--line-sand);
}

.hero__badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 48px);
  padding-top: var(--space-xl);
}
.hero__badges li {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}
.hero__badges strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
  color: var(--fg-ink);
  letter-spacing: -0.02em;
}
.hero__badges span {
  font-size: 13px;
  color: var(--fg-ink-muted);
  letter-spacing: 0.02em;
}

/* Ornement typographique décoratif (remplace le glow) */
.hero__ornament {
  position: absolute;
  right: -4vw;
  top: 18vw;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 20rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-sand);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }

/* ==================================================================
   SECTIONS
================================================================== */
.section {
  padding: clamp(80px, 10vw, 144px) 0;
}
.section--ink {
  background: var(--bg-ink);
  color: var(--fg-cream);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.section-head__left .kicker { margin-bottom: var(--space-lg); }
.section-head__title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.028em;
  line-height: 1.02;
}
.section-head__lede {
  font-size: 1.05rem;
  color: var(--fg-ink-muted);
  max-width: 50ch;
}
.section--ink .section-head__lede { color: var(--fg-cream-muted); }

/* ==================================================================
   SERVICES (liste éditoriale numérotée, 2 colonnes)
================================================================== */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(48px, 6vw, 96px);
  row-gap: 0;
  border-top: 1px solid var(--line-sand);
}
.service {
  display: grid;
  grid-template-columns: 56px 1fr 36px;
  column-gap: var(--space-lg);
  align-items: baseline;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--line-sand);
}
.service__num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.service__body { max-width: 44ch; }
.service__title {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  color: var(--fg-ink);
}
.service__text {
  font-size: 15px;
  color: var(--fg-ink-muted);
  line-height: 1.55;
}
.service__icon {
  width: 28px; height: 28px;
  color: var(--fg-ink-dim);
  stroke-width: 1;
  opacity: 0.8;
}

/* ==================================================================
   GALLERY (section dark, grille asymétrique type catalogue d'expo)
================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: var(--space-md);
}
.piece {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, color-mix(in oklab, var(--accent) 18%, transparent), transparent 55%),
    var(--bg-ink-soft);
  border: 1px solid var(--line-ink);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-xs);
  transition: border-color .3s ease, background .3s ease;
}
.piece:hover { border-color: var(--safran); }
.piece:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.piece:nth-child(2) { grid-column: span 3; }
.piece:nth-child(3) { grid-column: span 2; }
.piece:nth-child(4) { grid-column: span 2; }
.piece:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.piece:nth-child(6) { grid-column: span 4; }

.piece__tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--safran);
  font-weight: 500;
}
.piece__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  color: var(--fg-cream);
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.piece__meta {
  font-size: 13px;
  color: var(--fg-cream-dim);
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xs);
}
.piece__meta span::before {
  content: '—';
  margin-right: 6px;
  color: var(--line-ink);
}
.piece__meta span:first-child::before { display: none; }

.gallery__note {
  margin-top: var(--space-2xl);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-cream-dim);
}

/* ==================================================================
   ABOUT (two-col avec lettrine)
================================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.manifesto p {
  font-size: 1.05rem;
  color: var(--fg-ink-muted);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
  max-width: 58ch;
}
.manifesto p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.8rem;
  line-height: 0.9;
  float: left;
  color: var(--accent);
  padding-right: 14px;
  padding-top: 6px;
  font-weight: 400;
}
.manifesto__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.028em;
  line-height: 1.05;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-sand);
}
.stats li {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--line-sand);
  padding-right: var(--space-md);
}
.stats li:nth-child(odd) { padding-right: var(--space-lg); border-right: 1px solid var(--line-sand); padding-left: 0; }
.stats li:nth-child(even) { padding-left: var(--space-lg); }

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--fg-ink);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-xs);
}
.stats span {
  font-size: 13px;
  color: var(--fg-ink-muted);
  letter-spacing: 0.04em;
}

/* ==================================================================
   CONTACT (section ink)
================================================================== */
.contact-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.contact-head__title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.contact-head__title em { color: var(--safran); }
.contact-head p {
  font-size: 1.05rem;
  color: var(--fg-cream-muted);
  max-width: 40ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-ink);
}
.contact-item {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--line-ink);
  padding-right: var(--space-lg);
}
.contact-item + .contact-item { border-left: 1px solid var(--line-ink); padding-left: var(--space-lg); }

.contact-item__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-cream-dim);
  margin-bottom: var(--space-sm);
}
.contact-item__value {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.2;
  color: var(--fg-cream);
  letter-spacing: -0.01em;
  transition: color .25s ease;
}
a.contact-item__value:hover { color: var(--safran); }

.contact-cta {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.contact-cta__note {
  font-size: 14px;
  color: var(--fg-cream-dim);
  max-width: 48ch;
}
.section--ink .btn--primary:hover { background: var(--safran); color: var(--bg-ink); }

/* ==================================================================
   FOOTER
================================================================== */
.site-footer {
  padding: var(--space-2xl) 0 var(--space-xl);
  border-top: 1px solid var(--line-sand);
  background: var(--bg-cream);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}
.site-footer__copy {
  font-size: 13px;
  color: var(--fg-ink-dim);
}
.site-footer__social {
  display: flex;
  gap: var(--space-lg);
}
.site-footer__social a {
  font-size: 13px;
  color: var(--fg-ink-muted);
  transition: color .25s ease;
  letter-spacing: 0.02em;
}
.site-footer__social a:hover { color: var(--accent); }

/* ==================================================================
   RESPONSIVE
================================================================== */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; align-items: start; gap: var(--space-2xl); }
  .hero__right { padding-bottom: 0; }
  .hero__ornament { font-size: 10rem; right: -6vw; top: 42vw; }

  .section-head { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; border-top: 1px solid var(--line-sand); }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .piece { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery .piece:nth-child(1),
  .gallery .piece:nth-child(5) { grid-column: span 2 !important; }

  .about { grid-template-columns: 1fr; }
  .stats li:nth-child(odd) { border-right: 0; padding-right: 0; }
  .stats li:nth-child(even) { padding-left: 0; }

  .contact-head { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item + .contact-item { border-left: 0; padding-left: 0; }
}

@media (max-width: 600px) {
  .hero__badges { grid-template-columns: 1fr; gap: var(--space-lg); }
  .gallery { grid-template-columns: 1fr; }
  .gallery .piece,
  .gallery .piece:nth-child(1),
  .gallery .piece:nth-child(5) { grid-column: span 1 !important; grid-row: span 1 !important; }
  .stats { grid-template-columns: 1fr; }
  .contact-cta { flex-direction: column; align-items: flex-start; }
  .service { grid-template-columns: 44px 1fr; }
  .service__icon { display: none; }
}

/* ---- Mobile nav open state ---- */
.nav--open {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  position: fixed;
  top: 78px; left: 0; right: 0;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--line-sand);
  padding: var(--space-lg);
  gap: 2px;
  z-index: 49;
}
.nav--open .nav__link { padding: 14px 16px; font-size: 16px; }
.nav--open .nav__link--cta { margin-left: 0; margin-top: var(--space-sm); }

/* ---- Réduction de mouvement ---- */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
