/* ===================================================================
   CUISINE DIJON — Refonte premium "Atelier"
   Direction artistique : Pierre & Plâtre
   Signature : marge d'architecte (filet + index vertical des sections)
   =================================================================== */

/* -------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------- */
:root {
  /* Palette minérale — l'accent bronze reste homéopathique */
  --plaster:  #ECEAE4;  /* off-white plâtre, fond principal */
  --plaster-2:#E4E1D8;  /* panneau secondaire */
  --mist:     #D7D3C9;  /* filets, séparateurs */
  --stone:    #6E6A61;  /* texte secondaire, gris chaud */
  --ink:      #1C1B19;  /* texte principal, presque noir */
  --ink-soft: #2A2825;
  --bronze:   #9A7B4F;  /* accent unique, rare */
  --bronze-d: #7E6440;

  /* Typo */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --grotesk: "Schibsted Grotesk", system-ui, -apple-system, sans-serif;

  /* Rythme */
  --gutter: clamp(20px, 5vw, 64px);   /* marge latérale */
  --rail: clamp(34px, 6vw, 88px);     /* largeur de la marge d'architecte */
  --section-y: clamp(96px, 14vh, 220px);
  --maxw: 1320px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--grotesk);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--plaster);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 380; line-height: 1.04; letter-spacing: -0.01em; }

::selection { background: var(--ink); color: var(--plaster); }

/* Focus visible — plancher d'accessibilité */
:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

/* Conteneur */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Eyebrow / labels en grotesque espacé */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}

/* Lien éditorial : soulignement qui se trace au survol */
.link {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 4px;
  position: relative;
  color: var(--ink);
}
.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); }
.link--bronze { color: var(--bronze-d); }

/* -------------------------------------------------------------------
   3. EN-TÊTE
   ------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 2.4vw, 30px) var(--gutter);
  color: #fff;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.site-header.is-solid {
  color: var(--ink);
  background: color-mix(in srgb, var(--plaster) 86%, transparent);
  backdrop-filter: blur(8px);
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand__logo {
  height: clamp(34px, 4.4vw, 48px);
  width: auto;
}
/* Par défaut (en-tête transparent sur le hero) : logo blanc.
   En-tête solide (fond clair) : logo encre. */
.brand__logo--dark { display: none; }
.site-header.is-solid .brand__logo--light { display: none; }
.site-header.is-solid .brand__logo--dark { display: block; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 44px);
}
.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav .nav-rdv { color: var(--bronze); }
.is-solid .nav .nav-rdv { color: var(--bronze-d); }

.burger { display: none; background: none; border: 0; cursor: pointer; color: inherit; }

/* -------------------------------------------------------------------
   4. MARGE D'ARCHITECTE (signature)
   ------------------------------------------------------------------- */
.rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--rail);
  z-index: 40;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(90px, 12vh, 150px) 0 clamp(30px, 5vh, 60px);
  mix-blend-mode: difference;
  color: #fff;
}
.rail::before {                          /* le filet vertical continu */
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  width: 1px;
  background: currentColor;
  opacity: 0.45;
}
.rail__index {
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity 0.4s var(--ease);
}
.rail__tick {
  writing-mode: vertical-rl;
  font-family: var(--display);
  font-size: 0.85rem;
  font-feature-settings: "tnum";
}

/* -------------------------------------------------------------------
   5. PLACEHOLDERS VISUELS (à remplacer par les photos du showroom)
   Rendu volontairement "art-directed" : minéral, jamais cassé.
   ------------------------------------------------------------------- */
.ph {
  position: relative;
  overflow: hidden;
  background-color: var(--plaster-2);
  background-image:
    linear-gradient(120deg, rgba(0,0,0,0.06), rgba(0,0,0,0) 40%),
    radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,0.5), rgba(255,255,255,0) 55%),
    repeating-linear-gradient(115deg,
      rgba(110,106,97,0.05) 0px,
      rgba(110,106,97,0.05) 2px,
      rgba(110,106,97,0) 2px,
      rgba(110,106,97,0) 9px),
    linear-gradient(160deg, #DAD6CC, #C7C2B6 60%, #B9B4A8);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
/* Si une vraie image est fournie via --img, elle prend le dessus */
.ph[style*="--img"] { background-image: var(--img), linear-gradient(160deg, #DAD6CC, #C7C2B6 60%, #B9B4A8); }

.ph__tag {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  max-width: min(78%, 420px);
  padding: 10px 14px;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  color: var(--plaster);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  backdrop-filter: blur(2px);
}
.ph[style*="--img"] .ph__tag { display: none; } /* masqué dès qu'une photo existe */

/* -------------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--plaster);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media .ph { width: 100%; height: 100%; }
/* "cinémagraphe" simulé : nappe de lumière qui dérive très lentement */
.hero__media .ph::after {
  content: "";
  position: absolute; inset: -20%;
  background: radial-gradient(40% 50% at 30% 35%, rgba(255,247,235,0.35), rgba(255,247,235,0) 60%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-4%, -2%, 0) scale(1.05); }
  to   { transform: translate3d(6%, 4%, 0) scale(1.12); }
}
.hero::before {                          /* voile pour lisibilité du titre */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(20,19,17,0.55) 0%,
    rgba(20,19,17,0.12) 26%,
    rgba(20,19,17,0.06) 55%,
    rgba(20,19,17,0.66) 100%);
}
.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(54px, 9vh, 110px);
}
.hero .eyebrow { color: var(--plaster); opacity: 0.85; }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  font-weight: 340;
  max-width: 16ch;
  margin: 0.5em 0 0.7em;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; }
.hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.scrollcue {
  position: absolute;
  right: var(--gutter); bottom: clamp(40px, 8vh, 90px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--plaster); opacity: 0.8;
}
.scrollcue span {
  writing-mode: vertical-rl;
}
.scrollcue i {
  width: 1px; height: 54px; background: var(--plaster);
  transform-origin: top; animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0%,100%{transform:scaleY(0.3);opacity:.4} 50%{transform:scaleY(1);opacity:1} }

/* -------------------------------------------------------------------
   7. SECTIONS GÉNÉRIQUES
   ------------------------------------------------------------------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(70px, 9vh, 130px); }

.h2 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 350;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}
.muted { color: var(--stone); }

/* Manifeste : texte seul, immense respiration */
.manifesto { text-align: left; }
.manifesto .h2 { max-width: 20ch; }
.manifesto .lead { margin-top: clamp(28px, 4vw, 48px); }
.manifesto__rule {
  width: 64px; height: 1px; background: var(--bronze);
  margin-bottom: clamp(34px, 5vw, 56px);
}

/* Projet signature : image + colonne texte */
.feature {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.feature .ph { aspect-ratio: 4 / 5; width: 100%; }
.feature__body .eyebrow { display: block; margin-bottom: 18px; }
.feature__body .h2 { margin-bottom: 22px; }
.feature__body .lead { margin-bottom: 30px; }

/* Galerie éditoriale asymétrique */
.gallery__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); flex-wrap: wrap;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
.card { display: flex; flex-direction: column; gap: 16px; }
.card .ph { width: 100%; }
.card figcaption { display: flex; flex-direction: column; gap: 3px; }
.card .c-name { font-family: var(--display); font-size: 1.25rem; }
.card .c-meta { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--stone); }
.card--a { grid-column: 1 / 7; }
.card--a .ph { aspect-ratio: 4 / 5; }
.card--b { grid-column: 8 / 13; align-self: end; }
.card--b .ph { aspect-ratio: 3 / 4; }
.card--c { grid-column: 1 / 6; }
.card--c .ph { aspect-ratio: 4 / 3; }
.card--d { grid-column: 7 / 13; }
.card--d .ph { aspect-ratio: 16 / 11; }

/* Méthode : trois temps */
.method { background: var(--plaster-2); }
.method__head { margin-bottom: clamp(48px, 7vw, 90px); max-width: 30ch; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.step { border-top: 1px solid var(--mist); padding-top: 24px; }
.step__num {
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--bronze);
  letter-spacing: 0.04em;
  font-feature-settings: "tnum";
}
.step h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 14px 0 12px; font-weight: 380; }
.step p { color: var(--ink-soft); }

/* Matières : bande de macros pleine largeur */
.materials__head { margin-bottom: clamp(40px, 6vw, 70px); max-width: 40ch; }
.matstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.matstrip .ph { aspect-ratio: 3 / 4; }
.matstrip figcaption {
  margin-top: 14px; font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--stone);
}

/* Showroom : invitation, point culminant */
.showroom { position: relative; color: var(--plaster); isolation: isolate; }
.showroom__media { position: absolute; inset: 0; z-index: -2; }
.showroom__media .ph { width: 100%; height: 100%; }
.showroom::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(110deg, rgba(20,19,17,0.78), rgba(20,19,17,0.32));
}
.showroom__inner { padding-block: clamp(120px, 18vh, 240px); max-width: 60ch; }
.showroom .h2 { color: var(--plaster); margin-bottom: 26px; }
.showroom .lead { color: rgba(236,234,228,0.86); margin-bottom: 40px; }

/* Bouton — le seul réellement marqué de la page */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--grotesk);
  font-size: 0.84rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
  padding: 17px 34px;
  border: 1px solid currentColor;
  color: var(--plaster);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.5s var(--ease);
  z-index: 0;
}
.btn::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background: var(--plaster);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--ink { color: var(--ink); }
.btn--ink::before { background: var(--ink); }
.btn--ink:hover, .btn--ink:focus-visible { color: var(--plaster); }

.scarcity {
  margin-top: 22px;
  font-size: 0.8rem; letter-spacing: 0.06em;
  color: rgba(236,234,228,0.66);
}

/* -------------------------------------------------------------------
   8. PIED DE PAGE
   ------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--plaster); padding-block: clamp(70px, 9vw, 120px) 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer__sign { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); max-width: 18ch; font-weight: 350; }
.footer h4 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 18px; font-family: var(--grotesk); font-weight: 600; }
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { opacity: 0.82; transition: opacity 0.3s; font-size: 0.92rem; }
.footer a:hover { opacity: 1; }
.footer address { font-style: normal; opacity: 0.82; line-height: 1.9; font-size: 0.92rem; }
.footer__bottom {
  margin-top: clamp(50px, 7vw, 90px);
  padding-top: 26px;
  border-top: 1px solid rgba(236,234,228,0.16);
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
  font-size: 0.74rem; letter-spacing: 0.06em; color: rgba(236,234,228,0.55);
}

/* -------------------------------------------------------------------
   9. RÉVÉLATION AU SCROLL
   ------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__media .ph::after, .scrollcue i { animation: none; }
}

/* -------------------------------------------------------------------
   10. RESPONSIVE
   ------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__sign { grid-column: 1 / -1; margin-bottom: 12px; }
}

@media (max-width: 820px) {
  :root { --rail: 0px; }
  .rail { display: none; }
  .nav { display: none; position: fixed; inset: 0; flex-direction: column;
    justify-content: center; gap: 30px; background: var(--ink); color: var(--plaster); }
  .nav.is-open { display: flex; }
  .nav a { font-size: 1.1rem; }
  .burger { display: block; z-index: 60; }
  .site-header { mix-blend-mode: normal; color: #fff; }
  .site-header.is-solid { color: var(--ink); }

  .feature { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .step { padding-top: 22px; }
  .matstrip { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .grid { display: flex; flex-direction: column; gap: 40px; }
  .card--a, .card--b, .card--c, .card--d { grid-column: auto; }
}

@media (max-width: 480px) {
  .matstrip { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
}

/* ===================================================================
   11. PAGES INTÉRIEURES (Nos cuisines / Le Showroom)
   Mêmes tokens, mêmes gestes — on prolonge la grammaire de l'accueil.
   =================================================================== */

/* En-tête court d'une sous-page : image pleine largeur + titre posé en bas */
.subhero {
  position: relative;
  min-height: 64svh;
  display: flex;
  align-items: flex-end;
  color: var(--plaster);
  isolation: isolate;
}
.subhero__media { position: absolute; inset: 0; z-index: -2; }
.subhero__media .ph { width: 100%; height: 100%; }
.subhero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(20,19,17,0.52) 0%, rgba(20,19,17,0.14) 38%, rgba(20,19,17,0.74) 100%);
}
.subhero__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding: 0 var(--gutter) clamp(48px, 8vh, 104px);
}
.subhero .eyebrow { color: var(--plaster); opacity: 0.86; }
.subhero h1 {
  font-family: var(--display); font-weight: 340;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  max-width: 18ch; margin: 0.42em 0 0.34em; text-wrap: balance;
}
.subhero .lead { color: rgba(236,234,228,0.88); max-width: 50ch; }

/* Intro éditoriale réutilisable (texte centré, respiration) */
.intro { text-align: center; }
.intro .wrap > .h2 { max-width: 22ch; margin-inline: auto; }
.intro .lead { margin: clamp(22px, 3vw, 36px) auto 0; text-align: center; }

/* -------------------------------------------------------------------
   Collection de modèles — rangées alternées image / texte
   ------------------------------------------------------------------- */
.collection { display: flex; flex-direction: column; gap: clamp(70px, 10vw, 150px); }
.model {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}
.model:nth-child(even) .model__media { order: 2; }     /* alternance */
.model__media .ph { width: 100%; aspect-ratio: 16 / 10; }
.model__index {
  font-family: var(--display); font-size: 0.92rem; color: var(--bronze);
  letter-spacing: 0.05em; font-feature-settings: "tnum";
}
.model__body h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 360;
  margin: 12px 0 18px;
}
.model__body .lead { margin-bottom: 8px; }
.model__variants {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: clamp(22px, 3vw, 32px);
}
.model__variants .vlabel {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone); margin-right: 6px;
}
.model__variants .ph { width: 96px; aspect-ratio: 4 / 3; cursor: default; }

/* -------------------------------------------------------------------
   Bandeau d'appel (CTA) sombre, pleine largeur
   ------------------------------------------------------------------- */
.cta-band {
  background: var(--ink); color: var(--plaster);
  text-align: center; padding-block: clamp(84px, 12vw, 168px);
}
.cta-band .h2 { color: var(--plaster); max-width: 22ch; margin: 0 auto 24px; }
.cta-band .lead { color: rgba(236,234,228,0.82); margin: 0 auto 40px; text-align: center; }

/* -------------------------------------------------------------------
   Showroom — infos pratiques (adresse / horaires / contact / carte)
   ------------------------------------------------------------------- */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.info__list { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 38px); }
.info__item { border-top: 1px solid var(--mist); padding-top: 20px; }
.info__item h3 {
  font-family: var(--grotesk); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 12px;
}
.info__item p, .info__item address {
  font-style: normal; font-size: 1.05rem; line-height: 1.85; color: var(--ink-soft);
}
.info__item a { color: inherit; border-bottom: 1px solid var(--mist); transition: border-color 0.3s; }
.info__item a:hover { border-color: var(--bronze); }
.hours { list-style: none; padding: 0; max-width: 360px; }
.hours li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 9px 0; border-bottom: 1px solid var(--mist);
}
.hours li span:last-child { color: var(--stone); }
.hours li.is-today span { color: var(--bronze-d); font-weight: 500; }
.map { width: 100%; aspect-ratio: 3 / 2; border: 0; filter: grayscale(1) contrast(0.96) brightness(1.02); }

/* -------------------------------------------------------------------
   Galerie en colonnes (mélange portraits / paysages, sans casse)
   ------------------------------------------------------------------- */
.masonry { columns: 3; column-gap: clamp(14px, 1.8vw, 26px); }
.masonry figure {
  break-inside: avoid; margin: 0 0 clamp(14px, 1.8vw, 26px);
  position: relative; overflow: hidden; background: var(--plaster-2);
}
.masonry img { width: 100%; height: auto; display: block; transition: transform 0.7s var(--ease); }
.masonry figure:hover img { transform: scale(1.03); }
.masonry figcaption {
  position: absolute; left: 14px; bottom: 14px;
  font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--plaster); padding: 7px 11px;
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s;
}
.masonry figure:hover figcaption { opacity: 1; transform: none; }

@media (max-width: 980px) { .masonry { columns: 2; } }

@media (max-width: 820px) {
  .model { grid-template-columns: 1fr; gap: 26px; }
  .model:nth-child(even) .model__media { order: 0; }
  .info { grid-template-columns: 1fr; }
}

@media (max-width: 560px) { .masonry { columns: 1; } }


/* Réseaux sociaux (footer) */
.footer__follow { margin-top: 26px; }
.footer__social { flex-direction: row; gap: 18px; margin-top: 6px; }
.footer__social a { display: inline-flex; opacity: 0.82; }
.footer__social a:hover { opacity: 1; }
.footer__social svg { width: 21px; height: 21px; }
