/* Fond blanc, comme le site de référence */
:root {
  --bg: #ffffff;
  --text: #000000;
  --muted: #8c8c8c;
  --ratio: 2 / 3; /* forme des cases photo : toutes identiques. Ex. 4 / 5 pour des cases plus larges */
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* Le grand nom tout en haut */
.site { padding: 40px 48px 0; text-align: center; }
.brand { display: inline-block; font-size: clamp(3.5rem, 13vw, 10rem); font-weight: 600; letter-spacing: -.02em; line-height: 1; }

/* Menu à gauche, photos à droite */
.layout { display: grid; grid-template-columns: 300px 1fr; margin-top: 32px; }
.side { position: sticky; top: 0; align-self: start; padding: 24px 32px 32px 48px; }
.name { font-size: 2rem; font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
.tagline { color: #a9a9a9; text-transform: uppercase; letter-spacing: .03em; font-size: .85rem; line-height: 1.5; margin-top: 14px; }
.side nav { display: flex; flex-direction: column; gap: 14px; margin-top: 48px; padding-left: 6px; font-size: 1.05rem; font-weight: 400; color: #1a1a1a; }
.side nav a:hover { color: #a9a9a9; }
.side nav a[aria-current="page"] { color: #a9a9a9; }

/* Grille : toutes les photos ont la même taille */
main { padding: 24px 5vw 0 2vw; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 40px; }
.item { display: block; width: 100%; aspect-ratio: var(--ratio); overflow: hidden; background: #f0f0f0; cursor: zoom-in; }
.item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.empty { color: var(--muted); grid-column: 1 / -1; }

/* Pages de texte */
.text { max-width: 560px; padding-top: 8px; }
.text h1 { font-size: 1.1rem; font-weight: 600; margin-bottom: 14px; }
.text p + p { margin-top: 8px; }
.text a { text-decoration: underline; text-underline-offset: 4px; }

footer { padding: 96px 48px 32px; color: var(--muted); font-size: .85rem; }

/* Photo en grand */
.lightbox { position: fixed; inset: 0; z-index: 10; background: var(--bg); display: flex; flex-direction: column; align-items: center; padding: 24px 16px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { flex: 1; min-height: 0; max-width: 100%; object-fit: contain; }
.lb-bar { display: flex; gap: 28px; padding-top: 16px; color: var(--muted); font-size: .9rem; }
.lb-bar button:hover { color: var(--text); }

/* Tablette et téléphone */
@media (max-width: 900px) {
  .site { padding: 24px 5vw 0; }
  .layout { grid-template-columns: 1fr; margin-top: 16px; }
  .side { position: static; padding: 16px 5vw 0; }
  .side nav { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; }
  main { padding: 32px 5vw 0; }
  footer { padding: 64px 5vw 32px; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }